lisa: reduce the fdc rom region size

This commit is contained in:
Olivier Galibert 2023-03-18 22:37:08 +01:00
parent 7c88d3a08e
commit 2866e6b878

View File

@ -33,7 +33,7 @@ void lisa_state::lisa_fdc_map(address_map &map)
map(0x0000, 0x03ff).ram().share("fdc_ram"); /* RAM (shared with 68000) */
map(0x0400, 0x07ff).rw(FUNC(lisa_state::lisa_fdc_io_r), FUNC(lisa_state::lisa_fdc_io_w)); /* disk controller (IWM and TTL logic) */
map(0x0800, 0x0fff).noprw();
map(0x1000, 0x1fff).rom().region("fdccpu", 0x1000); /* ROM */
map(0x1000, 0x1fff).rom().region("fdccpu", 0); /* ROM */
}
void lisa_state::lisa210_fdc_map(address_map &map)
@ -43,7 +43,7 @@ void lisa_state::lisa210_fdc_map(address_map &map)
map(0x0400, 0x07ff).noprw(); /* nothing, or RAM wrap-around ??? */
map(0x0800, 0x0bff).rw(FUNC(lisa_state::lisa_fdc_io_r), FUNC(lisa_state::lisa_fdc_io_w)); /* disk controller (IWM and TTL logic) */
map(0x0c00, 0x0fff).noprw(); /* nothing, or IO port wrap-around ??? */
map(0x1000, 0x1fff).rom().region("fdccpu", 0x1000); /* ROM */
map(0x1000, 0x1fff).rom().region("fdccpu", 0); /* ROM */
}
/***************************************************************************
@ -324,9 +324,9 @@ ROM_START( lisa ) /* with twiggy drives, io40 i/o rom; technically any of the bo
ROM_REGION( 0x400, "kbcop", 0 )
ROM_LOAD("341-0064a.u9f", 0x000, 0x400, CRC(e6849910) SHA1(d46e67df75c9e3e773d20542fb9d5b1d2ac0fb9b))
ROM_REGION(0x2000,"fdccpu",0) // 6504 RAM and ROM
ROM_REGION(0x1000,"fdccpu",0) // 6504 RAM and ROM
// note: other ?prototype? revisions of this rom for the lisa probably exist as well
ROM_LOAD( "341-0138f.bin", 0x001000, 0x001000, CRC(edd8d560) SHA1(872211d21386cd9625b3735d7682e2b2ecff05b4) )
ROM_LOAD( "341-0138f.bin", 0x0000, 0x1000, CRC(edd8d560) SHA1(872211d21386cd9625b3735d7682e2b2ecff05b4) )
ROM_REGION(0x4000,"profile", 0) // Profile/5 HDD
ROM_LOAD_OPTIONAL("341-0080-b", 0x0000, 0x800, CRC(26df0b8d) SHA1(08f6689afb517e0a2bdaa48433003e62a66ae3c7)) // 341-0080-B z8 MCU piggyback ROM
@ -367,8 +367,8 @@ ROM_START( lisa2 ) /* internal apple codename was 'pepsi'; has one SSDD 400K dri
ROM_REGION( 0x400, "kbcop", 0 )
ROM_LOAD("341-0064a.u9f", 0x000, 0x400, CRC(e6849910) SHA1(d46e67df75c9e3e773d20542fb9d5b1d2ac0fb9b))
ROM_REGION(0x2000,"fdccpu",0) // 6504 RAM and ROM
ROM_LOAD("341-0290-b", 0x1000, 0x1000, CRC(bc6364f1) SHA1(f3164923330a51366a06d9d8a4a01ec7b0d3a8aa)) // 341-0290-B LISA 2/5 Disk Rom (ioa8), supports profile on external port
ROM_REGION(0x1000,"fdccpu",0) // 6504 RAM and ROM
ROM_LOAD("341-0290-b", 0x0000, 0x1000, CRC(bc6364f1) SHA1(f3164923330a51366a06d9d8a4a01ec7b0d3a8aa)) // 341-0290-B LISA 2/5 Disk Rom (ioa8), supports profile on external port
ROM_REGION(0x4000,"profile", 0) // Profile/5 HDD
ROM_LOAD_OPTIONAL("341-0080-b", 0x0000, 0x800, CRC(26df0b8d) SHA1(08f6689afb517e0a2bdaa48433003e62a66ae3c7)) // 341-0080-B z8 MCU piggyback ROM
@ -401,11 +401,11 @@ ROM_START( lisa210 ) /* newer motherboard and i/o board; has io88 i/o rom, built
ROM_LOAD("341-0064a.u9f", 0x000, 0x400, CRC(e6849910) SHA1(d46e67df75c9e3e773d20542fb9d5b1d2ac0fb9b))
#if 1
ROM_REGION(0x2000,"fdccpu", 0) // 6504 RAM and ROM
ROM_LOAD("341-0281-d", 0x1000, 0x1000, CRC(e343fe74) SHA1(a0e484ead2d2315fca261f39fff2f211ff61b0ef)) // 341-0281-D LISA 2/10 Disk Rom (io88), supports widget on internal port
ROM_REGION(0x1000,"fdccpu", 0) // 6504 RAM and ROM
ROM_LOAD("341-0281-d", 0x0000, 0x1000, CRC(e343fe74) SHA1(a0e484ead2d2315fca261f39fff2f211ff61b0ef)) // 341-0281-D LISA 2/10 Disk Rom (io88), supports widget on internal port
#else
ROM_REGION(0x2000,"fdccpu", 0) // 6504 RAM and ROM
ROM_LOAD("341-8003-c", 0x1000, 0x1000, CRC(8c67959a) SHA1(aa446b0c4acb4cb6c9d0adfbbea900fb8c04c1e9)) // 341-8003-C Sun Mac XL Disk rom for 800k drives (Rev C, from Goodwill XL) (io88800k)
ROM_REGION(0x1000,"fdccpu", 0) // 6504 RAM and ROM
ROM_LOAD("341-8003-c", 0x0000, 0x1000, CRC(8c67959a) SHA1(aa446b0c4acb4cb6c9d0adfbbea900fb8c04c1e9)) // 341-8003-C Sun Mac XL Disk rom for 800k drives (Rev C, from Goodwill XL) (io88800k)
// Note: there are two earlier/alternate versions of this rom as well which are dumped */
#endif
@ -429,11 +429,11 @@ ROM_START( macxl )
ROM_LOAD("341-0064a.u9f", 0x000, 0x400, CRC(e6849910) SHA1(d46e67df75c9e3e773d20542fb9d5b1d2ac0fb9b))
#if 1
ROM_REGION(0x2000,"fdccpu", 0) // 6504 RAM and ROM
ROM_LOAD("341-0281-d", 0x1000, 0x1000, CRC(e343fe74) SHA1(a0e484ead2d2315fca261f39fff2f211ff61b0ef)) // 341-0281-D LISA 2/10 Disk Rom (io88), supports widget on internal port
ROM_REGION(0x1000,"fdccpu", 0) // 6504 RAM and ROM
ROM_LOAD("341-0281-d", 0x0000, 0x1000, CRC(e343fe74) SHA1(a0e484ead2d2315fca261f39fff2f211ff61b0ef)) // 341-0281-D LISA 2/10 Disk Rom (io88), supports widget on internal port
#else
ROM_REGION(0x2000,"fdccpu", 0) // 6504 RAM and ROM
ROM_LOAD("341-8003-c", 0x1000, 0x1000, CRC(8c67959a) SHA1(aa446b0c4acb4cb6c9d0adfbbea900fb8c04c1e9)) // 341-8003-C Sun Mac XL Disk rom for 800k drives (Rev C, from Goodwill XL) (io88800k)
ROM_REGION(0x1000,"fdccpu", 0) // 6504 RAM and ROM
ROM_LOAD("341-8003-c", 0x0000, 0x1000, CRC(8c67959a) SHA1(aa446b0c4acb4cb6c9d0adfbbea900fb8c04c1e9)) // 341-8003-C Sun Mac XL Disk rom for 800k drives (Rev C, from Goodwill XL) (io88800k)
// Note: there are two earlier/alternate versions of this ROM as well which are dumped
#endif