mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
dim68k.cpp: Fix region width/endianness (nw)
This commit is contained in:
parent
03b2f70b97
commit
6c46e087c7
1 changed files with 15 additions and 15 deletions
|
@ -225,9 +225,9 @@ INPUT_PORTS_END
|
|||
|
||||
void dim68k_state::machine_reset()
|
||||
{
|
||||
u8* ROM = memregion("bootrom")->base();
|
||||
u16* ROM = &memregion("bootrom")->as_u16();
|
||||
|
||||
memcpy((u8*)m_ram.target(), ROM, 0x2000);
|
||||
memcpy((u16*)m_ram.target(), ROM, 0x2000);
|
||||
}
|
||||
|
||||
// Text-only; graphics isn't emulated yet. Need to find out if hardware cursor is used.
|
||||
|
@ -376,26 +376,26 @@ MC113 82S153 U16
|
|||
*/
|
||||
/* ROM definition */
|
||||
ROM_START( dim68k )
|
||||
ROM_REGION( 0x2000, "bootrom", ROMREGION_ERASEFF )
|
||||
ROM_LOAD16_BYTE( "mc103e.bin", 0x0000, 0x1000, CRC(4730c902) SHA1(5c4bb79ad22def721a22eb63dd05e0391c8082be))
|
||||
ROM_LOAD16_BYTE( "mc104.bin", 0x0001, 0x1000, CRC(14b04575) SHA1(43e15d9ebe1c9c1bf1bcfc1be3899a49e6748200))
|
||||
ROM_REGION16_BE( 0x2000, "bootrom", ROMREGION_ERASEFF )
|
||||
ROM_LOAD16_BYTE( "mc103e.bin", 0x0001, 0x1000, CRC(4730c902) SHA1(5c4bb79ad22def721a22eb63dd05e0391c8082be))
|
||||
ROM_LOAD16_BYTE( "mc104.bin", 0x0000, 0x1000, CRC(14b04575) SHA1(43e15d9ebe1c9c1bf1bcfc1be3899a49e6748200))
|
||||
|
||||
ROM_REGION( 0x1000, "chargen", ROMREGION_ERASEFF )
|
||||
ROM_LOAD( "mc105e.bin", 0x0000, 0x1000, CRC(7a09daa8) SHA1(844bfa579293d7c3442fcbfa21bda75fff930394))
|
||||
|
||||
// The remaining roms may not be in the correct positions or being loaded correctly
|
||||
ROM_REGION( 0x1000, "cop6512", ROMREGION_ERASEFF )
|
||||
ROM_LOAD16_WORD_SWAP( "mc106.bin", 0x0000, 0x0100, CRC(11530d8a) SHA1(e3eae266535383bcaee2d84d7bed6052d40e4e4a))
|
||||
ROM_LOAD16_WORD_SWAP( "mc107.bin", 0x0100, 0x0100, CRC(966db11b) SHA1(3c3105ac842602d8e01b0f924152fd672a85f00c))
|
||||
ROM_LOAD16_WORD_SWAP( "mc108.bin", 0x0200, 0x0400, CRC(687f9b0a) SHA1(ed9f1265b25f89f6d3cf8cd0a7b0fb73cb129f9f))
|
||||
ROM_LOAD16_WORD_SWAP( "mc109.bin", 0x0600, 0x0200, CRC(4a857f98) SHA1(9f2bbc2171fc49f65aa798c9cd7799a26afd2ddf))
|
||||
ROM_LOAD16_WORD_SWAP( "mc110.bin", 0x0800, 0x0100, CRC(e207b457) SHA1(a8987ba3d1bbdb3d8b3b11cec90c532ff09e762e))
|
||||
ROM_REGION16_BE( 0x1000, "cop6512", ROMREGION_ERASEFF )
|
||||
ROM_LOAD16_WORD( "mc106.bin", 0x0000, 0x0100, CRC(11530d8a) SHA1(e3eae266535383bcaee2d84d7bed6052d40e4e4a))
|
||||
ROM_LOAD16_WORD( "mc107.bin", 0x0100, 0x0100, CRC(966db11b) SHA1(3c3105ac842602d8e01b0f924152fd672a85f00c))
|
||||
ROM_LOAD16_WORD( "mc108.bin", 0x0200, 0x0400, CRC(687f9b0a) SHA1(ed9f1265b25f89f6d3cf8cd0a7b0fb73cb129f9f))
|
||||
ROM_LOAD16_WORD( "mc109.bin", 0x0600, 0x0200, CRC(4a857f98) SHA1(9f2bbc2171fc49f65aa798c9cd7799a26afd2ddf))
|
||||
ROM_LOAD16_WORD( "mc110.bin", 0x0800, 0x0100, CRC(e207b457) SHA1(a8987ba3d1bbdb3d8b3b11cec90c532ff09e762e))
|
||||
|
||||
ROM_REGION( 0x1000, "copz80", ROMREGION_ERASEFF )
|
||||
ROM_LOAD16_WORD_SWAP( "mc111.bin", 0x0000, 0x0020, CRC(6a380057) SHA1(6522a7b3e0af9db14a6ed04d4eec3ee6e44c2dab))
|
||||
ROM_REGION16_BE( 0x1000, "copz80", ROMREGION_ERASEFF )
|
||||
ROM_LOAD16_WORD( "mc111.bin", 0x0000, 0x0020, CRC(6a380057) SHA1(6522a7b3e0af9db14a6ed04d4eec3ee6e44c2dab))
|
||||
|
||||
ROM_REGION( 0x1000, "cop8086", ROMREGION_ERASEFF )
|
||||
ROM_LOAD16_WORD_SWAP( "mc112.bin", 0x0000, 0x0100, CRC(dfd4cdbb) SHA1(a7831d415943fa86c417066807038bccbabb2573))
|
||||
ROM_REGION16_BE( 0x1000, "cop8086", ROMREGION_ERASEFF )
|
||||
ROM_LOAD16_WORD( "mc112.bin", 0x0000, 0x0100, CRC(dfd4cdbb) SHA1(a7831d415943fa86c417066807038bccbabb2573))
|
||||
ROM_LOAD( "mc113.bin", 0x0100, 0x00ef, CRC(594bdf05) SHA1(36db911a27d930e023fa12683e86e9eecfffdba6))
|
||||
|
||||
ROM_REGION( 0x1000, "mb", ROMREGION_ERASEFF ) // mainboard unknown
|
||||
|
|
Loading…
Reference in a new issue