various devices and drivers: removed superfluous semicolons (nw)

This commit is contained in:
Ivan Vangelista 2020-06-29 23:17:24 +02:00
parent 1b3322edc3
commit ed39da783d
69 changed files with 105 additions and 105 deletions

View File

@ -109,9 +109,9 @@ private:
DECLARE_WRITE_LINE_MEMBER(fdc_intrq_w);
DECLARE_WRITE_LINE_MEMBER(fdc_drq_w);
void cmd_w(uint8_t data);;
void cmd_w(uint8_t data);
uint8_t status_r();
void clridx_w(uint8_t data);;
void clridx_w(uint8_t data);
void cpu_map(address_map &map);

View File

@ -1033,8 +1033,8 @@ void base_md_cart_slot_device::file_logging(uint8_t *ROM8, uint32_t rom_len, uin
rom_start = (ROM8[0x1a1] << 24 | ROM8[0x1a0] << 16 | ROM8[0x1a3] << 8 | ROM8[0x1a2]);
rom_end = (ROM8[0x1a5] << 24 | ROM8[0x1a4] << 16 | ROM8[0x1a7] << 8 | ROM8[0x1a6]);
ram_start = (ROM8[0x1a9] << 24 | ROM8[0x1a8] << 16 | ROM8[0x1ab] << 8 | ROM8[0x1aa]);;
ram_end = (ROM8[0x1ad] << 24 | ROM8[0x1ac] << 16 | ROM8[0x1af] << 8 | ROM8[0x1ae]);;
ram_start = (ROM8[0x1a9] << 24 | ROM8[0x1a8] << 16 | ROM8[0x1ab] << 8 | ROM8[0x1aa]);
ram_end = (ROM8[0x1ad] << 24 | ROM8[0x1ac] << 16 | ROM8[0x1af] << 8 | ROM8[0x1ae]);
if (ROM8[0x1b1] == 'R' && ROM8[0x1b0] == 'A')
{
valid_sram = true;

View File

@ -134,7 +134,7 @@ void msx_slot_fs4600_device::write(offs_t offset, uint8_t data)
break;
default:
logerror("msx_slot_fs4600: Unhandled write %02x to %04x\n", data, offset);;
logerror("msx_slot_fs4600: Unhandled write %02x to %04x\n", data, offset);
break;
}
}

View File

