1

Hello,


Is there anything special to do when loading a 2MB PRG file ?

i mean my first Megabyte looks fine as it can execute and so on , but data located above 0x00200000 seem blank or not loaded at all.

i'm assuming here that PRG is loaded to memory addy : 0x00100000

thus i'm expecting 2 part available at : 0x00200000

Is this right ?

so what i'm doing here is concatening freshly compiled P1 , P2 roms (respectively 1MB each) to create a PB_PROG.PRG to load with IPL

any idea of what could cause problem ?

thx
avatar

2

it seems that area [$200000,$2FFFFF] doesn't exist on neocd...

so it's 2MB of 68k program memory, but 1MB reserved for system... [$000000,$0FFFFF]

i'm out of luck if PRG files are limited to 1MB. ^^

[$100000,$1FFFFF]
avatar

3

https://wiki.neogeodev.org/index.php?title=68k_memory_map

$000000 - $0FFFFF and $110000 - $1FFFFF... it's a bit less than 2MB but close.
Check TOPHUNTR, this game loads 1.5MB in the IPL into both areas.

4

heey

from what i understand area $000000 - $0FFFFF is *not* usable ?

so we are remaining with a bit less than 1MB available ?

will check TOPHUNTR
avatar

5

so my bad all area seems perfectly usable [$000000 - $1FFFFF]

loading through IPL each 1MB PROM ->

P1_PROG.PRG,0,0
P2_PROG.PRG,0,100000

thx!
avatar