Cleanups and version bump

This commit is contained in:
Miodrag Milanovic 2014-07-22 06:14:55 +00:00
parent c4e9058ee2
commit 5d7e1fcc62
620 changed files with 43132 additions and 43364 deletions

View File

@ -203,4 +203,3 @@ void device_a1bus_card_interface::install_bank(offs_t start, offs_t end, offs_t
{
m_a1bus->install_bank(start, end, mask, mirror, tag, data);
}

View File

@ -196,4 +196,3 @@ WRITE8_MEMBER(a1bus_cassette_device::cassette_w)
cassette_toggle_output();
}

View File

@ -153,4 +153,3 @@ WRITE8_MEMBER(a1bus_cffa_device::cffa_w)
}
}

View File

@ -120,4 +120,3 @@ UINT8 a2bus_diskiing_device::read_cnxx(address_space &space, UINT8 offset)
{
return m_rom[offset];
}

View File

@ -382,4 +382,3 @@ WRITE8_MEMBER(mcms_device::control_w)
break;
}
}

View File

@ -60,4 +60,3 @@ READ8_MEMBER(msx_cart_arc::io_7f_r)
{
return ((m_7f & 0x03) == 0x03) ? 0xda : 0xff;
}

View File

@ -439,4 +439,3 @@ WRITE8_MEMBER(msx_cart_ascii16_sram::write_cart)
}
}
}

View File

@ -108,5 +108,3 @@ WRITE_LINE_MEMBER(msx_cart_bm_012::midi_in)
m_mdthru->write_txd(state);
m_tmpz84c015af->rxb_w(state);
}

View File

@ -92,4 +92,3 @@ SLOT_INTERFACE_START(msx_yamaha_60pin)
SLOT_INTERFACE("sfg01", MSX_CART_SFG01)
SLOT_INTERFACE("sfg05", MSX_CART_SFG05)
SLOT_INTERFACE_END

View File

@ -78,4 +78,3 @@ WRITE8_MEMBER(msx_cart_crossblaim::write_cart)
}
setup_bank();
}

View File

@ -63,4 +63,3 @@ WRITE8_MEMBER(msx_cart_dooly::write_cart)
}
}
}

View File

@ -169,4 +169,3 @@ WRITE8_MEMBER(msx_cart_fmpac::write_ym2413)
m_ym2413->write(space, offset & 1, data);
}
}

View File

@ -155,4 +155,3 @@ WRITE8_MEMBER(msx_cart_halnote::write_cart)
break;
}
}

View File

@ -75,4 +75,3 @@ WRITE8_MEMBER(msx_cart_hfox::write_cart)
break;
}
}

View File

@ -115,4 +115,3 @@ WRITE8_MEMBER(msx_cart_holy_quran::write_cart)
break;
}
}

View File

@ -933,4 +933,3 @@ READ8_MEMBER(msx_cart_keyboard_master::io_00_r)
{
return m_vlm5030->bsy() ? 0x10 : 0x00;
}

View File

@ -294,4 +294,3 @@ WRITE8_MEMBER(msx_cart_korean_126in1::write_cart)
setup_bank(bank);
}
}

View File

@ -111,4 +111,3 @@ WRITE8_MEMBER(msx_cart_majutsushi::write_cart)
break;
}
}

View File

@ -383,4 +383,3 @@ READ8_MEMBER(msx_cart_msx_audio_fsca1::y8950_io_r)
{
return m_io_config->read();
}

View File

@ -309,5 +309,3 @@ SLOT_INTERFACE_START( msx_audio_keyboards )
SLOT_INTERFACE("hxmu901", MSX_AUDIO_KB_HXMU901)
SLOT_INTERFACE("nms1160", MSX_AUDIO_KB_NMS1160)
SLOT_INTERFACE_END

View File

@ -63,4 +63,3 @@ WRITE8_MEMBER(msx_cart_msxdos2::write_cart)
restore_banks();
}
}

View File

@ -90,4 +90,3 @@ READ8_MEMBER(msx_cart_nomapper::read_cart)
}
return 0xff;
}