@ -80,7 +80,7 @@ uint16_t psx_gamebooster_device::exp_r(offs_t offset, uint16_t mem_mask)
else if (offset < 0x24000)
{
offset -= 0x20000;
uint16_t retval = 0;;
uint16_t retval = 0;
if (mem_mask & 0xff00) retval |= (m_cartslot->read_rom((offset*2)+1))<<8;
if (mem_mask & 0x00ff) retval |= m_cartslot->read_rom((offset*2)+0);

View File

@ -72,7 +72,7 @@ vsmile_ctrl_port_device::~vsmile_ctrl_port_device()
void vsmile_ctrl_port_device::device_resolve_objects()
{
m_device = get_card_device();;
m_device = get_card_device();
m_rts_cb.resolve_safe();
m_data_cb.resolve_safe();

View File

@ -24,7 +24,7 @@ private:
static const char *const mac_xop[];
static const char *const mac_yop[];
static const char *const mac_dst[];
static const char *const shift_xop[];;
static const char *const shift_xop[];
static const char *const reg_grp[][16];
static const char *const dual_xreg[];
static const char *const dual_yreg[];

View File

@ -108,7 +108,7 @@ am29000_cpu_device::am29000_cpu_device(const machine_config &mconfig, const char
m_fpe = 0;
m_inte = 0;
m_fps = 0;
memset( m_exception_queue, 0, sizeof( m_exception_queue) );;
memset( m_exception_queue, 0, sizeof( m_exception_queue) );
m_irq_active = 0;
m_irq_lines = 0;
m_exec_ir = 0;

View File

@ -793,7 +793,7 @@ void es5510_device::execute_run() {
// --- RAM cycle N-2 (if a Read cycle): data read from bus is stored in DIL
if (ram_pp.cycle != RAM_CYCLE_WRITE) {
if (ram_pp.io) { // read from I/O and store into DIL
dil = 0; // read_io(ram_pp.address);;
dil = 0; // read_io(ram_pp.address);
} else { // read from DRAM and store into DIL
dil = dram_r(ram_pp.address) << 8;
LOG_EXEC((" . RAM: read %x (%d) from address %x\n", dil, dil, ram_pp.address));

View File

@ -464,7 +464,7 @@ uint64_t h8_sci_device::internal_update(uint64_t current_time)
case CLKM_EXTERNAL_ASYNC:
case CLKM_EXTERNAL_SYNC:
break;;
break;
}
if(event) {
attotime ctime = machine().time();

View File

@ -60,10 +60,10 @@ void xavix2000_device::device_start()
{
xavix_device::device_start();
state_add(SXAVIX_J, "J", m_j).callimport().formatstr("%8s");;
state_add(SXAVIX_K, "K", m_k).callimport().formatstr("%8s");;
state_add(SXAVIX_L, "L", m_l).callimport().formatstr("%8s");;
state_add(SXAVIX_M, "M", m_m).callimport().formatstr("%8s");;
state_add(SXAVIX_J, "J", m_j).callimport().formatstr("%8s");
state_add(SXAVIX_K, "K", m_k).callimport().formatstr("%8s");
state_add(SXAVIX_L, "L", m_l).callimport().formatstr("%8s");
state_add(SXAVIX_M, "M", m_m).callimport().formatstr("%8s");
state_add(SXAVIX_PA, "PA", m_pa).callimport().formatstr("%8s");
state_add(SXAVIX_PB, "PB", m_pb).callimport().formatstr("%8s");
}

View File

@ -478,7 +478,7 @@ void m68hc05_device::device_start()
save_item(NAME(m_counter));
save_item(NAME(m_icr));
save_item(NAME(m_ocr));
save_item(NAME(m_inhibit_cap));;
save_item(NAME(m_inhibit_cap));
save_item(NAME(m_inhibit_cmp));
save_item(NAME(m_trl_buf));
save_item(NAME(m_trl_latched));

View File

@ -996,7 +996,7 @@ void sonyvu1_device::device_start()
save_item(NAME(m_p));
state_add(SONYVU1_P, "P", *(uint32_t*)&m_p).formatstr("%17s");;
state_add(SONYVU1_P, "P", *(uint32_t*)&m_p).formatstr("%17s");
}
void sonyvu1_device::device_reset()

View File

@ -142,7 +142,7 @@ inline void rsp_device::ccfunc_read32()
static void cfunc_read32(void *param)
{
((rsp_device *)param)->ccfunc_read32();;
((rsp_device *)param)->ccfunc_read32();
}
inline void rsp_device::ccfunc_write8()
@ -152,7 +152,7 @@ inline void rsp_device::ccfunc_write8()
static void cfunc_write8(void *param)
{
((rsp_device *)param)->ccfunc_write8();;
((rsp_device *)param)->ccfunc_write8();
}
inline void rsp_device::ccfunc_write16()
@ -162,7 +162,7 @@ inline void rsp_device::ccfunc_write16()
static void cfunc_write16(void *param)
{
((rsp_device *)param)->ccfunc_write16();;
((rsp_device *)param)->ccfunc_write16();
}
inline void rsp_device::ccfunc_write32()
@ -172,7 +172,7 @@ inline void rsp_device::ccfunc_write32()
static void cfunc_write32(void *param)
{
((rsp_device *)param)->ccfunc_write32();;
((rsp_device *)param)->ccfunc_write32();
}
/*****************************************************************************/

View File

@ -1077,7 +1077,7 @@ void tlcs870_device::do_JR_a(const uint8_t opbyte0)
int val = READ8();
if (val & 0x80) val -= 0x100;
m_addr = m_tmppc + 2 + val;;
m_addr = m_tmppc + 2 + val;
set_JF();
}

View File

@ -210,7 +210,7 @@ const enum tms9900_disassembler::opcodes tms9900_disassembler::ops_001c_002f_s0[
inline uint16_t tms9900_disassembler::readop_arg(const data_buffer &params, offs_t &PC)
{
uint16_t result = params.r16(PC);
PC += 2;;
PC += 2;
return result;
}

View File

@ -491,7 +491,7 @@ void fdc37c93x_device::write(offs_t offset, uint8_t data)
if (config_index < 0x30)
write_global_configuration_register(config_index, byt);
else
write_logical_configuration_register(config_index, byt);;
write_logical_configuration_register(config_index, byt);
}
else
return;
@ -882,12 +882,12 @@ void fdc37c93x_device::write_auxio_configuration_register(int index, int data)
if (index == 0xe8)
{
if (data & 16)
logerror("GP20 used as 8042 P20 keyboard reset line\n");;
logerror("GP20 used as 8042 P20 keyboard reset line\n");
}
if (index == 0xed)
{
if (data & 8)
logerror("GP25 used as GATEA20 line\n");;
logerror("GP25 used as GATEA20 line\n");
}
}

View File

@ -141,7 +141,7 @@ private:
// southbridge
uint8_t at_page8_r(offs_t offset);
void at_page8_w(offs_t offset, uint8_t data);;
void at_page8_w(offs_t offset, uint8_t data);
uint8_t at_portb_r();
void at_portb_w(uint8_t data);
DECLARE_WRITE_LINE_MEMBER(iochck_w);

View File

@ -848,7 +848,7 @@ void netlist_mame_stream_output_device::pre_parse_action(netlist::nlparse_t &par
const auto lambda = [this](auto &in, netlist::nl_fptype val)
{
this->process(in.exec().time(), val);;
this->process(in.exec().time(), val);
};
using lb_t = decltype(lambda);

View File

@ -377,7 +377,7 @@ WRITE_LINE_MEMBER( rtc9701_device::set_clock_line )
if (cmd_stream_pos>4)
{
rtc9701_data_pos++;
rtc9701_current_data = (rtc9701_current_data << 1) | (m_latch&1);;
rtc9701_current_data = (rtc9701_current_data << 1) | (m_latch&1);
}
if (cmd_stream_pos==12)
@ -438,7 +438,7 @@ WRITE_LINE_MEMBER( rtc9701_device::set_clock_line )
if (cmd_stream_pos>12)
{
rtc9701_data_pos++;
rtc9701_current_data = (rtc9701_current_data << 1) | (m_latch&1);;
rtc9701_current_data = (rtc9701_current_data << 1) | (m_latch&1);
}
if (cmd_stream_pos==28)

View File

@ -839,7 +839,7 @@ u16 smc91c9x_device::read(offs_t offset, u16 mem_mask)
if ( m_reg[B2_POINTER] & 0x8000 )
buffer = &m_buffer[curr_completed_rx() * ETHER_BUFFER_SIZE];
else
buffer = &m_buffer[(m_reg[B2_PNR_ARR] & 0x1f) * ETHER_BUFFER_SIZE];;
buffer = &m_buffer[(m_reg[B2_PNR_ARR] & 0x1f) * ETHER_BUFFER_SIZE];
result = buffer[addr++];
if ( ACCESSING_BITS_8_15 )
@ -1000,7 +1000,7 @@ void smc91c9x_device::write(offs_t offset, u16 data, u16 mem_mask)
if (m_reg[B2_POINTER] & RCV)
buffer = &m_buffer[curr_completed_rx() * ETHER_BUFFER_SIZE];
else
buffer = &m_buffer[(m_reg[B2_PNR_ARR] & 0x1f) * ETHER_BUFFER_SIZE];;
buffer = &m_buffer[(m_reg[B2_PNR_ARR] & 0x1f) * ETHER_BUFFER_SIZE];
buffer[addr++] = data;
if ( ACCESSING_BITS_8_15 )

View File

@ -882,7 +882,7 @@ void stvcd_device::cmd_seek_disc()
if (cr2 >> 8)
{
cd_stat = CD_STAT_PAUSE;
cur_track = cr2>>8;;
cur_track = cr2>>8;
cd_curfad = cdrom_get_track_start(cdrom, cur_track-1);
m_cdda->pause_audio(1);
// (index is cr2 low byte)

View File

@ -206,7 +206,7 @@ void c140_device::device_clock_changed()
/* allocate a pair of buffers to mix into - 1 second's worth should be more than enough */
m_mixer_buffer_left = std::make_unique<s16[]>(m_sample_rate);
m_mixer_buffer_right = std::make_unique<s16[]>(m_sample_rate);;
m_mixer_buffer_right = std::make_unique<s16[]>(m_sample_rate);
}

View File

@ -1653,7 +1653,7 @@ DISCRETE_STEP(dsd_ls624)
double freq, t1;
double v_freq_2, v_freq_3, v_freq_4;
double t_used = m_t_used;
double dt = this->sample_time();;
double dt = this->sample_time();
double v_freq = DSD_LS624__VMOD;
double v_rng = DSD_LS624__VRNG;
int count_f = 0, count_r = 0;

View File

@ -998,7 +998,7 @@ DISCRETE_RESET(dss_op_amp_osc)
m_charge_exp[0] = RC_CHARGE_EXP(m_charge_rc[0]);
m_charge_exp[1] = RC_CHARGE_EXP(m_charge_rc[1]);
m_threshold_low = (info->vP - OP_AMP_NORTON_VBE) / info->r4;
m_threshold_high = m_threshold_low + (info->vP - 2 * OP_AMP_NORTON_VBE) / info->r3;;
m_threshold_high = m_threshold_low + (info->vP - 2 * OP_AMP_NORTON_VBE) / info->r3;
m_threshold_low = m_threshold_low * info->r2 + OP_AMP_NORTON_VBE;
m_threshold_high = m_threshold_high * info->r2 + OP_AMP_NORTON_VBE;

View File

@ -275,7 +275,7 @@ uint16_t huc6261_device::read(offs_t offset)
break;
case 0x09:
data = m_priority[0] | ( m_priority[1] << 4 ) | ( m_priority[2] << 8 ) | ( m_priority[3] << 12 );;
data = m_priority[0] | ( m_priority[1] << 4 ) | ( m_priority[2] << 8 ) | ( m_priority[3] << 12 );
break;
}
break;

View File

@ -1750,7 +1750,7 @@ uint8_t vga_device::gc_reg_read(uint8_t index)
break;
case 0x05:
res = (vga.gc.shift256 & 1) << 6;
res |= (vga.gc.shift_reg & 1) << 5;;
res |= (vga.gc.shift_reg & 1) << 5;
res |= (vga.gc.host_oe & 1) << 4;
res |= (vga.gc.read_mode & 1) << 3;
res |= (vga.gc.write_mode & 3);

View File

@ -599,7 +599,7 @@ public:
// native read
NativeType read_native(offs_t offset, NativeType mask)
{
return dispatch_read<Level, Width, AddrShift, Endian>(offs_t(-1), offset & m_addrmask, mask, m_dispatch_read);;
return dispatch_read<Level, Width, AddrShift, Endian>(offs_t(-1), offset & m_addrmask, mask, m_dispatch_read);
}
// mask-less native read
@ -611,13 +611,13 @@ public:
// native write
void write_native(offs_t offset, NativeType data, NativeType mask)
{
dispatch_write<Level, Width, AddrShift, Endian>(offs_t(-1), offset & m_addrmask, data, mask, m_dispatch_write);;
dispatch_write<Level, Width, AddrShift, Endian>(offs_t(-1), offset & m_addrmask, data, mask, m_dispatch_write);
}
// mask-less native write
void write_native(offs_t offset, NativeType data)
{
dispatch_write<Level, Width, AddrShift, Endian>(offs_t(-1), offset & m_addrmask, data, uX(0xffffffffffffffffU), m_dispatch_write);;
dispatch_write<Level, Width, AddrShift, Endian>(offs_t(-1), offset & m_addrmask, data, uX(0xffffffffffffffffU), m_dispatch_write);
}
// virtual access to these functions

View File

@ -1441,7 +1441,7 @@ bool render_target::map_point_container(s32 target_x, s32 target_y, render_conta
bool render_target::map_point_input(s32 target_x, s32 target_y, ioport_port *&input_port, ioport_value &input_mask, float &input_x, float &input_y)
{
return map_point_internal(target_x, target_y, nullptr, input_x, input_y, input_port, input_mask);;
return map_point_internal(target_x, target_y, nullptr, input_x, input_y, input_port, input_mask);
}

View File

@ -267,7 +267,7 @@ DISCRETE_RESET(bzone_custom_filter)
m_gain[1] = BZONE_CUSTOM_FILTER__R5 / m_gain[1] + 1;
m_v_in1_gain = RES_VOLTAGE_DIVIDER(BZONE_CUSTOM_FILTER__R3, BZONE_CUSTOM_FILTER__R4);
m_v_p = BZONE_CUSTOM_FILTER__VP - OP_AMP_VP_RAIL_OFFSET;
m_exponent = RC_CHARGE_EXP(BZONE_CUSTOM_FILTER__R5 * BZONE_CUSTOM_FILTER__C);;
m_exponent = RC_CHARGE_EXP(BZONE_CUSTOM_FILTER__R5 * BZONE_CUSTOM_FILTER__C);
m_out_v = 0.0;
}

View File

@ -58,7 +58,7 @@ private:
TIMER_CALLBACK_MEMBER( setirq_callback );
void sharedram_semaphore_snd_acquire_w(uint8_t data);
void sharedram_semaphore_snd_release_w(uint8_t data);;
void sharedram_semaphore_snd_release_w(uint8_t data);
uint8_t sharedram_semaphore_main_r();
void ym2151_irq_ack_w(uint8_t data);
void cpu_irq_ack_w(uint8_t data);

View File

@ -111,7 +111,7 @@ protected:
double m_weights0[4] = { 0, 0, 0, 0 };
double m_weights1[3] = { 0, 0, 0 };
double m_weights2[3] = { 0, 0, 0 };
int m_eng0[4] = { 0, 0, 0, 0 };;
int m_eng0[4] = { 0, 0, 0, 0 };
int m_eng1[4] = { 0, 0, 0, 0 };
int m_eng2[4] = { 0, 0, 0, 0 };

View File

@ -1979,7 +1979,7 @@ void aerofgt_state::aerofgt(machine_config &config)
m_maincpu->set_vblank_int("screen", FUNC(aerofgt_state::irq1_line_hold)); /* all irq vectors are the same */
Z80(config, m_audiocpu, XTAL(20'000'000)/4); /* 5 MHz verified on pcb */
m_audiocpu->set_addrmap(AS_PROGRAM, &aerofgt_state::sound_map);;
m_audiocpu->set_addrmap(AS_PROGRAM, &aerofgt_state::sound_map);
m_audiocpu->set_addrmap(AS_IO, &aerofgt_state::aerofgt_sound_portmap); /* IRQs are triggered by the YM2610 */
MCFG_MACHINE_START_OVERRIDE(aerofgt_state,aerofgt)

View File

@ -910,8 +910,8 @@ void sc4_state::sc4_common(machine_config &config)
m_duart->set_clocks(XTAL(16'000'000)/2/8, XTAL(16'000'000)/2/16, XTAL(16'000'000)/2/16, XTAL(16'000'000)/2/8);
m_duart->irq_cb().set(FUNC(sc4_state::bfm_sc4_duart_irq_handler));
m_duart->a_tx_cb().set(FUNC(sc4_state::bfm_sc4_duart_txa));
m_duart->inport_cb().set(FUNC(sc4_state::bfm_sc4_duart_input_r));;
m_duart->outport_cb().set(FUNC(sc4_state::bfm_sc4_duart_output_w));;
m_duart->inport_cb().set(FUNC(sc4_state::bfm_sc4_duart_input_r));
m_duart->outport_cb().set(FUNC(sc4_state::bfm_sc4_duart_output_w));
BFM_BDA(config, m_vfd0, 60, 0);

View File

@ -347,8 +347,8 @@ void bfm_sc5_state::bfm_sc5(machine_config &config)
m_duart->set_clocks(16000000/2/8, 16000000/2/16, 16000000/2/16, 16000000/2/8);
m_duart->irq_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_irq_handler));
m_duart->a_tx_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_txa));
m_duart->inport_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_input_r));;
m_duart->outport_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_output_w));;
m_duart->inport_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_input_r));
m_duart->outport_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_output_w));
BFM_BDA(config, m_vfd0, 60, 0);

