diff options
| author | 2013-06-11 07:16:42 +0000 | |
|---|---|---|
| committer | 2013-06-11 07:16:42 +0000 | |
| commit | 16f5234d435ee57b65043533f8fa2b105fb15a77 (patch) | |
| tree | c6f95d84c6a1cb89ced5353230a98e1f61a6938e /src/mess/drivers | |
| parent | 2dc6458ede8c0039e308c994e50acb3b8de2d1ae (diff) | |
Cleanups and version bumpmame0149
Diffstat (limited to 'src/mess/drivers')
35 files changed, 481 insertions, 483 deletions
diff --git a/src/mess/drivers/a7000.c b/src/mess/drivers/a7000.c index a45cada5a40..bf559cb09c8 100644 --- a/src/mess/drivers/a7000.c +++ b/src/mess/drivers/a7000.c @@ -5,8 +5,8 @@ very preliminary driver by Angelo Salese, based on work by Tomasz Slanina and Tom Walker - TODO: - - probably needs a full rewrite & merge with ssfindo.c + TODO: + - probably needs a full rewrite & merge with ssfindo.c ??? bp (0382827C) (second trigger) diff --git a/src/mess/drivers/abc80.c b/src/mess/drivers/abc80.c index 9c71b12c979..fdc8b56cf81 100644 --- a/src/mess/drivers/abc80.c +++ b/src/mess/drivers/abc80.c @@ -215,7 +215,7 @@ static INPUT_PORTS_START( abc80 ) PORT_DIPUNKNOWN_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW1:6" ) PORT_DIPUNKNOWN_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW1:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW1:8" ) - + PORT_START("SW2") PORT_DIPUNKNOWN_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW2:1" ) PORT_DIPUNKNOWN_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW2:2" ) diff --git a/src/mess/drivers/altos5.c b/src/mess/drivers/altos5.c index 3456234bbe5..13931f021e1 100644 --- a/src/mess/drivers/altos5.c +++ b/src/mess/drivers/altos5.c @@ -129,7 +129,7 @@ UINT8 altos5_state::convert(offs_t offset, bool state) // normalise bank number (4x becomes 0x; 2x and 1x are already ok) return data & 0x3f; } - + void altos5_state::setup_banks(UINT8 source) { offs_t offs,temp; @@ -248,7 +248,7 @@ static Z80DMA_INTERFACE( dma_intf ) { DEVCB_DRIVER_LINE_MEMBER(altos5_state, busreq_w), DEVCB_CPU_INPUT_LINE("maincpu", INPUT_LINE_IRQ0), - DEVCB_NULL, // BAO, not used + DEVCB_NULL, // BAO, not used DEVCB_DRIVER_MEMBER(altos5_state, memory_read_byte), DEVCB_DRIVER_MEMBER(altos5_state, memory_write_byte), DEVCB_DRIVER_MEMBER(altos5_state, io_read_byte), @@ -300,7 +300,7 @@ static Z80PIO_INTERFACE( pio0_intf ) d0: L = a HD is present d1: L = a 2nd hard drive is present d2: unused configuration input (must be H to skip HD boot) -d3: selected floppy is single(L) or double sided(H) +d3: selected floppy is single(L) or double sided(H) d7: IRQ from FDC */ READ8_MEMBER( altos5_state::port08_r ) diff --git a/src/mess/drivers/applix.c b/src/mess/drivers/applix.c index c030c0fe314..c14a0c6bd58 100644 --- a/src/mess/drivers/applix.c +++ b/src/mess/drivers/applix.c @@ -954,7 +954,6 @@ ROM_END DRIVER_INIT_MEMBER(applix_state, applix) { - floppy_connector *con = machine().device<floppy_connector>("wd1772:0"); floppy_image_device *floppy = con ? con->get_device() : 0; if (floppy) diff --git a/src/mess/drivers/argo.c b/src/mess/drivers/argo.c index ca1b4788b78..80b99fe84da 100644 --- a/src/mess/drivers/argo.c +++ b/src/mess/drivers/argo.c @@ -35,8 +35,8 @@ public: argo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), - m_maincpu(*this, "maincpu"), - m_p_videoram(*this, "p_videoram"){ } + m_maincpu(*this, "maincpu"), + m_p_videoram(*this, "p_videoram"){ } required_device<cpu_device> m_maincpu; DECLARE_WRITE8_MEMBER(argo_videoram_w); diff --git a/src/mess/drivers/attache.c b/src/mess/drivers/attache.c index 19971f91708..d8333a77d41 100644 --- a/src/mess/drivers/attache.c +++ b/src/mess/drivers/attache.c @@ -68,42 +68,42 @@ class attache_state : public driver_device public: attache_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), - m_maincpu(*this,"maincpu"), - m_rom(*this,"boot"), - m_ram(*this,RAM_TAG), - m_char_rom(*this,"video"), - m_rtc(*this,"rtc"), - m_psg(*this,"psg"), - m_fdc(*this,"fdc"), - m_sio(*this,"sio"), - m_pio(*this,"pio"), - m_ctc(*this,"ctc"), - m_crtc(*this,"crtc"), - m_dma(*this, "dma"), - m_floppy0(*this, "fdc:0:525dd"), - m_floppy1(*this, "fdc:1:525dd"), - m_kb_row0(*this, "row0"), - m_kb_row1(*this, "row1"), - m_kb_row2(*this, "row2"), - m_kb_row3(*this, "row3"), - m_kb_row4(*this, "row4"), - m_kb_row5(*this, "row5"), - m_kb_row6(*this, "row6"), - m_kb_row7(*this, "row7"), - m_kb_mod(*this, "modifiers"), - m_membank1(*this, "bank1"), - m_membank2(*this, "bank2"), - m_membank3(*this, "bank3"), - m_membank4(*this, "bank4"), - m_membank5(*this, "bank5"), - m_membank6(*this, "bank6"), - m_membank7(*this, "bank7"), - m_membank8(*this, "bank8"), - m_nvram(*this, "nvram"), - m_rom_active(true), - m_gfx_enabled(false), - m_kb_clock(true), - m_kb_empty(true) + m_maincpu(*this,"maincpu"), + m_rom(*this,"boot"), + m_ram(*this,RAM_TAG), + m_char_rom(*this,"video"), + m_rtc(*this,"rtc"), + m_psg(*this,"psg"), + m_fdc(*this,"fdc"), + m_sio(*this,"sio"), + m_pio(*this,"pio"), + m_ctc(*this,"ctc"), + m_crtc(*this,"crtc"), + m_dma(*this, "dma"), + m_floppy0(*this, "fdc:0:525dd"), + m_floppy1(*this, "fdc:1:525dd"), + m_kb_row0(*this, "row0"), + m_kb_row1(*this, "row1"), + m_kb_row2(*this, "row2"), + m_kb_row3(*this, "row3"), + m_kb_row4(*this, "row4"), + m_kb_row5(*this, "row5"), + m_kb_row6(*this, "row6"), + m_kb_row7(*this, "row7"), + m_kb_mod(*this, "modifiers"), + m_membank1(*this, "bank1"), + m_membank2(*this, "bank2"), + m_membank3(*this, "bank3"), + m_membank4(*this, "bank4"), + m_membank5(*this, "bank5"), + m_membank6(*this, "bank6"), + m_membank7(*this, "bank7"), + m_membank8(*this, "bank8"), + m_nvram(*this, "nvram"), + m_rom_active(true), + m_gfx_enabled(false), + m_kb_clock(true), + m_kb_empty(true) { } // PIO port B operation select @@ -235,7 +235,7 @@ UINT32 attache_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, { UINT8 x,y,bit,scan,data; UINT8 dbl_mode = 0; // detemines which half of character to display when using double size attribute, - // as it can start on either odd or even character cells. + // as it can start on either odd or even character cells. // Graphics output (if enabled) if(m_gfx_enabled) @@ -542,31 +542,31 @@ void attache_state::operation_strobe(address_space& space, UINT8 data) WRITE8_MEMBER(attache_state::pio_portA_w) { - // AO-7 = LATCH DATA OUT: - // LO = MOTOR ON - // L1 = GRAPHICS ENABLE - // L2 = /EPROM ENABLE - // L3-7 = DISPLAY BRIGHTNESS - // AO-7 = 8910 DATA I/O: - // AO-3 = 5832 DO-3 I/O - // A4-7 = 5832 AO-3 OUT - // AO-3 = 5101 DO-3 I/O - // A4-7 = 5101 AO-3 OUT + // AO-7 = LATCH DATA OUT: + // LO = MOTOR ON + // L1 = GRAPHICS ENABLE + // L2 = /EPROM ENABLE + // L3-7 = DISPLAY BRIGHTNESS + // AO-7 = 8910 DATA I/O: + // AO-3 = 5832 DO-3 I/O + // A4-7 = 5832 AO-3 OUT + // AO-3 = 5101 DO-3 I/O + // A4-7 = 5101 AO-3 OUT m_pio_porta = data; } WRITE8_MEMBER(attache_state::pio_portB_w) { - // BO-1 = 5101 A4-5 - // B2-4 = OPERATION SELECT - // 0 = 8910 ADDR LOAD - // 1 = 8910 DATA LOAD - // 2 = 5832 WRITE - // 3 = 5832 READ - // 4 = 5101 WRITE - // 5 = 5101 READ - // 6 = LATCH LOAD - // 7 = NO-OP + // BO-1 = 5101 A4-5 + // B2-4 = OPERATION SELECT + // 0 = 8910 ADDR LOAD + // 1 = 8910 DATA LOAD + // 2 = 5832 WRITE + // 3 = 5832 READ + // 4 = 5101 WRITE + // 5 = 5101 READ + // 6 = LATCH LOAD + // 7 = NO-OP //B5 = /'138 OPERATION STROBE //B6 = /KEYBOARD DATA IN //B7 = /KEYBOARD CLOCK OUT @@ -646,8 +646,8 @@ WRITE8_MEMBER(attache_state::display_data_w) case DISP_CHAR: m_char_ram[(m_char_line*128)+(param & 0x7f)] = data; break; -// default: -// logerror("Unimplemented display operation %02x data %02x param %02x\n",m_current_cmd,data,param); +// default: +// logerror("Unimplemented display operation %02x data %02x param %02x\n",m_current_cmd,data,param); } } @@ -756,7 +756,6 @@ WRITE_LINE_MEMBER(attache_state::eop_w) WRITE_LINE_MEMBER( attache_state::fdc_dack_w ) { - } static ADDRESS_MAP_START( attache_map , AS_PROGRAM, 8, attache_state) @@ -1040,7 +1039,7 @@ static MACHINE_CONFIG_START( attache, attache_state ) MCFG_RAM_ADD(RAM_TAG) MCFG_RAM_DEFAULT_SIZE("64k") - + MCFG_SOFTWARE_LIST_ADD("disk_list","attache") MACHINE_CONFIG_END diff --git a/src/mess/drivers/bml3.c b/src/mess/drivers/bml3.c index 4727a19f165..3d0f47d6cf8 100644 --- a/src/mess/drivers/bml3.c +++ b/src/mess/drivers/bml3.c @@ -806,49 +806,49 @@ static WRITE_LINE_DEVICE_HANDLER( bml3_fdc_intrq_w ) TIMER_DEVICE_CALLBACK_MEMBER(bml3_state::keyboard_callback) { static const char *const portnames[3] = { "key1","key2","key3" }; - int i,port_i,scancode,trigger = 0; - - if(!m_keyb_press_flag) - { - m_keyb_scancode = (m_keyb_scancode + 1) & 0x7F; - scancode = m_keyb_scancode; - - if (scancode == 0x7F) - { - if (m_keyb_empty_scan == 1) - { - // full scan completed with no keypress - m_keyb_press = 0; - if (!m_keyb_counter_operation_disabled) - trigger = !0; - } - if (m_keyb_empty_scan > 0) - m_keyb_empty_scan--; - } - else if (scancode < 32*3) - { - port_i = scancode / 32; - i = scancode % 32; + int i,port_i,scancode,trigger = 0; + + if(!m_keyb_press_flag) + { + m_keyb_scancode = (m_keyb_scancode + 1) & 0x7F; + scancode = m_keyb_scancode; + + if (scancode == 0x7F) + { + if (m_keyb_empty_scan == 1) + { + // full scan completed with no keypress + m_keyb_press = 0; + if (!m_keyb_counter_operation_disabled) + trigger = !0; + } + if (m_keyb_empty_scan > 0) + m_keyb_empty_scan--; + } + else if (scancode < 32*3) + { + port_i = scancode / 32; + i = scancode % 32; if((ioport(portnames[port_i])->read()>>i) & 1) { - m_keyb_empty_scan = 2; - trigger = !0; - } - } - if (trigger) - { - m_keyb_press_flag = 1; - m_keyb_press = m_keyb_scancode | 0x80; - if (!m_keyb_interrupt_disabled) + m_keyb_empty_scan = 2; + trigger = !0; + } + } + if (trigger) + { + m_keyb_press_flag = 1; + m_keyb_press = m_keyb_scancode | 0x80; + if (!m_keyb_interrupt_disabled) m_maincpu->set_input_line(M6809_IRQ_LINE, HOLD_LINE); - } - /* - else { - // #$# ? don't need this - m_maincpu->set_input_line(M6809_IRQ_LINE, CLEAR_LINE); - } - */ - } + } + /* + else { + // #$# ? don't need this + m_maincpu->set_input_line(M6809_IRQ_LINE, CLEAR_LINE); + } + */ + } } @@ -1167,10 +1167,10 @@ static MACHINE_CONFIG_START( bml3, bml3_state ) MCFG_PIA6821_ADD("pia6821", bml3_pia_config) MCFG_ACIA6850_ADD("acia6850", bml3_acia_if) - /* floppy */ + /* floppy */ // #$# not sure what wd17xx model, this is just a guess - MCFG_WD1773_ADD("fdc", bml3_wd17xx_interface ) - MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(bml3_floppy_interface) + MCFG_WD1773_ADD("fdc", bml3_wd17xx_interface ) + MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(bml3_floppy_interface) /* Audio */ MCFG_SPEAKER_STANDARD_MONO("mono") diff --git a/src/mess/drivers/chessmst.c b/src/mess/drivers/chessmst.c index 8825d6cb446..f8685f3a0a9 100644 --- a/src/mess/drivers/chessmst.c +++ b/src/mess/drivers/chessmst.c @@ -23,7 +23,7 @@ public: : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker") - { } + { } required_device<cpu_device> m_maincpu; required_device<speaker_sound_device> m_speaker; diff --git a/src/mess/drivers/concept.c b/src/mess/drivers/concept.c index 7e714dc44b9..71402ad765a 100644 --- a/src/mess/drivers/concept.c +++ b/src/mess/drivers/concept.c @@ -237,8 +237,8 @@ static MACHINE_CONFIG_START( concept, concept_state ) MCFG_MOS6551_ADD(ACIA_1_TAG, XTAL_1_8432MHz, NULL) MCFG_CONCEPT_EXP_PORT_ADD("exp1", concept_exp_devices, NULL) - MCFG_CONCEPT_EXP_PORT_ADD("exp2", concept_exp_devices, "fdc") // Flat cable Hard Disk Controller in Slot 2 - MCFG_CONCEPT_EXP_PORT_ADD("exp3", concept_exp_devices, "hdc") // Floppy Disk Controller in Slot 3 + MCFG_CONCEPT_EXP_PORT_ADD("exp2", concept_exp_devices, "fdc") // Flat cable Hard Disk Controller in Slot 2 + MCFG_CONCEPT_EXP_PORT_ADD("exp3", concept_exp_devices, "hdc") // Floppy Disk Controller in Slot 3 MCFG_CONCEPT_EXP_PORT_ADD("exp4", concept_exp_devices, NULL) // 2x RS232 ports! @@ -249,21 +249,21 @@ ROM_START( concept ) ROM_REGION16_BE(0x100000,"maincpu",0) /* 68k rom and ram */ // concept boot ROM - ROM_SYSTEM_BIOS(0, "lvl8", "Level 8" ) // v0? + ROM_SYSTEM_BIOS(0, "lvl8", "Level 8" ) // v0? ROMX_LOAD("bootl08h", 0x010000, 0x1000, CRC(ee479f51) SHA1(b20ba18564672196076e46507020c6d69a640a2f), ROM_BIOS(1) | ROM_SKIP(1)) ROMX_LOAD("bootl08l", 0x010001, 0x1000, CRC(acaefd07) SHA1(de0c7eaacaf4c0652aa45e523cebce2b2993c437), ROM_BIOS(1) | ROM_SKIP(1)) - ROM_SYSTEM_BIOS(1, "lvl7", "Level 7" ) // v0? v1? + ROM_SYSTEM_BIOS(1, "lvl7", "Level 7" ) // v0? v1? ROMX_LOAD("cc07h", 0x010000, 0x1000, CRC(455abac8) SHA1(b12e1580220242d34eafed1b486cebd89e823c8b), ROM_BIOS(2) | ROM_SKIP(1)) ROMX_LOAD("cc07l", 0x010001, 0x1000, CRC(107a3830) SHA1(0ea12ef13b0d11fcd83b306b3a1bb8014ba910c0), ROM_BIOS(2) | ROM_SKIP(1)) - ROM_SYSTEM_BIOS(2, "lvl6", "Level 6" ) // v0? + ROM_SYSTEM_BIOS(2, "lvl6", "Level 6" ) // v0? ROMX_LOAD("cc06h", 0x010000, 0x1000, CRC(66b6b259) SHA1(1199a38ef3e94f695e8da6a7c80c6432da3cb80c), ROM_BIOS(3) | ROM_SKIP(1)) ROMX_LOAD("cc06l", 0x010001, 0x1000, CRC(600940d3) SHA1(c3278bf23b3b1c35ea1e3da48a05e877862a8345), ROM_BIOS(3) | ROM_SKIP(1)) #if 0 // version 1 lvl 7 release - ROM_LOAD16_BYTE("bootl17h", 0x010000, 0x1000, CRC(6dd9718f)) // where does this come from? + ROM_LOAD16_BYTE("bootl17h", 0x010000, 0x1000, CRC(6dd9718f)) // where does this come from? ROM_LOAD16_BYTE("bootl17l", 0x010001, 0x1000, CRC(107a3830)) #elif 0 // version $F lvl 8 (development version found on a floppy disk along with diff --git a/src/mess/drivers/cortex.c b/src/mess/drivers/cortex.c index bbcf3d8e54b..c35520fd656 100644 --- a/src/mess/drivers/cortex.c +++ b/src/mess/drivers/cortex.c @@ -16,7 +16,7 @@ TMS9929 - Video TMS9911 - DMA to floppy TMS9909 - Floppy Disk Controller - AY-5-2376 - Keyboard controller + AY-5-2376 - Keyboard controller ****************************************************************************/ diff --git a/src/mess/drivers/ep64.c b/src/mess/drivers/ep64.c index 75931e757fd..6191ad097e9 100644 --- a/src/mess/drivers/ep64.c +++ b/src/mess/drivers/ep64.c @@ -13,12 +13,12 @@ Enterprise Sixty Four / Enterprise One Two Eight Enterprise Computers Ltd. 1985 MAIN PCB Layout ---------------- +--------------- DUAL |-----------| 9V TAPE_IN/OUT RES -|HEATSINK | DC_IN MON1 AND REMOTE SR1 PR1 CN2A CN1A |-| +|HEATSINK | DC_IN MON1 AND REMOTE SR1 PR1 CN2A CN1A |-| | |--||---|--||--|--| |--| |-||-||-||-||-| |----| |-----| |--| |--| |-|-|------| -|-----------|7805 | MOD | |-| |-| |-| |-| |-| |-| |-| EXP2 --|EXTERNAL +|-----------|7805 | MOD | |-| |-| |-| |-| |-| |-| |-| EXP2 --|EXTERNAL |---+7805 | | 74LS06 74LS273 74LS86 74LS32 --|EXPANSION | | |------| 74LS244 --|CONNECTOR | |78L12 POT1 LM386 |-----| |-----| EXP1 --| @@ -27,7 +27,7 @@ MAIN PCB Layout | | 4.433619MHz 74LS145 POT3 LED |-----| |-----| --| |---+ --| | 74LS74 74LS244 74LS244 74LS245 |---------| - | | + | | | 74LS373 4164 4164 74F157 | | | | 16-2-103 LM339 LM324 4164 4164 74F157 EXOS.IC2 | @@ -38,8 +38,8 @@ MAIN PCB Layout |------------------------------------------------------------------| Notes: (all IC's shown) Z80A - Z80A CPU, clock input 4MHz [8/2] - EXOS.IC2 - 32k x8-bit mask ROM usually 23256 manufactured by GI (DIP24). Contains EXOS operating - system and built-in word processor software. A few official revisions were made and + EXOS.IC2 - 32k x8-bit mask ROM usually 23256 manufactured by GI (DIP24). Contains EXOS operating + system and built-in word processor software. A few official revisions were made and there were a few unofficial revision made with additional capabilities and bug-fixes ROM labelling of some official versions found.... 9256DS-0019 (C)1984 INTELLIGENT SOFTWARE LTD ENTER 08-45-A GI @@ -77,7 +77,7 @@ Notes: (all IC's shown) MOD - Astec UM1233 TV modulator RES - Reset push button switch MON1 - Monitor output connector. Pinout is.... - + Green A1 B1 NC Ground A2 B2 Ground Mono Comp. Video A3 B3 Blue @@ -85,16 +85,16 @@ Notes: (all IC's shown) VSync A5 B5 Composite Sync NC A6 B6 Mode Switch Left Audio A7 B7 Right Audio - + SR1 - Serial/Network connector. Pinout is.... - + Reference A1 B1 Ground - A2 B2 - RTS A3 B3 Data Out CTS A4 B4 Data In PR1 - Printer connector. Pinout is.... - + Ground A1 B1 Ground Strobe A2 B2 Ready Data 3 A3 B3 Data 4 @@ -104,9 +104,9 @@ Notes: (all IC's shown) Data 0 A7 B7 Data 7 CN2A - Joystick 2 connector - CN1A - Joystick 1 connector + CN1A - Joystick 1 connector Pinout is.... - + Keyboard J A1 B1 Ground Keyboard L A2 B2 Keyboard K - A3 B3 - @@ -116,7 +116,7 @@ Notes: (all IC's shown) Internal Memory Expansion PCB Layout ------------------------------------- +------------------------------------ |---------------------| | 4164 74LS00 PL3 PL2| @@ -138,15 +138,15 @@ Notes: (All IC's shown) /* - TODO: + TODO: - - POST RAM errors - - rewrite DAVE to output to discrete DAC - - rewrite NICK - - cassette - - external joysticks + - POST RAM errors + - rewrite DAVE to output to discrete DAC + - rewrite NICK + - cassette + - external joysticks - http://ep.homeserver.hu/Dokumentacio/Konyvek/ + http://ep.homeserver.hu/Dokumentacio/Konyvek/ */ @@ -191,9 +191,9 @@ READ8_MEMBER( ep64_state::rd0_r ) WRITE8_MEMBER( ep64_state::wr0_w ) { /* - + bit description - + 0 KEY A 1 KEY B 2 KEY C @@ -202,7 +202,7 @@ WRITE8_MEMBER( ep64_state::wr0_w ) 5 CASSETTE OUT 6 REMOTE 1 7 REMOTE 2 - + */ // keyboard @@ -228,9 +228,9 @@ WRITE8_MEMBER( ep64_state::wr0_w ) READ8_MEMBER( ep64_state::rd1_r ) { /* - + bit description - + 0 KBJ 1 KBK 2 KBL @@ -239,7 +239,7 @@ READ8_MEMBER( ep64_state::rd1_r ) 5 SERIAL/NET STATUS IN 6 CASSETTE IN 7 ? - + */ UINT8 data = 0; @@ -265,18 +265,18 @@ READ8_MEMBER( ep64_state::rd1_r ) WRITE8_MEMBER( ep64_state::wr2_w ) { /* - + bit description - + 0 SERIAL/NET DATA OUT 1 SERIAL/NET STATUS OUT - 2 - 3 - 4 - 5 - 6 - 7 - + 2 + 3 + 4 + 5 + 6 + 7 + */ // serial @@ -596,7 +596,7 @@ ROM_START( ep64 ) ROM_CART_LOAD( "cart", 0x00000, 0x10000, ROM_MIRROR ) ROM_END -#define rom_phc64 rom_ep64 +#define rom_phc64 rom_ep64 //------------------------------------------------- diff --git a/src/mess/drivers/gba.c b/src/mess/drivers/gba.c index 19730b8e153..17a5012f2a4 100644 --- a/src/mess/drivers/gba.c +++ b/src/mess/drivers/gba.c @@ -1920,7 +1920,7 @@ static ADDRESS_MAP_START( gba_map, AS_PROGRAM, 32, gba_state ) AM_RANGE(0x05000000, 0x050003ff) AM_RAM_WRITE(gba_pram_w) AM_SHARE("gba_pram") // Palette RAM AM_RANGE(0x06000000, 0x06017fff) AM_RAM_WRITE(gba_vram_w) AM_SHARE("gba_vram") // VRAM AM_RANGE(0x07000000, 0x070003ff) AM_RAM_WRITE(gba_oam_w) AM_SHARE("gba_oam") // OAM - //AM_RANGE(0x08000000, 0x0cffffff) // cart ROM + mirrors, mapped here at machine_start if a cart is present + //AM_RANGE(0x08000000, 0x0cffffff) // cart ROM + mirrors, mapped here at machine_start if a cart is present AM_RANGE(0x10000000, 0xffffffff) AM_READ(gba_10000000_r) // for "Justice League Chronicles" (game bug) ADDRESS_MAP_END @@ -2117,7 +2117,7 @@ void gba_state::machine_start() /* and an IRQ handling timer */ m_irq_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gba_state::handle_irq),this)); m_irq_timer->adjust(attotime::never); - + // install the cart ROM into the address map, if present m_cartslot->install_rom(); @@ -2144,7 +2144,7 @@ void gba_state::machine_start() m_maincpu->space(AS_PROGRAM).install_read_handler(0xe000000, 0xe01ffff, read32_delegate(FUNC(gba_cart_slot_device::read_ram),(gba_cart_slot_device*)m_cartslot)); m_maincpu->space(AS_PROGRAM).install_write_handler(0xe000000, 0xe01ffff, write32_delegate(FUNC(gba_cart_slot_device::write_ram),(gba_cart_slot_device*)m_cartslot)); } - + save_item(NAME(m_DISPSTAT)); save_item(NAME(m_BG2X)); save_item(NAME(m_BG2Y)); @@ -2241,9 +2241,9 @@ static SLOT_INTERFACE_START(gba_cart) SLOT_INTERFACE_INTERNAL("gba_eeprom", GBA_ROM_EEPROM) SLOT_INTERFACE_INTERNAL("gba_eeprom_4k", GBA_ROM_EEPROM) SLOT_INTERFACE_INTERNAL("gba_eeprom_64k", GBA_ROM_EEPROM64) - SLOT_INTERFACE_INTERNAL("gba_flash", GBA_ROM_FLASH) // Panasonic - SLOT_INTERFACE_INTERNAL("gba_flash_512", GBA_ROM_FLASH) // Panasonic - SLOT_INTERFACE_INTERNAL("gba_flash_1m", GBA_ROM_FLASH1M) // Sanyo + SLOT_INTERFACE_INTERNAL("gba_flash", GBA_ROM_FLASH) // Panasonic + SLOT_INTERFACE_INTERNAL("gba_flash_512", GBA_ROM_FLASH) // Panasonic + SLOT_INTERFACE_INTERNAL("gba_flash_1m", GBA_ROM_FLASH1M) // Sanyo SLOT_INTERFACE_END diff --git a/src/mess/drivers/hx20.c b/src/mess/drivers/hx20.c index 68338634fd5..7a5b15fdefc 100644 --- a/src/mess/drivers/hx20.c +++ b/src/mess/drivers/hx20.c @@ -8,19 +8,19 @@ /* - TODO: - - - m6800.c rewrite - - keyboard interrupt - - LCD controller - - serial - - SW6 read - - RS-232 - - microcassette - - printer - - ROM cartridge - - floppy TF-20 - - barcode reader + TODO: + + - m6800.c rewrite + - keyboard interrupt + - LCD controller + - serial + - SW6 read + - RS-232 + - microcassette + - printer + - ROM cartridge + - floppy TF-20 + - barcode reader */ @@ -84,18 +84,18 @@ READ8_MEMBER( hx20_state::krtn07_r ) READ8_MEMBER( hx20_state::krtn89_r ) { /* - + bit description - + 0 KRTN8 1 KRTN9 - 2 - 3 - 4 - 5 + 2 + 3 + 4 + 5 6 _PWSW 7 _BUSY - + */ UINT8 data = 0xff; @@ -120,9 +120,9 @@ READ8_MEMBER( hx20_state::krtn89_r ) WRITE8_MEMBER( hx20_state::lcd_cs_w ) { /* - + bit description - + 0 LCD CS bit 0 1 LCD CS bit 1 2 LCD CS bit 2 @@ -131,7 +131,7 @@ WRITE8_MEMBER( hx20_state::lcd_cs_w ) 5 SERIAL POUT 6 MO1 7 MO2 - + */ logerror("LCD CS %02x\n", data); @@ -153,7 +153,7 @@ WRITE8_MEMBER( hx20_state::lcd_cs_w ) case 5: m_lcdc4->cs_w(0); break; case 6: m_lcdc5->cs_w(0); break; } - + int cd = BIT(data, 3); m_lcdc0->cd_w(cd); @@ -187,18 +187,18 @@ WRITE8_MEMBER( hx20_state::lcd_data_w ) READ8_MEMBER( hx20_state::main_p1_r ) { /* - + bit description - + 0 RS-232 DSR 1 RS-232 CTS - 2 + 2 3 _INT EX 4 _PWA 5 _K.B REQUEST 6 SERIAL PIN 7 CARTRIDGE MI1 (0=ROM, 1=microcassette) - + */ UINT8 data = 0x98; @@ -224,18 +224,18 @@ READ8_MEMBER( hx20_state::main_p1_r ) WRITE8_MEMBER( hx20_state::main_p1_w ) { /* - + bit description - - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + */ } @@ -247,25 +247,25 @@ WRITE8_MEMBER( hx20_state::main_p1_w ) READ8_MEMBER( hx20_state::main_p2_r ) { /* - + bit description - + 0 bar code reader data - 1 + 1 2 SLAVE P34 3 RX - 4 - 5 - 6 - 7 - + 4 + 5 + 6 + 7 + */ - + UINT8 data = M6801_MODE_4; // serial data &= ~(!m_slave_flag << 2); - + if (m_slave_sio) data |= m_slave_rx << 3; else @@ -282,18 +282,18 @@ READ8_MEMBER( hx20_state::main_p2_r ) WRITE8_MEMBER( hx20_state::main_p2_w ) { /* - + bit description - - 0 + + 0 1 RS-232 TXD 2 serial select (0=peripheral, 1=slave 6301) - 3 + 3 4 TX - 5 - 6 - 7 - + 5 + 6 + 7 + */ // RS-232 @@ -316,18 +316,18 @@ WRITE8_MEMBER( hx20_state::main_p2_w ) READ8_MEMBER( hx20_state::slave_p1_r ) { /* - + bit description - - 0 - 1 - 2 - 3 - 4 - 5 + + 0 + 1 + 2 + 3 + 4 + 5 6 printer reset pulse 7 printer timing pulse - + */ UINT8 data = 0; @@ -343,18 +343,18 @@ READ8_MEMBER( hx20_state::slave_p1_r ) WRITE8_MEMBER( hx20_state::slave_p1_w ) { /* - + bit description - + 0 printer head 1 (1=on) 1 printer head 2 2 printer head 3 3 printer head 4 4 printer motor (0=on) 5 speaker (1=on) - 6 - 7 - + 6 + 7 + */ // speaker @@ -369,20 +369,20 @@ WRITE8_MEMBER( hx20_state::slave_p1_w ) READ8_MEMBER( hx20_state::slave_p2_r ) { /* - + bit description - + 0 RS-232 RXD / microcassette (0=read, 1=write) - 1 - 2 + 1 + 2 3 TX - 4 - 5 - 6 - 7 - + 4 + 5 + 6 + 7 + */ - + UINT8 data = M6801_MODE_7; // serial @@ -399,18 +399,18 @@ READ8_MEMBER( hx20_state::slave_p2_r ) WRITE8_MEMBER( hx20_state::slave_p2_w ) { /* - + bit description - - 0 + + 0 1 microcassette internal clock, write data 2 serial select (0=brake, 1=normal) - 3 + 3 4 RX - 5 - 6 - 7 - + 5 + 6 + 7 + */ // serial @@ -425,18 +425,18 @@ WRITE8_MEMBER( hx20_state::slave_p2_w ) READ8_MEMBER( hx20_state::slave_p3_r ) { /* - + bit description - - 0 - 1 + + 0 + 1 2 external cassette read data - 3 - 4 - 5 - 6 - 7 - + 3 + 4 + 5 + 6 + 7 + */ UINT8 data = 0; @@ -452,18 +452,18 @@ READ8_MEMBER( hx20_state::slave_p3_r ) WRITE8_MEMBER( hx20_state::slave_p3_w ) { /* - + bit description - + 0 external cassette remote (0=on) 1 RS-232 RTS - 2 + 2 3 external cassette write data 4 slave status flag 5 bar code power (1=on) 6 RS-232 power (1=on) 7 program power (1=on) - + */ // RS-232 @@ -481,20 +481,20 @@ WRITE8_MEMBER( hx20_state::slave_p3_w ) READ8_MEMBER( hx20_state::slave_p4_r ) { /* - + bit description - + 0 PLUG 2 - 1 - 2 - 3 - 4 - 5 - 6 + 1 + 2 + 3 + 4 + 5 + 6 7 RS-232 CD - + */ - + UINT8 data = 0; // RS-232 @@ -511,18 +511,18 @@ READ8_MEMBER( hx20_state::slave_p4_r ) WRITE8_MEMBER( hx20_state::slave_p4_w ) { /* - + bit description - - 0 + + 0 1 port enable always on / printer motor control (0=open, 1=brake) 2 clear shift register / microcassette power switch (1=on) 3 ROM cartridge power switch (1=on) / microcassette command 4 ROM address counter clear / clock 5 cassette/RS-232 select (0=RS-232, 1=microcassette) 6 ROM cartridge select / microcassette clock (0=counter, 1=head switch) - 7 - + 7 + */ } @@ -598,7 +598,7 @@ ADDRESS_MAP_END static INPUT_PORTS_START( hx20 ) PORT_START("KSC0") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_0) PORT_CHAR('0') PORT_CHAR('_') - PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_CHAR('1') PORT_CHAR('!') + PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_CHAR('1') PORT_CHAR('!') PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('\"') PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#') PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('$') @@ -871,7 +871,7 @@ static MACHINE_CONFIG_START( hx20, hx20_state ) MCFG_RS232_PORT_ADD(RS232_TAG, rs232_intf, default_rs232_devices, NULL) MCFG_CASSETTE_ADD(CASSETTE_TAG, default_cassette_interface) MCFG_EPSON_SIO_ADD("sio", "tf20") - + // internal ram MCFG_RAM_ADD(RAM_TAG) MCFG_RAM_DEFAULT_SIZE("16K") diff --git a/src/mess/drivers/intv.c b/src/mess/drivers/intv.c index 0919ea1a2c7..87118cfed93 100644 --- a/src/mess/drivers/intv.c +++ b/src/mess/drivers/intv.c @@ -94,8 +94,8 @@ void intv_state::palette_init() for (int i = 0; i < 16; i++) { - r = intv_colors[i * 3 + 0]; - g = intv_colors[i * 3 + 1]; + r = intv_colors[i * 3 + 0]; + g = intv_colors[i * 3 + 1]; b = intv_colors[i * 3 + 2]; colortable_palette_set_color(machine().colortable, i, MAKE_RGB(r, g, b)); colortable_palette_set_color(machine().colortable, i + 16, MAKE_RGB(r, g, b)); diff --git a/src/mess/drivers/juicebox.c b/src/mess/drivers/juicebox.c index a6c476d8f29..135f0117f82 100644 --- a/src/mess/drivers/juicebox.c +++ b/src/mess/drivers/juicebox.c @@ -258,7 +258,7 @@ void juicebox_state::machine_start() address_space &space = m_maincpu->space(AS_PROGRAM); smc_init(); - + space.install_readwrite_handler(0x01c00000, 0x01c0000b, 0, 0, read32_delegate(FUNC(s3c44b0_device::cpuwrap_r), &(*m_s3c44b0)), write32_delegate(FUNC(s3c44b0_device::cpuwrap_w), &(*m_s3c44b0))); space.install_readwrite_handler(0x01d00000, 0x01d0002b, 0, 0, read32_delegate(FUNC(s3c44b0_device::uart_0_r), &(*m_s3c44b0)), write32_delegate(FUNC(s3c44b0_device::uart_0_w), &(*m_s3c44b0))); space.install_readwrite_handler(0x01d04000, 0x01d0402b, 0, 0, read32_delegate(FUNC(s3c44b0_device::uart_1_r), &(*m_s3c44b0)), write32_delegate(FUNC(s3c44b0_device::uart_1_w), &(*m_s3c44b0))); diff --git a/src/mess/drivers/pasogo.c b/src/mess/drivers/pasogo.c index 4e550ad0940..f11471603e2 100644 --- a/src/mess/drivers/pasogo.c +++ b/src/mess/drivers/pasogo.c @@ -30,13 +30,13 @@ PT-GMAIN01D |----------------------------| Notes: (all ICs shown) - VG230 - Vadem VG230 single-chip PC platform. Contains 16 MHz NEC uPD70116H V30HL CPU - (which is a high-speed low-power 8086 variation), IBM PC/XT-compatible core + VG230 - Vadem VG230 single-chip PC platform. Contains 16 MHz NEC uPD70116H V30HL CPU + (which is a high-speed low-power 8086 variation), IBM PC/XT-compatible core logic, LCD controller (CGA/AT&T640x400), keyboard matrix scanner, dual PCMCIA 2.1 card controller, EMS 4.0 hardware support for up to 64MB, built-in timer PIC/DMA/UART/RTC controllers. The clock input is 32.2200MHz. An internal divider creates a 16.11MHz clock for the V30HL CPU. - HM514800 - Hitachi HM514800 512k x8-bit DRAM + HM514800 - Hitachi HM514800 512k x8-bit DRAM MC14071 - Motorola MC14071 Quad 2-input OR gate 74HC04 - 74HC04 Hex inverter LM2937 - Texas Instruments LM2937ES-5 voltage regulator (Max 26V input, 5V output at 500mA) @@ -45,27 +45,27 @@ Notes: (all ICs shown) VOL - Volume pot CN5 - 5 pin connector for 4-way control pad (up/down/left/right/ground) CN4 - 5 pin connector for on/off switch and 2 buttons - CN3 - 2 pin power input from 6x AA-battery compartment (input voltage is 9V DC) - CN2 - Flat cable connector for video out to LCD panel. When the LCD is powered on the pixels - are blue. The LCD panel PCB has part number 97-44264-8 LMG6912RPFC LMG6910RPGR + CN3 - 2 pin power input from 6x AA-battery compartment (input voltage is 9V DC) + CN2 - Flat cable connector for video out to LCD panel. When the LCD is powered on the pixels + are blue. The LCD panel PCB has part number 97-44264-8 LMG6912RPFC LMG6910RPGR and contains the following parts..... Matsushita 53008HEB-8 Sanyo LA6324N quad operational amplifier Hitachi BD66285BFC LCD controller IC (x3) Hitachi BD66284BFC LCD controller IC (x4) - The LCD flat cable has several wires but 2 of them have frequencies which measure + The LCD flat cable has several wires but 2 of them have frequencies which measure 69.9161Hz and 16.7798kHz. These are assumed to be VSync and HSync CN1 - Cart slot X1 - Marked 322. Measures 32.21732MHz so this is a common 32.22MHz OSC. X2 - No markings. Measures 32.768kHz and used for the RTC * - These parts are on the other side of the PCB - + Carts ----- -All of the carts are identical. Most have only one surface mounted mask ROM. Either a -MX23C8100 (8M) or YRM0442 (4M). Some are populated with additional parts including a 62256 -32kx8 SRAM, a 3v coin battery and a MM1081N reset chip plus a few resistors/capacitors and +All of the carts are identical. Most have only one surface mounted mask ROM. Either a +MX23C8100 (8M) or YRM0442 (4M). Some are populated with additional parts including a 62256 +32kx8 SRAM, a 3v coin battery and a MM1081N reset chip plus a few resistors/capacitors and a transistor. All parts are surface mounted. PT-GMEM01B @@ -214,15 +214,15 @@ protected: UINT8 m_pc_spkrdata; UINT8 m_pc_input; - int m_ppi_portc_switch_high; - int m_ppi_speaker; - int m_ppi_keyboard_clear; - UINT8 m_ppi_keyb_clock; - UINT8 m_ppi_portb; - UINT8 m_ppi_clock_signal; - UINT8 m_ppi_data_signal; - UINT8 m_ppi_shift_register; - UINT8 m_ppi_shift_enable; + int m_ppi_portc_switch_high; + int m_ppi_speaker; + int m_ppi_keyboard_clear; + UINT8 m_ppi_keyb_clock; + UINT8 m_ppi_portb; + UINT8 m_ppi_clock_signal; + UINT8 m_ppi_data_signal; + UINT8 m_ppi_shift_register; + UINT8 m_ppi_shift_enable; }; diff --git a/src/mess/drivers/pc.c b/src/mess/drivers/pc.c index ba3532cf510..7f96cfcb87a 100644 --- a/src/mess/drivers/pc.c +++ b/src/mess/drivers/pc.c @@ -1567,7 +1567,7 @@ static MACHINE_CONFIG_DERIVED( asst128, iskr1031 ) MCFG_DEVICE_REMOVE("pit8253") MCFG_PIT8253_ADD( "pit8253", pcjr_pit8253_config ) - + MCFG_FLOPPY_DRIVE_ADD("fdc:0", asst128_floppies, "525ssqd", pc_state::asst128_formats) MCFG_FLOPPY_DRIVE_ADD("fdc:1", asst128_floppies, "525ssqd", pc_state::asst128_formats) @@ -2038,8 +2038,8 @@ ROM_END ROM_START( t1000sl ) ROM_REGION(0x100000,"maincpu", 0) - // 8076312.hu1 - most likely v01.04.00 - // 8075312.hu2 + // 8076312.hu1 - most likely v01.04.00 + // 8075312.hu2 // partlist says it has 1 128kbyte rom diff --git a/src/mess/drivers/pc1512.c b/src/mess/drivers/pc1512.c index 36e13d469af..b4151837a40 100644 --- a/src/mess/drivers/pc1512.c +++ b/src/mess/drivers/pc1512.c @@ -473,7 +473,7 @@ READ8_MEMBER( pc1640_state::io_r ) offs_t addr = offset & 0x3ff; bool decoded = false; - if ( addr <= 0x00f) { data = m_dmac->read(space, offset & 0x0f); decoded = true; } + if ( addr <= 0x00f) { data = m_dmac->read(space, offset & 0x0f); decoded = true; } else if (addr >= 0x020 && addr <= 0x021) { data = m_pic->read(space, offset & 0x01); decoded = true; } else if (addr >= 0x040 && addr <= 0x043) { data = m_pit->read(space, offset & 0x03); decoded = true; } else if (addr >= 0x060 && addr <= 0x06f) { data = system_r(space, offset & 0x0f); decoded = true; } diff --git a/src/mess/drivers/pes.c b/src/mess/drivers/pes.c index ef48ff92ef3..2380b612fdd 100644 --- a/src/mess/drivers/pes.c +++ b/src/mess/drivers/pes.c @@ -223,7 +223,7 @@ void pes_state::machine_reset() ******************************************************************************/ /*static TIMER_CALLBACK_MEMBER(pes_state::serial_read_cb ) { - timer_set(attotime::from_hz(10000), TIMER_OUTFIFO_READ); + timer_set(attotime::from_hz(10000), TIMER_OUTFIFO_READ); }*/ DRIVER_INIT_MEMBER(pes_state,pes) diff --git a/src/mess/drivers/pet.c b/src/mess/drivers/pet.c index 81d2d840d30..086399f6f87 100644 --- a/src/mess/drivers/pet.c +++ b/src/mess/drivers/pet.c @@ -668,7 +668,7 @@ INPUT_PORTS_START( petb ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7_PAD) PORT_CHAR(UCHAR_MAMEKEY(7_PAD)) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_0_PAD) PORT_CHAR(UCHAR_MAMEKEY(0_PAD)) - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('\'') + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('\'') PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('$') PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_1) PORT_CHAR('1') PORT_CHAR('!') diff --git a/src/mess/drivers/pv1000.c b/src/mess/drivers/pv1000.c index 0ec3e1bbc9b..d24046625c8 100644 --- a/src/mess/drivers/pv1000.c +++ b/src/mess/drivers/pv1000.c @@ -35,7 +35,7 @@ private: UINT16 period; UINT8 val; } m_voice[4]; - + sound_stream *m_sh_channel; }; @@ -95,38 +95,38 @@ WRITE8_MEMBER(pv1000_sound_device::voice_w) /* plgDavid's audio implementation/analysis notes: - + Sound appears to be 3 50/50 pulse voices made by cutting the main clock by 1024, then by the value of the 6bit period registers. This creates a surprisingly accurate pitch range. - + Note: the register periods are inverted. */ void pv1000_sound_device::sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) { stream_sample_t *buffer = outputs[0]; - + while (samples > 0) { *buffer=0; - + for (int i = 0; i < 3; i++) { UINT32 per = (0x3f - (m_voice[i].period & 0x3f)); - - if (per != 0) //OFF! + + if (per != 0) //OFF! *buffer += m_voice[i].val * 8192; - + m_voice[i].count++; - + if (m_voice[i].count >= per) { m_voice[i].count = 0; m_voice[i].val = !m_voice[i].val; } } - + buffer++; samples--; } @@ -412,7 +412,7 @@ void pv1000_state::machine_start() m_gfxram = memregion("gfxram")->base(); save_pointer(NAME(m_gfxram), 0x400); - + save_item(NAME(m_io_regs)); save_item(NAME(m_fd_data)); save_item(NAME(m_pcg_bank)); diff --git a/src/mess/drivers/ql.c b/src/mess/drivers/ql.c index 73c52d09a30..f0596d9d6c3 100644 --- a/src/mess/drivers/ql.c +++ b/src/mess/drivers/ql.c @@ -144,12 +144,12 @@ READ8_MEMBER( ql_state::ipc_port2_r ) bit description 0 Serial data input (SER2 RxD, SER1 TxD) - 1 - 2 - 3 - 4 - 5 - 6 + 1 + 2 + 3 + 4 + 5 + 6 7 ZX8302 serial link input/output (COMDATA) */ @@ -176,13 +176,13 @@ WRITE8_MEMBER( ql_state::ipc_port2_w ) bit description - 0 + 0 1 Speaker output 2 Interrupt output (IPL0-2) 3 Interrupt output (IPL1) 4 Serial Clear-to-Send output (SER1 CTS) 5 Serial Data Terminal Ready output (SER2 DTR) - 6 + 6 7 ZX8302 serial link input/output (COMDATA) */ @@ -1074,10 +1074,10 @@ MACHINE_CONFIG_END //------------------------------------------------- static MACHINE_CONFIG_DERIVED( opd, ql ) - // internal ram - MCFG_RAM_MODIFY(RAM_TAG) - MCFG_RAM_DEFAULT_SIZE("128K") - MCFG_RAM_EXTRA_OPTIONS("256K") + // internal ram + MCFG_RAM_MODIFY(RAM_TAG) + MCFG_RAM_DEFAULT_SIZE("128K") + MCFG_RAM_EXTRA_OPTIONS("256K") MACHINE_CONFIG_END diff --git a/src/mess/drivers/qx10.c b/src/mess/drivers/qx10.c index 859310193df..b8172882f9e 100644 --- a/src/mess/drivers/qx10.c +++ b/src/mess/drivers/qx10.c @@ -45,7 +45,7 @@ #define MAIN_CLK 15974400 -#define RS232_TAG "rs232" +#define RS232_TAG "rs232" /* Driver data @@ -696,14 +696,14 @@ ADDRESS_MAP_END /* TODO: shift break */ /*INPUT_CHANGED_MEMBER(qx10_state::key_stroke) { - if(newval && !oldval) - { - m_keyb.rx = (UINT8)(FPTR)(param) & 0x7f; - m_pic_m->ir4_w(1); - } + if(newval && !oldval) + { + m_keyb.rx = (UINT8)(FPTR)(param) & 0x7f; + m_pic_m->ir4_w(1); + } - if(oldval && !newval) - m_keyb.rx = 0; + if(oldval && !newval) + m_keyb.rx = 0; }*/ static INPUT_PORTS_START( qx10 ) diff --git a/src/mess/drivers/samcoupe.c b/src/mess/drivers/samcoupe.c index fc7c5c9ad7e..4d0e3e99542 100644 --- a/src/mess/drivers/samcoupe.c +++ b/src/mess/drivers/samcoupe.c @@ -55,7 +55,7 @@ /*************************************************************************** - TIMERS + TIMERS ***************************************************************************/ void samcoupe_state::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) diff --git a/src/mess/drivers/scv.c b/src/mess/drivers/scv.c index 94ef5505262..78b4408b8cb 100644 --- a/src/mess/drivers/scv.c +++ b/src/mess/drivers/scv.c @@ -71,7 +71,7 @@ protected: ioport_port *m_key[8]; virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr); - + void scv_set_banks(); inline void plot_sprite_part( bitmap_ind16 &bitmap, UINT8 x, UINT8 y, UINT8 pat, UINT8 col, UINT8 screen_sprite_start_line ); inline void draw_sprite( bitmap_ind16 &bitmap, UINT8 x, UINT8 y, UINT8 tile_idx, UINT8 col, UINT8 left, UINT8 right, UINT8 top, UINT8 bottom, UINT8 clip_y, UINT8 screen_sprite_start_line ); @@ -421,7 +421,7 @@ void scv_state::device_timer(emu_timer &timer, device_timer_id id, int param, vo case TIMER_VB: { int vpos = machine().primary_screen->vpos(); - + switch( vpos ) { case 240: @@ -784,7 +784,7 @@ void scv_state::machine_start() save_item(NAME(m_porta)); save_item(NAME(m_portc)); save_item(NAME(m_cart_ram_enabled)); - + machine().save().register_postload(save_prepost_delegate(FUNC(scv_state::scv_postload), this)); } diff --git a/src/mess/drivers/sdk86.c b/src/mess/drivers/sdk86.c index 86e9ce5825c..3a907357b85 100644 --- a/src/mess/drivers/sdk86.c +++ b/src/mess/drivers/sdk86.c @@ -31,8 +31,8 @@ ToDo: #include "machine/serial.h" #include "sdk86.lh" -#define I8251_TAG "i8251" -#define RS232_TAG "rs232" +#define I8251_TAG "i8251" +#define RS232_TAG "rs232" class sdk86_state : public driver_device @@ -40,8 +40,8 @@ class sdk86_state : public driver_device public: sdk86_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , - m_maincpu(*this, "maincpu"), - m_usart(*this, I8251_TAG) + m_maincpu(*this, "maincpu"), + m_usart(*this, I8251_TAG) { } required_device<cpu_device> m_maincpu; diff --git a/src/mess/drivers/sg1000.c b/src/mess/drivers/sg1000.c index 853e4810511..c0b24fc1603 100644 --- a/src/mess/drivers/sg1000.c +++ b/src/mess/drivers/sg1000.c @@ -741,7 +741,7 @@ void sc3000_state::machine_start() /* register for state saving */ save_item(NAME(m_keylatch)); - if (m_cartslot && (m_cartslot->get_type() == SEGA8_BASIC_L3 || m_cartslot->get_type() == SEGA8_MUSIC_EDITOR + if (m_cartslot && (m_cartslot->get_type() == SEGA8_BASIC_L3 || m_cartslot->get_type() == SEGA8_MUSIC_EDITOR || m_cartslot->get_type() == SEGA8_DAHJEE_TYPEA || m_cartslot->get_type() == SEGA8_DAHJEE_TYPEB)) { m_maincpu->space(AS_PROGRAM).install_read_handler(0xc000, 0xffff, 0, 0, read8_delegate(FUNC(sega8_cart_slot_device::read_ram),(sega8_cart_slot_device*)m_cartslot)); diff --git a/src/mess/drivers/snes.c b/src/mess/drivers/snes.c index 29d0fce0ad9..86ca9c2c09e 100644 --- a/src/mess/drivers/snes.c +++ b/src/mess/drivers/snes.c @@ -531,7 +531,7 @@ WRITE8_MEMBER( snes_console_state::snessfx_lo_w ) READ8_MEMBER( snes_console_state::snessa1_hi_r ) { UINT16 address = offset & 0xffff; - + if (offset < 0x400000) { if (address < 0x2000) @@ -539,14 +539,14 @@ READ8_MEMBER( snes_console_state::snessa1_hi_r ) else if (address < 0x6000) { if (address >= 0x2200 && address < 0x2400) - return m_cartslot->chip_read(space, offset); // SA-1 Regs + return m_cartslot->chip_read(space, offset); // SA-1 Regs else if (address >= 0x3000 && address < 0x3800) - return m_cartslot->chip_read(space, offset); // Internal SA-1 RAM (2K) + return m_cartslot->chip_read(space, offset); // Internal SA-1 RAM (2K) else return snes_r_io(space, address); } else if (address < 0x8000) - return m_cartslot->chip_read(space, offset); // SA-1 BWRAM + return m_cartslot->chip_read(space, offset); // SA-1 BWRAM else return m_cartslot->read_h(space, offset); } @@ -557,7 +557,7 @@ READ8_MEMBER( snes_console_state::snessa1_hi_r ) READ8_MEMBER( snes_console_state::snessa1_lo_r ) { UINT16 address = offset & 0xffff; - + if (offset < 0x400000) { if (address < 0x2000) @@ -565,21 +565,21 @@ READ8_MEMBER( snes_console_state::snessa1_lo_r ) else if (address < 0x6000) { if (address >= 0x2200 && address < 0x2400) - return m_cartslot->chip_read(space, offset); // SA-1 Regs + return m_cartslot->chip_read(space, offset); // SA-1 Regs else if (address >= 0x3000 && address < 0x3800) - return m_cartslot->chip_read(space, offset); // Internal SA-1 RAM (2K) + return m_cartslot->chip_read(space, offset); // Internal SA-1 RAM (2K) else return snes_r_io(space, address); } else if (address < 0x8000) - return m_cartslot->chip_read(space, offset); // SA-1 BWRAM + return m_cartslot->chip_read(space, offset); // SA-1 BWRAM else return m_cartslot->read_l(space, offset); } else if (offset < 0x500000) - return m_cartslot->chip_read(space, offset); // SA-1 BWRAM (not mirrored above!) + return m_cartslot->chip_read(space, offset); // SA-1 BWRAM (not mirrored above!) else - return snes_r_io(space, address); // nothing mapped here! + return snes_r_io(space, address); // nothing mapped here! } WRITE8_MEMBER( snes_console_state::snessa1_hi_w ) @@ -592,21 +592,21 @@ WRITE8_MEMBER( snes_console_state::snessa1_hi_w ) else if (address < 0x6000) { if (address >= 0x2200 && address < 0x2400) - m_cartslot->chip_write(space, offset, data); // SA-1 Regs + m_cartslot->chip_write(space, offset, data); // SA-1 Regs else if (address >= 0x3000 && address < 0x3800) - m_cartslot->chip_write(space, offset, data); // Internal SA-1 RAM (2K) + m_cartslot->chip_write(space, offset, data); // Internal SA-1 RAM (2K) else snes_w_io(space, address, data); } else if (address < 0x8000) - m_cartslot->chip_write(space, offset, data); // SA-1 BWRAM + m_cartslot->chip_write(space, offset, data); // SA-1 BWRAM } } WRITE8_MEMBER( snes_console_state::snessa1_lo_w ) { if (offset >= 0x400000 && offset < 0x500000) - m_cartslot->chip_write(space, offset, data); // SA-1 BWRAM (not mirrored above!) + m_cartslot->chip_write(space, offset, data); // SA-1 BWRAM (not mirrored above!) else snessfx_hi_w(space, offset, data, 0xff); } @@ -886,7 +886,7 @@ WRITE8_MEMBER( snes_console_state::snesbsx_lo_w ) READ8_MEMBER( snes_console_state::snessgb_hi_r ) { UINT16 address = offset & 0xffff; - + if (offset < 0x400000) { if (address < 0x2000) diff --git a/src/mess/drivers/softbox.c b/src/mess/drivers/softbox.c index 994d803a62a..b8d232db107 100644 --- a/src/mess/drivers/softbox.c +++ b/src/mess/drivers/softbox.c @@ -5,81 +5,81 @@ http://mikenaberezny.com/hardware/pet-cbm/sse-softbox-z80-computer/ - Using the Corvus hard disk - -------------------------- + Using the Corvus hard disk + -------------------------- - The SoftBox distribution disk (softbox-distrib.d80) is configured for - a CBM 8050 as CP/M drives A/B and a 10MB Corvus hard disk as drives C/D. + The SoftBox distribution disk (softbox-distrib.d80) is configured for + a CBM 8050 as CP/M drives A/B and a 10MB Corvus hard disk as drives C/D. - Use the CHDMAN utility to create a 10MB hard disk image for the Corvus: + Use the CHDMAN utility to create a 10MB hard disk image for the Corvus: - $ chdman createhd -o /path/to/corvus10mb.chd -chs 358,3,20 -ss 512 + $ chdman createhd -o /path/to/corvus10mb.chd -chs 358,3,20 -ss 512 - Start the SoftBox emulator with the floppy and hard disk images mounted: + Start the SoftBox emulator with the floppy and hard disk images mounted: - $ mess softbox -flop1 /path/to/softbox-distrib.d80 \ - -hard1 /path/to/corvus10mb.chd + $ mess softbox -flop1 /path/to/softbox-distrib.d80 \ + -hard1 /path/to/corvus10mb.chd - Before the Corvus can be used under CP/M, it must be prepared - by running DIAG.COM and FORMAT.COM. + Before the Corvus can be used under CP/M, it must be prepared + by running DIAG.COM and FORMAT.COM. - DIAG.COM + DIAG.COM - Enter "diag" (no arguments) at the CP/M prompt to run the Corvus diagnostics - program. This program will perform the Corvus low-level format. + Enter "diag" (no arguments) at the CP/M prompt to run the Corvus diagnostics + program. This program will perform the Corvus low-level format. - Select option 6 (Update Controller Code) at the menu. - Enter "corvb184.fmt" when prompted for the filename. - Enter "y" at the confirmation prompts. - Enter "1" for the Corvus drive number (two prompts). - After formatting is complete, it will return to the menu. + Select option 6 (Update Controller Code) at the menu. + Enter "corvb184.fmt" when prompted for the filename. + Enter "y" at the confirmation prompts. + Enter "1" for the Corvus drive number (two prompts). + After formatting is complete, it will return to the menu. - Select option 3 (Read Controller Code Version #) at the menu. - Enter "1" for the Corvus drive number. - It should report "V18.4AP" and then return to the menu. + Select option 3 (Read Controller Code Version #) at the menu. + Enter "1" for the Corvus drive number. + It should report "V18.4AP" and then return to the menu. - Select option 9 to return to CP/M. + Select option 9 to return to CP/M. - FORMAT.COM + FORMAT.COM - Enter "format" (no arguments) at the CP/M prompt to run the SoftBox disk - format program. This program will perform the CP/M filesystem format. + Enter "format" (no arguments) at the CP/M prompt to run the SoftBox disk + format program. This program will perform the CP/M filesystem format. - Enter drive letter "c" at the prompt. - Enter "y" to confirm the format. - After formatting is complete, it will prompt for a drive letter again. + Enter drive letter "c" at the prompt. + Enter "y" to confirm the format. + After formatting is complete, it will prompt for a drive letter again. - Enter drive letter "d" at the prompt. - Enter "y" to confirm the format. - After formatting is complete, it will prompt for a drive letter again. + Enter drive letter "d" at the prompt. + Enter "y" to confirm the format. + After formatting is complete, it will prompt for a drive letter again. - Press RETURN to return to CP/M. + Press RETURN to return to CP/M. - STAT.COM + STAT.COM - After all steps are completed, drives C and D should be usable from - CP/M. Each drive is one half of the Corvus 10MB disk. Running the - command "stat c: dsk:" should show 4712 kilobyte drive capacity. - Drive D should show the same information. + After all steps are completed, drives C and D should be usable from + CP/M. Each drive is one half of the Corvus 10MB disk. Running the + command "stat c: dsk:" should show 4712 kilobyte drive capacity. + Drive D should show the same information. - Using other Corvus hard disk sizes - ---------------------------------- + Using other Corvus hard disk sizes + ---------------------------------- - The SoftBox supports 5, 10, and 20 MB hard disks. The distribution disk - is configured for 10 MB as explained above. To use other sizes, make - a new image with CHDMAN. See the top of src/mess/includes/corvushd.h - for the parameters for the other drives. + The SoftBox supports 5, 10, and 20 MB hard disks. The distribution disk + is configured for 10 MB as explained above. To use other sizes, make + a new image with CHDMAN. See the top of src/mess/includes/corvushd.h + for the parameters for the other drives. - After the image has been created and the SoftBox emulator started with - it mounted, the SoftBox BIOS needs to be told what size Corvus hard - disk is attached. Use the NEWSYS.COM utility to reconfigure the drive - size. When NEWSYS prompts for a source drive, enter "a" (the drive letter - of the CP/M distribution disk). Use option "d" (Disk drive assignment) - to reconfigure the Corvus size. After the change has been made, use option - "s" (Save new system) to write the configuration to the floppy (drive A) and - option "e" (Execute new system) to restart CP/M with the configuration. - DIAG.COM and FORMAT.COM can then be used to format the hard disk. + After the image has been created and the SoftBox emulator started with + it mounted, the SoftBox BIOS needs to be told what size Corvus hard + disk is attached. Use the NEWSYS.COM utility to reconfigure the drive + size. When NEWSYS prompts for a source drive, enter "a" (the drive letter + of the CP/M distribution disk). Use option "d" (Disk drive assignment) + to reconfigure the Corvus size. After the change has been made, use option + "s" (Save new system) to write the configuration to the floppy (drive A) and + option "e" (Execute new system) to restart CP/M with the configuration. + DIAG.COM and FORMAT.COM can then be used to format the hard disk. */ diff --git a/src/mess/drivers/superslave.c b/src/mess/drivers/superslave.c index dd2292d2b3f..f7d971cc1d4 100644 --- a/src/mess/drivers/superslave.c +++ b/src/mess/drivers/superslave.c @@ -104,18 +104,18 @@ WRITE8_MEMBER( superslave_state::baud_w ) WRITE8_MEMBER( superslave_state::memctrl_w ) { /* - + bit description - + 0 Memory bank 0 on 1 Memory bank 1 on - 2 - 3 + 2 + 3 4 Unswitched memory boundary bit 0 5 Unswitched memory boundary bit 1 6 Unswitched memory boundary bit 2 7 Unswitched memory boundary bit 3 - + */ m_memctrl = data; @@ -129,9 +129,9 @@ WRITE8_MEMBER( superslave_state::memctrl_w ) READ8_MEMBER( superslave_state::status_r) { /* - + bit description - + 0 Sense Switch (0=closed) 1 Parity error (1=error) 2 Syncerr (1=error) @@ -140,7 +140,7 @@ READ8_MEMBER( superslave_state::status_r) 5 Data Set Ready 2 6 Data Set Ready 1 7 Data Set Ready 0 - + */ UINT8 data = 1; @@ -162,9 +162,9 @@ READ8_MEMBER( superslave_state::status_r) WRITE8_MEMBER( superslave_state::cmd_w ) { /* - + bit description - + 0 Prom enable (1=enabled) 1 Clear Parity (1=cleared) 2 Clear Syncerr (1=cleared) @@ -173,7 +173,7 @@ WRITE8_MEMBER( superslave_state::cmd_w ) 5 Command bit 5 6 Command bit 6 7 Command bit 7 - + */ m_cmd = data; diff --git a/src/mess/drivers/tec1.c b/src/mess/drivers/tec1.c index 48f75571149..22a5b66a740 100644 --- a/src/mess/drivers/tec1.c +++ b/src/mess/drivers/tec1.c @@ -258,7 +258,7 @@ TIMER_CALLBACK_MEMBER(tec1_state::tec1_kbd_callback) else if (m_kbd_row == 3) i = m_io_line3->read(); - + /* if previous key is still held, bail out */ if (i) if (tec1_convert_col_to_bin(i, m_kbd_row) == m_kbd) diff --git a/src/mess/drivers/victor9k.c b/src/mess/drivers/victor9k.c index 49789f65e80..149f9dfbcd9 100644 --- a/src/mess/drivers/victor9k.c +++ b/src/mess/drivers/victor9k.c @@ -9,31 +9,31 @@ /* - Sector format - ------------- - - Header sync - Sector header (header ID, track ID, sector ID, and checksum) - Gap 1 - Data Sync - Data field (data sync, data ID, data bytes, and checksum) - Gap 2 - - Track format - ------------ - - ZONE LOWER HEAD UPPER HEAD SECTORS ROTATIONAL - NUMBER TRACKS TRACKS PER TRACK PERIOD (MS) - - 0 0-3 unused 19 237.9 - 1 4-15 0-7 18 224.5 - 2 16-26 8-18 17 212.2 - 3 27-37 19-29 16 199.9 - 4 38-48 30-40 15 187.6 - 5 49-59 41-51 14 175.3 - 6 60-70 52-62 13 163.0 - 7 71-79 63-74 12 149.6 - 8 unused 75-79 11 144.0 + Sector format + ------------- + + Header sync + Sector header (header ID, track ID, sector ID, and checksum) + Gap 1 + Data Sync + Data field (data sync, data ID, data bytes, and checksum) + Gap 2 + + Track format + ------------ + + ZONE LOWER HEAD UPPER HEAD SECTORS ROTATIONAL + NUMBER TRACKS TRACKS PER TRACK PERIOD (MS) + + 0 0-3 unused 19 237.9 + 1 4-15 0-7 18 224.5 + 2 16-26 8-18 17 212.2 + 3 27-37 19-29 16 199.9 + 4 38-48 30-40 15 187.6 + 5 49-59 41-51 14 175.3 + 6 60-70 52-62 13 163.0 + 7 71-79 63-74 12 149.6 + 8 unused 75-79 11 144.0 */ @@ -67,9 +67,9 @@ READ8_MEMBER( victor9k_state::floppy_p1_r ) { /* - + bit description - + 0 L0MS0 1 L0MS1 2 L0MS2 @@ -78,7 +78,7 @@ READ8_MEMBER( victor9k_state::floppy_p1_r ) 5 L1MS1 6 L1MS2 7 L1MS3 - + */ return m_lms; @@ -92,18 +92,18 @@ READ8_MEMBER( victor9k_state::floppy_p1_r ) READ8_MEMBER( victor9k_state::floppy_p2_r ) { /* - + bit description - - 0 - 1 - 2 - 3 - 4 - 5 + + 0 + 1 + 2 + 3 + 4 + 5 6 RDY0 7 RDY1 - + */ UINT8 data = 0; @@ -122,18 +122,18 @@ READ8_MEMBER( victor9k_state::floppy_p2_r ) WRITE8_MEMBER( victor9k_state::floppy_p2_w ) { /* - + bit description - + 0 START0 1 STOP0 2 START1 3 STOP1 4 SEL1 5 SEL0 - 6 - 7 - + 6 + 7 + */ if (BIT(data, 0)) m_floppy0->mon_w(0); @@ -142,7 +142,7 @@ WRITE8_MEMBER( victor9k_state::floppy_p2_w ) if (BIT(data, 3)) m_floppy1->mon_w(1); int sel0 = BIT(data, 5); - + if (m_sel0 && !sel0) { m_da0 = m_da; @@ -152,7 +152,7 @@ WRITE8_MEMBER( victor9k_state::floppy_p2_w ) m_sel0 = sel0; int sel1 = BIT(data, 4); - + if (m_sel1 && !sel1) { m_da1 = m_da; @@ -1034,7 +1034,7 @@ READ8_MEMBER( victor9k_state::via6_pb_r ) // single/double sided data |= (m_drive ? m_floppy1->twosid_r() : m_floppy0->twosid_r()) << 5; - + return data; } @@ -1148,7 +1148,7 @@ void victor9k_state::unload0_cb(floppy_image_device *device) void victor9k_state::ready1_cb(floppy_image_device *device, int state) { m_rdy1 = state; - + m_via5->write_cb2(m_rdy1); } diff --git a/src/mess/drivers/vip.c b/src/mess/drivers/vip.c index 8ea259ed382..dc521af8bdd 100644 --- a/src/mess/drivers/vip.c +++ b/src/mess/drivers/vip.c @@ -762,7 +762,7 @@ static MACHINE_CONFIG_START( vip, vip_state ) MCFG_VIP_BYTEIO_PORT_ADD(VIP_BYTEIO_PORT_TAG, vip_byteio_cards, NULL, WRITELINE(vip_state, byteio_inst_w)) MCFG_VIP_EXPANSION_SLOT_ADD(VIP_EXPANSION_SLOT_TAG, XTAL_3_52128MHz/2, vip_expansion_cards, NULL) - MCFG_VIP_EXPANSION_SLOT_CALLBACKS(WRITELINE(vip_state, exp_int_w), WRITELINE(vip_state, exp_dma_out_w), WRITELINE(vip_state, exp_dma_in_w)) + MCFG_VIP_EXPANSION_SLOT_CALLBACKS(WRITELINE(vip_state, exp_int_w), WRITELINE(vip_state, exp_dma_out_w), WRITELINE(vip_state, exp_dma_in_w)) // devices MCFG_QUICKLOAD_ADD("quickload", vip_state, vip, "bin,c8,c8x", 0) diff --git a/src/mess/drivers/vk100.c b/src/mess/drivers/vk100.c index d35e30c88f7..f3323842ceb 100644 --- a/src/mess/drivers/vk100.c +++ b/src/mess/drivers/vk100.c @@ -153,8 +153,8 @@ state machine and sees if the GO bit ever finishes and goes back to 0 #include "machine/serial.h" #include "vk100.lh" -#define RS232_TAG "rs232" -#define COM5016T_TAG "com5016t" +#define RS232_TAG "rs232" +#define COM5016T_TAG "com5016t" class vk100_state : public driver_device { diff --git a/src/mess/drivers/vt100.c b/src/mess/drivers/vt100.c index 8b96385eaaf..fb13abaec9d 100644 --- a/src/mess/drivers/vt100.c +++ b/src/mess/drivers/vt100.c @@ -27,8 +27,8 @@ #include "video/vtvideo.h" #include "vt100.lh" -#define RS232_TAG "rs232" -#define COM5016T_TAG "com5016t" +#define RS232_TAG "rs232" +#define COM5016T_TAG "com5016t" class vt100_state : public driver_device { |