View File

@ -74,4 +74,3 @@ WRITE8_MEMBER(msx_cart_rtype::write_cart)
m_bank_base[1] = get_rom_base() + m_selected_bank * 0x4000;
}
}

View File

@ -68,4 +68,3 @@ WRITE8_MEMBER(msx_cart_super_swangi::write_cart)
logerror("msx_cart_super_swangi: unhandled write %02x to %04x\n", data, offset);
}
}

View File

@ -58,4 +58,3 @@ WRITE8_MEMBER(msx_cart_superloderunner::banking)
m_selected_bank = data;
restore_banks();
}

View File

@ -201,4 +201,3 @@ WRITE8_MEMBER(msx_cart_sfg::write_cart)
break;
}
}

View File

@ -74,4 +74,3 @@ WRITE8_MEMBER(msx_slot_bunsetsu_device::write)
break;
}
}

View File

@ -379,5 +379,3 @@ void msx_slot_yamaha_expansion_device::device_start()
m_cartridge->set_out_irq_cb(DEVCB_WRITELINE(msx_slot_cartridge_device, irq_out));
}
}

View File

@ -638,5 +638,3 @@ WRITE8_MEMBER(msx_slot_disk5_device::io_write)
break;
}
}

View File

@ -159,4 +159,3 @@ WRITE8_MEMBER(msx_slot_fs4600_device::write)
}
}
}

View File

@ -45,4 +45,3 @@ WRITE8_MEMBER(msx_slot_music_device::write_ym2413)
{
m_ym2413->write(space, offset & 1, data);
}

View File

@ -178,4 +178,3 @@ WRITE8_MEMBER(msx_slot_panasonic08_device::write)
break;
}
}

View File

@ -33,4 +33,3 @@ WRITE8_MEMBER(msx_slot_ram_device::write)
m_ram[offset - m_start_address] = data;
}
}

View File

@ -76,4 +76,3 @@ WRITE8_MEMBER(msx_slot_ram_mm_device::write_mapper_bank)
m_bank_selected[offset] = data;
m_bank_base[offset] = m_ram + 0x4000 * ( m_bank_selected[offset] & m_bank_mask );
}

View File

@ -62,5 +62,3 @@ READ8_MEMBER(msx_slot_rom_device::read)
}
return 0xFF;
}

View File

@ -32,4 +32,3 @@ void msx_internal_slot_interface::set_size(device_t &device, UINT32 size)
dev.m_size = size;
dev.m_end_address = dev.m_start_address + dev.m_size;
}

View File

@ -186,4 +186,3 @@ WRITE8_MEMBER(msx_slot_sony08_device::write)
break;
}
}

View File

@ -103,4 +103,3 @@ void neogeo_banked_cart_device::install_banks(running_machine& machine, cpu_devi
init_banks();
}

View File

@ -361,5 +361,3 @@ void neogeo_bootleg_kog_cart::decrypt_all(DECRYPT_ALL_PARAMS)
m_bootleg_prot->neogeo_bootleg_sx_decrypt(fix_region, fix_region_size,1);
m_bootleg_prot->neogeo_bootleg_cx_decrypt(spr_region, spr_region_size);
}

View File

@ -1128,4 +1128,3 @@ void ngbootleg_prot_device::matrimbl_decrypt(UINT8* sprrom, UINT32 sprrom_size,
/* decrypt gfx */
cthd2003_c(sprrom,sprrom_size, 0 );
}

View File

@ -219,4 +219,3 @@ void neogeo_cmc_kof2000n_cart::decrypt_all(DECRYPT_ALL_PARAMS)
m_cmc_prot->neogeo_cmc50_m1_decrypt(audiocrypt_region, audiocrypt_region_size, audiocpu_region, audio_region_size);
m_cmc_prot->kof2000_neogeo_gfx_decrypt(spr_region, spr_region_size, fix_region, fix_region_size, KOF2000_GFX_KEY);
}

View File

