mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
heathzenith/h89.cpp: Reduce duplicate BIOS declarations (#12929)
* heathzenith/h89.cpp: Reduce duplicate BIOS declarations * Don't use macro for MTR-88
This commit is contained in:
parent
5aa5842469
commit
ae1186bc0e
1 changed files with 67 additions and 59 deletions
|
@ -1040,11 +1040,46 @@ void h89_mms_state::h89_mms(machine_config &config)
|
|||
m_intr_socket->set_fixed(true);
|
||||
}
|
||||
|
||||
#define ROM_H17 \
|
||||
ROM_LOAD( "2716_444-19_h17.u520", 0x1800, 0x0800, CRC(26e80ae3) SHA1(0c0ee95d7cb1a760f924769e10c0db1678f2435c))
|
||||
|
||||
#define ROM_MTR90_444_142(x) \
|
||||
ROM_SYSTEM_BIOS(x, "mtr90", "Zenith Data Systems MTR-90 (444-142)") \
|
||||
ROMX_LOAD("2732_444-142_mtr90.u518", 0x0000, 0x1000, CRC(c4ff47c5) SHA1(d6f3d71ff270a663003ec18a3ed1fa49f627123a), ROM_BIOS(x))
|
||||
|
||||
#define ROM_MTR89(x) \
|
||||
ROM_SYSTEM_BIOS(x, "mtr89", "Heath MTR-89 (444-62)") \
|
||||
ROMX_LOAD("2716_444-62_mtr89.u518", 0x0000, 0x0800, CRC(8f507972) SHA1(ac6c6c1344ee4e09fb60d53c85c9b761217fe9dc), ROM_BIOS(x))
|
||||
|
||||
#define ROM_MMS_444_84B(x) \
|
||||
ROM_SYSTEM_BIOS(x, "mms84b", "Magnolia MicroSystems 444-84B") \
|
||||
ROMX_LOAD("2732_444_84b_mms.u518", 0x0000, 0x1000, CRC(7e75d6f4) SHA1(baf34e036388d1a191197e31f8a93209f04fc58b), ROM_BIOS(x))
|
||||
|
||||
#define ROM_KMR_100(x) \
|
||||
ROM_SYSTEM_BIOS(x, "kmr-100", "Kres KMR-100 V3.a.02") \
|
||||
ROMX_LOAD("2732_kmr100_v3_a_02.u518", 0x0000, 0x1000, CRC(fd491592) SHA1(3d5803f95c38b237b07cd230353cd9ddc9858c13), ROM_BIOS(x))
|
||||
|
||||
#define ROM_ULTIMETH_4K(x) \
|
||||
ROM_SYSTEM_BIOS(x, "mtrhex_4k", "Ultimeth 4k ROM") \
|
||||
ROMX_LOAD("2732_mtrhex_4k.u518", 0x0000, 0x1000, CRC(e26b29a9) SHA1(ba13d6c9deef682a9a8262bc910d46b577929a13), ROM_BIOS(x))
|
||||
|
||||
#define ROM_MTR90_444_84(x) \
|
||||
ROM_SYSTEM_BIOS(x, "mtr90-84", "Zenith Data Systems MTR-90 (444-84 - Superseded by 444-142)") \
|
||||
ROMX_LOAD("2732_444-84_mtr90.u518", 0x0000, 0x1000, CRC(f10fca03) SHA1(c4a978153af0f2dfcc9ba05be4c1033d33fee30b), ROM_BIOS(x))
|
||||
|
||||
#define ROM_MMS_444_84A(x) \
|
||||
ROM_SYSTEM_BIOS(x, "mms84a", "Magnolia MicroSystems 444-84A (Superseded by MMS 444-84B)") \
|
||||
ROMX_LOAD("2732_444_84a_mms.u518", 0x0000, 0x1000, CRC(0e541a7e) SHA1(b1deb620fc89c1068e2e663e14be69d1f337a4b9), ROM_BIOS(x))
|
||||
|
||||
#define ROM_ULTIMETH_2K(x) \
|
||||
ROM_SYSTEM_BIOS(x, "mtrhex", "Ultimeth 2k ROM") \
|
||||
ROMX_LOAD("2716_mtrhex.u518", 0x0000, 0x0800, CRC(842a306a) SHA1(ddbc2b8bb127464af9eda8e7c56e6be7c8b43a16), ROM_BIOS(x))
|
||||
|
||||
|
||||
ROM_START( h88 )
|
||||
ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASEFF )
|
||||
|
||||
ROM_LOAD( "2716_444-19_h17.u520", 0x1800, 0x0800, CRC(26e80ae3) SHA1(0c0ee95d7cb1a760f924769e10c0db1678f2435c))
|
||||
ROM_H17
|
||||
|
||||
ROM_LOAD("2716_444-40_mtr88.u518", 0x0000, 0x0800, CRC(093afb79) SHA1(bcc1569ad9da7babf0a4199cab96d8cd59b2dd78))
|
||||
ROM_END
|
||||
|
@ -1053,109 +1088,82 @@ ROM_START( h89 )
|
|||
ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASEFF )
|
||||
ROM_DEFAULT_BIOS("mtr90")
|
||||
|
||||
ROM_LOAD( "2716_444-19_h17.u520", 0x1800, 0x0800, CRC(26e80ae3) SHA1(0c0ee95d7cb1a760f924769e10c0db1678f2435c))
|
||||
ROM_H17
|
||||
|
||||
ROM_SYSTEM_BIOS(0, "mtr90", "Zenith Data Systems MTR-90 (444-142)")
|
||||
ROMX_LOAD("2732_444-142_mtr90.u518", 0x0000, 0x1000, CRC(c4ff47c5) SHA1(d6f3d71ff270a663003ec18a3ed1fa49f627123a), ROM_BIOS(0))
|
||||
ROM_MTR90_444_142(0)
|
||||
|
||||
ROM_SYSTEM_BIOS(1, "mtr89", "Heath MTR-89 (444-62)")
|
||||
ROMX_LOAD("2716_444-62_mtr89.u518", 0x0000, 0x0800, CRC(8f507972) SHA1(ac6c6c1344ee4e09fb60d53c85c9b761217fe9dc), ROM_BIOS(1))
|
||||
ROM_MTR89(1)
|
||||
|
||||
ROM_SYSTEM_BIOS(2, "mms84b", "Magnolia MicroSystems 444-84B")
|
||||
ROMX_LOAD("2732_444_84b_mms.u518", 0x0000, 0x1000, CRC(7e75d6f4) SHA1(baf34e036388d1a191197e31f8a93209f04fc58b), ROM_BIOS(2))
|
||||
ROM_MMS_444_84B(2)
|
||||
|
||||
ROM_SYSTEM_BIOS(3, "kmr-100", "Kres KMR-100 V3.a.02")
|
||||
ROMX_LOAD("2732_kmr100_v3_a_02.u518", 0x0000, 0x1000, CRC(fd491592) SHA1(3d5803f95c38b237b07cd230353cd9ddc9858c13), ROM_BIOS(3))
|
||||
ROM_KMR_100(3)
|
||||
|
||||
ROM_SYSTEM_BIOS(4, "mtrhex_4k", "Ultimeth 4k ROM")
|
||||
ROMX_LOAD("2732_mtrhex_4k.u518", 0x0000, 0x1000, CRC(e26b29a9) SHA1(ba13d6c9deef682a9a8262bc910d46b577929a13), ROM_BIOS(4))
|
||||
ROM_ULTIMETH_4K(4)
|
||||
|
||||
ROM_SYSTEM_BIOS(5, "mtr90-84", "Zenith Data Systems MTR-90 (444-84 - Superseded by 444-142)")
|
||||
ROMX_LOAD("2732_444-84_mtr90.u518", 0x0000, 0x1000, CRC(f10fca03) SHA1(c4a978153af0f2dfcc9ba05be4c1033d33fee30b), ROM_BIOS(5))
|
||||
ROM_MTR90_444_84(5)
|
||||
|
||||
ROM_SYSTEM_BIOS(6, "mms84a", "Magnolia MicroSystems 444-84A (Superseded by MMS 444-84B)")
|
||||
ROMX_LOAD("2732_444_84a_mms.u518", 0x0000, 0x1000, CRC(0e541a7e) SHA1(b1deb620fc89c1068e2e663e14be69d1f337a4b9), ROM_BIOS(6))
|
||||
ROM_MMS_444_84A(6)
|
||||
|
||||
ROM_SYSTEM_BIOS(7, "mtrhex", "Ultimeth 2k ROM")
|
||||
ROMX_LOAD("2716_mtrhex.u518", 0x0000, 0x0800, CRC(842a306a) SHA1(ddbc2b8bb127464af9eda8e7c56e6be7c8b43a16), ROM_BIOS(7))
|
||||
ROM_ULTIMETH_2K(7)
|
||||
ROM_END
|
||||
|
||||
ROM_START( h89_sigmasoft )
|
||||
ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASEFF )
|
||||
ROM_DEFAULT_BIOS("mtr90")
|
||||
|
||||
ROM_LOAD( "2716_444-19_h17.u520", 0x1800, 0x0800, CRC(26e80ae3) SHA1(0c0ee95d7cb1a760f924769e10c0db1678f2435c))
|
||||
ROM_H17
|
||||
|
||||
ROM_SYSTEM_BIOS(0, "mtr90", "Zenith Data Systems MTR-90 (444-142)")
|
||||
ROMX_LOAD("2732_444-142_mtr90.u518", 0x0000, 0x1000, CRC(c4ff47c5) SHA1(d6f3d71ff270a663003ec18a3ed1fa49f627123a), ROM_BIOS(0))
|
||||
ROM_MTR90_444_142(0)
|
||||
|
||||
ROM_SYSTEM_BIOS(1, "mtr89", "Heath MTR-89 (444-62)")
|
||||
ROMX_LOAD("2716_444-62_mtr89.u518", 0x0000, 0x0800, CRC(8f507972) SHA1(ac6c6c1344ee4e09fb60d53c85c9b761217fe9dc), ROM_BIOS(1))
|
||||
ROM_MTR89(1)
|
||||
|
||||
ROM_SYSTEM_BIOS(2, "mms84b", "Magnolia MicroSystems 444-84B")
|
||||
ROMX_LOAD("2732_444_84b_mms.u518", 0x0000, 0x1000, CRC(7e75d6f4) SHA1(baf34e036388d1a191197e31f8a93209f04fc58b), ROM_BIOS(2))
|
||||
ROM_MMS_444_84B(2)
|
||||
|
||||
ROM_SYSTEM_BIOS(3, "kmr-100", "Kres KMR-100 V3.a.02")
|
||||
ROMX_LOAD("2732_kmr100_v3_a_02.u518", 0x0000, 0x1000, CRC(fd491592) SHA1(3d5803f95c38b237b07cd230353cd9ddc9858c13), ROM_BIOS(3))
|
||||
ROM_KMR_100(3)
|
||||
|
||||
ROM_SYSTEM_BIOS(4, "mtrhex_4k", "Ultimeth 4k ROM")
|
||||
ROMX_LOAD("2732_mtrhex_4k.u518", 0x0000, 0x1000, CRC(e26b29a9) SHA1(ba13d6c9deef682a9a8262bc910d46b577929a13), ROM_BIOS(4))
|
||||
ROM_ULTIMETH_4K(4)
|
||||
|
||||
ROM_SYSTEM_BIOS(5, "mtr90-84", "Zenith Data Systems MTR-90 (444-84 - Superseded by 444-142)")
|
||||
ROMX_LOAD("2732_444-84_mtr90.u518", 0x0000, 0x1000, CRC(f10fca03) SHA1(c4a978153af0f2dfcc9ba05be4c1033d33fee30b), ROM_BIOS(5))
|
||||
ROM_MTR90_444_84(5)
|
||||
|
||||
ROM_SYSTEM_BIOS(6, "mms84a", "Magnolia MicroSystems 444-84A (Superseded by MMS 444-84B)")
|
||||
ROMX_LOAD("2732_444_84a_mms.u518", 0x0000, 0x1000, CRC(0e541a7e) SHA1(b1deb620fc89c1068e2e663e14be69d1f337a4b9), ROM_BIOS(6))
|
||||
ROM_MMS_444_84A(6)
|
||||
|
||||
ROM_SYSTEM_BIOS(7, "mtrhex", "Ultimeth 2k ROM")
|
||||
ROMX_LOAD("2716_mtrhex.u518", 0x0000, 0x0800, CRC(842a306a) SHA1(ddbc2b8bb127464af9eda8e7c56e6be7c8b43a16), ROM_BIOS(7))
|
||||
ROM_ULTIMETH_2K(7)
|
||||
ROM_END
|
||||
|
||||
ROM_START( h89_mms )
|
||||
ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASEFF )
|
||||
ROM_DEFAULT_BIOS("mms84b")
|
||||
|
||||
ROM_LOAD( "2716_444-19_h17.u520", 0x1800, 0x0800, CRC(26e80ae3) SHA1(0c0ee95d7cb1a760f924769e10c0db1678f2435c))
|
||||
ROM_H17
|
||||
|
||||
ROM_SYSTEM_BIOS(0, "mms84b", "MMS 444-84B")
|
||||
ROMX_LOAD("2732_444_84b_mms.u518", 0x0000, 0x1000, CRC(7e75d6f4) SHA1(baf34e036388d1a191197e31f8a93209f04fc58b), ROM_BIOS(0))
|
||||
ROM_MMS_444_84B(0)
|
||||
|
||||
ROM_SYSTEM_BIOS(1, "kmr-100", "Kres KMR-100 V3.a.02")
|
||||
ROMX_LOAD("2732_kmr100_v3_a_02.u518", 0x0000, 0x1000, CRC(fd491592) SHA1(3d5803f95c38b237b07cd230353cd9ddc9858c13), ROM_BIOS(1))
|
||||
ROM_KMR_100(1)
|
||||
|
||||
ROM_SYSTEM_BIOS(2, "mtrhex_4k", "Ultimeth 4k ROM")
|
||||
ROMX_LOAD("2732_mtrhex_4k.u518", 0x0000, 0x1000, CRC(e26b29a9) SHA1(ba13d6c9deef682a9a8262bc910d46b577929a13), ROM_BIOS(2))
|
||||
ROM_ULTIMETH_4K(2)
|
||||
|
||||
ROM_SYSTEM_BIOS(3, "mms84a", "MMS 444-84A (Superseded by MMS 444-84B)")
|
||||
ROMX_LOAD("2732_444_84a_mms.u518", 0x0000, 0x1000, CRC(0e541a7e) SHA1(b1deb620fc89c1068e2e663e14be69d1f337a4b9), ROM_BIOS(3))
|
||||
ROM_MMS_444_84A(3)
|
||||
|
||||
ROM_SYSTEM_BIOS(4, "mtrhex", "Ultimeth 2k ROM")
|
||||
ROMX_LOAD("2716_mtrhex.u518", 0x0000, 0x0800, CRC(842a306a) SHA1(ddbc2b8bb127464af9eda8e7c56e6be7c8b43a16), ROM_BIOS(4))
|
||||
ROM_ULTIMETH_2K(4)
|
||||
ROM_END
|
||||
|
||||
ROM_START( z90 )
|
||||
ROM_REGION( 0x2000, "maincpu", ROMREGION_ERASEFF )
|
||||
ROM_DEFAULT_BIOS("mtr90")
|
||||
|
||||
ROM_LOAD( "2716_444-19_h17.u520", 0x1800, 0x0800, CRC(26e80ae3) SHA1(0c0ee95d7cb1a760f924769e10c0db1678f2435c))
|
||||
ROM_H17
|
||||
|
||||
ROM_SYSTEM_BIOS(0, "mtr90", "Zenith Data Systems MTR-90 (444-142)")
|
||||
ROMX_LOAD("2732_444-142_mtr90.u518", 0x0000, 0x1000, CRC(c4ff47c5) SHA1(d6f3d71ff270a663003ec18a3ed1fa49f627123a), ROM_BIOS(0))
|
||||
ROM_MTR90_444_142(0)
|
||||
|
||||
ROM_SYSTEM_BIOS(1, "mms84b", "Magnolia MicroSystems 444-84B")
|
||||
ROMX_LOAD("2732_444_84b_mms.u518", 0x0000, 0x1000, CRC(7e75d6f4) SHA1(baf34e036388d1a191197e31f8a93209f04fc58b), ROM_BIOS(1))
|
||||
ROM_MMS_444_84B(1)
|
||||
|
||||
ROM_SYSTEM_BIOS(2, "kmr-100", "Kres KMR-100 V3.a.02")
|
||||
ROMX_LOAD("2732_kmr100_v3_a_02.u518", 0x0000, 0x1000, CRC(fd491592) SHA1(3d5803f95c38b237b07cd230353cd9ddc9858c13), ROM_BIOS(2))
|
||||
ROM_KMR_100(2)
|
||||
|
||||
ROM_SYSTEM_BIOS(3, "mtrhex_4k", "Ultimeth 4k ROM")
|
||||
ROMX_LOAD("2732_mtrhex_4k.u518", 0x0000, 0x1000, CRC(e26b29a9) SHA1(ba13d6c9deef682a9a8262bc910d46b577929a13), ROM_BIOS(3))
|
||||
ROM_ULTIMETH_4K(3)
|
||||
|
||||
ROM_SYSTEM_BIOS(4, "mtr90-84", "Zenith Data Systems MTR-90 (444-84 - Superseded by 444-142)")
|
||||
ROMX_LOAD("2732_444-84_mtr90.u518", 0x0000, 0x1000, CRC(f10fca03) SHA1(c4a978153af0f2dfcc9ba05be4c1033d33fee30b), ROM_BIOS(4))
|
||||
ROM_MTR90_444_84(4)
|
||||
|
||||
ROM_SYSTEM_BIOS(5, "mms84a", "Magnolia MicroSystems 444-84A (Superseded by MMS 444-84B)")
|
||||
ROMX_LOAD("2732_444_84a_mms.u518", 0x0000, 0x1000, CRC(0e541a7e) SHA1(b1deb620fc89c1068e2e663e14be69d1f337a4b9), ROM_BIOS(5))
|
||||
ROM_MMS_444_84A(5)
|
||||
ROM_END
|
||||
|
||||
} // anonymous namespace
|
||||
|
|
Loading…
Reference in a new issue