diff options
author | 2016-11-27 09:56:49 +1100 | |
---|---|---|
committer | 2016-11-27 09:56:49 +1100 | |
commit | 7238415d1f30cae0b47e54dd04eb0b5e558c132e (patch) | |
tree | 3829a830029d7b31878bb9f67dec4d8d519f1e62 /src/mame | |
parent | 1637c91a5ccf77dae40a3edab7af1e0b64b92bf7 (diff) |
srcclean (nw)
Diffstat (limited to 'src/mame')
61 files changed, 1328 insertions, 1328 deletions
diff --git a/src/mame/audio/rax.cpp b/src/mame/audio/rax.cpp index ca285659913..5bccf4706fd 100644 --- a/src/mame/audio/rax.cpp +++ b/src/mame/audio/rax.cpp @@ -3,7 +3,7 @@ /*************************************************************************** Acclaim RAX Sound Board - + ****************************************************************************/ #include "emu.h" @@ -93,7 +93,7 @@ READ16_MEMBER( acclaim_rax_device::adsp_control_r ) WRITE16_MEMBER( acclaim_rax_device::adsp_control_w ) { m_control_regs[offset] = data; - + switch (offset) { case 0x1: @@ -116,9 +116,9 @@ WRITE16_MEMBER( acclaim_rax_device::adsp_control_w ) uint32_t dir = (m_control_regs[BDMA_CONTROL_REG] >> 2) & 1; uint32_t type = m_control_regs[BDMA_CONTROL_REG] & 3; uint32_t src_addr = (page << 14) | m_control_regs[BDMA_EXT_ADDR_REG]; - + uint32_t count = m_control_regs[BDMA_WORD_COUNT_REG]; - + address_space* addr_space = (type == 0 ? m_program : m_data); if (dir == 0) @@ -139,7 +139,7 @@ WRITE16_MEMBER( acclaim_rax_device::adsp_control_w ) else if (type == 1) { while (count) - { + { uint16_t src_word = (adsp_rom[src_addr + 0] << 8) | adsp_rom[src_addr + 1]; addr_space->write_word(m_control_regs[BDMA_INT_ADDR_REG] * 2, src_word); @@ -152,9 +152,9 @@ WRITE16_MEMBER( acclaim_rax_device::adsp_control_w ) else { int shift = type == 2 ? 8 : 0; - + while (count) - { + { uint16_t src_word = adsp_rom[src_addr] << shift; addr_space->write_word(m_control_regs[BDMA_INT_ADDR_REG] * 2, src_word); @@ -176,7 +176,7 @@ WRITE16_MEMBER( acclaim_rax_device::adsp_control_w ) break; } - + case S1_AUTOBUF_REG: /* autobuffer off: nuke the timer, and disable the DAC */ if ((data & 0x0002) == 0) @@ -184,7 +184,7 @@ WRITE16_MEMBER( acclaim_rax_device::adsp_control_w ) dmadac_enable(&m_dmadac[1], 1, 0); } break; - + case S0_AUTOBUF_REG: /* autobuffer off: nuke the timer, and disable the DAC */ if ((data & 0x0002) == 0) @@ -193,7 +193,7 @@ WRITE16_MEMBER( acclaim_rax_device::adsp_control_w ) m_reg_timer[0]->reset(); } break; - + case S1_CONTROL_REG: if (((data >> 4) & 3) == 2) fatalerror("DCS: Oh no!, the data is compressed with u-law encoding\n"); @@ -220,7 +220,7 @@ TIMER_DEVICE_CALLBACK_MEMBER( acclaim_rax_device::dma_timer_callback ) m_control_regs[BDMA_EXT_ADDR_REG] = param & 0x3fff; m_control_regs[BDMA_CONTROL_REG] &= ~0xff00; m_control_regs[BDMA_CONTROL_REG] |= ((param >> 14) & 0xff) << 8; - + if (m_control_regs[BDMA_CONTROL_REG] & 8) m_cpu->set_input_line(INPUT_LINE_RESET, PULSE_LINE); else @@ -298,10 +298,10 @@ void acclaim_rax_device::device_start() m_dmadac[0] = subdevice<dmadac_sound_device>("dacl"); m_dmadac[1] = subdevice<dmadac_sound_device>("dacr"); - + m_reg_timer[0] = subdevice<timer_device>("adsp_reg_timer0"); m_dma_timer = subdevice<timer_device>("adsp_dma_timer"); - + // 1 bank for internal membank("databank")->configure_entries(0, 5, auto_alloc_array(machine(), uint16_t, 0x2000 * 5), 0x2000*sizeof(uint16_t)); } @@ -322,15 +322,15 @@ void acclaim_rax_device::device_reset() m_adsp_snd_pf0 = 1; m_rom_bank = 0; - + /* initialize our state structure and install the transmit callback */ m_size[0] = 0; m_incs[0] = 0; m_ireg[0] = 0; - + /* initialize the ADSP control regs */ memset(m_control_regs, 0, sizeof(m_control_regs)); - + m_dmovlay_val = 0; m_data_bank = 0; update_data_ram_bank(); @@ -344,10 +344,10 @@ void acclaim_rax_device::adsp_irq(int which) /* get the index register */ int reg = m_cpu->state_int(ADSP2100_I0 + m_ireg[which]); - + /* copy the current data into the buffer */ int count = m_size[which] / (4 * (m_incs[which] ? m_incs[which] : 1)); - + int16_t buffer[0x100]; for (uint32_t i = 0; i < count; i++) @@ -378,15 +378,15 @@ TIMER_DEVICE_CALLBACK_MEMBER( acclaim_rax_device::adsp_irq0 ) void acclaim_rax_device::recompute_sample_rate(int which) { /* calculate how long until we generate an interrupt */ - + /* frequency the time per each bit sent */ attotime sample_period = attotime::from_hz(m_cpu->unscaled_clock()) * (1 * (m_control_regs[which ? S1_SCLKDIV_REG : S0_SCLKDIV_REG] + 1)); - + /* now put it down to samples, so we know what the channel frequency has to be */ sample_period = sample_period * (16 * 1); dmadac_set_frequency(&m_dmadac[0], 2, ATTOSECONDS_TO_HZ(sample_period.attoseconds())); dmadac_enable(&m_dmadac[0], 2, 1); - + /* fire off a timer which will hit every half-buffer */ if (m_incs[which]) { @@ -398,7 +398,7 @@ void acclaim_rax_device::recompute_sample_rate(int which) WRITE32_MEMBER(acclaim_rax_device::adsp_sound_tx_callback) { int which = offset; - + if (which != 0) return; @@ -413,27 +413,27 @@ WRITE32_MEMBER(acclaim_rax_device::adsp_sound_tx_callback) /* get the autobuffer registers */ int mreg, lreg; uint16_t source; - + m_ireg[which] = (m_control_regs[autobuf_reg] >> 9) & 7; mreg = (m_control_regs[autobuf_reg] >> 7) & 3; mreg |= m_ireg[which] & 0x04; /* msb comes from ireg */ lreg = m_ireg[which]; - + /* now get the register contents in a more legible format */ /* we depend on register indexes to be continuous (which is the case in our core) */ source = m_cpu->state_int(ADSP2100_I0 + m_ireg[which]); m_incs[which] = m_cpu->state_int(ADSP2100_M0 + mreg); m_size[which] = m_cpu->state_int(ADSP2100_L0 + lreg); - + /* get the base value, since we need to keep it around for wrapping */ source -= m_incs[which]; - + /* make it go back one so we dont lose the first sample */ m_cpu->set_state_int(ADSP2100_I0 + m_ireg[which], source); - + /* save it as it is now */ m_ireg_base[which] = source; - + /* recompute the sample rate and timer */ recompute_sample_rate(which); return; @@ -441,10 +441,10 @@ WRITE32_MEMBER(acclaim_rax_device::adsp_sound_tx_callback) else logerror( "ADSP SPORT1: trying to transmit and autobuffer not enabled!\n" ); } - + /* if we get there, something went wrong. Disable playing */ dmadac_enable(&m_dmadac[0], 2, 0); - + /* remove timer */ m_reg_timer[which]->reset(); } diff --git a/src/mame/audio/rax.h b/src/mame/audio/rax.h index e284771f79a..45058a82eab 100644 --- a/src/mame/audio/rax.h +++ b/src/mame/audio/rax.h @@ -22,31 +22,31 @@ public: READ16_MEMBER( data_r ); WRITE16_MEMBER( data_w ); - + READ16_MEMBER(adsp_control_r); WRITE16_MEMBER(adsp_control_w); WRITE16_MEMBER(ram_bank_w); WRITE16_MEMBER(rom_bank_w); - + READ16_MEMBER(host_r); WRITE16_MEMBER(host_w); - + void update_data_ram_bank(); void adsp_irq(int which); void recompute_sample_rate(int which); - + WRITE32_MEMBER(adsp_sound_tx_callback); - + TIMER_DEVICE_CALLBACK_MEMBER(adsp_irq0); TIMER_DEVICE_CALLBACK_MEMBER(sport0_irq); WRITE32_MEMBER(dmovlay_callback); - + required_device<adsp2181_device> m_cpu; - required_shared_ptr<uint32_t> m_adsp_pram; - required_memory_bank m_adsp_data_bank; + required_shared_ptr<uint32_t> m_adsp_pram; + required_memory_bank m_adsp_data_bank; uint32_t m_adsp_snd_pf0; - + struct { uint16_t bdma_internal_addr; @@ -54,38 +54,38 @@ public: uint16_t bdma_control; uint16_t bdma_word_count; } m_adsp_regs; - + address_space *m_program; address_space *m_data; - - uint16_t m_control_regs[32]; - uint8_t* m_rom; - - + + uint16_t m_control_regs[32]; + uint8_t* m_rom; + + /* sound output */ - uint16_t m_size[2]; - uint16_t m_incs[2]; - dmadac_sound_device *m_dmadac[2]; - timer_device *m_reg_timer[2]; - timer_device *m_sport_timer; - uint32_t m_ireg[2]; - uint16_t m_ireg_base[2]; - - uint32_t m_data_bank; - uint32_t m_rom_bank; - uint32_t m_dmovlay_val; + uint16_t m_size[2]; + uint16_t m_incs[2]; + dmadac_sound_device *m_dmadac[2]; + timer_device *m_reg_timer[2]; + timer_device *m_sport_timer; + uint32_t m_ireg[2]; + uint16_t m_ireg_base[2]; + + uint32_t m_data_bank; + uint32_t m_rom_bank; + uint32_t m_dmovlay_val; required_device<generic_latch_16_device> m_data_in; required_device<generic_latch_16_device> m_data_out; - + timer_device *m_dma_timer; TIMER_DEVICE_CALLBACK_MEMBER( dma_timer_callback ); - + protected: // device-level overrides virtual void device_start() override; virtual void device_reset() override; - virtual machine_config_constructor device_mconfig_additions() const override; + virtual machine_config_constructor device_mconfig_additions() const override; }; // device type definition diff --git a/src/mame/drivers/amusco.cpp b/src/mame/drivers/amusco.cpp index 4de43260602..06ecffe728d 100644 --- a/src/mame/drivers/amusco.cpp +++ b/src/mame/drivers/amusco.cpp @@ -230,7 +230,7 @@ WRITE8_MEMBER(amusco_state::output_a_w) output().set_lamp_value(4, (data >> 4) & 1); // Lamp 4 (Hold/Disc 2) output().set_lamp_value(5, (data >> 5) & 1); // Lamp 5 (Hold/Disc 4) -// logerror("Writing %02Xh to PPI output A\n", data); +// logerror("Writing %02Xh to PPI output A\n", data); } WRITE8_MEMBER(amusco_state::output_b_w) @@ -251,12 +251,12 @@ WRITE8_MEMBER(amusco_state::output_b_w) //machine().bookkeeping().coin_counter_w(0, ~data & 0x10); // Probably not coin-related -// logerror("Writing %02Xh to PPI output B\n", data); +// logerror("Writing %02Xh to PPI output B\n", data); } WRITE8_MEMBER(amusco_state::output_c_w) { -// logerror("Writing %02Xh to PPI output C\n", data); +// logerror("Writing %02Xh to PPI output C\n", data); } WRITE8_MEMBER(amusco_state::vram_w) diff --git a/src/mame/drivers/aristmk5.cpp b/src/mame/drivers/aristmk5.cpp index bf6b59aa5f1..2327d751cda 100644 --- a/src/mame/drivers/aristmk5.cpp +++ b/src/mame/drivers/aristmk5.cpp @@ -732,11 +732,11 @@ DRIVER_INIT_MEMBER(aristmk5_state,aristmk5) { calculatedchecksum += ROM[i]; - // printf("Using address %08x, value %08x, Calculated Checksum %08x\n", i*4, ROM[i], calculatedchecksum); + // printf("Using address %08x, value %08x, Calculated Checksum %08x\n", i*4, ROM[i], calculatedchecksum); } else { - // printf("SKIPPING address %08x, value %08x, Calculated Checksum %08x\n", i*4, ROM[i], calculatedchecksum); + // printf("SKIPPING address %08x, value %08x, Calculated Checksum %08x\n", i*4, ROM[i], calculatedchecksum); } } @@ -876,27 +876,27 @@ static MACHINE_CONFIG_START( aristmk5, aristmk5_state ) // TL16C452FN U71 MCFG_DEVICE_ADD("uart_0a", NS16450, MASTER_CLOCK / 9) -// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) +// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) MCFG_DEVICE_ADD("uart_0b", NS16450, MASTER_CLOCK / 9) -// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) +// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) // TL16C452FN U72 MCFG_DEVICE_ADD("uart_1a", NS16450, MASTER_CLOCK / 9) -// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) +// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) MCFG_DEVICE_ADD("uart_1b", NS16450, MASTER_CLOCK / 9) -// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) +// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) // COMM port 4 - 5 MCFG_DEVICE_ADD("uart_2a", NS16450, MASTER_CLOCK / 9) -// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) +// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) MCFG_DEVICE_ADD("uart_2b", NS16450, MASTER_CLOCK / 9) -// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) +// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) // COMM port 6 - 7 MCFG_DEVICE_ADD("uart_3a", NS16450, MASTER_CLOCK / 9) -// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) +// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) MCFG_DEVICE_ADD("uart_3b", NS16450, MASTER_CLOCK / 9) -// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) +// MCFG_INS8250_OUT_INT_CB(WRITELINE(aristmk5_state, uart_irq_callback)) MCFG_DS1302_ADD("rtc", XTAL_32_768kHz) @@ -963,12 +963,12 @@ ROM_END ROM_START( adonis ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000bf8 - 0x000000-0x05eb1b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xfc98a056 - Calculated Checksum 0xfc98a056 (OK) - 0x05eb1c-0x10fa8b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05eb1c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000bf8 + 0x000000-0x05eb1b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xfc98a056 + Calculated Checksum 0xfc98a056 (OK) + 0x05eb1c-0x10fa8b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05eb1c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0200751v.u7", 0x000000, 0x80000, CRC(ab386ab0) SHA1(56c5baea4272866a9fe18bdc371a49f155251f86) ) @@ -998,12 +998,12 @@ ROM_END ROM_START( adonisa ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000bf8 - 0x000000-0x05cdc3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x91f374c7 - Calculated Checksum 0x91f374c7 (OK) - 0x05cdc4-0x11000b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05cdc4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000bf8 + 0x000000-0x05cdc3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x91f374c7 + Calculated Checksum 0x91f374c7 (OK) + 0x05cdc4-0x11000b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05cdc4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0100751v.u7", 0x000000, 0x80000, CRC(ca3e97db) SHA1(bd0a4402e57891899d92ea85a87fb8925a44f706) ) @@ -1034,12 +1034,12 @@ ROM_END ROM_START( adonisu ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x0e8a7b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xe6715f98 - Calculated Checksum 0xc80cd95e (BAD) - 0x0e8a7c-0x1c5f47 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0e8a7c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d18 + 0x000000-0x0e8a7b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xe6715f98 + Calculated Checksum 0xc80cd95e (BAD) + 0x0e8a7c-0x1c5f47 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0e8a7c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -1058,11 +1058,11 @@ ROM_START( adonisce ) ARISTOCRAT_MK5_BIOS ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) /* - Checksum code found at 0x000c44 - 0x000000-0x06ddab is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x07c97aad - Calculated Checksum 0x07c97aad (OK) - 0x06ddac-0x2a41cb is the non-Checksummed range + Checksum code found at 0x000c44 + 0x000000-0x06ddab is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x07c97aad + Calculated Checksum 0x07c97aad (OK) + 0x06ddac-0x2a41cb is the non-Checksummed range */ ROM_LOAD32_WORD("0201005v.u7", 0x0000000, 0x0080000, CRC(32149323) SHA1(abfc6a8518a39528db3700c2cb558e925ceeda6d) ) ROM_LOAD32_WORD("0201005v.u11", 0x0000002, 0x0080000, CRC(309b0b55) SHA1(669568031d305b29395345a26a5d004d83881433) ) @@ -1080,12 +1080,12 @@ ROM_END ROM_START( baddog ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ae4 - 0x000000-0x056f3f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x15ac4012 - Calculated Checksum 0x15ac4012 (OK) - 0x056f40-0x2fb607 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x056f40-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000ae4 + 0x000000-0x056f3f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x15ac4012 + Calculated Checksum 0x15ac4012 (OK) + 0x056f40-0x2fb607 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x056f40-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) @@ -1105,12 +1105,12 @@ ROM_END ROM_START( blackpnt ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000bb0 - 0x000000-0x056d8b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xeebac434 - Calculated Checksum 0xeebac434 (OK) - 0x056d8c-0x138557 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x056d8c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000bb0 + 0x000000-0x056d8b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xeebac434 + Calculated Checksum 0xeebac434 (OK) + 0x056d8c-0x138557 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x056d8c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200818v.u7", 0x0000000, 0x0080000, CRC(eed76145) SHA1(6a40a6ba2ce320a37b086dc4916c92c8e38c065e) ) @@ -1127,11 +1127,11 @@ ROM_END ROM_START( bootsctn ) ARISTOCRAT_MK5_BIOS /* - 0x000000-0x06c177 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xb0980753 - Calculated Checksum 0xb0980753 (OK) - 0x06c178-0x384a9b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x06c178-0x3fffff is the non-Checksummed range if the additional vectors? at the end are included + 0x000000-0x06c177 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xb0980753 + Calculated Checksum 0xb0980753 (OK) + 0x06c178-0x384a9b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x06c178-0x3fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100812v.u7", 0x0000000, 0x0080000, CRC(f8e12462) SHA1(82a25757b2146204b86e557b8f1c45280e0668a8) ) @@ -1156,11 +1156,11 @@ ROM_END ROM_START( bootsctnu ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x0941ab is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xdf68cecf - Calculated Checksum 0xed145d01 (BAD) - 0x0941ac-0x328187 is the non-Checksummed range (suspicious endpoint) + Checksum code found at 0x000d08 + 0x000000-0x0941ab is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xdf68cecf + Calculated Checksum 0xed145d01 (BAD) + 0x0941ac-0x328187 is the non-Checksummed range (suspicious endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) @@ -1183,11 +1183,11 @@ ROM_END ROM_START( bumblbug ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b68 - 0x000000-0x05b94b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xf5d418fe - Calculated Checksum 0xf5d418fe (OK) - 0x05b94c-0x0fc69f is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b68 + 0x000000-0x05b94b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xf5d418fe + Calculated Checksum 0xf5d418fe (OK) + 0x05b94c-0x0fc69f is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200510v.u7", 0x0000000, 0x0080000, CRC(d4cfce73) SHA1(735c385779afe55e521dbfe9ebfdc55fe3346349) ) @@ -1203,12 +1203,12 @@ ROM_END ROM_START( bumblbugql ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ac8 - 0x000000-0x05554b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x66b20ae6 - Calculated Checksum 0x66b20ae6 (OK) - 0x05554c-0x1c4e2b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05554c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000ac8 + 0x000000-0x05554b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x66b20ae6 + Calculated Checksum 0x66b20ae6 (OK) + 0x05554c-0x1c4e2b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05554c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0200456v.u7", 0x000000, 0x80000, CRC(f04dd78b) SHA1(443057fc3e02406d46cf68f95e85e5a0fd8e7b1e) ) @@ -1229,12 +1229,12 @@ ROM_END ROM_START( bumblbugu ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x0b1f47 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x9f3936f9 - Calculated Checksum 0x16f5c058 (BAD) - 0x0b1f48-0x183c1f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0b1f48-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x0b1f47 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x9f3936f9 + Calculated Checksum 0x16f5c058 (BAD) + 0x0b1f48-0x183c1f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0b1f48-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -1252,12 +1252,12 @@ ROM_END ROM_START( buttdeli ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000adc - 0x000000-0x04477f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x19143954 - Calculated Checksum 0x19143954 (OK) - 0x044780-0x1c713b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x044780-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000adc + 0x000000-0x04477f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x19143954 + Calculated Checksum 0x19143954 (OK) + 0x044780-0x1c713b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x044780-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200143v.u7", 0x0000000, 0x0080000, CRC(7f69cdfc) SHA1(1241741d21334df10d60080555824a87eae93db3) ) @@ -1275,12 +1275,12 @@ ROM_START( cashcat ) ARISTOCRAT_MK5_BIOS ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) /* - Checksum code found at 0x000adc - 0x000000-0x04477f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x19143954 - Calculated Checksum 0x19143954 (OK) - 0x044780-0x1c713b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x044780-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000adc + 0x000000-0x04477f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x19143954 + Calculated Checksum 0x19143954 (OK) + 0x044780-0x1c713b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x044780-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_LOAD32_WORD("0300863v.u7", 0x0000000, 0x0080000, CRC(de0f0202) SHA1(994f6c47b1e2e0e133853dc69b189752104486e4) ) ROM_LOAD32_WORD("0300863v.u11", 0x0000002, 0x0080000, CRC(e60e8bd1) SHA1(ffaa7be8968047b9ee54a117d273a14cbca41028) ) @@ -1296,12 +1296,12 @@ ROM_END ROM_START( cashcham ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ae0 - 0x000000-0x055f83 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x159a2aa3 - Calculated Checksum 0x159a2aa3 (OK) - 0x055f84-0x1dbdd7 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x055f84-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000ae0 + 0x000000-0x055f83 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x159a2aa3 + Calculated Checksum 0x159a2aa3 (OK) + 0x055f84-0x1dbdd7 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x055f84-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100438v.u7", 0x0000000, 0x0080000, CRC(c942ef22) SHA1(4f56674f749602ae928832f98a641e680af8989b) ) @@ -1317,12 +1317,12 @@ ROM_END ROM_START( cashchama ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b00 - 0x000000-0x05ca1b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xa32ccd1b - Calculated Checksum 0xa32ccd1b (OK) - 0x05ca1c-0x1dbdd7 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05ca1c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b00 + 0x000000-0x05ca1b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xa32ccd1b + Calculated Checksum 0xa32ccd1b (OK) + 0x05ca1c-0x1dbdd7 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05ca1c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200437v.u7", 0x0000000, 0x0080000, CRC(a287fd5a) SHA1(7d06f679e5ff38e0989819410856361962c93e42) ) @@ -1355,12 +1355,12 @@ ROM_END ROM_START( cashchamu ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x09b413 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x741cd9a0 - Calculated Checksum 0x740e5ad7 (BAD) - 0x09b414-0x1b550b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x09b414-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x09b413 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x741cd9a0 + Calculated Checksum 0x740e5ad7 (BAD) + 0x09b414-0x1b550b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x09b414-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -1378,12 +1378,12 @@ ROM_END ROM_START( cashcra5 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b80 - 0x000000-0x06076b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x2c872d3e - Calculated Checksum 0x2c872d3e (OK) - 0x06076c-0x1a2ecf is the non-Checksummed range still containing data but NOT covered by Checksum - 0x06076c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b80 + 0x000000-0x06076b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x2c872d3e + Calculated Checksum 0x2c872d3e (OK) + 0x06076c-0x1a2ecf is the non-Checksummed range still containing data but NOT covered by Checksum + 0x06076c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0300467v.u7", 0x0000000, 0x0080000, CRC(b0ff2aae) SHA1(b05667ffe952cae7a6581398552db6e47921090e) ) @@ -1403,12 +1403,12 @@ ROM_END ROM_START( chariotc ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ba8 - 0x000000-0x07dbb7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x203ac6e8 - Calculated Checksum 0x203ac6e8 (OK) - 0x07dbb8-0x1b3787 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x07dbb8-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000ba8 + 0x000000-0x07dbb7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x203ac6e8 + Calculated Checksum 0x203ac6e8 (OK) + 0x07dbb8-0x1b3787 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x07dbb8-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "04j00714.u7", 0x000000, 0x80000, CRC(2f3a1af7) SHA1(e1448116a81687cb79dd380dfbc8decf1f83e649) ) @@ -1425,12 +1425,12 @@ ROM_END ROM_START( chariotca ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ba8 - 0x000000-0x0603fb is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xbe63efe6 - Calculated Checksum 0xbe63efe6 (OK) - 0x0603fc-0x17a75b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0603fc-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000ba8 + 0x000000-0x0603fb is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xbe63efe6 + Calculated Checksum 0xbe63efe6 (OK) + 0x0603fc-0x17a75b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0603fc-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100787v.u7", 0x0000000, 0x0080000, CRC(845f9913) SHA1(df6121290b30ff4a9c2d0e690cf8e7797e9a8612) ) @@ -1447,12 +1447,12 @@ ROM_END ROM_START( checkma5 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000c38 - 0x000000-0x071847 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x0de9b6ca - Calculated Checksum 0x0de9b6ca (OK) - 0x071848-0x25ff4b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x071848-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000c38 + 0x000000-0x071847 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x0de9b6ca + Calculated Checksum 0x0de9b6ca (OK) + 0x071848-0x25ff4b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x071848-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("01j00681.u7", 0x0000000, 0x0080000, CRC(059b940e) SHA1(f637508dafbd37169429c495a893addbc6d28834) ) @@ -1471,11 +1471,11 @@ ROM_END ROM_START( chickna5 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b80 - 0x000000-0x053fb7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x8afbaabc - Calculated Checksum 0x8afbaabc (OK) - 0x053fb8-0x2fda37 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b80 + 0x000000-0x053fb7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x8afbaabc + Calculated Checksum 0x8afbaabc (OK) + 0x053fb8-0x2fda37 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100351v.u7", 0x0000000, 0x0080000, CRC(be69c21c) SHA1(8b546727b5972f33d077db0a64aa41a7fde6d417) ) @@ -1498,11 +1498,11 @@ ROM_END ROM_START( chickna5u ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x0a6917 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x0d44c6b0 - Calculated Checksum 0xc47bc6b0 (BAD) - 0x0a6918-0x35040b is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000d08 + 0x000000-0x0a6917 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x0d44c6b0 + Calculated Checksum 0xc47bc6b0 (BAD) + 0x0a6918-0x35040b is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -1524,12 +1524,12 @@ ROM_END ROM_START( chickna5qld ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ac8 - 0x000000-0x05f193 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xeff4424a - Calculated Checksum 0xeff4424a (OK) - 0x05f194-0x3a9a7f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05f194-0x3fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000ac8 + 0x000000-0x05f193 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xeff4424a + Calculated Checksum 0xeff4424a (OK) + 0x05f194-0x3a9a7f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05f194-0x3fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0200530v.u7", 0x000000, 0x80000, CRC(2d53de96) SHA1(6f2ed8f68d0474021a302d7e06ba869c0f1f7262) ) @@ -1549,12 +1549,12 @@ ROM_END ROM_START( coralrc2 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000be8 - 0x000000-0x05ba63 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x12fce303 - Calculated Checksum 0x12fce303 (OK) - 0x05ba64-0x12b3e3 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05ba64-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000be8 + 0x000000-0x05ba63 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x12fce303 + Calculated Checksum 0x12fce303 (OK) + 0x05ba64-0x12b3e3 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05ba64-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100919v.u7", 0x0000000, 0x0080000, CRC(02c430c3) SHA1(f4bae1aa5437af1df2a04f700da044bc4fb652b7) ) @@ -1571,12 +1571,12 @@ ROM_END ROM_START( cuckoo ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b10 - 0x000000-0x05f63f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x6aa5ad46 - Calculated Checksum 0x6aa5ad46 (OK) - 0x05f640-0x1b1deb is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05f640-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b10 + 0x000000-0x05f63f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x6aa5ad46 + Calculated Checksum 0x6aa5ad46 (OK) + 0x05f640-0x1b1deb is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05f640-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200753v.u7", 0x0000000, 0x0080000, CRC(5c7ef84a) SHA1(59563a076ecf391ac1779e0dcd530a1ea158a4e3) ) @@ -1596,12 +1596,12 @@ ROM_END ROM_START( cuckoou ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x0a588b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x9e544942 - Calculated Checksum 0x9e544942 (OK) - 0x0a588c-0x184b17 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0a588c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d18 + 0x000000-0x0a588b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x9e544942 + Calculated Checksum 0x9e544942 (OK) + 0x0a588c-0x184b17 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0a588c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "chg1195.u7", 0x000000, 0x80000, CRC(0bd17338) SHA1(b8f467bdf8d76533a2b7d44fe93be414f25a3c31) ) @@ -1618,12 +1618,12 @@ ROM_END ROM_START( dstbloom ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000adc - 0x000000-0x0431d3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x3a2c9103 - Calculated Checksum 0x3a2c9103 (OK) - 0x0431d4-0x1cb32b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0431d4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000adc + 0x000000-0x0431d3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x3a2c9103 + Calculated Checksum 0x3a2c9103 (OK) + 0x0431d4-0x1cb32b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0431d4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200111v.u7", 0x0000000, 0x0080000, CRC(fbfaa3fe) SHA1(3f915261503fc97eb556422e9ccdac81372c04cc) ) @@ -1640,11 +1640,11 @@ ROM_START( dmdfever ) ARISTOCRAT_MK5_BIOS ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) /* - Checksum code found at 0x000ad8 - 0x000000-0x054f3f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x87d3b331 - Calculated Checksum 0x87d3b331 (OK) - 0x054f40-0x0ef137 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000ad8 + 0x000000-0x054f3f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x87d3b331 + Calculated Checksum 0x87d3b331 (OK) + 0x054f40-0x0ef137 is the non-Checksummed range (unusual endpoint) */ ROM_LOAD32_WORD( "0200302v.u7", 0x000000, 0x80000, CRC(d90032f9) SHA1(9c34e626168bdfa3ff2722d9ff1970d826135cf7) ) ROM_LOAD32_WORD( "0200302v.u11", 0x000002, 0x80000, CRC(29620f05) SHA1(172b6226c443931f0c4ddc44a63c8fc0e6be3824) ) @@ -1657,12 +1657,12 @@ ROM_END ROM_START( diamdove ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b78 - 0x000000-0x063a9f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x2dfce931 - Calculated Checksum 0x2dfce931 (OK) - 0x063aa0-0x273ea3 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x063aa0-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b78 + 0x000000-0x063a9f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x2dfce931 + Calculated Checksum 0x2dfce931 (OK) + 0x063aa0-0x273ea3 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x063aa0-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0101018v.u7", 0x0000000, 0x0080000, CRC(2ebb3704) SHA1(42567d873d6ab9221d09e5449fa57b557677d2ab) ) @@ -1696,11 +1696,11 @@ ROM_END ROM_START( dolphntr ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b08 - 0x000000-0x05c367 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x14ccd8a1 - Calculated Checksum 0x14ccd8a1 (OK) - 0x05c368-0x0fe787 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b08 + 0x000000-0x05c367 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x14ccd8a1 + Calculated Checksum 0x14ccd8a1 (OK) + 0x05c368-0x0fe787 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0200424v.u7", 0x000000, 0x80000, CRC(5dd88306) SHA1(ee8ec7d123d057e8df9be0e8dadecea7dab7aafd) ) @@ -1715,12 +1715,12 @@ ROM_END ROM_START( dolphntra ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b08 - 0x000000-0x053897 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x81967fa4 - Calculated Checksum 0x81967fa4 (OK) - 0x053898-0x1cac2f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x053898-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b08 + 0x000000-0x053897 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x81967fa4 + Calculated Checksum 0x81967fa4 (OK) + 0x053898-0x1cac2f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x053898-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0100424v.u7", 0x000000, 0x80000, CRC(657faef7) SHA1(09e1f9d461e855c10cf8b825ef83dd3e7db65b43) ) @@ -1737,12 +1737,12 @@ ROM_END ROM_START( dolphntrb ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b20 - 0x000000-0x0536c3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xeee6e6fc - Calculated Checksum 0xeee6e6fc (OK) - 0x0536c4-0x1ce293 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0536c4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b20 + 0x000000-0x0536c3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xeee6e6fc + Calculated Checksum 0xeee6e6fc (OK) + 0x0536c4-0x1ce293 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0536c4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100388v.u7", 0x0000000, 0x0080000, CRC(7463b5f6) SHA1(89e5cf8143d0b4ed54aa2c9bd8840f0aba19322e) ) @@ -1762,12 +1762,12 @@ ROM_END ROM_START( dolphntru ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x08ec8b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x9caf255e - Calculated Checksum 0x9caf255e (OK) - 0x08ec8c-0x13d99f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x08ec8c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x08ec8b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x9caf255e + Calculated Checksum 0x9caf255e (OK) + 0x08ec8c-0x13d99f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x08ec8c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "fhg407702.u7", 0x000000, 0x80000, CRC(97e3e4d0) SHA1(211b9b9e0f25dfaf9d1dfe1d3d88592522aa6f07) ) @@ -1784,12 +1784,12 @@ ROM_END ROM_START( dynajack ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b78 - 0x000000-0x07031b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xd8815d1c - Calculated Checksum 0xd8815d1c (OK) - 0x07031c-0x227a4b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x07031c-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b78 + 0x000000-0x07031b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xd8815d1c + Calculated Checksum 0xd8815d1c (OK) + 0x07031c-0x227a4b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x07031c-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("01j00081.u7", 0x0000000, 0x0080000, CRC(73783ecf) SHA1(280b4da540b405959f31c2eebbf87ab635d21c06) ) @@ -1808,11 +1808,11 @@ ROM_END ROM_START( eldorda5 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b88 - 0x000000-0x06328b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xed424efa - Calculated Checksum 0xed424efa (OK) - 0x06328c-0x0d4b57 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b88 + 0x000000-0x06328b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xed424efa + Calculated Checksum 0xed424efa (OK) + 0x06328c-0x0d4b57 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100652v.u7", 0x0000000, 0x0080000, CRC(d9afe87c) SHA1(577ea5da9c4e93a393711a0c7361365301f4241e) ) @@ -1827,11 +1827,11 @@ ROM_END ROM_START( eforsta5 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ae4 - 0x000000-0x045da3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x2c99855f - Calculated Checksum 0x2c99855f (OK) - 0x045da4-0x0ebd43 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000ae4 + 0x000000-0x045da3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x2c99855f + Calculated Checksum 0x2c99855f (OK) + 0x045da4-0x0ebd43 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0400122v.u7", 0x000000, 0x80000, CRC(b5829b27) SHA1(f6f84c8dc524dcee95e37b93ead9090903bdca4f) ) @@ -1850,12 +1850,12 @@ ROM_END ROM_START( eforsta5u ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x0a5233 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x5de71535 - Calculated Checksum 0x5de71535 (OK) - 0x0a5234-0x15dbdf is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0a5234-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x0a5233 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x5de71535 + Calculated Checksum 0x5de71535 (OK) + 0x0a5234-0x15dbdf is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0a5234-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ // if you enable the additional debug output you get 'Error in graphics EPROMs' so these ROMs are also bad even if the above passes @@ -1874,12 +1874,12 @@ ROM_END ROM_START( fortellr ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b78 - 0x000000-0x07038b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x49e7e64e - Calculated Checksum 0x49e7e64e (OK) - 0x07038c-0x3616a7 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x07038c-0x3fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b78 + 0x000000-0x07038b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x49e7e64e + Calculated Checksum 0x49e7e64e (OK) + 0x07038c-0x3616a7 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x07038c-0x3fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("01j00131.u7", 0x0000000, 0x0080000, CRC(78394106) SHA1(aedfb98d7aa515eebabf378edb9c43e01bcba010) ) @@ -1904,12 +1904,12 @@ ROM_END ROM_START( gambler ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x08f46b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x9eb3c0ef - Calculated Checksum 0x9eb3c0ef (OK) - 0x08f46c-0x1354cb is the non-Checksummed range still containing data but NOT covered by Checksum - 0x08f46c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x08f46b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x9eb3c0ef + Calculated Checksum 0x9eb3c0ef (OK) + 0x08f46c-0x1354cb is the non-Checksummed range still containing data but NOT covered by Checksum + 0x08f46c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // if you enable the additional debug output you get 'Error2 in graphics EPROMs' so these ROMs are also bad even if the above passes @@ -1963,12 +1963,12 @@ ROM_END ROM_START( gnomeatw ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b68 - 0x000000-0x05ebcb is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xd396114d - Calculated Checksum 0xd396114d (OK) - 0x05ebcc-0x1bf9db is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05ebcc-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b68 + 0x000000-0x05ebcb is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xd396114d + Calculated Checksum 0xd396114d (OK) + 0x05ebcc-0x1bf9db is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05ebcc-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100767v.u7", 0x0000000, 0x0080000, CRC(a5d3825e) SHA1(4ce7466eff770a2c6c3c5de620a14e05bb9fb406) ) @@ -1985,12 +1985,12 @@ ROM_END ROM_START( goldpyr ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x08ec83 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x7c8c2fbf - Calculated Checksum 0x7c8c2fbf (OK) - 0x08ec84-0x1aca63 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x08ec84-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x08ec83 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x7c8c2fbf + Calculated Checksum 0x7c8c2fbf (OK) + 0x08ec84-0x1aca63 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x08ec84-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "ahg120503.u7", 0x000000, 0x80000, CRC(2fbed80c) SHA1(fb0d97cb2be96da37c487fc3aef06c6120efdb46) ) @@ -2012,12 +2012,12 @@ ROM_END ROM_START( goldpyra ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x08ef13 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xd3126f08 - Calculated Checksum 0x26ee6f08 (BAD) - 0x08ef14-0x1aca3b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x08ef14-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x08ef13 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xd3126f08 + Calculated Checksum 0x26ee6f08 (BAD) + 0x08ef14-0x1aca3b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x08ef14-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -2035,12 +2035,12 @@ ROM_END ROM_START( goldenra ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b98 - 0x000000-0x068297 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x1cc81433 - Calculated Checksum 0x1cc81433 (OK) - 0x068298-0x285abf is the non-Checksummed range still containing data but NOT covered by Checksum - 0x068298-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b98 + 0x000000-0x068297 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x1cc81433 + Calculated Checksum 0x1cc81433 (OK) + 0x068298-0x285abf is the non-Checksummed range still containing data but NOT covered by Checksum + 0x068298-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0101164v.u7", 0x0000000, 0x0080000, CRC(2f75d5f7) SHA1(d7f6ecff7cf759d80733b6d3f224caa5128be0b7) ) @@ -2059,11 +2059,11 @@ ROM_END ROM_START( incasun ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000bf8 - 0x000000-0x05f56b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x86b74381 - Calculated Checksum 0x86b74381 (OK) - 0x05f56c-0x23586f is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000bf8 + 0x000000-0x05f56b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x86b74381 + Calculated Checksum 0x86b74381 (OK) + 0x05f56c-0x23586f is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100872v.u7", 0x0000000, 0x0080000, CRC(180e098b) SHA1(48782c46a344dba0aaad407d0d4a432da091b0f5) ) @@ -2098,11 +2098,11 @@ ROM_START( incasunsp ) ARISTOCRAT_MK5_BIOS ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) /* - Checksum code found at 0x000bf8 - 0x000000-0x05f70f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x1de6e2c7 - Calculated Checksum 0x1de6e2c7 (OK) - 0x05f710-0x235a13 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000bf8 + 0x000000-0x05f70f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x1de6e2c7 + Calculated Checksum 0x1de6e2c7 (OK) + 0x05f710-0x235a13 is the non-Checksummed range (unusual endpoint) */ ROM_LOAD32_WORD("sp__0100872v.u7", 0x0000000, 0x0080000, CRC(62919753) SHA1(0f0d186260a64b8b45671f68abf497586264793e) ) ROM_LOAD32_WORD("sp__0100872v.u11", 0x0000002, 0x0080000, CRC(f221ac71) SHA1(c2c1f8703e9a41e5c4d5ebfeac57e220a64e9657) ) @@ -2137,12 +2137,12 @@ ROM_END ROM_START( indrema5 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ba8 - 0x000000-0x06323f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x965e92e4 - Calculated Checksum 0x965e92e4 (OK) - 0x063240-0x1cd2d3 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x063240-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000ba8 + 0x000000-0x06323f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x965e92e4 + Calculated Checksum 0x965e92e4 (OK) + 0x063240-0x1cd2d3 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x063240-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0100845v.u7", 0x000000, 0x80000, CRC(0c924a3e) SHA1(499b4ae601e53173e3ba5f400a40e5ae7bbaa043) ) @@ -2159,20 +2159,20 @@ ROM_END ROM_START( jungjuic ) ARISTOCRAT_MK5_BIOS /* - note, this actually contains a 2nd checksum for the game, this is likely the base/bios check only. + note, this actually contains a 2nd checksum for the game, this is likely the base/bios check only. + + Checksum code found at 0x001b74 + 0x000000-0x089a2f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x5ad8a58b + Calculated Checksum 0x5ad8a58b (OK) + 0x089a30-0x1b4043 is the non-Checksummed range (unusual endpoint) - Checksum code found at 0x001b74 - 0x000000-0x089a2f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x5ad8a58b - Calculated Checksum 0x5ad8a58b (OK) - 0x089a30-0x1b4043 is the non-Checksummed range (unusual endpoint) - */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // these are the 'bios' for Casino games (could be moved to a different base set) ROM_LOAD32_WORD( "0700474v.u7", 0x000000, 0x80000, CRC(04b7dcbf) SHA1(eded1223336181bb08f9593247f1f79d96278b75) ) ROM_LOAD32_WORD( "0700474v.u11", 0x000002, 0x80000, CRC(a89ce1b5) SHA1(411b474a111f23ebd834bea5af0bf0cf3926d590) ) - + ROM_LOAD32_WORD( "0200240v.u8", 0x100000, 0x80000, CRC(10c61ff7) SHA1(86d17cf2492612c3a6284a1c8e41a67a5199c0eb) ) ROM_LOAD32_WORD( "0200240v.u12", 0x100002, 0x80000, CRC(ffa3d0ba) SHA1(e60e01d4d425aea483387fa2f9ae5bb69b80f829) ) @@ -2185,12 +2185,12 @@ ROM_END ROM_START( kgalah ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b28 - 0x000000-0x05af27 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xa4ff4d2a - Calculated Checksum 0xa4ff4d2a (OK) - 0x05af28-0x1b3e9f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05af28-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b28 + 0x000000-0x05af27 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xa4ff4d2a + Calculated Checksum 0xa4ff4d2a (OK) + 0x05af28-0x1b3e9f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05af28-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200536v.u7", 0x0000000, 0x0080000, CRC(9333543a) SHA1(dbbd59de046c35e70e71836b342eb5ecf4799575) ) @@ -2210,11 +2210,11 @@ ROM_END ROM_START( koalamnt ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x0ec32b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x5e570341 - Calculated Checksum 0x17df3e7d (BAD) - 0x0ec32c-0x34ebdf is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000d18 + 0x000000-0x0ec32b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x5e570341 + Calculated Checksum 0x17df3e7d (BAD) + 0x0ec32c-0x34ebdf is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -2236,12 +2236,12 @@ ROM_END ROM_START( kookabuk ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b68 - 0x000000-0x061857 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xf03ce7cb - Calculated Checksum 0xf03ce7cb (OK) - 0x061858-0x1a2757 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x061858-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b68 + 0x000000-0x061857 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xf03ce7cb + Calculated Checksum 0xf03ce7cb (OK) + 0x061858-0x1a2757 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x061858-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100677v.u7", 0x0000000, 0x0080000, CRC(b2fdf0e8) SHA1(0dd002cfad2fa4f217a0c67066d098f4cd3ba319) ) @@ -2258,11 +2258,11 @@ ROM_END ROM_START( locoloot ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b20 - 0x000000-0x055e93 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xafd2e94d - Calculated Checksum 0xafd2e94d (OK) - 0x055e94-0x0bbf23 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b20 + 0x000000-0x055e93 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xafd2e94d + Calculated Checksum 0xafd2e94d (OK) + 0x055e94-0x0bbf23 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100472v.u7", 0x0000000, 0x0080000, CRC(4f02763c) SHA1(302cea5fb157f65fc907f123ef42a0a38cc707ac) ) @@ -2292,11 +2292,11 @@ ROM_END ROM_START( lonewolf ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b48 - 0x000000-0x0580f3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x424e42b6 - Calculated Checksum 0x424e42b6 (OK) - 0x0580f4-0x0df6b7 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b48 + 0x000000-0x0580f3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x424e42b6 + Calculated Checksum 0x424e42b6 (OK) + 0x0580f4-0x0df6b7 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100587v.u7", 0x0000000, 0x0080000, CRC(15024eae) SHA1(7101125aa8531c75f9d80fe357013d09dbb0fec9) ) @@ -2314,12 +2314,12 @@ ROM_END ROM_START( mgarden ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x0a522b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x8b0f5dae - Calculated Checksum 0x8afcb91f (BAD) - 0x0a522c-0x15dbd7 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0a522c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x0a522b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x8b0f5dae + Calculated Checksum 0x8afcb91f (BAD) + 0x0a522c-0x15dbd7 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0a522c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -2339,12 +2339,12 @@ ROM_END ROM_START( magimask ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x0e8527 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x1d86deee - Calculated Checksum 0x1d86deee (OK) - 0x0e8528-0x1e4887 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0e8528-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d18 + 0x000000-0x0e8527 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x1d86deee + Calculated Checksum 0x1d86deee (OK) + 0x0e8528-0x1e4887 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0e8528-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "dhg1309.u7", 0x000000, 0x80000, CRC(17317eb9) SHA1(3ddb8d61f23461c3194af534928164550208bbee) ) @@ -2372,12 +2372,12 @@ ROM_END ROM_START( magimaska ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x0e9597 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x6610851f - Calculated Checksum 0x6610851f (OK) - 0x0e9598-0x1e591f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0e9598-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d18 + 0x000000-0x0e9597 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x6610851f + Calculated Checksum 0x6610851f (OK) + 0x0e9598-0x1e591f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0e9598-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "ahg1548.u7", 0x000000, 0x80000, CRC(452a19c9) SHA1(aab1f4ccfc6cdb382f7a0e85491614cc58811a08) ) @@ -2411,12 +2411,12 @@ ROM_END ROM_START( marmagic ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b78 - 0x000000-0x06d93b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x59531d0a - Calculated Checksum 0x59531d0a (OK) - 0x06d93c-0x2deae3 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x06d93c-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b78 + 0x000000-0x06d93b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x59531d0a + Calculated Checksum 0x59531d0a (OK) + 0x06d93c-0x2deae3 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x06d93c-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "01j00101.u7", 0x000000, 0x80000, CRC(eee7ebaf) SHA1(bad0c08578877f84325c07d51c6ed76c40b70720) ) @@ -2440,12 +2440,12 @@ ROM_END ROM_START( marmagicu ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x0eda53 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xac229593 - Calculated Checksum 0x67abc369 (BAD) - 0x0eda54-0x2fffef is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0eda54-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d18 + 0x000000-0x0eda53 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xac229593 + Calculated Checksum 0x67abc369 (BAD) + 0x0eda54-0x2fffef is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0eda54-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -2468,12 +2468,12 @@ ROM_END ROM_START( minemine ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d10 - 0x000000-0x0a7203 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x75c908a7 - Calculated Checksum 0x75c908a7 (OK) - 0x0a7204-0x1a0edf is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0a7204-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d10 + 0x000000-0x0a7203 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x75c908a7 + Calculated Checksum 0x75c908a7 (OK) + 0x0a7204-0x1a0edf is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0a7204-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "vhg0416-99.u7", 0x000000, 0x80000, CRC(41bc3714) SHA1(5a8f7d24a6a697524af7997dcedd214fcaf48768) ) @@ -2490,12 +2490,12 @@ ROM_END ROM_START( monmouse ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b80 - 0x000000-0x066077 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x569023a4 - Calculated Checksum 0x569023a4 (OK) - 0x066078-0x1faf7b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x066078-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b80 + 0x000000-0x066077 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x569023a4 + Calculated Checksum 0x569023a4 (OK) + 0x066078-0x1faf7b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x066078-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0400469v.u7", 0x0000000, 0x0080000, CRC(7f7972b6) SHA1(25991f476f55cd1eddc8e63af9c472c1d7e83481) ) @@ -2529,11 +2529,11 @@ ROM_END ROM_START( mountmon ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ae4 - 0x000000-0x04ee9b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x4bb1139e - Calculated Checksum 0x4bb1139e (OK) - 0x04ee9c-0x0e3a1f is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000ae4 + 0x000000-0x04ee9b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x4bb1139e + Calculated Checksum 0x4bb1139e (OK) + 0x04ee9c-0x0e3a1f is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100294v.u7", 0x0000000, 0x0080000, CRC(b84342af) SHA1(e27e65730ddc897b01e8875a4da3ea2d6db2b858) ) @@ -2548,12 +2548,12 @@ ROM_END ROM_START( multidrw ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b98 - 0x000000-0x07477f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xe2d3d401 - Calculated Checksum 0xe2d3d401 (OK) - 0x074780-0x2c5abb is the non-Checksummed range still containing data but NOT covered by Checksum - 0x074780-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b98 + 0x000000-0x07477f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xe2d3d401 + Calculated Checksum 0xe2d3d401 (OK) + 0x074780-0x2c5abb is the non-Checksummed range still containing data but NOT covered by Checksum + 0x074780-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) @@ -2573,11 +2573,11 @@ ROM_END ROM_START( mystgard ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ae4 - 0x000000-0x04eea7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x37310f71 - Calculated Checksum 0x37310f71 (OK) - 0x04eea8-0x0dce17 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000ae4 + 0x000000-0x04eea7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x37310f71 + Calculated Checksum 0x37310f71 (OK) + 0x04eea8-0x0dce17 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("Mystic Garden.u7", 0x0000000, 0x0080000, CRC(28d15442) SHA1(ee33017f3efcf688a43ea1d7f2b74b4b9a6d2cae) ) @@ -2592,12 +2592,12 @@ ROM_END ROM_START( orchidms ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b20 - 0x000000-0x0677c7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x522d283f - Calculated Checksum 0x522d283f (OK) - 0x0677c8-0x13adcb is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0677c8-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b20 + 0x000000-0x0677c7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x522d283f + Calculated Checksum 0x522d283f (OK) + 0x0677c8-0x13adcb is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0677c8-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100275v.u7", 0x0000000, 0x0080000, CRC(5d18ae22) SHA1(c10f7a83f51cfe75653ace8066b7dedf07e91b28) ) @@ -2614,11 +2614,11 @@ ROM_END ROM_START( oscara5 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b80 - 0x000000-0x05d187 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xd11b30fc - Calculated Checksum 0xd11b30fc (OK) - 0x05d188-0x0e1d73 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b80 + 0x000000-0x05d187 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xd11b30fc + Calculated Checksum 0xd11b30fc (OK) + 0x05d188-0x0e1d73 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200348v.u7", 0x0000000, 0x0080000, CRC(930bdc00) SHA1(36b1a289abebc7cce64e767e201d8f8f7fe80cf2) ) @@ -2633,12 +2633,12 @@ ROM_END ROM_START( pantmag ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x06d1ff is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x50122492 - Calculated Checksum 0x50122492 (OK) - 0x06d200-0x195d7b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x06d200-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d18 + 0x000000-0x06d1ff is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x50122492 + Calculated Checksum 0x50122492 (OK) + 0x06d200-0x195d7b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x06d200-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0101046v.u7", 0x0000000, 0x0080000, CRC(6383899d) SHA1(df96af7cb580565715da6e78b83e7ba6832028e7) ) @@ -2658,12 +2658,12 @@ ROM_END ROM_START( partygrs ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x0e9b47 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x673ffb0f - Calculated Checksum 0x673ffb0f (OK) - 0x0e9b48-0x1fd2ab is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0e9b48-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d18 + 0x000000-0x0e9b47 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x673ffb0f + Calculated Checksum 0x673ffb0f (OK) + 0x0e9b48-0x1fd2ab is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0e9b48-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "ahg1567.u7", 0x000000, 0x80000, CRC(53047385) SHA1(efe50e8785047986513f2de63d2425ba80417481) ) @@ -2683,12 +2683,12 @@ ROM_END ROM_START( partygrsa ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x0a69d3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xf4a004d3 - Calculated Checksum 0x221d04d3 (BAD) - 0x0a69d4-0x1b953f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0a69d4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d18 + 0x000000-0x0a69d3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xf4a004d3 + Calculated Checksum 0x221d04d3 (BAD) + 0x0a69d4-0x1b953f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0a69d4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -2706,12 +2706,12 @@ ROM_END ROM_START( peaflut ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b98 - 0x000000-0x0638d3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x2ce2619f - Calculated Checksum 0x2ce2619f (OK) - 0x0638d4-0x1dbf8b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0638d4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b98 + 0x000000-0x0638d3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x2ce2619f + Calculated Checksum 0x2ce2619f (OK) + 0x0638d4-0x1dbf8b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0638d4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("02j00011.u7", 0x0000000, 0x0080000, CRC(e4497f35) SHA1(7030aba6c17fc391564385f5669e07edc94dca61) ) @@ -2728,12 +2728,12 @@ ROM_END ROM_START( pengpay ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b68 - 0x000000-0x05c71f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x68980cb3 - Calculated Checksum 0x68980cb3 (OK) - 0x05c720-0x1aefcf is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05c720-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b68 + 0x000000-0x05c71f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x68980cb3 + Calculated Checksum 0x68980cb3 (OK) + 0x05c720-0x1aefcf is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05c720-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200460v.u7", 0x0000000, 0x0080000, CRC(47145744) SHA1(74a186a15537d8b05ce23f37c53f351e8058b0b2) ) @@ -2750,12 +2750,12 @@ ROM_END ROM_START( pengpaya ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b60 - 0x000000-0x05644f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x5bc8a3d6 - Calculated Checksum 0x5bc8a3d6 (OK) - 0x056450-0x1c19f3 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x056450-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b60 + 0x000000-0x05644f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x5bc8a3d6 + Calculated Checksum 0x5bc8a3d6 (OK) + 0x056450-0x1c19f3 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x056450-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200357v.u7", 0x0000000, 0x0080000, CRC(cb21de26) SHA1(5a730f08db4d91b18f0b5a1f489f1d982b08edcc) ) @@ -2772,12 +2772,12 @@ ROM_END ROM_START( pengpayb ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b68 - 0x000000-0x05d7b7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xd4f9ba59 - Calculated Checksum 0xd4f9ba59 (OK) - 0x05d7b8-0x1c9acf is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05d7b8-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b68 + 0x000000-0x05d7b7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xd4f9ba59 + Calculated Checksum 0xd4f9ba59 (OK) + 0x05d7b8-0x1c9acf is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05d7b8-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200359v.u7", 0x0000000, 0x0080000, CRC(f51c4e02) SHA1(fca30b3ce0d063966df1e878338596d050664695) ) @@ -2797,12 +2797,12 @@ ROM_END ROM_START( pengpayu ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x0cd21b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x7dc52ffa - Calculated Checksum 0x7dc52ffa (OK) - 0x0cd21c-0x192ed7 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0cd21c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x0cd21b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x7dc52ffa + Calculated Checksum 0x7dc52ffa (OK) + 0x0cd21c-0x192ed7 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0cd21c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "bhi041703.u7", 0x000000, 0x80000, CRC(19d75260) SHA1(798472b1b5d8f5ca99d8bfe57e99a76686f0aa3f) ) @@ -2834,12 +2834,12 @@ ROM_END ROM_START( przfight ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b48 - 0x000000-0x053def is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x97c4e600 - Calculated Checksum 0x97c4e600 (OK) - 0x053df0-0x2a9f7f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x053df0-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b48 + 0x000000-0x053def is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x97c4e600 + Calculated Checksum 0x97c4e600 (OK) + 0x053df0-0x2a9f7f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x053df0-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100299v.u7", 0x0000000, 0x0080000, CRC(2b1a9678) SHA1(c75de4c76cd934df746040d0515694d92e2fc145) ) @@ -2858,12 +2858,12 @@ ROM_END ROM_START( qcash ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000af4 - 0x000000-0x05d55b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x10b06e83 - Calculated Checksum 0x10b06e83 (OK) - 0x05d55c-0x1a669f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05d55c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000af4 + 0x000000-0x05d55b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x10b06e83 + Calculated Checksum 0x10b06e83 (OK) + 0x05d55c-0x1a669f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05d55c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100706v.u7", 0x0000000, 0x0080000, CRC(591c96eb) SHA1(acd6f02206086d710a92401c618f715b3646d78a) ) @@ -2880,12 +2880,12 @@ ROM_END ROM_START( qnile ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b80 - 0x000000-0x055c83 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x53fa5304 - Calculated Checksum 0x53fa5304 (OK) - 0x055c84-0x16745b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x055c84-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b80 + 0x000000-0x055c83 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x53fa5304 + Calculated Checksum 0x53fa5304 (OK) + 0x055c84-0x16745b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x055c84-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) @@ -2903,12 +2903,12 @@ ROM_END ROM_START( qnilea ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b80 - 0x000000-0x064c4b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xa60cbcfa - Calculated Checksum 0xa60cbcfa (OK) - 0x064c4c-0x172a17 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x064c4c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b80 + 0x000000-0x064c4b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xa60cbcfa + Calculated Checksum 0xa60cbcfa (OK) + 0x064c4c-0x172a17 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x064c4c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0300440v.u7", 0x0000000, 0x0080000, CRC(0076da68) SHA1(ed301c102e88d5b637144ed32042da46780e5b34) ) @@ -2925,12 +2925,12 @@ ROM_END ROM_START( qnileb ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b80 - 0x000000-0x059dff is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xa63a9b3e - Calculated Checksum 0xa63a9b3e (OK) - 0x059e00-0x16b5d7 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x059e00-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b80 + 0x000000-0x059dff is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xa63a9b3e + Calculated Checksum 0xa63a9b3e (OK) + 0x059e00-0x16b5d7 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x059e00-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0200439v.u7", 0x000000, 0x80000, CRC(d476a893) SHA1(186d6fb1830c33976f2d3c96e4f045ece885dc63) ) @@ -2947,12 +2947,12 @@ ROM_END ROM_START( qnilec ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b80 - 0x000000-0x062913 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x2d52d80f - Calculated Checksum 0x2d52d80f (OK) - 0x062914-0x1740eb is the non-Checksummed range still containing data but NOT covered by Checksum - 0x062914-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b80 + 0x000000-0x062913 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x2d52d80f + Calculated Checksum 0x2d52d80f (OK) + 0x062914-0x1740eb is the non-Checksummed range still containing data but NOT covered by Checksum + 0x062914-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0300439v.u7", 0x000000, 0x80000, CRC(63f9129e) SHA1(a513fd47d3ca4fe007730a06e5f6ffc2891dc74f) ) @@ -2974,12 +2974,12 @@ ROM_END ROM_START( qnileu ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x08ec87 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xb2ac33b8 - Calculated Checksum 0xb2ac33b8 (OK) - 0x08ec88-0x1aca67 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x08ec88-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x08ec87 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xb2ac33b8 + Calculated Checksum 0xb2ac33b8 (OK) + 0x08ec88-0x1aca67 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x08ec88-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "ghg409102.u7", 0x000000, 0x80000, CRC(a00ab2cf) SHA1(eb3120fe4b1d0554c224c7646e727e86fd35975e) ) @@ -2996,11 +2996,11 @@ ROM_END ROM_START( qnilemax ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000bb8 - 0x000000-0x06fd6f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xcd901653 - Calculated Checksum 0xcd901653 (OK) - 0x06fd70-0x3864c7 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000bb8 + 0x000000-0x06fd6f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xcd901653 + Calculated Checksum 0xcd901653 (OK) + 0x06fd70-0x3864c7 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0401072v.u7", 0x0000000, 0x0080000, CRC(4ac2a82e) SHA1(3fc50e97ad48c57e21a37fbb6142152c72055ad4) ) @@ -3021,12 +3021,12 @@ ROM_END ROM_START( rainwrce ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000bf8 - 0x000000-0x06bb13 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x6c1aaee7 - Calculated Checksum 0x6c1aaee7 (OK) - 0x06bb14-0x367863 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x06bb14-0x3fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000bf8 + 0x000000-0x06bb13 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x6c1aaee7 + Calculated Checksum 0x6c1aaee7 (OK) + 0x06bb14-0x367863 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x06bb14-0x3fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) @@ -3048,12 +3048,12 @@ ROM_END ROM_START( reelrock ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ba8 - 0x000000-0x062f6f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x67b49a57 - Calculated Checksum 0x67b49a57 (OK) - 0x062f70-0x1a752b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x062f70-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000ba8 + 0x000000-0x062f6f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x67b49a57 + Calculated Checksum 0x67b49a57 (OK) + 0x062f70-0x1a752b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x062f70-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0100779v.u7", 0x000000, 0x80000, CRC(b60af34f) SHA1(1143380b765db234b3871c0fe04736472fde7de4) ) @@ -3070,12 +3070,12 @@ ROM_END ROM_START( retrsam ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b88 - 0x000000-0x06445b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xb6820a81 - Calculated Checksum 0xb6820a81 (OK) - 0x06445c-0x10203b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x06445c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b88 + 0x000000-0x06445b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xb6820a81 + Calculated Checksum 0xb6820a81 (OK) + 0x06445c-0x10203b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x06445c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("v0400549v.u7", 0x0000000, 0x0080000, CRC(129be82c) SHA1(487639b7d42d6d35a9c48b44d26667c269b5b633) ) @@ -3092,11 +3092,11 @@ ROM_END ROM_START( retrsama ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b88 - 0x000000-0x0590b7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xa4b725ab - Calculated Checksum 0xa4b725ab (OK) - 0x0590b8-0x0ef623 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b88 + 0x000000-0x0590b7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xa4b725ab + Calculated Checksum 0xa4b725ab (OK) + 0x0590b8-0x0ef623 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) @@ -3112,11 +3112,11 @@ ROM_END ROM_START( retrsamb ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b88 - 0x000000-0x05889b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xd80cf106 - Calculated Checksum 0xd80cf106 (OK) - 0x05889c-0x0f313b is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b88 + 0x000000-0x05889b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xd80cf106 + Calculated Checksum 0xd80cf106 (OK) + 0x05889c-0x0f313b is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200506v.u7", 0x0000000, 0x0080000, CRC(acb913c1) SHA1(eb008b2b3d06f769f1ea1c75b52334e468c5f13c) ) @@ -3129,14 +3129,14 @@ ROM_END ROM_START( sumospin ) - ARISTOCRAT_MK5_BIOS + ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b88 - 0x000000-0x05d92b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x94d3401c - Calculated Checksum 0x94d3401c (OK) - 0x05d92c-0x18f637 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05d92c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b88 + 0x000000-0x05d92b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x94d3401c + Calculated Checksum 0x94d3401c (OK) + 0x05d92c-0x18f637 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05d92c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200606v.u7", 0x0000000, 0x0080000, CRC(c3ec9f97) SHA1(62c886cc794de4b915533729c5ea5a71a4b59108) ) @@ -3153,12 +3153,12 @@ ROM_END ROM_START( sbuk2 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b98 - 0x000000-0x06ab7f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x874caad2 - Calculated Checksum 0x874caad2 (OK) - 0x06ab80-0x1fffef is the non-Checksummed range still containing data but NOT covered by Checksum - 0x06ab80-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b98 + 0x000000-0x06ab7f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x874caad2 + Calculated Checksum 0x874caad2 (OK) + 0x06ab80-0x1fffef is the non-Checksummed range still containing data but NOT covered by Checksum + 0x06ab80-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0400501v.u7", 0x0000000, 0x0080000, CRC(f025775d) SHA1(71a94f6f17fa7cdcd997b0117b8f4afe21606a69) ) @@ -3175,12 +3175,12 @@ ROM_END ROM_START( sbuk3 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ba8 - 0x000000-0x05ead3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x23d4cb22 - Calculated Checksum 0x23d4cb22 (OK) - 0x05ead4-0x114e33 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05ead4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000ba8 + 0x000000-0x05ead3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x23d4cb22 + Calculated Checksum 0x23d4cb22 (OK) + 0x05ead4-0x114e33 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05ead4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200711v.u7", 0x0000000, 0x0080000, CRC(e056c7db) SHA1(7a555583f750d8275b2ffd25a0efbe370a5ac43c) ) @@ -3197,11 +3197,11 @@ ROM_END ROM_START( swhr2 ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ae0 - 0x000000-0x041803 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x4449ca76 - Calculated Checksum 0x4449ca76 (OK) - 0x041804-0x0ecbb3 is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000ae0 + 0x000000-0x041803 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x4449ca76 + Calculated Checksum 0x4449ca76 (OK) + 0x041804-0x0ecbb3 is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200004v.u7", 0x0000000, 0x0080000, CRC(de4d6d77) SHA1(959ffb7d06359870e07cb9d761f0bc0480c45e0c) ) @@ -3220,12 +3220,12 @@ ROM_END ROM_START( swhr2u ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x0b31cb is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x0720df2c - Calculated Checksum 0x3dad9905 (BAD) - 0x0b31cc-0x155097 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0b31cc-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x0b31cb is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x0720df2c + Calculated Checksum 0x3dad9905 (BAD) + 0x0b31cc-0x155097 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0b31cc-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -3243,11 +3243,11 @@ ROM_END ROM_START( swhr2v ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b68 - 0x000000-0x07a763 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x014df7a2 - Calculated Checksum 0x014df7a2 (OK) - 0x07a764-0x0e360b is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b68 + 0x000000-0x07a763 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x014df7a2 + Calculated Checksum 0x014df7a2 (OK) + 0x07a764-0x0e360b is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "01j01986.u7", 0x000000, 0x80000, CRC(f51b2faa) SHA1(dbcfdbee92af5f89a8a2611bbc687ee0cc907642) ) @@ -3275,12 +3275,12 @@ ROM_END ROM_START( trstrove ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b98 - 0x000000-0x0638d7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x7fa3a1a8 - Calculated Checksum 0x7fa3a1a8 (OK) - 0x0638d8-0x158933 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0638d8-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b98 + 0x000000-0x0638d7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x7fa3a1a8 + Calculated Checksum 0x7fa3a1a8 (OK) + 0x0638d8-0x158933 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0638d8-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("01j00161.u7", 0x0000000, 0x0080000, CRC(07a8b338) SHA1(7508d7d0e3494d355cb773165b240ba876a60eec) ) @@ -3297,12 +3297,12 @@ ROM_END ROM_START( tritreat ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d18 - 0x000000-0x07089b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x56d2b752 - Calculated Checksum 0x56d2b752 (OK) - 0x07089c-0x2903cf is the non-Checksummed range still containing data but NOT covered by Checksum - 0x07089c-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d18 + 0x000000-0x07089b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x56d2b752 + Calculated Checksum 0x56d2b752 (OK) + 0x07089c-0x2903cf is the non-Checksummed range still containing data but NOT covered by Checksum + 0x07089c-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) @@ -3322,12 +3322,12 @@ ROM_END ROM_START( trojhors ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000bb8 - 0x000000-0x06e9f7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x071faa81 - Calculated Checksum 0x071faa81 (OK) - 0x06e9f8-0x2df4f7 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x06e9f8-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000bb8 + 0x000000-0x06e9f7 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x071faa81 + Calculated Checksum 0x071faa81 (OK) + 0x06e9f8-0x2df4f7 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x06e9f8-0x2fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("01j00851.u7", 0x0000000, 0x0080000, CRC(7be0caf5) SHA1(b83fba7eb4624b3dc56f763b48b7c45fe31f3396) ) @@ -3350,12 +3350,12 @@ ROM_END ROM_START( trpdlght ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x0b2d1f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x910fae87 - Calculated Checksum 0x2485ae87 (BAD) - 0x0b2d20-0x15384f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0b2d20-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x0b2d1f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x910fae87 + Calculated Checksum 0x2485ae87 (BAD) + 0x0b2d20-0x15384f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0b2d20-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) // the checksum only covers part of the first 2 roms, marked all as BAD_DUMP because it can't be trusted without a full redump. @@ -3373,12 +3373,12 @@ ROM_END ROM_START( unicornd ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000bf8 - 0x000000-0x05f36f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x2f8bff86 - Calculated Checksum 0x2f8bff86 (OK) - 0x05f370-0x1d0a3f is the non-Checksummed range still containing data but NOT covered by Checksum - 0x05f370-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000bf8 + 0x000000-0x05f36f is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x2f8bff86 + Calculated Checksum 0x2f8bff86 (OK) + 0x05f370-0x1d0a3f is the non-Checksummed range still containing data but NOT covered by Checksum + 0x05f370-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100791v.u7", 0x0000000, 0x0080000, CRC(d785d1b3) SHA1(4aa7c61036dd5fe1cdbc6c39a89881f88f3dd148) ) @@ -3408,12 +3408,12 @@ ROM_END ROM_START( wamazon ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b68 - 0x000000-0x052b8b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xc07f695c - Calculated Checksum 0xc07f695c (OK) - 0x052b8c-0x1fffef is the non-Checksummed range still containing data but NOT covered by Checksum (unusual) - 0x052b8c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b68 + 0x000000-0x052b8b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xc07f695c + Calculated Checksum 0xc07f695c (OK) + 0x052b8c-0x1fffef is the non-Checksummed range still containing data but NOT covered by Checksum (unusual) + 0x052b8c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200285v.u7", 0x0000000, 0x0080000, CRC(bfa21358) SHA1(6b76656401b3dbbace8d4335951468b9885fc7f0) ) @@ -3430,11 +3430,11 @@ ROM_END ROM_START( wamazona ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b68 - 0x000000-0x05c043 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x2c7f1cbb - Calculated Checksum 0x2c7f1cbb (OK) - 0x05c044-0x0f60cb is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000b68 + 0x000000-0x05c043 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x2c7f1cbb + Calculated Checksum 0x2c7f1cbb (OK) + 0x05c044-0x0f60cb is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0200507v.u7", 0x0000000, 0x0080000, CRC(44576def) SHA1(3396460444ceb394c9c88e5fc37ccedcfc4b179c) ) @@ -3448,12 +3448,12 @@ ROM_END ROM_START( wamazonv ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b68 - 0x000000-0x07b2f3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x7b4d5882 - Calculated Checksum 0x7b4d5882 (OK) - 0x07b2f4-0x11537b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x07b2f4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b68 + 0x000000-0x07b2f3 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x7b4d5882 + Calculated Checksum 0x7b4d5882 (OK) + 0x07b2f4-0x11537b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x07b2f4-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) @@ -3471,11 +3471,11 @@ ROM_END ROM_START( wildbill ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000ad8 - 0x000000-0x054e6b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xd6b20386 - Calculated Checksum 0xd6b20386 (OK) - 0x054e6c-0x0ec99f is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000ad8 + 0x000000-0x054e6b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xd6b20386 + Calculated Checksum 0xd6b20386 (OK) + 0x054e6c-0x0ec99f is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100297v.u7", 0x0000000, 0x0080000, CRC(e3117ab7) SHA1(c13912f524f1c1d373adb6382ceddd1bc18f7f02) ) @@ -3490,12 +3490,12 @@ ROM_END ROM_START( wcougar ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000adc - 0x000000-0x043573 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x0a061a1a - Calculated Checksum 0x0a061a1a (OK) - 0x043574-0x1061fb is the non-Checksummed range still containing data but NOT covered by Checksum - 0x043574-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000adc + 0x000000-0x043573 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x0a061a1a + Calculated Checksum 0x0a061a1a (OK) + 0x043574-0x1061fb is the non-Checksummed range still containing data but NOT covered by Checksum + 0x043574-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0100167v.u7", 0x0000000, 0x0080000, CRC(47154679) SHA1(21749fbaa60f9bf1db43bdd272e6628ae73bf759) ) @@ -3515,12 +3515,12 @@ ROM_END ROM_START( wcougaru ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d08 - 0x000000-0x0b0d5b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0xdfe9eb92 - Calculated Checksum 0xdfe9eb92 (OK) - 0x0b0d5c-0x153803 is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0b0d5c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000d08 + 0x000000-0x0b0d5b is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0xdfe9eb92 + Calculated Checksum 0xdfe9eb92 (OK) + 0x0b0d5c-0x153803 is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0b0d5c-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "nhg029604.u7", 0x000000, 0x80000, CRC(7ada053f) SHA1(5102b0b9db505454624750a3fd6db455682538f3) ) @@ -3537,14 +3537,14 @@ ROM_END ROM_START( wthing ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000b74 - 0x000000-0x0673cb is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x89dd307a - Calculated Checksum 0x89dd307a (OK) - 0x0673cc-0x1b367b is the non-Checksummed range still containing data but NOT covered by Checksum - 0x0673cc-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included + Checksum code found at 0x000b74 + 0x000000-0x0673cb is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x89dd307a + Calculated Checksum 0x89dd307a (OK) + 0x0673cc-0x1b367b is the non-Checksummed range still containing data but NOT covered by Checksum + 0x0673cc-0x1fffff is the non-Checksummed range if the additional vectors? at the end are included */ - + ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD("0101158v.u7", 0x0000000, 0x0080000, CRC(eb402ffb) SHA1(49ef6ca2503a6e785f62cb29e505e5c2ba019e37) ) ROM_LOAD32_WORD("0101158v.u11", 0x0000002, 0x0080000, CRC(61d22f2e) SHA1(b836e5afbd5bb14ae68e100a6042f1953ed57a21) ) @@ -3560,11 +3560,11 @@ ROM_END ROM_START( wtiger ) ARISTOCRAT_MK5_BIOS /* - Checksum code found at 0x000d30 - 0x000000-0x060227 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) - Expected Checksum 0x61da8e77 - Calculated Checksum 0x61da8e77 (OK) - 0x060228-0x0d61cf is the non-Checksummed range (unusual endpoint) + Checksum code found at 0x000d30 + 0x000000-0x060227 is the Checksummed Range (excluding 0x000020-0x000027 where Checksum is stored) + Expected Checksum 0x61da8e77 + Calculated Checksum 0x61da8e77 (OK) + 0x060228-0x0d61cf is the non-Checksummed range (unusual endpoint) */ ROM_REGION( 0x400000, "game_prg", ROMREGION_ERASEFF ) ROM_LOAD32_WORD( "0200954v.u7", 0x000000, 0x80000, CRC(752e54c5) SHA1(9317544a7cf2d9bf29347d31fe72331fc3d018ef) ) diff --git a/src/mame/drivers/aristmk6.cpp b/src/mame/drivers/aristmk6.cpp index 9887fc59f2a..1ba39870c35 100644 --- a/src/mame/drivers/aristmk6.cpp +++ b/src/mame/drivers/aristmk6.cpp @@ -46,7 +46,7 @@ public: u8 irl0pend, irl0en; u8 irl1pend, irl1en; - u8 irl2pend, irl2en; // UARTs ? + u8 irl2pend, irl2en; // UARTs ? u8 irl3pend0, irl3en0; u8 irl3pend1, irl3en1; void testIrq(); @@ -168,7 +168,7 @@ uint32_t aristmk6_state::screen_update_aristmk6(screen_device &screen, bitmap_rg uint32_t pix1; int col; - + pix1 = pix & 0xffffffff; col = 0; if (pix1) col = 1; diff --git a/src/mame/drivers/bionicc.cpp b/src/mame/drivers/bionicc.cpp index 0f13fb4e4e3..c5e74a50220 100644 --- a/src/mame/drivers/bionicc.cpp +++ b/src/mame/drivers/bionicc.cpp @@ -20,7 +20,7 @@ Horizontal scan rate: 15.606kHz Vertical scan rate: 60.024Hz - + pixel clock: 6.000MHz, 166ns per pixel htotal: 64.076us, 386 pixels @@ -373,7 +373,7 @@ static MACHINE_CONFIG_START( bionicc, bionicc_state ) MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", bionicc_state, bionicc_scanline, "screen", 0, 1) /* Protection MCU Intel C8751H-88 runs at 24MHz / 4 = 6MHz */ - + MCFG_CPU_ADD("audiocpu", Z80, XTAL_14_31818MHz / 4) /* EXO3 C,B=GND, A=5V ==> Divisor 2^2 */ MCFG_CPU_PROGRAM_MAP(sound_map) /* FIXME: interrupt timing diff --git a/src/mame/drivers/clshroad.cpp b/src/mame/drivers/clshroad.cpp index af0f87f3e8f..82967171193 100644 --- a/src/mame/drivers/clshroad.cpp +++ b/src/mame/drivers/clshroad.cpp @@ -372,7 +372,7 @@ MACHINE_CONFIG_END * 2 x NEC D780C ** 18.??? MHz clock - + ***************************************************************************/ ROM_START( firebatl ) diff --git a/src/mame/drivers/concept.cpp b/src/mame/drivers/concept.cpp index beded1240e8..97ba4ffbf5d 100644 --- a/src/mame/drivers/concept.cpp +++ b/src/mame/drivers/concept.cpp @@ -306,10 +306,10 @@ ROM_START( concept ) // the source code) ROM_LOAD16_WORD("cc.prm", 0x010000, 0x2000, CRC(b5a87dab) SHA1(0da59af6cfeeb38672f71731527beac323d9c3d6)) #endif - + ROM_REGION16_BE(0x2000, "macsbug", 0) - ROM_LOAD16_BYTE( "mb20h.bin", 0x000000, 0x001000, CRC(aa357112) SHA1(88211e5f59887928c557c27cdea674f48bf8eaf7) ) - ROM_LOAD16_BYTE( "mb20l.bin", 0x000001, 0x001000, CRC(b4b59de9) SHA1(3e8b8b5950b5359203c054f94af1fc5b8f0495b9) ) + ROM_LOAD16_BYTE( "mb20h.bin", 0x000000, 0x001000, CRC(aa357112) SHA1(88211e5f59887928c557c27cdea674f48bf8eaf7) ) + ROM_LOAD16_BYTE( "mb20l.bin", 0x000001, 0x001000, CRC(b4b59de9) SHA1(3e8b8b5950b5359203c054f94af1fc5b8f0495b9) ) ROM_END /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME */ diff --git a/src/mame/drivers/crystal.cpp b/src/mame/drivers/crystal.cpp index 2069bd38f23..6dc5ec1e7ae 100644 --- a/src/mame/drivers/crystal.cpp +++ b/src/mame/drivers/crystal.cpp @@ -403,7 +403,7 @@ void crystal_state::TimerStart(int which) attotime period = attotime::from_hz(43000000) * ((PD + 1) * (TCV + 1)); m_Timer[which]->adjust(period); -// printf("timer %d start, PD = %x TCV = %x period = %s\n", which, PD, TCV, period.as_string()); +// printf("timer %d start, PD = %x TCV = %x period = %s\n", which, PD, TCV, period.as_string()); } TIMER_CALLBACK_MEMBER(crystal_state::Timercb) @@ -438,7 +438,7 @@ void crystal_state::Timer_w( address_space &space, int which, uint32_t data, uin { // Timer stop m_Timer[which]->adjust(attotime::never); -// printf("timer %d stop\n", which); +// printf("timer %d stop\n", which); } } } @@ -720,15 +720,15 @@ READ32_MEMBER(crystal_state::crzyddz2_key_r) uint8_t data = 0x3f; for (int i = 0; i < sizeof(key_names)/sizeof(key_names[0]); ++i) if (!BIT(mux,i)) - data = ioport(key_names[i])->read(); + data = ioport(key_names[i])->read(); /* -crzyddz2 in out - 00 40 - 40 00 - c0 80 +crzyddz2 in out + 00 40 + 40 00 + c0 80 */ -// m_crzyddz2_prot = (m_PIO >> 8) & 0xc0) ^ 0x40; +// m_crzyddz2_prot = (m_PIO >> 8) & 0xc0) ^ 0x40; m_crzyddz2_prot = (machine().rand() & 0xc0); return 0xffffff00 | data | m_crzyddz2_prot; @@ -1242,7 +1242,7 @@ INPUT_PORTS_END static INPUT_PORTS_START(crzyddz2) - PORT_START("P1_P2") // 1500002 & 1500000 + PORT_START("P1_P2") // 1500002 & 1500000 PORT_BIT( 0x00000001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) // up PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) // down (next secret code) PORT_BIT( 0x00000004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) // left (inc secret code) @@ -1515,8 +1515,8 @@ ROM_START( crzyddz2 ) ROM_LOAD( "rom.u48", 0x000000, 0x1000000, CRC(0f3a1987) SHA1(6cad943846c79db31226676c7391f32216cfff79) ) ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASEFF ) - ROM_COPY( "user1", 0x000000, 0x000000, 0x1000000 ) // copy flash here - ROM_LOAD( "27c322.u49", 0x000000, 0x0200000, CRC(b3177f39) SHA1(2a28bf8045bd2e053d88549b79fbc11f30ef9a32) ) // 1ST AND 2ND HALF IDENTICAL + ROM_COPY( "user1", 0x000000, 0x000000, 0x1000000 ) // copy flash here + ROM_LOAD( "27c322.u49", 0x000000, 0x0200000, CRC(b3177f39) SHA1(2a28bf8045bd2e053d88549b79fbc11f30ef9a32) ) // 1ST AND 2ND HALF IDENTICAL ROM_CONTINUE( 0x000000, 0x0200000 ) ROM_REGION( 0x4280, "pic", 0 ) // hy04 @@ -1539,7 +1539,7 @@ ROM_START( menghong ) ROM_LOAD( "rom.u48", 0x000000, 0x1000000, CRC(e24257c4) SHA1(569d79a61ff6d35100ba5727069363146df9e0b7) ) ROM_REGION( 0x1000000, "maincpu", 0 ) - ROM_COPY( "user1", 0x000000, 0x000000, 0x1000000 ) // copy flash here + ROM_COPY( "user1", 0x000000, 0x000000, 0x1000000 ) // copy flash here ROM_LOAD( "060511_08-01-18.u49", 0x000000, 0x0200000, CRC(b0c12107) SHA1(b1753757bbdb7d996df563ac6abdc6b46676704b) ) // 27C160 ROM_REGION( 0x4280, "pic", 0 ) // hy04 diff --git a/src/mame/drivers/didact.cpp b/src/mame/drivers/didact.cpp index 617ea7853c9..3a71f1a790d 100644 --- a/src/mame/drivers/didact.cpp +++ b/src/mame/drivers/didact.cpp @@ -9,12 +9,12 @@ * Esselte 100 and the Candela computer for the swedish schools to educate the students in assembly programming * and BASIC for electro mechanical applications such as stepper motors, simple process control, buttons * and LED:s. Didact designs were marketed by Esselte Studium to the swedish schools. The Candela computer - * was designed to be the big breakthough and developed by Candela Data AB, "a Didact Company". The Candela - * system was based around a main unit that could run OS-9 or Flex and a terminal unit that had a propietary + * was designed to be the big breakthough and developed by Candela Data AB, "a Didact Company". The Candela + * system was based around a main unit that could run OS-9 or Flex and a terminal unit that had a propietary * software including CDBASIC. The Candela system lost the battle of the swedish schools to * the Compis computer by TeleNova which was based on CP/M initially. Later both lost to IBM PC as we know. * Candela Data continued to sell their system to the swedish industry without major successes despite great - * innovation and spririt. + * innovation and spririt. * * The Esselte 1000 was an educational package based on Apple II plus software and litterature * but the relation to Didact is at this point unknown so it is probably a pure Esselte software production. @@ -30,10 +30,10 @@ * TODO: * Didact designs: mp68a, md6802, Modulab, Esselte 100, can09t, can09 * -------------------------------------------------------------------------- - * - Add PCB layouts OK OK OK OK - * - Dump ROM:s, OK OK rev2 OK OK - * - Keyboard OK OK rev2 - * - Display/CRT OK OK OK + * - Add PCB layouts OK OK OK OK + * - Dump ROM:s, OK OK rev2 OK OK + * - Keyboard OK OK rev2 + * - Display/CRT OK OK OK * - Clickable Artwork RQ RQ * - Sound NA NA * - Cassette i/f OK @@ -53,7 +53,7 @@ #include "video/mc6845.h" // For candela #include "machine/wd_fdc.h" // For candela #include "machine/clock.h" // For candela -#include "machine/ram.h" // For candela +#include "machine/ram.h" // For candela #include "video/dm9368.h" // For the mp68a #include "machine/74145.h" // For the md6802 and e100 // Features @@ -66,7 +66,7 @@ #define VERBOSE 0 #define LOGPRINT(x) do { if (VERBOSE) logerror x; } while (0) -#define LOG(x) LOGPRINT(x) +#define LOG(x) LOGPRINT(x) #define LOGSCAN(x) {} #define LOGSER(x) {} #define LOGSCREEN(x) {} @@ -839,7 +839,7 @@ ADDRESS_MAP_END * +----------------------------------+-------+------------------+ +----------+-------+-------+---------+--+----------+-------+ * */ -/* +/* * Candela Terminal * TODO: * - Map additional PIA:s on the ROM board @@ -991,15 +991,15 @@ protected: }; void can09_state::machine_reset() -{ - LOG(("%s()\n", FUNCNAME)); +{ + LOG(("%s()\n", FUNCNAME)); m_bank1->set_entry(0); } void can09_state::machine_start() -{ - LOG(("%s()\n", FUNCNAME)); - m_bank1->configure_entries(0, 8, m_ram->pointer(), 0x8000); +{ + LOG(("%s()\n", FUNCNAME)); + m_bank1->configure_entries(0, 8, m_ram->pointer(), 0x8000); } uint32_t can09_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) @@ -1012,7 +1012,7 @@ uint32_t can09_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, #endif LOGSCREEN(("%s()\n", FUNCNAME)); - // vramad = 0; + // vramad = 0; for (int row = 0; row < 72 * 8; row += 8) { for (int col = 0; col < 64 * 8; col += 8) @@ -1026,17 +1026,17 @@ uint32_t can09_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, /* plot the character */ for (y = 0; y < 8; y++) { - // if (VERBOSE && charcode != 0x20 && charcode != 0) LOGSCREEN(("\n %02x: ", *chardata)); + // if (VERBOSE && charcode != 0x20 && charcode != 0) LOGSCREEN(("\n %02x: ", *chardata)); for (x = 0; x < 8; x++) { - // if (VERBOSE && charcode != 0x20 && charcode != 0) LOGSCREEN((" %02x: ", *chardata)); + // if (VERBOSE && charcode != 0x20 && charcode != 0) LOGSCREEN((" %02x: ", *chardata)); bitmap.pix16(row + y, col + x) = x & 1; //(*chardata & (1 << x)) ? 1 : 0; } - // chardata++; + // chardata++; } - // vramad++; + // vramad++; } - // if (VERBOSE && charcode != 0x20 && charcode != 0) LOGSCREEN(("\n")); + // if (VERBOSE && charcode != 0x20 && charcode != 0) LOGSCREEN(("\n")); } return 0; @@ -1061,9 +1061,9 @@ READ8_MEMBER( can09_state::pia1_B_r ) WRITE8_MEMBER( can09_state::pia1_B_w ) { - // UINT8 *RAM = memregion("maincpu")->base(); + // UINT8 *RAM = memregion("maincpu")->base(); LOG(("%s(%02x)\n", FUNCNAME, data)); - // membank("bank1")->set_entry((data & 0x70) >> 4); + // membank("bank1")->set_entry((data & 0x70) >> 4); m_bank1->set_entry((data & 0x70) >> 4); #if 0 switch (data & 0x70){ @@ -1099,10 +1099,10 @@ static ADDRESS_MAP_START( can09_map, AS_PROGRAM, 8, can09_state ) /* * Port A=0x18 B=0x20 erase 0-7fff * Port A=0x18 B=0x30 erase 0-7fff - * Port A=0x18 B=0x00 + * Port A=0x18 B=0x00 * Port A=0x10 B= */ -// AM_RANGE(0x0000, 0x7fff) AM_RAM +// AM_RANGE(0x0000, 0x7fff) AM_RAM AM_RANGE(0x0000, 0x7fff) AM_RAM AM_RAMBANK("bank1") AM_RANGE(0xe020, 0xe020) AM_DEVWRITE("crtc", h46505_device, address_w) AM_RANGE(0xe021, 0xe021) AM_DEVWRITE("crtc", h46505_device, register_w) @@ -1408,25 +1408,25 @@ static MACHINE_CONFIG_START( can09, can09_state ) MCFG_MC6845_CHAR_WIDTH(8) MCFG_MC6845_UPDATE_ROW_CB(can09_state, crtc_update_row) #endif - /* Setup loop from data table in ROM: 0xFFCB 0xE020 (CRTC register number), 0xFFD0 0xE021 (CRTC register value) - Reg Value Comment - 0x00 0x55 Horizontal Total number of characters, - 0x01 0x40 Horizontal Displayed number of characters - 0x02 0x43 Horizontal Sync Position, character number - 0x03 0x03 Horizontal Sync width, number of charcters - 0x04 0x50 Vertical Total number of characters - 0x05 0x09 Vertical Total Adjust number of characters - 0x06 0x48 Vertical Displayed number of characters - 0x07 0x4B Vertical Sync Position, character number - 0x08 0x00 Interlace Mode/Scew, Non-Interlaced - 0x09 0x03 Max Scan Line Address Register - 0x0A 0x00 Cursor Start - 0x0B 0x0A Cursor End - 0x0C 0x00 Start Address hi - 0x0D 0x00 Start Address lo - 0x0E 0x00 Cursor hi - 0x0F 0x00 Cursor lo - Note - no init of Light Pen registers + /* Setup loop from data table in ROM: 0xFFCB 0xE020 (CRTC register number), 0xFFD0 0xE021 (CRTC register value) + Reg Value Comment + 0x00 0x55 Horizontal Total number of characters, + 0x01 0x40 Horizontal Displayed number of characters + 0x02 0x43 Horizontal Sync Position, character number + 0x03 0x03 Horizontal Sync width, number of charcters + 0x04 0x50 Vertical Total number of characters + 0x05 0x09 Vertical Total Adjust number of characters + 0x06 0x48 Vertical Displayed number of characters + 0x07 0x4B Vertical Sync Position, character number + 0x08 0x00 Interlace Mode/Scew, Non-Interlaced + 0x09 0x03 Max Scan Line Address Register + 0x0A 0x00 Cursor Start + 0x0B 0x0A Cursor End + 0x0C 0x00 Start Address hi + 0x0D 0x00 Start Address lo + 0x0E 0x00 Cursor hi + 0x0F 0x00 Cursor lo + Note - no init of Light Pen registers */ @@ -1629,7 +1629,7 @@ ROM_START( can09t ) ROM_LOAD( "ic2-mon58b-c8d7.bin", 0x0000, 0x8000, CRC(7eabfec6) SHA1(e08e2349035389b441227df903aa54f4c1e4a337) ) /* Programmable logic for the CAN09 1.4 PCB */ ROM_REGION(0x1000, "plas", 0) - ROM_LOAD( "ic10-21.1.bin", 0x0000, 0x20, CRC(b75ac72d) SHA1(689363200035b11a823d17a8d717f313eeefc3bf) ) + ROM_LOAD( "ic10-21.1.bin", 0x0000, 0x20, CRC(b75ac72d) SHA1(689363200035b11a823d17a8d717f313eeefc3bf) ) ROM_END ROM_START( can09 ) diff --git a/src/mame/drivers/dynduke.cpp b/src/mame/drivers/dynduke.cpp index 59cc165c9e5..2dcc64d7a39 100644 --- a/src/mame/drivers/dynduke.cpp +++ b/src/mame/drivers/dynduke.cpp @@ -19,7 +19,7 @@ There is a country code byte in the program to select between Seibu Kaihatsu/Fabtek/Taito licenses. - The Double Dynamites is an updated co-op version sporting different + The Double Dynamites is an updated co-op version sporting different enemy patterns and drops. Emulation by Bryan McPhail, mish@tendril.co.uk diff --git a/src/mame/drivers/fccpu30.cpp b/src/mame/drivers/fccpu30.cpp index 64b7dad0959..ffdab965674 100644 --- a/src/mame/drivers/fccpu30.cpp +++ b/src/mame/drivers/fccpu30.cpp @@ -201,11 +201,11 @@ #define VERBOSE 0 #define LOGPRINT(x) { do { if (VERBOSE) logerror x; } while (0); } -#define LOG(x) {} LOGPRINT(x) -#define LOGINIT(x) {} LOGPRINT(x) -#define LOGR(x) {} -#define LOGSETUP(x) {} -#define LOGINT(x) {} +#define LOG(x) {} LOGPRINT(x) +#define LOGINIT(x) {} LOGPRINT(x) +#define LOGR(x) {} +#define LOGSETUP(x) {} +#define LOGINT(x) {} #if VERBOSE >= 2 #define logerror printf #endif @@ -306,16 +306,16 @@ static ADDRESS_MAP_START (cpu30_mem, AS_PROGRAM, 32, cpu30_state) ADDRESS_MAP_UNMAP_HIGH AM_RANGE (0x00000000, 0x00000007) AM_ROM AM_READ (bootvect_r) /* ROM mirror just during reset */ AM_RANGE (0x00000000, 0x00000007) AM_RAM AM_WRITE (bootvect_w) /* After first write we act as RAM */ -// AM_RANGE (0x00000008, 0x003fffff) AM_RAM /* RAM installed in machine start */ +// AM_RANGE (0x00000008, 0x003fffff) AM_RAM /* RAM installed in machine start */ AM_RANGE (0xff000000, 0xff7fffff) AM_ROM AM_REGION("roms", 0x000000) AM_RANGE (0xff800c00, 0xff800dff) AM_DEVREADWRITE8("pit1", pit68230_device, read, write, 0xffffffff) AM_RANGE (0xff800e00, 0xff800fff) AM_DEVREADWRITE8("pit2", pit68230_device, read, write, 0xffffffff) AM_RANGE (0xff802000, 0xff8021ff) AM_DEVREADWRITE8("duscc", duscc68562_device, read, write, 0xffffffff) /* Port 1&2 - Dual serial port DUSCC */ AM_RANGE (0xff802200, 0xff8023ff) AM_DEVREADWRITE8("duscc2", duscc68562_device, read, write, 0xffffffff) /* Port 3&4 - Dual serial port DUSCC */ AM_RANGE (0xff803000, 0xff8031ff) AM_DEVREADWRITE8("rtc", rtc72423_device, read, write, 0xffffffff) -// AM_RANGE (0xff803400, 0xff8035ff) AM_DEVREADWRITE8("scsi", mb87033_device, read, write, 0xffffffff) /* TODO: implement MB87344 SCSI device */ +// AM_RANGE (0xff803400, 0xff8035ff) AM_DEVREADWRITE8("scsi", mb87033_device, read, write, 0xffffffff) /* TODO: implement MB87344 SCSI device */ AM_RANGE (0xff803400, 0xff8035ff) AM_READWRITE8(scsi_r, scsi_w, 0x000000ff) /* mock driver to log calls to device */ -// AM_RANGE (0xff803800, 0xff80397f) AM_DEVREADWRITE8("fdc", wd37c65c_device, read, write, 0xffffffff) /* TODO: implement WD3/C65C fdc controller */ +// AM_RANGE (0xff803800, 0xff80397f) AM_DEVREADWRITE8("fdc", wd37c65c_device, read, write, 0xffffffff) /* TODO: implement WD3/C65C fdc controller */ AM_RANGE (0xff803800, 0xff80397f) AM_READWRITE8(fdc_r, fdc_w, 0x000000ff) /* mock driver to log calls to device */ AM_RANGE (0xff803980, 0xff8039ff) AM_READ8(slot1_status_r, 0x000000ff) AM_RANGE (0xffc00000, 0xffcfffff) AM_RAM AM_SHARE ("nvram") /* On-board SRAM with battery backup (nvram) */ @@ -354,7 +354,7 @@ void cpu30_state::machine_reset () m_sysrom = (uint32_t*)(memregion ("roms")->base () + 0x800000); } -/* setup board ID */ +/* setup board ID */ DRIVER_INIT_MEMBER( cpu30_state, cpu30x ) { LOGINIT(("%s\n", FUNCNAME)); m_board_id = 0x50; } DRIVER_INIT_MEMBER( cpu30_state, cpu30xa ) { LOGINIT(("%s\n", FUNCNAME)); m_board_id = 0x50; } DRIVER_INIT_MEMBER( cpu30_state, cpu30za ) { LOGINIT(("%s\n", FUNCNAME)); m_board_id = 0x50; } @@ -363,7 +363,7 @@ DRIVER_INIT_MEMBER( cpu30_state, cpu30be8 ) { LOGINIT(("%s\n", FUNCNAME)); m_ DRIVER_INIT_MEMBER( cpu30_state, cpu30be16 ) { LOGINIT(("%s\n", FUNCNAME)); m_board_id = 0x50; } DRIVER_INIT_MEMBER( cpu30_state, cpu30lite4 ) { LOGINIT(("%s\n", FUNCNAME)); m_board_id = 0x50; } DRIVER_INIT_MEMBER( cpu30_state, cpu30lite8 ) { LOGINIT(("%s\n", FUNCNAME)); m_board_id = 0x50; } -DRIVER_INIT_MEMBER( cpu30_state, cpu33 ) { LOGINIT(("%s\n", FUNCNAME)); m_board_id = 0x68; } // 0x60 skips FGA prompt +DRIVER_INIT_MEMBER( cpu30_state, cpu33 ) { LOGINIT(("%s\n", FUNCNAME)); m_board_id = 0x68; } // 0x60 skips FGA prompt /* Mock FDC driver */ READ8_MEMBER (cpu30_state::fdc_r){ @@ -524,13 +524,13 @@ READ8_MEMBER (cpu30_state::board_mem_id_rd) { case (1024 * 1024 * 32): sz = 0; break; case (1024 * 1024 * 16): sz = 1; break; - case (1024 * 1024 * 8): sz = 2; break; - case (1024 * 1024 * 4): sz = 3; break; - case (1024 * 1024 * 2): sz = 4; break; - case (1024 * 1024 * 1): sz = 5; break; - case (1024 * 512 * 1): sz = 6; break; - case (1024 * 256 * 1): sz = 7; break; - default: + case (1024 * 1024 * 8): sz = 2; break; + case (1024 * 1024 * 4): sz = 3; break; + case (1024 * 1024 * 2): sz = 4; break; + case (1024 * 1024 * 1): sz = 5; break; + case (1024 * 512 * 1): sz = 6; break; + case (1024 * 256 * 1): sz = 7; break; + default: logerror("No supported RAM size, telling VMEPROM 4Mb\n"); sz = 4; } @@ -550,13 +550,13 @@ READ8_MEMBER (cpu30_state::board_mem_id_rd) // return 0x56;// CPU-30, 1Mb, 36MHz // return 0x53;// CPU-30, 4Mb, 36MHz // return 0x57;// CPU-30, 4Mb, 36MHz - // return 0x48 + sz;// none - // return 0x38 + sz;// none - // return 0x28 + sz;// none - // return 0x18 + sz;// CPU-23 p1 - // return 0x10 + sz;// CPU-22 p4 - // return 0x20 + sz;// p1: Wait until hard disk is up to speed - // printf("SIZE:%02x\n", sz); + // return 0x48 + sz;// none + // return 0x38 + sz;// none + // return 0x28 + sz;// none + // return 0x18 + sz;// CPU-23 p1 + // return 0x10 + sz;// CPU-22 p4 + // return 0x20 + sz;// p1: Wait until hard disk is up to speed + // printf("SIZE:%02x\n", sz); LOG(("- Board ID:%02x Size:%02x\n", m_board_id, sz)); return m_board_id + sz; } @@ -730,7 +730,7 @@ static MACHINE_CONFIG_DERIVED( cpu30x, cpu30 ) MCFG_DEVICE_MODIFY("maincpu") MCFG_DEVICE_CLOCK(XTAL_16_777216MHz) /* 16.7 MHz from description, crystal needs verification */ -// MCFG_DEVICE_REMOVE("") +// MCFG_DEVICE_REMOVE("") // dual ported ram MCFG_RAM_MODIFY(RAM_TAG) @@ -796,10 +796,10 @@ MACHINE_CONFIG_END /* SYS68K/CPU-30Lite/4 68030 CPU, 25 MHz, 4 Mbyte shared DRAM, 4 Mbyte Flash, 4 serial ports, 32-bit VMEbus interface, VMEPROM firmware. */ static MACHINE_CONFIG_DERIVED( cpu30lite4, cpu30zbe ) // Enable these when added to main config -// MCFG_DEVICE_REMOVE("fpu") -// MCFG_DEVICE_REMOVE("scsi") -// MCFG_DEVICE_REMOVE("eth") -// MCFG_DEVICE_REMOVE("fdc") +// MCFG_DEVICE_REMOVE("fpu") +// MCFG_DEVICE_REMOVE("scsi") +// MCFG_DEVICE_REMOVE("eth") +// MCFG_DEVICE_REMOVE("fdc") // dual ported ram MCFG_RAM_MODIFY(RAM_TAG) MCFG_RAM_DEFAULT_SIZE("4M") @@ -842,12 +842,12 @@ ROM_START (nodump) ROM_END /* These needs reality check as they has 1Mb of RAM which is not a suitable size for later CPU_30:s */ -#define rom_fccpu30x rom_fccpu30 -#define rom_fccpu30xa rom_fccpu30 -#define rom_fccpu30za rom_fccpu30 +#define rom_fccpu30x rom_fccpu30 +#define rom_fccpu30xa rom_fccpu30 +#define rom_fccpu30za rom_fccpu30 -#define rom_fccpu30zbe rom_fccpu30 -#define rom_fccpu30be8 rom_fccpu30 +#define rom_fccpu30zbe rom_fccpu30 +#define rom_fccpu30be8 rom_fccpu30 #define rom_fccpu30be16 rom_fccpu30 /* These needs dumps */ @@ -855,7 +855,7 @@ ROM_END #define rom_fccpu30lite8 rom_nodump /* These are most likelly wrong, needs dump */ -#define rom_fccpu30senr rom_nodump +#define rom_fccpu30senr rom_nodump #define rom_fccpu30senr501 rom_nodump /* diff --git a/src/mame/drivers/fcscsi.cpp b/src/mame/drivers/fcscsi.cpp index 5233e968010..580911f9962 100644 --- a/src/mame/drivers/fcscsi.cpp +++ b/src/mame/drivers/fcscsi.cpp @@ -138,7 +138,7 @@ static ADDRESS_MAP_START (fcscsi1_mem, AS_PROGRAM, 16, fcscsi1_state) AM_RANGE (0x002000, 0x01ffff) AM_RAM /* Dual Ported RAM */ AM_RANGE (0xe00000, 0xe7ffff) AM_ROM /* System EPROM Area 32Kb DEBUGGER supplied */ AM_RANGE (0xd00000, 0xd0003f) AM_DEVREADWRITE8 ("pit", pit68230_device, read, write, 0x00ff) -// AM_RANGE (0xc40000, 0xc4001f) AM_DEVREADWRITE8("scsi", ncr5386_device, read, write, 0x00ff) /* SCSI Controller interface - device support not yet available*/ +// AM_RANGE (0xc40000, 0xc4001f) AM_DEVREADWRITE8("scsi", ncr5386_device, read, write, 0x00ff) /* SCSI Controller interface - device support not yet available*/ AM_RANGE (0xc40000, 0xc4001f) AM_READWRITE8 (scsi_r, scsi_w, 0x00ff) AM_RANGE (0xc80000, 0xc800ff) AM_DEVREADWRITE("mc68450", hd63450_device, read, write) /* DMA Controller interface */ AM_RANGE (0xcc0000, 0xcc0007) AM_DEVREADWRITE8("fdc", wd1772_t, read, write, 0x00ff) /* Floppy Controller interface */ diff --git a/src/mame/drivers/fidel6502.cpp b/src/mame/drivers/fidel6502.cpp index 81e655a07b5..266788f68ee 100644 --- a/src/mame/drivers/fidel6502.cpp +++ b/src/mame/drivers/fidel6502.cpp @@ -424,7 +424,7 @@ public: TIMER_DEVICE_CALLBACK_MEMBER(irq_on) { m_maincpu->set_input_line(M6502_IRQ_LINE, ASSERT_LINE); } TIMER_DEVICE_CALLBACK_MEMBER(irq_off) { m_maincpu->set_input_line(M6502_IRQ_LINE, CLEAR_LINE); } - + // CSC, SU9, RSC void csc_prepare_display(); DECLARE_READ8_MEMBER(csc_speech_r); @@ -879,7 +879,7 @@ READ8_MEMBER(fidel6502_state::fexcel_ttl_r) WRITE8_MEMBER(fidel6502_state::fdesdis_control_w) { uint8_t q3_old = m_led_select & 8; - + // a0-a2,d7: 74259 uint8_t mask = 1 << offset; m_led_select = (m_led_select & ~mask) | ((data & 0x80) ? mask : 0); @@ -904,7 +904,7 @@ WRITE8_MEMBER(fidel6502_state::fdesdis_control_w) for (int i = 0; i < 4; i++) m_display_state[i+2] = m_7seg_data >> (8*i) & 0xff; } - + m_display_maxy += 4; set_display_segmask(0x3c, 0x7f); display_update(); diff --git a/src/mame/drivers/hazeltin.cpp b/src/mame/drivers/hazeltin.cpp index 79fe88ba13d..b820ca20a3c 100644 --- a/src/mame/drivers/hazeltin.cpp +++ b/src/mame/drivers/hazeltin.cpp @@ -2,16 +2,16 @@ // copyright-holders:Ryan Holtz /*************************************************************************** - Hazeltine 1500 - original machine (c) 1977 Hazeltine Corporation + Hazeltine 1500 + original machine (c) 1977 Hazeltine Corporation - perliminary driver by Ryan Holtz + perliminary driver by Ryan Holtz TODO: - pretty much everything References: - [1]: Hazeltine_1500_Series_Maintenance_Manual_Dec77.pdf, on Bitsavers + [1]: Hazeltine_1500_Series_Maintenance_Manual_Dec77.pdf, on Bitsavers ****************************************************************************/ @@ -30,39 +30,39 @@ References: #include "machine/dm9334.h" #include "machine/kb3600.h" -#define CPU_TAG "maincpu" -#define UART_TAG "uart" -#define BAUDGEN_TAG "baudgen" -#define KBDC_TAG "ay53600" -#define CHARRAM_TAG "chrram" -#define CHARROM_TAG "chargen" -#define BAUDPORT_TAG "baud" -#define MISCPORT_TAG "misc" -#define MISCKEYS_TAG "misc_keys" -#define SCREEN_TAG "screen" -#define TMS3409A_TAG "u67" -#define TMS3409B_TAG "u57" -#define DOTCLK_TAG "dotclk" -#define DOTCLK_DISP_TAG "dotclk_dispatch" +#define CPU_TAG "maincpu" +#define UART_TAG "uart" +#define BAUDGEN_TAG "baudgen" +#define KBDC_TAG "ay53600" +#define CHARRAM_TAG "chrram" +#define CHARROM_TAG "chargen" +#define BAUDPORT_TAG "baud" +#define MISCPORT_TAG "misc" +#define MISCKEYS_TAG "misc_keys" +#define SCREEN_TAG "screen" +#define TMS3409A_TAG "u67" +#define TMS3409B_TAG "u57" +#define DOTCLK_TAG "dotclk" +#define DOTCLK_DISP_TAG "dotclk_dispatch" #define CHAR_CTR_CLK_TAG "ch_bucket_ctr_clk" -#define U58_TAG "u58" -#define U59_TAG "u59" +#define U58_TAG "u58" +#define U59_TAG "u59" #define VID_PROM_ADDR_RESET_TAG "u59_y5" -#define U61_TAG "u61" -#define U68_TAG "u68" -#define U69_PROMMSB_TAG "u69" -#define U70_PROMLSB_TAG "u70" +#define U61_TAG "u61" +#define U68_TAG "u68" +#define U69_PROMMSB_TAG "u69" +#define U70_PROMLSB_TAG "u70" #define U70_TC_LINE_TAG "u70_tc" -#define U71_PROM_TAG "u71" -#define U72_PROMDEC_TAG "u72" -#define U81_TAG "u81" -#define U83_TAG "u83" -#define U84_DIV11_TAG "u84" +#define U71_PROM_TAG "u71" +#define U72_PROMDEC_TAG "u72" +#define U81_TAG "u81" +#define U83_TAG "u83" +#define U84_DIV11_TAG "u84" #define U85_VERT_DR_UB_TAG "u85" -#define U87_TAG "u87" -#define U88_DIV9_TAG "u88" -#define U90_DIV14_TAG "u90" -#define BAUD_PROM_TAG "u39" +#define U87_TAG "u87" +#define U88_DIV9_TAG "u88" +#define U90_DIV14_TAG "u90" +#define BAUD_PROM_TAG "u39" // Number of cycles to burn when fetching the next row of characters into the line buffer: // CPU clock is 18MHz / 9 @@ -74,26 +74,26 @@ References: // 2*9*80 1 1440 * XTAL_2MHz // -------------- divided by --------- = ---------------- = 86.5 main CPU cycles per line fetch // XTAL_33_264MHz XTAL_2MHz XTAL_33_264MHz -#define LINE_FETCH_CYCLES (87) +#define LINE_FETCH_CYCLES (87) -#define SR2_FULL_DUPLEX (0x01) -#define SR2_UPPER_ONLY (0x08) +#define SR2_FULL_DUPLEX (0x01) +#define SR2_UPPER_ONLY (0x08) -#define SR3_PB_RESET (0x04) +#define SR3_PB_RESET (0x04) -#define KBD_STATUS_KBDR (0x01) -#define KBD_STATUS_TV_UB (0x40) -#define KBD_STATUS_TV_INT (0x80) +#define KBD_STATUS_KBDR (0x01) +#define KBD_STATUS_TV_UB (0x40) +#define KBD_STATUS_TV_INT (0x80) -#define SCREEN_HTOTAL (9*100) -#define SCREEN_HDISP (9*80) -#define SCREEN_HSTART (9*5) +#define SCREEN_HTOTAL (9*100) +#define SCREEN_HDISP (9*80) +#define SCREEN_HSTART (9*5) -#define SCREEN_VTOTAL (28*11) -#define SCREEN_VDISP (24*11) -#define SCREEN_VSTART (0) +#define SCREEN_VTOTAL (28*11) +#define SCREEN_VDISP (24*11) +#define SCREEN_VSTART (0) -#define VERT_UB_LINE (24*11+8) +#define VERT_UB_LINE (24*11+8) class hazl1500_state : public driver_device { @@ -131,11 +131,11 @@ public: , m_scanline_timer(nullptr) , m_status_reg_3(0) , m_kbd_status_latch(0) - , m_refresh_address(0) + , m_refresh_address(0) , m_vpos(0) - , m_hblank(false) - , m_vblank(false) - , m_delayed_vblank(false) + , m_hblank(false) + , m_vblank(false) + , m_delayed_vblank(false) { } @@ -161,7 +161,7 @@ public: DECLARE_READ_LINE_MEMBER(ay3600_control_r); DECLARE_WRITE_LINE_MEMBER(ay3600_data_ready_w); - DECLARE_WRITE8_MEMBER(refresh_address_w); + DECLARE_WRITE8_MEMBER(refresh_address_w); virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; static const device_timer_id TIMER_HBLANK = 0; @@ -211,7 +211,7 @@ private: uint8_t m_status_reg_3; uint8_t m_kbd_status_latch; - uint8_t m_refresh_address; + uint8_t m_refresh_address; uint16_t m_vpos; bool m_hblank; bool m_vblank; @@ -230,7 +230,7 @@ void hazl1500_state::machine_start() save_item(NAME(m_status_reg_3)); save_item(NAME(m_kbd_status_latch)); - save_item(NAME(m_refresh_address)); + save_item(NAME(m_refresh_address)); save_item(NAME(m_vpos)); save_item(NAME(m_hblank)); save_item(NAME(m_vblank)); @@ -242,8 +242,8 @@ void hazl1500_state::machine_reset() m_status_reg_3 = 0; m_kbd_status_latch = 0; - m_refresh_address = 0; - m_screen->reset_origin(0, 0); + m_refresh_address = 0; + m_screen->reset_origin(0, 0); m_vpos = m_screen->vpos(); m_vblank = (m_vpos >= SCREEN_VDISP); m_delayed_vblank = m_vpos < VERT_UB_LINE; @@ -369,21 +369,21 @@ void hazl1500_state::device_timer(emu_timer &timer, device_timer_id id, int para WRITE8_MEMBER(hazl1500_state::refresh_address_w) { - m_refresh_address = data; - //printf("m_refresh_address %x, vpos %d, screen vpos %d\n", m_refresh_address, m_vpos, m_screen->vpos()); + m_refresh_address = data; + //printf("m_refresh_address %x, vpos %d, screen vpos %d\n", m_refresh_address, m_vpos, m_screen->vpos()); } void hazl1500_state::check_tv_interrupt() { - uint8_t char_row = m_vpos % 11; + uint8_t char_row = m_vpos % 11; bool bit_match = char_row == 2 || char_row == 3; - bool tv_interrupt = bit_match && !m_delayed_vblank; + bool tv_interrupt = bit_match && !m_delayed_vblank; //printf("interrupt for line %d (%d): %s\n", m_vpos, char_row, tv_interrupt ? "yes" : "no"); - m_kbd_status_latch &= ~KBD_STATUS_TV_INT; - m_kbd_status_latch |= tv_interrupt ? KBD_STATUS_TV_INT : 0; + m_kbd_status_latch &= ~KBD_STATUS_TV_INT; + m_kbd_status_latch |= tv_interrupt ? KBD_STATUS_TV_INT : 0; - m_maincpu->set_input_line(INPUT_LINE_IRQ0, tv_interrupt ? ASSERT_LINE : CLEAR_LINE); + m_maincpu->set_input_line(INPUT_LINE_IRQ0, tv_interrupt ? ASSERT_LINE : CLEAR_LINE); } void hazl1500_state::update_tv_unblank() @@ -525,12 +525,12 @@ static INPUT_PORTS_START( hazl1500 ) // X2 |BAKSP| 2 | 4 | 6 | 8 | 9 | -= | | | | PORT_START("X2") - PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSPACE) PORT_NAME("Backspace") - PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('\"') - PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('$') - PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR('&') - PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_8) PORT_CHAR('8') PORT_CHAR('(') - PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_9) PORT_CHAR('9') PORT_CHAR(')') + PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSPACE) PORT_NAME("Backspace") + PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('\"') + PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_4) PORT_CHAR('4') PORT_CHAR('$') + PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_6) PORT_CHAR('6') PORT_CHAR('&') + PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_8) PORT_CHAR('8') PORT_CHAR('(') + PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_9) PORT_CHAR('9') PORT_CHAR(')') PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_MINUS) PORT_CHAR('-') PORT_CHAR('=') PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_UNUSED) PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_UNUSED) @@ -539,79 +539,79 @@ static INPUT_PORTS_START( hazl1500 ) // X3 | | ESC | W | R | Y | 0 | `@ | CLR |NP , |NP 9 | PORT_START("X3") PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_UNUSED) - PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_ESC) PORT_NAME("Esc") - PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_W) PORT_CHAR('W') PORT_CHAR('w') - PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_R) PORT_CHAR('R') PORT_CHAR('r') - PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_Y) PORT_CHAR('Y') PORT_CHAR('y') - PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_0) PORT_CHAR('0') - PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('@') PORT_CHAR('`') - PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_DEL) PORT_NAME("Clr") + PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_ESC) PORT_NAME("Esc") + PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_W) PORT_CHAR('W') PORT_CHAR('w') + PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_R) PORT_CHAR('R') PORT_CHAR('r') + PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_Y) PORT_CHAR('Y') PORT_CHAR('y') + PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_0) PORT_CHAR('0') + PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('@') PORT_CHAR('`') + PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_DEL) PORT_NAME("Clr") PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_DEL_PAD) - PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_9_PAD) PORT_CHAR(UCHAR_MAMEKEY(9_PAD)) + PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_9_PAD) PORT_CHAR(UCHAR_MAMEKEY(9_PAD)) // X4 | | Q | E | T | U | O | {[ | |\ |NP 7 |NP 6 | PORT_START("X4") PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_UNUSED) - PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_Q) PORT_CHAR('Q') PORT_CHAR('q') - PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_E) PORT_CHAR('E') PORT_CHAR('e') - PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_T) PORT_CHAR('T') PORT_CHAR('t') - PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_U) PORT_CHAR('U') PORT_CHAR('u') - PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_O) PORT_CHAR('O') PORT_CHAR('o') - PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{') - PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('\\') PORT_CHAR('|') - PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_7_PAD) PORT_CHAR(UCHAR_MAMEKEY(7_PAD)) - PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_6_PAD) PORT_CHAR(UCHAR_MAMEKEY(6_PAD)) + PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_Q) PORT_CHAR('Q') PORT_CHAR('q') + PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_E) PORT_CHAR('E') PORT_CHAR('e') + PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_T) PORT_CHAR('T') PORT_CHAR('t') + PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_U) PORT_CHAR('U') PORT_CHAR('u') + PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_O) PORT_CHAR('O') PORT_CHAR('o') + PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') PORT_CHAR('{') + PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR('\\') PORT_CHAR('|') + PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_7_PAD) PORT_CHAR(UCHAR_MAMEKEY(7_PAD)) + PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_6_PAD) PORT_CHAR(UCHAR_MAMEKEY(6_PAD)) // X5 |HOME | A | D | G | I | P | *: | LF |NP 8 |NP 5 | PORT_START("X5") - PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_HOME) PORT_NAME("Home") - PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_A) PORT_CHAR('A') PORT_CHAR('a') - PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_D) PORT_CHAR('D') PORT_CHAR('d') - PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_G) PORT_CHAR('G') PORT_CHAR('g') - PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_I) PORT_CHAR('I') PORT_CHAR('i') - PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_P) PORT_CHAR('P') PORT_CHAR('p') - PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_QUOTE) PORT_CHAR(':') PORT_CHAR('*') - PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_PGDN) PORT_NAME("Line Feed") - PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_8_PAD) PORT_CHAR(UCHAR_MAMEKEY(8_PAD)) - PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_5_PAD) PORT_CHAR(UCHAR_MAMEKEY(5_PAD)) + PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_HOME) PORT_NAME("Home") + PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_A) PORT_CHAR('A') PORT_CHAR('a') + PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_D) PORT_CHAR('D') PORT_CHAR('d') + PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_G) PORT_CHAR('G') PORT_CHAR('g') + PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_I) PORT_CHAR('I') PORT_CHAR('i') + PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_P) PORT_CHAR('P') PORT_CHAR('p') + PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_QUOTE) PORT_CHAR(':') PORT_CHAR('*') + PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_PGDN) PORT_NAME("Line Feed") + PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_8_PAD) PORT_CHAR(UCHAR_MAMEKEY(8_PAD)) + PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_5_PAD) PORT_CHAR(UCHAR_MAMEKEY(5_PAD)) // X6 | | S | F | H | J | +; | }] | DEL |NP 4 |NP 2 | PORT_START("X6") PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_UNUSED) - PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_S) PORT_CHAR('S') PORT_CHAR('s') - PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_F) PORT_CHAR('F') PORT_CHAR('f') - PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_H) PORT_CHAR('H') PORT_CHAR('h') - PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_J) PORT_CHAR('J') PORT_CHAR('j') - PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR('+') + PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_S) PORT_CHAR('S') PORT_CHAR('s') + PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_F) PORT_CHAR('F') PORT_CHAR('f') + PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_H) PORT_CHAR('H') PORT_CHAR('h') + PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_J) PORT_CHAR('J') PORT_CHAR('j') + PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR('+') PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_BACKSLASH) PORT_CHAR(']') PORT_CHAR('}') - PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_DEL) PORT_NAME("Del") - PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_4_PAD) PORT_CHAR(UCHAR_MAMEKEY(4_PAD)) - PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_2_PAD) PORT_CHAR(UCHAR_MAMEKEY(2_PAD)) + PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_DEL) PORT_NAME("Del") + PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_4_PAD) PORT_CHAR(UCHAR_MAMEKEY(4_PAD)) + PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_2_PAD) PORT_CHAR(UCHAR_MAMEKEY(2_PAD)) // X7 | | Z | C | B | K | L | <, | CR |NP 1 |NP 3 | PORT_START("X7") PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_UNUSED) - PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_Z) PORT_CHAR('Z') PORT_CHAR('z') - PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_C) PORT_CHAR('C') PORT_CHAR('c') - PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_B) PORT_CHAR('B') PORT_CHAR('b') - PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_K) PORT_CHAR('K') PORT_CHAR('k') - PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_L) PORT_CHAR('L') PORT_CHAR('l') - PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<') - PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER) PORT_CHAR(13) PORT_NAME("Return") - PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_1_PAD) PORT_CHAR(UCHAR_MAMEKEY(1_PAD)) - PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_3_PAD) PORT_CHAR(UCHAR_MAMEKEY(3_PAD)) + PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_Z) PORT_CHAR('Z') PORT_CHAR('z') + PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_C) PORT_CHAR('C') PORT_CHAR('c') + PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_B) PORT_CHAR('B') PORT_CHAR('b') + PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_K) PORT_CHAR('K') PORT_CHAR('k') + PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_L) PORT_CHAR('L') PORT_CHAR('l') + PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_COMMA) PORT_CHAR(',') PORT_CHAR('<') + PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER) PORT_CHAR(13) PORT_NAME("Return") + PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_1_PAD) PORT_CHAR(UCHAR_MAMEKEY(1_PAD)) + PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_3_PAD) PORT_CHAR(UCHAR_MAMEKEY(3_PAD)) // X8 | | X | V | N |SPACE| M | >. | ?/ |NP 0 |NP . | PORT_START("X8") PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_UNUSED) - PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_X) PORT_CHAR('X') PORT_CHAR('x') - PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_V) PORT_CHAR('V') PORT_CHAR('v') - PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_N) PORT_CHAR('N') PORT_CHAR('n') - PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') - PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_M) PORT_CHAR('M') PORT_CHAR('m') - PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>') - PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?') - PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_0_PAD) PORT_CHAR(UCHAR_MAMEKEY(0_PAD)) + PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_X) PORT_CHAR('X') PORT_CHAR('x') + PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_V) PORT_CHAR('V') PORT_CHAR('v') + PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_N) PORT_CHAR('N') PORT_CHAR('n') + PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') + PORT_BIT(0x020, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_M) PORT_CHAR('M') PORT_CHAR('m') + PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_STOP) PORT_CHAR('.') PORT_CHAR('>') + PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_SLASH) PORT_CHAR('/') PORT_CHAR('?') + PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_0_PAD) PORT_CHAR(UCHAR_MAMEKEY(0_PAD)) PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_ENTER_PAD) PORT_CHAR(UCHAR_MAMEKEY(DEL_PAD)) PORT_START(MISCKEYS_TAG) @@ -676,7 +676,7 @@ static MACHINE_CONFIG_START( hazl1500, hazl1500_state ) MCFG_CPU_ADD(CPU_TAG, I8080, XTAL_18MHz/9) // 18MHz crystal on schematics, using an i8224 clock gen/driver IC MCFG_CPU_PROGRAM_MAP(hazl1500_mem) MCFG_CPU_IO_MAP(hazl1500_io) - MCFG_QUANTUM_PERFECT_CPU(CPU_TAG) + MCFG_QUANTUM_PERFECT_CPU(CPU_TAG) /* video hardware */ MCFG_SCREEN_ADD_MONOCHROME(SCREEN_TAG, RASTER, rgb_t::green()) @@ -795,5 +795,5 @@ ROM_END /* Driver */ -/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ -COMP( 1977, hazl1500, 0, 0, hazl1500, hazl1500, driver_device, 0, "Hazeltine Corporation", "Hazeltine 1500", MACHINE_NOT_WORKING | MACHINE_NO_SOUND_HW) +/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ +COMP( 1977, hazl1500, 0, 0, hazl1500, hazl1500, driver_device, 0, "Hazeltine Corporation", "Hazeltine 1500", MACHINE_NOT_WORKING | MACHINE_NO_SOUND_HW) diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp index e2bac3503fd..d43084098e5 100644 --- a/src/mame/drivers/hh_tms1k.cpp +++ b/src/mame/drivers/hh_tms1k.cpp @@ -710,7 +710,7 @@ MACHINE_CONFIG_END Bandai System Control Car: Cheetah 「システムコントロールカー チーター」 * TMS1000NLL MP0915 (die label 1000B, MP0915) * 2 motors (one for back axis, one for steering), no sound - + It's a programmable buggy, like Big Track but much simpler. To add a command step in program-mode, press a direction key and one of the time delay number keys at the same time. To run the program(max 24 steps), switch to run-mode @@ -2557,7 +2557,7 @@ MACHINE_CONFIG_END Entex Space Battle * TMS1000 EN-6004 MP0920 (die label 1000B, MP0920) * 2 7seg LEDs, and other LEDs behind bezel, 1-bit sound - + The Japanese version was published by Gakken, same name. led translation table: led zz from game PCB = MAME y.x: @@ -6397,7 +6397,7 @@ MACHINE_CONFIG_END (Tandy) Radio Shack Monkey See (1982 version) * TMS1000 MP0271 (die label 1000E, MP0271), only half of ROM space used * 2 LEDs(one red, one green), 1-bit sound - + This is the TMS1000 version, the one from 1977 has a MM5780. To play, enter an equation followed by the ?-key, and the calculator will tell you if it was right(green) or wrong(red). For example 1+2=3? diff --git a/src/mame/drivers/indy_indigo2.cpp b/src/mame/drivers/indy_indigo2.cpp index 64a1f0c627c..d5c0270a1a5 100644 --- a/src/mame/drivers/indy_indigo2.cpp +++ b/src/mame/drivers/indy_indigo2.cpp @@ -63,14 +63,14 @@ #define PI1_TAG "pi1" #define KBDC_TAG "kbdc" #define PIT_TAG "pit" -#define RS232A_TAG "rs232a" -#define RS232B_TAG "rs232b" +#define RS232A_TAG "rs232a" +#define RS232B_TAG "rs232b" -#define SCC_PCLK XTAL_10MHz -#define SCC_RXA_CLK XTAL_3_6864MHz // Needs verification -#define SCC_TXA_CLK 0 -#define SCC_RXB_CLK XTAL_3_6864MHz // Needs verification -#define SCC_TXB_CLK 0 +#define SCC_PCLK XTAL_10MHz +#define SCC_RXA_CLK XTAL_3_6864MHz // Needs verification +#define SCC_TXA_CLK 0 +#define SCC_RXB_CLK XTAL_3_6864MHz // Needs verification +#define SCC_TXB_CLK 0 #define MCFG_IOC2_GUINNESS_ADD(_tag) \ MCFG_DEVICE_ADD(_tag, SGI_IOC2_GUINNESS, 0) @@ -103,7 +103,7 @@ protected: required_device<mips3_device> m_maincpu; required_device<scc85230_device> m_scc; - required_device<pc_lpt_device> m_pi1; // we assume standard parallel port (SPP) mode + required_device<pc_lpt_device> m_pi1; // we assume standard parallel port (SPP) mode // TODO: SGI parallel port (SGIPP), HP BOISE high speed parallel port (HPBPP), and Ricoh scanner modes required_device<kbdc8042_device> m_kbdc; required_device<pit8254_device> m_pit; diff --git a/src/mame/drivers/jangou.cpp b/src/mame/drivers/jangou.cpp index 3a0bfc890b8..37331c61d26 100644 --- a/src/mame/drivers/jangou.cpp +++ b/src/mame/drivers/jangou.cpp @@ -763,7 +763,7 @@ static INPUT_PORTS_START( roylcrdn ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Note In") /* Note In */ PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MEMORY_RESET ) PORT_TOGGLE PORT_CODE(KEYCODE_9) /* Memory Reset */ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_TOGGLE PORT_CODE(KEYCODE_0) PORT_NAME("Analyzer") /* Analyzer */ - PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) /* Test Mode */ + PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) /* Test Mode */ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Coin In") /* Coin In */ PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Credit Clear") /* Credit Clear */ PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) /* Spare 1 */ diff --git a/src/mame/drivers/kron.cpp b/src/mame/drivers/kron.cpp index 57170193403..3df2fa1911f 100644 --- a/src/mame/drivers/kron.cpp +++ b/src/mame/drivers/kron.cpp @@ -136,15 +136,15 @@ kron180_state(const machine_config &mconfig, device_type type, const char *tag) uint8_t *m_vram; uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); DECLARE_WRITE_LINE_MEMBER(keyb_interrupt); - DECLARE_WRITE8_MEMBER( sn74259_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset & 0x07, offset & 0x08 ? 1 : 0)); } - DECLARE_WRITE8_MEMBER( ap5_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } - DECLARE_READ8_MEMBER( ap5_r ){ LOGIO(("%s() %02x = %02x\n", FUNCNAME, offset, 1)); return 1; } - DECLARE_WRITE8_MEMBER( wkb_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } - DECLARE_WRITE8_MEMBER( sn74299_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } - DECLARE_READ8_MEMBER( sn74299_r ){ LOGIO(("%s() %02x = %02x\n", FUNCNAME, offset, 1)); return 1; } - DECLARE_WRITE8_MEMBER( txen_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } - DECLARE_WRITE8_MEMBER( kbd_reset_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } - DECLARE_WRITE8_MEMBER( dreq_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } + DECLARE_WRITE8_MEMBER( sn74259_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset & 0x07, offset & 0x08 ? 1 : 0)); } + DECLARE_WRITE8_MEMBER( ap5_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } + DECLARE_READ8_MEMBER( ap5_r ){ LOGIO(("%s() %02x = %02x\n", FUNCNAME, offset, 1)); return 1; } + DECLARE_WRITE8_MEMBER( wkb_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } + DECLARE_WRITE8_MEMBER( sn74299_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } + DECLARE_READ8_MEMBER( sn74299_r ){ LOGIO(("%s() %02x = %02x\n", FUNCNAME, offset, 1)); return 1; } + DECLARE_WRITE8_MEMBER( txen_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } + DECLARE_WRITE8_MEMBER( kbd_reset_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } + DECLARE_WRITE8_MEMBER( dreq_w ){ LOGIO(("%s %02x = %02x\n", FUNCNAME, offset, data)); } protected: required_device<cpu_device> m_maincpu; required_shared_ptr<uint8_t> m_videoram; @@ -320,5 +320,5 @@ ROM_START (kron180) ROM_END /* Driver */ -/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ -COMP (1995, kron180, 0, 0, kron180, kron180, driver_device, 0, "Kron Ltd", "Kron K-180", MACHINE_NOT_WORKING | MACHINE_NO_SOUND ) +/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */ +COMP (1995, kron180, 0, 0, kron180, kron180, driver_device, 0, "Kron Ltd", "Kron K-180", MACHINE_NOT_WORKING | MACHINE_NO_SOUND ) diff --git a/src/mame/drivers/lsasquad.cpp b/src/mame/drivers/lsasquad.cpp index 43bf51ccd9c..3bcdbb13a74 100644 --- a/src/mame/drivers/lsasquad.cpp +++ b/src/mame/drivers/lsasquad.cpp @@ -735,7 +735,7 @@ ROM_START( lsasquad ) ROM_REGION( 0x0400, "prio_prom", 0 ) ROM_LOAD( "a64-06.9", 0x0000, 0x0400, CRC(7ced30ba) SHA1(f22de13d4fd49b7b2ffd06032eb5e14fbdeec91c) ) /* priority */ - + ROM_REGION( 0x0200, "plds", 0 ) ROM_LOAD( "pal16l8a.14", 0x0000, 0x0104, CRC(a7cc157d) SHA1(f06f750636d59a610e0b0eda8cb791780ebc57a5) ) ROM_END diff --git a/src/mame/drivers/mac128.cpp b/src/mame/drivers/mac128.cpp index 2892cf1d74e..29cbbfaa5d0 100755 --- a/src/mame/drivers/mac128.cpp +++ b/src/mame/drivers/mac128.cpp @@ -4,9 +4,9 @@ drivers/mac128.cpp Original-style Macintosh family emulation - + The cutoff here is Macs with 128k-style video and audio and no ADB - + Nate Woods, Raphael Nabet, R. Belmont 0x000000 - 0x3fffff RAM/ROM (switches based on overlay) @@ -36,7 +36,7 @@ SCC: PB_EXT (DCDB) from mouse Y circuitry PA_EXT (DCDA) from mouse X circuitry - + SCC Init: Control B: @@ -130,10 +130,10 @@ enum mac128model_t #define MAC_ALT_SND_BUF_OFFSET (0x5F00>>1) #define LOG_KEYBOARD 0 -#define LOG_GENERAL 0 -#define LOG_MAC_IWM 0 -#define LOG_VIA 0 -#define LOG_MEMORY 0 +#define LOG_GENERAL 0 +#define LOG_MAC_IWM 0 +#define LOG_VIA 0 +#define LOG_MEMORY 0 class mac128_state : public driver_device { @@ -235,7 +235,7 @@ public: DECLARE_WRITE16_MEMBER ( macplus_scsi_w ); DECLARE_WRITE_LINE_MEMBER(mac_scsi_irq); DECLARE_WRITE_LINE_MEMBER(set_scc_interrupt); - + TIMER_DEVICE_CALLBACK_MEMBER(mac_scanline); DECLARE_DRIVER_INIT(mac128k512k); DECLARE_DRIVER_INIT(mac512ke); @@ -348,7 +348,7 @@ void mac128_state::field_interrupts() take_interrupt = 1; } -// printf("field_interrupts: take %d\n", take_interrupt); +// printf("field_interrupts: take %d\n", take_interrupt); if (m_last_taken_interrupt > -1) { @@ -365,7 +365,7 @@ void mac128_state::field_interrupts() WRITE_LINE_MEMBER(mac128_state::set_scc_interrupt) { -// printf("SCC IRQ: %d\n", state); +// printf("SCC IRQ: %d\n", state); m_scc_interrupt = state; field_interrupts(); } @@ -474,59 +474,59 @@ void mac128_state::scc_mouse_irq(int x, int y) if (x && y) { - if (m_last_was_x) + if (m_last_was_x) { - if(x == 2) + if(x == 2) { - if(lastx) + if(lastx) { m_scc->dcda_w(CLEAR_LINE); m_mouse_bit_x = 0; - } - else + } + else { m_scc->dcda_w(ASSERT_LINE); m_mouse_bit_x = 1; } - } - else + } + else { - if(lastx) + if(lastx) { m_scc->dcda_w(CLEAR_LINE); m_mouse_bit_x = 1; - } - else + } + else { m_scc->dcda_w(ASSERT_LINE); m_mouse_bit_x = 0; } } lastx = !lastx; - } - else + } + else { - if(y == 2) + if(y == 2) { - if(lasty) + if(lasty) { m_scc->dcdb_w(CLEAR_LINE); m_mouse_bit_y = 0; - } - else + } + else { m_scc->dcdb_w(ASSERT_LINE); m_mouse_bit_y = 1; } - } - else + } + else { - if(lasty) + if(lasty) { m_scc->dcdb_w(CLEAR_LINE); m_mouse_bit_y = 1; - } - else + } + else { m_scc->dcdb_w(ASSERT_LINE); m_mouse_bit_y = 0; @@ -539,59 +539,59 @@ void mac128_state::scc_mouse_irq(int x, int y) } else { - if (x) + if (x) { - if(x == 2) + if(x == 2) { - if(lastx) + if(lastx) { m_scc->dcda_w(CLEAR_LINE); m_mouse_bit_x = 0; - } - else + } + else { m_scc->dcda_w(ASSERT_LINE); m_mouse_bit_x = 1; } - } - else + } + else { - if(lastx) + if(lastx) { m_scc->dcda_w(CLEAR_LINE); m_mouse_bit_x = 1; - } - else + } + else { m_scc->dcda_w(ASSERT_LINE); m_mouse_bit_x = 0; } } lastx = !lastx; - } - else + } + else { - if(y == 2) + if(y == 2) { - if(lasty) + if(lasty) { m_scc->dcdb_w(CLEAR_LINE); m_mouse_bit_y = 0; - } - else + } + else { m_scc->dcdb_w(ASSERT_LINE); m_mouse_bit_y = 1; } - } - else + } + else { - if(lasty) + if(lasty) { m_scc->dcdb_w(CLEAR_LINE); m_mouse_bit_y = 1; - } - else + } + else { m_scc->dcdb_w(ASSERT_LINE); m_mouse_bit_y = 0; @@ -740,7 +740,7 @@ WRITE8_MEMBER(mac128_state::mac_via_out_a) /* Early Mac models had VIA A4 control overlaying. In the Mac SE (and * possibly later models), overlay was set on reset, but cleared on the * first access to the ROM. */ - + if (((data & 0x10) >> 4) != m_overlay) { m_overlay = (data & 0x10) >> 4; @@ -1336,7 +1336,7 @@ static MACHINE_CONFIG_START( mac512ke, mac128_state ) /* internal ram */ MCFG_RAM_ADD(RAM_TAG) MCFG_RAM_DEFAULT_SIZE("512K") - + // software list MCFG_SOFTWARE_LIST_ADD("flop35_list","mac_flop") MCFG_SOFTWARE_LIST_ADD("hdd_list", "mac_hdd") @@ -1554,7 +1554,7 @@ ROM_END * 04 <- 20 x1 clock, Sync Modes Enable, SDLC Mode (01111110 Flag) * 0a <- e0 CRC preset to '1's, FM0 encoding scheme * 06 <- 00 Receiver SDLC ADR0-ADR7 bits - * 07 <- 7e Receiver SDLC Flag character (0x7e as expected) + * 07 <- 7e Receiver SDLC Flag character (0x7e as expected) * 0c <- 06 Low baudrate divider * 0d <- 00 Hi baudrate divider * 0e <- c0 Set FM Mode Command @@ -1562,10 +1562,10 @@ ROM_END * 02 <- 00 Interrupt vector * 0f <- 08 External/Status Control: DCD interrupts enabled * 01 <- 09 Enable External Interrupts + Rx Int On First Character or Special Condition - * 09 <- 0a Master Interrupt Control: No vector and Interrupts enabled! + * 09 <- 0a Master Interrupt Control: No vector and Interrupts enabled! * 0b <- 70 Rx Clock is DPLL Output, Tx Clock is BRG output + TTL Clock on RTxC * 0e <- 21 Enter Search Mode Command + BRG enable + RTxC as BRG clock - * 05 <- 60 Tx 8 bit, Tx disable, SDLC CRC Polynomial selected, Tx CRC disabled + * 05 <- 60 Tx 8 bit, Tx disable, SDLC CRC Polynomial selected, Tx CRC disabled * 06 <- 01 Receiver SDLC ADR0-ADR7 bits updated * 0f <- 88 External/Status Control: Abort/Break and DCD interrupts enabled */ @@ -1580,7 +1580,7 @@ ROM_START( macplus ) ROM_REGION16_BE(0x100000, "bootrom", 0) ROM_SYSTEM_BIOS(0, "v3", "Loud Harmonicas") ROMX_LOAD( "macplus.rom", 0x00000, 0x20000, CRC(b2102e8e) SHA1(7d2f808a045aa3a1b242764f0e2c7d13e288bf1f), ROM_GROUPWORD | ROM_BIOS(1) ) - ROM_FILL(0x20000, 0x2, 0xff) // ROM checks for same contents at 20000 and 40000 to determine if SCSI is present + ROM_FILL(0x20000, 0x2, 0xff) // ROM checks for same contents at 20000 and 40000 to determine if SCSI is present ROM_FILL(0x40000, 0x2, 0xaa) ROM_SYSTEM_BIOS(1, "v2", "Lonely Heifers") ROMX_LOAD( "23512-1007__342-0342-a.rom-lo.u7d", 0x000000, 0x010000, CRC(5aaa4a2f) SHA1(5dfbfbe279ddadfae691c95f552fd9db41e3ed90), ROM_SKIP(1) | ROM_BIOS(2) ) @@ -1594,8 +1594,8 @@ ROM_START( macplus ) ROM_SYSTEM_BIOS(3, "romdisk", "mac68k.info self-boot (1/1/2015)") ROMX_LOAD( "modplus-harp2.bin", 0x000000, 0x028000, CRC(ba56078d) SHA1(debdf328ac73e1662d274a044d8750224f47edef), ROM_GROUPWORD | ROM_BIOS(4) ) ROM_SYSTEM_BIOS(4, "romdisk2", "bigmessofwires.com ROMinator (2/25/2015)") - ROMX_LOAD( "rominator-20150225-lo.bin", 0x000001, 0x080000, CRC(62cf2a0b) SHA1(f78ebb0919dd9e094bef7952b853b70e66d05e01), ROM_SKIP(1) | ROM_BIOS(5) ) - ROMX_LOAD( "rominator-20150225-hi.bin", 0x000000, 0x080000, CRC(a28ba8ec) SHA1(9ddcf500727955c60db0ff24b5ca2458f53fd89a), ROM_SKIP(1) | ROM_BIOS(5) ) + ROMX_LOAD( "rominator-20150225-lo.bin", 0x000001, 0x080000, CRC(62cf2a0b) SHA1(f78ebb0919dd9e094bef7952b853b70e66d05e01), ROM_SKIP(1) | ROM_BIOS(5) ) + ROMX_LOAD( "rominator-20150225-hi.bin", 0x000000, 0x080000, CRC(a28ba8ec) SHA1(9ddcf500727955c60db0ff24b5ca2458f53fd89a), ROM_SKIP(1) | ROM_BIOS(5) ) ROM_END /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME */ diff --git a/src/mame/drivers/micro20.cpp b/src/mame/drivers/micro20.cpp index 9136d779daf..6621b066a8a 100755 --- a/src/mame/drivers/micro20.cpp +++ b/src/mame/drivers/micro20.cpp @@ -4,9 +4,9 @@ micro20.cpp GMX Micro 20 single-board computer - + 68020 + 68881 FPU - + 800a5e = end of initial 68020 torture test ****************************************************************************/ @@ -21,9 +21,9 @@ #define MAINCPU_TAG "maincpu" #define DUART_A_TAG "duarta" #define DUART_B_TAG "duartb" -#define RTC_TAG "rtc" -#define FDC_TAG "fdc" -#define PIT_TAG "pit" +#define RTC_TAG "rtc" +#define FDC_TAG "fdc" +#define PIT_TAG "pit" class micro20_state : public driver_device { @@ -41,12 +41,12 @@ public: required_memory_region m_rom; required_shared_ptr<uint32_t> m_mainram; required_device<pit68230_device> m_pit; - + virtual void machine_start() override; virtual void machine_reset() override; - + DECLARE_WRITE_LINE_MEMBER(m68k_reset_callback); - + private: }; @@ -59,11 +59,11 @@ void micro20_state::machine_reset() { uint32_t *pROM = (uint32_t *)m_rom->base(); uint32_t *pRAM = (uint32_t *)m_mainram.target(); - + pRAM[0] = pROM[0]; pRAM[1] = pROM[1]; m_maincpu->reset(); - + m_maincpu->set_reset_callback(write_line_delegate(FUNC(micro20_state::m68k_reset_callback),this)); } @@ -80,12 +80,12 @@ WRITE_LINE_MEMBER(micro20_state::m68k_reset_callback) static ADDRESS_MAP_START(micro20_map, AS_PROGRAM, 32, micro20_state ) AM_RANGE(0x00000000, 0x001fffff) AM_RAM AM_SHARE("mainram") AM_RANGE(0x00800000, 0x0083ffff) AM_ROM AM_REGION("bootrom", 0) - AM_RANGE(0xffff8000, 0xffff8003) AM_DEVREADWRITE8(FDC_TAG, wd1772_t, status_r, cmd_w, 0xff000000) - AM_RANGE(0xffff8000, 0xffff8003) AM_DEVREADWRITE8(FDC_TAG, wd1772_t, track_r, track_w, 0x00ff0000) - AM_RANGE(0xffff8000, 0xffff8003) AM_DEVREADWRITE8(FDC_TAG, wd1772_t, sector_r, sector_w, 0x0000ff00) - AM_RANGE(0xffff8000, 0xffff8003) AM_DEVREADWRITE8(FDC_TAG, wd1772_t, data_r, data_w, 0x000000ff) + AM_RANGE(0xffff8000, 0xffff8003) AM_DEVREADWRITE8(FDC_TAG, wd1772_t, status_r, cmd_w, 0xff000000) + AM_RANGE(0xffff8000, 0xffff8003) AM_DEVREADWRITE8(FDC_TAG, wd1772_t, track_r, track_w, 0x00ff0000) + AM_RANGE(0xffff8000, 0xffff8003) AM_DEVREADWRITE8(FDC_TAG, wd1772_t, sector_r, sector_w, 0x0000ff00) + AM_RANGE(0xffff8000, 0xffff8003) AM_DEVREADWRITE8(FDC_TAG, wd1772_t, data_r, data_w, 0x000000ff) AM_RANGE(0xffff8080, 0xffff808f) AM_DEVREADWRITE8(DUART_A_TAG, mc68681_device, read, write, 0xffffffff) - AM_RANGE(0xffff80a0, 0xffff80af) AM_DEVREADWRITE8(DUART_B_TAG, mc68681_device, read, write, 0xffffffff) + AM_RANGE(0xffff80a0, 0xffff80af) AM_DEVREADWRITE8(DUART_B_TAG, mc68681_device, read, write, 0xffffffff) AM_RANGE(0xffff80c0, 0xffff80df) AM_DEVREADWRITE8(PIT_TAG, pit68230_device, read, write, 0xffffffff) ADDRESS_MAP_END @@ -93,19 +93,19 @@ static MACHINE_CONFIG_START( micro20, micro20_state ) /* basic machine hardware */ MCFG_CPU_ADD(MAINCPU_TAG, M68020, XTAL_16_67MHz) MCFG_CPU_PROGRAM_MAP(micro20_map) - + MCFG_MC68681_ADD(DUART_A_TAG, XTAL_3_6864MHz) -// MCFG_MC68681_IRQ_CALLBACK(WRITELINE(vt240_state, irq13_w)) -// MCFG_MC68681_A_TX_CALLBACK(DEVWRITELINE("host", rs232_port_device, write_txd)) -// MCFG_MC68681_B_TX_CALLBACK(DEVWRITELINE("printer", rs232_port_device, write_txd)) -// MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(vt240_state, duartout_w)) +// MCFG_MC68681_IRQ_CALLBACK(WRITELINE(vt240_state, irq13_w)) +// MCFG_MC68681_A_TX_CALLBACK(DEVWRITELINE("host", rs232_port_device, write_txd)) +// MCFG_MC68681_B_TX_CALLBACK(DEVWRITELINE("printer", rs232_port_device, write_txd)) +// MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(vt240_state, duartout_w)) MCFG_MC68681_ADD(DUART_B_TAG, XTAL_3_6864MHz) - + MCFG_DEVICE_ADD(RTC_TAG, MSM58321, XTAL_32_768kHz) - + MCFG_WD1772_ADD(FDC_TAG, XTAL_16_67MHz / 2) - + MCFG_DEVICE_ADD(PIT_TAG, PIT68230, XTAL_16_67MHz / 2) MACHINE_CONFIG_END @@ -121,10 +121,10 @@ INPUT_PORTS_END ROM_START( micro20 ) ROM_REGION32_BE(0x40000, "bootrom", 0) - ROM_LOAD32_BYTE( "d00-07_u6_6791.bin", 0x000003, 0x010000, CRC(63d66ea1) SHA1(c5dfbc4d81920e1d2e981c52c1af3d486d382a35) ) - ROM_LOAD32_BYTE( "d08-15_u8_0dc6.bin", 0x000002, 0x010000, CRC(d62ef21f) SHA1(2779d430b1a0b835807627e707d46547b29ef579) ) - ROM_LOAD32_BYTE( "d16-23_u10_e5b0.bin", 0x000001, 0x010000, CRC(cd7acf86) SHA1(db994ed714a1079fbb66616355e8f18d2d1a2005) ) - ROM_LOAD32_BYTE( "d24-31_u13_d115.bin", 0x000000, 0x010000, CRC(3646d943) SHA1(97ee54063e2fe49fef2ff68d0f2e39345a75eac5) ) + ROM_LOAD32_BYTE( "d00-07_u6_6791.bin", 0x000003, 0x010000, CRC(63d66ea1) SHA1(c5dfbc4d81920e1d2e981c52c1af3d486d382a35) ) + ROM_LOAD32_BYTE( "d08-15_u8_0dc6.bin", 0x000002, 0x010000, CRC(d62ef21f) SHA1(2779d430b1a0b835807627e707d46547b29ef579) ) + ROM_LOAD32_BYTE( "d16-23_u10_e5b0.bin", 0x000001, 0x010000, CRC(cd7acf86) SHA1(db994ed714a1079fbb66616355e8f18d2d1a2005) ) + ROM_LOAD32_BYTE( "d24-31_u13_d115.bin", 0x000000, 0x010000, CRC(3646d943) SHA1(97ee54063e2fe49fef2ff68d0f2e39345a75eac5) ) ROM_END COMP( 1984, micro20, 0, 0, micro20, micro20, driver_device, 0, "GMX", "Micro 20", MACHINE_NOT_WORKING | MACHINE_NO_SOUND ) diff --git a/src/mame/drivers/mirage.cpp b/src/mame/drivers/mirage.cpp index 5065501b8a2..10e7bc9749f 100644 --- a/src/mame/drivers/mirage.cpp +++ b/src/mame/drivers/mirage.cpp @@ -2,15 +2,15 @@ // copyright-holders:Angelo Salese /********************************************************************************************** - Mirage Youjuu Mahjongden (c) 1994 Mitchell + Mirage Youjuu Mahjongden (c) 1994 Mitchell - Similar to simpl156.cpp with shifted stuff around. - - TODO: - - some unknown writes (irq acks / sprite DMA start presumably); + Similar to simpl156.cpp with shifted stuff around. - Notes: - - To enter into full Test Mode you need to keep pressed the Mahjong A key at start-up. + TODO: + - some unknown writes (irq acks / sprite DMA start presumably); + + Notes: + - To enter into full Test Mode you need to keep pressed the Mahjong A key at start-up. =============================================================================================== @@ -187,7 +187,7 @@ static INPUT_PORTS_START( mirage ) PORT_BIT( 0x0010, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_VBLANK("screen") PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read) PORT_BIT( 0xffc0, IP_ACTIVE_LOW, IPT_UNKNOWN ) - + PORT_START("KEY0") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_MAHJONG_A ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_MAHJONG_E ) diff --git a/src/mame/drivers/mw8080bw.cpp b/src/mame/drivers/mw8080bw.cpp index 66b08f0e024..a5ea39de466 100644 --- a/src/mame/drivers/mw8080bw.cpp +++ b/src/mame/drivers/mw8080bw.cpp @@ -3165,20 +3165,20 @@ ROM_END /* CPUs -QTY Type clock position function -1x unknown DIP40 main PCB 2n -7x LM3900N sound PCB ic2-ic8 Quad Operational Amplifier - sound -1x LM377 sound PCB 1k Dual Audio Amplifier - sound -1x oscillator 19.968000 main PCB XTAL 8b +QTY Type clock position function +1x unknown DIP40 main PCB 2n +7x LM3900N sound PCB ic2-ic8 Quad Operational Amplifier - sound +1x LM377 sound PCB 1k Dual Audio Amplifier - sound +1x oscillator 19.968000 main PCB XTAL 8b ROMs -QTY Type position status -4x TMS2708 main PCB 1m 1n 1r 1s dumped -2x MCM2708 main PCB 1j 1l dumped +QTY Type position status +4x TMS2708 main PCB 1m 1n 1r 1s dumped +2x MCM2708 main PCB 1j 1l dumped RAMs -QTY Type position -16x D2107C main PCB 1-16 +QTY Type position +16x D2107C main PCB 1-16 Others 1x 18x2 edge connector (main PCB) @@ -3191,7 +3191,7 @@ Others Notes main PCB is marked "CS210", "SI" and is labeled "C6902575" -sound PCB is marked "CS214" and is labeled "C6902574", "VOLUME" +sound PCB is marked "CS214" and is labeled "C6902574", "VOLUME" */ ROM_START( blueshrkmr ) @@ -3252,7 +3252,7 @@ ROM_END /* 730 */ GAME( 1978, bowler, 0, bowler, bowler, driver_device, 0, ROT90, "Midway", "Bowling Alley", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE ) /* 739 */ GAMEL(1978, invaders, 0, invaders, invaders, driver_device, 0, ROT270, "Taito / Midway", "Space Invaders / Space Invaders M", MACHINE_SUPPORTS_SAVE, layout_invaders ) /* 742 */ GAME( 1978, blueshrk, 0, blueshrk, blueshrk, driver_device, 0, ROT0, "Midway", "Blue Shark", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE ) - GAME( 1978, blueshrkmr, blueshrk, blueshrk, blueshrk, driver_device, 0, ROT0, "bootleg (Model Racing)", "Blue Shark (Model Racing bootleg)", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE ) + GAME( 1978, blueshrkmr, blueshrk, blueshrk, blueshrk, driver_device, 0, ROT0, "bootleg (Model Racing)", "Blue Shark (Model Racing bootleg)", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE ) /* 749 4 Player Bowling Alley (cocktail, dump does not exist) */ /* 851 */ GAMEL(1980, invad2ct, 0, invad2ct, invad2ct, driver_device, 0, ROT90, "Midway", "Space Invaders II (Midway, cocktail)", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE, layout_invad2ct ) /* 852 Space Invaders Deluxe (color hardware, not in this driver) */ diff --git a/src/mame/drivers/mzr8105.cpp b/src/mame/drivers/mzr8105.cpp index f20125446e9..295436fbbea 100644 --- a/src/mame/drivers/mzr8105.cpp +++ b/src/mame/drivers/mzr8105.cpp @@ -103,20 +103,20 @@ * Known boards from Mizar: * * MZX 414 - * MZ 7122 - * MZ 7132 + * MZ 7122 + * MZ 7132 * MZ 7300 Serial I/O Board (Z8530) * EMX 7320 Serial I/O Board * MZ 7400 Disk Controller Board (WD 2010; WD 1772) * MZ 7500 IEEE-488 (GPIB) Interface Board * EMX 7550 Ethernet Controller Board (AMD 7990 Lance) MAC: 00:80:F8 MIZAR, INC. - * MZ 7772 + * MZ 7772 * MZ 7810 I/O Expansion Module (6681 DUART) * MZ 7831 SCSI Expansion Module (WD 33C93A) * MZ 7850 Ethernet Expansion Module (WD 83C690) * MZ 8000 ?? * MZ 8105 3U 68000 CPU board - * MZ 8115 + * MZ 8115 * MZ 8300 3U serial board, 2 NEC 7201 and 1 AMD CTS9513 5 x 16 bit Counter/Timer * MZ 8310 timing module 2 x AM9513 * MZ 8505 IEEE-488 (GPIB) Interface Board" @@ -170,7 +170,7 @@ #include "softlist.h" // The board needs a SIO board to get a user interface so lets fake one until the VME devices is done -#define FAKEVME 1 +#define FAKEVME 1 // There are two user prom sockets #define CARDSLOT 0 @@ -253,9 +253,9 @@ static ADDRESS_MAP_START (mzr8105_mem, AS_PROGRAM, 16, mzr8105_state) AM_RANGE (0x000000, 0x003fff) AM_ROM AM_REGION("roms", 0x000000) /* System EPROM Area 16Kb OS9 DEBUG - not verified */ AM_RANGE (0x004000, 0x01ffff) AM_ROM AM_REGION("roms", 0x004000)/* System EPROM Area 112Kb for System ROM - not verified */ AM_RANGE (0x020000, 0x03ffff) AM_RAM /* Not verified */ -// AM_RANGE (0x0a0000, 0x0bffff) AM_ROM /* User EPROM/SRAM Area, max 128Kb mapped by a cartslot */ -// AM_RANGE(0x100000, 0xfeffff) AM_READWRITE(vme_a24_r, vme_a24_w) /* VMEbus Rev B addresses (24 bits) - not verified */ -// AM_RANGE(0xff0000, 0xffffff) AM_READWRITE(vme_a16_r, vme_a16_w) /* VMEbus Rev B addresses (16 bits) - not verified */ +// AM_RANGE (0x0a0000, 0x0bffff) AM_ROM /* User EPROM/SRAM Area, max 128Kb mapped by a cartslot */ +// AM_RANGE(0x100000, 0xfeffff) AM_READWRITE(vme_a24_r, vme_a24_w) /* VMEbus Rev B addresses (24 bits) - not verified */ +// AM_RANGE(0xff0000, 0xffffff) AM_READWRITE(vme_a16_r, vme_a16_w) /* VMEbus Rev B addresses (16 bits) - not verified */ #if FAKEVME // Faking a Mizar 8300 SIO UPD7201 BOARD in VME A16 adress space AM_RANGE (0xFF0000, 0xFF0001) AM_DEVREADWRITE8("upd", upd7201N_device, db_r, db_w, 0x00ff) @@ -350,13 +350,13 @@ WRITE_LINE_MEMBER (mzr8105_state::write_updterm_clock){ static MACHINE_CONFIG_START (mzr8105, mzr8105_state) MCFG_CPU_ADD ("maincpu", M68000, XTAL_10MHz) MCFG_CPU_PROGRAM_MAP (mzr8105_mem) - + /* Terminal Port config */ MCFG_UPD7201_ADD("upd", XTAL_4MHz, 0, 0, 0, 0 ) MCFG_Z80SIO_OUT_TXDB_CB(DEVWRITELINE("rs232trm", rs232_port_device, write_txd)) MCFG_Z80SIO_OUT_DTRB_CB(DEVWRITELINE("rs232trm", rs232_port_device, write_dtr)) MCFG_Z80SIO_OUT_RTSB_CB(DEVWRITELINE("rs232trm", rs232_port_device, write_rts)) - + MCFG_RS232_PORT_ADD ("rs232trm", default_rs232_devices, "terminal") MCFG_RS232_RXD_HANDLER (DEVWRITELINE ("upd", upd7201N_device, rxb_w)) MCFG_RS232_CTS_HANDLER (DEVWRITELINE ("upd", upd7201N_device, ctsb_w)) @@ -373,7 +373,7 @@ MACHINE_CONFIG_END /* ROM definitions */ /* UPD7201 init sequence - * :upd B Reg 02 <- 04 Interrupt vector + * :upd B Reg 02 <- 04 Interrupt vector * :upd B Reg 06 <- 00 Sync byte * :upd B Reg 07 <- 00 Sync byte * :upd B Reg 03 <- c1 Rx 8 bit chars + Rx enable diff --git a/src/mame/drivers/nightgal.cpp b/src/mame/drivers/nightgal.cpp index 2353eeee918..d56b3b545d7 100644 --- a/src/mame/drivers/nightgal.cpp +++ b/src/mame/drivers/nightgal.cpp @@ -514,7 +514,7 @@ static INPUT_PORTS_START( sexygal ) PORT_DIPSETTING( 0x80, DEF_STR( On ) ) // TODO: ok for ngtbunny, not for the others - PORT_START("DSWA") + PORT_START("DSWA") PORT_DIPNAME( 0x0f, 0x0f, "Game Out Rate" ) PORT_DIPLOCATION("SWA:1,2,3,4") PORT_DIPSETTING( 0x00, "50" ) PORT_DIPSETTING( 0x01, "53" ) @@ -533,11 +533,11 @@ static INPUT_PORTS_START( sexygal ) PORT_DIPSETTING( 0x0e, "93" ) PORT_DIPSETTING( 0x0f, "96" ) PORT_DIPNAME( 0xf0, 0xf0, "Rate Max" ) PORT_DIPLOCATION("SWA:5,6,7,8") -// PORT_DIPSETTING( 0x20, "10" ) -// PORT_DIPSETTING( 0x30, "20" ) -// PORT_DIPSETTING( 0x40, "5" ) -// PORT_DIPSETTING( 0x50, "10" ) -// PORT_DIPSETTING( 0x60, "20" ) +// PORT_DIPSETTING( 0x20, "10" ) +// PORT_DIPSETTING( 0x30, "20" ) +// PORT_DIPSETTING( 0x40, "5" ) +// PORT_DIPSETTING( 0x50, "10" ) +// PORT_DIPSETTING( 0x60, "20" ) PORT_DIPSETTING( 0x80, "1" ) PORT_DIPSETTING( 0x90, "2" ) PORT_DIPSETTING( 0xc0, "3" ) @@ -549,7 +549,7 @@ static INPUT_PORTS_START( sexygal ) PORT_DIPSETTING( 0xe0, "10" ) PORT_DIPSETTING( 0xf0, "20" ) PORT_DIPSETTING( 0x70, "30" ) - + PORT_START("DSWB") PORT_DIPNAME( 0x01, 0x01, "DSWB" ) PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) diff --git a/src/mame/drivers/octopus.cpp b/src/mame/drivers/octopus.cpp index 302fa06ab98..4504a24c902 100644 --- a/src/mame/drivers/octopus.cpp +++ b/src/mame/drivers/octopus.cpp @@ -808,7 +808,7 @@ SCN2674_DRAW_CHARACTER_MEMBER(octopus_state::display_pixels) bg = 0x7f7f7f; else bg = 0x000000; - + if(attr & 0x20) // reverse video data = ~data; } @@ -819,7 +819,7 @@ SCN2674_DRAW_CHARACTER_MEMBER(octopus_state::display_pixels) if(cursor && !blink) { bool inverse = true; - + if(!(m_dswa->read() & 0x80)) // not available in monochrome mode inverse = false; if(m_vidctrl & 0x40) // not enabled @@ -954,7 +954,7 @@ static MACHINE_CONFIG_START( octopus, octopus_state ) MCFG_Z80DART_OUT_TXDB_CB(DEVWRITELINE("serial_b",rs232_port_device, write_txd)) MCFG_Z80DART_OUT_RTSA_CB(DEVWRITELINE("serial_a",rs232_port_device, write_rts)) MCFG_Z80DART_OUT_RTSB_CB(DEVWRITELINE("serial_b",rs232_port_device, write_rts)) - + MCFG_RS232_PORT_ADD("serial_a", default_rs232_devices, nullptr) MCFG_RS232_RXD_HANDLER(DEVWRITELINE("serial",z80sio2_device, rxa_w)) MCFG_RS232_CTS_HANDLER(DEVWRITELINE("serial",z80sio2_device, ctsa_w)) MCFG_DEVCB_INVERT diff --git a/src/mame/drivers/pacman.cpp b/src/mame/drivers/pacman.cpp index 6ff5b23d083..7f3c2a4ae2f 100644 --- a/src/mame/drivers/pacman.cpp +++ b/src/mame/drivers/pacman.cpp @@ -1115,7 +1115,7 @@ static ADDRESS_MAP_START( numcrash_map, AS_PROGRAM, 8, pacman_state ) AM_RANGE(0x5000, 0x5000) AM_READ_PORT("IN0") AM_RANGE(0x5040, 0x5040) AM_READ_PORT("IN1") AM_RANGE(0x5080, 0x5080) AM_READ_PORT("DSW1") -// AM_RANGE(0x50c0, 0x50c0) AM_READ_PORT("DSW2") // only one DSW on the PCB +// AM_RANGE(0x50c0, 0x50c0) AM_READ_PORT("DSW2") // only one DSW on the PCB ADDRESS_MAP_END diff --git a/src/mame/drivers/pcipc.cpp b/src/mame/drivers/pcipc.cpp index db5f6146508..e8f4074f512 100644 --- a/src/mame/drivers/pcipc.cpp +++ b/src/mame/drivers/pcipc.cpp @@ -184,7 +184,7 @@ const pcipc_state::boot_state_info pcipc_state::boot_state_infos_phoenix[] = { { 0, nullptr } }; -const pcipc_state::boot_state_info pcipc_state::boot_state_infos_award[] = { +const pcipc_state::boot_state_info pcipc_state::boot_state_infos_award[] = { {0x01, "Processor test; Processor status verification" }, {0x02, "Processor test 2; Read/Write and verify all CPU registers" }, {0x03, "Initialize chips; Disable NMI, PIE, AIE, UEI, SQWV. Disable video, parity checking, DMA. Reset math coprocessor. Clear all page registers and CMOS shutdown. Initialize DMA controller 0 and 1. Initialize interrupt controllers 0 and 1." }, @@ -251,7 +251,7 @@ const pcipc_state::boot_state_info pcipc_state::boot_state_infos_award[] = { {0xFF, "Boot loader" }, { 0, nullptr } }; - + WRITE8_MEMBER(pcipc_state::boot_state_phoenix_w) { const char *desc = ""; @@ -291,7 +291,7 @@ MACHINE_CONFIG_END static MACHINE_CONFIG_START(pcipctx, pcipc_state) MCFG_CPU_ADD("maincpu", PENTIUM, 60000000) MCFG_CPU_IRQ_ACKNOWLEDGE_DEVICE("pci:07.0:pic8259_master", pic8259_device, inta_cb) - + MCFG_PCI_ROOT_ADD( ":pci") MCFG_I82439TX_ADD( ":pci:00.0", ":maincpu", 256*1024*1024) MCFG_I82371SB_ISA_ADD(":pci:07.0") @@ -309,9 +309,9 @@ ROM_START(pcipc) ROM_SYSTEM_BIOS(2, "crisis", "Version 07/01/98, for flash recovery") ROMX_LOAD("crisis.rom", 0x00000, 0x40000, CRC(38a1458a) SHA1(8881ac336392cca79a772b4168f63efc31f953dd), ROM_BIOS(3) ) ROM_SYSTEM_BIOS(3, "5hx29", "5hx29") \ - ROMX_LOAD("5hx29.bin", 0x20000, 0x20000, CRC(07719a55) SHA1(b63993fd5186cdb4f28c117428a507cd069e1f68), ROM_BIOS(4) ) + ROMX_LOAD("5hx29.bin", 0x20000, 0x20000, CRC(07719a55) SHA1(b63993fd5186cdb4f28c117428a507cd069e1f68), ROM_BIOS(4) ) ROM_REGION(0x8000,"ibm_vga", 0) - ROM_LOAD("ibm-vga.bin", 0x00000, 0x8000, BAD_DUMP CRC(74e3fadb) SHA1(dce6491424f1726203776dfae9a967a98a4ba7b5) ) + ROM_LOAD("ibm-vga.bin", 0x00000, 0x8000, BAD_DUMP CRC(74e3fadb) SHA1(dce6491424f1726203776dfae9a967a98a4ba7b5) ) ROM_END ROM_START(pcipctx) @@ -320,7 +320,7 @@ ROM_START(pcipctx) ROMX_LOAD("gb_ga586t2.bin", 0x20000, 0x20000, CRC(3a50a6e1) SHA1(dea859b4f1492d0d08aacd260ed1e83e00ebac08), ROM_BIOS(1)) ROM_REGION(0x8000,"ibm_vga", 0) - ROM_LOAD("ibm-vga.bin", 0x00000, 0x8000, BAD_DUMP CRC(74e3fadb) SHA1(dce6491424f1726203776dfae9a967a98a4ba7b5) ) + ROM_LOAD("ibm-vga.bin", 0x00000, 0x8000, BAD_DUMP CRC(74e3fadb) SHA1(dce6491424f1726203776dfae9a967a98a4ba7b5) ) ROM_END static INPUT_PORTS_START(pcipc) diff --git a/src/mame/drivers/peplus.cpp b/src/mame/drivers/peplus.cpp index ae8100fb4e8..b37b253dc4a 100644 --- a/src/mame/drivers/peplus.cpp +++ b/src/mame/drivers/peplus.cpp @@ -5812,7 +5812,7 @@ PayTable Js+ 2PR 3K STR FL FH 4K SF RF (Bonus) ROM_LOAD( "mxo-cg2004.u75", 0x18000, 0x8000, CRC(5aaa4480) SHA1(353c4ce566c944406fce21f2c5045c856ef7a609) ) ROM_REGION( 0x100, "proms", 0 ) - ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) + ROM_LOAD( "cap740.u50", 0x0000, 0x0100, CRC(6fe619c4) SHA1(49e43dafd010ce0fe9b2a63b96a4ddedcb933c6d) ) ROM_END ROM_START( pepp0445 ) /* Normal board : Aces & Faces Bonus Joker Poker (PP0445) */ diff --git a/src/mame/drivers/pg685.cpp b/src/mame/drivers/pg685.cpp index 45b87a26432..bf5c490501f 100644 --- a/src/mame/drivers/pg685.cpp +++ b/src/mame/drivers/pg685.cpp @@ -68,13 +68,13 @@ HD: SRM2064C-15, WD2010B-AL, 10,000000 MHz crystal 6ES5675-OUA11 -The PG-675 shares the housing with the PG-685, but uses dual 48 tpi floppy drives instead of the harddisk/96 tpi +The PG-675 shares the housing with the PG-685, but uses dual 48 tpi floppy drives instead of the harddisk/96 tpi drive combo. -CPU/Video: 8KB BIOS/CHAR EPROM, Intel 8088 CPU, SAB 8259AP, 12,288 MHz crystal, 2xHM6116LP-3, - HD46505SP-1 (HD68A45SP), D8279C-5, D8251AFC -Module/Floppy: Crystal 4.000 MHz, SAB 1797-02P, 2xP8255A, MM58167AN, 4xHM6116LP-3, D8251AFC -Memory: 54x 64KBit RAM, 18 empty sockets, 9 bit and 4 bit wire straps +CPU/Video: 8KB BIOS/CHAR EPROM, Intel 8088 CPU, SAB 8259AP, 12,288 MHz crystal, 2xHM6116LP-3, + HD46505SP-1 (HD68A45SP), D8279C-5, D8251AFC +Module/Floppy: Crystal 4.000 MHz, SAB 1797-02P, 2xP8255A, MM58167AN, 4xHM6116LP-3, D8251AFC +Memory: 54x 64KBit RAM, 18 empty sockets, 9 bit and 4 bit wire straps ****************************************************************************/ @@ -202,7 +202,7 @@ static ADDRESS_MAP_START(pg685oua12_mem, AS_PROGRAM, 16, pg685_state) AM_RANGE(0xf9f78, 0xf9f79) AM_WRITE8(f9f79_w, 0xff00) AM_RANGE(0xf9f80, 0xf9f81) AM_DEVREADWRITE8("crtc", mc6845_device, status_r, address_w, 0x00ff) AM_RANGE(0xf9f80, 0xf9f81) AM_DEVREADWRITE8("crtc", mc6845_device, register_r, register_w, 0xff00) - AM_RANGE(0xfc000,0xfffff) AM_RAM // BIOS RAM shadow + AM_RANGE(0xfc000,0xfffff) AM_RAM // BIOS RAM shadow AM_RANGE(0xffc000,0xffffff) AM_ROM AM_REGION("bios", 0) ADDRESS_MAP_END @@ -317,7 +317,7 @@ MC6845_UPDATE_ROW( pg685_state::crtc_update_row ) uint8_t data = fontram[ chr_base + chr * 16 ]; uint8_t fg = 1; uint8_t bg = 0; - + *p = palette[( data & 0x80 ) ? fg : bg]; p++; *p = palette[( data & 0x40 ) ? fg : bg]; p++; *p = palette[( data & 0x20 ) ? fg : bg]; p++; @@ -345,7 +345,7 @@ MC6845_UPDATE_ROW( pg685_state::crtc_update_row_oua12 ) uint8_t data = fontram[ chr_base + chr * 16 ]; uint8_t fg = 1; uint8_t bg = 0; - + *p = palette[( data & 0x80 ) ? fg : bg]; p++; *p = palette[( data & 0x40 ) ? fg : bg]; p++; *p = palette[( data & 0x20 ) ? fg : bg]; p++; @@ -402,7 +402,7 @@ static MACHINE_CONFIG_START( pg675, pg685_state ) MCFG_MC6845_SHOW_BORDER_AREA(false) MCFG_MC6845_CHAR_WIDTH(8) MCFG_MC6845_UPDATE_ROW_CB(pg685_state, crtc_update_row) - + // sound hardware // devices @@ -443,7 +443,7 @@ static MACHINE_CONFIG_START( pg685, pg685_state ) MCFG_MC6845_SHOW_BORDER_AREA(false) MCFG_MC6845_CHAR_WIDTH(8) MCFG_MC6845_UPDATE_ROW_CB(pg685_state, crtc_update_row) - + // sound hardware // devices diff --git a/src/mame/drivers/polepos.cpp b/src/mame/drivers/polepos.cpp index 4baa9b01870..3ff8dd81f42 100644 --- a/src/mame/drivers/polepos.cpp +++ b/src/mame/drivers/polepos.cpp @@ -2118,7 +2118,7 @@ ROM_END This bootleg has a TMS5220 for spanish voices instead of the Namco 52xx. Needs proper implementation. - + DIP Switches reference (to be implemented): .-------------------------------+-----+-----+-----+-----+-----+-----+-----+-----. @@ -2247,14 +2247,14 @@ ROM_START( polepos2bs ) /* the bootleg has a TMS5220, NOT the Namco 52xx */ /* unknown or unused (P)ROM data */ -// ROM_REGION( 0x0100, "user1", 0 ) -// ROM_LOAD( "74s287-a.bin", 0x0000, 0x0100, CRC(0e742cb1) SHA1(3ae43270aab4848fdeece1648e7e040ab216b08e) ) /* sync chain */ +// ROM_REGION( 0x0100, "user1", 0 ) +// ROM_LOAD( "74s287-a.bin", 0x0000, 0x0100, CRC(0e742cb1) SHA1(3ae43270aab4848fdeece1648e7e040ab216b08e) ) /* sync chain */ /* this is used for the spanish speech with a TMS5220, not properly hooked up */ ROM_REGION( 0x2000, "soundz80bl", 0 ) ROM_LOAD( "aboard-spi.11", 0x0000, 0x2000, CRC(269c1af4) SHA1(73acb28f1cf8eae26838835aef1566fea18b4138) ) -// ROM_REGION( 0x2000, "pals", 0 ) +// ROM_REGION( 0x2000, "pals", 0 ) // ...not dumped yet... ROM_END diff --git a/src/mame/drivers/psikyosh.cpp b/src/mame/drivers/psikyosh.cpp index 225734bed6e..40d6ac54e22 100644 --- a/src/mame/drivers/psikyosh.cpp +++ b/src/mame/drivers/psikyosh.cpp @@ -602,9 +602,9 @@ static INPUT_PORTS_START( soldividk ) PORT_INCLUDE( common ) PORT_START("JP4") /* jumper pads on the PCB */ -// PORT_DIPNAME( 0x01000000, 0x01000000, DEF_STR( Region ) ) /* Game is hard coded to Korea */ -// PORT_DIPSETTING( 0x00000000, DEF_STR( Japan ) ) -// PORT_DIPSETTING( 0x01000000, DEF_STR( World ) ) +// PORT_DIPNAME( 0x01000000, 0x01000000, DEF_STR( Region ) ) /* Game is hard coded to Korea */ +// PORT_DIPSETTING( 0x00000000, DEF_STR( Japan ) ) +// PORT_DIPSETTING( 0x01000000, DEF_STR( World ) ) PORT_BIT( 0x10000000, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read) INPUT_PORTS_END diff --git a/src/mame/drivers/quizpun2.cpp b/src/mame/drivers/quizpun2.cpp index 8f27360b3f7..52e8c06f7e0 100644 --- a/src/mame/drivers/quizpun2.cpp +++ b/src/mame/drivers/quizpun2.cpp @@ -236,7 +236,7 @@ uint32_t quizpun2_state::screen_update_quizpun2(screen_device &screen, bitmap_in if (layers_ctrl & 2) m_fg_tmap->draw(screen, bitmap, cliprect, 0, 0); -// popmessage("BG: %x FG: %x", bg_scroll, fg_scroll); +// popmessage("BG: %x FG: %x", bg_scroll, fg_scroll); return 0; } @@ -458,11 +458,11 @@ ADDRESS_MAP_END READ8_MEMBER(quizpun2_state::quizpun_protection_r) { -// logerror("%s: port A read %02x\n", machine().describe_context(), m_port_a); +// logerror("%s: port A read %02x\n", machine().describe_context(), m_port_a); - /* - Upon reading this port the main cpu is stalled until the mcu provides the value to read - and explicitly un-stalls the z80. Is this possible under the current MAME architecture? + /* + Upon reading this port the main cpu is stalled until the mcu provides the value to read + and explicitly un-stalls the z80. Is this possible under the current MAME architecture? ** ghastly hack ** @@ -490,7 +490,7 @@ READ8_MEMBER(quizpun2_state::quizpun_protection_r) WRITE8_MEMBER(quizpun2_state::quizpun_protection_w) { -// logerror("%s: port A write %02x\n", machine().describe_context(), data); +// logerror("%s: port A write %02x\n", machine().describe_context(), data); m_port_a = data; m_quizpun_pending = true; m_quizpun_written = true; @@ -511,13 +511,13 @@ ADDRESS_MAP_END READ8_MEMBER(quizpun2_state::quizpun_68705_port_a_r) { -// logerror("%s: port A read %02x\n", machine().describe_context(), m_port_a); +// logerror("%s: port A read %02x\n", machine().describe_context(), m_port_a); return m_port_a; } WRITE8_MEMBER(quizpun2_state::quizpun_68705_port_a_w) { -// logerror("%s: port A write %02x\n", machine().describe_context(), data); +// logerror("%s: port A write %02x\n", machine().describe_context(), data); m_port_a = data; } @@ -530,17 +530,17 @@ READ8_MEMBER(quizpun2_state::quizpun_68705_port_b_r) // bit 0: 0 = main cpu is reading uint8_t ret = m_port_b & 0xf4; - ret |= ( m_quizpun_pending ? 0 : (1 << 3)) | - ( (m_quizpun_pending && m_quizpun_written) ? 0 : (1 << 1)) | - ( (m_quizpun_pending && !m_quizpun_written) ? 0 : (1 << 0)) ; + ret |= ( m_quizpun_pending ? 0 : (1 << 3)) | + ( (m_quizpun_pending && m_quizpun_written) ? 0 : (1 << 1)) | + ( (m_quizpun_pending && !m_quizpun_written) ? 0 : (1 << 0)) ; -// logerror("%s: port B read %02x\n", machine().describe_context(), ret); +// logerror("%s: port B read %02x\n", machine().describe_context(), ret); return ret; } WRITE8_MEMBER(quizpun2_state::quizpun_68705_port_b_w) { -// logerror("%s: port B write %02x\n", machine().describe_context(), data); +// logerror("%s: port B write %02x\n", machine().describe_context(), data); // bit 2: 0->1 run main cpu @@ -558,7 +558,7 @@ READ8_MEMBER(quizpun2_state::quizpun_68705_port_c_r) { uint8_t ret = m_port_c & 0xf7; ret |= m_eeprom->do_read() ? 0x08 : 0; -// logerror("%s: port C read %02x\n", machine().describe_context(), ret); +// logerror("%s: port C read %02x\n", machine().describe_context(), ret); return ret; } @@ -573,7 +573,7 @@ WRITE8_MEMBER(quizpun2_state::quizpun_68705_port_c_w) // clock line asserted: write latch or select next bit to read m_eeprom->clk_write((data & 0x01) ? ASSERT_LINE : CLEAR_LINE); -// logerror("%s: port C write %02x\n", machine().describe_context(), data); +// logerror("%s: port C write %02x\n", machine().describe_context(), data); m_port_c = data; } diff --git a/src/mame/drivers/rainbow.cpp b/src/mame/drivers/rainbow.cpp index 21959f7f154..6fac84a96f2 100644 --- a/src/mame/drivers/rainbow.cpp +++ b/src/mame/drivers/rainbow.cpp @@ -7,7 +7,7 @@ //-------------------- Differences to VT240: --------------------------------------------------- // - Registers of graphics option not directly mapped (indirect access via mode register) // - write mask is 16 bits wide (not only 8) -// - scroll register is 8 bits wide - not 16. +// - scroll register is 8 bits wide - not 16. // - no "DMA SCROLL", "LINE ERASE MODE", no ZOOM hardware (factor must always be 1) // Two modes: highres and medres mode (different bank length..?) @@ -685,9 +685,9 @@ private: emu_timer *cmd_timer; const int vectors[9] = { 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0x20, 0x02 }; - + // VIDEO LEVELS: 0 is 100 % output; F is 0 % output. Range of 0...255. - // LIMITED RANGE levels for 100-A model (valid only for all mono + green out on COLOR MONITOR): + // LIMITED RANGE levels for 100-A model (valid only for all mono + green out on COLOR MONITOR): //const uint8_t A_MONO_GREEN_video_levels[16] = { 255 , 185, 166, 21, 255 , 185, 166, 21, 255 , 185, 166, 21, 255 , 185, 166, 21}; // FULL RANGE video levels for 100-B model, taken from page 46 of PDF @@ -712,8 +712,8 @@ m_patidx = 7; \ m_GDC_FG_BG = 0; \ m_color_map_changed = true; \ for(int i=0; i <256; i++) { m_GDC_SCROLL_BUFFER[i] = m_GDC_SCROLL_BUFFER_PRELOAD[i] = i; };\ -m_GDC_scroll_index = 255; \ -m_scroll_buffer_changed = true; \ +m_GDC_scroll_index = 255; \ +m_scroll_buffer_changed = true; \ printf("\n** NEC 7220 GDC RESET **\n"); UPD7220_DISPLAY_PIXELS_MEMBER( rainbow_state::hgdc_display_pixels ) @@ -737,8 +737,8 @@ UPD7220_DISPLAY_PIXELS_MEMBER( rainbow_state::hgdc_display_pixels ) return; // no output from graphics option // ********************* GET BITMAP DATA FOR 4 PLANES *************************************** - // _READ_ BIT MAP from 2 or 4 planes (plane 0 is least, plane 3 most significant). See page 42 / 43 - if(m_GDC_MODE_REGISTER & GDC_MODE_HIGHRES) + // _READ_ BIT MAP from 2 or 4 planes (plane 0 is least, plane 3 most significant). See page 42 / 43 + if(m_GDC_MODE_REGISTER & GDC_MODE_HIGHRES) { plane0 = m_video_ram[((address & 0x7fff) + 0x00000) >> 1]; plane1 = m_video_ram[((address & 0x7fff) + 0x10000) >> 1]; @@ -1119,14 +1119,14 @@ void rainbow_state::machine_reset() output().set_value("led1", 1); uint32_t max_sector = (info->cylinders) * (info->heads) * (info->sectors); - printf("\n%u (%3.2f) MB HARD DISK MOUNTED. GEOMETRY: %d HEADS (1..%d ARE OK).\n%d CYLINDERS (151 to %d ARE OK).\n%d SECTORS / TRACK (up to %d ARE OK). \n%d BYTES / SECTOR (128 to 1024 ARE OK).\n", + printf("\n%u (%3.2f) MB HARD DISK MOUNTED. GEOMETRY: %d HEADS (1..%d ARE OK).\n%d CYLINDERS (151 to %d ARE OK).\n%d SECTORS / TRACK (up to %d ARE OK). \n%d BYTES / SECTOR (128 to 1024 ARE OK).\n", max_sector * info->sectorbytes / 1000000, (float)max_sector * (float)info->sectorbytes / 1048576.0f, info->heads, RD51_MAX_HEAD, info->cylinders, RD51_MAX_CYLINDER, info->sectors, RD51_SECTORS_PER_TRACK, info->sectorbytes); - } + } } } @@ -1216,28 +1216,28 @@ uint32_t rainbow_state::screen_update_rainbow(screen_device &screen, bitmap_ind1 } #endif - int monitor_selected = m_inp13->read(); - if(monitor_selected != old_monitor) - { + int monitor_selected = m_inp13->read(); + if(monitor_selected != old_monitor) + { old_monitor = monitor_selected; m_color_map_changed = true; } - int palette_selected; + int palette_selected; if( m_ONBOARD_GRAPHICS_SELECTED && (monitor_selected == COLOR_MONITOR) ) - palette_selected = 2; // Color monitor; green text + palette_selected = 2; // Color monitor; green text else palette_selected = m_inp9->read(); - if(palette_selected != old_palette) - { + if(palette_selected != old_palette) + { old_palette = palette_selected; m_color_map_changed = true; } m_crtc->palette_select(palette_selected); - if( m_SCREEN_BLANK || + if( m_SCREEN_BLANK || ( (!m_ONBOARD_GRAPHICS_SELECTED) && (monitor_selected != DUAL_MONITOR) ) // blank screen 1, except when in DUAL_MONITOR mode ) m_crtc->video_blanking(bitmap, cliprect); @@ -1284,11 +1284,11 @@ void rainbow_state::lower_8088_irq(int ref) // IRQ service for 7201 (commm / printer) void rainbow_state::update_mpsc_irq() { - if (m_mpsc_irq == 0) { - lower_8088_irq(IRQ_COMM_PTR_INTR_L); - m_mpsc->m1_r(); // interrupt acknowledge - } else - raise_8088_irq(IRQ_COMM_PTR_INTR_L); + if (m_mpsc_irq == 0) { + lower_8088_irq(IRQ_COMM_PTR_INTR_L); + m_mpsc->m1_r(); // interrupt acknowledge + } else + raise_8088_irq(IRQ_COMM_PTR_INTR_L); } @@ -1503,7 +1503,7 @@ hard_disk_file *(rainbow_state::rainbow_hdc_file(int drv)) printf("\n <<< === REJECTED = (SANITY CHECK FAILED) === >>> \n"); uint32_t max_sector = info->cylinders * info->heads * info->sectors; - printf("\n%u (%3.2f) MB HARD DISK REJECTED. GEOMETRY: %d HEADS (1..%d ARE OK).\n%d CYLINDERS (151 to %d ARE OK).\n%d SECTORS / TRACK (up to %d ARE OK). \n%d BYTES / SECTOR (128 to 1024 ARE OK).\n", + printf("\n%u (%3.2f) MB HARD DISK REJECTED. GEOMETRY: %d HEADS (1..%d ARE OK).\n%d CYLINDERS (151 to %d ARE OK).\n%d SECTORS / TRACK (up to %d ARE OK). \n%d BYTES / SECTOR (128 to 1024 ARE OK).\n", max_sector * info->sectorbytes / 1000000, (float)max_sector * (float)info->sectorbytes / 1048576.0f, info->heads, RD51_MAX_HEAD, @@ -2236,7 +2236,7 @@ WRITE8_MEMBER(rainbow_state::z80_diskcontrol_w) m_floppy = con->get_device(); if (m_floppy) selected_drive = drive; -// printf("%i <- SELECTED DRIVE...\n", m_unit); +// printf("%i <- SELECTED DRIVE...\n", m_unit); } if (selected_drive == INVALID_DRIVE) @@ -2369,29 +2369,29 @@ WRITE_LINE_MEMBER(rainbow_state::GDC_vblank_irq) int xi; if(m_scroll_buffer_changed) - { + { m_scroll_buffer_changed = false; - for(xi = 0; xi < m_GDC_scroll_index; xi++) // LOAD REAL SCROLL BUFFER FROM PRELOAD (up to scroll_index...?) - m_GDC_SCROLL_BUFFER[xi] = m_GDC_SCROLL_BUFFER_PRELOAD[xi]; - } + for(xi = 0; xi < m_GDC_scroll_index; xi++) // LOAD REAL SCROLL BUFFER FROM PRELOAD (up to scroll_index...?) + m_GDC_SCROLL_BUFFER[xi] = m_GDC_SCROLL_BUFFER_PRELOAD[xi]; + } if(m_color_map_changed) - { + { m_color_map_changed = false; int mono_sum = 0; int green_sum = 0; - for(xi=0;xi<16;xi++) // DELAYED LOAD OF PALETTE ... - { + for(xi=0;xi<16;xi++) // DELAYED LOAD OF PALETTE ... + { uint8_t colordata1 = m_GDC_COLOR_MAP[xi]; - uint8_t colordata2 = m_GDC_COLOR_MAP[xi + 16]; // Does it matter if the palette is incomplete...? + uint8_t colordata2 = m_GDC_COLOR_MAP[xi + 16]; // Does it matter if the palette is incomplete...? - // Color map: 32 x 8 - // 2nd 16 Byte 1st 16 Bytes (colordata1) - // ----------- ------------ - // 7..4 3..0 7..4 3..0 - // Mono Blue Red Green + // Color map: 32 x 8 + // 2nd 16 Byte 1st 16 Bytes (colordata1) + // ----------- ------------ + // 7..4 3..0 7..4 3..0 + // Mono Blue Red Green // NOTE: 2nd 16 BYTES ARE MONO PALETTE, 1st 16 ARE COLOR PALETTE * HERE * (on the VT240 driver, it is the other way round) mono = (colordata2 & 0xF0) >> 4; // FIXME: limit palette in appropriate modes on 100-A @@ -2404,56 +2404,56 @@ WRITE_LINE_MEMBER(rainbow_state::GDC_vblank_irq) green_sum += green; switch( m_inp13->read()) - { - case MONO_MONITOR: - { + { + case MONO_MONITOR: + { switch( m_inp9->read() ) // - monochrome monitor (phosphor) type (1,2,3) - { + { case 1: // BLACK & WHITE mono = uint8_t( ( 205.0f / 80.0f) * ( video_levels[ mono ] / 3.19f) ); - m_palette2->set_pen_color(xi + 16, rgb_t( mono, mono, mono) ); + m_palette2->set_pen_color(xi + 16, rgb_t( mono, mono, mono) ); break; - case 2: // SHADES OF GREEN + case 2: // SHADES OF GREEN red = uint8_t( ( 35.0f / 80.0f) * ( video_levels[ mono ] / 3.19f) ); // 80 % = NORMAL * green = uint8_t( (145.0f / 80.0f) * ( video_levels[ mono ] / 3.19f) ); blue = uint8_t( ( 75.0f / 80.0f) * ( video_levels[ mono ] / 3.19f) ); - m_palette2->set_pen_color(xi + 16, rgb_t( red, green, blue) ); + m_palette2->set_pen_color(xi + 16, rgb_t( red, green, blue) ); break; case 3: // AMBER. Assumption: "normal" value at 80 % is 213, 146, 82 (decimal) red = uint8_t( (213.0f / 80.0f) * ( video_levels[ mono ] / 3.19f) ); // 80 % = NORMAL * is 3.19f (100 % would be 2.55f) green = uint8_t( (146.0f / 80.0f) * ( video_levels[ mono ] / 3.19f) ); blue = uint8_t( ( 82.0f / 80.0f) * ( video_levels[ mono ] / 3.19f) ); - m_palette2->set_pen_color(xi + 16, rgb_t( red, green, blue) ); + m_palette2->set_pen_color(xi + 16, rgb_t( red, green, blue) ); break; } break; } - case COLOR_MONITOR: - red = uint8_t( red * 17 * ( (255-video_levels[ red ] ) / 255.0f) ); + case COLOR_MONITOR: + red = uint8_t( red * 17 * ( (255-video_levels[ red ] ) / 255.0f) ); green = uint8_t( mono * 17 * ( (255-video_levels[ mono ]) / 255.0f) ); // BCC-17 cable (red, mono -> green, blue) blue = uint8_t( blue * 17 * ( (255-video_levels[ blue ] ) / 255.0f) ); - m_palette2->set_pen_color(xi, rgb_t( red, green, blue) ); + m_palette2->set_pen_color(xi, rgb_t( red, green, blue) ); break; - case DUAL_MONITOR: - red = uint8_t( red * 17 * ( (255-video_levels[ red ] ) / 255.0f) ); + case DUAL_MONITOR: + red = uint8_t( red * 17 * ( (255-video_levels[ red ] ) / 255.0f) ); green = uint8_t( green * 17 * ( (255-video_levels[ green ]) / 255.0f) ); // true R-G-B (homebrew cable only) blue = uint8_t( blue * 17 * ( (255-video_levels[ blue ] ) / 255.0f) ); - m_palette2->set_pen_color(xi, rgb_t( red, green, blue) ); + m_palette2->set_pen_color(xi, rgb_t( red, green, blue) ); break; } - + } // palette (loop) if(mono_sum == 0) - if ( m_inp13->read() == COLOR_MONITOR) + if ( m_inp13->read() == COLOR_MONITOR) printf(" [HINT: COLOR MONITOR (DIP SWITCH) WRONG! NO MONO PALETTE] "); if(green_sum == 0) - if ( m_inp13->read() == DUAL_MONITOR) + if ( m_inp13->read() == DUAL_MONITOR) printf(" [HINT: DUAL MONITOR (DIP SWITCH) WRONG! NO GREEN PALETTE] "); } // color map changed? } // 7220 vblank IRQ @@ -2677,36 +2677,36 @@ WRITE_LINE_MEMBER(rainbow_state::irq_hi_w) // ********************************* NEC UPD7220 *********************************************** // Readback mode: correct place? Not for vector mode (really)...? -// NOTE: "More than one plane at a time can be enabled for a write operation; however, +// NOTE: "More than one plane at a time can be enabled for a write operation; however, // only one plane can be enabled for a read operation at anyone time." READ16_MEMBER(rainbow_state::vram_r) -{ +{ if((!(m_GDC_MODE_REGISTER & GDC_MODE_VECTOR)) || space.debugger_access()) // (NOT VECTOR MODE) { // SCROLL_MAP IN BITMAP MODE ONLY...? - if(m_GDC_MODE_REGISTER & GDC_MODE_HIGHRES) + if(m_GDC_MODE_REGISTER & GDC_MODE_HIGHRES) offset = ( m_GDC_SCROLL_BUFFER[ (offset & 0x3FC0) >> 6 ] << 6) | (offset & 0x3F); else offset = ( m_GDC_SCROLL_BUFFER[ (offset & 0x1FC0) >> 6 ] << 6) | (offset & 0x3F); int readback_plane = 0; - if( !(m_GDC_MODE_REGISTER & GDC_MODE_ENABLE_WRITES) ) // 0x10 // READBACK OPERATION - if ENABLE_WRITES NOT SET - readback_plane = (m_GDC_MODE_REGISTER & GDC_MODE_READBACK_PLANE_MASK) >> 2; // READBACK PLANE 00..02, mask in bits 2+3 + if( !(m_GDC_MODE_REGISTER & GDC_MODE_ENABLE_WRITES) ) // 0x10 // READBACK OPERATION - if ENABLE_WRITES NOT SET + readback_plane = (m_GDC_MODE_REGISTER & GDC_MODE_READBACK_PLANE_MASK) >> 2; // READBACK PLANE 00..02, mask in bits 2+3 return m_video_ram[ (offset & 0x7fff) + (0x8000 * readback_plane)]; - } + } return 0xffff; } // NOTE: Rainbow has separate registers for fore and background. WRITE16_MEMBER(rainbow_state::vram_w) { - if(!(m_GDC_MODE_REGISTER & GDC_MODE_VECTOR)) + if(!(m_GDC_MODE_REGISTER & GDC_MODE_VECTOR)) { // SCROLL_MAP IN BITMAP MODE ONLY...? - if(m_GDC_MODE_REGISTER & GDC_MODE_HIGHRES) + if(m_GDC_MODE_REGISTER & GDC_MODE_HIGHRES) offset = ( m_GDC_SCROLL_BUFFER[ (offset & 0x3FC0) >> 6 ] << 6) | (offset & 0x3F); else offset = ( m_GDC_SCROLL_BUFFER[ (offset & 0x1FC0) >> 6 ] << 6) | (offset & 0x3F); @@ -2780,11 +2780,11 @@ WRITE16_MEMBER(rainbow_state::vram_w) back >>= 1; } // plane select (LOOP) - return; + return; } } -// (READ) +// (READ) // Read _preloaded_ scroll buffer (see GDC Diagnostic Disk, SCROLL BUFFER test) READ8_MEMBER(rainbow_state::GDC_EXTRA_REGISTER_r) { @@ -2794,12 +2794,12 @@ READ8_MEMBER(rainbow_state::GDC_EXTRA_REGISTER_r) case 0: out = m_PORT50; break; - + case 1: if(m_GDC_INDIRECT_REGISTER & GDC_SELECT_SCROLL_MAP ) // 0x80 - { + { // Documentation says it is always incremented (read and write): - out = m_GDC_SCROLL_BUFFER_PRELOAD[m_GDC_scroll_index++]; // // * READ * SCROLL_MAP ( 256 x 8 ) + out = m_GDC_SCROLL_BUFFER_PRELOAD[m_GDC_scroll_index++]; // // * READ * SCROLL_MAP ( 256 x 8 ) m_GDC_scroll_index &= 0xFF; // 0...255 (CPU accesses 256 bytes) break; } @@ -2832,14 +2832,14 @@ WRITE8_MEMBER(rainbow_state::GDC_EXTRA_REGISTER_w) switch(offset) { - case 0: // Mode register must be reloaded following any write to port 50 (software reset). - // FIXME: "Any write to this port also resynchronizes the - // read/modify/write memory cycles of the Graphics Option to those of the GDC." (?) + case 0: // Mode register must be reloaded following any write to port 50 (software reset). + // FIXME: "Any write to this port also resynchronizes the + // read/modify/write memory cycles of the Graphics Option to those of the GDC." (?) if( data & 1 ) // PDF QV069 suggests 1 -> 0 -> 1; most programs just set bit 0. - { + { GDC_RESET_MACRO // Graphics option software reset (separate from GDC reset...) printf("(PC=%x)\n", machine().device("maincpu")->safe_pc()); - } + } m_PORT50 = data; break; @@ -2979,7 +2979,7 @@ WRITE8_MEMBER(rainbow_state::GDC_EXTRA_REGISTER_w) // -------------------- WRITE BUFFER USED IN WORD MODE ONLY ! // "OUTPUT WRITE BUFFER IS THE INVERSE OF THE INPUT" (quote from 4-3 of the PDF) // BITSWAP SEEMS NECESSARY (see digits in DOODLE)... ! - m_GDC_WRITE_BUFFER[m_GDC_write_buffer_index++] = ~BITSWAP8(data, 0, 1, 2, 3, 4, 5, 6, 7); + m_GDC_WRITE_BUFFER[m_GDC_write_buffer_index++] = ~BITSWAP8(data, 0, 1, 2, 3, 4, 5, 6, 7); m_GDC_write_buffer_index &= 0xf; // write up to 16 bytes to port 52h. break; @@ -3007,7 +3007,7 @@ WRITE8_MEMBER(rainbow_state::GDC_EXTRA_REGISTER_w) // There is no specific order for the WRITE_MASK (according to txt/code samples in DEC's PDF). // NOTE: LOW <-> HI JUXTAPOSITION! case 4: // 54h Write Mask LOW - m_GDC_WRITE_MASK = ( BITSWAP8(data, 0, 1, 2, 3, 4, 5, 6, 7) << 8 ) | ( m_GDC_WRITE_MASK & 0x00FF ); + m_GDC_WRITE_MASK = ( BITSWAP8(data, 0, 1, 2, 3, 4, 5, 6, 7) << 8 ) | ( m_GDC_WRITE_MASK & 0x00FF ); break; case 5: // 55h Write Mask HIGH m_GDC_WRITE_MASK = ( m_GDC_WRITE_MASK & 0xFF00 ) | BITSWAP8(data, 0, 1, 2, 3, 4, 5, 6, 7); diff --git a/src/mame/drivers/risc2500.cpp b/src/mame/drivers/risc2500.cpp index 0c0d60fe1cc..a06f5a2e5d2 100644 --- a/src/mame/drivers/risc2500.cpp +++ b/src/mame/drivers/risc2500.cpp @@ -2,11 +2,11 @@ // copyright-holders:Sandro Ronco /****************************************************************************** - Saitek RISC 2500 + Saitek RISC 2500 - TODO: - - Sound is too short and high pitch, better when you underclock the cpu. - Is cpu cycle timing wrong? or waitstate on p1000_w? + TODO: + - Sound is too short and high pitch, better when you underclock the cpu. + Is cpu cycle timing wrong? or waitstate on p1000_w? ******************************************************************************/ @@ -227,7 +227,7 @@ WRITE32_MEMBER(risc2500_state::p1000_w) { if (!(data & 0x08000000)) m_vram[m_vram_addr++ & 0x7f] = data & 0xff; - } + } else if (data & 0x80000000) // Vertical LED { for(int i=0; i<8; i++) @@ -242,9 +242,9 @@ WRITE32_MEMBER(risc2500_state::p1000_w) { memset(m_vram, 0, sizeof(m_vram)); } - + m_dac->write(data >> 28 & 3); // Speaker - + m_p1000 = data; } diff --git a/src/mame/drivers/seta.cpp b/src/mame/drivers/seta.cpp index 882b2d09bb6..3c8e51e341f 100644 --- a/src/mame/drivers/seta.cpp +++ b/src/mame/drivers/seta.cpp @@ -9025,9 +9025,9 @@ static MACHINE_CONFIG_START( kiwame, seta_state ) MCFG_CPU_PROGRAM_MAP(kiwame_map) /* lev 1-7 are the same. WARNING: the interrupt table is written to. */ MCFG_CPU_VBLANK_INT_DRIVER("screen", seta_state, irq1_line_hold) - + MCFG_NVRAM_ADD_0FILL("nvram") - + MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0) MCFG_SETA001_SPRITE_GFXDECODE("gfxdecode") MCFG_SETA001_SPRITE_GFXBANK_CB(seta_state, setac_gfxbank_callback) @@ -10760,7 +10760,7 @@ ROM_START( kiwame ) ROM_REGION( 0x100000, "x1snd", 0 ) /* Samples */ ROM_LOAD( "fp001006.bin", 0x000000, 0x080000, CRC(96cf395d) SHA1(877b291598e3a42e5003b2f50a16d162348ce72d) ) ROM_LOAD( "fp001005.bin", 0x080000, 0x080000, CRC(65b5fe9a) SHA1(35605be00c7c455551d18386fcb5ad013aa2907e) ) - + // default NVRAM, avoids "BACKUP RAM ERROR" at boot (useful for inp record/playback) ROM_REGION( 0x10000, "nvram", 0 ) ROM_LOAD( "nvram.bin", 0, 0x10000, CRC(1f719400) SHA1(c63bbe5d3a0a917f74c1bd5e57cd44389e4e645c) ) diff --git a/src/mame/drivers/statriv2.cpp b/src/mame/drivers/statriv2.cpp index df7f437290d..d226c24900d 100644 --- a/src/mame/drivers/statriv2.cpp +++ b/src/mame/drivers/statriv2.cpp @@ -1142,8 +1142,8 @@ DRIVER_INIT_MEMBER(statriv2_state,addr_lmhe) DRIVER_INIT_MEMBER(statriv2_state,laserdisc) { address_space &iospace = m_maincpu->space(AS_IO); - iospace.install_readwrite_handler(0x28, 0x2b, - read8_delegate([this](address_space &space, offs_t offset, uint8_t mem_mask) -> uint8_t + iospace.install_readwrite_handler(0x28, 0x2b, + read8_delegate([this](address_space &space, offs_t offset, uint8_t mem_mask) -> uint8_t { uint8_t result = 0x00; if (offset == 1) @@ -1151,7 +1151,7 @@ DRIVER_INIT_MEMBER(statriv2_state,laserdisc) osd_printf_debug("%s:ld read ($%02X) = %02X\n", machine().describe_context(), 0x28 + offset, result); return result; },"write_lambda"), - write8_delegate([this](address_space &space, offs_t offset, uint8_t data, uint8_t mem_mask) + write8_delegate([this](address_space &space, offs_t offset, uint8_t data, uint8_t mem_mask) { osd_printf_debug("%s:ld write ($%02X) = %02X\n", machine().describe_context(), 0x28 + offset, data); },"read_lambda") diff --git a/src/mame/drivers/tumbleb.cpp b/src/mame/drivers/tumbleb.cpp index bfee0959c6e..3854d8d855d 100644 --- a/src/mame/drivers/tumbleb.cpp +++ b/src/mame/drivers/tumbleb.cpp @@ -2271,7 +2271,7 @@ static MACHINE_CONFIG_DERIVED( chokchok, htchctch ) MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR) // some PCBs have left factory with a 3.57mhz while some have a 4.096 which matches other games, assuming the former are factory errors - // TODO: MAME sound cores doesn't handle on-the-fly sound frequency changes, I guess best action here is to make the sound chip a slot option, + // TODO: MAME sound cores doesn't handle on-the-fly sound frequency changes, I guess best action here is to make the sound chip a slot option, // assuming it's worth emulating a factory error in the first place. MCFG_OKIM6295_REPLACE("oki", 4096000/4, OKIM6295_PIN7_HIGH) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) diff --git a/src/mame/drivers/tv910.cpp b/src/mame/drivers/tv910.cpp index 2feb8f07043..60471c5915d 100644 --- a/src/mame/drivers/tv910.cpp +++ b/src/mame/drivers/tv910.cpp @@ -2,22 +2,22 @@ // copyright-holders: R. Belmont /*************************************************************************** - TeleVideo TV-910 / 910 Plus - Preliminary driver by R. Belmont - + TeleVideo TV-910 / 910 Plus + Preliminary driver by R. Belmont + Hardware: 6502 CPU 6545 CRTC 6551 ACIA - + IRQ = ACIA wire-OR CRTC VBlank NMI = AY-5-3600 keyboard char present TODO: - - Character attributes: how is that even possible? (Esc-V brings up test screen) - - DIP switches don't all appear to have the expected effects - - Keyboard hookup isn't quite right - + - Character attributes: how is that even possible? (Esc-V brings up test screen) + - DIP switches don't all appear to have the expected effects + - Keyboard hookup isn't quite right + ****************************************************************************/ #include "emu.h" @@ -27,10 +27,10 @@ #include "machine/kb3600.h" #include "bus/rs232/rs232.h" -#define ACIA_TAG "acia1" -#define CRTC_TAG "crtc" -#define RS232_TAG "rs232" -#define KBDC_TAG "ay3600" +#define ACIA_TAG "acia1" +#define CRTC_TAG "crtc" +#define RS232_TAG "rs232" +#define KBDC_TAG "ay3600" #define MASTER_CLOCK (13608000) @@ -49,26 +49,26 @@ public: virtual void machine_start() override; virtual void machine_reset() override; - + MC6845_UPDATE_ROW(crtc_update_row); MC6845_ON_UPDATE_ADDR_CHANGED(crtc_update_addr); - + DECLARE_READ8_MEMBER(charset_r); DECLARE_READ8_MEMBER(kbd_ascii_r); DECLARE_READ8_MEMBER(kbd_flags_r); - + DECLARE_WRITE8_MEMBER(vbl_ack_w); DECLARE_WRITE8_MEMBER(nmi_ack_w); DECLARE_WRITE8_MEMBER(control_w); DECLARE_WRITE_LINE_MEMBER(vbl_w); DECLARE_WRITE_LINE_MEMBER(acia_irq_w); - + DECLARE_READ_LINE_MEMBER(ay3600_shift_r); DECLARE_READ_LINE_MEMBER(ay3600_control_r); DECLARE_WRITE_LINE_MEMBER(ay3600_data_ready_w); DECLARE_WRITE_LINE_MEMBER(ay3600_ako_w); - + required_device<m6502_device> m_maincpu; required_device<r6545_1_device> m_crtc; required_shared_ptr<uint8_t> m_vram; @@ -78,21 +78,21 @@ public: private: uint8_t *m_vramptr, *m_chrrom; - + uint16_t m_lastchar, m_strobe; uint8_t m_transchar; bool m_anykeydown; int m_repeatdelay; - + uint8_t m_control; - + bool m_vbl_irq, m_aica_irq; }; static ADDRESS_MAP_START(tv910_mem, AS_PROGRAM, 8, tv910_state) ADDRESS_MAP_UNMAP_HIGH AM_RANGE(0x0000, 0x03ff) AM_RAM - AM_RANGE(0x4000, 0x47ff) AM_RAM AM_SHARE("vram") // VRAM + AM_RANGE(0x4000, 0x47ff) AM_RAM AM_SHARE("vram") // VRAM AM_RANGE(0x8010, 0x801f) AM_READ(charset_r) AM_RANGE(0x8020, 0x8020) AM_DEVREADWRITE(CRTC_TAG, r6545_1_device, status_r, address_w) AM_RANGE(0x8021, 0x8021) AM_DEVREADWRITE(CRTC_TAG, r6545_1_device, register_r, register_w) @@ -102,8 +102,8 @@ static ADDRESS_MAP_START(tv910_mem, AS_PROGRAM, 8, tv910_state) AM_RANGE(0x8060, 0x806f) AM_READ(kbd_ascii_r) AM_RANGE(0x8070, 0x807f) AM_READ(kbd_flags_r) AM_RANGE(0x9000, 0x9000) AM_WRITE(control_w) - AM_RANGE(0x9001, 0x9001) AM_READ_PORT("DSW1") // S2 in the operator's manual - AM_RANGE(0x9002, 0x9002) AM_READ_PORT("DSW2") // S1 in the operator's manual + AM_RANGE(0x9001, 0x9001) AM_READ_PORT("DSW1") // S2 in the operator's manual + AM_RANGE(0x9002, 0x9002) AM_READ_PORT("DSW2") // S1 in the operator's manual AM_RANGE(0xf000, 0xffff) AM_ROM AM_REGION("maincpu", 0) ADDRESS_MAP_END @@ -123,7 +123,7 @@ WRITE8_MEMBER(tv910_state::control_w) READ8_MEMBER(tv910_state::charset_r) { - return 0; // 0 = US (TODO: make this configurable) + return 0; // 0 = US (TODO: make this configurable) } WRITE8_MEMBER(tv910_state::nmi_ack_w) @@ -140,11 +140,11 @@ READ8_MEMBER(tv910_state::kbd_ascii_r) READ8_MEMBER(tv910_state::kbd_flags_r) { uint8_t rv = 0; - + //rv |= m_strobe ? 0x40 : 0; - //rv |= (m_kbspecial->read() & 0x01) ? 0x00 : 0x40; // caps lock - rv |= 0x40; // must be set for keyboard reads to work, but disagrees with docs? - + //rv |= (m_kbspecial->read() & 0x01) ? 0x00 : 0x40; // caps lock + rv |= 0x40; // must be set for keyboard reads to work, but disagrees with docs? + return rv; } @@ -178,9 +178,9 @@ WRITE_LINE_MEMBER(tv910_state::ay3600_data_ready_w) m_lastchar = m_ay3600->b_r(); m_transchar = decode[m_lastchar]; m_strobe = 1; - + m_maincpu->set_input_line(M6502_NMI_LINE, ASSERT_LINE); - //printf("new char = %04x (%02x)\n", m_lastchar, m_transchar); + //printf("new char = %04x (%02x)\n", m_lastchar, m_transchar); } } @@ -233,7 +233,7 @@ static INPUT_PORTS_START( tv910 ) PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_7) PORT_CHAR('7') PORT_CHAR('\'') PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#') PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_UNUSED) - + PORT_START("X2") PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_R) PORT_CHAR('R') PORT_CHAR('r') PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Tab") PORT_CODE(KEYCODE_TAB) PORT_CHAR(9) @@ -244,7 +244,7 @@ static INPUT_PORTS_START( tv910 ) PORT_BIT(0x040, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_U) PORT_CHAR('U') PORT_CHAR('u') PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_E) PORT_CHAR('E') PORT_CHAR('e') PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_UNUSED) - + PORT_START("X3") PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_G) PORT_CHAR('G') PORT_CHAR('g') PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_A) PORT_CHAR('A') PORT_CHAR('a') @@ -266,9 +266,9 @@ static INPUT_PORTS_START( tv910 ) /// 040 - BRK PORT_BIT(0x080, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('[') /// 100 - BACKTAB - + PORT_START("X5") - PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_PRTSCR) PORT_CHAR(UCHAR_MAMEKEY(PRTSCR)) + PORT_BIT(0x001, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_CODE(KEYCODE_PRTSCR) PORT_CHAR(UCHAR_MAMEKEY(PRTSCR)) PORT_BIT(0x002, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_L) PORT_CHAR('L') PORT_CHAR('l') PORT_BIT(0x004, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(UTF8_LEFT) PORT_CODE(KEYCODE_LEFT) PORT_BIT(0x008, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_COLON) PORT_CHAR(';') PORT_CHAR(':') @@ -316,7 +316,7 @@ static INPUT_PORTS_START( tv910 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("Control") PORT_CODE(KEYCODE_LCONTROL) PORT_CHAR(UCHAR_SHIFT_2) - PORT_START("DSW2") // "S1" in the Operator's Manual + PORT_START("DSW2") // "S1" in the Operator's Manual PORT_DIPNAME( 0x0f, 0x00, "Baud rate" ) PORT_DIPSETTING( 0x0, "9600" ) PORT_DIPSETTING( 0x1, "50" ) @@ -334,7 +334,7 @@ static INPUT_PORTS_START( tv910 ) PORT_DIPSETTING( 0xd, "7200" ) PORT_DIPSETTING( 0xe, "9600" ) PORT_DIPSETTING( 0xf, "19200" ) - + PORT_DIPNAME( 0x10, 0x00, "Data bits" ) PORT_DIPSETTING( 0x00, "8 bits" ) PORT_DIPSETTING( 0x10, "7 bits" ) @@ -345,19 +345,19 @@ static INPUT_PORTS_START( tv910 ) PORT_DIPNAME( 0x40, 0x00, "Parity Type" ) PORT_DIPSETTING( 0x00, "Odd Parity" ) - PORT_DIPSETTING( 0x40, "Even Parity" ) + PORT_DIPSETTING( 0x40, "Even Parity" ) PORT_DIPNAME( 0x80, 0x00, "Stop Bits" ) PORT_DIPSETTING( 0x00, "1 stop bit" ) PORT_DIPSETTING( 0x80, "2 stop bits" ) - PORT_START("DSW1") // "S2" in the Operator's Manual + PORT_START("DSW1") // "S2" in the Operator's Manual PORT_DIPNAME( 0x03, 0x00, "Term Char") PORT_DIPSETTING( 0x0, "0" ) PORT_DIPSETTING( 0x1, "1" ) PORT_DIPSETTING( 0x2, "2" ) PORT_DIPSETTING( 0x3, "3" ) - + PORT_DIPNAME( 0x0c, 0x00, "Emulation" ) PORT_DIPSETTING( 0x0, "Standard 910" ) PORT_DIPSETTING( 0x4, "ADM-3A/5" ) @@ -373,14 +373,14 @@ static INPUT_PORTS_START( tv910 ) PORT_DIPSETTING( 0x20, "Blinking underline" ) PORT_DIPSETTING( 0x40, "Steady block" ) PORT_DIPSETTING( 0x60, "Steady underline" ) - + PORT_DIPNAME( 0x80, 0x00, "Duplex" ) PORT_DIPSETTING( 0x00, "Half Duplex" ) PORT_DIPSETTING( 0x80, "Full Duplex" ) #if 0 PORT_DIPNAME( 0x100, 0x000, "Colors" ) PORT_DIPSETTING( 0x00, "Black characters on white screen" ) - PORT_DIPSETTING( 0x100, "White characters on black screen" ) + PORT_DIPSETTING( 0x100, "White characters on black screen" ) PORT_DIPNAME( 0x200, 0x200, "Data Set Ready" ) PORT_DIPSETTING( 0x00, "DSR connected" ) @@ -415,7 +415,7 @@ WRITE_LINE_MEMBER(tv910_state::vbl_w) WRITE_LINE_MEMBER(tv910_state::acia_irq_w) { m_aica_irq = (state == ASSERT_LINE) ? true : false; - + if (m_aica_irq || m_vbl_irq) { m_maincpu->set_input_line(M6502_IRQ_LINE, ASSERT_LINE); @@ -423,13 +423,13 @@ WRITE_LINE_MEMBER(tv910_state::acia_irq_w) else { m_maincpu->set_input_line(M6502_IRQ_LINE, CLEAR_LINE); - } + } } WRITE8_MEMBER(tv910_state::vbl_ack_w) { m_vbl_irq = false; - + if (m_aica_irq || m_vbl_irq) { m_maincpu->set_input_line(M6502_IRQ_LINE, ASSERT_LINE); @@ -437,7 +437,7 @@ WRITE8_MEMBER(tv910_state::vbl_ack_w) else { m_maincpu->set_input_line(M6502_IRQ_LINE, CLEAR_LINE); - } + } } MC6845_UPDATE_ROW( tv910_state::crtc_update_row ) @@ -462,8 +462,8 @@ MC6845_UPDATE_ROW( tv910_state::crtc_update_row ) data = 0xFF; } } - - if ((y % 10) >= 8) + + if ((y % 10) >= 8) { *p++ = palette[0]; *p++ = palette[0]; @@ -493,18 +493,18 @@ static MACHINE_CONFIG_START( tv910, tv910_state ) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", M6502, MASTER_CLOCK/8) MCFG_CPU_PROGRAM_MAP(tv910_mem) - + MCFG_SCREEN_ADD("screen", RASTER) - MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK, 882, 0, 720, 370, 0, 350 ) // not real values + MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK, 882, 0, 720, 370, 0, 350 ) // not real values MCFG_SCREEN_UPDATE_DEVICE( CRTC_TAG, r6545_1_device, screen_update ) - + MCFG_MC6845_ADD(CRTC_TAG, R6545_1, "screen", MASTER_CLOCK/8) MCFG_MC6845_SHOW_BORDER_AREA(false) MCFG_MC6845_CHAR_WIDTH(8) MCFG_MC6845_UPDATE_ROW_CB(tv910_state, crtc_update_row) MCFG_MC6845_ADDR_CHANGED_CB(tv910_state, crtc_update_addr) MCFG_MC6845_OUT_VSYNC_CB(WRITELINE(tv910_state, vbl_w)) - + MCFG_DEVICE_ADD(KBDC_TAG, AY3600, 0) MCFG_AY3600_MATRIX_X0(IOPORT("X0")) MCFG_AY3600_MATRIX_X1(IOPORT("X1")) @@ -519,7 +519,7 @@ static MACHINE_CONFIG_START( tv910, tv910_state ) MCFG_AY3600_CONTROL_CB(READLINE(tv910_state, ay3600_control_r)) MCFG_AY3600_DATA_READY_CB(WRITELINE(tv910_state, ay3600_data_ready_w)) MCFG_AY3600_AKO_CB(WRITELINE(tv910_state, ay3600_ako_w)) - + MCFG_DEVICE_ADD(ACIA_TAG, MOS6551, 0) MCFG_MOS6551_XTAL(XTAL_1_8432MHz) MCFG_MOS6551_IRQ_HANDLER(WRITELINE(tv910_state, acia_irq_w)) @@ -538,13 +538,13 @@ MACHINE_CONFIG_END /* ROM definition */ ROM_START( tv910 ) ROM_REGION(0x1000, "maincpu", 0) - ROM_LOAD( "1800000-020e_a38_9182.bin", 0x000000, 0x001000, CRC(ae71dd7f) SHA1(a12da9329e28a4a8e3c902f795059251311d2856) ) - + ROM_LOAD( "1800000-020e_a38_9182.bin", 0x000000, 0x001000, CRC(ae71dd7f) SHA1(a12da9329e28a4a8e3c902f795059251311d2856) ) + ROM_REGION(0x2000, "graphics", 0) - ROM_LOAD( "1800000-016a_a17_85ae.bin", 0x000000, 0x001000, CRC(835445b7) SHA1(dde94fb6531dadce48e19bf551f45f61bedf905b) ) + ROM_LOAD( "1800000-016a_a17_85ae.bin", 0x000000, 0x001000, CRC(835445b7) SHA1(dde94fb6531dadce48e19bf551f45f61bedf905b) ) ROM_REGION(0x1000, "keyboard", 0) - ROM_LOAD( "1800000-019b_bell_a2_43d6.bin", 0x000000, 0x000800, CRC(de954a77) SHA1(c4f7c19799c15d12d89f08dc31064fc6be9befb0) ) + ROM_LOAD( "1800000-019b_bell_a2_43d6.bin", 0x000000, 0x000800, CRC(de954a77) SHA1(c4f7c19799c15d12d89f08dc31064fc6be9befb0) ) ROM_END /* Driver */ diff --git a/src/mame/drivers/tv950.cpp b/src/mame/drivers/tv950.cpp index 05bb745d99b..93bda1fa95b 100644 --- a/src/mame/drivers/tv950.cpp +++ b/src/mame/drivers/tv950.cpp @@ -271,7 +271,7 @@ static MACHINE_CONFIG_START( tv950, tv950_state ) MCFG_CPU_PROGRAM_MAP(tv950_mem) MCFG_SCREEN_ADD("screen", RASTER) - MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK, 1200, 0, 1120, 370, 0, 250 ) // not real values + MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK, 1200, 0, 1120, 370, 0, 250 ) // not real values MCFG_SCREEN_UPDATE_DEVICE( CRTC_TAG, r6545_1_device, screen_update ) // there are many 6845 CRTC submodels, the Theory of Operation manual references the Rockwell R6545-1 specificially. diff --git a/src/mame/drivers/zn.cpp b/src/mame/drivers/zn.cpp index 9cade11d531..f06eb6a790f 100644 --- a/src/mame/drivers/zn.cpp +++ b/src/mame/drivers/zn.cpp @@ -141,7 +141,7 @@ private: std::unique_ptr<uint8_t[]> m_fx1b_fram; std::unique_ptr<uint8_t[]> m_nbajamex_sram; - + uint32_t m_nbajamex_rombank[2]; uint16_t m_vt83c461_latch; @@ -1891,7 +1891,7 @@ WRITE16_MEMBER(zn_state::nbajamex_bank_w) } m_nbajamex_rombank[offset] = data; - + uint32_t bankbase0 = ((m_nbajamex_rombank[0] & 0x10) ? 0x200000 : 0) + (m_nbajamex_rombank[0] & 7) * 0x400000; uint32_t bankbase1 = ((m_nbajamex_rombank[1] & 0x10) ? 0 : 0x200000) + (m_nbajamex_rombank[1] & 7) * 0x400000; diff --git a/src/mame/drivers/zorba.cpp b/src/mame/drivers/zorba.cpp index 4d5e640cf4f..a3d3c0d4b52 100644 --- a/src/mame/drivers/zorba.cpp +++ b/src/mame/drivers/zorba.cpp @@ -19,7 +19,7 @@ Instead of using a daisy chain, the IM2 vectors are calculated by a prom (u77). contents make no sense at all (mostly FF), so the vectors for IRQ0 and IRQ2 are hard-coded. Other IRQ vectors are not used as yet. -Three companies are known to have sold the Zorba over its lifetime: Telcon Industries, Modular Micros +Three companies are known to have sold the Zorba over its lifetime: Telcon Industries, Modular Micros (a subsidiary of Modular Computers (ModComp)), and Gemini Electronics. 7-inch and 9-inch models were available from Telcon and Modular Micros, while Gemini exclusively sold the 9-inch version. The ROM dumps currently used in this emulation originate from a Modular Micros Zorba. diff --git a/src/mame/includes/apple2gs.h b/src/mame/includes/apple2gs.h index 26e3a5895c6..377e0329d91 100644 --- a/src/mame/includes/apple2gs.h +++ b/src/mame/includes/apple2gs.h @@ -21,9 +21,9 @@ #include "machine/z80scc.h" #define ADBMICRO_TAG "adbmicro" -#define SCC_TAG "scc" -#define RS232A_TAG "printer" -#define RS232B_TAG "modem" +#define SCC_TAG "scc" +#define RS232A_TAG "printer" +#define RS232B_TAG "modem" // IIgs clocks as marked on the schematics #define APPLE2GS_28M (XTAL_28_63636MHz) // IIGS master clock diff --git a/src/mame/includes/darkmist.h b/src/mame/includes/darkmist.h index 859495440ce..33eff4e49a9 100644 --- a/src/mame/includes/darkmist.h +++ b/src/mame/includes/darkmist.h @@ -47,7 +47,7 @@ public: DECLARE_WRITE8_MEMBER(hw_w); DECLARE_WRITE8_MEMBER(tx_vram_w); - + TILE_GET_INFO_MEMBER(get_bgtile_info); TILE_GET_INFO_MEMBER(get_fgtile_info); TILE_GET_INFO_MEMBER(get_txttile_info); diff --git a/src/mame/includes/lsasquad.h b/src/mame/includes/lsasquad.h index 33fc3aff8f3..69246e90a14 100644 --- a/src/mame/includes/lsasquad.h +++ b/src/mame/includes/lsasquad.h @@ -21,7 +21,7 @@ public: required_shared_ptr<uint8_t> m_scrollram; required_shared_ptr<uint8_t> m_spriteram; required_region_ptr<uint8_t> m_priority_prom; - + /* misc */ int m_sound_pending; int m_sound_nmi_enable; diff --git a/src/mame/layout/README.md b/src/mame/layout/README.md index 8bec69ba872..63bee9e81b8 100644 --- a/src/mame/layout/README.md +++ b/src/mame/layout/README.md @@ -3,4 +3,4 @@ Layout files are definition files to describe the look and feel of emulated machines and are the product of many different contributors. -Licensed under [CC0 1.0 Universal (CC0 1.0)](https://creativecommons.org/publicdomain/zero/1.0/)
\ No newline at end of file +Licensed under [CC0 1.0 Universal (CC0 1.0)](https://creativecommons.org/publicdomain/zero/1.0/) diff --git a/src/mame/layout/esbattle.lay b/src/mame/layout/esbattle.lay index c05fe9ea3b1..7c093cc8e6b 100644 --- a/src/mame/layout/esbattle.lay +++ b/src/mame/layout/esbattle.lay @@ -26,7 +26,7 @@ <bezel element="static_white"><bounds x="476" y="-38" width="1258" height="2218" /></bezel> <bezel element="static_black"><bounds x="486" y="-18" width="1238" height="2178" /></bezel> - + <bezel element="text_ship"><bounds x="566" y="2020" width="110" height="110" /></bezel> <bezel element="text_ship"><bounds x="1534" y="12" width="110" height="110" /><orientation rotate="180" /></bezel> diff --git a/src/mame/layout/risc2500.lay b/src/mame/layout/risc2500.lay index e5dedf9fe1f..4adb6418077 100644 --- a/src/mame/layout/risc2500.lay +++ b/src/mame/layout/risc2500.lay @@ -188,16 +188,16 @@ <element name="text_p5"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="♞" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> <element name="text_p6"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="♟" > <color red="0.17" green="0.15" blue="0.15" /></text> </element> <element name="sym_colon"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string=":" state="1"> <color red="1.0" green="1.0" blue="1.0" /></text> </element> - <element name="sym_left"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="←" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> - <element name="sym_right"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="→" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> - <element name="sym_p1"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♚" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> - <element name="sym_p2"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♛" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> - <element name="sym_p3"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♜" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> - <element name="sym_p4"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♝" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> - <element name="sym_p5"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♞" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> - <element name="sym_p6"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♟" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> - <element name="sym_white"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="○" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> - <element name="sym_black"> <text string="●" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_left"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="←" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_right"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="→" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_p1"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♚" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_p2"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♛" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_p3"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♜" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_p4"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♝" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_p5"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♞" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_p6"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="♟" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_white"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="○" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> + <element name="sym_black"> <text string="●" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element> <element name="white"><rect><color red="1" green="1" blue="1" /></rect></element> <element name="black"><rect><color red="0" green="0" blue="0" /></rect></element> <element name="background"><rect><color red="0.63" green="0.63" blue="0.63" /></rect></element> diff --git a/src/mame/machine/apple2gs.cpp b/src/mame/machine/apple2gs.cpp index 0b76ef83802..f7b382432d5 100644 --- a/src/mame/machine/apple2gs.cpp +++ b/src/mame/machine/apple2gs.cpp @@ -1052,15 +1052,15 @@ READ8_MEMBER( apple2gs_state::apple2gs_c0xx_r ) case 0x38: /* C038 - SCCBREG */ result = m_scc->cb_r(space, 0, mem_mask); break; - + case 0x39: /* C039 - SCCAREG */ result = m_scc->ca_r(space, 0, mem_mask); break; - + case 0x3A: /* C03A - SCCBDATA */ result = m_scc->db_r(space, 0, mem_mask); break; - + case 0x3B: /* C03B - SCCADATA */ result = m_scc->da_r(space, 0, mem_mask); break; @@ -1232,19 +1232,19 @@ WRITE8_MEMBER( apple2gs_state::apple2gs_c0xx_w ) case 0x38: /* C038 - SCCBREG */ m_scc->cb_w(space, 0, data); - break; - + break; + case 0x39: /* C039 - SCCAREG */ m_scc->ca_w(space, 0, data); - break; - + break; + case 0x3A: /* C03A - SCCBDATA */ m_scc->db_w(space, 0, data); - break; + break; case 0x3B: /* C03B - SCCADATA */ m_scc->da_w(space, 0, data); - break; + break; case 0x3C: /* C03C - SOUNDCTL */ case 0x3D: /* C03D - SOUNDDATA */ diff --git a/src/mame/machine/atarixga.cpp b/src/mame/machine/atarixga.cpp index 27aa4debef3..cd574d48db9 100644 --- a/src/mame/machine/atarixga.cpp +++ b/src/mame/machine/atarixga.cpp @@ -73,7 +73,7 @@ atari_136094_0072_device::atari_136094_0072_device(const machine_config &mconfig void atari_136094_0072_device::device_start() { m_ram = std::make_unique<uint16_t[]>(RAM_WORDS); - + save_pointer(NAME(m_ram.get()), RAM_WORDS * sizeof(uint16_t)); save_item(NAME(m_address)); save_item(NAME(m_ciphertext)); @@ -296,7 +296,7 @@ void atari_136095_0072_device::device_start() save_pointer(NAME(m_ram.get()), RAM_WORDS * sizeof(uint16_t)); save_item(NAME(m_update.addr)); - save_item(NAME(m_update.data)); + save_item(NAME(m_update.data)); save_item(NAME(m_poly_lsb)); save_item(NAME(m_reply)); } @@ -323,7 +323,7 @@ uint16_t atari_136095_0072_device::powers2(uint8_t k, uint16_t x) { size_t i, n; uint16_t t = 1 << (x % 16); - + if ((x == 15) || (x == 16)) n = k + 13; else @@ -338,7 +338,7 @@ uint16_t atari_136095_0072_device::powers2(uint8_t k, uint16_t x) uint16_t atari_136095_0072_device::decipher(uint8_t k, uint16_t c) { uint16_t i, p = 0; - + /* key 0x00 is special, it has 15 "identical twins". */ static const uint8_t kmap[128] = { @@ -359,27 +359,27 @@ uint16_t atari_136095_0072_device::decipher(uint8_t k, uint16_t c) 0x5D,0x05,0x00,0x08,0x25,0x29,0x30,0x69, 0x00,0x4E,0x35,0x3B,0x00,0x0C,0x0A,0x2B, }; - + /* Only 128 keys internally, if high bit set, then find the 7-bit "twin" by xor 0xA8. */ if (k & 0x80) k ^= 0xA8; - + k = kmap[k]; - + if ((c & (c - 1)) == 0) { return powers2(k, ctz(c)); } - + for (i = 0; i < 15; ++i) { if (1 & (c >> i)) { p ^= powers2(k, i); } } - + if (c & 0x8000) { p ^= powers2(k, 16); } - + uint16_t x = 0xC000; for (i = 0; i < k + 13; ++i) { @@ -388,7 +388,7 @@ uint16_t atari_136095_0072_device::decipher(uint8_t k, uint16_t c) x = lfsr2(x); } - + return p; } @@ -418,7 +418,7 @@ READ32_MEMBER(atari_136095_0072_device::polylsb_read) WRITE32_MEMBER(atari_136095_0072_device::write) { uint16_t address, value = 0; - + address = offset << 2; if (ACCESSING_BITS_16_31) { @@ -429,7 +429,7 @@ WRITE32_MEMBER(atari_136095_0072_device::write) address += 2; value = uint16_t (data & 0xFFFF); } - + switch (m_mode) { case FPGA_SETKEY: @@ -443,11 +443,11 @@ WRITE32_MEMBER(atari_136095_0072_device::write) m_ram[(offset << 1) + 1] = value; } break; - + /* Send Ciphertext to FPGA for decryption. */ case FPGA_DECIPHER: uint16_t key_offset, key_byte; - + /* Algorithm to select key byte based on offset. */ key_offset = ((((address >> 8) & 1) ^ 1) << 0) | ((((address >> 2) & 1) ^ 1) << 1) @@ -464,7 +464,7 @@ WRITE32_MEMBER(atari_136095_0072_device::write) key_byte = m_ram[key_offset]; m_reply = decipher(key_byte, value); break; - + case FPGA_PROCESS: case FPGA_RESULT: default: @@ -478,12 +478,12 @@ READ32_MEMBER(atari_136095_0072_device::read) { uint16_t address; uint32_t reply = 0; - + address = offset << 2; if (ACCESSING_BITS_0_15) address += 2; - + switch (address) { case 0x0020: @@ -503,6 +503,6 @@ READ32_MEMBER(atari_136095_0072_device::read) default: break; } - + return reply; } diff --git a/src/mame/machine/atarixga.h b/src/mame/machine/atarixga.h index d8e0b76c948..5204caa5e94 100644 --- a/src/mame/machine/atarixga.h +++ b/src/mame/machine/atarixga.h @@ -40,14 +40,14 @@ public: virtual DECLARE_WRITE32_MEMBER(write) override; virtual DECLARE_READ32_MEMBER(read) override; - + protected: virtual void device_start() override; virtual void device_reset() override; private: static const size_t RAM_WORDS = 2048; - + uint16_t powers2(uint8_t k, uint16_t x); uint16_t lfsr2(uint16_t x); uint16_t lfsr1(uint16_t x); @@ -59,10 +59,10 @@ private: FPGA_SETKEY, FPGA_DECIPHER }; - + fpga_mode m_mode; uint16_t m_address; // last written address - uint16_t m_ciphertext; // last written ciphertext + uint16_t m_ciphertext; // last written ciphertext }; class atari_136095_0072_device : public atari_xga_device @@ -72,17 +72,17 @@ public: DECLARE_WRITE32_MEMBER(polylsb_write); DECLARE_READ32_MEMBER(polylsb_read); - + virtual DECLARE_WRITE32_MEMBER(write) override; virtual DECLARE_READ32_MEMBER(read) override; - + protected: virtual void device_start() override; virtual void device_reset() override; - + private: static const size_t RAM_WORDS = 4096; - + uint16_t powers2(uint8_t k, uint16_t x); uint16_t lfsr2(uint16_t x); uint16_t lfsr1(uint16_t x); diff --git a/src/mame/machine/cedar_magnet_board.h b/src/mame/machine/cedar_magnet_board.h index 1ffbcef1c05..1672f9e5e76 100644 --- a/src/mame/machine/cedar_magnet_board.h +++ b/src/mame/machine/cedar_magnet_board.h @@ -22,7 +22,7 @@ public: uint8_t* m_ram; z80_device* m_cpu; - + virtual uint8_t read_cpu_bus(int offset); virtual void write_cpu_bus(int offset, uint8_t data); diff --git a/src/mame/machine/cedar_magnet_sound.cpp b/src/mame/machine/cedar_magnet_sound.cpp index bc17672db81..37132fb77f3 100644 --- a/src/mame/machine/cedar_magnet_sound.cpp +++ b/src/mame/machine/cedar_magnet_sound.cpp @@ -62,10 +62,10 @@ static ADDRESS_MAP_START( cedar_magnet_sound_io, AS_IO, 8, cedar_magnet_sound_de AM_RANGE(0x0c, 0x0c) AM_DEVWRITE("aysnd0", ay8910_device, address_w) AM_RANGE(0x0d, 0x0d) AM_DEVWRITE("aysnd0", ay8910_device, data_w) - + AM_RANGE(0x10, 0x10) AM_DEVWRITE("aysnd1", ay8910_device, address_w) AM_RANGE(0x11, 0x11) AM_DEVWRITE("aysnd1", ay8910_device, data_w) - + AM_RANGE(0x14, 0x14) AM_READ(soundlatch_r) ADDRESS_MAP_END @@ -84,12 +84,12 @@ WRITE8_MEMBER(cedar_magnet_sound_device::ay1_porta_w) WRITE_LINE_MEMBER(cedar_magnet_sound_device::ctc0_z0_w) { -// printf("USED ctc0_z0_w %d\n", state); +// printf("USED ctc0_z0_w %d\n", state); } WRITE_LINE_MEMBER(cedar_magnet_sound_device::ctc0_z1_w) { -// printf("USED ctc0_z1_w %d\n", state); +// printf("USED ctc0_z1_w %d\n", state); } @@ -148,8 +148,8 @@ TIMER_CALLBACK_MEMBER(cedar_magnet_sound_device::reset_assert_callback) INTERRUPT_GEN_MEMBER(cedar_magnet_sound_device::fake_irq) { // these should be coming from the CTC... -// if (m_fake_counter==0) m_cpu->set_input_line_and_vector(0, HOLD_LINE,0xe6); -// if (m_fake_counter==1) m_cpu->set_input_line_and_vector(0, HOLD_LINE,0xee); +// if (m_fake_counter==0) m_cpu->set_input_line_and_vector(0, HOLD_LINE,0xe6); +// if (m_fake_counter==1) m_cpu->set_input_line_and_vector(0, HOLD_LINE,0xee); if (m_fake_counter==2) m_cpu->set_input_line_and_vector(0, HOLD_LINE,0xf6); // drives the AY, should be from ctc1 4th counter? m_fake_counter++; @@ -161,19 +161,19 @@ static MACHINE_CONFIG_FRAGMENT( cedar_magnet_sound ) MCFG_CPU_ADD("topcpu", Z80,4000000) MCFG_CPU_PROGRAM_MAP(cedar_magnet_sound_map) MCFG_CPU_IO_MAP(cedar_magnet_sound_io) -// MCFG_Z80_DAISY_CHAIN(daisy_chain) +// MCFG_Z80_DAISY_CHAIN(daisy_chain) MCFG_CPU_PERIODIC_INT_DRIVER(cedar_magnet_sound_device, fake_irq, 4*60) MCFG_DEVICE_ADD("ctc0", Z80CTC, 4000000/8 ) -// MCFG_Z80CTC_INTR_CB(INPUTLINE("topcpu", INPUT_LINE_IRQ0)) +// MCFG_Z80CTC_INTR_CB(INPUTLINE("topcpu", INPUT_LINE_IRQ0)) MCFG_Z80CTC_INTR_CB(WRITELINE(cedar_magnet_sound_device, ctc0_int_w)) MCFG_Z80CTC_ZC0_CB(WRITELINE(cedar_magnet_sound_device, ctc0_z0_w)) MCFG_Z80CTC_ZC1_CB(WRITELINE(cedar_magnet_sound_device, ctc0_z1_w)) MCFG_Z80CTC_ZC2_CB(WRITELINE(cedar_magnet_sound_device, ctc0_z2_w)) MCFG_DEVICE_ADD("ctc1", Z80CTC, 4000000/8 ) -// MCFG_Z80CTC_INTR_CB(INPUTLINE("topcpu", INPUT_LINE_IRQ0)) -// MCFG_Z80CTC_INTR_CB(DEVWRITELINE("ctc0", z80ctc_device, trg0)) +// MCFG_Z80CTC_INTR_CB(INPUTLINE("topcpu", INPUT_LINE_IRQ0)) +// MCFG_Z80CTC_INTR_CB(DEVWRITELINE("ctc0", z80ctc_device, trg0)) MCFG_Z80CTC_INTR_CB(WRITELINE(cedar_magnet_sound_device, ctc1_int_w)) MCFG_Z80CTC_ZC0_CB(WRITELINE(cedar_magnet_sound_device, ctc1_z0_w)) MCFG_Z80CTC_ZC1_CB(WRITELINE(cedar_magnet_sound_device, ctc1_z1_w)) diff --git a/src/mame/machine/cedar_magnet_sound.h b/src/mame/machine/cedar_magnet_sound.h index d4fb3a6cace..fcd498c1aa8 100644 --- a/src/mame/machine/cedar_magnet_sound.h +++ b/src/mame/machine/cedar_magnet_sound.h @@ -24,7 +24,7 @@ class cedar_magnet_sound_device : public cedar_magnet_board_device public: // construction/destruction cedar_magnet_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - + required_device<z80ctc_device> m_ctc0; required_device<z80ctc_device> m_ctc1; @@ -36,7 +36,7 @@ public: void write_command(uint8_t data); uint8_t m_command; - + DECLARE_WRITE_LINE_MEMBER(ctc1_z0_w); DECLARE_WRITE_LINE_MEMBER(ctc1_z1_w); DECLARE_WRITE_LINE_MEMBER(ctc1_z2_w); diff --git a/src/mame/machine/fmt_icmem.cpp b/src/mame/machine/fmt_icmem.cpp index da2679a211e..8a22f583d30 100644 --- a/src/mame/machine/fmt_icmem.cpp +++ b/src/mame/machine/fmt_icmem.cpp @@ -148,7 +148,7 @@ READ8_MEMBER(fmt_icmem_device::status_r) if(m_change) ret |= 0x80; m_change = false; - + return ret; } diff --git a/src/mame/machine/fmt_icmem.h b/src/mame/machine/fmt_icmem.h index d9eb85cbd30..dc58c6f6814 100644 --- a/src/mame/machine/fmt_icmem.h +++ b/src/mame/machine/fmt_icmem.h @@ -59,7 +59,7 @@ public: protected: virtual ioport_constructor device_input_ports() const override; - + private: required_ioport m_writeprotect; std::unique_ptr<uint8_t[]> m_memcard_ram; diff --git a/src/mame/machine/msx_matsushita.cpp b/src/mame/machine/msx_matsushita.cpp index 3c6db780f42..d5b1f13e44f 100644 --- a/src/mame/machine/msx_matsushita.cpp +++ b/src/mame/machine/msx_matsushita.cpp @@ -84,7 +84,7 @@ READ8_MEMBER(msx_matsushita_device::switched_read) case 0x03: { uint8_t result = (((m_pattern & 0x80) ? m_nibble1 : m_nibble2) << 4) | ((m_pattern & 0x40) ? m_nibble1 : m_nibble2); - + if (!space.debugger_access()) m_pattern = (m_pattern << 2) | (m_pattern >> 6); diff --git a/src/mame/machine/znmcu.cpp b/src/mame/machine/znmcu.cpp index 495ff89e740..a61baa1ab14 100644 --- a/src/mame/machine/znmcu.cpp +++ b/src/mame/machine/znmcu.cpp @@ -111,4 +111,4 @@ void znmcu_device::device_timer(emu_timer &timer, device_timer_id tid, int param m_mcu_timer->adjust(attotime::from_usec(5), 1); } -}
\ No newline at end of file +} diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 9291accd82e..141feb2ed16 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -14798,8 +14798,8 @@ isbc286 // isbc2861 // isbc86 // rpc86 // -isbc8605 // -isbc8630 // +isbc8605 // +isbc8630 // @source:isbc8010.cpp isbc8010 // @@ -20142,7 +20142,7 @@ mice // micral // @source:micro20.cpp -micro20 // (c) 1984 GMX +micro20 // (c) 1984 GMX @source:micro3d.cpp botss // (c) 1992 Microprose Games Inc. @@ -30361,7 +30361,7 @@ sonstwr2 // wolfman // @source:pg685.cpp -pg675 // +pg675 // pg685 // pg685oua12 // @@ -36126,7 +36126,7 @@ pyuutajr // 1982 Tomy Pyuuta Jr. tutor // 1983? Tomy Tutor @source:tv910.cpp -tv910 // +tv910 // @source:tv950.cpp tv950 // diff --git a/src/mame/video/darkmist.cpp b/src/mame/video/darkmist.cpp index 3e2f69d1d48..d6abdc78034 100644 --- a/src/mame/video/darkmist.cpp +++ b/src/mame/video/darkmist.cpp @@ -63,7 +63,7 @@ TILE_GET_INFO_MEMBER(darkmist_state::get_txttile_info) PALETTE_INIT_MEMBER(darkmist_state, darkmist) { -// palette.set_indirect_color(0x100, rgb_t::black()); +// palette.set_indirect_color(0x100, rgb_t::black()); for (int i = 0; i < 0x400; i++) { @@ -78,9 +78,9 @@ PALETTE_INIT_MEMBER(darkmist_state, darkmist) case 0x300: clut = m_tx_clut[i&0xff]; break; } -// if (clut & 0x40) // 0x40 indicates transparent pen -// ctabentry = 0x100; -// else +// if (clut & 0x40) // 0x40 indicates transparent pen +// ctabentry = 0x100; +// else { ctabentry = (clut & 0x3f); @@ -103,8 +103,8 @@ void darkmist_state::video_start() m_bgtilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(darkmist_state::get_bgtile_info),this),TILEMAP_SCAN_ROWS,16,16,512,64 ); m_fgtilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(darkmist_state::get_fgtile_info),this),TILEMAP_SCAN_ROWS,16,16,64,256 ); m_txtilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(darkmist_state::get_txttile_info),this),TILEMAP_SCAN_ROWS,8,8,32,32 ); -// m_fgtilemap->set_transparent_pen(0); -// m_txtilemap->set_transparent_pen(0); +// m_fgtilemap->set_transparent_pen(0); +// m_txtilemap->set_transparent_pen(0); save_item(NAME(m_hw)); m_screen->register_screen_bitmap(m_temp_bitmap); @@ -164,7 +164,7 @@ void darkmist_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec palette, fx,fy, m_spriteram[i+3],m_spriteram[i+2],0 ); - } + } } uint32_t darkmist_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) @@ -178,19 +178,19 @@ uint32_t darkmist_state::screen_update(screen_device &screen, bitmap_ind16 &bitm m_temp_bitmap.fill(0,cliprect); bitmap.fill(m_palette->black_pen(), cliprect); - + if(m_hw & DISPLAY_BG) { m_bgtilemap->draw(screen, m_temp_bitmap, cliprect, 0,0); mix_layer(screen, bitmap, cliprect, m_bg_clut); } - + if(m_hw & DISPLAY_FG) { m_fgtilemap->draw(screen, m_temp_bitmap, cliprect, 0,0); mix_layer(screen, bitmap, cliprect, m_fg_clut); } - + if(m_hw & DISPLAY_SPR) { draw_sprites(m_temp_bitmap,cliprect); |