| Previous | 199869 Revisions | Next |
| r31295 Wednesday 16th July, 2014 at 21:17:45 UTC by Curt Coder |
|---|
| (MESS) abc806: Added video PROMs. [Anders Sandahl] |
| [src/mess/drivers] | abc80x.c |
| [src/mess/includes] | abc80x.h |
| [src/mess/video] | abc806.c |
| r31294 | r31295 | |
|---|---|---|
| 70 | 70 | class abc800_state : public driver_device |
| 71 | 71 | { |
| 72 | 72 | public: |
| 73 | abc800_state(const machine_config &mconfig, device_type type, const char *tag) | |
| 74 | : driver_device(mconfig, type, tag), | |
| 75 | m_maincpu(*this, Z80_TAG), | |
| 76 | m_ctc(*this, Z80CTC_TAG), | |
| 77 | m_dart(*this, Z80DART_TAG), | |
| 78 | m_sio(*this, Z80SIO_TAG), | |
| 79 | m_discrete(*this, "discrete"), | |
| 80 | m_cassette(*this, "cassette"), | |
| 81 | m_ram(*this, RAM_TAG), | |
| 82 | m_rom(*this, Z80_TAG), | |
| 83 | m_video_ram(*this, "video_ram"), | |
| 84 | m_char_ram(*this, "char_ram"), | |
| 85 | m_io_sb(*this, "SB"), | |
| 86 | m_ctc_z0(0), | |
| 87 | m_sio_txcb(0), | |
| 88 | m_sio_txdb(1), | |
| 89 | m_sio_rtsb(1), | |
| 90 | m_dfd_out(0), | |
| 91 | m_tape_ctr(4) | |
| 73 | abc800_state(const machine_config &mconfig, device_type type, const char *tag) : | |
| 74 | driver_device(mconfig, type, tag), | |
| 75 | m_maincpu(*this, Z80_TAG), | |
| 76 | m_ctc(*this, Z80CTC_TAG), | |
| 77 | m_dart(*this, Z80DART_TAG), | |
| 78 | m_sio(*this, Z80SIO_TAG), | |
| 79 | m_discrete(*this, "discrete"), | |
| 80 | m_cassette(*this, "cassette"), | |
| 81 | m_ram(*this, RAM_TAG), | |
| 82 | m_rom(*this, Z80_TAG), | |
| 83 | m_video_ram(*this, "video_ram"), | |
| 84 | m_char_ram(*this, "char_ram"), | |
| 85 | m_io_sb(*this, "SB"), | |
| 86 | m_ctc_z0(0), | |
| 87 | m_sio_txcb(0), | |
| 88 | m_sio_txdb(1), | |
| 89 | m_sio_rtsb(1), | |
| 90 | m_dfd_out(0), | |
| 91 | m_tape_ctr(4) | |
| 92 | 92 | { } |
| 93 | 93 | |
| 94 | 94 | required_device<cpu_device> m_maincpu; |
| r31294 | r31295 | |
| 222 | 222 | class abc802_state : public abc800_state |
| 223 | 223 | { |
| 224 | 224 | public: |
| 225 | abc802_state(const machine_config &mconfig, device_type type, const char *tag) | |
| 226 | : abc800_state(mconfig, type, tag), | |
| 227 | m_crtc(*this, MC6845_TAG), | |
| 228 | m_palette(*this, "palette"), | |
| 229 | m_char_rom(*this, MC6845_TAG), | |
| 230 | m_config(*this, "CONFIG") | |
| 225 | abc802_state(const machine_config &mconfig, device_type type, const char *tag) : | |
| 226 | abc800_state(mconfig, type, tag), | |
| 227 | m_crtc(*this, MC6845_TAG), | |
| 228 | m_palette(*this, "palette"), | |
| 229 | m_char_rom(*this, MC6845_TAG), | |
| 230 | m_config(*this, "CONFIG") | |
| 231 | 231 | { } |
| 232 | 232 | |
| 233 | 233 | required_device<mc6845_device> m_crtc; |
| r31294 | r31295 | |
| 266 | 266 | class abc806_state : public abc800_state |
| 267 | 267 | { |
| 268 | 268 | public: |
| 269 | abc806_state(const machine_config &mconfig, device_type type, const char *tag) | |
| 270 | : abc800_state(mconfig, type, tag), | |
| 271 | m_crtc(*this, MC6845_TAG), | |
| 272 | m_palette(*this, "palette"), | |
| 273 | m_rtc(*this, E0516_TAG), | |
| 274 | m_rad_prom(*this, "rad"), | |
| 275 | m_hru2_prom(*this, "hru"), | |
| 276 | m_char_rom(*this, MC6845_TAG), | |
| 277 | m_attr_ram(*this, "attr_ram") | |
| 269 | abc806_state(const machine_config &mconfig, device_type type, const char *tag) : | |
| 270 | abc800_state(mconfig, type, tag), | |
| 271 | m_crtc(*this, MC6845_TAG), | |
| 272 | m_palette(*this, "palette"), | |
| 273 | m_rtc(*this, E0516_TAG), | |
| 274 | m_rad_prom(*this, "rad"), | |
| 275 | m_hru2_prom(*this, "hru"), | |
| 276 | m_char_rom(*this, MC6845_TAG), | |
| 277 | m_attr_ram(*this, "attr_ram") | |
| 278 | 278 | { } |
| 279 | 279 | |
| 280 | 280 | required_device<mc6845_device> m_crtc; |
| r31294 | r31295 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | TODO: |
| 12 | 12 | |
| 13 | - hook up RAD prom | |
| 13 | 14 | - flashing |
| 14 | 15 | - double height |
| 15 | 16 | - underline |
| r31294 | r31295 | |
|---|---|---|
| 1437 | 1437 | ROM_LOAD( "abc t6-11.7c", 0x0000, 0x1000, CRC(b17c51c5) SHA1(e466e80ec989fbd522c89a67d274b8f0bed1ff72) ) // 64 90243-01 |
| 1438 | 1438 | |
| 1439 | 1439 | ROM_REGION( 0x200, "rad", 0 ) |
| 1440 | ROM_LOAD( "6 | |
| 1440 | ROM_LOAD( "60 90241-01.9b", 0x000, 0x200, CRC(ad549ebb) SHA1(4fe228ce3b84ed6f0ffd5431f2f33b94c3e5268b) ) // "RAD" 7621/7643 (82S131/82S137), character line address | |
| 1441 | 1441 | |
| 1442 | 1442 | ROM_REGION( 0x20, "hru", 0 ) |
| 1443 | ROM_LOAD( "6 | |
| 1443 | ROM_LOAD( "60 90128-01.6e", 0x00, 0x20, CRC(d970a972) SHA1(c47fdd61fccc68368d42f03a01c7af90ab1fe1ab) ) // "HRU I" 7603 (82S123), HR horizontal timing and video memory access | |
| 1444 | 1444 | |
| 1445 | 1445 | ROM_REGION( 0x200, "hru2", 0 ) |
| 1446 | ROM_LOAD( "6 | |
| 1446 | ROM_LOAD( "60 90127-01.12g", 0x000, 0x200, CRC(8e9d7cdc) SHA1(4ad16dc0992e31cdb2e644c7be81d334a56f7ad6) ) // "HRU II" 7621 (82S131), ABC800C HR compatibility mode palette | |
| 1447 | 1447 | |
| 1448 | ROM_REGION( 0x400, "v50", 0 ) | |
| 1449 | ROM_LOAD( "64 90242-01.7e", 0x000, 0x200, NO_DUMP ) // "V50" 7621 (82S131), HR vertical timing 50Hz | |
| 1450 | ROM_LOAD( "64 90319-01.7e", 0x200, 0x200, NO_DUMP ) // "V60" 7621 (82S131), HR vertical timing 60Hz | |
| 1448 | ROM_REGION( 0x200, "v50", 0 ) | |
| 1449 | ROM_LOAD( "60 90242-01.7e", 0x000, 0x200, CRC(788a56d8) SHA1(d81e55cdddc36f5d41bf0a33104c75fac590b764) ) // "V50" 7621 (82S131), HR vertical timing 50Hz | |
| 1450 | ||
| 1451 | //ROM_REGION( 0x200, "v60", 0 ) | |
| 1452 | //ROM_LOAD( "60 90319-01.7e", 0x000, 0x200, NO_DUMP ) // "V60" 7621 (82S131), HR vertical timing 60Hz | |
| 1451 | 1453 | |
| 1452 | ROM_REGION( 0x400, "plds", 0 ) | |
| 1453 | ROM_LOAD( "64 90225-01.11c", 0x000, 0x400, NO_DUMP ) // "VIDEO ATTRIBUTE" 40033A (?) | |
| 1454 | ROM_LOAD( "64 90239-01.1b", 0x000, 0x400, NO_DUMP ) // "ABC P3-11" PAL16R4, color encoder | |
| 1455 | ROM_LOAD( "64 90240-01.2d", 0x000, 0x400, NO_DUMP ) // "ABC P4-11" PAL16L8, memory mapper | |
| 1454 | ROM_REGION( 0x400, "att_hand", 0 ) | |
| 1455 | /* | |
| 1456 | 1 E6P (RAD A8) | |
| 1457 | 2 THP (chargen A12) | |
| 1458 | 3 CCLK | |
| 1459 | 4 B0 (TX ATT 6) | |
| 1460 | 5 B1 (TX ATT 7) | |
| 1461 | 6 CONDP (40/80) | |
| 1462 | 7 B2 (TX ATT 0) | |
| 1463 | 8 B3 (TX ATT 1) | |
| 1464 | 9 ULP (RAD A5) | |
| 1465 | 10 FLP (RAD A6) | |
| 1466 | 11 F2P (RTF) | |
| 1467 | 12 | |
| 1468 | 13 F3P (GTF) | |
| 1469 | 14 F4P (BTF) | |
| 1470 | 15 B5P (RTB) | |
| 1471 | 16 B4 (TX ATT 2) | |
| 1472 | 17 B5 (TX ATT 3) | |
| 1473 | 18 B6 (TX ATT 4) | |
| 1474 | 19 B7 (TX ATT 5) | |
| 1475 | 20 LP (*DEN+3) | |
| 1476 | 21 B6P (GTB) | |
| 1477 | 22 B7P (BTB) | |
| 1478 | 23 E5P (RAD A7) | |
| 1479 | 24 | |
| 1480 | */ | |
| 1481 | ROM_LOAD( "60 90225-01.11c", 0x000, 0x400, NO_DUMP ) // "VIDEO ATTRIBUTE" 40033A (?) | |
| 1482 | ||
| 1483 | ROM_REGION( 0x400, "abc_p3", 0 ) | |
| 1484 | ROM_LOAD( "60 90239-01.1b", 0x000, 0x400, NO_DUMP ) // "ABC P3-11" PAL16R4, color encoder | |
| 1485 | ||
| 1486 | ROM_REGION( 0x400, "abc_p4", 0 ) | |
| 1487 | ROM_LOAD( "60 90240-01.2d", 0x000, 0x400, NO_DUMP ) // "ABC P4-11" PAL16L8, memory mapper | |
| 1456 | 1488 | ROM_END |
| 1457 | 1489 | |
| 1458 | 1490 |
| Previous | 199869 Revisions | Next |