diff options
Diffstat (limited to 'src/mess/drivers/vt100.c')
-rw-r--r-- | src/mess/drivers/vt100.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/mess/drivers/vt100.c b/src/mess/drivers/vt100.c index 46c77b3457d..b80cf3532a0 100644 --- a/src/mess/drivers/vt100.c +++ b/src/mess/drivers/vt100.c @@ -128,7 +128,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(vt100_state::keyboard_callback) for(i = 0; i < 16; i++) { sprintf(kbdrow,"LINE%X", i); - code = machine().root_device().ioport(kbdrow)->read(); + code = machine().root_device().ioport(kbdrow)->read(); if (code < 0xff) { m_keyboard_int = 1; @@ -393,15 +393,15 @@ INTERRUPT_GEN_MEMBER(vt100_state::vt100_vertical_interrupt) /* F4 Character Displayer */ static const gfx_layout vt100_charlayout = { - 8, 16, /* 8 x 16 characters */ - 256, /* 2 x 128 characters */ - 1, /* 1 bits per pixel */ - { 0 }, /* no bitplanes */ + 8, 16, /* 8 x 16 characters */ + 256, /* 2 x 128 characters */ + 1, /* 1 bits per pixel */ + { 0 }, /* no bitplanes */ /* x offsets */ { 0, 1, 2, 3, 4, 5, 6, 7 }, /* y offsets */ { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8, 8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 }, - 8*16 /* every char takes 16 bytes */ + 8*16 /* every char takes 16 bytes */ }; static GFXDECODE_START( vt100 ) @@ -652,27 +652,27 @@ ROM_START( vt100stp ) // This is from the VT180 technical manual at http://www.b // Or as http://bitsavers.trailing-edge.com/www.computer.museum.uq.edu.au/pdf/EK-VT100-TM-003%20VT100%20Series%20Video%20Terminal%20Technical%20Manual.pdf // on page 433: VT100 WC or WK uses these as well. // This romset adds the Set-up C page to the setup menu (press keypad 5 twice once you hit set-up) - ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) - ROM_LOAD( "23-095e2-00.e56", 0x0000, 0x0800, NO_DUMP) - ROM_LOAD( "23-096e2-00.e52", 0x0800, 0x0800, NO_DUMP) - ROM_LOAD( "23-139e2-00.e45", 0x1000, 0x0800, NO_DUMP) // revision 2?; revision 1 is 23-097e2 - ROM_LOAD( "23-140e2-00.e40", 0x1800, 0x0800, NO_DUMP) // revision 2?; revision 1 is 23-098e2 - ROM_REGION(0x1000, "chargen",0) - ROM_LOAD( "23-018e2-00.e4", 0x0000, 0x0800, CRC(6958458b) SHA1(103429674fc01c215bbc2c91962ae99231f8ae53)) - ROM_LOAD_OPTIONAL( "23-094e2-00.e9", 0x0800, 0x0800, NO_DUMP) // optional ?word processing? alternate character set rom - ROM_REGION(0x10000, "stpcpu",ROMREGION_ERASEFF) + ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) + ROM_LOAD( "23-095e2-00.e56", 0x0000, 0x0800, NO_DUMP) + ROM_LOAD( "23-096e2-00.e52", 0x0800, 0x0800, NO_DUMP) + ROM_LOAD( "23-139e2-00.e45", 0x1000, 0x0800, NO_DUMP) // revision 2?; revision 1 is 23-097e2 + ROM_LOAD( "23-140e2-00.e40", 0x1800, 0x0800, NO_DUMP) // revision 2?; revision 1 is 23-098e2 + ROM_REGION(0x1000, "chargen",0) + ROM_LOAD( "23-018e2-00.e4", 0x0000, 0x0800, CRC(6958458b) SHA1(103429674fc01c215bbc2c91962ae99231f8ae53)) + ROM_LOAD_OPTIONAL( "23-094e2-00.e9", 0x0800, 0x0800, NO_DUMP) // optional ?word processing? alternate character set rom + ROM_REGION(0x10000, "stpcpu",ROMREGION_ERASEFF) // expansion board for a vt100 with a processor on it and dma, intended to act as a ram/send buffer for the STP printer board. // 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. // It also has two proms on the cpu board. I don't know if it is technically necessary to have this board installed if an STP module is installed, but due to the alt stp romset, it probably is. - ROM_LOAD( "23-003e3-00.e10", 0x0000, 0x1000, NO_DUMP) // "EPROM 0" bank 0 - ROM_LOAD( "23-004e3-00.e4", 0x1000, 0x1000, NO_DUMP) // "EPROM 1" bank 0 - ROM_LOAD( "23-005e3-00.e9", 0x2000, 0x1000, NO_DUMP) // "EPROM 2" bank 1 - ROM_LOAD( "23-006e3-00.e3", 0x3000, 0x1000, NO_DUMP) // "EPROM 3" bank 1 - //ROM_REGION(0x0800, "avo",0) - //ROM_LOAD( "23-???e2-00.e34", 0x0000, 0x0800, NO_DUMP) // ? second gfx rom? - ROM_REGION(0x0400, "proms",0) - ROM_LOAD( "23-312a1-07.e26", 0x0000, 0x0200, NO_DUMP) // "PROM A"; handles 8085 i/o? mapping (usart, timer, dma, comm, etc) - ROM_LOAD( "23-313a1-07.e15", 0x0200, 0x0200, NO_DUMP) // "PROM B"; handles firmware rom mapping and memory size/page select; bit 0 = ram page, bits 1-3 unused, bits 4-7 select one eprom each + ROM_LOAD( "23-003e3-00.e10", 0x0000, 0x1000, NO_DUMP) // "EPROM 0" bank 0 + ROM_LOAD( "23-004e3-00.e4", 0x1000, 0x1000, NO_DUMP) // "EPROM 1" bank 0 + ROM_LOAD( "23-005e3-00.e9", 0x2000, 0x1000, NO_DUMP) // "EPROM 2" bank 1 + ROM_LOAD( "23-006e3-00.e3", 0x3000, 0x1000, NO_DUMP) // "EPROM 3" bank 1 + //ROM_REGION(0x0800, "avo",0) + //ROM_LOAD( "23-???e2-00.e34", 0x0000, 0x0800, NO_DUMP) // ? second gfx rom? + ROM_REGION(0x0400, "proms",0) + ROM_LOAD( "23-312a1-07.e26", 0x0000, 0x0200, NO_DUMP) // "PROM A"; handles 8085 i/o? mapping (usart, timer, dma, comm, etc) + ROM_LOAD( "23-313a1-07.e15", 0x0200, 0x0200, NO_DUMP) // "PROM B"; handles firmware rom mapping and memory size/page select; bit 0 = ram page, bits 1-3 unused, bits 4-7 select one eprom each ROM_END ROM_START( vt103 ) // This is from the schematics at http://www.bitsavers.org/pdf/dec/terminal/vt103/MP00731_VT103_Aug80.pdf |