@ -15,7 +15,6 @@ cmc_prot_device::cmc_prot_device(const machine_config &mconfig, const char *tag,
void cmc_prot_device::device_start()
{
}
void cmc_prot_device::device_reset()
@ -786,4 +785,3 @@ void cmc_prot_device::neogeo_cmc50_m1_decrypt(UINT8* romcrypt, UINT32 romcrypt_s
}
#endif
}

View File

@ -106,4 +106,3 @@ void fatfury2_prot_device::fatfury2_install_protection(cpu_device* maincpu, neog
m_fatfury2_prot_data = 0;
}

View File

@ -153,4 +153,3 @@ void neogeo_kof2002_samsho5sp_cart::decrypt_all(DECRYPT_ALL_PARAMS)
m_cmc_prot->kof2000_neogeo_gfx_decrypt(spr_region, spr_region_size, fix_region, fix_region_size, SAMSHO5SP_GFX_KEY);
m_pcm2_prot->neo_pcm2_swap(ym_region, ym_region_size, 6);
}

View File

@ -15,7 +15,6 @@ kof2002_prot_device::kof2002_prot_device(const machine_config &mconfig, const ch
void kof2002_prot_device::device_start()
{
}
void kof2002_prot_device::device_reset()
@ -80,5 +79,3 @@ void kof2002_prot_device::samsh5sp_decrypt_68k(UINT8* cpurom, UINT32 cpurom_size
memcpy( src+i*0x80000, dst+sec[i], 0x80000 );
}
}

View File

@ -16,7 +16,6 @@ kof98_prot_device::kof98_prot_device(const machine_config &mconfig, const char *
void kof98_prot_device::device_start()
{
}
void kof98_prot_device::device_reset()
@ -137,5 +136,3 @@ void kof98_prot_device::install_kof98_protection(cpu_device* maincpu)
maincpu->space(AS_PROGRAM).install_write_handler(0x20aaaa, 0x20aaab, write16_delegate(FUNC(kof98_prot_device::kof98_prot_w),this));
}

View File

@ -91,8 +91,3 @@ void mslugx_prot_device::mslugx_install_protection(cpu_device* maincpu)
maincpu->space(AS_PROGRAM).install_readwrite_handler(0x2fffe0, 0x2fffef, read16_delegate(FUNC(mslugx_prot_device::mslugx_protection_16_r),this), write16_delegate(FUNC(mslugx_prot_device::mslugx_protection_16_w),this));
}

View File

@ -29,4 +29,3 @@ device_neogeo_cart_interface::device_neogeo_cart_interface(const machine_config
device_neogeo_cart_interface::~device_neogeo_cart_interface()
{
}

View File

@ -131,5 +131,3 @@ void neogeo_pcm2_pnyaa_cart::decrypt_all(DECRYPT_ALL_PARAMS)
m_cmc_prot->kof2000_neogeo_gfx_decrypt(spr_region, spr_region_size, fix_region, fix_region_size, PNYAA_GFX_KEY);
m_pcm2_prot->neo_pcm2_snk_1999(ym_region, ym_region_size, 4);
}

View File

@ -84,4 +84,3 @@ void pcm2_prot_device::neo_pcm2_swap(UINT8* ymrom, UINT32 ymsize, int value)
src[j]=buf[d]^xordata[value][j&0x7];
}
}

View File

@ -135,10 +135,3 @@ void neogeo_pvc_kof2003h_cart::decrypt_all(DECRYPT_ALL_PARAMS)
m_cmc_prot->neogeo_cmc50_m1_decrypt(audiocrypt_region, audiocrypt_region_size, audiocpu_region, audio_region_size);
m_cmc_prot->kof2000_neogeo_gfx_decrypt(spr_region, spr_region_size, fix_region, fix_region_size, KOF2003_GFX_KEY);
}

View File

@ -312,6 +312,3 @@ void pvc_prot_device::kof2003h_decrypt_68k(UINT8* rom, UINT32 size)
memcpy (&rom[0x100000], &buf[0x800000], 0x100000);
memcpy (&rom[0x200000], &buf[0x100000], 0x700000);
}

View File