View File

@ -1077,7 +1077,7 @@ void cat_state::cat(machine_config &config)
m_duart->irq_cb().set(FUNC(cat_state::cat_duart_irq_handler));
m_duart->a_tx_cb().set(FUNC(cat_state::cat_duart_txa));
m_duart->b_tx_cb().set(FUNC(cat_state::cat_duart_txb));
m_duart->outport_cb().set(FUNC(cat_state::cat_duart_output));;
m_duart->outport_cb().set(FUNC(cat_state::cat_duart_output));
CENTRONICS(config, m_ctx, centronics_devices, "printer");
m_ctx->ack_handler().set(FUNC(cat_state::prn_ack_ff));

View File

@ -143,7 +143,7 @@ void chaos_state::kbd_put(u8 data)
void chaos_state::machine_start()
{
save_item(NAME(m_term_data));;
save_item(NAME(m_term_data));
}
void chaos_state::machine_reset()

View File

@ -415,7 +415,7 @@ READ_LINE_MEMBER(gekisou_state::gekisou_unknown_bit_r)
void gekisou_state::gekisou_unknown_bit_w(offs_t offset, uint16_t data)
{
// data bit is A17 (offset)
m_gekisou_unknown_bit = (offset == 0) ? 0 : 1;;
m_gekisou_unknown_bit = (offset == 0) ? 0 : 1;
}

