diff options
| author | 2012-09-17 06:49:13 +0000 | |
|---|---|---|
| committer | 2012-09-17 06:49:13 +0000 | |
| commit | e25c13f2532730ebf50d0cffa0147393fd8e0228 (patch) | |
| tree | a6c25d1de7041f26afed559dbc6670fa550e6b41 /src/mess/drivers | |
| parent | f97e8f00818bd8d898facc206ed33ab72cf10a75 (diff) | |
Clean-ups and version bumpmame0147
note: hoarded dump removed too from coco_cart.xml, this will not be tolerated
Diffstat (limited to 'src/mess/drivers')
41 files changed, 168 insertions, 168 deletions
diff --git a/src/mess/drivers/a2600.c b/src/mess/drivers/a2600.c index 17352fd7388..eb611cfda71 100644 --- a/src/mess/drivers/a2600.c +++ b/src/mess/drivers/a2600.c @@ -25,7 +25,7 @@ struct df_t { UINT8 osc_clk; /* Only used by data fetchers 5,6, and 7 */ }; -struct dpc_t +struct dpc_t { df_t df[8]; UINT8 movamt; diff --git a/src/mess/drivers/aim65.c b/src/mess/drivers/aim65.c index 2123098f29b..929475589f3 100644 --- a/src/mess/drivers/aim65.c +++ b/src/mess/drivers/aim65.c @@ -226,27 +226,27 @@ static const cassette_interface aim65_2_cassette_interface = NULL }; -const dl1416_interface aim65_ds1_intf = +const dl1416_interface aim65_ds1_intf = { aim65_update_ds1 }; -const dl1416_interface aim65_ds2_intf = +const dl1416_interface aim65_ds2_intf = { aim65_update_ds2 }; -const dl1416_interface aim65_ds3_intf = +const dl1416_interface aim65_ds3_intf = { aim65_update_ds3 }; -const dl1416_interface aim65_ds4_intf = +const dl1416_interface aim65_ds4_intf = { aim65_update_ds4 }; -const dl1416_interface aim65_ds5_intf = +const dl1416_interface aim65_ds5_intf = { aim65_update_ds5 }; diff --git a/src/mess/drivers/apollo.c b/src/mess/drivers/apollo.c index f4e36fc2679..c43d38e52ee 100644 --- a/src/mess/drivers/apollo.c +++ b/src/mess/drivers/apollo.c @@ -1020,12 +1020,12 @@ void apollo_state::machine_reset() memcmp (db+0x22, "APOLLO", 6) == 0 && omti8621_get_sector(machine().device(APOLLO_WDC_TAG), sector1, db, sizeof(db), 0) == sizeof(db)) { -// MLOG2(("machine_reset_dn3500: node ID is %06X (from ROM)", node_id)); +// MLOG2(("machine_reset_dn3500: node ID is %06X (from ROM)", node_id)); // set node_id from UID of logical volume 1 of logical unit 0 node_id = (((db[0x49] << 8) | db[0x4a]) << 8) | db[0x4b]; -// MLOG2(("machine_reset_dn3500: node ID is %06X (from disk)", node_id)); +// MLOG2(("machine_reset_dn3500: node ID is %06X (from disk)", node_id)); } } diff --git a/src/mess/drivers/apricot.c b/src/mess/drivers/apricot.c index 91ff09783c0..711cde54797 100644 --- a/src/mess/drivers/apricot.c +++ b/src/mess/drivers/apricot.c @@ -319,10 +319,10 @@ void apricot_state::palette_init() /*************************************************************************** - SOUND INTERFACE + SOUND INTERFACE **************************************************************************/ - - + + //------------------------------------------------- // sn76496_config psg_intf //------------------------------------------------- diff --git a/src/mess/drivers/apricotp.c b/src/mess/drivers/apricotp.c index 5aed9a8cad7..388dae4a334 100644 --- a/src/mess/drivers/apricotp.c +++ b/src/mess/drivers/apricotp.c @@ -534,8 +534,8 @@ static const centronics_interface centronics_intf = * Sound interface * *************************************/ - - + + //------------------------------------------------- // sn76496_config psg_intf //------------------------------------------------- diff --git a/src/mess/drivers/bebox.c b/src/mess/drivers/bebox.c index b6f75dc9c07..bcef26276c5 100644 --- a/src/mess/drivers/bebox.c +++ b/src/mess/drivers/bebox.c @@ -149,10 +149,10 @@ static SLOT_INTERFACE_START( pci_devices ) SLOT_INTERFACE("cirrus", CIRRUS) SLOT_INTERFACE_END -static const ide_config ide_intf = +static const ide_config ide_intf = { - bebox_ide_interrupt, - NULL, + bebox_ide_interrupt, + NULL, 0 }; diff --git a/src/mess/drivers/c128.c b/src/mess/drivers/c128.c index f6b0fa3dd99..1f3ab967e3a 100644 --- a/src/mess/drivers/c128.c +++ b/src/mess/drivers/c128.c @@ -171,15 +171,15 @@ to use an EEPROM reader, in order to obtain a dump of the whole content. /* - TODO: + TODO: - - connect to PLA - - clean up ROMs - - wire up function ROM softlist - - remove banking code from machine/c128.h - - inherit from c64_state and use common members from there - - clean up inputs - - fix fast serial + - connect to PLA + - clean up ROMs + - wire up function ROM softlist + - remove banking code from machine/c128.h + - inherit from c64_state and use common members from there + - clean up inputs + - fix fast serial */ @@ -281,14 +281,14 @@ void c128_state::bankswitch_pla(offs_t offset, offs_t ta, offs_t vma, int ba, in UINT8 c128_state::read_memory(address_space &space, offs_t offset, offs_t vma, int ba, int aec, int z80io) { int rw = 1, ms0 = 1, ms1 = 1, ms2 = 1, ms3 = 1, cas0 = 1, cas1 = 1; - int sden = 1, dir = 1, gwe = 1, rom1 = 1, rom2 = 1, rom3 = 1, rom4 = 1, charom = 1, colorram = 1, vic = 1, + int sden = 1, dir = 1, gwe = 1, rom1 = 1, rom2 = 1, rom3 = 1, rom4 = 1, charom = 1, colorram = 1, vic = 1, from1 = 1, romh = 1, roml = 1, dwe = 1, ioacc = 1, clrbank = 1, iocs = 1, casenb = 1; int io1 = 1, io2 = 1; offs_t ta = m_mmu->ta_r(offset, aec, &ms0, &ms1, &ms2, &ms3, &cas0, &cas1); bankswitch_pla(offset, ta, vma, ba, rw, aec, z80io, ms3, ms2, ms1, ms0, - &sden, &dir, &gwe, &rom1, &rom2, &rom3, &rom4, &charom, &colorram, &vic, + &sden, &dir, &gwe, &rom1, &rom2, &rom3, &rom4, &charom, &colorram, &vic, &from1, &romh, &roml, &dwe, &ioacc, &clrbank, &iocs, &casenb); UINT8 data = 0xff; @@ -400,14 +400,14 @@ UINT8 c128_state::read_memory(address_space &space, offs_t offset, offs_t vma, i void c128_state::write_memory(address_space &space, offs_t offset, offs_t vma, UINT8 data, int ba, int aec, int z80io) { int rw = 0, ms0 = 1, ms1 = 1, ms2 = 1, ms3 = 1, cas0 = 1, cas1 = 1; - int sden = 1, dir = 1, gwe = 1, rom1 = 1, rom2 = 1, rom3 = 1, rom4 = 1, charom = 1, colorram = 1, vic = 1, + int sden = 1, dir = 1, gwe = 1, rom1 = 1, rom2 = 1, rom3 = 1, rom4 = 1, charom = 1, colorram = 1, vic = 1, from1 = 1, romh = 1, roml = 1, dwe = 1, ioacc = 1, clrbank = 1, iocs = 1, casenb = 1; int io1 = 1, io2 = 1; offs_t ta = m_mmu->ta_r(offset, aec, &ms0, &ms1, &ms2, &ms3, &cas0, &cas1); bankswitch_pla(offset, ta, vma, ba, rw, aec, z80io, ms3, ms2, ms1, ms0, - &sden, &dir, &gwe, &rom1, &rom2, &rom3, &rom4, &charom, &colorram, &vic, + &sden, &dir, &gwe, &rom1, &rom2, &rom3, &rom4, &charom, &colorram, &vic, &from1, &romh, &roml, &dwe, &ioacc, &clrbank, &iocs, &casenb); if (!casenb && !dwe) @@ -483,7 +483,7 @@ WRITE8_MEMBER( c128_state::z80_w ) { int ba = 1, aec = 1, z80io = 1; offs_t vma = 0; - + write_memory(space, offset, vma, data, ba, aec, z80io); } @@ -491,7 +491,7 @@ READ8_MEMBER( c128_state::z80_io_r ) { int ba = 1, aec = 1, z80io = 0; offs_t vma = 0; - + return read_memory(space, offset, vma, ba, aec, z80io); } @@ -499,7 +499,7 @@ WRITE8_MEMBER( c128_state::z80_io_w ) { int ba = 1, aec = 1, z80io = 0; offs_t vma = 0; - + write_memory(space, offset, vma, data, ba, aec, z80io); } @@ -507,7 +507,7 @@ READ8_MEMBER( c128_state::read ) { int ba = 1, aec = 1, z80io = 1; offs_t vma = 0; - + return read_memory(space, vma, offset, ba, aec, z80io); } @@ -515,7 +515,7 @@ WRITE8_MEMBER( c128_state::write ) { int ba = 1, aec = 1, z80io = 1; offs_t vma = 0; - + write_memory(space, offset, vma, data, ba, aec, z80io); } @@ -523,7 +523,7 @@ READ8_MEMBER( c128_state::vic_videoram_r ) { int ba = 0, aec = 0, z80io = 1; offs_t vma = 0; - + return read_memory(space, offset, vma, ba, aec, z80io); } @@ -969,7 +969,7 @@ static const mc6845_interface vdc_intf = READ8_MEMBER( c128_state::sid_potx_r ) { UINT8 cia1_pa = mos6526_pa_r(m_cia1, 0); - + int sela = BIT(cia1_pa, 6); int selb = BIT(cia1_pa, 7); @@ -984,7 +984,7 @@ READ8_MEMBER( c128_state::sid_potx_r ) READ8_MEMBER( c128_state::sid_poty_r ) { UINT8 cia1_pa = mos6526_pa_r(m_cia1, 0); - + int sela = BIT(cia1_pa, 6); int selb = BIT(cia1_pa, 7); diff --git a/src/mess/drivers/c64.c b/src/mess/drivers/c64.c index 64f84cb65e9..32f91a30017 100644 --- a/src/mess/drivers/c64.c +++ b/src/mess/drivers/c64.c @@ -2,8 +2,8 @@ TODO: - - floating bus writes to peripheral registers in m6502.c - - sort out kernals between PAL/NTSC + - floating bus writes to peripheral registers in m6502.c + - sort out kernals between PAL/NTSC - tsuit215 test failures - IRQ (WRONG $DC0D) - NMI (WRONG $DD0D) @@ -428,7 +428,7 @@ static MOS6567_INTERFACE( vic_intf ) READ8_MEMBER( c64_state::sid_potx_r ) { UINT8 cia1_pa = mos6526_pa_r(m_cia1, 0); - + int sela = BIT(cia1_pa, 6); int selb = BIT(cia1_pa, 7); @@ -443,7 +443,7 @@ READ8_MEMBER( c64_state::sid_potx_r ) READ8_MEMBER( c64_state::sid_poty_r ) { UINT8 cia1_pa = mos6526_pa_r(m_cia1, 0); - + int sela = BIT(cia1_pa, 6); int selb = BIT(cia1_pa, 7); @@ -646,9 +646,9 @@ READ8_MEMBER( c64_state::cpu_r ) P0 1 P1 1 P2 1 - P3 + P3 P4 CASS SENS - P5 0 + P5 0 */ @@ -710,9 +710,9 @@ READ8_MEMBER( sx64_state::cpu_r ) P0 1 P1 1 P2 1 - P3 - P4 - P5 + P3 + P4 + P5 */ @@ -764,9 +764,9 @@ READ8_MEMBER( c64gs_state::cpu_r ) P0 1 P1 1 P2 1 - P3 - P4 - P5 + P3 + P4 + P5 */ @@ -1489,20 +1489,20 @@ ROM_END //************************************************************************** // YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS -COMP( 1982, c64n, 0, 0, ntsc, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64 (NTSC)", GAME_SUPPORTS_SAVE ) -COMP( 1982, c64j, c64n, 0, ntsc, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64 (Japan)", GAME_SUPPORTS_SAVE ) -COMP( 1982, c64p, c64n, 0, pal, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64 (PAL)", GAME_SUPPORTS_SAVE ) -COMP( 1982, c64sw, c64n, 0, pal, c64sw, driver_device, 0, "Commodore Business Machines", "Commodore 64 / VIC-64S (Sweden/Finland)", GAME_SUPPORTS_SAVE ) -COMP( 1983, pet64, c64n, 0, pet64, c64, driver_device, 0, "Commodore Business Machines", "PET 64 / CBM 4064 (NTSC)", GAME_SUPPORTS_SAVE | GAME_WRONG_COLORS ) -COMP( 1983, edu64, c64n, 0, pet64, c64, driver_device, 0, "Commodore Business Machines", "Educator 64 (NTSC)", GAME_SUPPORTS_SAVE | GAME_WRONG_COLORS ) -COMP( 1984, sx64n, c64n, 0, ntsc_sx, c64, driver_device, 0, "Commodore Business Machines", "SX-64 / Executive 64 (NTSC)", GAME_SUPPORTS_SAVE ) -COMP( 1984, sx64p, c64n, 0, pal_sx, c64, driver_device, 0, "Commodore Business Machines", "SX-64 / Executive 64 (PAL)", GAME_SUPPORTS_SAVE ) -COMP( 1984, vip64, c64n, 0, pal_sx, c64sw, driver_device, 0, "Commodore Business Machines", "VIP-64 (Sweden/Finland)", GAME_SUPPORTS_SAVE ) -COMP( 1984, dx64, c64n, 0, ntsc_dx, c64, driver_device, 0, "Commodore Business Machines", "DX-64 (NTSC)", GAME_SUPPORTS_SAVE ) +COMP( 1982, c64n, 0, 0, ntsc, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64 (NTSC)", GAME_SUPPORTS_SAVE ) +COMP( 1982, c64j, c64n, 0, ntsc, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64 (Japan)", GAME_SUPPORTS_SAVE ) +COMP( 1982, c64p, c64n, 0, pal, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64 (PAL)", GAME_SUPPORTS_SAVE ) +COMP( 1982, c64sw, c64n, 0, pal, c64sw, driver_device, 0, "Commodore Business Machines", "Commodore 64 / VIC-64S (Sweden/Finland)", GAME_SUPPORTS_SAVE ) +COMP( 1983, pet64, c64n, 0, pet64, c64, driver_device, 0, "Commodore Business Machines", "PET 64 / CBM 4064 (NTSC)", GAME_SUPPORTS_SAVE | GAME_WRONG_COLORS ) +COMP( 1983, edu64, c64n, 0, pet64, c64, driver_device, 0, "Commodore Business Machines", "Educator 64 (NTSC)", GAME_SUPPORTS_SAVE | GAME_WRONG_COLORS ) +COMP( 1984, sx64n, c64n, 0, ntsc_sx, c64, driver_device, 0, "Commodore Business Machines", "SX-64 / Executive 64 (NTSC)", GAME_SUPPORTS_SAVE ) +COMP( 1984, sx64p, c64n, 0, pal_sx, c64, driver_device, 0, "Commodore Business Machines", "SX-64 / Executive 64 (PAL)", GAME_SUPPORTS_SAVE ) +COMP( 1984, vip64, c64n, 0, pal_sx, c64sw, driver_device, 0, "Commodore Business Machines", "VIP-64 (Sweden/Finland)", GAME_SUPPORTS_SAVE ) +COMP( 1984, dx64, c64n, 0, ntsc_dx, c64, driver_device, 0, "Commodore Business Machines", "DX-64 (NTSC)", GAME_SUPPORTS_SAVE ) //COMP(1983, clipper, c64, 0, c64pal, clipper, XXX_CLASS, c64pal, "PDC", "Clipper", GAME_NOT_WORKING) // C64 in a briefcase with 3" floppy, electroluminescent flat screen, thermal printer //COMP(1983, tesa6240, c64, 0, c64pal, c64, XXX_CLASS, c64pal, "Tesa", "6240", GAME_NOT_WORKING) // modified SX64 with label printer -COMP( 1986, c64cn, c64n, 0, ntsc_c, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64C (NTSC)", GAME_SUPPORTS_SAVE ) -COMP( 1986, c64cp, c64n, 0, pal_c, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64C (PAL)", GAME_SUPPORTS_SAVE ) -COMP( 1986, c64csw, c64n, 0, pal_c, c64sw, driver_device, 0, "Commodore Business Machines", "Commodore 64C (Sweden/Finland)", GAME_SUPPORTS_SAVE ) -COMP( 1986, c64g, c64n, 0, pal_c, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64G (PAL)", GAME_SUPPORTS_SAVE ) -CONS( 1990, c64gs, c64n, 0, pal_gs, c64gs, driver_device, 0, "Commodore Business Machines", "Commodore 64 Games System (PAL)", GAME_SUPPORTS_SAVE ) +COMP( 1986, c64cn, c64n, 0, ntsc_c, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64C (NTSC)", GAME_SUPPORTS_SAVE ) +COMP( 1986, c64cp, c64n, 0, pal_c, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64C (PAL)", GAME_SUPPORTS_SAVE ) +COMP( 1986, c64csw, c64n, 0, pal_c, c64sw, driver_device, 0, "Commodore Business Machines", "Commodore 64C (Sweden/Finland)", GAME_SUPPORTS_SAVE ) +COMP( 1986, c64g, c64n, 0, pal_c, c64, driver_device, 0, "Commodore Business Machines", "Commodore 64G (PAL)", GAME_SUPPORTS_SAVE ) +CONS( 1990, c64gs, c64n, 0, pal_gs, c64gs, driver_device, 0, "Commodore Business Machines", "Commodore 64 Games System (PAL)", GAME_SUPPORTS_SAVE ) diff --git a/src/mess/drivers/cgenie.c b/src/mess/drivers/cgenie.c index fd1895a1146..540ebfa8628 100644 --- a/src/mess/drivers/cgenie.c +++ b/src/mess/drivers/cgenie.c @@ -626,7 +626,7 @@ ROM_END // GATL GAT Length // GATM GAT Mask // DDGA Disk Directory Granule Allocation -struct PDRIVE +struct PDRIVE { UINT8 DDSL; // Disk Directory Start Lump (lump number of GAT) UINT8 GATL; // # of bytes used in the Granule Allocation Table sector diff --git a/src/mess/drivers/cybiko.c b/src/mess/drivers/cybiko.c index 6debfea06ab..9ab29604d74 100644 --- a/src/mess/drivers/cybiko.c +++ b/src/mess/drivers/cybiko.c @@ -342,7 +342,7 @@ static MACHINE_CONFIG_START( cybikov1, cybiko_state ) MCFG_RAM_EXTRA_OPTIONS("1M") MACHINE_CONFIG_END -const sst39vfx_config cybyko_sst39vfx_intf = +const sst39vfx_config cybyko_sst39vfx_intf = { 16, ENDIANNESS_BIG }; diff --git a/src/mess/drivers/gba.c b/src/mess/drivers/gba.c index ad32ae03e15..48420d4a171 100644 --- a/src/mess/drivers/gba.c +++ b/src/mess/drivers/gba.c @@ -2474,7 +2474,7 @@ static astring gba_chip_string( UINT32 chip) return str.trimspace(); } -struct gba_chip_fix_conflict_item +struct gba_chip_fix_conflict_item { char game_code[5]; UINT32 chip; @@ -2518,7 +2518,7 @@ static const gba_chip_fix_conflict_item gba_chip_fix_conflict_list[] = { "BYUJ", GBA_CHIP_EEPROM_64K }, // 2322 - Yggdra Union (JPN) }; -struct gba_chip_fix_eeprom_item +struct gba_chip_fix_eeprom_item { char game_code[5]; }; diff --git a/src/mess/drivers/geneve.c b/src/mess/drivers/geneve.c index b9dc2d9a315..804d2e7da38 100644 --- a/src/mess/drivers/geneve.c +++ b/src/mess/drivers/geneve.c @@ -258,9 +258,9 @@ public: WRITE_LINE_MEMBER( mapper_ready ); DECLARE_DRIVER_INIT(geneve); - virtual void machine_start(); + virtual void machine_start(); virtual void machine_reset(); - + void set_tms9901_INT2_from_v9938(v99x8_device &vdp, int state); line_state m_inta; diff --git a/src/mess/drivers/hp49gp.c b/src/mess/drivers/hp49gp.c index 536155da7e1..26099ed7ad6 100644 --- a/src/mess/drivers/hp49gp.c +++ b/src/mess/drivers/hp49gp.c @@ -24,7 +24,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( running_machine &machine, int n_level, } } -struct lcd_spi_t +struct lcd_spi_t { int l1; int data; diff --git a/src/mess/drivers/ht68k.c b/src/mess/drivers/ht68k.c index ba6110b8209..608dd27ff6f 100644 --- a/src/mess/drivers/ht68k.c +++ b/src/mess/drivers/ht68k.c @@ -45,9 +45,9 @@ public: , m_p_ram(*this, "p_ram"){ } - + static const floppy_format_type floppy_formats[]; - + required_device<cpu_device> m_maincpu; required_device<generic_terminal_device> m_terminal; required_device<device_t> m_duart; @@ -117,10 +117,10 @@ static void duart_output(device_t *device, UINT8 data) if(con) floppy = con->get_device(); break; - } + } } if (floppy) floppy->ss_w(BIT(data,3) ? 0 : 1); - state->m_fdc->set_floppy(floppy); + state->m_fdc->set_floppy(floppy); } WRITE8_MEMBER( ht68k_state::kbd_put ) @@ -162,7 +162,7 @@ static MACHINE_CONFIG_START( ht68k, ht68k_state ) MCFG_FLOPPY_DRIVE_ADD("fd0", ht68k_floppies, "525dd", 0, ht68k_state::floppy_formats) MCFG_FLOPPY_DRIVE_ADD("fd1", ht68k_floppies, "525dd", 0, ht68k_state::floppy_formats) MCFG_FLOPPY_DRIVE_ADD("fd2", ht68k_floppies, "525dd", 0, ht68k_state::floppy_formats) - MCFG_FLOPPY_DRIVE_ADD("fd3", ht68k_floppies, "525dd", 0, ht68k_state::floppy_formats) + MCFG_FLOPPY_DRIVE_ADD("fd3", ht68k_floppies, "525dd", 0, ht68k_state::floppy_formats) MACHINE_CONFIG_END /* ROM definition */ diff --git a/src/mess/drivers/ip20.c b/src/mess/drivers/ip20.c index eca05f899ee..317a9327f1a 100644 --- a/src/mess/drivers/ip20.c +++ b/src/mess/drivers/ip20.c @@ -26,7 +26,7 @@ #include "machine/scsicd.h" #include "machine/wd33c93.h" -struct HPC_t +struct HPC_t { UINT8 nMiscStatus; UINT32 nParBufPtr; @@ -38,7 +38,7 @@ struct HPC_t UINT32 nSCSI0DMACtrl; }; -struct RTC_t +struct RTC_t { UINT8 nRAM[32]; UINT8 nTemp; diff --git a/src/mess/drivers/ip22.c b/src/mess/drivers/ip22.c index 232a7a4cb10..a4d6607be23 100644 --- a/src/mess/drivers/ip22.c +++ b/src/mess/drivers/ip22.c @@ -57,14 +57,14 @@ #include "machine/scsihd.h" #include "machine/wd33c93.h" -struct RTC_t +struct RTC_t { UINT8 nRegs[0x80]; UINT8 nUserRAM[0x200]; UINT8 nRAM[0x800]; }; -struct HPC3_t +struct HPC3_t { UINT32 nenetr_nbdp; UINT32 nenetr_cbp; @@ -75,13 +75,13 @@ struct HPC3_t UINT32 nSCSI0DMACtrl; }; -struct HAL2_t +struct HAL2_t { UINT32 nIAR; UINT32 nIDR[4]; }; -struct PBUS_DMA_t +struct PBUS_DMA_t { UINT8 nActive; UINT32 nCurPtr; diff --git a/src/mess/drivers/juicebox.c b/src/mess/drivers/juicebox.c index 40719159f82..1de8be61351 100644 --- a/src/mess/drivers/juicebox.c +++ b/src/mess/drivers/juicebox.c @@ -31,7 +31,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( running_machine &machine, int n_level, } } -struct smc_t +struct smc_t { int add_latch; int cmd_latch; diff --git a/src/mess/drivers/mycom.c b/src/mess/drivers/mycom.c index 3cb3cc213b4..a13e39ae837 100644 --- a/src/mess/drivers/mycom.c +++ b/src/mess/drivers/mycom.c @@ -551,8 +551,8 @@ static const wd17xx_interface wd1771_intf = * Sound interface * *************************************/ - - + + //------------------------------------------------- // sn76496_config psg_intf //------------------------------------------------- diff --git a/src/mess/drivers/mz2000.c b/src/mess/drivers/mz2000.c index a0ce520c6e4..73ba9293621 100644 --- a/src/mess/drivers/mz2000.c +++ b/src/mess/drivers/mz2000.c @@ -10,8 +10,8 @@ TODO: - cassette interface, basically any program that's bigger than 8kb fails to load; - implement remaining video capabilities - - add 80b compatibility support; - - Vosque (color): keyboard doesn't work properly; + - add 80b compatibility support; + - Vosque (color): keyboard doesn't work properly; ****************************************************************************/ @@ -607,7 +607,7 @@ static READ8_DEVICE_HANDLER( mz2000_portc_r ) static WRITE8_DEVICE_HANDLER( mz2000_porta_w ) { /* - These are enabled thru a 0->1 transition + These are enabled thru a 0->1 transition x--- ---- tape "APSS" -x-- ---- tape "APLAY" --x- ---- tape "AREW" diff --git a/src/mess/drivers/mz700.c b/src/mess/drivers/mz700.c index 2b6ae33b3cc..1f8ca1cfa4e 100644 --- a/src/mess/drivers/mz700.c +++ b/src/mess/drivers/mz700.c @@ -321,8 +321,8 @@ GFXDECODE_END * Sound interface * *************************************/ - - + + //------------------------------------------------- // sn76496_config psg_intf //------------------------------------------------- diff --git a/src/mess/drivers/ng_aes.c b/src/mess/drivers/ng_aes.c index cb1c22eb33d..c0935068eca 100644 --- a/src/mess/drivers/ng_aes.c +++ b/src/mess/drivers/ng_aes.c @@ -44,7 +44,7 @@ static const char *audio_banks[4] = }; // CD-ROM / DMA control registers -struct neocd_ctrl_t +struct neocd_ctrl_t { UINT8 area_sel; UINT8 pcm_bank_sel; @@ -91,7 +91,7 @@ public: DECLARE_MACHINE_START(neocd); DECLARE_MACHINE_START(neogeo); DECLARE_MACHINE_RESET(neogeo); - + }; diff --git a/src/mess/drivers/pc.c b/src/mess/drivers/pc.c index 13c4de8d8b5..8f6d77e9442 100644 --- a/src/mess/drivers/pc.c +++ b/src/mess/drivers/pc.c @@ -933,8 +933,8 @@ GFXDECODE_END * Sound interface * *************************************/ - - + + //------------------------------------------------- // sn76496_config psg_intf //------------------------------------------------- diff --git a/src/mess/drivers/pc8801.c b/src/mess/drivers/pc8801.c index dbb18c49024..e29e295ff8c 100644 --- a/src/mess/drivers/pc8801.c +++ b/src/mess/drivers/pc8801.c @@ -271,14 +271,14 @@ #define UPD1990A_TAG "upd1990a" #define I8251_TAG "i8251" -struct crtc_t +struct crtc_t { UINT8 cmd,param_count,cursor_on,status,irq_mask; UINT8 param[8][5]; UINT8 inverse; }; -struct mouse_t +struct mouse_t { UINT8 phase; UINT8 x,y; @@ -450,7 +450,7 @@ protected: public: DECLARE_MACHINE_RESET(pc8801_clock_speed); DECLARE_MACHINE_RESET(pc8801_dic); - DECLARE_MACHINE_RESET(pc8801_cdrom); + DECLARE_MACHINE_RESET(pc8801_cdrom); }; diff --git a/src/mess/drivers/pc88va.c b/src/mess/drivers/pc88va.c index 85d3a5bf768..621a9ed4746 100644 --- a/src/mess/drivers/pc88va.c +++ b/src/mess/drivers/pc88va.c @@ -29,7 +29,7 @@ #include "sound/2203intf.h" #include "formats/basicdsk.h" -struct tsp_t +struct tsp_t { UINT16 tvram_vreg_offset; UINT16 attr_offset; diff --git a/src/mess/drivers/pc9801.c b/src/mess/drivers/pc9801.c index 1360ab58d2f..4d0c6a4ed59 100644 --- a/src/mess/drivers/pc9801.c +++ b/src/mess/drivers/pc9801.c @@ -8,7 +8,7 @@ - floppy interface doesn't seem to work at all with either floppy inserted or not, missing DMA irq? - proper 8251 uart hook-up on keyboard - boot is too slow right now, might be due of the floppy / HDD devices - - investigate on POR bit + - investigate on POR bit TODO (PC-9801RS): - floppy disk hook-up; @@ -17,7 +17,7 @@ TODO (PC-9821): - fix CPU for some clones; - - PARITY ERROR, presumably it needs a far better emulation of the i8251 ports + - PARITY ERROR, presumably it needs a far better emulation of the i8251 ports TODO: (PC-486MU) - Tries to read port C of i8255_sys (-> 0x35) at boot without setting up the control diff --git a/src/mess/drivers/pcfx.c b/src/mess/drivers/pcfx.c index 51a0fa4e35a..cb3a403d99c 100644 --- a/src/mess/drivers/pcfx.c +++ b/src/mess/drivers/pcfx.c @@ -79,7 +79,7 @@ WRITE8_MEMBER(pcfx_state::extio_w) static ADDRESS_MAP_START( pcfx_mem, AS_PROGRAM, 32, pcfx_state ) AM_RANGE( 0x00000000, 0x001FFFFF ) AM_RAM /* RAM */ -// AM_RANGE( 0x80000000, 0x807FFFFF ) AM_READWRITE8(extio_r,extio_w,0xffffffff) /* EXTIO */ +// AM_RANGE( 0x80000000, 0x807FFFFF ) AM_READWRITE8(extio_r,extio_w,0xffffffff) /* EXTIO */ AM_RANGE( 0xE0000000, 0xE7FFFFFF ) AM_NOP /* BackUp RAM */ AM_RANGE( 0xE8000000, 0xE9FFFFFF ) AM_NOP /* Extended BackUp RAM */ AM_RANGE( 0xF8000000, 0xF8000007 ) AM_NOP /* PIO */ @@ -95,9 +95,9 @@ READ16_MEMBER( pcfx_state::pad_r ) { // status /* - ---- x--- - ---- ---x incoming data state (0=available) - */ + ---- x--- + ---- ---x incoming data state (0=available) + */ res = m_pad.status[port_type]; //printf("STATUS %d\n",port_type); } @@ -126,7 +126,7 @@ static TIMER_CALLBACK(pad_func) state->m_pad.status[param] |= 8; state->m_pad.ctrl[param] &= ~1; // ack TX line // TODO: pad IRQ -// state->set_irq_line(11, 1); +// state->set_irq_line(11, 1); } WRITE16_MEMBER( pcfx_state::pad_w ) @@ -137,10 +137,10 @@ WRITE16_MEMBER( pcfx_state::pad_w ) { // control /* - ---- -x-- receiver enable - ---- --x- enable multi-tap - ---- ---x enable send (0->1 transition) - */ + ---- -x-- receiver enable + ---- --x- enable multi-tap + ---- ---x enable send (0->1 transition) + */ if(data & 1 && (!(m_pad.ctrl[port_type] & 1))) { machine().scheduler().timer_set(attotime::from_msec(1), FUNC(pad_func), port_type); // TODO: time @@ -168,7 +168,7 @@ static ADDRESS_MAP_START( pcfx_io, AS_IO, 32, pcfx_state ) AM_RANGE( 0x00000C80, 0x00000C83 ) AM_NOP AM_RANGE( 0x00000E00, 0x00000EFF ) AM_READWRITE16( irq_read, irq_write, 0xffff ) /* Interrupt controller */ AM_RANGE( 0x00000F00, 0x00000FFF ) AM_NOP -// AM_RANGE( 0x00600000, 0x006FFFFF ) AM_READ(scsi_ctrl_r) +// AM_RANGE( 0x00600000, 0x006FFFFF ) AM_READ(scsi_ctrl_r) AM_RANGE( 0x00780000, 0x007FFFFF ) AM_ROM AM_REGION("scsi_rom", 0 ) AM_RANGE( 0x80500000, 0x805000FF ) AM_NOP /* HuC6273 */ ADDRESS_MAP_END @@ -176,8 +176,8 @@ ADDRESS_MAP_END static INPUT_PORTS_START( pcfx ) /* - xxxx ---- ---- ---- ID (0xf = 6 button pad, 0xe = tap, 0xd = ?) - */ + xxxx ---- ---- ---- ID (0xf = 6 button pad, 0xe = tap, 0xd = ?) + */ PORT_START("P1") PORT_BIT( 0xf0000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) // ID PORT_DIPNAME( 0x01000000, 0x01000000, "1" ) diff --git a/src/mess/drivers/pcw16.c b/src/mess/drivers/pcw16.c index ae545256695..2e386866607 100644 --- a/src/mess/drivers/pcw16.c +++ b/src/mess/drivers/pcw16.c @@ -347,7 +347,7 @@ static const struct { write8_space_func func; const char *name; } pcw16_flash1_b { FUNC(pcw16_flash1_bank_handler3_w) } }; -enum PCW16_RAM_TYPE +enum PCW16_RAM_TYPE { /* rom which is really first block of flash0 */ PCW16_MEM_ROM, diff --git a/src/mess/drivers/pockstat.c b/src/mess/drivers/pockstat.c index 3f7d6849ec4..4d000405022 100644 --- a/src/mess/drivers/pockstat.c +++ b/src/mess/drivers/pockstat.c @@ -36,7 +36,7 @@ #define MAX_PS_TIMERS 3 -struct ps_ftlb_regs_t +struct ps_ftlb_regs_t { UINT32 control; UINT32 stat; @@ -47,7 +47,7 @@ struct ps_ftlb_regs_t UINT32 serial; }; -struct ps_intc_regs_t +struct ps_intc_regs_t { UINT32 hold; UINT32 status; @@ -55,7 +55,7 @@ struct ps_intc_regs_t UINT32 mask; }; -struct ps_timer_t +struct ps_timer_t { UINT32 period; UINT32 count; @@ -63,12 +63,12 @@ struct ps_timer_t emu_timer *timer; }; -struct ps_timer_regs_t +struct ps_timer_regs_t { ps_timer_t timer[MAX_PS_TIMERS]; }; -struct ps_clock_regs_t +struct ps_clock_regs_t { UINT32 mode; UINT32 control; @@ -76,7 +76,7 @@ struct ps_clock_regs_t #define PS_CLOCK_STEADY 0x10 -struct ps_rtc_regs_t +struct ps_rtc_regs_t { UINT32 mode; UINT32 control; diff --git a/src/mess/drivers/psx.c b/src/mess/drivers/psx.c index a25e78d59b3..3c642b1dd44 100644 --- a/src/mess/drivers/psx.c +++ b/src/mess/drivers/psx.c @@ -19,7 +19,7 @@ #include "machine/psxcd.h" #include "machine/psxcard.h" -struct pad_t +struct pad_t { UINT8 n_shiftin; UINT8 n_shiftout; diff --git a/src/mess/drivers/pv1000.c b/src/mess/drivers/pv1000.c index 5ae95a1a752..e89ca985fe4 100644 --- a/src/mess/drivers/pv1000.c +++ b/src/mess/drivers/pv1000.c @@ -15,7 +15,7 @@ class pv1000_sound_device : public device_t, public: pv1000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: - // device-level overrides + // device-level overrides virtual void device_config_complete(); virtual void device_start(); diff --git a/src/mess/drivers/pv2000.c b/src/mess/drivers/pv2000.c index 66cc6b5f48f..904258d9f36 100644 --- a/src/mess/drivers/pv2000.c +++ b/src/mess/drivers/pv2000.c @@ -351,8 +351,8 @@ static TMS9928A_INTERFACE(pv2000_tms9928a_interface) * Sound interface * *************************************/ - - + + //------------------------------------------------- // sn76496_config psg_intf //------------------------------------------------- diff --git a/src/mess/drivers/rvoice.c b/src/mess/drivers/rvoice.c index 92e36b2955c..cf165b32f1c 100644 --- a/src/mess/drivers/rvoice.c +++ b/src/mess/drivers/rvoice.c @@ -18,7 +18,7 @@ /* Components */ -struct hd63701y0_t +struct hd63701y0_t { UINT8 data[8]; UINT8 P1DDR; @@ -57,7 +57,7 @@ struct hd63701y0_t UINT8 P6CSR; }; -struct rvoicepc_t +struct rvoicepc_t { UINT8 data[8]; UINT8 port1; diff --git a/src/mess/drivers/sgi_ip6.c b/src/mess/drivers/sgi_ip6.c index 253b0f82b04..af936d02fa8 100644 --- a/src/mess/drivers/sgi_ip6.c +++ b/src/mess/drivers/sgi_ip6.c @@ -17,7 +17,7 @@ #include "cpu/mips/r3000.h" -struct ip6_regs_t +struct ip6_regs_t { UINT16 unknown_half_0; UINT8 unknown_byte_0; diff --git a/src/mess/drivers/sitcom.c b/src/mess/drivers/sitcom.c index a19a64fb898..801e01c4ac2 100644 --- a/src/mess/drivers/sitcom.c +++ b/src/mess/drivers/sitcom.c @@ -91,12 +91,12 @@ void sitcom_update_ds1(device_t *device, int digit, int data) output_set_digit_value(4 + digit, data); } -const dl1416_interface sitcom_ds0_intf = +const dl1416_interface sitcom_ds0_intf = { sitcom_update_ds0 }; -const dl1416_interface sitcom_ds1_intf = +const dl1416_interface sitcom_ds1_intf = { sitcom_update_ds1 }; diff --git a/src/mess/drivers/smc777.c b/src/mess/drivers/smc777.c index 99d1034e905..23e45ee8740 100644 --- a/src/mess/drivers/smc777.c +++ b/src/mess/drivers/smc777.c @@ -35,7 +35,7 @@ public: : driver_device(mconfig, type, tag), m_sn(*this, "sn1") { } - + optional_device<sn76489a_new_device> m_sn; UINT16 m_cursor_addr; UINT16 m_cursor_raster; @@ -1060,8 +1060,8 @@ static INTERRUPT_GEN( smc777_vblank_irq ) * Sound interface * *************************************/ - - + + //------------------------------------------------- // sn76496_config psg_intf //------------------------------------------------- diff --git a/src/mess/drivers/ti99_4x.c b/src/mess/drivers/ti99_4x.c index a33cf1c2669..8b8b9143c24 100644 --- a/src/mess/drivers/ti99_4x.c +++ b/src/mess/drivers/ti99_4x.c @@ -967,15 +967,15 @@ MACHINE_START_MEMBER(ti99_4x,ti99_4a) m_cpu = static_cast<tms9900_device*>(machine().device("maincpu")); m_tms9901 = static_cast<tms9901_device*>(machine().device(TMS9901_TAG)); - + m_gromport = static_cast<gromport_device*>(machine().device(GROMPORT_TAG)); m_peribox = static_cast<peribox_device*>(machine().device(PERIBOX_TAG)); - + m_datamux = static_cast<ti99_datamux_device*>(machine().device(DATAMUX_TAG)); m_joyport = static_cast<joyport_device*>(machine().device(JOYPORT_TAG)); m_video = static_cast<ti_video_device*>(machine().device(VIDEO_SYSTEM_TAG)); m_firstjoy = 6; - + m_peribox->senila(CLEAR_LINE); m_peribox->senilb(CLEAR_LINE); m_ready_line = m_ready_line_dmux = ASSERT_LINE; diff --git a/src/mess/drivers/ti99_8.c b/src/mess/drivers/ti99_8.c index bd5d7b2dc4c..3d622a91f87 100644 --- a/src/mess/drivers/ti99_8.c +++ b/src/mess/drivers/ti99_8.c @@ -252,7 +252,7 @@ public: DECLARE_WRITE8_MEMBER(tms9901_interrupt); DECLARE_WRITE_LINE_MEMBER( clock_out ); - virtual void machine_start(); + virtual void machine_start(); virtual void machine_reset(); // Some values to keep diff --git a/src/mess/drivers/vboy.c b/src/mess/drivers/vboy.c index 573511b8594..260376a645e 100644 --- a/src/mess/drivers/vboy.c +++ b/src/mess/drivers/vboy.c @@ -8,10 +8,10 @@ and http://www.vr32.de/modules/dokuwiki/doku.php? TODO: - - 3dtetris: missing gfxs on gameplay (writes to framebuffer) + - 3dtetris: missing gfxs on gameplay (writes to framebuffer) - boundh: game is way too fast - galactic: ball goes out of bounds sometimes? - - golf: missing gfxs on gameplay (writes to framebuffer) + - golf: missing gfxs on gameplay (writes to framebuffer) - marioten: title screen logo is misplaced if Mario completes his animation - nesterfb: once that you hit the pins, animation phase takes a while to start - redalarm: gameplay doesn't work @@ -19,7 +19,7 @@ - spaceinv: missing shots - telerobo: crashes if you die - telerobo: hangs after winning first match; - - vlab: doesn't boot (irq issue?) + - vlab: doesn't boot (irq issue?) - wariolnd: brightness gets suddently darker during intro. \ ****************************************************************************/ @@ -699,7 +699,7 @@ void vboy_state::m_set_brightness(void) if(b > 0xff) { b = 0xff; } if(c > 0xff) { c = 0xff; } -// popmessage("%02x %02x %02x %02x",m_vip_regs.BRTA,m_vip_regs.BRTB,m_vip_regs.BRTC,m_vip_regs.REST); +// popmessage("%02x %02x %02x %02x",m_vip_regs.BRTA,m_vip_regs.BRTB,m_vip_regs.BRTC,m_vip_regs.REST); palette_set_color_rgb(machine(), 1, a,0,0); palette_set_color_rgb(machine(), 2, b,0,0); palette_set_color_rgb(machine(), 3, c,0,0); @@ -716,17 +716,17 @@ READ16_MEMBER( vboy_state::vip_r ) logerror("Error reading INTCLR\n"); break; /* - ---- -x-- ---- ---- LOCK (status column table address (CTA) lock) - ---- --x- ---- ---- SYNCE (status of sync signal enable) - ---- ---x ---- ---- RE (status of memory refresh cycle) - ---- ---- x--- ---- FCLK + ---- -x-- ---- ---- LOCK (status column table address (CTA) lock) + ---- --x- ---- ---- SYNCE (status of sync signal enable) + ---- ---x ---- ---- RE (status of memory refresh cycle) + ---- ---- x--- ---- FCLK ---- ---- -x-- ---- SCANRDY (active low) - ---- ---- --xx xx-- DPBSY (current framebuffer displayed) - ---- ---- --10 00-- RFB1 - ---- ---- --01 00-- LFB1 - ---- ---- --00 10-- RFB0 - ---- ---- --00 01-- LFB0 - ---- ---- ---- --x- DISP + ---- ---- --xx xx-- DPBSY (current framebuffer displayed) + ---- ---- --10 00-- RFB1 + ---- ---- --01 00-- LFB1 + ---- ---- --00 10-- RFB0 + ---- ---- --00 01-- LFB0 + ---- ---- ---- --x- DISP */ case 0x20: //DPSTTS { @@ -767,9 +767,9 @@ READ16_MEMBER( vboy_state::vip_r ) case 0x40: //XPSTTS, piXel Processor STaTuS { /* - x--- ---- ---- ---- SBOUT - ---x xxxx ---- ---- SBCOUNT - ---- ---- ---x ---- OVERTIME (process overflow) + x--- ---- ---- ---- SBOUT + ---x xxxx ---- ---- SBCOUNT + ---- ---- ---x ---- OVERTIME (process overflow) ---- ---- ---- x--- XPBSY1 (second framebuffer busy flag) ---- ---- ---- -x-- XPBSY0 (first framebfuffer busy flag) ---- ---- ---- --x- XPEN (starts drawing at beginning of game frame) @@ -862,11 +862,11 @@ WRITE16_MEMBER( vboy_state::vip_w ) logerror("Error writing DPSTTS\n"); break; /* - ---- -x-- ---- ---- LOCK (status column table address (CTA) lock) - ---- --x- ---- ---- SYNCE (status of sync signal enable) - ---- ---x ---- ---- RE (status of memory refresh cycle) - ---- ---- ---- --x- DISP - ---- ---- ---- ---x DPRST (Resets the VIP internal counter) + ---- -x-- ---- ---- LOCK (status column table address (CTA) lock) + ---- --x- ---- ---- SYNCE (status of sync signal enable) + ---- ---x ---- ---- RE (status of memory refresh cycle) + ---- ---- ---- --x- DISP + ---- ---- ---- ---x DPRST (Resets the VIP internal counter) */ case 0x22: //DPCTRL m_vip_regs.DPCTRL = data & 0x0702; @@ -1085,7 +1085,7 @@ static ADDRESS_MAP_START( vboy_mem, AS_PROGRAM, 32, vboy_state ) AM_RANGE( 0x02000000, 0x0200002b ) AM_MIRROR(0x0ffff00) AM_READWRITE(io_r, io_w) // Hardware control registers mask 0xff //AM_RANGE( 0x04000000, 0x04ffffff ) // Expansion area AM_RANGE( 0x05000000, 0x0500ffff ) AM_MIRROR(0x0ff0000) AM_RAM AM_SHARE("wram")// Main RAM - 64K mask 0xffff -// AM_RANGE( 0x06000000, 0x06003fff ) AM_RAM AM_SHARE("nvram") // Cart RAM - 8K NVRAM +// AM_RANGE( 0x06000000, 0x06003fff ) AM_RAM AM_SHARE("nvram") // Cart RAM - 8K NVRAM AM_RANGE( 0x07000000, 0x071fffff ) AM_MIRROR(0x0e00000) AM_ROM AM_REGION("cartridge", 0) /* ROM */ ADDRESS_MAP_END @@ -1157,7 +1157,7 @@ void vboy_state::machine_start() /* add a hook for battery save */ machine().add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(FUNC(vboy_machine_stop),&machine())); -// m_vboy_sram = auto_alloc_array(machine(), UINT32, 0x10000/4); +// m_vboy_sram = auto_alloc_array(machine(), UINT32, 0x10000/4); } void vboy_state::machine_reset() diff --git a/src/mess/drivers/vic10.c b/src/mess/drivers/vic10.c index 40ae406ef7e..815829dfa38 100644 --- a/src/mess/drivers/vic10.c +++ b/src/mess/drivers/vic10.c @@ -480,11 +480,11 @@ READ8_MEMBER( vic10_state::cpu_r ) bit description P0 EXPANSION PORT - P1 - P2 + P1 + P2 P3 P4 CASS SENS - P5 0 + P5 0 */ diff --git a/src/mess/drivers/vic20.c b/src/mess/drivers/vic20.c index d898be32c5e..0eb7e8a3567 100644 --- a/src/mess/drivers/vic20.c +++ b/src/mess/drivers/vic20.c @@ -463,7 +463,7 @@ WRITE8_MEMBER( vic20_state::via0_pa_w ) PA2 PA3 PA4 - PA5 LITE PEN (FIRE) + PA5 LITE PEN (FIRE) PA6 PA7 SERIAL ATN OUT @@ -550,7 +550,7 @@ READ8_MEMBER( vic20_state::via1_pb_r ) // joystick UINT8 joy = m_joy1->joy_r(); - + data &= BIT(joy, 3) << 7; return data; @@ -881,7 +881,7 @@ ROM_END //************************************************************************** // YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS -COMP( 1980, vic1001, 0, 0, ntsc, vic1001, driver_device, 0, "Commodore Business Machines", "VIC-1001 (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) -COMP( 1981, vic20, vic1001, 0, ntsc, vic20, driver_device, 0, "Commodore Business Machines", "VIC-20 (NTSC)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) -COMP( 1981, vic20p, vic1001, 0, pal, vic20, driver_device, 0, "Commodore Business Machines", "VIC-20 / VC-20 (PAL)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) -COMP( 1981, vic20s, vic1001, 0, pal, vic20s, driver_device, 0, "Commodore Business Machines", "VIC-20 (Sweden/Finland)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) +COMP( 1980, vic1001, 0, 0, ntsc, vic1001, driver_device, 0, "Commodore Business Machines", "VIC-1001 (Japan)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) +COMP( 1981, vic20, vic1001, 0, ntsc, vic20, driver_device, 0, "Commodore Business Machines", "VIC-20 (NTSC)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) +COMP( 1981, vic20p, vic1001, 0, pal, vic20, driver_device, 0, "Commodore Business Machines", "VIC-20 / VC-20 (PAL)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) +COMP( 1981, vic20s, vic1001, 0, pal, vic20s, driver_device, 0, "Commodore Business Machines", "VIC-20 (Sweden/Finland)", GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) diff --git a/src/mess/drivers/vk100.c b/src/mess/drivers/vk100.c index 80416b6ed46..46ebcc3f320 100644 --- a/src/mess/drivers/vk100.c +++ b/src/mess/drivers/vk100.c @@ -576,7 +576,7 @@ READ8_MEMBER(vk100_state::SYSTAT_A) * write command -> 0x05 (normal, normal, /RTS is 1, normal, normal, recieve ON, /DTR is 0, transmit off) * read SYSTAT B (and xor with 0xe), expect d7 to be SET or jump to error * after this it does something and waits for an rxrdy interrupt - + shows the results of: * ACTS (/CTS) ? ? ? ? ? ? ? * d7 d6 d5 d4 d3 d2 d1 d0 |