@ -16,7 +16,6 @@ sbp_prot_device::sbp_prot_device(const machine_config &mconfig, const char *tag,
void sbp_prot_device::device_start()
{
}
void sbp_prot_device::device_reset()

View File

@ -173,5 +173,3 @@ void neogeo_sma_kof2000_cart::activate_cart(ACTIVATE_CART_PARAMS)
m_banked_cart->install_banks(machine, maincpu, cpuregion, cpuregion_size);
m_sma_prot->kof2000_install_protection(maincpu, m_banked_cart);
}

View File

@ -236,7 +236,6 @@ void sma_prot_device::reset_sma_rng()
void sma_prot_device::sma_install_random_read_handler(cpu_device* maincpu, int addr1, int addr2 )
{
maincpu->space(AS_PROGRAM).install_read_handler(addr1, addr1 + 1, read16_delegate(FUNC(sma_prot_device::sma_random_r),this));
maincpu->space(AS_PROGRAM).install_read_handler(addr2, addr2 + 1, read16_delegate(FUNC(sma_prot_device::sma_random_r),this));
}
@ -459,5 +458,3 @@ void sma_prot_device::kof2000_decrypt_68k(UINT8* base)
rom[i] = rom[0x73a000/2 + BITSWAP24(i,23,22,21,20,19,18,8,4,15,13,3,14,16,2,6,17,7,12,10,0,5,11,1,9)];
}
}

View File

@ -377,4 +377,3 @@ void konami_cpu_device::execute_run()
execute_one();
} while(m_icount > 0);
}

View File

@ -76,7 +76,6 @@ void mb86235_cpu_device::device_start()
void mb86235_cpu_device::device_reset()
{
}
#if 0

View File

@ -177,7 +177,6 @@ UINT16 minx_cpu_device::rdop16()
void minx_cpu_device::execute_run()
{
do
{
m_curpc = GET_MINX_PC;

View File

@ -2988,4 +2988,3 @@ void mips3_device::sdr_le(UINT32 op)
UINT64 mask = U64(0xffffffffffffffff) << shift;
WDOUBLE_MASKED(offs & ~7, RTVAL64 << shift, mask);
}

View File

@ -3246,4 +3246,3 @@ void mips3_device::log_opcode_desc(drcuml_state *drcuml, const opcode_desc *desc
drcuml->log_printf("-----\n");
}
}

View File

@ -2886,4 +2886,3 @@ void ppc4xx_device::ppc4xx_set_dcr_write_handler(write32_delegate dcr_write_func
{
m_dcr_write_func = dcr_write_func;
}

View File

@ -3919,4 +3919,3 @@ void ppc_device::log_opcode_desc(drcuml_state *drcuml, const opcode_desc *descli
drcuml->log_printf("-----\n");
}
}

View File

@ -2712,4 +2712,3 @@ void sh2_device::execute_set_input(int irqline, int state)
#include "sh2comn.c"
#include "sh2drc.c"

View File

@ -887,4 +887,3 @@ void sh2_device::sh2_exception(const char *message, int irqline)
if(m_sh2_state->sleep_mode == 1) { m_sh2_state->sleep_mode = 2; }
}

View File

@ -2978,4 +2978,3 @@ void sh2_device::sh2drc_add_fastram(offs_t start, offs_t end, UINT8 readonly, vo
m_fastram_select++;
}
}

View File

@ -3968,4 +3968,3 @@ void sh34_base_device::sh4_set_ftcsr_callback(sh4_ftcsr_callback callback)
{
m_ftcsr_read_callback = callback;
}

View File

@ -662,4 +662,3 @@ void sh34_base_device::sh4_dma_ddt(struct sh4_ddt_dma *s)
sh4_dmac_check(2);
sh4_dmac_check(3);
}

View File

@ -1638,4 +1638,3 @@ offs_t tms34020_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8
return CPU_DISASSEMBLE_NAME(tms34020)(this, buffer, pc, oprom, opram, options);
}

View File

@ -605,4 +605,3 @@ void lua_engine::start()
{
resume(m_lua_state);
}

View File

