Menu

#9 Genesis RAM hack to 2megabyte?

open
nobody
None
5
2014-08-19
2009-10-12
Anonymous
No

Plz tell how to increase RAM for SMD?
to use all 0xE00000 - 0xFFFFFF for read/write .

We tried to change:

Mem_M68k.h
extern unsigned char Ram_68k[2 * 1024 * 1024];

Mem_M68k.asm
DECL Ram_68k
resb 2 * 1024 * 1024

ALIGN32

M68K_Read_Byte_Ram0:
and ebx, 0x7FFFF
xor ebx, 1
mov al, [Ram_68k + ebx]
pop ebx
ret

ALIGN32

M68K_Read_Byte_Ram1:
and ebx, 0x7FFFF
xor ebx, 0x80001
mov al, [Ram_68k + ebx]
pop ebx
ret

e.t.c.

M68K_Write_Word_Ram1:
and ebx, 0x7FFFF
mov [Ram_68k + ebx + 0x100000], ax < ???
; pop ecx
; pop ebx
ret

it doesn't help.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.