src/mess/drivers/vt100.c
| r5175 | r5176 | |
| 4 | 4 | |
| 5 | 5 | 29/04/2009 Preliminary driver. |
| 6 | 6 | |
| 7 | TODO: keyboard doesn't work properly, kb uart comms issue? |
| 8 | TODO: vt100 gives a '2' error on startup indicating bad nvram checksum |
| 9 | adding the serial nvram support should fix this |
| 7 | 10 | TODO: support for the on-AVO character set roms |
| 8 | | TODO: support for the on-cpu board alternate character set rom |
| 11 | TODO: finish support for the on-cpu board alternate character set rom |
| 9 | 12 | |
| 10 | 13 | ****************************************************************************/ |
| 11 | 14 | |
| r5175 | r5176 | |
| 354 | 357 | them: |
| 355 | 358 | * VT100-AA - standard model with 120vac cable \__voltage can be switched |
| 356 | 359 | * VT100-AB - standard model with 240vac cable / inside any VT100 unit |
| 357 | | * VT100-W* - word processor series: |
| 358 | | * VT100-WA/WB - has AVO board preinstalled, WP romset?, English |
| 359 | | WP keyboard, no alt charset rom, 23-069E2 AVO rom. |
| 360 | * VT100-W* - word processing series: |
| 361 | * VT100-WA/WB - has special LA120 AVO board preinstalled, WP romset?, |
| 362 | English WP keyboard, no alt charset rom, LA120? 23-069E2 AVO rom. |
| 360 | 363 | (The WA and WB variants are called the '-02' variant on the schematics) |
| 364 | * VT100-WC thru WZ: foreign language word processing series: |
| 365 | (The WC thru WK variants are called the '-03' variant on the schematics) |
| 361 | 366 | * VT100-WC/WD - has AVO board preinstalled, WP romset?, French Canadian |
| 362 | 367 | WP keyboard, has 23-094E2 alt charset rom, 23-093E2 AVO rom. |
| 363 | 368 | * VT100-WE/WF - has AVO board preinstalled, WP romset?, French |
| r5175 | r5176 | |
| 366 | 371 | WP keyboard, has 23-094E2 alt charset rom, 23-093E2 AVO rom. |
| 367 | 372 | * VT100-WJ/WK - has AVO board preinstalled, WP romset?, German |
| 368 | 373 | WP keyboard, has 23-094E2 alt charset rom, 23-093E2 AVO rom. |
| 369 | | * (The WC thru WK variants are called the '-03' variant on the schematics) |
| 374 | * VT100-WY/WZ - has AVO board preinstalled, WP romset?, English |
| 375 | WP keyboard, has 23-094E2 alt charset rom, 23-093E2 AVO rom. |
| 370 | 376 | The WP romset supports english, french, dutch and german languages but |
| 371 | 377 | will only display text properly in the non-english languages if the |
| 372 | 378 | 23-094E2 alt charset rom AND the foreign language 23-093E2 |
| 373 | 379 | AVO rom are populated. |
| 380 | * VT100-NA/NB - ? romset with DECFORM keycaps |
| 374 | 381 | * VT100 with vt1xx-ac kit - adds serial printer interface (SPI) |
| 375 | 382 | pcb, replaces roms with the 095e2/096e2/139e2/140e2 SPI set |
| 376 | 383 | * VT101 - 1981 cost reduced unexpandable vt100; Is the same as a stock |
| r5175 | r5176 | |
| 387 | 394 | have the normal vt100 romset variant, and also can have the multiple word |
| 388 | 395 | processing variations (which use the same roms as the vt100 ones do). |
| 389 | 396 | * VT104 doesn't exist. |
| 390 | | * VT105 - 1979 vt100 with the WG waveform generator board installed |
| 397 | * VT105 - 1978 vt100 with the WG waveform generator board installed |
| 391 | 398 | (for simple chart-type line-compare-made raster graphics using some built |
| 392 | 399 | in functions), AVO optional; was intended for use on the MINC analog data |
| 393 | 400 | acquisition computer. |
| 401 | * VT110 - 1978 vt100 with a DPM01 DECDataway serial multiplexer installed |
| 402 | The DPM01 supposedly has its own processor and roms. |
| 394 | 403 | * vt125 - 1982? base model (stock vt100 firmware plus extra gfx board |
| 395 | 404 | firmware and processor) vt100 with the ReGIS graphical language board |
| 396 | 405 | installed (very advanced full framebuffer raster graphics, with color, |
| r5175 | r5176 | |
| 403 | 412 | AVO character rom set. Has its own base firmware roms which support block |
| 404 | 413 | serial mode. |
| 405 | 414 | * vt180 - 1980 vt10x (w/vt100 expansion backplane) with a z80 daughterboard |
| 406 | | installed |
| 415 | installed; |
| 416 | The daughterboard has two roms on it: 23-017e3-00 and 23-021e3-00 |
| 417 | (both are 0x1000 long, 2332 mask roms) |
| 407 | 418 | * vk100 'gigi'- graphical terminal similar to the vt125, but somewhat more |
| 408 | | primitive; very little info so far, more research needed |
| 419 | primitive; more or less a vt125 without the screen; |
| 420 | very little info so far, more research needed |
| 421 | |
| 422 | * Upgrade kits for vt1xx: |
| 423 | * VT1xx-AA : 20ma current loop interface pcb for vt100 |
| 424 | * VT1xx-AB : AVO board (AVO roms could be optionally ordered along with |
| 425 | this board if needed) |
| 426 | * VT1xx-AC : SPT serial printer board (includes a special romset) |
| 427 | * VT1xx-CA : 20ma current loop interface pcb for vt131 (and maybe vt101/vt102?) |
| 428 | * VT1xx-CB or CL: ReGIS board vt100->vt125 upgrade kit |
| 409 | 429 | |
| 410 | 430 | * Info about mask roms and other nasties: |
| 411 | 431 | * A normal 2716 rom has pin 18: /CE; pin 20: /OE; pin 21: VPP (acts as CE2) |
| r5175 | r5176 | |
| 423 | 443 | 23-095e2,096e2,139e2,140e2 set and probably others as well) |
| 424 | 444 | * The vt100/103 23-018e2-00 character set rom at location e4 is a 24 pin 2316 mask rom with enables as such: pin 18: CS2; pin 20: /CS1; pin 21: /CS3 |
| 425 | 445 | * The optional 23-094e2-00 alternate character set rom at location e9 is a 24 pin 2316 mask rom with enables as such: pin 18: /CS2; pin 20: /CS1; pin 21: /CS3 |
| 426 | | * Supposedly the 23-094e2 rom is meant for vt100-WC or -WF systems, (which are french canadian and french respectively), implying that it has european language specific accented characters on it. It is probably used in all the -W* systems. |
| 427 | | * Pin 21 can be jumpered to +5v for this socket at location e9 by removing jumper w4 and inserting jumper w5, allowing a normal 2716 eprom to be used. |
| 446 | Supposedly the 23-094e2 rom is meant for vt100-WC or -WF systems, (which are french canadian and french respectively), implying that it has european language specific accented characters on it. It is probably used in all the -W* systems. |
| 447 | Pin 21 can be jumpered to +5v for this socket at location e9 by removing jumper w4 and inserting jumper w5, allowing a normal 2716 eprom to be used. |
| 428 | 448 | * The optional AVO character set roms (see below) have: pin 18: /CS2*; pin 20: /CS1; pin 21: CS3 hence they match a normal 2716 |
| 429 | | * *(this is marked on the image as if it was CS2 but the input is tied to gnd meaning it must be /CS2) |
| 430 | | * |
| 431 | | * The AVO itself can hold up to four character set roms on it (see http://www.bitsavers.org/pdf/dec/terminal/vt100/MP00633_VT100_Mar80.pdf ) |
| 432 | | * at least four of these AVO roms were made, and are used as such: |
| 449 | *(this is marked on the image as if it was CS2 but the input is tied to gnd meaning it must be /CS2) |
| 450 | |
| 451 | * The AVO itself can hold up to four character set roms on it (see http://www.bitsavers.org/pdf/dec/terminal/vt100/MP00633_VT100_Mar80.pdf |
| 452 | and http://vt100.net/dec/ek-vt1ac-ug-002.pdf ) |
| 453 | at least eight of these AVO roms were made, and are used as such: |
| 433 | 454 | * No roms - normal vt100 system with AVO installed |
| 434 | | * 23-069E2 (location e21) - meant for vt100-wa and -wb 'word processing' systems (the mapping of the rom for this system is different than for the ones below) |
| 455 | * 23-069E2 (location e21) - meant for vt100-wa and -wb 'LA120' 'word processing' systems (the mapping of the rom for this system is different than for the ones below) |
| 435 | 456 | * 23-099E2 (location e21) and 23-100E2 (location e17) - meant for vt132 |
| 436 | | * 23-093E2 (location e21) - meant for vt100 wc thru wk 'foreign language' word processing systems |
| 457 | * 23-093E2 (location e21) - meant for vt100 wc thru wz 'foreign language' word processing systems |
| 458 | * 23-184E2 and 23-185E2 - meant for vt100 with STP printer option board installed, version 1, comes with vt1xx-ac kit |
| 459 | * 23-186E2 and 23-187E2 - meant for vt100 with STP printer option board installed, version 2, comes with vt1xx-ac kit |
| 437 | 460 | */ |
| 438 | 461 | |
| 439 | 462 | /* ROM definition */ |
| r5175 | r5176 | |
| 465 | 488 | ROM_LOAD_OPTIONAL ( "23-094e2-00.e9", 0x0800, 0x0800, NO_DUMP) // optional ?word processing? alternate character set rom |
| 466 | 489 | ROM_END |
| 467 | 490 | |
| 468 | | ROM_START( vt100stp ) // This is from the VT180 technical manual at http://www.bitsavers.org/pdf/dec/terminal/vt180/EK-VT18X-TM-001_VT180_Technical_Man_Feb83.pdf |
| 491 | ROM_START( vt100spt ) // This is from the VT180 technical manual at http://www.bitsavers.org/pdf/dec/terminal/vt180/EK-VT18X-TM-001_VT180_Technical_Man_Feb83.pdf |
| 469 | 492 | // This is the standard vt100 cpu board, but with the rom set included with the VT1xx-AC kit |
| 470 | 493 | // which is only used when the STP 'parallel port expansion' card is installed into the terminal board. |
| 494 | // This romset adds the Set-up C page to the setup menu (press keypad 5 twice once you hit set-up) |
| 471 | 495 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 472 | 496 | ROM_LOAD( "23-095e2-00.e56", 0x0000, 0x0800, NO_DUMP) |
| 473 | 497 | ROM_LOAD( "23-096e2-00.e52", 0x0800, 0x0800, NO_DUMP) |
| r5175 | r5176 | |
| 483 | 507 | // It is 8085 based instead of 8080; I don't know exactly what vtxxx model it is from, maybe the 101/102/131 |
| 484 | 508 | // It can be populated with two banks of two eproms each, each bank either contains 2k or 4k eproms depending on the w2/w3 and w4/w5 jumpers. |
| 485 | 509 | // It also has two proms on the cpu board, which the original vt100 does not. |
| 510 | // I can't tell for sure if its the vt101 or not since the vt101 schematics and tech manual are not scanned yet. |
| 486 | 511 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 487 | 512 | ROM_LOAD( "23-003e3-00.e10", 0x0000, 0x1000, NO_DUMP) // "EPROM 0" bank 0 |
| 488 | 513 | ROM_LOAD( "23-004e3-00.e4", 0x1000, 0x1000, NO_DUMP) // "EPROM 1" bank 0 |
| r5175 | r5176 | |
| 529 | 554 | ROM_LOAD_OPTIONAL ( "23-094e2-00.e9", 0x0800, 0x0800, NO_DUMP) // optional (comes default with some models) alternate character set rom |
| 530 | 555 | ROM_END |
| 531 | 556 | |
| 557 | ROM_START( vt110 ) |
| 558 | // This is the standard VT100 cpu board with the 'normal' roms (but later rev of eprom 0) populated but with a |
| 559 | // DECDataway DPM01 board, which adds 4 or 5 special network-addressable 50ohm? current loop serial lines |
| 560 | // and may add its own processor and ram to control them. see http://bitsavers.org/pdf/dec/terminal/EK-VT110_UG-001_Dec78.pdf |
| 561 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 562 | ROM_LOAD( "23-061e2-00.e56", 0x0000, 0x0800, CRC(3dae97ff) SHA1(e3437850c33565751b86af6c2fe270a491246d15)) // version 2 1980 'later rom' |
| 563 | ROM_LOAD( "23-032e2-00.e52", 0x0800, 0x0800, CRC(3d86db99) SHA1(cdd8bdecdc643442f6e7d2c83cf002baf8101867)) |
| 564 | ROM_LOAD( "23-033e2-00.e45", 0x1000, 0x0800, CRC(384dac0a) SHA1(22aaf5ab5f9555a61ec43f91d4dea3029f613e64)) |
| 565 | ROM_LOAD( "23-034e2-00.e40", 0x1800, 0x0800, CRC(4643184d) SHA1(27e6c19d9932bf13fdb70305ef4d806e90d60833)) |
| 566 | ROM_REGION(0x1000, "gfx1",0) |
| 567 | ROM_LOAD ( "23-018e2-00.e4", 0x0000, 0x0800, BAD_DUMP CRC(6958458b) SHA1(103429674fc01c215bbc2c91962ae99231f8ae53)) // probably correct but needs redump |
| 568 | ROM_LOAD_OPTIONAL ( "23-094e2-00.e9", 0x0800, 0x0800, NO_DUMP) // optional (comes default with some models) alternate character set rom |
| 569 | //DECDataway board roms go here! |
| 570 | ROM_END |
| 571 | |
| 532 | 572 | ROM_START( vt125 ) // This is from bitsavers and vt100.net, as the vt125 schematics are not scanned |
| 533 | 573 | // This is the standard VT100 cpu board with the 'normal' roms (but later rev of eprom 0) populated but with a |
| 534 | 574 | // special ReGIS cpu+ram card installed which provides a framebuffer, text rotation, custom ram fonts, and many other features. |
| 535 | 575 | // Comes with a custom STP card as well. |
| 536 | | // VT125 upgrade kit (upgrade from vt100 or vt105) was called vt1xx-cb or cl |
| 576 | // VT125 upgrade kit (upgrade from vt100 or vt105) was called VT1xx-CB or CL |
| 537 | 577 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 538 | 578 | ROM_LOAD( "23-061e2-00.e56", 0x0000, 0x0800, CRC(3dae97ff) SHA1(e3437850c33565751b86af6c2fe270a491246d15)) // version 2 1980 'later rom' |
| 539 | 579 | ROM_LOAD( "23-032e2-00.e52", 0x0800, 0x0800, CRC(3d86db99) SHA1(cdd8bdecdc643442f6e7d2c83cf002baf8101867)) |
| r5175 | r5176 | |
| 545 | 585 | ROM_END |
| 546 | 586 | |
| 547 | 587 | ROM_START( vt131 ) // VT101/VT102 'unupgradable/low cost' board with built in AVO and SPI, and vt132-style block serial mode |
| 588 | // ROMS have the set up page C in them |
| 589 | // Probably 8085 based instead of 8080 |
| 548 | 590 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 549 | 591 | ROM_LOAD( "23-225e4-00.bin", 0x0000, 0x2000, BAD_DUMP CRC(7ddf75cb) SHA1(a3530bb562b5c6ea8ba23f0988b35ef404abcb93)) // A11 stuck high |
| 550 | 592 | ROM_LOAD( "23-226e4-00.bin", 0x2000, 0x2000, BAD_DUMP CRC(339d4e4e) SHA1(f1b08f2c6bbc2b234f3f43bd800a2615f6dd18d3)) // A11 stuck high |
| r5175 | r5176 | |
| 567 | 609 | ROM_LOAD_OPTIONAL ( "23-094e2-00.e9", 0x0800, 0x0800, NO_DUMP) // optional (comes default with some models) alternate character set rom |
| 568 | 610 | ROM_END |
| 569 | 611 | */ |
| 612 | ROM_START( vt180 ) |
| 613 | // This is the standard VT100 cpu board with the 'normal' roms (but later rev of eprom 0) populated but with a |
| 614 | // Z80 daughterboard added to the expansion slot, and replacing the SPT adapter (SPT roms are replaced with the normal set) |
| 615 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) |
| 616 | ROM_LOAD( "23-061e2-00.e56", 0x0000, 0x0800, CRC(3dae97ff) SHA1(e3437850c33565751b86af6c2fe270a491246d15)) // version 2 1980 'later rom' |
| 617 | ROM_LOAD( "23-032e2-00.e52", 0x0800, 0x0800, CRC(3d86db99) SHA1(cdd8bdecdc643442f6e7d2c83cf002baf8101867)) |
| 618 | ROM_LOAD( "23-033e2-00.e45", 0x1000, 0x0800, CRC(384dac0a) SHA1(22aaf5ab5f9555a61ec43f91d4dea3029f613e64)) |
| 619 | ROM_LOAD( "23-034e2-00.e40", 0x1800, 0x0800, CRC(4643184d) SHA1(27e6c19d9932bf13fdb70305ef4d806e90d60833)) |
| 620 | ROM_REGION(0x1000, "gfx1",0) |
| 621 | ROM_LOAD ( "23-018e2-00.e4", 0x0000, 0x0800, BAD_DUMP CRC(6958458b) SHA1(103429674fc01c215bbc2c91962ae99231f8ae53)) // probably correct but needs redump |
| 622 | ROM_LOAD_OPTIONAL ( "23-094e2-00.e9", 0x0800, 0x0800, NO_DUMP) // optional (comes default with some models) alternate character set rom |
| 623 | ROM_REGION(0x10000, "z80cpu",0) // z80 daughterboard |
| 624 | ROM_LOAD ( "23-017e3-00.bin", 0x0000, 0x1000, NO_DUMP) // fix location once dumped |
| 625 | ROM_LOAD ( "23-021e3-00.bin", 0x0000, 0x1000, NO_DUMP) // fix location once dumped |
| 626 | ROM_END |
| 570 | 627 | |
| 571 | 628 | /* Driver */ |
| 572 | 629 | |
| 573 | 630 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT CONFIG COMPANY FULLNAME FLAGS */ |
| 574 | 631 | COMP( 1978, vt100, 0, 0, vt100, vt100, 0, 0, "DEC", "VT100", GAME_NOT_WORKING) |
| 575 | 632 | COMP( 1978, vt100wp, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT100-Wx", GAME_NOT_WORKING) |
| 576 | | COMP( 1978, vt100stp, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT100 w/VT1xx-ac STP", GAME_NOT_WORKING) |
| 633 | COMP( 1978, vt100spt, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT100 w/VT1xx-AC SPT", GAME_NOT_WORKING) |
| 577 | 634 | //COMP( 1980, vt101, 0, 0, vt100, vt100, 0, 0, "DEC", "VT101", GAME_NOT_WORKING) |
| 578 | 635 | //COMP( 1980, vt102, 0, 0, vt100, vt100, 0, 0, "DEC", "VT102", GAME_NOT_WORKING) |
| 579 | 636 | COMP( 1981, vt103, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT103", GAME_NOT_WORKING) |
| 580 | | COMP( 1979, vt105, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT105", GAME_NOT_WORKING) |
| 637 | COMP( 1978, vt105, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT105", GAME_NOT_WORKING) |
| 638 | COMP( 1978, vt110, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT110", GAME_NOT_WORKING) |
| 581 | 639 | COMP( 1981, vt125, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT125", GAME_NOT_WORKING) |
| 582 | 640 | COMP( 1981, vt131, 0, 0, vt100, vt100, 0, 0, "DEC", "VT131", GAME_NOT_WORKING) |
| 583 | | //COMP( 1981, vt132, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT125", GAME_NOT_WORKING) |
| 584 | | //COMP( 1981, vt180, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT180", GAME_NOT_WORKING) |
| 641 | //COMP( 1979, vt132, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT125", GAME_NOT_WORKING) |
| 642 | COMP( 1983, vt180, vt100, 0, vt100, vt100, 0, 0, "DEC", "VT180", GAME_NOT_WORKING) |