View File

@ -755,10 +755,10 @@ void gimix_state::gimix(machine_config &config)
m_fdc->intrq_wr_callback().set(FUNC(gimix_state::fdc_irq_w));
m_fdc->drq_wr_callback().set(FUNC(gimix_state::fdc_drq_w));
m_fdc->set_force_ready(true);
FLOPPY_CONNECTOR(config, "fdc:0", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);;
FLOPPY_CONNECTOR(config, "fdc:1", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);;
FLOPPY_CONNECTOR(config, "fdc:2", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);;
FLOPPY_CONNECTOR(config, "fdc:3", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);;
FLOPPY_CONNECTOR(config, "fdc:0", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);
FLOPPY_CONNECTOR(config, "fdc:1", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);
FLOPPY_CONNECTOR(config, "fdc:2", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);
FLOPPY_CONNECTOR(config, "fdc:3", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);
/* parallel ports */
pia6821_device &pia1(PIA6821(config, "pia1", 2'000'000));

View File

@ -610,7 +610,7 @@ void ppking_state::ppking_qxcomu_w(u8 data)
MACHINE_RESET_MEMBER(ppking_state, ppking)
{
// yes, it expects to read DSW1 without sending commands first ...
m_mcu[0].rxd = (ioport("DSW1")->read() & 0x1f) << 2;;
m_mcu[0].rxd = (ioport("DSW1")->read() & 0x1f) << 2;
m_mcu[0].rst = 0;
m_mcu[0].state = 0;
}

