From 7a4744d31da401404f7e67de707021fa5cc12711 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 19 Sep 2010 05:09:00 +0000 Subject: Cleanups and version bump. --- src/build/makedep.c | 26 ++-- src/emu/cpu/adsp2100/2100ops.c | 30 ++--- src/emu/cpu/adsp2100/adsp2100.c | 28 ++-- src/emu/cpu/adsp2100/adsp2100.h | 20 +-- src/emu/cpu/asap/asap.c | 8 +- src/emu/cpu/asap/asap.h | 4 +- src/emu/debug/debugcpu.c | 28 ++-- src/emu/debug/debugcpu.h | 8 +- src/emu/devcb.h | 2 +- src/emu/devintrf.c | 6 +- src/emu/devintrf.h | 42 +++--- src/emu/machine.h | 4 +- src/emu/machine/6522via.c | 4 +- src/emu/machine/8257dma.c | 4 +- src/emu/machine/intelfsh.c | 2 +- src/emu/machine/intelfsh.h | 28 ++-- src/emu/machine/mc146818.h | 16 +-- src/emu/machine/nvram.c | 4 +- src/emu/machine/nvram.h | 2 +- src/emu/mame.c | 2 +- src/emu/mconfig.c | 2 +- src/emu/mconfig.h | 2 +- src/emu/memory.c | 12 +- src/emu/sound/asc.c | 2 +- src/emu/sound/okim6295.c | 2 +- src/emu/sound/okim6295.h | 2 +- src/emu/video/mc6845.c | 2 +- src/mame/drivers/ampoker2.c | 12 +- src/mame/drivers/aristmk5.c | 4 +- src/mame/drivers/bbusters.c | 4 +- src/mame/drivers/cps3.c | 12 +- src/mame/drivers/dooyong.c | 16 +-- src/mame/drivers/esripsys.c | 2 +- src/mame/drivers/firebeat.c | 2 +- src/mame/drivers/galastrm.c | 2 +- src/mame/drivers/galpani2.c | 2 +- src/mame/drivers/goldngam.c | 28 ++-- src/mame/drivers/harddriv.c | 106 +++++++-------- src/mame/drivers/jubilee.c | 8 +- src/mame/drivers/ksys573.c | 2 +- src/mame/drivers/multfish.c | 34 ++--- src/mame/drivers/namcops2.c | 8 +- src/mame/drivers/namcos23.c | 2 +- src/mame/drivers/naomi.c | 12 +- src/mame/drivers/pipeline.c | 4 +- src/mame/drivers/segas16b.c | 6 +- src/mame/drivers/strnskil.c | 4 +- src/mame/drivers/tmaster.c | 2 +- src/mame/includes/beathead.h | 2 +- src/mame/machine/balsente.c | 2 +- src/mame/machine/pcshare.c | 2 +- src/mame/mamedriv.c | 62 ++++----- src/mame/video/midyunit.c | 2 +- src/mame/video/ssv.c | 278 ++++++++++++++++++++-------------------- src/osd/sdl/sdl.mak | 4 +- src/osd/windows/winmain.c | 6 +- src/tools/chdcd.c | 10 +- src/tools/chdman.c | 2 +- src/version.c | 2 +- 59 files changed, 468 insertions(+), 468 deletions(-) diff --git a/src/build/makedep.c b/src/build/makedep.c index f6bfdc0c3fb..7f0e41b34c8 100644 --- a/src/build/makedep.c +++ b/src/build/makedep.c @@ -200,7 +200,7 @@ int main(int argc, char *argv[]) /* make sure we got 1 parameter */ if (srcdir == NULL) goto usage; - + /* create a tagmap for tracking files we've visited */ file_map = tagmap_alloc(); @@ -242,17 +242,17 @@ static void recurse_dependencies(file_entry *file, tagmap *map) int filelen = astring_len(file->name); exclude_path *exclude; dependency *dep; - + /* skip if we're in an exclude path */ for (exclude = excpaths; exclude != NULL; exclude = exclude->next) if (exclude->pathlen < filelen && strncmp(astring_c(file->name), astring_c(exclude->path), exclude->pathlen) == 0) if (exclude->recursive || astring_chr(file->name, exclude->pathlen + 1, '/') == -1) return; - + /* attempt to add; if we get an error, we're already present */ if (tagmap_add(map, astring_c(file->name), file->name, FALSE) != TMERR_NONE) return; - + /* recurse the list from there */ for (dep = file->deplist; dep != NULL; dep = dep->next) recurse_dependencies(dep->file, map); @@ -344,7 +344,7 @@ static int recurse_dir(int srcrootlen, const astring *srcdir) file_entry *file; astring *target; int taghash; - + /* find dependencies */ file = compute_dependencies(srcrootlen, srcfile); recurse_dependencies(file, depend_map); @@ -354,12 +354,12 @@ static int recurse_dir(int srcrootlen, const astring *srcdir) astring_replacec(target, 0, "src/", "$(OBJ)/"); astring_replacec(target, 0, ".c", ".o"); printf("\n%s : \\\n", astring_c(target)); - + /* iterate over the hashed dependencies and output them as well */ for (taghash = 0; taghash < TAGMAP_HASH_SIZE; taghash++) for (entry = depend_map->table[taghash]; entry != NULL; entry = entry->next) printf("\t%s \\\n", astring_c((astring *)entry->object)); - + astring_free(target); tagmap_free(depend_map); } @@ -400,7 +400,7 @@ static file_entry *compute_dependencies(int srcrootlen, const astring *srcfile) file_entry *file; char *filedata; int index; - + /* see if we already have an entry */ normalfile = astring_dup(srcfile); astring_replacechr(normalfile, PATH_SEPARATOR[0], '/'); @@ -429,23 +429,23 @@ static file_entry *compute_dependencies(int srcrootlen, const astring *srcfile) int scan = index; dependency *dep; int start; - + /* first make sure we're not commented or quoted */ for (scan = index; scan > 2 && filedata[scan] != 13 && filedata[scan] != 10; scan--) if ((filedata[scan] == '/' && filedata[scan - 1] == '/') || filedata[scan] == '"') break; if (filedata[scan] != 13 && filedata[scan] != 10) continue; - + /* scan forward to find the quotes or bracket */ index += 7; for (scan = index; scan < filelength && filedata[scan] != '<' && filedata[scan] != '"' && filedata[scan] != 13 && filedata[scan] != 10; scan++) ; - + /* ignore if not found or if it's bracketed */ if (scan >= filelength || filedata[scan] != '"') continue; start = ++scan; - + /* find the closing quote */ while (scan < filelength && filedata[scan] != '"') scan++; @@ -455,7 +455,7 @@ static file_entry *compute_dependencies(int srcrootlen, const astring *srcfile) /* find the include file */ filename = astring_dupch(&filedata[start], scan - start); target = find_include_file(srcrootlen, srcfile, filename); - + /* create a new dependency */ if (target != NULL) { diff --git a/src/emu/cpu/adsp2100/2100ops.c b/src/emu/cpu/adsp2100/2100ops.c index ffd666ca512..a9a613c2921 100644 --- a/src/emu/cpu/adsp2100/2100ops.c +++ b/src/emu/cpu/adsp2100/2100ops.c @@ -300,10 +300,10 @@ inline void adsp21xx_device::stat_stack_pop() /* inline int adsp21xx_device::condition(int c) { - if (c != 14) - return m_condition_table[((c) << 8) | m_astat]; - else - return slow_condition(c); + if (c != 14) + return m_condition_table[((c) << 8) | m_astat]; + else + return slow_condition(c); } */ @@ -367,22 +367,22 @@ void adsp21xx_device::write_reg1(int regnum, INT32 val) m_i[index] = val & 0x3fff; update_i(index); break; - + case 1: m_m[index] = (INT32)(val << 18) >> 18; break; - + case 2: - m_l[index] = val & 0x3fff; + m_l[index] = val & 0x3fff; update_l(index); break; - + case 3: logerror("ADSP %04x: Writing to an invalid register!\n", m_ppc); break; } } - + void adsp21xx_device::write_reg2(int regnum, INT32 val) { int index = 4 + (regnum & 3); @@ -392,16 +392,16 @@ void adsp21xx_device::write_reg2(int regnum, INT32 val) m_i[index] = val & 0x3fff; update_i(index); break; - + case 1: m_m[index] = (INT32)(val << 18) >> 18; break; - + case 2: - m_l[index] = val & 0x3fff; + m_l[index] = val & 0x3fff; update_l(index); break; - + case 3: logerror("ADSP %04x: Writing to an invalid register!\n", m_ppc); break; @@ -413,7 +413,7 @@ void adsp21xx_device::write_reg3(int regnum, INT32 val) switch (regnum) { case 0x00: m_astat = val & 0x00ff; break; - case 0x01: m_mstat = val & m_mstat_mask; update_mstat(); break; + case 0x01: m_mstat = val & m_mstat_mask; update_mstat(); break; case 0x03: m_imask = val & m_imask_mask; check_irqs(); break; case 0x04: m_icntl = val & 0x001f; check_irqs(); break; case 0x05: cntr_stack_push(); m_cntr = val & 0x3fff; break; @@ -464,7 +464,7 @@ void adsp21xx_device::write_reg3(int regnum, INT32 val) default: logerror("ADSP %04x: Writing to an invalid register!\n", m_ppc); break; } } - + #define WRITE_REG(adsp,grp,reg,val) ((this->*wr_reg[grp][reg])(val)) diff --git a/src/emu/cpu/adsp2100/adsp2100.c b/src/emu/cpu/adsp2100/adsp2100.c index 87875b6d2d1..a6e0dfbbf65 100644 --- a/src/emu/cpu/adsp2100/adsp2100.c +++ b/src/emu/cpu/adsp2100/adsp2100.c @@ -1,8 +1,8 @@ /*************************************************************************** - ADSP2100.c + ADSP2100.c - ADSP-21xx series emulator. + ADSP-21xx series emulator. **************************************************************************** @@ -190,12 +190,12 @@ device_config *adsp2100_device_config::static_alloc_device_config(const machine_ { return global_alloc(adsp2100_device_config(mconfig, tag, owner, clock)); } - + device_config *adsp2101_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) { return global_alloc(adsp2101_device_config(mconfig, static_alloc_device_config, "ADSP-2101", tag, owner, clock, CHIP_TYPE_ADSP2101)); } - + device_config *adsp2181_device_config::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) { return global_alloc(adsp2181_device_config(mconfig, tag, owner, clock)); @@ -285,23 +285,23 @@ UINT32 adsp2181_device_config::execute_input_lines() const const address_space_config *adsp2100_device_config::memory_space_config(int spacenum) const { - return (spacenum == AS_PROGRAM) ? &m_program_config : - (spacenum == AS_DATA) ? &m_data_config : + return (spacenum == AS_PROGRAM) ? &m_program_config : + (spacenum == AS_DATA) ? &m_data_config : NULL; } const address_space_config *adsp2101_device_config::memory_space_config(int spacenum) const { - return (spacenum == AS_PROGRAM) ? &m_program_config : - (spacenum == AS_DATA) ? &m_data_config : + return (spacenum == AS_PROGRAM) ? &m_program_config : + (spacenum == AS_DATA) ? &m_data_config : NULL; } const address_space_config *adsp2181_device_config::memory_space_config(int spacenum) const { - return (spacenum == AS_PROGRAM) ? &m_program_config : - (spacenum == AS_DATA) ? &m_data_config : - (spacenum == AS_IO) ? &m_io_config : + return (spacenum == AS_PROGRAM) ? &m_program_config : + (spacenum == AS_DATA) ? &m_data_config : + (spacenum == AS_IO) ? &m_io_config : NULL; } @@ -369,8 +369,8 @@ adsp21xx_device::adsp21xx_device(running_machine &_machine, const adsp21xx_devic m_ifc(0), m_icount(0), m_mstat_mask((config.m_chip_type >= adsp21xx_device_config::CHIP_TYPE_ADSP2101) ? 0x7f : 0x0f), - m_imask_mask((config.m_chip_type >= adsp21xx_device_config::CHIP_TYPE_ADSP2181) ? 0x3ff : - (config.m_chip_type >= adsp21xx_device_config::CHIP_TYPE_ADSP2101) ? 0x3f : 0x0f) + m_imask_mask((config.m_chip_type >= adsp21xx_device_config::CHIP_TYPE_ADSP2181) ? 0x3ff : + (config.m_chip_type >= adsp21xx_device_config::CHIP_TYPE_ADSP2101) ? 0x3f : 0x0f) { // initialize remaining state memset(&m_core, 0, sizeof(m_core)); @@ -774,7 +774,7 @@ void adsp21xx_device::device_start() state_add(ADSP2100_FL0, "FL0", m_fl0).mask(1); state_add(ADSP2100_FL1, "FL1", m_fl1).mask(1); state_add(ADSP2100_FL2, "FL2", m_fl2).mask(1); - + // set our instruction counter m_icountptr = &m_icount; } diff --git a/src/emu/cpu/adsp2100/adsp2100.h b/src/emu/cpu/adsp2100/adsp2100.h index 4490f92d129..360d866006c 100644 --- a/src/emu/cpu/adsp2100/adsp2100.h +++ b/src/emu/cpu/adsp2100/adsp2100.h @@ -2,7 +2,7 @@ adsp2100.h - ADSP-21xx series emulator. + ADSP-21xx series emulator. **************************************************************************** @@ -137,7 +137,7 @@ protected: // address spaces const address_space_config m_program_config; const address_space_config m_data_config; - + // internal state UINT32 m_chip_type; }; @@ -192,7 +192,7 @@ protected: inline void loop_stack_pop(); inline void stat_stack_push(); inline void stat_stack_pop(); -// inline int condition(int c); +// inline int condition(int c); int slow_condition(); inline void modify_address(UINT32 ireg, UINT32 mreg); inline void data_write_dag1(UINT32 op, INT32 val); @@ -233,11 +233,11 @@ protected: inline INT32 read_reg1(int regnum); inline INT32 read_reg2(int regnum); inline INT32 read_reg3(int regnum); - + // interrupts virtual bool generate_irq(int which, int indx = 0) = 0; virtual void check_irqs() = 0; - + // internal state static const int PC_STACK_DEPTH = 16; static const int CNTR_STACK_DEPTH = 4; @@ -381,13 +381,13 @@ protected: direct_read_data * m_direct; // tables - UINT8 m_condition_table[0x1000]; + UINT8 m_condition_table[0x1000]; UINT16 m_mask_table[0x4000]; UINT16 m_reverse_table[0x4000]; // debugging #if ADSP_TRACK_HOTSPOTS - UINT32 m_pcbucket[0x4000]; + UINT32 m_pcbucket[0x4000]; #endif // flag definitions @@ -430,7 +430,7 @@ protected: class adsp2100_device : public adsp21xx_device { friend class adsp2100_device_config; - + // construction/destruction adsp2100_device(running_machine &_machine, const adsp2100_device_config &config); @@ -472,7 +472,7 @@ class adsp2101_device : public adsp21xx_device friend class adsp2104_device_config; friend class adsp2105_device_config; friend class adsp2115_device_config; - + protected: // construction/destruction adsp2101_device(running_machine &_machine, const adsp2101_device_config &config); @@ -514,7 +514,7 @@ protected: class adsp2181_device : public adsp21xx_device { friend class adsp2181_device_config; - + // construction/destruction adsp2181_device(running_machine &_machine, const adsp2181_device_config &config); diff --git a/src/emu/cpu/asap/asap.c b/src/emu/cpu/asap/asap.c index d99a3f5ebd3..6c71480252d 100644 --- a/src/emu/cpu/asap/asap.c +++ b/src/emu/cpu/asap/asap.c @@ -61,7 +61,7 @@ const int EXCEPTION_TRAP0 = 1; const int EXCEPTION_TRAPF = 2; const int EXCEPTION_INTERRUPT = 3; -const int REGBASE = 0xffe0; +const int REGBASE = 0xffe0; @@ -146,9 +146,9 @@ const asap_device::ophandler asap_device::s_opcodetable[32][4] = const asap_device::ophandler asap_device::s_conditiontable[16] = { - &asap_device::bsp, &asap_device::bmz, &asap_device::bgt, &asap_device::ble, + &asap_device::bsp, &asap_device::bmz, &asap_device::bgt, &asap_device::ble, &asap_device::bge, &asap_device::blt, &asap_device::bhi, &asap_device::bls, - &asap_device::bcc, &asap_device::bcs, &asap_device::bpl, &asap_device::bmi, + &asap_device::bcc, &asap_device::bcs, &asap_device::bpl, &asap_device::bmi, &asap_device::bne, &asap_device::beq, &asap_device::bvc, &asap_device::bvs }; @@ -336,7 +336,7 @@ void asap_device::device_start() state_save_register_device_item(this, 0, m_ppc); state_save_register_device_item(this, 0, m_nextpc); state_save_register_device_item(this, 0, m_irq_state); - + // set our instruction counter m_icountptr = &m_icount; } diff --git a/src/emu/cpu/asap/asap.h b/src/emu/cpu/asap/asap.h index 56b818b7b56..f0ec5055844 100644 --- a/src/emu/cpu/asap/asap.h +++ b/src/emu/cpu/asap/asap.h @@ -258,10 +258,10 @@ protected: int m_icount; address_space * m_program; direct_read_data * m_direct; - + // src2val table, registers are at the end UINT32 m_src2val[65536]; - + // opcode/condition tables typedef void (asap_device::*ophandler)(); diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index 9cb9575470a..72abfa14ac6 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -354,7 +354,7 @@ bool debug_comment_save(running_machine *machine) if (curnode == NULL) throw emu_exception(); xml_set_attribute(curnode, "tag", device->tag()); - + // export the comments if (!device->debug()->comment_export(*curnode)) throw emu_exception(); @@ -1982,7 +1982,7 @@ void device_debug::instruction_hook(offs_t curpc) if (global->execution_state == EXECUTION_STATE_STOPPED) { int firststop = true; - + // load comments if we haven't yet if (!global->comments_loaded) { @@ -2561,7 +2561,7 @@ offs_t device_debug::history_pc(int index) const //------------------------------------------------- -// comment_add - adds a comment to the list at +// comment_add - adds a comment to the list at // the given address //------------------------------------------------- @@ -2570,7 +2570,7 @@ void device_debug::comment_add(offs_t addr, const char *comment, rgb_t color) // create a new item for the list UINT32 crc = compute_opcode_crc32(addr); dasm_comment *newcomment = auto_alloc(m_device.machine, dasm_comment(comment, addr, color, crc)); - + // figure out where to insert it dasm_comment *prev = NULL; dasm_comment *curr; @@ -2581,14 +2581,14 @@ void device_debug::comment_add(offs_t addr, const char *comment, rgb_t color) // we could be the new head if (prev == NULL) m_comment_list.prepend(*newcomment); - - // or else we just insert ourselves here + + // or else we just insert ourselves here else { newcomment->m_next = prev->m_next; prev->m_next = newcomment; } - + // scan forward from here to delete any exact matches for ( ; curr != NULL && curr->m_address == addr; curr = curr->next()) if (curr->m_crc == crc) @@ -2603,7 +2603,7 @@ void device_debug::comment_add(offs_t addr, const char *comment, rgb_t color) //------------------------------------------------- -// comment_remove - removes a comment at the +// comment_remove - removes a comment at the // given address with a matching CRC //------------------------------------------------- @@ -2616,7 +2616,7 @@ bool device_debug::comment_remove(offs_t addr) // if we're past the address, we failed if (curr->m_address > addr) break; - + // find an exact match if (curr->m_address == addr && curr->m_crc == crc) { @@ -2626,7 +2626,7 @@ bool device_debug::comment_remove(offs_t addr) return true; } } - + // failure is an option return false; } @@ -2645,12 +2645,12 @@ const char *device_debug::comment_text(offs_t addr) const // if we're past the address, we failed if (curr->m_address > addr) break; - + // find an exact match if (curr->m_address == addr && curr->m_crc == crc) return curr->m_text; } - + // failure is an option return NULL; } @@ -2694,7 +2694,7 @@ bool device_debug::comment_import(xml_data_node &cpunode) rgb_t color = xml_get_attribute_int(datanode, "color", 0); UINT32 crc; sscanf(xml_get_attribute_string(datanode, "crc", 0), "%08X", &crc); - + // add the new comment; we assume they were saved ordered m_comment_list.append(*auto_alloc(m_device.machine, dasm_comment(datanode->value, address, color, crc))); } @@ -2742,7 +2742,7 @@ UINT32 device_debug::compute_opcode_crc32(offs_t address) const address_space *space = m_memory->space(AS_PROGRAM); if (space == NULL) return 0; - + // zero out the buffers UINT8 opbuf[64], argbuf[64]; memset(opbuf, 0x00, sizeof(opbuf)); diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h index c536c7a5e4d..584e70d9147 100644 --- a/src/emu/debug/debugcpu.h +++ b/src/emu/debug/debugcpu.h @@ -53,7 +53,7 @@ const UINT8 WATCHPOINT_READ = 1; const UINT8 WATCHPOINT_WRITE = 2; const UINT8 WATCHPOINT_READWRITE = WATCHPOINT_READ | WATCHPOINT_WRITE; -const int COMMENT_VERSION = 1; +const int COMMENT_VERSION = 1; @@ -205,7 +205,7 @@ public: // hotspots bool hotspot_tracking_enabled() const { return (m_hotspots != NULL); } void hotspot_track(int numspots, int threshhold); - + // comments void comment_add(offs_t address, const char *comment, rgb_t color); bool comment_remove(offs_t addr); @@ -329,9 +329,9 @@ private: { public: dasm_comment(const char *text, offs_t address, rgb_t color, UINT32 crc); - + dasm_comment *next() const { return m_next; } - + dasm_comment * m_next; // next comment in the list offs_t m_address; // address in question rgb_t m_color; // color to use diff --git a/src/emu/devcb.h b/src/emu/devcb.h index ad20fc30310..a0c6834e3b8 100644 --- a/src/emu/devcb.h +++ b/src/emu/devcb.h @@ -126,7 +126,7 @@ void devcb_stub(device_t *device, offs_t offset, UINT8 data) #define DECLARE_READ_LINE_MEMBER(name) int name() #define READ_LINE_MEMBER(name) int name() #define DECLARE_WRITE_LINE_MEMBER(name) void name(ATTR_UNUSED int state) -#define WRITE_LINE_MEMBER(name) void name(ATTR_UNUSED int state) +#define WRITE_LINE_MEMBER(name) void name(ATTR_UNUSED int state) /* macros for inline device handler initialization */ diff --git a/src/emu/devintrf.c b/src/emu/devintrf.c index a418deeecda..467ecddc6e5 100644 --- a/src/emu/devintrf.c +++ b/src/emu/devintrf.c @@ -148,7 +148,7 @@ void device_list::start_all() mame_printf_verbose("Starting %s '%s'\n", device->name(), device->tag()); device->start(); } - + // handle missing dependencies by moving the device to the end catch (device_missing_dependencies &) { @@ -190,7 +190,7 @@ void device_list::static_exit(running_machine &machine) // first let the debugger save comments if ((machine.debug_flags & DEBUG_FLAG_ENABLED) != 0) debug_comment_save(&machine); - + // then nuke the devices machine.m_devicelist.reset(); } @@ -724,7 +724,7 @@ void device_t::start() // force an update of the clock notify_clock_changed(); - + // if we're debugging, create a device_debug object if ((m_machine.debug_flags & DEBUG_FLAG_ENABLED) != 0) { diff --git a/src/emu/devintrf.h b/src/emu/devintrf.h index a3c59940953..7a080f3820d 100644 --- a/src/emu/devintrf.h +++ b/src/emu/devintrf.h @@ -66,8 +66,8 @@ typedef _DeviceBase _DeviceClass; \ class _ConfigClass; \ \ class _ConfigClass : public _ConfigBase \ -{ \ -protected: \ +{ \ +protected: \ _ConfigClass(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock, UINT32 param = 0); \ \ public: \ @@ -80,17 +80,17 @@ public: \ _ConfigClass::_ConfigClass(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock, UINT32 param) \ : _ConfigBase(mconfig, static_alloc_device_config, _Name, tag, owner, clock, param) \ { \ -} \ +} \ \ device_config *_ConfigClass::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) \ -{ \ - return global_alloc(_ConfigClass(mconfig, tag, owner, clock, _Param)); \ -} \ +{ \ + return global_alloc(_ConfigClass(mconfig, tag, owner, clock, _Param)); \ +} \ \ -device_t *_ConfigClass::alloc_device(running_machine &machine) const \ -{ \ - return auto_alloc(&machine, _DeviceClass(machine, *this)); \ -} \ +device_t *_ConfigClass::alloc_device(running_machine &machine) const \ +{ \ + return auto_alloc(&machine, _DeviceClass(machine, *this)); \ +} \ @@ -501,12 +501,12 @@ protected: // getters virtual void findit(device_t &base) = 0; - + // helpers device_t *find_device(device_t &device, const char *tag); void *find_shared_ptr(device_t &device, const char *tag); size_t find_shared_size(device_t &device, const char *tag); - + // internal state auto_finder_base *m_next; const char *m_tag; @@ -518,8 +518,8 @@ protected: { public: // construction/destruction - auto_finder_type(device_t &base, const char *tag) - : auto_finder_base(base, tag), + auto_finder_type(device_t &base, const char *tag) + : auto_finder_base(base, tag), m_target(0) { } // operators to make use transparent @@ -538,7 +538,7 @@ protected: // internal state _TargetType m_target; }; - + // optional device finder template class optional_device : public auto_finder_type<_DeviceClass *, false> @@ -547,7 +547,7 @@ protected: optional_device(device_t &base, const char *tag) : auto_finder_type<_DeviceClass *, false>(base, tag) { } virtual void findit(device_t &base) { set_target(downcast<_DeviceClass *>(find_device(base, this->m_tag))); } }; - + // required devices are similar but throw an error if they are not found template class required_device : public auto_finder_type<_DeviceClass *, true> @@ -556,7 +556,7 @@ protected: required_device(device_t &base, const char *tag) : auto_finder_type<_DeviceClass *, true>(base, tag) { } virtual void findit(device_t &base) { set_target(downcast<_DeviceClass *>(find_device(base, this->m_tag))); } }; - + // optional shared pointer finder template class optional_shared_ptr : public auto_finder_type<_PointerType *, false> @@ -565,7 +565,7 @@ protected: optional_shared_ptr(device_t &base, const char *tag) : auto_finder_type<_PointerType *, false>(base, tag) { } virtual void findit(device_t &base) { set_target(reinterpret_cast<_PointerType *>(find_shared_ptr(base, this->m_tag))); } }; - + // required shared pointer finder template class required_shared_ptr : public auto_finder_type<_PointerType *, true> @@ -574,7 +574,7 @@ protected: required_shared_ptr(device_t &base, const char *tag) : auto_finder_type<_PointerType *, true>(base, tag) { } virtual void findit(device_t &base) { set_target(reinterpret_cast<_PointerType *>(find_shared_ptr(base, this->m_tag))); } }; - + // optional shared pointer size finder class optional_shared_size : public auto_finder_type { @@ -582,7 +582,7 @@ protected: optional_shared_size(device_t &base, const char *tag) : auto_finder_type(base, tag) { } virtual void findit(device_t &base) { set_target(find_shared_size(base, this->m_tag)); } }; - + // required shared pointer size finder class required_shared_size : public auto_finder_type { @@ -590,7 +590,7 @@ protected: required_shared_size(device_t &base, const char *tag) : auto_finder_type(base, tag) { } virtual void findit(device_t &base) { set_target(find_shared_size(base, this->m_tag)); } }; - + // internal helpers void register_auto_finder(auto_finder_base &autodev); diff --git a/src/emu/machine.h b/src/emu/machine.h index 82f5267aad4..3c298a21ebd 100644 --- a/src/emu/machine.h +++ b/src/emu/machine.h @@ -586,7 +586,7 @@ public: { return global_alloc(driver_device_config(mconfig, tag, owner)); } - + virtual device_t *alloc_device(running_machine &machine) const { // we clear here for historical reasons, as many existing driver states @@ -627,7 +627,7 @@ protected: // device-level overrides virtual void device_start(); virtual void device_reset(); - + // internal state const driver_device_config_base &m_config; }; diff --git a/src/emu/machine/6522via.c b/src/emu/machine/6522via.c index 70de6dc87b5..cdcefc1d6bc 100644 --- a/src/emu/machine/6522via.c +++ b/src/emu/machine/6522via.c @@ -423,7 +423,7 @@ void via6522_device::device_timer(emu_timer &timer, device_timer_id id, int para case TIMER_SHIFT: shift(); break; - + // t1 timeout case TIMER_T1: if (T1_CONTINUOUS (m_acr)) @@ -454,7 +454,7 @@ void via6522_device::device_timer(emu_timer &timer, device_timer_id id, int para set_int(INT_T1); } break; - + // t2 timeout case TIMER_T2: m_t2_active = 0; diff --git a/src/emu/machine/8257dma.c b/src/emu/machine/8257dma.c index 810b3ff1b98..962c660949b 100644 --- a/src/emu/machine/8257dma.c +++ b/src/emu/machine/8257dma.c @@ -289,11 +289,11 @@ void i8257_device::device_timer(emu_timer &timer, device_timer_id id, int param, } break; } - + case TIMER_MSBFLIP: m_msb ^= 1; break; - + case TIMER_DRQ_SYNC: { int channel = param >> 1; diff --git a/src/emu/machine/intelfsh.c b/src/emu/machine/intelfsh.c index a7f8e32a500..28761177329 100644 --- a/src/emu/machine/intelfsh.c +++ b/src/emu/machine/intelfsh.c @@ -200,7 +200,7 @@ intelfsh_device_config::intelfsh_device_config(const machine_config &mconfig, de map = ADDRESS_MAP_NAME( memory_map8_1Mb ); break; } - + int addrbits; for (addrbits = 24; addrbits > 0; addrbits--) if ((m_size & (1 << addrbits)) != 0) diff --git a/src/emu/machine/intelfsh.h b/src/emu/machine/intelfsh.h index 923646c8560..863b0444c91 100644 --- a/src/emu/machine/intelfsh.h +++ b/src/emu/machine/intelfsh.h @@ -88,12 +88,12 @@ protected: // internal state address_space_config m_space_config; - UINT32 m_type; - INT32 m_size; - UINT8 m_bits; - UINT8 m_device_id; - UINT8 m_maker_id; - bool m_sector_is_4k; + UINT32 m_type; + INT32 m_size; + UINT8 m_bits; + UINT8 m_device_id; + UINT8 m_maker_id; + bool m_sector_is_4k; }; @@ -118,7 +118,7 @@ protected: virtual void nvram_default(); virtual void nvram_read(mame_file &file); virtual void nvram_write(mame_file &file); - + // derived helpers UINT32 read_full(UINT32 offset); void write_full(UINT32 offset, UINT32 data); @@ -126,10 +126,10 @@ protected: // internal state const intelfsh_device_config & m_config; - UINT8 m_status; - INT32 m_erase_sector; - INT32 m_flash_mode; - bool m_flash_master_lock; + UINT8 m_status; + INT32 m_erase_sector; + INT32 m_flash_mode; + bool m_flash_master_lock; emu_timer * m_timer; }; @@ -167,7 +167,7 @@ public: // public interface UINT8 read(offs_t offset) { return read_full(offset); } void write(offs_t offset, UINT8 data) { write_full(offset, data); } - + UINT8 read_raw(offs_t offset) { return m_addrspace[0]->read_byte(offset); } void write_raw(offs_t offset, UINT8 data) { m_addrspace[0]->write_byte(offset, data); } }; @@ -203,7 +203,7 @@ public: // public interface UINT16 read(offs_t offset) { return read_full(offset); } void write(offs_t offset, UINT16 data) { write_full(offset, data); } - + UINT16 read_raw(offs_t offset) { return m_addrspace[0]->read_word(offset * 2); } void write_raw(offs_t offset, UINT16 data) { m_addrspace[0]->write_word(offset * 2, data); } }; @@ -226,7 +226,7 @@ DECLARE_TRIVIAL_DERIVED_DEVICE(sharp_lh28f400_device_config, intelfsh16_device_c DECLARE_TRIVIAL_DERIVED_DEVICE(intel_te28f160_device_config, intelfsh16_device_config, intel_te28f160_device, intelfsh16_device) DECLARE_TRIVIAL_DERIVED_DEVICE(intel_e28f400_device_config, intelfsh16_device_config, intel_e28f400_device, intelfsh16_device) DECLARE_TRIVIAL_DERIVED_DEVICE(sharp_unk128mbit_device_config, intelfsh16_device_config, sharp_unk128mbit_device, intelfsh16_device) - + // device type definition diff --git a/src/emu/machine/mc146818.h b/src/emu/machine/mc146818.h index ec512175170..b9a59872b86 100644 --- a/src/emu/machine/mc146818.h +++ b/src/emu/machine/mc146818.h @@ -60,7 +60,7 @@ public: protected: // internal state - mc146818_type m_type; + mc146818_type m_type; }; @@ -92,21 +92,21 @@ protected: // internal helpers int dec_2_local(int a); void set_base_datetime(); - + // internal state static const int MC146818_DATA_SIZE = 0x80; const mc146818_device_config & m_config; - UINT8 m_index; - UINT8 m_data[MC146818_DATA_SIZE]; + UINT8 m_index; + UINT8 m_data[MC146818_DATA_SIZE]; - UINT16 m_eindex; - UINT8 m_edata[0x2000]; + UINT16 m_eindex; + UINT8 m_edata[0x2000]; - bool m_updated; /* update ended interrupt flag */ + bool m_updated; /* update ended interrupt flag */ - attotime m_last_refresh; + attotime m_last_refresh; }; diff --git a/src/emu/machine/nvram.c b/src/emu/machine/nvram.c index 4ddacf04bc1..8f4472b0074 100644 --- a/src/emu/machine/nvram.c +++ b/src/emu/machine/nvram.c @@ -100,7 +100,7 @@ void nvram_device_config::static_set_default_value(device_config *device, defaul //------------------------------------------------- -// static_set_custom_handler - configuration +// static_set_custom_handler - configuration // helper to set a custom callback //------------------------------------------------- @@ -182,7 +182,7 @@ void nvram_device::nvram_default() nvram[index] = mame_rand(&m_machine); break; } - + // custom handler case nvram_device_config::DEFAULT_CUSTOM: m_custom_handler(*this, m_base, m_length); diff --git a/src/emu/machine/nvram.h b/src/emu/machine/nvram.h index 42952c5a62b..71783f0d39f 100644 --- a/src/emu/machine/nvram.h +++ b/src/emu/machine/nvram.h @@ -152,7 +152,7 @@ protected: virtual void nvram_default(); virtual void nvram_read(mame_file &file); virtual void nvram_write(mame_file &file); - + // internal helpers void determine_final_base(); diff --git a/src/emu/mame.c b/src/emu/mame.c index 3ece8d55ec3..166ed0705c7 100644 --- a/src/emu/mame.c +++ b/src/emu/mame.c @@ -239,7 +239,7 @@ core_options *mame_options(void) /*------------------------------------------------- set_mame_options - set mame options, used by - validate option + validate option -------------------------------------------------*/ void set_mame_options(core_options *options) diff --git a/src/emu/mconfig.c b/src/emu/mconfig.c index ad9537ca4ed..ccf153ac680 100644 --- a/src/emu/mconfig.c +++ b/src/emu/mconfig.c @@ -65,7 +65,7 @@ machine_config::machine_config(const game_driver &gamedrv) { // construct the config (*gamedrv.machine_config)(*this, NULL); - + // when finished, set the game driver device_config *config = m_devicelist.find("root"); if (config == NULL) diff --git a/src/emu/mconfig.h b/src/emu/mconfig.h index 27e2c9ef2bb..3646b2c4995 100644 --- a/src/emu/mconfig.h +++ b/src/emu/mconfig.h @@ -126,7 +126,7 @@ class machine_config public: machine_config(const game_driver &gamedrv); ~machine_config(); - + const game_driver &gamedrv() const { return m_gamedrv; } attotime m_minimum_quantum; // minimum scheduling quantum diff --git a/src/emu/memory.c b/src/emu/memory.c index f08effd2173..671b6d11a72 100644 --- a/src/emu/memory.c +++ b/src/emu/memory.c @@ -399,14 +399,14 @@ public: memory_share(size_t size, void *ptr = NULL) : m_ptr(ptr), m_size(size) { } - + // getters void *ptr() const { return m_ptr; } size_t size() const { return m_size; } - + // setters void set_ptr(void *ptr) { m_ptr = ptr; } - + private: // internal state void * m_ptr; // pointer to the memory backing the region @@ -1698,7 +1698,7 @@ void memory_set_bankptr(running_machine *machine, const char *tag, void *base) //------------------------------------------------- -// memory_get_shared - get a pointer to a shared +// memory_get_shared - get a pointer to a shared // memory region by tag //------------------------------------------------- @@ -3010,14 +3010,14 @@ bool address_space::needs_backing_store(const address_map_entry *entry) // if we are asked to provide a base pointer, then yes, we do need backing if (entry->m_baseptr != NULL || entry->m_baseptroffs_plus1 != 0 || entry->m_genbaseptroffs_plus1 != 0) return true; - + // if we are sharing, and we don't have a pointer yet, create one if (entry->m_share != NULL) { memory_share *share = m_machine.memory_data->sharemap.find(entry->m_share); if (share != NULL && share->ptr() == NULL) return true; - } + } // if we're writing to any sort of bank or RAM, then yes, we do need backing if (entry->m_write.m_type == AMH_BANK || entry->m_write.m_type == AMH_RAM) diff --git a/src/emu/sound/asc.c b/src/emu/sound/asc.c index 5c7855a7e3a..c688baa55b1 100644 --- a/src/emu/sound/asc.c +++ b/src/emu/sound/asc.c @@ -4,7 +4,7 @@ Apple Sound Chip (ASC) 344S0063 Enhanced Apple Sound Chip (EASC) 343S1063 - + Emulation by R. Belmont ***************************************************************************/ diff --git a/src/emu/sound/okim6295.c b/src/emu/sound/okim6295.c index a71cf97582a..7b44a610dbd 100644 --- a/src/emu/sound/okim6295.c +++ b/src/emu/sound/okim6295.c @@ -303,7 +303,7 @@ UINT8 okim6295_device::read_status() return result; } - + //------------------------------------------------- // read - memory interface for read //------------------------------------------------- diff --git a/src/emu/sound/okim6295.h b/src/emu/sound/okim6295.h index 4e2300f3c96..8cdb8637271 100644 --- a/src/emu/sound/okim6295.h +++ b/src/emu/sound/okim6295.h @@ -122,7 +122,7 @@ public: UINT8 read_status(); void write_command(UINT8 command); - + DECLARE_READ8_MEMBER( read ); DECLARE_WRITE8_MEMBER( write ); diff --git a/src/emu/video/mc6845.c b/src/emu/video/mc6845.c index 165badca61d..3b38f5ddb43 100644 --- a/src/emu/video/mc6845.c +++ b/src/emu/video/mc6845.c @@ -694,7 +694,7 @@ UINT16 mc6845_get_ma(running_device *device) mc6845_t *mc6845 = get_safe_token(device); mc6845_update_counters( mc6845 ); - + return ( mc6845->line_address + mc6845->character_counter ) & 0x3fff; } diff --git a/src/mame/drivers/ampoker2.c b/src/mame/drivers/ampoker2.c index 7ed2b034e33..afc67d650cf 100644 --- a/src/mame/drivers/ampoker2.c +++ b/src/mame/drivers/ampoker2.c @@ -564,11 +564,11 @@ static WRITE8_HANDLER( ampoker2_watchdog_reset_w ) if (((data >> 3) & 0x01) == 0) /* check for refresh value (0x08) */ { watchdog_reset(space->machine); -// popmessage("%02x", data); +// popmessage("%02x", data); } else { -// popmessage("%02x", data); +// popmessage("%02x", data); } } @@ -1263,7 +1263,7 @@ ROM_END /* -Piccolo Poker (Admiral, licenced by Novomatic). +Piccolo Poker (Admiral, licenced by Novomatic). Seems a interesting American Poker II variant. Roms have swapped halves. @@ -1333,10 +1333,10 @@ static DRIVER_INIT( piccolop ) */ -// UINT8 *rom = memory_region(machine, "maincpu"); +// UINT8 *rom = memory_region(machine, "maincpu"); -// rom[0x138f] = 0x00; -// rom[0x1390] = 0x00; +// rom[0x138f] = 0x00; +// rom[0x1390] = 0x00; } diff --git a/src/mame/drivers/aristmk5.c b/src/mame/drivers/aristmk5.c index 674b744aee4..793e3c40973 100644 --- a/src/mame/drivers/aristmk5.c +++ b/src/mame/drivers/aristmk5.c @@ -182,7 +182,7 @@ static ADDRESS_MAP_START( aristmk5_map, ADDRESS_SPACE_PROGRAM, 32 ) /* MK-5 overrides */ AM_RANGE(0x03010420, 0x03010423) AM_WRITE(sram_banksel_w) // SRAM bank select write -// AM_RANGE(0x0301049c, 0x0301051f) AM_DEVREADWRITE("eeprom", eeprom_r, eeprom_w) // eeprom ??? +// AM_RANGE(0x0301049c, 0x0301051f) AM_DEVREADWRITE("eeprom", eeprom_r, eeprom_w) // eeprom ??? AM_RANGE(0x03010810, 0x03010813) AM_READNOP //MK-5 specific, watchdog // System Startup Code Enabled protection appears to be located at 0x3010400 - 0x30104ff @@ -280,7 +280,7 @@ static MACHINE_CONFIG_START( aristmk5, driver_device ) MDRV_MACHINE_START( aristmk5 ) MDRV_MACHINE_RESET( aristmk5 ) -// MDRV_I2CMEM_ADD("i2cmem",i2cmem_interface) +// MDRV_I2CMEM_ADD("i2cmem",i2cmem_interface) MDRV_SCREEN_ADD("screen", RASTER) MDRV_SCREEN_REFRESH_RATE(60) diff --git a/src/mame/drivers/bbusters.c b/src/mame/drivers/bbusters.c index bf418dcfb4e..61793f557d5 100644 --- a/src/mame/drivers/bbusters.c +++ b/src/mame/drivers/bbusters.c @@ -799,7 +799,7 @@ ROM_START( bbusters ) ROM_REGION( 0x80000, "ymsnd.deltat", 0 ) ROM_LOAD( "bb-pcmb.l3", 0x000000, 0x80000, CRC(c8d5dd53) SHA1(0f7e94532cc14852ca12c1b792e5479667af899e) ) - + ROM_REGION( 0x100, "eeprom", 0 ) ROM_LOAD( "bbusters-eeprom.bin", 0x00, 0x100, CRC(a52ebd66) SHA1(de04db6f1510700c61bf152799452a80220ae87c) ) ROM_END @@ -847,7 +847,7 @@ ROM_START( bbustersu ) ROM_REGION( 0x80000, "ymsnd.deltat", 0 ) ROM_LOAD( "bb-pcma.l5", 0x000000, 0x80000, CRC(44cd5bfe) SHA1(26a612191a0aa614c090203485aba17c99c763ee) ) - + ROM_REGION( 0x100, "eeprom", 0 ) ROM_LOAD( "bbusters-eeprom.bin", 0x00, 0x100, CRC(a52ebd66) SHA1(de04db6f1510700c61bf152799452a80220ae87c) ) ROM_END diff --git a/src/mame/drivers/cps3.c b/src/mame/drivers/cps3.c index 29a299b2db7..3c57bfb2fa4 100644 --- a/src/mame/drivers/cps3.c +++ b/src/mame/drivers/cps3.c @@ -1452,7 +1452,7 @@ static WRITE32_HANDLER( cps3_gfxflash_w ) static UINT32 cps3_flashmain_r(int which, UINT32 offset, UINT32 mem_mask) { UINT32 result = 0; - + if (simm[which][0] == NULL || simm[which][1] == NULL || simm[which][2] == NULL || simm[which][3] == NULL) return 0xffffffff; @@ -2452,7 +2452,7 @@ static MACHINE_CONFIG_FRAGMENT( simm1_64mbit ) MDRV_FUJITSU_29F016A_ADD("simm1.2") MDRV_FUJITSU_29F016A_ADD("simm1.3") MACHINE_CONFIG_END - + static MACHINE_CONFIG_FRAGMENT( simm2_64mbit ) MDRV_FUJITSU_29F016A_ADD("simm2.0") MDRV_FUJITSU_29F016A_ADD("simm2.1") @@ -2470,7 +2470,7 @@ static MACHINE_CONFIG_FRAGMENT( simm3_128mbit ) MDRV_FUJITSU_29F016A_ADD("simm3.6") MDRV_FUJITSU_29F016A_ADD("simm3.7") MACHINE_CONFIG_END - + static MACHINE_CONFIG_FRAGMENT( simm4_128mbit ) MDRV_FUJITSU_29F016A_ADD("simm4.0") MDRV_FUJITSU_29F016A_ADD("simm4.1") @@ -2481,7 +2481,7 @@ static MACHINE_CONFIG_FRAGMENT( simm4_128mbit ) MDRV_FUJITSU_29F016A_ADD("simm4.6") MDRV_FUJITSU_29F016A_ADD("simm4.7") MACHINE_CONFIG_END - + static MACHINE_CONFIG_FRAGMENT( simm5_128mbit ) MDRV_FUJITSU_29F016A_ADD("simm5.0") MDRV_FUJITSU_29F016A_ADD("simm5.1") @@ -2492,12 +2492,12 @@ static MACHINE_CONFIG_FRAGMENT( simm5_128mbit ) MDRV_FUJITSU_29F016A_ADD("simm5.6") MDRV_FUJITSU_29F016A_ADD("simm5.7") MACHINE_CONFIG_END - + static MACHINE_CONFIG_FRAGMENT( simm5_32mbit ) MDRV_FUJITSU_29F016A_ADD("simm5.0") MDRV_FUJITSU_29F016A_ADD("simm5.1") MACHINE_CONFIG_END - + static MACHINE_CONFIG_FRAGMENT( simm6_128mbit ) MDRV_FUJITSU_29F016A_ADD("simm6.0") MDRV_FUJITSU_29F016A_ADD("simm6.1") diff --git a/src/mame/drivers/dooyong.c b/src/mame/drivers/dooyong.c index 19c7dc31637..a6f981b6bb4 100644 --- a/src/mame/drivers/dooyong.c +++ b/src/mame/drivers/dooyong.c @@ -442,14 +442,14 @@ static INPUT_PORTS_START( dooyongm68_generic ) PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* - PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 ) - PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_START1 ) - PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_COIN2 ) - PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_START2 ) - PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_SERVICE1 ) - PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 ) + PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_START1 ) + PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_COIN2 ) + PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_START2 ) + PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_SERVICE1 ) + PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) */ INPUT_PORTS_END diff --git a/src/mame/drivers/esripsys.c b/src/mame/drivers/esripsys.c index d9d75b8db79..99b37f79bd9 100644 --- a/src/mame/drivers/esripsys.c +++ b/src/mame/drivers/esripsys.c @@ -680,7 +680,7 @@ static DRIVER_INIT( esripsys ) fdt_a = auto_alloc_array(machine, UINT8, FDT_RAM_SIZE); fdt_b = auto_alloc_array(machine, UINT8, FDT_RAM_SIZE); cmos_ram = auto_alloc_array(machine, UINT8, CMOS_RAM_SIZE); - + machine->device("nvram")->set_base(cmos_ram, CMOS_RAM_SIZE); memory_set_bankptr(machine, "bank2", &rom[0x0000]); diff --git a/src/mame/drivers/firebeat.c b/src/mame/drivers/firebeat.c index ecf2889bc4b..a9309c340a6 100644 --- a/src/mame/drivers/firebeat.c +++ b/src/mame/drivers/firebeat.c @@ -1689,7 +1689,7 @@ static MACHINE_START( firebeat ) /* configure fast RAM regions for DRC */ ppcdrc_add_fastram(machine->device("maincpu"), 0x00000000, 0x01ffffff, FALSE, work_ram); - + flash[0] = machine->device("flash0"); flash[1] = machine->device("flash1"); flash[2] = machine->device("flash2"); diff --git a/src/mame/drivers/galastrm.c b/src/mame/drivers/galastrm.c index 03696abab42..ca6a2c3ac8c 100644 --- a/src/mame/drivers/galastrm.c +++ b/src/mame/drivers/galastrm.c @@ -197,7 +197,7 @@ ADDRESS_MAP_END static INPUT_PORTS_START( galastrm ) PORT_START("IN0") -// PORT_BIT( 0x00000001, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(1) /* Freeze input */ +// PORT_BIT( 0x00000001, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(1) /* Freeze input */ PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x00000004, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x00000008, IP_ACTIVE_LOW, IPT_UNKNOWN ) diff --git a/src/mame/drivers/galpani2.c b/src/mame/drivers/galpani2.c index 0972f132265..e3da553746a 100644 --- a/src/mame/drivers/galpani2.c +++ b/src/mame/drivers/galpani2.c @@ -473,7 +473,7 @@ static INPUT_PORTS_START( galpani2 ) PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) -// PORT_SERVICE_NO_TOGGLE( 0x2000, IP_ACTIVE_LOW ) +// PORT_SERVICE_NO_TOGGLE( 0x2000, IP_ACTIVE_LOW ) PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_TILT ) PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_SERVICE1 ) diff --git a/src/mame/drivers/goldngam.c b/src/mame/drivers/goldngam.c index 1dda20c7db3..3d6ba1def6c 100644 --- a/src/mame/drivers/goldngam.c +++ b/src/mame/drivers/goldngam.c @@ -23,7 +23,7 @@ CPU: 1x MC68000P8. [IC2] SND: 1x Microchip AY38910A. [IC18] - 1x LM380N (audio amp). + 1x LM380N (audio amp). RAM: 2x HM62256LP-10 [IC4, IC5] @@ -95,7 +95,7 @@ SG51 = SG51K 0382 80000 MHz - + Swiss Card Graphics Board... Stickered "960210" @@ -179,7 +179,7 @@ CPU: 1x MC68000P8. SND: 1x YM2149F. - 1x LM380N (audio amp). + 1x LM380N (audio amp). RAM: 2x 84256A-10 @@ -245,17 +245,17 @@ static UINT16 *videoram; static VIDEO_START( goldngam ) { - + } static VIDEO_UPDATE( goldngam ) { - + int x, y; - + UINT8 *tmp = (UINT8 *) videoram; int index = 0; - + for(y = 0; y < 512; ++y) { for(x = 0; x < 384; ++x) @@ -264,7 +264,7 @@ static VIDEO_UPDATE( goldngam ) ++index; } } - + return 0; } @@ -283,7 +283,7 @@ static PALETTE_INIT( goldngam ) static READ16_HANDLER(unk_r) { int test1 = (mame_rand(space->machine) & 0xae00); -// popmessage("VAL = %02x", test1); +// popmessage("VAL = %02x", test1); return test1; } @@ -443,7 +443,7 @@ static INPUT_PORTS_START( goldngam ) PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) ) PORT_DIPSETTING( 0x8000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - + PORT_START("DSW2") PORT_DIPNAME( 0x0001, 0x0001, "switch 2" ) PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) @@ -502,7 +502,7 @@ INPUT_PORTS_END *************************/ /* Used 1bpp gfx just to see the tiles. - See tiles 1d30 onward... + See tiles 1d30 onward... */ static const gfx_layout charlayout = @@ -535,11 +535,11 @@ static const ay8910_interface goldngam_ay8910_interface = { AY8910_LEGACY_OUTPUT, AY8910_DEFAULT_LOADS, - DEVCB_NULL, //r + DEVCB_NULL, //r DEVCB_NULL, //r DEVCB_NULL, DEVCB_NULL -}; +}; static MACHINE_CONFIG_START( swisspkr, driver_device ) @@ -563,7 +563,7 @@ static MACHINE_CONFIG_START( swisspkr, driver_device ) MDRV_VIDEO_START(goldngam) MDRV_VIDEO_UPDATE(goldngam) - + /* sound hardware */ MDRV_SPEAKER_STANDARD_MONO("mono") diff --git a/src/mame/drivers/harddriv.c b/src/mame/drivers/harddriv.c index 776e4efd4af..30e1e6aa5af 100644 --- a/src/mame/drivers/harddriv.c +++ b/src/mame/drivers/harddriv.c @@ -1425,7 +1425,7 @@ ROM_START( harddriv ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1457,7 +1457,7 @@ ROM_START( harddrivg ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1491,7 +1491,7 @@ ROM_START( harddrivj ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1523,7 +1523,7 @@ ROM_START( harddrivb ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1555,7 +1555,7 @@ ROM_START( harddrivb6 ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1589,7 +1589,7 @@ ROM_START( harddrivj6 ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1621,7 +1621,7 @@ ROM_START( harddrivb5 ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1653,7 +1653,7 @@ ROM_START( harddrivg4 ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1685,7 +1685,7 @@ ROM_START( harddriv3 ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1717,7 +1717,7 @@ ROM_START( harddriv2 ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1749,7 +1749,7 @@ ROM_START( harddriv1 ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-1125.45a", 0x020000, 0x010000, CRC(ebf391af) SHA1(3c4097db8d625b994b39d46fe652585a74378ca0) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddriv-eeprom.bin", 0x0000, 0x1000, CRC(692ef86c) SHA1(e79dab6969d0e835e8ae8eaf2f08d5d81d391ef7) ) ROM_END @@ -1781,7 +1781,7 @@ ROM_START( harddrivc ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddrivc-eeprom.bin", 0x0000, 0x1000, CRC(c036ef04) SHA1(2f28a52facdff2269ff2f905f9818520a1d8e468) ) ROM_END @@ -1813,7 +1813,7 @@ ROM_START( harddrivcg ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddrivc-eeprom.bin", 0x0000, 0x1000, CRC(c036ef04) SHA1(2f28a52facdff2269ff2f905f9818520a1d8e468) ) ROM_END @@ -1845,7 +1845,7 @@ ROM_START( harddrivcb ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddrivc-eeprom.bin", 0x0000, 0x1000, CRC(c036ef04) SHA1(2f28a52facdff2269ff2f905f9818520a1d8e468) ) ROM_END @@ -1877,7 +1877,7 @@ ROM_START( harddrivc1 ) ROM_LOAD( "136052-1124.55a", 0x010000, 0x010000, CRC(071a4309) SHA1(c623bd51d6a4a56503fbf138138854d6a30b11d6) ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "harddrivc-eeprom.bin", 0x0000, 0x1000, CRC(c036ef04) SHA1(2f28a52facdff2269ff2f905f9818520a1d8e468) ) ROM_END @@ -1915,7 +1915,7 @@ ROM_START( stunrun ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -1953,7 +1953,7 @@ ROM_START( stunrunj ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -1991,7 +1991,7 @@ ROM_START( stunrun5 ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -2029,7 +2029,7 @@ ROM_START( stunrune ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -2067,7 +2067,7 @@ ROM_START( stunrun4 ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -2105,7 +2105,7 @@ ROM_START( stunrun3 ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -2143,7 +2143,7 @@ ROM_START( stunrun3e ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -2181,7 +2181,7 @@ ROM_START( stunrun2 ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -2219,7 +2219,7 @@ ROM_START( stunrun2e ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -2257,7 +2257,7 @@ ROM_START( stunrun0 ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -2295,7 +2295,7 @@ ROM_START( stunrunp ) ROM_LOAD( "136070-2125.1ef", 0x010000, 0x010000, CRC(cbdabbcc) SHA1(4d102a5677d96e68d27c1960dc3a237ae6751c2f) ) ROM_LOAD( "136070-2126.1de", 0x020000, 0x010000, CRC(b973d9d1) SHA1(a74a3c981497a9c5557f793d49381a9b776cb025) ) ROM_LOAD( "136070-2127.1cd", 0x030000, 0x010000, CRC(3e419f4e) SHA1(e382e047f02591a934a53e5fbf07cccf285abb29) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "stunrun-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -2343,7 +2343,7 @@ ROM_START( racedriv ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2391,7 +2391,7 @@ ROM_START( racedrivb ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2439,7 +2439,7 @@ ROM_START( racedrivg ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2487,7 +2487,7 @@ ROM_START( racedriv4 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2535,7 +2535,7 @@ ROM_START( racedrivb4 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2583,7 +2583,7 @@ ROM_START( racedrivg4 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2631,7 +2631,7 @@ ROM_START( racedriv3 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2679,7 +2679,7 @@ ROM_START( racedriv2 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2727,7 +2727,7 @@ ROM_START( racedriv1 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2775,7 +2775,7 @@ ROM_START( racedrivg1 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2823,7 +2823,7 @@ ROM_START( racedrivb1 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -2871,7 +2871,7 @@ ROM_START( racedrivc ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedrivc-eeprom.bin", 0x0000, 0x1000, CRC(79266a98) SHA1(61471a0cdb5074c65f5d37a556d2d4e693d0f8e4) ) ROM_END @@ -2919,7 +2919,7 @@ ROM_START( racedrivcb ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedrivc-eeprom.bin", 0x0000, 0x1000, CRC(79266a98) SHA1(61471a0cdb5074c65f5d37a556d2d4e693d0f8e4) ) ROM_END @@ -2967,7 +2967,7 @@ ROM_START( racedrivcg ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedrivc-eeprom.bin", 0x0000, 0x1000, CRC(79266a98) SHA1(61471a0cdb5074c65f5d37a556d2d4e693d0f8e4) ) ROM_END @@ -3015,7 +3015,7 @@ ROM_START( racedrivc4 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedrivc-eeprom.bin", 0x0000, 0x1000, CRC(79266a98) SHA1(61471a0cdb5074c65f5d37a556d2d4e693d0f8e4) ) ROM_END @@ -3063,7 +3063,7 @@ ROM_START( racedrivcb4 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedrivc-eeprom.bin", 0x0000, 0x1000, CRC(79266a98) SHA1(61471a0cdb5074c65f5d37a556d2d4e693d0f8e4) ) ROM_END @@ -3111,7 +3111,7 @@ ROM_START( racedrivcg4 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedrivc-eeprom.bin", 0x0000, 0x1000, CRC(79266a98) SHA1(61471a0cdb5074c65f5d37a556d2d4e693d0f8e4) ) ROM_END @@ -3159,7 +3159,7 @@ ROM_START( racedrivc2 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedrivc-eeprom.bin", 0x0000, 0x1000, CRC(79266a98) SHA1(61471a0cdb5074c65f5d37a556d2d4e693d0f8e4) ) ROM_END @@ -3207,7 +3207,7 @@ ROM_START( racedrivc1 ) ROM_LOAD( "136052-3125.45a", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.30a", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.45c", 0x040000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedrivc-eeprom.bin", 0x0000, 0x1000, CRC(79266a98) SHA1(61471a0cdb5074c65f5d37a556d2d4e693d0f8e4) ) ROM_END @@ -3356,7 +3356,7 @@ ROM_START( racedrivpan ) ROM_LOAD( "rdps3125.bin", 0x020000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "rdps1126.bin", 0x030000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "rdps1017.bin", 0x040000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "racedriv-eeprom.bin", 0x0000, 0x1000, CRC(0e9cf36e) SHA1(bc6cc7eb243d5ec6e346ebf5c3887d0820eb1a1c) ) ROM_END @@ -3417,7 +3417,7 @@ ROM_START( steeltal ) /* GAL's located on "Multisync" board */ ROM_LOAD( "136087-9001.bin", 0x0000, 0x0001, NO_DUMP ) /* GAL6001 at location 200K (SLOOP) */ - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "steeltal-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -3478,7 +3478,7 @@ ROM_START( steeltalg ) /* GAL's located on "Multisync" board */ ROM_LOAD( "136087-9001.bin", 0x0000, 0x0001, NO_DUMP ) /* GAL6001 at location 200K (SLOOP) */ - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "steeltal-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -3539,7 +3539,7 @@ ROM_START( steeltal1 ) /* GAL's located on "Multisync" board */ ROM_LOAD( "136087-9001.bin", 0x0000, 0x0001, NO_DUMP ) /* GAL6001 at location 200K (SLOOP) */ - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "steeltal-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -3600,7 +3600,7 @@ ROM_START( steeltalp ) /* GAL's located on "Multisync" board */ ROM_LOAD( "136087-9001.bin", 0x0000, 0x0001, NO_DUMP ) /* GAL6001 at location 200K (SLOOP) */ - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "steeltal-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -3648,7 +3648,7 @@ ROM_START( strtdriv ) ROM_LOAD( "136052-3125.12j", 0x000000, 0x010000, CRC(856548ff) SHA1(e8a17b274185c5e4ecf5f9f1c211e18b3ef2456d) ) ROM_LOAD( "136052-1126.12h", 0x000000, 0x010000, CRC(f46ef09c) SHA1(ba62f73ee3b33d8f26b430ffa468f8792dca23de) ) ROM_LOAD( "136077-1017.12t", 0x000000, 0x010000, CRC(e93129a3) SHA1(1221b08c8efbfd8cf6bfbfd956545f10bef48663) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "strtdriv-eeprom.bin", 0x0000, 0x1000, CRC(c71c0011) SHA1(1ceaf73df40e531df3bfb26b4fb7cd95fb7bff1d) ) ROM_END @@ -3702,7 +3702,7 @@ ROM_START( hdrivair ) ROM_LOAD16_BYTE( "ds3rom5.bin", 0x00000, 0x80000, CRC(8d0e9b27) SHA1(76556f48bdf14475260c268ebdb16ecb494b2f36) ) ROM_LOAD16_BYTE( "ds3rom6.bin", 0x00001, 0x80000, CRC(ce7edbae) SHA1(58e9d8379157bb69e323eb79332d644a32c70a6f) ) ROM_LOAD16_BYTE( "ds3rom7.bin", 0x00000, 0x80000, CRC(323eff0b) SHA1(5d4945d77191ee44b4fbf125bc0816217321829e) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "hdrivair-eeprom.bin", 0x0000, 0x1000, CRC(7828df8f) SHA1(4b62ceb1d3f4b8026d77a59118a9002aa006e98e) ) ROM_END @@ -3757,7 +3757,7 @@ ROM_START( hdrivairp ) ROM_LOAD16_BYTE( "ds3rom.5", 0x00000, 0x80000, CRC(6ef9ed90) SHA1(8bd927a56fe99f7db96d203c1daeb8c8c83f2c17) ) ROM_LOAD16_BYTE( "ds3rom.6", 0x00001, 0x80000, CRC(cd4cd6bc) SHA1(95689ab7cb18af54ff09aebf223f6346f13dfd7b) ) ROM_LOAD16_BYTE( "ds3rom.7", 0x00000, 0x80000, CRC(3d695e1f) SHA1(4e5dd009ed11d299c546451141920dc1dc74a529) ) - + ROM_REGION( 0x1000, "eeprom", 0 ) ROM_LOAD( "hdrivair-eeprom.bin", 0x0000, 0x1000, CRC(7828df8f) SHA1(4b62ceb1d3f4b8026d77a59118a9002aa006e98e) ) ROM_END diff --git a/src/mame/drivers/jubilee.c b/src/mame/drivers/jubilee.c index a7cbbbdadd8..0881e77f9a7 100644 --- a/src/mame/drivers/jubilee.c +++ b/src/mame/drivers/jubilee.c @@ -45,7 +45,7 @@ TMS9980A memory map: - + 0000-0003 ---> Reset 0004-0007 ---> Level 1 0008-000B ---> Level 2 @@ -172,9 +172,9 @@ static READ8_HANDLER(unk_r) } static ADDRESS_MAP_START( jubileep_cru_map, ADDRESS_SPACE_IO, 8 ) -// AM_RANGE(0x0000, 0xffff) AM_READ(unk_r) -// AM_RANGE(0x00, 0x00) AM_DEVREADWRITE("crtc", mc6845_status_r, mc6845_address_w) -// AM_RANGE(0x01, 0x01) AM_DEVREADWRITE("crtc", mc6845_register_r, mc6845_register_w) +// AM_RANGE(0x0000, 0xffff) AM_READ(unk_r) +// AM_RANGE(0x00, 0x00) AM_DEVREADWRITE("crtc", mc6845_status_r, mc6845_address_w) +// AM_RANGE(0x01, 0x01) AM_DEVREADWRITE("crtc", mc6845_register_r, mc6845_register_w) AM_RANGE(0xc8, 0xc8) AM_READ(unk_r) ADDRESS_MAP_END diff --git a/src/mame/drivers/ksys573.c b/src/mame/drivers/ksys573.c index a0ae304fbb4..72dd3101c1c 100644 --- a/src/mame/drivers/ksys573.c +++ b/src/mame/drivers/ksys573.c @@ -2799,7 +2799,7 @@ static MACHINE_CONFIG_START( konami573, driver_device ) MDRV_MACHINE_RESET( konami573 ) MDRV_NVRAM_HANDLER( konami573 ) - + // onboard flash MDRV_FUJITSU_29F016A_ADD("onboard.0") MDRV_FUJITSU_29F016A_ADD("onboard.1") diff --git a/src/mame/drivers/multfish.c b/src/mame/drivers/multfish.c index 768338b36db..25f924d89c1 100644 --- a/src/mame/drivers/multfish.c +++ b/src/mame/drivers/multfish.c @@ -1355,7 +1355,7 @@ ROM_START( fcockt ) // 030505 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -1370,7 +1370,7 @@ ROM_START( fcockt_2 ) // 030512 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -1385,7 +1385,7 @@ ROM_START( fcockt_3 ) // 030623 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -1400,7 +1400,7 @@ ROM_START( fcockt_4 ) // 031028 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -1415,7 +1415,7 @@ ROM_START( fcockt_5 ) // 031111 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -1430,7 +1430,7 @@ ROM_START( fcockt_6 ) // 040216 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -1445,7 +1445,7 @@ ROM_START( fcockt_7 ) // 050118 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -1461,7 +1461,7 @@ ROM_START( fcockt_8 ) // 060111 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -2701,7 +2701,7 @@ ROM_START( fcockt_6a ) // 040216 bank F8 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -2716,7 +2716,7 @@ ROM_START( fcockt_6b ) // 040216 backdoor 1,1 1,3 1,5 1,7 3,3 3,4 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -2764,7 +2764,7 @@ ROM_START( fcockt_7a ) // 050118 backdoor 1,1 1,3 1,5 1,7 3,3 3,4 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -2794,7 +2794,7 @@ ROM_START( fcockt_7c ) // 050118 payout percentage 40% ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -2809,7 +2809,7 @@ ROM_START( fcockt_7d ) // 050118 payout percentage 60% ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -2824,7 +2824,7 @@ ROM_START( fcockt_7e ) // 050118 payout percentage 70% ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -2839,7 +2839,7 @@ ROM_START( fcockt_7f ) // 050118 changed version text to 070305 ROM_LOAD( "4_030505", 0x300000, 0x80000, CRC(115898f4) SHA1(55b93bddaeede1c2f6b18083a6a2e6329af087cc) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -2854,7 +2854,7 @@ ROM_START( fcockt_7g ) // 050118 modified graphics, many texts changed, changed ROM_LOAD( "bootleg_4h", 0x300000, 0x80000, CRC(9ac3e603) SHA1(f2fab6122d7304543e804b56878f067952f5963d) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END @@ -2869,7 +2869,7 @@ ROM_START( fcockt_7h ) // 050118 modified graphics, many texts changed, changed ROM_LOAD( "bootleg_4i", 0x300000, 0x80000, CRC(99b28f09) SHA1(85eb3788fd413c5d2a131982e158e5e552a930b4) ) ROM_LOAD( "5_030505", 0x080000, 0x80000, CRC(f0176b60) SHA1(f764aea00ed306a28cacc62f8d2db9cc42895db8) ) ROM_LOAD( "6_030505", 0x180000, 0x80000, CRC(ef24f255) SHA1(6ff924627c179868a25f180f79cd57182b72d9d4) ) - ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) + ROM_LOAD( "7_030505", 0x280000, 0x80000, CRC(20f87a15) SHA1(cb60866a3543668f3592c270b445dee881d78128) ) ROM_LOAD( "8_030505", 0x380000, 0x80000, CRC(d282e42e) SHA1(eac9c3eaef39b1805f863ade5da47d6274d20a55) ) ROM_END diff --git a/src/mame/drivers/namcops2.c b/src/mame/drivers/namcops2.c index 6106ec067e0..fbd56c9e566 100644 --- a/src/mame/drivers/namcops2.c +++ b/src/mame/drivers/namcops2.c @@ -152,8 +152,8 @@ ROM_START( soulcl2a ) SYSTEM246_BIOS ROM_REGION(0x840000, "key", ROMREGION_ERASE00) - ROM_LOAD( "sc22vera.ic002", 0x000000, 0x800000, CRC(2a1031b4) SHA1(81ad0b9273734758da917c62910906f06e774bd6) ) - ROM_LOAD( "sc22vera_spr.ic002", 0x800000, 0x040000, CRC(6dd152e4) SHA1(1eb23b2c65f12b39fecf34d6b21916165441ebe4) ) + ROM_LOAD( "sc22vera.ic002", 0x000000, 0x800000, CRC(2a1031b4) SHA1(81ad0b9273734758da917c62910906f06e774bd6) ) + ROM_LOAD( "sc22vera_spr.ic002", 0x800000, 0x040000, CRC(6dd152e4) SHA1(1eb23b2c65f12b39fecf34d6b21916165441ebe4) ) DISK_REGION("dvd") DISK_IMAGE_READONLY( "sc21-dvd0d", 0, SHA1(9a7b1ea836adc9d78481928a3067530e0f8d74a6) ) @@ -308,8 +308,8 @@ ROM_START( gundzaft ) SYSTEM246_BIOS ROM_REGION(0x840000, "key", ROMREGION_ERASE00) - ROM_LOAD( "sed1vera.ic002", 0x000000, 0x800000, CRC(db52309d) SHA1(3e325dfa68dadcc2f9abd9d338e47ffa511e73f8) ) - ROM_LOAD( "sed1vera_spr.ic002", 0x800000, 0x040000, CRC(12641e0e) SHA1(64b7655f95a2e5e41b5a89998f2b858dab05ae75) ) + ROM_LOAD( "sed1vera.ic002", 0x000000, 0x800000, CRC(db52309d) SHA1(3e325dfa68dadcc2f9abd9d338e47ffa511e73f8) ) + ROM_LOAD( "sed1vera_spr.ic002", 0x800000, 0x040000, CRC(12641e0e) SHA1(64b7655f95a2e5e41b5a89998f2b858dab05ae75) ) DISK_REGION("dvd") DISK_IMAGE_READONLY( "sed1dvd0", 0, SHA1(0e6db61d94f66a4ddd7d4a3013983a838d256c5d) ) diff --git a/src/mame/drivers/namcos23.c b/src/mame/drivers/namcos23.c index efcc719896b..f31402985d3 100644 --- a/src/mame/drivers/namcos23.c +++ b/src/mame/drivers/namcos23.c @@ -3718,7 +3718,7 @@ ROM_END ROM_START( crszonea ) ROM_REGION32_BE( 0x800000, "user1", 0 ) /* 4 megs for main R4650 code */ - ROM_LOAD16_WORD_SWAP( "cszo2vera.ic4", 0x400000, 0x400000, CRC(1426d8d0) SHA1(e8049df1b2db1180f9edf6e5fa9fe8692ae81086) ) + ROM_LOAD16_WORD_SWAP( "cszo2vera.ic4", 0x400000, 0x400000, CRC(1426d8d0) SHA1(e8049df1b2db1180f9edf6e5fa9fe8692ae81086) ) ROM_CONTINUE( 0x000000, 0x400000 ) ROM_REGION( 0x80000, "audiocpu", 0 ) /* Hitachi H8/3002 MCU code */ diff --git a/src/mame/drivers/naomi.c b/src/mame/drivers/naomi.c index db85e6842ef..7916c85accd 100644 --- a/src/mame/drivers/naomi.c +++ b/src/mame/drivers/naomi.c @@ -6666,12 +6666,12 @@ ROM_START( maxspeed ) AW_BIOS ROM_REGION( 0x9000000, "user1", ROMREGION_ERASE) - ROM_LOAD( "ax0501p01.ic18", 0x0000000, 0x0800000, CRC(e1651867) SHA1(49caf82f4b111da312b14bb0a9c31e3732b4b24e) ) - ROM_LOAD( "ax0501m01.ic11", 0x0800000, 0x1000000, CRC(4a847a59) SHA1(7808bcd357b85861082b426dbe34a20ae7016f6a) ) - ROM_LOAD( "ax0502m01.ic12", 0x1000000, 0x1000000, CRC(2580237f) SHA1(2e92c940f95edae33d6a7e8a071544a9083a0fd6) ) - ROM_LOAD( "ax0503m01.ic13", 0x2000000, 0x1000000, CRC(e5a3766b) SHA1(1fe6e072adad27ac43c0bff04e3c448678aabc18) ) - ROM_LOAD( "ax0504m01.ic14", 0x3000000, 0x1000000, CRC(7955b55a) SHA1(927f58d6961e702c2a8afce79bac5e5cff3dfed6) ) - ROM_LOAD( "ax0505m01.ic15", 0x4000000, 0x1000000, CRC(e8ccc660) SHA1(a5f414f200a0d41e958430d0fc2d4e1fda1cc67c) ) + ROM_LOAD( "ax0501p01.ic18", 0x0000000, 0x0800000, CRC(e1651867) SHA1(49caf82f4b111da312b14bb0a9c31e3732b4b24e) ) + ROM_LOAD( "ax0501m01.ic11", 0x0800000, 0x1000000, CRC(4a847a59) SHA1(7808bcd357b85861082b426dbe34a20ae7016f6a) ) + ROM_LOAD( "ax0502m01.ic12", 0x1000000, 0x1000000, CRC(2580237f) SHA1(2e92c940f95edae33d6a7e8a071544a9083a0fd6) ) + ROM_LOAD( "ax0503m01.ic13", 0x2000000, 0x1000000, CRC(e5a3766b) SHA1(1fe6e072adad27ac43c0bff04e3c448678aabc18) ) + ROM_LOAD( "ax0504m01.ic14", 0x3000000, 0x1000000, CRC(7955b55a) SHA1(927f58d6961e702c2a8afce79bac5e5cff3dfed6) ) + ROM_LOAD( "ax0505m01.ic15", 0x4000000, 0x1000000, CRC(e8ccc660) SHA1(a5f414f200a0d41e958430d0fc2d4e1fda1cc67c) ) ROM_END ROM_START( vfurlong ) diff --git a/src/mame/drivers/pipeline.c b/src/mame/drivers/pipeline.c index 05f5942d2b1..9555c05f7f4 100644 --- a/src/mame/drivers/pipeline.c +++ b/src/mame/drivers/pipeline.c @@ -230,7 +230,7 @@ static INPUT_PORTS_START( pipeline ) PORT_DIPSETTING( 0x03, DEF_STR( 5C_1C ) ) PORT_DIPSETTING( 0x01, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) -// PORT_DIPSETTING( 0x7f, DEF_STR( 1C_1C ) ) /* duplicated setting */ +// PORT_DIPSETTING( 0x7f, DEF_STR( 1C_1C ) ) /* duplicated setting */ PORT_DIPSETTING( 0x0f, DEF_STR( 1C_2C ) ) PORT_DIPSETTING( 0x1f, DEF_STR( 1C_3C ) ) PORT_DIPSETTING( 0x3f, DEF_STR( 1C_4C ) ) @@ -243,7 +243,7 @@ static INPUT_PORTS_START( pipeline ) PORT_DIPNAME( 0x07, 0x00, DEF_STR( Difficulty ) ) PORT_DIPSETTING( 0x00, DEF_STR( Easy ) ) /* table at 0x35eb */ PORT_DIPSETTING( 0x01, DEF_STR( Medium ) ) /* table at 0x35c5 */ -// PORT_DIPSETTING( 0x07, DEF_STR( Medium ) ) /* duplicated setting */ +// PORT_DIPSETTING( 0x07, DEF_STR( Medium ) ) /* duplicated setting */ PORT_DIPSETTING( 0x03, DEF_STR( Hard ) ) /* table at 0x35a0 */ PORT_DIPNAME( 0x18, 0x18, "Water Speed" ) /* check code at 0x2619 - table at 0x5685 */ PORT_DIPSETTING( 0x18, "Slowest" ) /* 0x12 */ diff --git a/src/mame/drivers/segas16b.c b/src/mame/drivers/segas16b.c index e7cd54fc41a..409b1489af1 100644 --- a/src/mame/drivers/segas16b.c +++ b/src/mame/drivers/segas16b.c @@ -6811,7 +6811,7 @@ static WRITE16_HANDLER( isgsm_data_w ) { bytes_to_write = 1; } - + isgsm_rle_control_position++; } } @@ -6822,7 +6822,7 @@ static WRITE16_HANDLER( isgsm_data_w ) data = isgsm_rle_byte; } } - + for (int i=0;i m_maincpu; required_shared_ptr m_nvram; - + UINT32 * m_videoram; UINT32 * m_paletteram; diff --git a/src/mame/machine/balsente.c b/src/mame/machine/balsente.c index 71e62c652e4..08ad2ea9223 100644 --- a/src/mame/machine/balsente.c +++ b/src/mame/machine/balsente.c @@ -80,7 +80,7 @@ MACHINE_START( balsente ) { balsente_state *state = machine->driver_data(); int i; - + state->cem_device[0] = state->m_cem1; state->cem_device[1] = state->m_cem2; state->cem_device[2] = state->m_cem3; diff --git a/src/mame/machine/pcshare.c b/src/mame/machine/pcshare.c index 96b47db16a7..763f725d482 100644 --- a/src/mame/machine/pcshare.c +++ b/src/mame/machine/pcshare.c @@ -334,5 +334,5 @@ MACHINE_CONFIG_FRAGMENT(pcat_common) MDRV_I8237_ADD( "dma8237_1", XTAL_14_31818MHz/3, dma8237_1_config ) MDRV_I8237_ADD( "dma8237_2", XTAL_14_31818MHz/3, dma8237_2_config ) MDRV_PIT8254_ADD( "pit8254", at_pit8254_config ) -// MDRV_MC146818_ADD( "rtc", MC146818_STANDARD ) +// MDRV_MC146818_ADD( "rtc", MC146818_STANDARD ) MACHINE_CONFIG_END diff --git a/src/mame/mamedriv.c b/src/mame/mamedriv.c index f9d2a121bf0..92d9d8e7c37 100644 --- a/src/mame/mamedriv.c +++ b/src/mame/mamedriv.c @@ -3320,7 +3320,7 @@ V-V TP-027 DRIVER( aquarush ) /* 2000.02 Aqua Rush (AQ1/VER.A1, Japan) */ DRIVER( golgo13 ) /* 2000.03 Golgo 13 (GLG1/VER.A, Japan) */ DRIVER( sws2000 ) /* 2000.03 Super World Stadium 2000 (SS01/VER.A, Japan) */ -// DRIVER( truckk ) /* 2000.06 Truck Kyousoukyoku (Metro) */ +// DRIVER( truckk ) /* 2000.06 Truck Kyousoukyoku (Metro) */ /* 2000.07 Kart Duel */ /* 2000.08 Teknowerk */ DRIVER( g13knd ) /* 2000.10 Golgo 13 Kiseki no Dandou (GLS1/VER.A, Japan) */ @@ -10123,13 +10123,13 @@ Other Sun games /* Igrosoft Original sets */ /* Multifish */ - //DRIVER( mfish ) /* (c) 2002 */ - //DRIVER( mfish_2 ) /* (c) 2002 */ - //DRIVER( mfish_4 ) /* (c) 2002 */ - //DRIVER( mfish_5 ) /* (c) 2002 */ - //DRIVER( mfish_7 ) /* (c) 2002 */ - //DRIVER( mfish_8 ) /* (c) 2002 */ - //DRIVER( mfish_9 ) /* (c) 2002 */ + //DRIVER( mfish ) /* (c) 2002 */ + //DRIVER( mfish_2 ) /* (c) 2002 */ + //DRIVER( mfish_4 ) /* (c) 2002 */ + //DRIVER( mfish_5 ) /* (c) 2002 */ + //DRIVER( mfish_7 ) /* (c) 2002 */ + //DRIVER( mfish_8 ) /* (c) 2002 */ + //DRIVER( mfish_9 ) /* (c) 2002 */ //DRIVER( mfish_10 ) /* (c) 2002 */ //DRIVER( mfish_13 ) /* (c) 2002 */ DRIVER( mfish_3 ) /* (c) 2002 */ @@ -10139,22 +10139,22 @@ Other Sun games DRIVER( mfish_13 ) /* (c) 2002 */ /* Crazy Monkey */ - //DRIVER( crzmon ) /* (c) 2003 */ - //DRIVER( crzmon_2 ) /* (c) 2003 */ - //DRIVER( crzmon_3 ) /* (c) 2003 */ - //DRIVER( crzmon_4 ) /* (c) 2003 */ - //DRIVER( crzmon_5 ) /* (c) 2003 */ - //DRIVER( crzmon_6 ) /* (c) 2003 */ + //DRIVER( crzmon ) /* (c) 2003 */ + //DRIVER( crzmon_2 ) /* (c) 2003 */ + //DRIVER( crzmon_3 ) /* (c) 2003 */ + //DRIVER( crzmon_4 ) /* (c) 2003 */ + //DRIVER( crzmon_5 ) /* (c) 2003 */ + //DRIVER( crzmon_6 ) /* (c) 2003 */ DRIVER( crzmon_5 ) /* (c) 2003 */ DRIVER( crzmon_7 ) /* (c) 2003 */ DRIVER( crzmon_8 ) /* (c) 2003 */ DRIVER( crzmon_9 ) /* (c) 2003 */ /* Fruit Cocktail */ - //DRIVER( fcockt ) /* (c) 2003 */ - //DRIVER( fcockt_2 ) /* (c) 2003 */ - //DRIVER( fcockt_3 ) /* (c) 2003 */ - //DRIVER( fcockt_4 ) /* (c) 2003 */ + //DRIVER( fcockt ) /* (c) 2003 */ + //DRIVER( fcockt_2 ) /* (c) 2003 */ + //DRIVER( fcockt_3 ) /* (c) 2003 */ + //DRIVER( fcockt_4 ) /* (c) 2003 */ DRIVER( fcockt_5 ) /* (c) 2003 */ DRIVER( fcockt_6 ) /* (c) 2003 */ DRIVER( fcockt_7 ) /* (c) 2003 */ @@ -10165,9 +10165,9 @@ Other Sun games DRIVER( fcockt_12 ) /* (c) 2003 */ /* Lucky Haunter */ - //DRIVER( lhaunt ) /* (c) 2003 */ - //DRIVER( lhaunt_2 ) /* (c) 2003 */ - //DRIVER( lhaunt_3 ) /* (c) 2003 */ + //DRIVER( lhaunt ) /* (c) 2003 */ + //DRIVER( lhaunt_2 ) /* (c) 2003 */ + //DRIVER( lhaunt_3 ) /* (c) 2003 */ DRIVER( lhaunt_4 ) /* (c) 2003 */ DRIVER( lhaunt_5 ) /* (c) 2003 */ DRIVER( lhaunt_6 ) /* (c) 2003 */ @@ -10175,20 +10175,20 @@ Other Sun games DRIVER( lhaunt_8 ) /* (c) 2003 */ /* Rollfruit */ - //DRIVER( rollfr ) /* (c) 2003 */ + //DRIVER( rollfr ) /* (c) 2003 */ DRIVER( rollfr_2 ) /* (c) 2003 */ /* Garage */ - //DRIVER( garage ) /* (c) 2004 */ - //DRIVER( garage_2 ) /* (c) 2004 */ - //DRIVER( garage_3 ) /* (c) 2004 */ + //DRIVER( garage ) /* (c) 2004 */ + //DRIVER( garage_2 ) /* (c) 2004 */ + //DRIVER( garage_3 ) /* (c) 2004 */ DRIVER( garage_4 ) /* (c) 2004 */ DRIVER( garage_5 ) /* (c) 2004 */ DRIVER( garage_6 ) /* (c) 2004 */ DRIVER( garage_7 ) /* (c) 2004 */ /* Rock Climber */ - //DRIVER( rclimb_2 ) /* (c) 2004 */ + //DRIVER( rclimb_2 ) /* (c) 2004 */ DRIVER( rclimb ) /* (c) 2004 */ DRIVER( rclimb_3 ) /* (c) 2004 */ DRIVER( rclimb_4 ) /* (c) 2004 */ @@ -10199,7 +10199,7 @@ Other Sun games DRIVER( sweetl_2 ) /* (c) 2004 */ /* Resident */ - //DRIVER( resdnt ) /* (c) 2004 */ + //DRIVER( resdnt ) /* (c) 2004 */ DRIVER( resdnt_2 ) /* (c) 2004 */ DRIVER( resdnt_3 ) /* (c) 2004 */ @@ -10207,9 +10207,9 @@ Other Sun games DRIVER( island ) /* (c) 2005 */ /* Pirate */ - //DRIVER( pirate ) /* (c) 2005 */ + //DRIVER( pirate ) /* (c) 2005 */ DRIVER( pirate_2 ) /* (c) 2005 */ - DRIVER( pirate_3 ) /* (c) 2005 */ + DRIVER( pirate_3 ) /* (c) 2005 */ DRIVER( pirate_4 ) /* (c) 2005 */ /* Island 2 */ @@ -10290,7 +10290,7 @@ Other Sun games DRIVER( resdnt_2g ) /* bootleg */ DRIVER( islanda ) /* bootleg - Island */ DRIVER( islandb ) /* bootleg */ - DRIVER( islandc ) /* bootleg */ + DRIVER( islandc ) /* bootleg */ DRIVER( island2a ) /* bootleg - Island 2 */ DRIVER( island2b ) /* bootleg */ DRIVER( island2c ) /* bootleg */ @@ -10312,7 +10312,7 @@ Other Sun games DRIVER( keks_2b ) /* bootleg */ DRIVER( keks_2c ) /* bootleg */ DRIVER( keks_2d ) /* bootleg */ - DRIVER( keks_2e ) /* bootleg */ + DRIVER( keks_2e ) /* bootleg */ DRIVER( keks_2f ) /* bootleg */ DRIVER( keks_2g ) /* bootleg */ DRIVER( keks_3a ) /* bootleg */ diff --git a/src/mame/video/midyunit.c b/src/mame/video/midyunit.c index 280add3d250..bfaaf4fc3ba 100644 --- a/src/mame/video/midyunit.c +++ b/src/mame/video/midyunit.c @@ -73,7 +73,7 @@ static VIDEO_START( common ) midyunit_cmos_ram = auto_alloc_array(machine, UINT16, (0x2000 * 4)/2); local_videoram = auto_alloc_array_clear(machine, UINT16, 0x80000/2); pen_map = auto_alloc_array(machine, pen_t, 65536); - + machine->device("nvram")->set_base(midyunit_cmos_ram, 0x2000 * 4); /* reset all the globals */ diff --git a/src/mame/video/ssv.c b/src/mame/video/ssv.c index df0bc29e778..f1b20ff5118 100644 --- a/src/mame/video/ssv.c +++ b/src/mame/video/ssv.c @@ -243,141 +243,141 @@ VIDEO_START( gdfs ) /*************************************************************************** - CRT controller, registers that are read - (vblank etc.?) - - 1c0000 (wait for bit .. to become ..) - - keithlcy: bit D, 0 -> 1 - - mslider: bit A, 0 - - hypreact: - meosism: - srmp7: - sxyreact: - ultrax: bit F, 0 - - twineag2: - hypreac2: bit C, 1 -> 0 - bit F, 0 - - janjans1: - srmp4: - survarts: no checks - - ryorioh: - drifto94: bit D, 0 -> 1 - bit A, 0 - - - CRT controller, registers that are written - (resolution, visible area, flipping etc.) - - 1c0060-61 ---- ---- ---- ---- ? 21 or 2b for all games - 1c0062-63 fedc ba98 7654 3210 x start visible area - 1c0064-65 fedc ba98 7654 3210 x end visible area - 1c0066-67 ---- ---- ---- ---- ? 1c6 for all games - 1c0068-69 ---- ---- ---- ---- ? 1 for all games - 1c006a-6b fedc ba98 7654 3210 y start visible area - 1c006c-6d fedc ba98 7654 3210 y end visible area - 1c006e-6f ---- ---- ---- ---- ? 106 for all games - 1c0070-71 ---- ---- ---- ---- ? - ---- --98 7654 3210 y global tilemap offset - 1c0072-73 ---- ---- ---- ---- ? - 1c0074-75 ---- ---- ---- ---- ? - -e-- ---- ---- ---- y sprite inversion - ---c ---- ---- ---- x sprite inversion? - ---- ba98 ---- ---- ? 0101 for all games - ---- ---- -6-- ---- y tilemap inversion? - ---- ---- ---4 ---- x tilemap inversion? - 1c0076-77 -e-- ---- ---- ---- global/local sprites coordinates - ---- ---- -6-- ---- shadow (2bits - 4bits) - 1c0078-79 ---- ---- ---- ---- ? - 1c007a-7b ---- ---- ---- ---- ? - ---- -a-- ---- ---- left-right up-down inversion - - 1c0060-7f: - - drifto94: 0000 0025 00cd 01c6 - 0001 0013 0101 0106 - 0300 0711 0500 0000 - 0015 5940 - 03ea 5558 (flip) - - dynagear: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 - 02fd 0000 0500 0000 - 0015 5940 - ???? ???? (flip) - - eaglshot: 0021 002a 00ca 01c6 - 0001 0016 00f6 0106 - 0301 0000 0500 d000 - 0015 5940 - ???? ???? (flip) - - gdfs: 002b 002c 00d5 01c6 - 0001 0012 0102 0106 - 03ec 0711 0500 0000 - 00d5 5950 - 03ec 1557 (flip) - - hypreact: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106 - 0301 0000 0500 c000 - 0015 5140 - 03f0 5558 (flip) - - hypreac2: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106 - 0301 0000 05ff c000 - 0015 5140 - 03ea 5558 (flip) - - janjans1: 0021 0023 00cb 01c6 - 0001 000f 00fe 0106 - 0300 0000 0500 c000 - 0015 5140 - 0300 (flip) - - keithlcy: 002b 0025 00cd 01c6 - 0001 0013 0101 0106 - 0300 0711 0500 0000 - 0015 5940 - 03ea 5558 (flip) - - meosism: 002b 002c 00d5 01c6 - 0001 0012 00fe 0106 - 0301 0000 0500 c000 - 0015 5140 - (no flip) - - mslider: 0021 0026 00d6 01c6 - 0001 000e 00fe 0106 - 03f1 0711 5550 c080 - 0015 5940 - 0301 0500 (flip) - - ryorioh: 0021 0023*00cb 01c6 - 0001 000f 00fe 0106 - 0300 0000 0500 c000 - 0015 5140 - 03ed 5558 (flip) *0025 - - srmp4: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 - 0301 0711 0500 0000 - 0015 4940 - ffe8 5557 (flip) - - srmp7: 002b 002c 00d4 01c6 - 0001 000e 00fd 0106 - 0000 0000 e500 0000 - 0015 7140 - 02f2 b558 (flip) - - stmblade: 0021 0026 00d6 01c6 - 0001 000e 00fe 0106 - 03f1 0711 5550 c080 - 0015 5940 <- 711 becomes 0 during gameplay - 0301 0500 (flip) - - survarts: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 - 0301 0000 0500 0000 - 0015 5140 - 03e9 5558 (flip) - - sxyreact: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106 - 0301 0000 0500 c000 - 0015 5140 - 03ef 5558 (flip) - - sxyreac2: 0021 0023 00cb 01c6 - 0001 000e 00fe 0106 - 0301 0000 0500 c000 - 0015 5140 - ???? ???? (flip) - - twineag2: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 - ffec 0000 e500 4000 - 0315 7940 - ???? ???? (flip) - - ultrax: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 - ffec 0000 e500 4000 - 0315 7940 - 02fe b558 (flip) - - vasara & 0021 0024 00cc 01c6 - 0001 000e 00fe 0106 - vasara2: 03f1 0000 6500 c000 - 0015 5140 - 0301 3558 (flip) + CRT controller, registers that are read + (vblank etc.?) + + 1c0000 (wait for bit .. to become ..) + + keithlcy: bit D, 0 -> 1 + + mslider: bit A, 0 + + hypreact: + meosism: + srmp7: + sxyreact: + ultrax: bit F, 0 + + twineag2: + hypreac2: bit C, 1 -> 0 + bit F, 0 + + janjans1: + srmp4: + survarts: no checks + + ryorioh: + drifto94: bit D, 0 -> 1 + bit A, 0 + + + CRT controller, registers that are written + (resolution, visible area, flipping etc.) + + 1c0060-61 ---- ---- ---- ---- ? 21 or 2b for all games + 1c0062-63 fedc ba98 7654 3210 x start visible area + 1c0064-65 fedc ba98 7654 3210 x end visible area + 1c0066-67 ---- ---- ---- ---- ? 1c6 for all games + 1c0068-69 ---- ---- ---- ---- ? 1 for all games + 1c006a-6b fedc ba98 7654 3210 y start visible area + 1c006c-6d fedc ba98 7654 3210 y end visible area + 1c006e-6f ---- ---- ---- ---- ? 106 for all games + 1c0070-71 ---- ---- ---- ---- ? + ---- --98 7654 3210 y global tilemap offset + 1c0072-73 ---- ---- ---- ---- ? + 1c0074-75 ---- ---- ---- ---- ? + -e-- ---- ---- ---- y sprite inversion + ---c ---- ---- ---- x sprite inversion? + ---- ba98 ---- ---- ? 0101 for all games + ---- ---- -6-- ---- y tilemap inversion? + ---- ---- ---4 ---- x tilemap inversion? + 1c0076-77 -e-- ---- ---- ---- global/local sprites coordinates + ---- ---- -6-- ---- shadow (2bits - 4bits) + 1c0078-79 ---- ---- ---- ---- ? + 1c007a-7b ---- ---- ---- ---- ? + ---- -a-- ---- ---- left-right up-down inversion + + 1c0060-7f: + + drifto94: 0000 0025 00cd 01c6 - 0001 0013 0101 0106 + 0300 0711 0500 0000 - 0015 5940 + 03ea 5558 (flip) + + dynagear: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 + 02fd 0000 0500 0000 - 0015 5940 + ???? ???? (flip) + + eaglshot: 0021 002a 00ca 01c6 - 0001 0016 00f6 0106 + 0301 0000 0500 d000 - 0015 5940 + ???? ???? (flip) + + gdfs: 002b 002c 00d5 01c6 - 0001 0012 0102 0106 + 03ec 0711 0500 0000 - 00d5 5950 + 03ec 1557 (flip) + + hypreact: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106 + 0301 0000 0500 c000 - 0015 5140 + 03f0 5558 (flip) + + hypreac2: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106 + 0301 0000 05ff c000 - 0015 5140 + 03ea 5558 (flip) + + janjans1: 0021 0023 00cb 01c6 - 0001 000f 00fe 0106 + 0300 0000 0500 c000 - 0015 5140 + 0300 (flip) + + keithlcy: 002b 0025 00cd 01c6 - 0001 0013 0101 0106 + 0300 0711 0500 0000 - 0015 5940 + 03ea 5558 (flip) + + meosism: 002b 002c 00d5 01c6 - 0001 0012 00fe 0106 + 0301 0000 0500 c000 - 0015 5140 + (no flip) + + mslider: 0021 0026 00d6 01c6 - 0001 000e 00fe 0106 + 03f1 0711 5550 c080 - 0015 5940 + 0301 0500 (flip) + + ryorioh: 0021 0023*00cb 01c6 - 0001 000f 00fe 0106 + 0300 0000 0500 c000 - 0015 5140 + 03ed 5558 (flip) *0025 + + srmp4: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 + 0301 0711 0500 0000 - 0015 4940 + ffe8 5557 (flip) + + srmp7: 002b 002c 00d4 01c6 - 0001 000e 00fd 0106 + 0000 0000 e500 0000 - 0015 7140 + 02f2 b558 (flip) + + stmblade: 0021 0026 00d6 01c6 - 0001 000e 00fe 0106 + 03f1 0711 5550 c080 - 0015 5940 <- 711 becomes 0 during gameplay + 0301 0500 (flip) + + survarts: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 + 0301 0000 0500 0000 - 0015 5140 + 03e9 5558 (flip) + + sxyreact: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106 + 0301 0000 0500 c000 - 0015 5140 + 03ef 5558 (flip) + + sxyreac2: 0021 0023 00cb 01c6 - 0001 000e 00fe 0106 + 0301 0000 0500 c000 - 0015 5140 + ???? ???? (flip) + + twineag2: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 + ffec 0000 e500 4000 - 0315 7940 + ???? ???? (flip) + + ultrax: 002b 002c 00d4 01c6 - 0001 0012 0102 0106 + ffec 0000 e500 4000 - 0315 7940 + 02fe b558 (flip) + + vasara & 0021 0024 00cc 01c6 - 0001 000e 00fe 0106 + vasara2: 03f1 0000 6500 c000 - 0015 5140 + 0301 3558 (flip) ***************************************************************************/ @@ -652,7 +652,7 @@ static void draw_row(running_machine *machine, bitmap_t *bitmap, const rectangle /* Get the scroll data */ x = ssv_scroll[ scroll * 4 + 0 ]; // x scroll y = ssv_scroll[ scroll * 4 + 1 ]; // y scroll - // ssv_scroll[ scroll * 4 + 2 ]; // ??? + // ssv_scroll[ scroll * 4 + 2 ]; // ??? mode = ssv_scroll[ scroll * 4 + 3 ]; // layer disabled, shadow, depth etc. /* Background layer disabled */ @@ -774,7 +774,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta tilemaps_offsy = ((s2[3] & 0x1ff) - (s2[3] & 0x200)); /* Every single sprite is offset by x & yoffs, and additionally - by one of the 8 x & y offsets in the 1c0040-1c005f area */ + by one of the 8 x & y offsets in the 1c0040-1c005f area */ xoffs += ssv_scroll[((mode & 0x00e0) >> 4) + 0x40/2]; yoffs += ssv_scroll[((mode & 0x00e0) >> 4) + 0x42/2]; @@ -818,7 +818,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta scroll = s2[ 0 ]; // scroll index - if (ssv_scroll[0x76/2] & 0x1000) + if (ssv_scroll[0x76/2] & 0x1000) sy -= 0x20; // kludge for eaglshot else { @@ -1189,7 +1189,7 @@ VIDEO_UPDATE( ssv ) clip.min_y = (cliprect->max_y + state->scroll[0x6a/2]) - state->scroll[0x6c/2] + 1; clip.max_y = (cliprect->max_y + state->scroll[0x6a/2]) - state->scroll[0x6a/2] ; -// printf("%04x %04x %04x %04x\n",clip.min_x, clip.max_x, clip.min_y, clip.max_y); +// printf("%04x %04x %04x %04x\n",clip.min_x, clip.max_x, clip.min_y, clip.max_y); if (clip.min_x < 0) clip.min_x = 0; if (clip.min_y < 0) clip.min_y = 0; diff --git a/src/osd/sdl/sdl.mak b/src/osd/sdl/sdl.mak index ad3941473ff..e14ddf8b9dd 100644 --- a/src/osd/sdl/sdl.mak +++ b/src/osd/sdl/sdl.mak @@ -340,7 +340,7 @@ ifndef SDL_INSTALL_ROOT INCPATH += `sdl-config --cflags` LIBS += -lm `sdl-config --libs` else -INCPATH += -I$(SDL_INSTALL_ROOT)/include +INCPATH += -I$(SDL_INSTALL_ROOT)/include CCOMFLAGS += -D_GNU_SOURCE=1 LIBS += -lm -L$(SDL_INSTALL_ROOT)/lib -Wl,-rpath,$(SDL_INSTALL_ROOT)/lib -lSDL endif @@ -388,7 +388,7 @@ else # Remove the "/SDL" component from the include path so that we can compile # files (header files are #include "SDL/something.h", so the extra "/SDL" # causes a significant problem) -INCPATH += `sdl-config --cflags | sed 's:/SDL::'` +INCPATH += `sdl-config --cflags | sed 's:/SDL::'` CCOMFLAGS += -DNO_SDL_GLEXT # Remove libSDLmain, as its symbols conflict with SDLMain_tmpl.m LIBS += `sdl-config --libs | sed 's/-lSDLmain//'` -lpthread diff --git a/src/osd/windows/winmain.c b/src/osd/windows/winmain.c index 2a8a606923e..2d3d3140af8 100644 --- a/src/osd/windows/winmain.c +++ b/src/osd/windows/winmain.c @@ -118,7 +118,7 @@ class stack_walker { public: stack_walker(); - + FPTR ip() const { return m_stackframe.AddrPC.Offset; } FPTR sp() const { return m_stackframe.AddrStack.Offset; } FPTR frame() const { return m_stackframe.AddrFrame.Offset; } @@ -394,7 +394,7 @@ int main(int argc, char *argv[]) // allocate symbols symbol_manager local_symbols(argv[0]); symbols = &local_symbols; - + // set up exception handling pass_thru_filter = SetUnhandledExceptionFilter(exception_filter); SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX); @@ -457,7 +457,7 @@ static void output_oslog(running_machine &machine, const char *buffer) void osd_init(running_machine *machine) { const char *stemp; - + // determine if we are benchmarking, and adjust options appropriately int bench = options_get_int(machine->options(), WINOPTION_BENCH); if (bench > 0) diff --git a/src/tools/chdcd.c b/src/tools/chdcd.c index b0bdc3d0143..2be6c783760 100644 --- a/src/tools/chdcd.c +++ b/src/tools/chdcd.c @@ -124,8 +124,8 @@ static int msf_to_frames( char *token ) } /*------------------------------------------------- - parse_wav_sample - takes a .WAV file, verifies - that the file is 16 bits, and returns the + parse_wav_sample - takes a .WAV file, verifies + that the file is 16 bits, and returns the length in bytes of the data and the offset in bytes to where the data starts in the file. -------------------------------------------------*/ @@ -470,7 +470,7 @@ chd_error chdcd_parse_cue(const char *tocfname, cdrom_toc *outtoc, chdcd_track_i outinfo->idx0offs[trknum] = -1; outinfo->idx1offs[trknum] = 0; strcpy(&outinfo->fname[trknum][0], lastfname); // default filename to the last one -// printf("trk %d: fname %s offset %d\n", trknum, &outinfo->fname[trknum][0], outinfo->offset[trknum]); +// printf("trk %d: fname %s offset %d\n", trknum, &outinfo->fname[trknum][0], outinfo->offset[trknum]); cdrom_convert_type_string_to_track_info(token, &outtoc->tracks[trknum]); if (outtoc->tracks[trknum].datasize == 0) @@ -532,7 +532,7 @@ chd_error chdcd_parse_cue(const char *tocfname, cdrom_toc *outtoc, chdcd_track_i } } - /* close the input CUE */ + /* close the input CUE */ fclose(infile); /* store the number of tracks found */ @@ -593,7 +593,7 @@ chd_error chdcd_parse_cue(const char *tocfname, cdrom_toc *outtoc, chdcd_track_i } else { - outinfo->offset[trknum] = outinfo->offset[trknum-1] + outtoc->tracks[trknum-1].frames * (outtoc->tracks[trknum-1].datasize + outtoc->tracks[trknum-1].subsize); + outinfo->offset[trknum] = outinfo->offset[trknum-1] + outtoc->tracks[trknum-1].frames * (outtoc->tracks[trknum-1].datasize + outtoc->tracks[trknum-1].subsize); } if (!outtoc->tracks[trknum].frames) diff --git a/src/tools/chdman.c b/src/tools/chdman.c index dcd8625a053..ac19f8570b9 100644 --- a/src/tools/chdman.c +++ b/src/tools/chdman.c @@ -1610,7 +1610,7 @@ static int do_extractcd(int argc, char *argv[], int param) { char modestr[16]; - if (track == 0) + if (track == 0) { fprintf(outfile, "FILE \"%s\" BINARY\n", outputfile2); } diff --git a/src/version.c b/src/version.c index b20141df263..ea92c818bea 100644 --- a/src/version.c +++ b/src/version.c @@ -10,4 +10,4 @@ ***************************************************************************/ extern const char build_version[]; -const char build_version[] = "0.139u2 ("__DATE__")"; +const char build_version[] = "0.139u3 ("__DATE__")"; -- cgit v1.2.3