Previous 15994 Revisions Next

r3339 Sunday 28th September, 2008 at 05:01:10 UTC by Jonathan Gevaryahu
Update comments in pc.c to cover all the cards used in the PC/3270 Model 5271, and some other minor changes. 5271 stuff is all commented out until the 5271 is properly divided off the 5160, which it shares a bios with.
[src/mess/drivers]pc.c

src/mess/drivers/pc.c
r3338r3339
20222022
20232023ROM_START( ibm5150 )
20242024   ROM_REGION(0x100000,"main", 0)
2025   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC Expansion ROM C8000-C9FFF */
2026//   ROM_LOAD("600963.u12", 0xc8000, 0x02000, CRC(f3daf85f) SHA1(3bd29538832d3084cbddeec92593988772755283))   /* Tandon/Western Digital Fixed Disk Adapter 600963-001__TYPE_5.U12.2764.bin */
2027//   ROM_LOAD("62x0822.12d", 0xc8000, 0x02000, CRC(4cdd2193) SHA1(fe8f88333b5e13e170bf637a9a0090383dee454d))   /* Xebec Fixed Disk Adapter 62X0822__(M)_AMI_8621MAB__S68B364-P__(C)IBM_CORP_1982,1985__PHILIPPINES.12D.2364.bin */
2025   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a)) /* WDC ISA Expansion ROM C8000-C9FFF */
2026//   ROM_LOAD("600963.u12", 0xc8000, 0x02000, CRC(f3daf85f) SHA1(3bd29538832d3084cbddeec92593988772755283))   /* Tandon/Western Digital Fixed Disk Adapter 600963-001__TYPE_5.U12.2764.bin - Meant for an IBM PC or XT which lacked bios support for HDDs */
20282027
2029   /* IBM PC 5150 (rev 3: 1501-476 10/27/82) 5-screw case w/1501981 CGA Card, ROM Basic 1.1 */
2028   /* Xebec 1210 and 1220 Z80-based ST409/ST412 MFM controllers */
2029//   ROM_LOAD("5000059.12d", 0xc8000, 0x02000, CRC(03e0ee9a) SHA1(6691be4f6a8d690c696ad8b259708d3e7e87ad89))   /* Xebec 1210 IBM OEM Fixed Disk Adapter - Revision 1, supplied with rev1 and rev2 XT, and PC/3270. supports 4 hdd types, selectable by jumpers (which on the older XTs were usually soldered to one setting) */
2030//   ROM_LOAD("62x0822.12d", 0xc8000, 0x02000, CRC(4cdd2193) SHA1(fe8f88333b5e13e170bf637a9a0090383dee454d))   /* Xebec 1210 IBM OEM Fixed Disk Adapter 62X0822__(M)_AMI_8621MAB__S68B364-P__(C)IBM_CORP_1982,1985__PHILIPPINES.12D.2364.bin - Revision 2, supplied with rev3 and rev4 XT. supports 4 hdd types, selectable by jumpers (which unlike the older XTs, were changable without requiring soldering )*/
2031//   ROM_LOAD("unknown.12d", 0xc8000, 0x02000, NO_DUMP )   /* Xebec 1210 Non-IBM/Retail Fixed Disk Adapter - supports 4 hdd types, selectable by jumpers (changable without soldering) */
2032//   ROM_LOAD("unknown.???", 0xc8000, 0x02000, NO_DUMP )   /* Xebec 1220 Non-IBM/Retail Fixed Disk Adapter plus Floppy Disk Adapter - supports 4 hdd types, selectable by jumpers (changable without soldering) */
2033
2034   /* IBM PC 5150 (rev 3: 1501-476 10/27/82) 5-screw case 64-256k MB w/1501981 CGA Card, ROM Basic 1.1 */
20302035   ROM_SYSTEM_BIOS( 0, "default", "IBM PC 5150 1501471 10/27/82" )
20312036   ROMX_LOAD("5000019.u29", 0xf6000, 0x2000, CRC(80d3cf5d) SHA1(64769b7a8b60ffeefa04e4afbec778069a2840c9), ROM_BIOS(1))      /* ROM Basic 1.1 F6000-F7FFF; IBM P/N: 5000019, FRU: 6359109 */
20322037   ROMX_LOAD("5000021.u30", 0xf8000, 0x2000, CRC(673a4acc) SHA1(082ae803994048e225150f771794ca305f73d731), ROM_BIOS(1))      /* ROM Basic 1.1 F8000-F9FFF; IBM P/N: 5000021, FRU: 6359111 */
r3338r3339
20342039   ROMX_LOAD("5000023.u32", 0xfc000, 0x2000, CRC(3062b3fc) SHA1(5134dd64721cbf093d059ee5d3fd09c7f86604c7), ROM_BIOS(1))      /* ROM Basic 1.1 FC000-FDFFF; IBM P/N: 5000023, FRU: 6359113 */
20352040   ROMX_LOAD("1501476.u33", 0xfe000, 0x2000, CRC(e88792b3) SHA1(40fce6a94dda4328a8b608c7ae2f39d1dc688af4), ROM_BIOS(1))
20362041
2037   /* IBM PC 5150 (rev 1: 04/24/81) 2-screw case w/MDA Card, ROM Basic 1.0 */
2042   /* IBM PC 5150 (rev 1: 04/24/81) 2-screw case 16-64k MB w/MDA Card, ROM Basic 1.0 */
20382043   /* ROM Basic 1.0 had a bug: Doing ".1 / 10" would result in the wrong answer. May have been fixed in 1.1 */
2039   ROM_SYSTEM_BIOS( 1, "rev1", "IBM PC 5150 ??????? 04/24/81" )
2044   ROM_SYSTEM_BIOS( 1, "rev1", "IBM PC 5150 5700051 04/24/81" )
20402045   ROMX_LOAD("5700019.u29", 0xf6000, 0x2000, CRC(b59e8f6c) SHA1(7a5db95370194c73b7921f2d69267268c69d2511), ROM_BIOS(2))      /* ROM Basic 1.0 F6000-F7FFF */
20412046   ROMX_LOAD("5700027.u30", 0xf8000, 0x2000, CRC(bfff99b8) SHA1(ca2f126ba69c1613b7b5a4137d8d8cf1db36a8e6), ROM_BIOS(2))      /* ROM Basic 1.0 F8000-F9FFF */
20422047   ROMX_LOAD("5700035.u31", 0xfa000, 0x2000, CRC(9fe4ec11) SHA1(89af8138185938c3da3386f97d3b0549a51de5ef), ROM_BIOS(2))      /* ROM Basic 1.0 FA000-FBFFF */
20432048   ROMX_LOAD("5700043.u32", 0xfc000, 0x2000, CRC(ea2794e6) SHA1(22fe58bc853ffd393d5e2f98defda7456924b04f), ROM_BIOS(2))      /* ROM Basic 1.0 FC000-FDFFF */
20442049   ROMX_LOAD("5700051.u33", 0xfe000, 0x2000, NO_DUMP, ROM_BIOS(2))
20452050
2046   /* IBM PC 5150 (rev 2: 10/19/81) 2-screw case w/MDA Card, ROM Basic 1.0 */
2051   /* IBM PC 5150 (rev 2: 10/19/81) 2-screw case, 16-64k MB w/MDA Card, ROM Basic 1.0 */
20472052   ROM_SYSTEM_BIOS( 2, "rev2", "IBM PC 5150 5700671 10/19/81" )
20482053   ROMX_LOAD("5700019.u29", 0xf6000, 0x2000, CRC(b59e8f6c) SHA1(7a5db95370194c73b7921f2d69267268c69d2511), ROM_BIOS(3))      /* ROM Basic 1.0 F6000-F7FFF */
20492054   ROMX_LOAD("5700027.u30", 0xf8000, 0x2000, CRC(bfff99b8) SHA1(ca2f126ba69c1613b7b5a4137d8d8cf1db36a8e6), ROM_BIOS(3))      /* ROM Basic 1.0 F8000-F9FFF */
r3338r3339
20512056   ROMX_LOAD("5700043.u32", 0xfc000, 0x2000, CRC(ea2794e6) SHA1(22fe58bc853ffd393d5e2f98defda7456924b04f), ROM_BIOS(3))      /* ROM Basic 1.0 FC000-FDFFF */
20522057   ROMX_LOAD("5700671.u33", 0xfe000, 0x2000, CRC(b7d4ec46) SHA1(bdb06f846c4768f39eeff7e16b6dbff8cd2117d2), ROM_BIOS(3))
20532058
2054   /* Z80 on the Xebec Hard Disk Controller */
2059   /* Z80 on the Xebec 1210 and 1220 Hard Disk Controllers */
20552060//   ROM_REGION(0x10000, "cpu1", 0)
2056//   ROM_LOAD("104839re.12a", 0x0000, 0x1000, CRC(3ad32fcc) SHA1(0127fa520aaee91285cb46a640ed835b4554e4b3))   /* Xebec Hard Disk Controller 104839RE__COPYRIGHT__XEBEC_1986.12A.2732.bin */
2061//   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 */
2062//   /* Other versions probably exist for the non-IBM/Retail 1210 and the 1220 */
20572063
20582064   /* Character rom */
20592065   ROM_REGION(0x2000,"gfx1", 0)
r3338r3339
22472253   ROM_LOAD("wdbios.rom",  0xc8000, 0x02000, CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a))
22482254//   ROM_LOAD("600963.u12", 0xc8000, 0x02000, CRC(f3daf85f) SHA1(3bd29538832d3084cbddeec92593988772755283))  /* Tandon/Western Digital Fixed Disk Adapter 600963-001__TYPE_5.U12.2764.bin */
22492255
2256   /* PC/3270 has a 3270 keyboard controller card, plus a rom on that card to tell the pc how to run it.
2257      * Unlike the much more complex keyboard controller used in the AT/3270, this one only has one rom,
2258        a motorola made "(M)1503828 // XE // 8434A XM // SC81155P" custom (an MCU?; the more complicated
2259        3270/AT keyboard card uses this same exact chip), an 8254, and some logic chips.
2260        (I can't tell based on the lousy picture (http://www.seasip.info/VintagePC/Images/5271kbc.jpg)
2261        whether it has pals or proms on it, nor can the location numbers of anything be clearly seen.)
2262      * The board is stickered "2683114 // 874999 // 8446 SU" on the front.
2263      * The board has a single DE-9 connector where the keyboard dongle connects to.
2264      * The keyboard dongle has two connectors on it: a DIN-5 connector which connects to the Motherboard's
2265        keyboard port, plus an RJ45-lookalike socket which the 3270 keyboard connects to.
2266      * The rom is mapped very strangely to avoid hitting the hard disk controller:
2267        The first 0x800 bytes appear at C0000-C07FF, and the last 0x1800 bytes appear at 0xCA000-CB7FF
2268   */
2269//   ROM_LOAD("6323581.bin", 0xc0000, 0x00800, CRC(cf323cbd) SHA1(93c1ef2ede02772a46dab075c32e179faa045f81))
2270//   ROM_LOAD("6323581.bin", 0xca000, 0x01800, CRC(cf323cbd) SHA1(93c1ef2ede02772a46dab075c32e179faa045f81) ROM_SKIP(0x800))
2271
2272   /* Xebec 1210 and 1220 Z80-based ST409/ST412 MFM controllers */
2273//   ROM_LOAD("5000059.12d", 0xc8000, 0x02000, CRC(03e0ee9a) SHA1(6691be4f6a8d690c696ad8b259708d3e7e87ad89))   /* Xebec 1210 IBM OEM Fixed Disk Adapter - Revision 1, supplied with rev1 and rev2 XT, and PC/3270. supports 4 hdd types, selectable by jumpers (which on the older XTs were usually soldered to one setting) */
2274//   ROM_LOAD("62x0822.12d", 0xc8000, 0x02000, CRC(4cdd2193) SHA1(fe8f88333b5e13e170bf637a9a0090383dee454d))   /* Xebec 1210 IBM OEM Fixed Disk Adapter 62X0822__(M)_AMI_8621MAB__S68B364-P__(C)IBM_CORP_1982,1985__PHILIPPINES.12D.2364.bin - Revision 2, supplied with rev3 and rev4 XT. supports 4 hdd types, selectable by jumpers (which unlike the older XTs, were changable without requiring soldering )*/
2275//   ROM_LOAD("unknown.12d", 0xc8000, 0x02000, NO_DUMP )   /* Xebec 1210 Non-IBM/Retail Fixed Disk Adapter - supports 4 hdd types, selectable by jumpers (changable without soldering) */
2276//   ROM_LOAD("unknown.???", 0xc8000, 0x02000, NO_DUMP )   /* Xebec 1220 Non-IBM/Retail Fixed Disk Adapter plus Floppy Disk Adapter - supports 4 hdd types, selectable by jumpers (changable without soldering) */
2277
2278
22502279   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. */
22512280   ROMX_LOAD("5000027.u19", 0xf0000, 0x8000, CRC(fc982309) SHA1(2aa781a698a21c332398d9bc8503d4f580df0a05), ROM_BIOS(1) )
2252   ROMX_LOAD("5000026.u18", 0xf8000, 0x8000, BAD_DUMP CRC(3c9b0ac3) SHA1(271c9f4cef5029a1560075550b67c3395db09fef), ROM_BIOS(1) )
2281   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. */
22532282
2254   ROM_SYSTEM_BIOS( 1, "rev2", "IBM XT 5160 11/08/82" )   /* Same as PC 5155 BIOS and 3270-PC BIOS */
2255   ROMX_LOAD("5000027.u19", 0xf0000, 0x8000, CRC(fc982309) SHA1(2aa781a698a21c332398d9bc8503d4f580df0a05), ROM_BIOS(2) ) /* MK37050N-4 */
2256   ROMX_LOAD("1501512.u18", 0xf8000, 0x8000, CRC(79522c3d) SHA1(6bac726d8d033491d52507278aa388ec04cf8b7e), ROM_BIOS(2) ) /* MK38036N-25 */
2283   ROM_SYSTEM_BIOS( 1, "rev2", "IBM XT 5160 11/08/82" )   /* Same as PC 5155 BIOS and PC/3270 BIOS */
2284   ROMX_LOAD("5000027.u19", 0xf0000, 0x8000, CRC(fc982309) SHA1(2aa781a698a21c332398d9bc8503d4f580df0a05), ROM_BIOS(2) ) /* sikscreen "MK37050N-4 // 5000027" - FRU: 6359116 - Contents repeat 4 times */
2285   ROMX_LOAD("1501512.u18", 0xf8000, 0x8000, CRC(79522c3d) SHA1(6bac726d8d033491d52507278aa388ec04cf8b7e), ROM_BIOS(2) ) /* silkscreen "MK38036N-25 // 1501512" */
22572286
22582287   ROM_SYSTEM_BIOS( 2, "rev3", "IBM XT 5160 01/10/86" )    /* Has enhanced keyboard support and a 3.5" drive */
22592288   ROMX_LOAD("62x0854.u19", 0xf0000, 0x8000, CRC(b5fb0e83) SHA1(937b43759ffd472da4fb0fe775b3842f5fb4c3b3), ROM_BIOS(3) )
r3338r3339
22702299//   ROMX_LOAD("basicc11.fc", 0xfc000, 0x2000, BAD_DUMP CRC(3062b3fc) SHA1(5134dd64721cbf093d059ee5d3fd09c7f86604c7), ROM_BIOS(5) )
22712300//   ROMX_LOAD("xtdiag.bin", 0xfe000, 0x2000, CRC(4e89a4d8) SHA1(39a28fb2fe9f1aeea24ed2c0255cebca76e37ed7), ROM_BIOS(5) )
22722301
2273   /* Character rom */
2302   /* CGA Character rom */
22742303   ROM_REGION(0x2000,"gfx1", 0)
22752304   ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f))
2305
2306   /* Z80 on the Xebec 1210 and 1220 Hard Disk Controllers */
2307//   ROM_REGION(0x10000, "cpu1", 0)
2308//   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 */
2309//   /* Other versions probably exist for the non-IBM/Retail 1210 and the 1220 */
2310
2311
2312   /* PC/3270 and AT/3270 have a set of two (optionally 3) 3270PGC programmable graphics controller cards on them which
2313           have 2 extra roms, plus a number of custom chips and at least one MCU.
2314      ** The Controller card (with one 48-pin custom, 3 40 pin customs at least one of which is an MCU,
2315         four 2016BP-10 srams, an 8254 and an 8255 on it, two crystals (16.257MHz and 21.676MHz) plus two
2316         mask roms ) is stickered "61X6579 // 983623 // 6390 SU" on the front.
2317      *  The pcb is trace-marked "6320987" on both the front and back.
2318      *  The card has a DE-9 connector on it for a monitor.
2319      *  The customs are marked:
2320         "1503192 // TC15G008P-0009 // JAPAN       8549A" (40 pins, at U52)
2321         "1503193 // TC15G008AP-0020 // JAPAN       8610A" (48 pins, at U29)
2322         "(M)1503194 // XE KGA005 // 8616N XM // SC81156P" (40 pins, at U36, likely an MCU)
2323         "S8613 // SCN2672B // C4N40 A // CP3303" (40 pins, at U24, also possibly an MCU)
2324      ** The Frame-Buffer? Card (with 2 48-pin customs on it which are probably gate arrays and not MCUs,
2325         an empty ?rom? socket, an Intel Id2147H-3, a bank of 12 16k*4-bit inmos ims2620p-15 DRAMs
2326         (tms4416 equivalent)), is stickered "6487836 // A24969 // 6400 SU" on the back.
2327      *  The pcb is trace-marked "EC 999040" on the back, and silkscreened "RC 2682819" on the front
2328      ** The optional Programmable Symbol Card (with an AMD AM9128-10PC, and six tms4416-15NL DRAMS,
2329         and a fleet of discrete logic chips, but no roms, pals, or proms) is stickered
2330         "6347750 // A24866 // 6285 SU" on the front.
2331      *  The PCB is trace-marked "PROGAMMABLE SYMBOL P/N 6347751 // ASSY. NO. 6347750" on the front,
2332         and trace-marked "|||CIM0286 ECA2466 // 94V-O" on the back.
2333   */
2334//   ROM_REGION(0x4000,"gfx2", 0)
2335//      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*/
2336//      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*/
22762337ROM_END
22772338
22782339

Previous 15994 Revisions Next


© 1998-2018 The MESS Team