Previous 15994 Revisions Next

r4045 Thursday 1st January, 2009 at 22:24:06 UTC by Jonathan Gevaryahu
Slew of comment updates, add chip labels and more info, fix some mistakes.
[src/mess/drivers]pc.c

src/mess/drivers/pc.c
r4044r4045
2727- Graphics: MDA, CGA, or MDA and CGA
2828- Cassette port
2929- Five ISA expansion slots (short type)
30- PC/XT keyboard 83-key 'IBM Model F' (some early 'IBM Model M' keyboards can produce scancodes compatible with this as well, but it was an undocumented feature unsupported by IBM)
3031- Optional 8087 co-processor
3132- Optional up to 4 (2 internal, 2 external) 160KB single-sided or 360KB double-sided 5 1/4" floppy drives
3233- Optional 10MB hard disk (using 5161 expansion chassis)
3334- Optional Game port joystick ISA card (two analog joysticks with 2 buttons each)
34- Optional Parallel port ISA card
35- Optional Parallel port ISA card, Unidirectional (upgradable to bidirectional (as is on the ps/2) with some minor hacking; IBM had all the circuitry there but it wasn't hooked up properly)
3536- Optional Serial port ISA card
3637
3738
r4044r4045
4344==============
4445
4546- Intel 8088 at 4.77 MHz derived from a 14.31818 MHz crystal
46- Onboard RAM: Revision A mainboard - min. 64KB, max. 256KB (4x 64KB banks); could be upgraded to 640KB with a hack)
47- Onboard RAM: Revision A mainboard (P/N 6181655) - min. 64KB, max. 256KB (4x 64KB banks of 9 IMS2600 64kx1 drams plus parity); could be upgraded to 640KB with a hack; may support the weird 256k stacked-chip dram the AT rev 1 uses)
4748               Revision B mainboard - min. 256KB, max 640KB (2x 256KB, 2x 64KB banks)
4849- Total RAM (using 5161 expansion chassis, ISA memory board, or rev B mainboard): 640KB
4950- Graphics: MDA, CGA, MDA and CGA, EGA, EGA and MDA, or EGA and CGA
5051- One internal 360KB double-sided 5 1/4" floppy drive
51- PC/XT keyboard 'IBM Model F' (BIOS revisions 1 and 2)
52- AT/Enhanced keyboard or 'IBM Model M' (BIOS revisions 3 and 4)
52- PC/XT keyboard 83-key 'IBM Model F' (BIOS revisions 1 and 2) (some early 'IBM Model M' keyboards can produce scancodes compatible with this as well, but it was an undocumented feature unsupported by IBM)
53- 84-key 'AT/Enhanced' keyboard or 101-key 'IBM Model M' (BIOS revisions 3 and 4)
5354- Eight ISA expansion slots (short type)
5455- Optional 8087 co-processor
5556- Optional second internal 360KB double-sided 5 1/4" floppy drive, if no internal hard disk
5657- Optional 'half height' 720KB double density 3 1/2" floppy drive
5758- Optional 10MB hard disk via 5161 expansion chassis
58- Optional 10MB or 20MB Seagate ST-412 hard disk
59- Optional 10MB or 20MB Seagate ST-412 hard disk (in place of second floppy drive)
5960- Optional up to 2 external 360KB double-sided 5 1/4" floppy drive
61- Optional Game port joystick ISA card (two analog joysticks with 2 buttons each)
62- Optional Parallel port ISA card, Unidirectional (upgradable to bidirectional (as is on the ps/2) with some minor hacking; IBM had all the circuitry there but it wasn't hooked up properly)
63- Optional Serial port ISA card
6064
6165
6266Amstrad PC1640
r4044r4045
20352039   ROMX_LOAD("1501476.u33", 0xfe000, 0x2000, CRC(e88792b3) SHA1(40fce6a94dda4328a8b608c7ae2f39d1dc688af4), ROM_BIOS(1))
20362040
20372041   /* IBM PC 5150 (rev 1: 04/24/81) 2-screw case 16-64k MB w/MDA Card, ROM Basic 1.0 */
2038   /* ROM Basic 1.0 had a bug: Doing ".1 / 10" would result in the wrong answer. May have been fixed in 1.1 */
20392042   ROM_SYSTEM_BIOS( 1, "rev1", "IBM PC 5150 5700051 04/24/81" )
20402043   ROMX_LOAD("5700019.u29", 0xf6000, 0x2000, CRC(b59e8f6c) SHA1(7a5db95370194c73b7921f2d69267268c69d2511), ROM_BIOS(2))      /* ROM Basic 1.0 F6000-F7FFF */
20412044   ROMX_LOAD("5700027.u30", 0xf8000, 0x2000, CRC(bfff99b8) SHA1(ca2f126ba69c1613b7b5a4137d8d8cf1db36a8e6), ROM_BIOS(2))      /* ROM Basic 1.0 F8000-F9FFF */
r4044r4045
20562059//   ROM_LOAD("104839re.12a", 0x0000, 0x1000, CRC(3ad32fcc) SHA1(0127fa520aaee91285cb46a640ed835b4554e4b3))   /* Xebec 1210 IBM OEM Hard Disk Controller, silkscreened "104839RE // COPYRIGHT // XEBEC 1986" - Common for both XEBEC 1210 IBM OEM revisions */
20572060//   /* Other versions probably exist for the non-IBM/Retail 1210 and the 1220 */
20582061
2059   /* Character rom */
2062   /* IBM 1501981(CGA) and 1501985(MDA) Character rom */
20602063   ROM_REGION(0x2000,"gfx1", 0)
2061   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f))
2064   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f)) /* "AMI 8412PI // 5788005 // (C) IBM CORP. 1981 // KOREA" */
20622065
2063   /* 8051 keytronic keyboard controller */
2066   /* 8051 keytronic KB3270/PC keyboard controller */
20642067   ROM_REGION( 0x2000, KEYTRONIC_KB3270PC_CPU, 0 )
20652068   ROM_LOAD("14166.bin", 0x0000, 0x2000, CRC(1aea1b53) SHA1(b75b6d4509036406052157bc34159f7039cdc72e))
20662069ROM_END
r4044r4045
20752078   ROM_LOAD("basicc11.fc", 0xfc000, 0x2000, CRC(3062b3fc) SHA1(5134dd64721cbf093d059ee5d3fd09c7f86604c7))
20762079   ROM_LOAD("pc081682.bin", 0xfe000, 0x2000, CRC(5c3f0256) SHA1(b42c78abd0a9c630a2f972ad2bae46d83c3a2a09))
20772080
2078   /* Character rom */
2081   /* IBM 1501981(CGA) and 1501985(MDA) Character rom */
20792082   ROM_REGION(0x2000,"gfx1", 0)
2080   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f))
2083   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f)) /* "AMI 8412PI // 5788005 // (C) IBM CORP. 1981 // KOREA" */
20812084ROM_END
20822085#endif
20832086
r4044r4045
20862089   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */ // taken from other machine
20872090   ROM_LOAD("bondwell.bin", 0xfe000, 0x2000, CRC(d435a405) SHA1(a57c705d1144c7b61940b6f5c05d785c272fc9bb))
20882091
2089   /* Character rom */
2092   /* IBM 1501981(CGA) and 1501985(MDA) Character rom */
20902093   ROM_REGION(0x2000,"gfx1", 0)
2091   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f))
2094   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f)) /* "AMI 8412PI // 5788005 // (C) IBM CORP. 1981 // KOREA" */
20922095
2093   /* 8051 keytronic keyboard controller */
2096   /* 8051 keytronic KB3270/PC keyboard controller */
20942097   ROM_REGION( 0x2000, KEYTRONIC_KB3270PC_CPU, 0 )
20952098   ROM_LOAD("14166.bin", 0x0000, 0x2000, CRC(1aea1b53) SHA1(b75b6d4509036406052157bc34159f7039cdc72e))
20962099ROM_END
r4044r4045
21002103   ROM_REGION(0x100000,"main", 0)
21012104   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
21022105   ROM_LOAD("pcxt.rom",    0xfe000, 0x02000, CRC(031aafad) SHA1(a641b505bbac97b8775f91fe9b83d9afdf4d038f))
2106
2107   /* IBM 1501981(CGA) and 1501985(MDA) Character rom */
21032108   ROM_REGION(0x08100,"gfx1", 0)
2104   ROM_LOAD("mda.rom",     0x00000, 0x02000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f)) // taken from original IBM MDA
2109   ROM_LOAD("5788005.u33", 0x00000, 0x02000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f)) /* "AMI 8412PI // 5788005 // (C) IBM CORP. 1981 // KOREA" */
21052110
2106   /* 8051 keytronic keyboard controller */
2111   /* 8051 keytronic KB3270/PC keyboard controller */
21072112   ROM_REGION( 0x2000, KEYTRONIC_KB3270PC_CPU, 0 )
21082113   ROM_LOAD("14166.bin", 0x0000, 0x2000, CRC(1aea1b53) SHA1(b75b6d4509036406052157bc34159f7039cdc72e))
21092114ROM_END
r4044r4045
21162121   ROM_REGION(0x1000,"gfx1", 0)
21172122   ROM_LOAD("um2301.bin",  0x00000, 0x1000, CRC(0827bdac) SHA1(15f1aceeee8b31f0d860ff420643e3c7f29b5ffc))
21182123
2119   /* 8051 keytronic keyboard controller */
2124   /* 8051 keytronic KB3270/PC keyboard controller */
21202125   ROM_REGION( 0x2000, KEYTRONIC_KB3270PC_CPU, 0 )
21212126   ROM_LOAD("14166.bin", 0x0000, 0x2000, CRC(1aea1b53) SHA1(b75b6d4509036406052157bc34159f7039cdc72e))
21222127ROM_END
r4044r4045
21282133//   ROM_LOAD("xthdd.rom",  0xc8000, 0x02000, CRC(a96317da))
21292134   ROM_LOAD("pcxt.rom",    0xfe000, 0x02000, CRC(031aafad) SHA1(a641b505bbac97b8775f91fe9b83d9afdf4d038f))
21302135
2131   /* Character rom */
2136   /* IBM 1501981(CGA) and 1501985(MDA) Character rom */
21322137   ROM_REGION(0x2000,"gfx1", 0)
2133   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f))
2138   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f)) /* "AMI 8412PI // 5788005 // (C) IBM CORP. 1981 // KOREA" */
21342139
2135   /* 8051 keytronic keyboard controller */
2140   /* 8051 keytronic KB3270/PC keyboard controller */
21362141   ROM_REGION( 0x2000, KEYTRONIC_KB3270PC_CPU, 0 )
21372142   ROM_LOAD("14166.bin", 0x0000, 0x2000, CRC(1aea1b53) SHA1(b75b6d4509036406052157bc34159f7039cdc72e))
21382143ROM_END
r4044r4045
21522157   ROM_LOAD("bios.rom", 0xf0000, 0x10000,CRC(31e3a7aa) SHA1(1f5f7013f18c08ff50d7942e76c4fbd782412414))
21532158
21542159   ROM_REGION(0x08100,"gfx1", 0)
2155   ROM_LOAD("cga.chr",     0x00000, 0x01000, CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd))
2160   ROM_LOAD("cga.chr",     0x00000, 0x01000, CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd)) // from an unknown clone cga card
21562161ROM_END
21572162
21582163#ifdef UNUSED_DEFINITION
r4044r4045
22922297
22932298   ROM_SYSTEM_BIOS( 0, "rev1", "IBM XT 5160 08/16/82" )   /* ROM at u18 marked as BAD_DUMP for now, as current dump, while likely correct, was regenerated from a number of smaller dumps, and needs a proper redump. */
22942299   ROMX_LOAD("5000027.u19", 0xf0000, 0x8000, CRC(fc982309) SHA1(2aa781a698a21c332398d9bc8503d4f580df0a05), ROM_BIOS(1) )
2295   ROMX_LOAD("5000026.u18", 0xf8000, 0x8000, BAD_DUMP CRC(3c9b0ac3) SHA1(271c9f4cef5029a1560075550b67c3395db09fef), ROM_BIOS(1) ) /* This is probably a good dump, and works fine, but as it was manually regenerated based on a partial dump, it needs to be reverified. It's a very rare rom revision and may have only appeared on prototypes. */
2300   ROMX_LOAD("5000026.u18", 0xf8000, 0x8000, BAD_DUMP CRC(3c9b0ac3) SHA1(271c9f4cef5029a1560075550b67c3395db09fef), ROM_BIOS(1) ) /* This is probably a good dump, and works fine, but as it was manually regenerated based on a partial dump, it needs to be reverified. It's a very rare rom revision and may have only appeared on XT prototypes. */
22962301
22972302   ROM_SYSTEM_BIOS( 1, "rev2", "IBM XT 5160 11/08/82" )   /* Same as PC 5155 BIOS and PC/3270 BIOS */
2298   ROMX_LOAD("5000027.u19", 0xf0000, 0x8000, CRC(fc982309) SHA1(2aa781a698a21c332398d9bc8503d4f580df0a05), ROM_BIOS(2) ) /* silkscreen "MK37050N-4 // 5000027" - FRU: 6359116 - Contents repeat 4 times */
2299   ROMX_LOAD("1501512.u18", 0xf8000, 0x8000, CRC(79522c3d) SHA1(6bac726d8d033491d52507278aa388ec04cf8b7e), ROM_BIOS(2) ) /* silkscreen "MK38036N-25 // 1501512" */
2303   ROMX_LOAD("5000027.u19", 0xf0000, 0x8000, CRC(fc982309) SHA1(2aa781a698a21c332398d9bc8503d4f580df0a05), ROM_BIOS(2) ) /* silkscreen "MK37050N-4 // 5000027" - FRU: 6359116 - Contents repeat 4 times; Alt Silkscreen (from yesterpc.com): "(M) // 5000027 // (C) 1983 IBM CORP // X E // 8425B NM"*/
2304   ROMX_LOAD("1501512.u18", 0xf8000, 0x8000, CRC(79522c3d) SHA1(6bac726d8d033491d52507278aa388ec04cf8b7e), ROM_BIOS(2) ) /* silkscreen "MK38036N-25 // 1501512 // ZA // (C)IBM CORP // 1981,1983 // D MALAYSIA // 8438 AP"*/
23002305
23012306   ROM_SYSTEM_BIOS( 2, "rev3", "IBM XT 5160 01/10/86" )    /* Has enhanced keyboard support and a 3.5" drive */
23022307   ROMX_LOAD("62x0854.u19", 0xf0000, 0x8000, CRC(b5fb0e83) SHA1(937b43759ffd472da4fb0fe775b3842f5fb4c3b3), ROM_BIOS(3) )
r4044r4045
23132318//   ROMX_LOAD("basicc11.fc", 0xfc000, 0x2000, BAD_DUMP CRC(3062b3fc) SHA1(5134dd64721cbf093d059ee5d3fd09c7f86604c7), ROM_BIOS(5) )
23142319//   ROMX_LOAD("xtdiag.bin", 0xfe000, 0x2000, CRC(4e89a4d8) SHA1(39a28fb2fe9f1aeea24ed2c0255cebca76e37ed7), ROM_BIOS(5) )
23152320
2316   /* CGA Character rom */
2321   /* IBM 1501981(CGA) and 1501985(MDA) Character rom */
23172322   ROM_REGION(0x2000,"gfx1", 0)
2318   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f))
2323   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f)) /* "AMI 8412PI // 5788005 // (C) IBM CORP. 1981 // KOREA" */
23192324
2320   /* Z80 on the Xebec 1210 and 1220 Hard Disk Controllers */
2325   /* Z80 ROM on the Xebec 1210 and 1220 Hard Disk Controllers */
23212326//   ROM_REGION(0x10000, "cpu1", 0)
2322//   ROM_LOAD("104839re.12a", 0x0000, 0x1000, CRC(3ad32fcc) SHA1(0127fa520aaee91285cb46a640ed835b4554e4b3))   /* Xebec 1210 IBM OEM Hard Disk Controller, silkscreened "104839RE // COPYRIGHT // XEBEC 1986" - Common for both XEBEC 1210 IBM OEM editions */
2327//   ROM_LOAD("104839re.12a", 0x0000, 0x1000, CRC(3ad32fcc) SHA1(0127fa520aaee91285cb46a640ed835b4554e4b3))   /* Xebec 1210 IBM OEM Hard Disk Controller, silkscreened "104839RE // COPYRIGHT // XEBEC 1986" - Common for both XEBEC 1210 IBM OEM editions. Some cards have the rom marked 104839E instead (John Eliott's card is like this), but contents are the same. */
23232328//   /* Other versions probably exist for the non-IBM/Retail 1210 and the 1220 */
23242329
23252330
r4044r4045
23752380//      ROM_LOAD("1504161.u11", 0x00000, 0x2000, CRC(d9246cf5) SHA1(2eaed495893a4e6649b04d10dada7b5ef4abd140)) /* silkscreen: "AMI 8613MAJ // 9591-041 // S2364B // 1504161 // PHILIPPINES" - Purpose: Pixels 0 thru 7 of built-in 3270 terminal font*/
23762381//      ROM_LOAD("1504162.u26", 0x02000, 0x2000, CRC(59e1dc32) SHA1(337b5cced203345a5acfb02532d6b5f526902ee7)) /* silkscreen: "AMI 8607MAH // 9591-042 // S2364B // 1504162 // PHILIPPINES" - Purpose: Pixel 8 of built-in 3270 terminal font*/
23772382
2378   /* 8051 keytronic keyboard controller */
2383   /* 8051 keytronic KB3270/PC keyboard controller */
23792384   ROM_REGION( 0x2000, KEYTRONIC_KB3270PC_CPU, 0 )
23802385   ROM_LOAD("14166.bin", 0x0000, 0x2000, CRC(1aea1b53) SHA1(b75b6d4509036406052157bc34159f7039cdc72e))
23812386ROM_END
r4044r4045
23832388
23842389ROM_START( xtvga )
23852390   ROM_REGION(0x100000,"main", 0)
2386   ROM_LOAD("et4000.bin", 0xc0000, 0x8000, CRC(f01e4be0) SHA1(95d75ff41bcb765e50bd87a8da01835fd0aa01d5))
2391   ROM_LOAD("et4000.bin", 0xc0000, 0x8000, CRC(f01e4be0) SHA1(95d75ff41bcb765e50bd87a8da01835fd0aa01d5)) // from unknown revision/model of Tseng ET4000 Video card
23872392   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC IDE Superbios 2.0 (06/28/89) Expansion Rom C8000-C9FFF  */
23882393   ROM_LOAD("pcxt.rom",    0xfe000, 0x02000, CRC(031aafad) SHA1(a641b505bbac97b8775f91fe9b83d9afdf4d038f))
23892394ROM_END
r4044r4045
24952500   ROM_LOAD( "dgone.bin",  0xf8000, 0x08000, CRC(2c38c86e) SHA1(c0f85a000d1d13cd354965689e925d677822549e))
24962501
24972502   ROM_REGION(0x08100, "gfx1", 0)
2498   ROM_LOAD("cga.chr", 0x00000, 0x01000, CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd))
2503   ROM_LOAD("cga.chr", 0x00000, 0x01000, CRC(42009069) SHA1(ed08559ce2d7f97f68b9f540bddad5b6295294dd)) // from an unknown clone cga card
24992504
25002505   /* 8051 keytronic keyboard controller */
25012506   ROM_REGION( 0x2000, KEYTRONIC_KB3270PC_CPU, 0 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team