View File

@ -117,7 +117,7 @@ uint32_t goldart_state::screen_update_goldart(screen_device& screen, bitmap_ind1
count++;
dstptr_bitmap[x*2] = ((data&0xf0)>>4) | (data2 & 0xf0);;
dstptr_bitmap[x*2] = ((data&0xf0)>>4) | (data2 & 0xf0);
dstptr_bitmap[(x*2)+1] = (data&0x0f) | ((data2 & 0x0f)<<4);
}
}

View File

@ -18412,7 +18412,7 @@ void wingco_state::init_super972()
m_decrypted_opcodes[i] = rom [i];
for (int i = 0xc000; i < 0xe000; i++)
m_decrypted_opcodes[i] = bitswap<8>(m_decrypted_opcodes[i], 7, 4, 5, 6, 3, 0, 1, 2);;
m_decrypted_opcodes[i] = bitswap<8>(m_decrypted_opcodes[i], 7, 4, 5, 6, 3, 0, 1, 2);
for (int i = 0xc000; i < 0xe000; i++)
rom[i] = bitswap<8>(rom[i], 7, 2, 5, 0, 3, 6, 1, 4);

View File

@ -395,7 +395,7 @@ READ_LINE_MEMBER(kenseim_state::cmd_req_r)
READ_LINE_MEMBER(kenseim_state::cmd_LVm_r)
{
return m_to_68k_cmd_LVm;;
return m_to_68k_cmd_LVm;
}
/* 68k side COMMS writes */

View File

@ -632,7 +632,7 @@ void konmedal_state::tsukande(machine_config &config)
TIMER(config, "scantimer").configure_scanline(FUNC(konmedal_state::konmedal_scanline), "screen", 0, 1);
NVRAM(config, m_nvram, nvram_device::DEFAULT_ALL_0);
m_nvram->set_custom_handler(FUNC(konmedal_state::medal_nvram_init));;
m_nvram->set_custom_handler(FUNC(konmedal_state::medal_nvram_init));
HOPPER(config, "hopper", attotime::from_msec(100), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_HIGH);
K053252(config, m_k053252, XTAL(14'318'181) / 2); // not verified
@ -675,7 +675,7 @@ void konmedal_state::ddboy(machine_config &config)
TIMER(config, "scantimer").configure_scanline(FUNC(konmedal_state::konmedal_scanline), "screen", 0, 1);
NVRAM(config, m_nvram, nvram_device::DEFAULT_ALL_0);
m_nvram->set_custom_handler(FUNC(konmedal_state::medal_nvram_init));;
m_nvram->set_custom_handler(FUNC(konmedal_state::medal_nvram_init));
HOPPER(config, "hopper", attotime::from_msec(100), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_HIGH);
K053252(config, m_k053252, XTAL(14'318'181) / 2); // not verified
@ -820,7 +820,7 @@ void konmedal_state::shuriboy(machine_config &config)
TIMER(config, "scantimer").configure_scanline(FUNC(konmedal_state::shuri_scanline), "screen", 0, 1);
NVRAM(config, m_nvram, nvram_device::DEFAULT_ALL_0);
m_nvram->set_custom_handler(FUNC(konmedal_state::shuriboy_nvram_init));;
m_nvram->set_custom_handler(FUNC(konmedal_state::shuriboy_nvram_init));
HOPPER(config, "hopper", attotime::from_msec(100), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_HIGH);
/* video hardware */

View File

