diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2018-10-10 14:41:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-10 14:41:34 -0400 |
commit | bf4b7f5f77b6ca1c4b3f1202e2a7c27edb84a9eb (patch) | |
tree | 05a9cd0a9d08e09f03cbf46a8b1ecff166da4fbd | |
parent | aa990898fb459309f4b3d68f044ba28939e72552 (diff) | |
parent | b17a1f19c8dea48adcbef59d3712241740634971 (diff) |
Merge pull request #4109 from hp9k/add_hp9000_360
hp9k_3xx: add hp9000/360
-rw-r--r-- | src/mame/drivers/hp9k_3xx.cpp | 42 | ||||
-rw-r--r-- | src/mame/mame.lst | 1 |
2 files changed, 37 insertions, 6 deletions
diff --git a/src/mame/drivers/hp9k_3xx.cpp b/src/mame/drivers/hp9k_3xx.cpp index 5f857eea525..95d8540908a 100644 --- a/src/mame/drivers/hp9k_3xx.cpp +++ b/src/mame/drivers/hp9k_3xx.cpp @@ -27,6 +27,10 @@ MC68030 CPU @ 16.67 MHz w/built-in MMU MC68881 FPU + 360: + MC68030 CPU @ 25 MHz w/built-in MMU + MC68882 FPU + 370: MC68030 CPU @ 33 MHz w/built-in MMU MC68881 FPU @@ -78,17 +82,18 @@ public: m_diag_led(*this, "led_diag_%u", 0U) { } - void hp9k370(machine_config &config); - void hp9k330(machine_config &config); - void hp9k382(machine_config &config); void hp9k310(machine_config &config); - void hp9k340(machine_config &config); - void hp9k380(machine_config &config); void hp9k320(machine_config &config); + void hp9k330(machine_config &config); void hp9k332(machine_config &config); - void hp9k300(machine_config &config); + void hp9k340(machine_config &config); + void hp9k360(machine_config &config); + void hp9k370(machine_config &config); + void hp9k380(machine_config &config); + void hp9k382(machine_config &config); private: + void hp9k300(machine_config &config); required_device<m68000_base_device> m_maincpu; virtual void machine_reset() override; @@ -116,6 +121,7 @@ private: void hp9k320_map(address_map &map); void hp9k330_map(address_map &map); void hp9k332_map(address_map &map); + void hp9k360_map(address_map &map); void hp9k370_map(address_map &map); void hp9k380_map(address_map &map); void hp9k382_map(address_map &map); @@ -215,6 +221,14 @@ void hp9k3xx_state::hp9k332_map(address_map &map) map(0xffc00000, 0xffffffff).ram(); } +// 9000/360 - 16 MB RAM to run HP/UX +void hp9k3xx_state::hp9k360_map(address_map &map) +{ + hp9k3xx_common(map); + + map(0xff000000, 0xffffffff).ram(); +} + // 9000/370 - 8 MB RAM standard void hp9k3xx_state::hp9k370_map(address_map &map) { @@ -446,6 +460,14 @@ MACHINE_CONFIG_START(hp9k3xx_state::hp9k340) MCFG_DEVICE_PROGRAM_MAP(hp9k330_map) MACHINE_CONFIG_END +MACHINE_CONFIG_START(hp9k3xx_state::hp9k360) + hp9k320(config); + + MCFG_DEVICE_REPLACE(m_maincpu, M68030, 25000000) + MCFG_DEVICE_PROGRAM_MAP(hp9k370_map) +MACHINE_CONFIG_END + + MACHINE_CONFIG_START(hp9k3xx_state::hp9k370) hp9k320(config); @@ -506,6 +528,13 @@ ROM_START( hp9k340 ) ROM_END +ROM_START( hp9k360 ) + ROM_REGION( 0x20000, MAINCPU_TAG, 0 ) + ROM_LOAD16_BYTE( "1818-4796.bin", 0x000000, 0x010000, CRC(8a7642da) SHA1(7ba12adcea85916d18b021255391bec806c32e94) ) + ROM_LOAD16_BYTE( "1818-4797.bin", 0x000001, 0x010000, CRC(98129eb1) SHA1(f3451a854060f1be1bee9f17c5c198b4b1cd61ac) ) +ROM_END + + ROM_START( hp9k370 ) ROM_REGION( 0x20000, MAINCPU_TAG, 0 ) ROM_LOAD16_BYTE( "1818-4416.bin", 0x000000, 0x010000, CRC(cd71e85e) SHA1(3e83a80682f733417fdc3720410e45a2cfdcf869) ) @@ -531,6 +560,7 @@ COMP( 1985, hp9k320, 0, 0, hp9k320, hp9k330, hp9k3xx_state, empty_ini COMP( 1987, hp9k330, 0, 0, hp9k330, hp9k330, hp9k3xx_state, empty_init, "Hewlett-Packard", "HP9000/330", MACHINE_NOT_WORKING) COMP( 1987, hp9k332, 0, 0, hp9k332, hp9k330, hp9k3xx_state, empty_init, "Hewlett-Packard", "HP9000/332", MACHINE_NOT_WORKING) COMP( 1989, hp9k340, hp9k330, 0, hp9k340, hp9k330, hp9k3xx_state, empty_init, "Hewlett-Packard", "HP9000/340", MACHINE_NOT_WORKING) +COMP( 1988, hp9k360, hp9k330, 0, hp9k360, hp9k330, hp9k3xx_state, empty_init, "Hewlett-Packard", "HP9000/360", MACHINE_NOT_WORKING) COMP( 1988, hp9k370, hp9k330, 0, hp9k370, hp9k330, hp9k3xx_state, empty_init, "Hewlett-Packard", "HP9000/370", MACHINE_NOT_WORKING) COMP( 1991, hp9k380, 0, 0, hp9k380, hp9k330, hp9k3xx_state, empty_init, "Hewlett-Packard", "HP9000/380", MACHINE_NOT_WORKING) COMP( 1991, hp9k382, 0, 0, hp9k382, hp9k330, hp9k3xx_state, empty_init, "Hewlett-Packard", "HP9000/382", MACHINE_NOT_WORKING) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 602a688eb49..8a51760cbb9 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -15311,6 +15311,7 @@ hp9k320 // hp9k330 // hp9k332 // hp9k340 // +hp9k360 // hp9k370 // hp9k380 // hp9k382 // |