MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

tallcuss
MAME Fan
Reged: 01/05/18
Posts: 2
Send PM
Re: Problems loading modified roms
01/15/18 02:34 AM


I found the definition for drmarion ROM in src/mame/drivers/vsnes.cpp

ROM_START( drmario )
ROM_REGION( 0x20000,"maincpu", 0 ) /* 6502 memory */
ROM_LOAD( "dm-uiprg", 0x10000, 0x10000, CRC(d5d7eac4) SHA1(cd74c3a7a2fc7c25420037ae5f4a25307aff6587) )

ROM_REGION( 0x8000,"gfx1", 0 ) /* PPU memory */
ROM_LOAD( "dm-u3chr", 0x0000, 0x8000, CRC(91871aa5) SHA1(32a4299ead7b37f49877dc9597653b07a73ddbf3) )

PALETTE_2C04_0003
ROM_END

This indicates the rom "region" that I'm interested in (dm-uiprg) has a length of 0x20000. The N2A03 (6502) processor has only 16 bits of address giving it an address space of 0x10000 bytes, so how can the region be twice that size?







Entire thread
Subject Posted by Posted on
* Problems loading modified roms tallcuss 01/06/18 09:18 AM
. * Re: Problems loading modified roms tallcuss  01/15/18 02:34 AM
. * Re: Problems loading modified roms Haze  01/15/18 07:16 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 118 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 768