@ -349,9 +349,9 @@ void luckybal_state::main_io(address_map &map)
{
map.global_mask(0xff);
map(0x00, 0x0a).nopr().nopw();; // Z180 Internal registers.
map(0x00, 0x0a).nopr().nopw(); // Z180 Internal registers.
map(0x0b, 0x0b).nopr().w(FUNC(luckybal_state::z180_trdr_w));
map(0x0c, 0x3f).nopr().nopw();; // Z180 Internal registers.
map(0x0c, 0x3f).nopr().nopw(); // Z180 Internal registers.
map(0x90, 0x90).w(FUNC(luckybal_state::port90_bitswap_w));
map(0xc0, 0xc3).rw(FUNC(luckybal_state::ppi_bitswap_r), FUNC(luckybal_state::ppi_bitswap_w));

View File

@ -134,7 +134,7 @@ void m79152pc_state::lc_reset_w(u8 data)
void m79152pc_state::mem_map(address_map &map)
{
map.unmap_value_high();
map(0x0000, 0x3fff).rom().region("maincpu", 0);;
map(0x0000, 0x3fff).rom().region("maincpu", 0);
map(0x4000, 0x47ff).ram();
map(0x8000, 0x8fff).ram().share("videoram");
map(0x9000, 0x9fff).ram().share("attributes");

View File

@ -721,7 +721,7 @@ void maygay1b_state::maygay_m1(machine_config &config)
MC68681(config, m_duart68681, M1_DUART_CLOCK);
m_duart68681->irq_cb().set(FUNC(maygay1b_state::duart_irq_handler));
m_duart68681->inport_cb().set(FUNC(maygay1b_state::m1_duart_r));;
m_duart68681->inport_cb().set(FUNC(maygay1b_state::m1_duart_r));
pia6821_device &pia(PIA6821(config, "pia", 0));
pia.writepa_handler().set(FUNC(maygay1b_state::m1_pia_porta_w));

View File

@ -918,7 +918,7 @@ void maygayv1_state::maygayv1(machine_config &config)
MC68681(config, m_duart68681, DUART_CLOCK);
m_duart68681->irq_cb().set(FUNC(maygayv1_state::duart_irq_handler));
m_duart68681->a_tx_cb().set(FUNC(maygayv1_state::duart_txa));;
m_duart68681->a_tx_cb().set(FUNC(maygayv1_state::duart_txa));
i8279_device &kbdc(I8279(config, "i8279", MASTER_CLOCK/4)); // unknown clock
kbdc.out_sl_callback().set(FUNC(maygayv1_state::strobe_w)); // scan SL lines

View File

@ -611,7 +611,7 @@ void mtech_state::init_mt_crt()
uint8_t* pin = memregion("sms_pin")->base();
init_mt_slot();
m_cart_is_genesis[0] = !pin[0] ? 1 : 0;;
m_cart_is_genesis[0] = !pin[0] ? 1 : 0;
}

View File

@ -884,7 +884,7 @@ void mz2000_state::mz2000(machine_config &config)
i8255_device &ppi(I8255(config, "i8255_0"));
ppi.in_pa_callback().set(FUNC(mz2000_state::mz2000_porta_r));
ppi.out_pa_callback().set(FUNC(mz2000_state::mz2000_porta_w));;
ppi.out_pa_callback().set(FUNC(mz2000_state::mz2000_porta_w));
ppi.in_pb_callback().set(FUNC(mz2000_state::mz2000_portb_r));
ppi.out_pb_callback().set(FUNC(mz2000_state::mz2000_portb_w));
ppi.in_pc_callback().set(FUNC(mz2000_state::mz2000_portc_r));

View File

@ -1802,7 +1802,7 @@ void nemesis_state::gx400(machine_config &config)
m_audiocpu->set_addrmap(AS_PROGRAM, &nemesis_state::gx400_sound_map);
ls259_device &outlatch(LS259(config, "outlatch"));
outlatch.q_out_cb<0>().set(FUNC(nemesis_state::coin1_lockout_w));;
outlatch.q_out_cb<0>().set(FUNC(nemesis_state::coin1_lockout_w));
outlatch.q_out_cb<1>().set(FUNC(nemesis_state::coin2_lockout_w));
outlatch.q_out_cb<2>().set(FUNC(nemesis_state::sound_irq_w));
outlatch.q_out_cb<7>().set(FUNC(nemesis_state::irq4_enable_w)); // ??
@ -1932,7 +1932,7 @@ void nemesis_state::rf2_gx400(machine_config &config)
m_audiocpu->set_addrmap(AS_PROGRAM, &nemesis_state::gx400_sound_map);
ls259_device &outlatch(LS259(config, "outlatch"));
outlatch.q_out_cb<0>().set(FUNC(nemesis_state::coin1_lockout_w));;
outlatch.q_out_cb<0>().set(FUNC(nemesis_state::coin1_lockout_w));
outlatch.q_out_cb<1>().set(FUNC(nemesis_state::coin2_lockout_w));
outlatch.q_out_cb<2>().set(FUNC(nemesis_state::sound_irq_w));
outlatch.q_out_cb<7>().set(FUNC(nemesis_state::irq4_enable_w)); // ??

View File

@ -691,7 +691,7 @@ void ps2sony_state::mem_map(address_map &map)
map(0x10005000, 0x1000500f).mirror(0xff0).rw(m_vu1, FUNC(sonyvu1_device::vif_r), FUNC(sonyvu1_device::vif_w));
map(0x10006000, 0x1000600f).mirror(0xff0).rw(FUNC(ps2sony_state::gif_fifo_r), FUNC(ps2sony_state::gif_fifo_w));
map(0x10007000, 0x1000701f).mirror(0xfe0).rw(FUNC(ps2sony_state::ipu_fifo_r), FUNC(ps2sony_state::ipu_fifo_w));
map(0x10008000, 0x1000dfff).rw(m_dmac, FUNC(ps2_dmac_device::channel_r), FUNC(ps2_dmac_device::channel_w)).umask64(0x00000000ffffffff);;
map(0x10008000, 0x1000dfff).rw(m_dmac, FUNC(ps2_dmac_device::channel_r), FUNC(ps2_dmac_device::channel_w)).umask64(0x00000000ffffffff);
map(0x1000e000, 0x1000efff).rw(m_dmac, FUNC(ps2_dmac_device::read), FUNC(ps2_dmac_device::write)).umask64(0x00000000ffffffff);
map(0x1000f000, 0x1000f017).rw(m_intc, FUNC(ps2_intc_device::read), FUNC(ps2_intc_device::write)).umask64(0x00000000ffffffff);
map(0x1000f130, 0x1000f137).nopr();

View File

@ -4105,7 +4105,7 @@ void segas1x_bootleg_state::init_beautyb()
/* Sys18 */
void segas1x_bootleg_state::init_shdancbl()
{
uint8_t *mem = m_soundcpu_region->base();;
uint8_t *mem = m_soundcpu_region->base();
/* Copy first 32K of IC45 to Z80 address space */
memcpy(mem, mem + 0x10000, 0x8000);

View File

@ -2517,7 +2517,7 @@ void taitob_state::selfeena(machine_config &config)
ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2)); /* 8 MHz */
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
ymsnd.add_route(0, "mono", 0.25);
ymsnd.add_route(1, "mono", 1.0);;
ymsnd.add_route(1, "mono", 1.0);
ymsnd.add_route(2, "mono", 1.0);
tc0140syt_device &tc0140syt(TC0140SYT(config, "tc0140syt", 0));

