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.