From b72fa75c88011974e3e5f9aa3320f4301e564cc8 Mon Sep 17 00:00:00 2001 From: rfka01 Date: Fri, 9 Feb 2018 01:17:54 +0100 Subject: at.cpp: Added Compaq Portable II (#3183) * at.cpp: Added Compaq Portable II * at.cpp: spaces nw --- src/mame/drivers/at.cpp | 57 +++++++++++++++++++++++++++++++++++++++++++------ src/mame/mame.lst | 1 + 2 files changed, 52 insertions(+), 6 deletions(-) diff --git a/src/mame/drivers/at.cpp b/src/mame/drivers/at.cpp index 88679a12811..a9b6e7f6cd0 100644 --- a/src/mame/drivers/at.cpp +++ b/src/mame/drivers/at.cpp @@ -31,7 +31,7 @@ To-Do: Complains about missing mouse hardware (Bus Mouse), hangs in POST Siemens PCD-2 ============= Links: http://www.z80.eu/siemenspcd2.html , http://www.z80.eu/downloads/Siemens_PCD-2_SW-Monitor-Buchse-Belegung.pdf , https://www.computerwoche.de/a/at-klon-und-lan-ergaenzen-siemens-palette,1166395 -Form Factor: low profile desktop +Form factor: low profile desktop CPU: 80286-12 on a Tandon supplied slot CPU card RAM: 1MB - 4MB in four SIMM modules Mass storage: 1.2MB Floppy disk drive and 20MB or 40MB MFM harddisk @@ -39,6 +39,18 @@ Bus: Vertical passive ISA backplane with six slots On board: 2xserial, parallel, floppy, keyboard, RTC, MFM harddisk controller piggybacked to bus extension on slot CPU Options: 80287 +Compaq Portable II +================== +Links: http://tkc8800.com/post/compaq-portable-ii-restoration , https://www.seasip.info/VintagePC/compaq2.html , https://en.wikipedia.org/wiki/Compaq_Portable_II +Form factor: Luggable +CPU: 80286-8 +RAM: 256K or 640K on board, 512kB and 2048kB ISA memory cards and 512kB and 1536kB memory boards that attached to the back of the motherboard, 4.2M max. +Mass storage: one or two 5.25" floppy drives, 10MB or 20MB mfm harddisk connected via an MFM=>IDE bridgeboard +Bus: two 8bit and two 16bit ISA slots +On board: Serial, parallel +Standard cards: Floppy/IDE combo card, special Compaq CGA/MDA hybrid video card +Options: Compaq EGA card (drives internal monitor), 80287, floppy drives (360K, 1.2M, 1.44M) + Compaq Portable III =================== Links: http://www.old-computers.com/museum/computer.asp?c=1064 , http://www.freakedenough.at/infoseiten/read.php?id=66 , http://www.1000bit.it/ad/bro/compaq/CompaqProtable3.pdf , http://oldcomputers.net/compaqiii.pdf @@ -115,6 +127,7 @@ public: void xb42639(machine_config &config); void at486l(machine_config &config); void megapcpla(machine_config &config); + void comportii(machine_config &config); void comportiii(machine_config &config); void ibm5162(machine_config &config); void neat(machine_config &config); @@ -130,6 +143,7 @@ public: void at386(machine_config &config); void ews286(machine_config &config); + static void cfg_single_360K(device_t *device); static void cfg_single_1200K(device_t *device); }; @@ -367,6 +381,12 @@ void at_state::cfg_single_1200K(device_t *device) device_slot_interface::static_set_default_option(*device->subdevice("fdc:1"), ""); } +void at_state::cfg_single_360K(device_t *device) +{ + device_slot_interface::static_set_default_option(*device->subdevice("fdc:0"), "525dd"); + device_slot_interface::static_set_default_option(*device->subdevice("fdc:1"), ""); +} + static SLOT_INTERFACE_START( pci_devices ) SLOT_INTERFACE_INTERNAL("vt82c505", VT82C505) SLOT_INTERFACE_END @@ -395,7 +415,6 @@ MACHINE_CONFIG_START(at_state::ibm5170) MCFG_RAM_EXTRA_OPTIONS("2M,4M,8M,15M") MACHINE_CONFIG_END - MACHINE_CONFIG_DERIVED(at_state::ibm5170a, ibm5170) MCFG_CPU_MODIFY("maincpu") MCFG_CPU_CLOCK(XTAL(16'000'000)/2) @@ -709,7 +728,7 @@ MACHINE_CONFIG_END // Compaq Portable III MACHINE_CONFIG_START(at_state::comportiii) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", I80286, XTAL(48'000'000)/4 /*12000000*/) + MCFG_CPU_ADD("maincpu", I80286, 48_MHz_XTAL/4 /*12000000*/) MCFG_CPU_PROGRAM_MAP(at16_map) MCFG_CPU_IO_MAP(at16_io) MCFG_CPU_IRQ_ACKNOWLEDGE_DEVICE("mb:pic8259_master", pic8259_device, inta_cb) @@ -735,6 +754,18 @@ MACHINE_CONFIG_START(at_state::comportiii) MCFG_RAM_EXTRA_OPTIONS("1152K,1664K,2176K,2688K,4736K,6784K") MACHINE_CONFIG_END +MACHINE_CONFIG_DERIVED(at_state::comportii, ibm5170) + MCFG_CPU_MODIFY("maincpu") + MCFG_CPU_CLOCK(48_MHz_XTAL/6) + MCFG_DEVICE_MODIFY("isa2") + MCFG_SLOT_OPTION_MACHINE_CONFIG("fdc", cfg_single_360K) + MCFG_DEVICE_MODIFY("isa4") + MCFG_SLOT_DEFAULT_OPTION("hdc") + MCFG_RAM_MODIFY(RAM_TAG) + MCFG_RAM_DEFAULT_SIZE("640K") + MCFG_RAM_EXTRA_OPTIONS("1152K,1664K,2176K,2688K,4224K") +MACHINE_CONFIG_END + //************************************************************************** // ROM DEFINITIONS //************************************************************************** @@ -1265,7 +1296,6 @@ ROM_START( pc2386 ) ROM_FILL(0x3fff3, 1, 0x00) // and why does the rest of the rom look okay? ROM_FILL(0x3fff4, 1, 0xf0) - ROM_REGION( 0x1000, "keyboard", 0 ) // PC2286 / PC2386 102-key keyboard ROM_LOAD( "40211.ic801", 0x000, 0x1000, CRC(4440d981) SHA1(a76006a929f26c178e09908c66f28abc92e7744c) ) ROM_END @@ -1280,8 +1310,8 @@ ROM_END // Sanyo MBC-28 ROM_START( mbc28 ) // Complains about missing mouse hardware ROM_REGION(0x20000,"bios", 0) - ROM_LOAD16_BYTE( "mbc-28_sl-dt_ver.1620_low_din_checksum_(454f00)_27c256-15.bin", 0x10000, 0x8000, CRC(423b4693) SHA1(08e877baa59ebd9a1817dcdd27138c638edcbb84) ) - ROM_LOAD16_BYTE( "mbc-28_sl-dt_ver.1620_high_din_checksum_(45ae00)_27c256-15.bin", 0x10001, 0x8000, CRC(557b7346) SHA1(c0dca88627f8451211172441fefb4020839fb87f) ) + ROM_LOAD16_BYTE( "mbc-28_sl-dt_ver.1620_low_din_checksum_(454f00)_27c256-15.bin", 0x10000, 0x8000, CRC(423b4693) SHA1(08e877baa59ebd9a1817dcdd27138c638edcbb84) ) + ROM_LOAD16_BYTE( "mbc-28_sl-dt_ver.1620_high_din_checksum_(45ae00)_27c256-15.bin", 0x10001, 0x8000, CRC(557b7346) SHA1(c0dca88627f8451211172441fefb4020839fb87f) ) ROM_END // Siemens PCD-2 @@ -1294,6 +1324,20 @@ ROM_START( pcd2 ) // ROM_LOAD( "vga_nmc27c256q_435-0030-04_1988_video7_arrow.bin", 0x8000, 0x0800, CRC(0935c003) SHA(35ac571818f616b856da8bbf6a7a9172f68b3ab6) ) ROM_END +// Compaq Portable II +ROM_START( comportii ) + ROM_REGION(0x20000,"bios", 0) + ROM_SYSTEM_BIOS(0,"105620-001", "Ver. D (105620/105622)") + ROMX_LOAD( "comportii_105622-001.bin", 0x18000, 0x4000, CRC(30804fa4) SHA1(204d16dac4db4df0ba23a336af62da3f66aa914c), ROM_SKIP(1) | ROM_BIOS(1) ) + ROMX_LOAD( "comportii_105620-001.bin", 0x18001, 0x4000, CRC(45fe43e8) SHA1(f74c2e30f7bd162be4042946ebcefeb236bd2fe7), ROM_SKIP(1) | ROM_BIOS(1) ) + ROM_SYSTEM_BIOS(1,"106437-001", "Ver. F (106437/106438)") + ROMX_LOAD( "106438-001.bin", 0x18000, 0x4000, CRC(616361de) SHA1(ce1a6f9be9d374b76a83856f176aaa993d1dd46c), ROM_SKIP(1) | ROM_BIOS(2) ) + ROMX_LOAD( "106437-001.bin", 0x18001, 0x4000, CRC(b50881ae) SHA1(2a79b39f77b0d3e94e4f765ed6c1961746dad563), ROM_SKIP(1) | ROM_BIOS(2) ) + ROM_SYSTEM_BIOS(2,"109739-001", "Ver. P.1 (109739/109740)") + ROMX_LOAD( "109740-001.rom", 0x18000, 0x4000, CRC(0c032f12) SHA1(3ae7833d7f92d6495e2e57caa0260b573187eb72), ROM_SKIP(1) | ROM_BIOS(3) ) + ROMX_LOAD( "109739-001.rom", 0x18001, 0x4000, CRC(83698b85) SHA1(3d3cff84a747aea3db2612a7ac3ebe9cb4700b33), ROM_SKIP(1) | ROM_BIOS(3) ) +ROM_END + // Compaq Portable III ROM_START( comportiii ) ROM_REGION(0x20000,"bios", 0) @@ -1372,6 +1416,7 @@ COMP ( 1985, k286i, ibm5170, 0, k286i, 0, at_state, at, COMP ( 1991, t2000sx, ibm5170, 0, at386sx, 0, at_state, at, "Toshiba", "T2000SX", MACHINE_NOT_WORKING ) COMP ( 199?, mbc28, ibm5170, 0, at386sx, 0, at_state, at, "Sanyo", "MBC-28", MACHINE_NOT_WORKING ) COMP ( 1986, pcd2, ibm5170, 0, ibm5170, 0, at_state, at, "Siemens", "PCD-2", MACHINE_NOT_WORKING ) +COMP ( 1987, comportii ,ibm5170, 0, comportii, 0, at_state, at, "Compaq", "Portable II", MACHINE_NOT_WORKING ) COMP ( 1987, comportiii,ibm5170, 0, comportiii,0, at_state, at, "Compaq", "Portable III", MACHINE_NOT_WORKING ) COMP ( 1986, ews286, ibm5170, 0, ews286, 0, at_state, at, "Ericsson", "Ericsson WS286", MACHINE_NOT_WORKING ) //COMP ( 1988, nws286, ibm5170, 0, ews286, 0, at_state, at, "Nokia Data", "Nokia Data WS286", MACHINE_NOT_WORKING ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index c268afa6c3b..9c0a4db2be1 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -2314,6 +2314,7 @@ c386sx16 // 1990 Commodore 386SX-16 pc30iii // Commodore PC 30-III pc40iii // Commodore PC 40-III mbc28 // Sanyo MBC-28 +comportii // Compaq Portable II comportiii // Compaq Portable III pcd2 // Siemens PCD-2 ct386sx // -- cgit v1.2.3