View File

@ -1929,7 +1929,7 @@ void stepstag_state::stepstag(machine_config &config)
// mscreen.set_palette(m_vj_palette_m));
screen_device &rscreen(SCREEN(config, "rscreen", SCREEN_TYPE_RASTER));
rscreen.set_orientation(ROT270);;
rscreen.set_orientation(ROT270);
rscreen.set_refresh_hz(30);
rscreen.set_vblank_time(ATTOSECONDS_IN_USEC(0));
rscreen.set_size(0x160, 0xf0);

View File

@ -752,7 +752,7 @@ void ti99_8_state::ti99_8(machine_config& config)
// Cassette drive
SPEAKER(config, "cass_out").front_center();
CASSETTE(config, "cassette", 0).add_route(ALL_OUTPUTS, "cass_out", 0.25);;
CASSETTE(config, "cassette", 0).add_route(ALL_OUTPUTS, "cass_out", 0.25);
// GROM library
using namespace bus::ti99::internal;

View File

@ -77,7 +77,7 @@ void tulip1_state::mem_map(address_map &map)
{
map(0x00000, 0x1ffff).ram();
map(0x20000, 0xdffff).noprw();
map(0xe0000, 0xe0fff).ram().share("vram");;
map(0xe0000, 0xe0fff).ram().share("vram");
map(0xfe000, 0xfffff).rom().region("bios", 0);
}

View File

@ -584,7 +584,7 @@ void vigilant_state::buccanrs(machine_config &config)
ym1.add_route(3, "lspeaker", 0.50);
ym1.add_route(3, "rspeaker", 0.50);
ym2203_device &ym2(YM2203(config, "ym2", 18432000/6));;
ym2203_device &ym2(YM2203(config, "ym2", 18432000/6));
ym2.add_route(0, "lspeaker", 0.35);
ym2.add_route(0, "rspeaker", 0.35);
ym2.add_route(1, "lspeaker", 0.35);

View File

@ -508,7 +508,7 @@ void vp415_state::vp415(machine_config &config)
// Module S: Control
I8031(config, m_ctrlcpu, XTAL(11'059'200)); // 11.059MHz, per schematic
m_ctrlcpu->port_out_cb<1>().set(FUNC(vp415_state::ctrl_cpu_port1_w));;
m_ctrlcpu->port_out_cb<1>().set(FUNC(vp415_state::ctrl_cpu_port1_w));
m_ctrlcpu->port_in_cb<1>().set(FUNC(vp415_state::ctrl_cpu_port1_r));
m_ctrlcpu->port_out_cb<3>().set(FUNC(vp415_state::ctrl_cpu_port3_w));
m_ctrlcpu->port_in_cb<3>().set(FUNC(vp415_state::ctrl_cpu_port3_r));

View File