@ -109,7 +109,6 @@ READ8_MEMBER( cr511b_device::read )
WRITE8_MEMBER ( cr511b_device::write )
{
}
WRITE_LINE_MEMBER( cr511b_device::enable_w )

View File

@ -462,6 +462,5 @@ WRITE_LINE_MEMBER( dmac_device::xdreq_w )
if (m_dma_active)
{
}
}

View File

@ -763,7 +763,6 @@ WRITE_LINE_MEMBER(eeprom_serial_er5911_device::di_write) { base_di_write(state);
eeprom_serial_x24c44_device::eeprom_serial_x24c44_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, const char *shortname, const char *file)
: eeprom_serial_base_device(mconfig, devtype, name, tag, owner, shortname, file)
{
}
@ -983,11 +982,9 @@ void eeprom_serial_x24c44_device::handle_event(eeprom_event event)
case STATE_READING_DATA:
if (event == EVENT_CLK_RISING_EDGE)
{
int bit_index = m_bits_accum++;
if (bit_index % m_data_bits == 0 && (bit_index == 0 || m_streaming_enabled)){
m_shift_register=m_ram_data[m_address];
//m_shift_register=BITSWAP16(m_shift_register,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15);
@ -999,7 +996,6 @@ void eeprom_serial_x24c44_device::handle_event(eeprom_event event)
LOG1(("read from RAM addr %02X data(from ram) %04X ,m_shift_register vale %04X \n",m_address,m_ram_data[m_address],m_shift_register));
}
else{
m_shift_register = (m_shift_register << 1) | 1;
}
@ -1023,10 +1019,8 @@ void eeprom_serial_x24c44_device::handle_event(eeprom_event event)
case STATE_WAIT_FOR_DATA:
if (event == EVENT_CLK_RISING_EDGE)
{
m_shift_register = (m_shift_register << 1) | m_di_state;
if (++m_bits_accum == m_data_bits){
//m_shift_register=BITSWAP16(m_shift_register, 0, 1, 2, 3, 4, 5,6,7, 8, 9,10,11,12,13,14,15);
//m_shift_register=BITSWAP16(m_shift_register, 7, 6, 5, 4, 3, 2,1,0,15,14,13,12,11,10, 9, 8);
m_shift_register=BITSWAP16(m_shift_register,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7);
@ -1059,7 +1053,6 @@ void eeprom_serial_x24c44_device::handle_event(eeprom_event event)
void eeprom_serial_x24c44_device::parse_command_and_address()
{
//command is start_bit - 4bit_address - 3bit_command
// set the defaults
@ -1096,10 +1089,7 @@ void eeprom_serial_x24c44_device::parse_command_and_address()
void eeprom_serial_x24c44_device::parse_command_and_address_2_bit()
{
if ((m_command_address_accum & 0x03) == 0x03){
m_command = COMMAND_READ;
m_address = ((m_command_address_accum >> 2) & 0x0f);
m_shift_register = 0;

View File

@ -1147,4 +1147,3 @@ UINT8 mc68681_channel::get_chan_CSR()
{
return CSR;
}

View File

@ -2523,5 +2523,3 @@ WRITE8_MEMBER(tc8566af_device::cr1_w)
tc_w((m_cr1 & 0x01) ? true : false);
}
}

View File

@ -570,4 +570,3 @@ void appleiii_fdc::control_dx(int offset)
break;
}
}

View File

@ -205,4 +205,3 @@ WRITE_LINE_MEMBER(ym2148_device::write_rxd)
{
m_rxd = state;
}

View File

@ -301,4 +301,3 @@ void CLIB_DECL vlogerror(const char *format, va_list arg)
if (machine_manager::instance()!=NULL && machine_manager::instance()->machine() != NULL)
machine_manager::instance()->machine()->vlogerror(format, arg);
}

View File

@ -4976,4 +4976,3 @@ void handler_entry_write::write_stub_64(address_space &space, offs_t offset, UIN
}
}
}

View File

@ -35,4 +35,3 @@ NETLIST_START(opamp_lm3900)
PARAM(G1.RO, RES_K(8))
NETLIST_END()

View File

