Core/burn/drv/neogeo/neo_run.cpp
// This function is called once to determine how much memory is needed (ROMEnd-(UINT8*)0),
// then a second time after the memory is allocated to set up all the pointers.
This function is called once to determine how much memory is needed (ROMEnd-(UINT8*)0),
then a second time after the memory is allocated to set up all the pointers.
This function is called once to determine how much memory is needed ( ROMEnd - ( UINT8 * ) 0 ) then a second time after the memory is allocated to set up all the pointers .
static INT32 ROMIndex()
{
	UINT8* Next = AllROM;
	NeoZ80BIOS				= Next; Next += 0x020000;				
	NeoZoomROM				= Next; Next += 0x020000;				
	NeoTextROMBIOS			= Next; Next += 0x020000;
	if (nNeoSystemType & NEO_SYS_CART) {
		Neo68KBIOS		= Next; Next += 0x080000;				
	} else {
		Neo68KROM[0]		= Next; Next += nCodeSize[0];
		NeoVector[0]		= Next; Next += 0x000400;				
		Neo68KBIOS			= Next; Next += 0x080000;				
		NeoZ80ROM[0]		= Next; Next += 0x080000;
		NeoSpriteROM[0]		= Next; Next += nSpriteSize[0];
		NeoTextROM[0]		= Next; Next += nNeoTextROMSize[0];
		YM2610ADPCMAROM[0]	= Next; Next += nYM2610ADPCMASize[0];
		YM2610ADPCMBROM[0]	= Next; Next += nYM2610ADPCMBSize[0];
	}
	ROMEnd					= Next;
	return 0;
}
static INT32 ROMIndex ( ) { UINT8 * Next = AllROM ; NeoZ80BIOS = Next ; Next += 0x020000 ; NeoZoomROM = Next ; Next += 0x020000 ; NeoTextROMBIOS = Next ; Next += 0x020000 ; if ( nNeoSystemType & NEO_SYS_CART ) { Neo68KBIOS = Next ; Next += 0x080000 ; } else { Neo68KROM [ 0 ] = Next ; Next += nCodeSize [ 0 ] ; NeoVector [ 0 ] = Next ; Next += 0x000400 ; Neo68KBIOS = Next ; Next += 0x080000 ; NeoZ80ROM [ 0 ] = Next ; Next += 0x080000 ; NeoSpriteROM [ 0 ] = Next ; Next += nSpriteSize [ 0 ] ; NeoTextROM [ 0 ] = Next ; Next += nNeoTextROMSize [ 0 ] ; YM2610ADPCMAROM [ 0 ] = Next ; Next += nYM2610ADPCMASize [ 0 ] ; YM2610ADPCMBROM [ 0 ] = Next ; Next += nYM2610ADPCMBSize [ 0 ] ; } ROMEnd = Next ; return 0 ; }
This function is called once to determine how much memory is needed (ROMEnd-(UINT8*)0),
then a second time after the memory is allocated to set up all the pointers.
This function is called once to determine how much memory is needed ( ROMEnd - ( UINT8 * ) 0 ) then a second time after the memory is allocated to set up all the pointers .
// Z80 boardROM // Y Zoom table // 68K boardROM // Copy of 68K cartridge ROM with boardROM vector table // 68K boardROM