@ -3482,7 +3482,7 @@ void vt_vt1682_state::do_dma_external_to_internal(int data, bool is_video)
dstaddr++;
// update registers
set_dma_dt_addr(dstaddr);;
set_dma_dt_addr(dstaddr);
set_dma_sr_addr(srcaddr);
}
}
@ -4301,7 +4301,7 @@ void vt_vt1682_state::draw_tile_pixline(int segment, int tile, int tileline, int
bytes_in = 2;
}
int xbase = x;;
int xbase = x;
for (int xx = 0; xx < tilesize_wide; xx += 4) // tile x pixels
{

View File

@ -155,7 +155,7 @@ private:
uint8_t megaduck_sound_r1(offs_t offset);
void megaduck_sound_w2(offs_t offset, uint8_t data);
uint8_t megaduck_sound_r2(offs_t offset);
void megaduck_palette(palette_device &palette) const;;
void megaduck_palette(palette_device &palette) const;
void megaduck_map(address_map &map);
uint8_t cart_r(offs_t offset);

View File

@ -53,15 +53,15 @@ private:
void coin_w(uint8_t data);
void led_w(uint8_t data);
void cus115_w(offs_t offset, uint8_t data);
void videoram1_w(offs_t offset, uint8_t data);;
void videoram2_w(offs_t offset, uint8_t data);;
void tilebank_select_w(offs_t offset, uint8_t data);;
void scroll0_w(offs_t offset, uint8_t data);;
void scroll1_w(offs_t offset, uint8_t data);;
void scroll2_w(offs_t offset, uint8_t data);;
void scroll3_w(offs_t offset, uint8_t data);;
void backcolor_w(uint8_t data);;
void spriteram_w(offs_t offset, uint8_t data);;
void videoram1_w(offs_t offset, uint8_t data);
void videoram2_w(offs_t offset, uint8_t data);
void tilebank_select_w(offs_t offset, uint8_t data);
void scroll0_w(offs_t offset, uint8_t data);
void scroll1_w(offs_t offset, uint8_t data);
void scroll2_w(offs_t offset, uint8_t data);
void scroll3_w(offs_t offset, uint8_t data);
void backcolor_w(uint8_t data);
void spriteram_w(offs_t offset, uint8_t data);
TILE_GET_INFO_MEMBER(get_tile_info0);
TILE_GET_INFO_MEMBER(get_tile_info1);

View File

@ -57,7 +57,7 @@ private:
uint8_t irq6_ack_r();
void irq6_ack_w(uint8_t data);
void priority_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);;
void priority_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
void palette_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
void palette_ext_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);

View File

@ -42,10 +42,10 @@ protected:
private:
uint16_t video_ram_r(offs_t offset);
void video_ram_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);;
void video_ctrl_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);;
void video_ram_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
void video_ctrl_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
uint16_t video_ctrl_r();
void video_mask_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);;
void video_mask_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
void counters_w(uint8_t data);
void volfied_colpri_cb(u32 &sprite_colbank, u32 &pri_mask, u16 sprite_ctrl);
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);

View File

@ -164,7 +164,7 @@ void namcoc65_device::mcu_map(address_map &map)
map(0x3003, 0x3003).r(FUNC(namcoc65_device::mcudi3_r));
map(0x5000, 0x57ff).rw(FUNC(namcoc65_device::dpram_byte_r), FUNC(namcoc65_device::dpram_byte_w));
map(0x6000, 0x6fff).nopr(); /* watchdog */
map(0x8000, 0xffff).rom().region("external", 0);; /* external ROM socket */
map(0x8000, 0xffff).rom().region("external", 0); /* external ROM socket */
}

View File

@ -448,7 +448,7 @@ void scramble_state::init_hustler()
{
int bits[8];
for (int i = 0;i < 8;i++)
bits[i] = BIT(A, i);;
bits[i] = BIT(A, i);
uint8_t xormask = 0xff;
if (bits[0] ^ bits[1]) xormask ^= 0x01;

View File

@ -468,7 +468,7 @@ void elan_eu3a14vid_device::draw_background_ramlayer(screen_device& screen, bitm
// this register use is questionable
if (m_ramtilecfg[0] & 0x80)
{
int rtm_size;;
int rtm_size;
int rtm_pagewidth;
int rtm_pageheight;
int rtm_yscroll;

View File

@ -314,7 +314,7 @@ void light_video_device::do_rex_command()
const uint32_t end_x = m_lg1.m_x_end_i;
const uint32_t end_y = m_lg1.m_y_end_i;
const uint32_t src_start_x = start_x + (m_lg1.m_xy_move >> 16);
const uint32_t src_start_y = start_y + (uint16_t)m_lg1.m_xy_move;;
const uint32_t src_start_y = start_y + (uint16_t)m_lg1.m_xy_move;
LOGMASKED(LOG_REX, "LG1: Command %08x: Block copy from %d,%d-%d,%d inclusive.\n", m_lg1.m_command, start_x, start_y, end_x, end_y);
if (copy)

View File

@ -167,19 +167,19 @@ uint32_t suprridr_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
const rectangle &visarea = screen.visible_area();
/* render left 4 columns with no scroll */
subclip = visarea;;
subclip = visarea;
subclip.max_x = subclip.min_x + (m_flipx ? 1*8 : 4*8) - 1;
subclip &= cliprect;
m_bg_tilemap_noscroll->draw(screen, bitmap, subclip, 0, 0);
/* render right 1 column with no scroll */
subclip = visarea;;
subclip = visarea;
subclip.min_x = subclip.max_x - (m_flipx ? 4*8 : 1*8) + 1;
subclip &= cliprect;
m_bg_tilemap_noscroll->draw(screen, bitmap, subclip, 0, 0);
/* render the middle columns normally */
subclip = visarea;;
subclip = visarea;
subclip.min_x += m_flipx ? 1*8 : 4*8;
subclip.max_x -= m_flipx ? 4*8 : 1*8;
subclip &= cliprect;

View File

@ -144,7 +144,7 @@ pen_t s97269pb_device::choose_pen(uint8_t x, uint8_t y, pen_t back_pen)
case 0x4:
// black-to-blue
return rgb_t(0, 0, (gradient_flags & 0x0f) * 0x11);;
return rgb_t(0, 0, (gradient_flags & 0x0f) * 0x11);
break;
case 0xf: