Previous 15994 Revisions Next

r9879 Saturday 1st January, 2011 at 20:19:42 UTC by Wilbert Pol
[OSBEXEC] Fixed banking of special "ROM RAM".
[src/mess/drivers]osbexec.c

src/mess/drivers/osbexec.c
r9878r9879
7979      if ( pia0_porta & 0x80 )
8080      {
8181         memory_set_bankptr( machine, "0000", machine->region("maincpu")->base());
82         /* When BIOS is enabled 2000-3FFF (or maybe 2000-2FFF) is taken from the first 64KB ) */
83         memory_set_bankptr( machine, "2000", messram_ptr + 0x2000 );
82         /* When BIOS is enabled 2000-3FFF is set to the "ROM RAM" */
83         memory_set_bankptr( machine, "2000", messram_ptr + 0x20000 );
8484      }
8585
8686      if ( pia0_porta & 0x40 )
r9878r9879
626626
627627   /* internal ram */
628628   MCFG_RAM_ADD("messram")
629   MCFG_RAM_DEFAULT_SIZE("128K")   /* 128KB Main RAM */
629   MCFG_RAM_DEFAULT_SIZE("136K")   /* 128KB Main RAM + RAM in ROM bank (8) */
630630MACHINE_CONFIG_END
631631
632632

Previous 15994 Revisions Next


© 1998-2018 The MESS Team