@ -281,7 +281,6 @@ void netlist_matrix_solver_t::solve_base(C *p)
ATTR_HOT double netlist_matrix_solver_t::solve()
{
netlist_time now = netlist().time();
netlist_time delta = now - m_last_step;
@ -564,4 +563,3 @@ ATTR_COLD void NETLIB_NAME(solver)::post_start()
}
}
}

View File

@ -69,7 +69,6 @@ NETLIB_UPDATE(4020_sub)
NETLIB_UPDATE(4020)
{
if (INPLOGIC(m_RESET))
{
sub.m_cnt = 0;

View File

@ -10,7 +10,6 @@
NETLIB_START(74123)
{
register_sub(m_RP, "RP");
register_sub(m_RN, "RN");

View File

@ -36,4 +36,3 @@ NETLIB_UPDATE_PARAM(r2r_dac)
this->set(1.0 / m_R.Value(), V, 0.0);
}

View File

@ -92,7 +92,6 @@ void k053260_device::device_start()
void k053260_device::device_reset()
{
for (int i = 0; i < 4; i++)
{
m_channels[i].rate = 0;

View File

@ -71,4 +71,3 @@ const msx_format::format msx_format::formats[] = {
};
const floppy_format_type FLOPPY_MSX_FORMAT = &floppy_image_format_creator<msx_format>;

View File

@ -1281,4 +1281,3 @@ LUA_API void lua_upvaluejoin (lua_State *L, int fidx1, int n1,
*up1 = *up2;
luaC_objbarrier(L, f1, *up2);
}

View File

@ -956,4 +956,3 @@ LUALIB_API void luaL_checkversion_ (lua_State *L, lua_Number ver) {
" must recompile Lua with proper settings");
lua_pop(L, 1);
}

View File

@ -455,4 +455,3 @@ LUAMOD_API int luaopen_base (lua_State *L) {
lua_setfield(L, -2, "_VERSION"); /* set global _VERSION */
return 1;
}

View File

@ -209,4 +209,3 @@ LUAMOD_API int luaopen_bit32 (lua_State *L) {
luaL_newlib(L, bitlib);
return 1;
}

View File

@ -878,4 +878,3 @@ void luaK_setlist (FuncState *fs, int base, int nelems, int tostore) {
luaX_syntaxerror(fs->ls, "constructor too long");
fs->freereg = base + 1; /* free registers with list values */
}

View File

@ -152,4 +152,3 @@ LUAMOD_API int luaopen_coroutine (lua_State *L) {
luaL_newlib(L, co_funcs);
return 1;
}

View File

@ -395,4 +395,3 @@ LUAMOD_API int luaopen_debug (lua_State *L) {
luaL_newlib(L, dblib);
return 1;
}

View File

@ -590,4 +590,3 @@ l_noret luaG_runerror (lua_State *L, const char *fmt, ...) {
va_end(argp);
luaG_errormsg(L);
}

View File

@ -677,5 +677,3 @@ int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
L->nny--;
return status;
}

View File

@ -158,4 +158,3 @@ const char *luaF_getlocalname (const Proto *f, int local_number, int pc) {
}
return NULL; /* not found */
}

View File

@ -1216,5 +1216,3 @@ void luaC_fullgc (lua_State *L, int isemergency) {
}
/* }====================================================== */

View File

@ -64,4 +64,3 @@ LUALIB_API void luaL_openlibs (lua_State *L) {
}
lua_pop(L, 1); /* remove _PRELOAD table */
}

View File

@ -663,4 +663,3 @@ LUAMOD_API int luaopen_io (lua_State *L) {
createstdfile(L, stderr, NULL, "stderr");
return 1;
}

View File

@ -527,4 +527,3 @@ int luaX_lookahead (LexState *ls) {
ls->lookahead.token = llex(ls, &ls->lookahead.seminfo);
return ls->lookahead.token;
}

View File

@ -276,4 +276,3 @@ LUAMOD_API int luaopen_math (lua_State *L) {
lua_setfield(L, -2, "huge");
return 1;
}

Some files were not shown because too many files have changed in this diff Show More