summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2012-12-17 07:22:20 +0000
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2012-12-17 07:22:20 +0000
commit436d2f757f0c32573ea41013e8b10ca07ed6fc08 (patch)
tree77fc28a1edb618f19ae38071ed1b7c3316d41f5e
parent449da4bc62a76ac132892d0f9e7e506fdf5eb586 (diff)
Cleanups and version bumpmame0147u4
-rw-r--r--hash/apc.xml6
-rw-r--r--hash/genius.xml20
-rw-r--r--src/emu/cpu/h83002/h8.h2
-rw-r--r--src/emu/cpu/h83002/h8disasm.c4
-rw-r--r--src/emu/cpu/h83002/h8ops.h4
-rw-r--r--src/emu/cpu/tms32031/tms32031.c2
-rw-r--r--src/emu/cpu/z8000/z8000.c4
-rw-r--r--src/emu/imagedev/chd_cd.c2
-rw-r--r--src/emu/machine/fdc_pll.h4
-rw-r--r--src/emu/machine/msm6242.c24
-rw-r--r--src/emu/machine/scsihd.h4
-rw-r--r--src/emu/machine/wd_fdc.c20
-rw-r--r--src/emu/machine/wd_fdc.h2
-rw-r--r--src/emu/video/msm6255.c4
-rw-r--r--src/lib/formats/comx35_dsk.c6
-rw-r--r--src/lib/formats/flopimg.c2
-rw-r--r--src/lib/formats/flopimg.h194
-rw-r--r--src/lib/formats/imd_dsk.c10
-rw-r--r--src/lib/formats/m20_dsk.c2
-rw-r--r--src/lib/util/chdcd.c4
-rw-r--r--src/mame/drivers/8080bw.c2
-rw-r--r--src/mame/drivers/bbusters.c2
-rw-r--r--src/mame/drivers/bfm_ad5.c4
-rw-r--r--src/mame/drivers/bfm_ad5sw.c8
-rw-r--r--src/mame/drivers/bfm_sc1.c20
-rw-r--r--src/mame/drivers/bfm_sc2.c16
-rw-r--r--src/mame/drivers/bfm_sc4.c92
-rw-r--r--src/mame/drivers/bfm_sc5sw.c6
-rw-r--r--src/mame/drivers/bfmsys85.c2
-rw-r--r--src/mame/drivers/cclimber.c2
-rw-r--r--src/mame/drivers/cps1.c16
-rw-r--r--src/mame/drivers/cps2.c30
-rw-r--r--src/mame/drivers/ddenlovr.c2
-rw-r--r--src/mame/drivers/dlair2.c20
-rw-r--r--src/mame/drivers/dynax.c2
-rw-r--r--src/mame/drivers/ecoinf3.c60
-rw-r--r--src/mame/drivers/ertictac.c2
-rw-r--r--src/mame/drivers/fcrash.c74
-rw-r--r--src/mame/drivers/firebeat.c14
-rw-r--r--src/mame/drivers/galdrvr.c2
-rw-r--r--src/mame/drivers/headonb.c2
-rw-r--r--src/mame/drivers/jpmimpctsw.c102
-rw-r--r--src/mame/drivers/jpmsys5.c2
-rw-r--r--src/mame/drivers/kurukuru.c20
-rw-r--r--src/mame/drivers/maygay1bsw.c42
-rw-r--r--src/mame/drivers/maygayep.c6
-rw-r--r--src/mame/drivers/namcos2.c4
-rw-r--r--src/mame/drivers/neogeo.c6
-rw-r--r--src/mame/drivers/rabbit.c4
-rw-r--r--src/mame/drivers/s11.c2
-rw-r--r--src/mame/drivers/taitotz.c4
-rw-r--r--src/mame/drivers/taxidriv.c2
-rw-r--r--src/mame/includes/bfm_sc45.h8
-rw-r--r--src/mame/includes/cps1.h4
-rw-r--r--src/mame/includes/neogeo.h2
-rw-r--r--src/mame/machine/megacd.c6
-rw-r--r--src/mame/machine/megacdcd.c34
-rw-r--r--src/mame/machine/megacdcd.h2
-rw-r--r--src/mame/mame.lst26
-rw-r--r--src/mame/video/nbmj8688.c6
-rw-r--r--src/mess/drivers/a7000.c2
-rw-r--r--src/mess/drivers/a7800.c2
-rw-r--r--src/mess/drivers/abc1600.c16
-rw-r--r--src/mess/drivers/amiga.c36
-rw-r--r--src/mess/drivers/apc.c172
-rw-r--r--src/mess/drivers/apple2.c8
-rw-r--r--src/mess/drivers/dragon.c2
-rw-r--r--src/mess/drivers/esq1.c120
-rw-r--r--src/mess/drivers/esq5505.c126
-rw-r--r--src/mess/drivers/esqkt.c42
-rw-r--r--src/mess/drivers/esqmr.c22
-rw-r--r--src/mess/drivers/geniusiq.c12
-rw-r--r--src/mess/drivers/m20.c2
-rw-r--r--src/mess/drivers/mikromik.c2
-rw-r--r--src/mess/drivers/mirage.c20
-rw-r--r--src/mess/drivers/modellot.c14
-rw-r--r--src/mess/drivers/ng_aes.c44
-rw-r--r--src/mess/drivers/pc.c2
-rw-r--r--src/mess/drivers/pc88va.c14
-rw-r--r--src/mess/drivers/pc9801.c294
-rw-r--r--src/mess/drivers/sg1000.c4
-rw-r--r--src/mess/drivers/socrates.c18
-rw-r--r--src/mess/drivers/studio2.c2
-rw-r--r--src/mess/drivers/tim011.c20
-rw-r--r--src/mess/drivers/v1050.c12
-rw-r--r--src/mess/drivers/vt100.c2
-rw-r--r--src/mess/drivers/wangpc.c2
-rw-r--r--src/mess/drivers/xerox820.c134
-rw-r--r--src/mess/drivers/xor100.c2
-rw-r--r--src/mess/drivers/ymmu100.c118
-rw-r--r--src/mess/includes/b2m.h2
-rw-r--r--src/mess/includes/nes.h4
-rw-r--r--src/mess/includes/special.h2
-rw-r--r--src/mess/machine/b2m.c14
-rw-r--r--src/mess/machine/c1581.c86
-rw-r--r--src/mess/machine/c8280.c8
-rw-r--r--src/mess/machine/cmdhd.c26
-rw-r--r--src/mess/machine/comx_fd.c16
-rw-r--r--src/mess/machine/comx_prn.c48
-rw-r--r--src/mess/machine/comx_ram.h2
-rw-r--r--src/mess/machine/comx_thm.c22
-rw-r--r--src/mess/machine/comxpl80.h2
-rw-r--r--src/mess/machine/fd2000.c124
-rw-r--r--src/mess/machine/iq151_disc2.h2
-rw-r--r--src/mess/machine/lux10828.c2
-rw-r--r--src/mess/machine/mackbd.c4
-rw-r--r--src/mess/machine/nes.c4
-rw-r--r--src/mess/machine/nubus_image.c4
-rw-r--r--src/mess/machine/orion.c2
-rw-r--r--src/mess/machine/pc.c6
-rw-r--r--src/mess/machine/sms.c2
-rw-r--r--src/mess/machine/special.c14
-rw-r--r--src/version.c2
113 files changed, 1322 insertions, 1322 deletions
diff --git a/hash/apc.xml b/hash/apc.xml
index 5f55c912fd2..ef0a4db7d89 100644
--- a/hash/apc.xml
+++ b/hash/apc.xml
@@ -119,7 +119,7 @@
</dataarea>
</part>
</software>
-
+
<software name="dbaseiid">
<description>dBASE II for MS-DOS</description>
<year>1982</year>
@@ -306,7 +306,7 @@
</dataarea>
</part>
</software>
-
+
<software name="ucsd136">
<description>UCSD p-System System IV.13 (Ver 0.6)</description>
<year>1984</year>
@@ -372,7 +372,7 @@
</dataarea>
</part>
</software>
-
+
<software name="wordstar">
<description>WordStar (Ver 3.30) for MS-DOS</description>
<year>1983</year>
diff --git a/hash/genius.xml b/hash/genius.xml
index 1ddf0ae715e..177b53f2bd0 100644
--- a/hash/genius.xml
+++ b/hash/genius.xml
@@ -8,20 +8,20 @@
<!-- First chunk of dumps, compatible with: Notebook Fun, e-Power X, 5005 X, 6600 CX, 8008 CX, Black Magic CX
+--------------+-----------------------------+------------+-----------------
-| CARTRIDGE ID | GAME NAME | EPROM-ID | EPROM-TYPE |
+| CARTRIDGE ID | GAME NAME | EPROM-ID | EPROM-TYPE |
+--------------+-----------------------------+------------+-----------------
-| | | | |
-| 80-28071 | Englisch f¸r Anf‰nger | 27-6386-00 | LH5V1RN5 |
-| 80-28072 | L‰nder-Menschen-Umwelt | 27-6386-00 | LH5V1RN5 |
-| 80-28073 | Sport-Wissen-Geschichte | 27-6388-00 | LH5V1RN5 |
-| 80-28074 | Allgemeinwissen | 27-6388-00 | LH5V1RN5 |
-| 80-28075 | Naturwissenschaften | | |
-| 80- | Schreibmaschinenkurs | 27-6431-00 | LH5V1RN5 |
+| | | | |
+| 80-28071 | Englisch f¸r Anf‰nger | 27-6386-00 | LH5V1RN5 |
+| 80-28072 | L‰nder-Menschen-Umwelt | 27-6386-00 | LH5V1RN5 |
+| 80-28073 | Sport-Wissen-Geschichte | 27-6388-00 | LH5V1RN5 |
+| 80-28074 | Allgemeinwissen | 27-6388-00 | LH5V1RN5 |
+| 80-28075 | Naturwissenschaften | | |
+| 80- | Schreibmaschinenkurs | 27-6431-00 | LH5V1RN5 |
| | Superspeicher | |GM76V8128CLFW70| (RAM Module)
the LH5V1RN6 flash-rom is pin compatible to an LH531V00 which is compatible to an D27C010 eprom!
-VTECH burned two games on one flash-rom, with setting the highest adressline HIGH or LOW, they choosed the game,
-but if you wanted to play both games, you had to buy both cartridges!
+VTECH burned two games on one flash-rom, with setting the highest adressline HIGH or LOW, they choosed the game,
+but if you wanted to play both games, you had to buy both cartridges!
On one was the highest adressline set to HIGH, on the other one this adressline was set to LOW.
-->
diff --git a/src/emu/cpu/h83002/h8.h b/src/emu/cpu/h83002/h8.h
index d3107efbf25..0cada2d9f0e 100644
--- a/src/emu/cpu/h83002/h8.h
+++ b/src/emu/cpu/h83002/h8.h
@@ -1,7 +1,7 @@
/***************************************************************************
h8.h : Public constants and function defs for the H8/300, H8/300H,
- H8/2000S, and H8/2600S family emulators.
+ H8/2000S, and H8/2600S family emulators.
****************************************************************************/
diff --git a/src/emu/cpu/h83002/h8disasm.c b/src/emu/cpu/h83002/h8disasm.c
index ec50944a07b..5756665cf43 100644
--- a/src/emu/cpu/h83002/h8disasm.c
+++ b/src/emu/cpu/h83002/h8disasm.c
@@ -1301,8 +1301,8 @@ static UINT32 h8disasm_6(UINT32 address, UINT32 opcode, char *buffer, const UINT
else
{
sprintf(buffer, "%4.4x ???", opcode);
- }
- size = 6;
+ }
+ size = 6;
break;
case 0x2:
data32=h8_mem_read32(2);
diff --git a/src/emu/cpu/h83002/h8ops.h b/src/emu/cpu/h83002/h8ops.h
index 20ac80d87c0..6112f3e72a4 100644
--- a/src/emu/cpu/h83002/h8ops.h
+++ b/src/emu/cpu/h83002/h8ops.h
@@ -1908,12 +1908,12 @@ static void h8_group6(h83xx_state *h8, UINT16 opcode)
h8_bset8(h8, (udata16 >> 4) & 0x7, udata8);
h8_mem_write8(address24, udata8);
}
- else if ((udata16 & 0xff00) == 0x6300)
+ else if ((udata16 & 0xff00) == 0x6300)
{
h8_btst8(h8, h8_getreg8(h8, (udata16 >> 4) & 0xf), udata8);
h8_mem_write8(address24, udata8);
}
- else if ((udata16 & 0xff0f) == 0x6000)
+ else if ((udata16 & 0xff0f) == 0x6000)
{
h8_bset8(h8, h8_getreg8(h8, (udata16 >> 4) & 0xf), udata8);
h8_mem_write8(address24, udata8);
diff --git a/src/emu/cpu/tms32031/tms32031.c b/src/emu/cpu/tms32031/tms32031.c
index 279a2d6a269..f4ae3fa644f 100644
--- a/src/emu/cpu/tms32031/tms32031.c
+++ b/src/emu/cpu/tms32031/tms32031.c
@@ -396,7 +396,7 @@ inline UINT32 tms3203x_device::RMEM(offs_t addr)
{
if (m_mcbl_mode && addr < 0x1000)
return m_bootrom[addr];
-
+
return m_program->read_dword(addr << 2);
}
diff --git a/src/emu/cpu/z8000/z8000.c b/src/emu/cpu/z8000/z8000.c
index b7c7fbdc1f1..a0f6050b310 100644
--- a/src/emu/cpu/z8000/z8000.c
+++ b/src/emu/cpu/z8000/z8000.c
@@ -554,7 +554,7 @@ static CPU_INIT( z8001 )
cpustate->device = device;
cpustate->program = &device->space(AS_PROGRAM);
/* If the system decodes STn lines to distinguish between data and program memory fetches,
- install the data space. If it doesn't, install the program memory into data memory space. */
+ install the data space. If it doesn't, install the program memory into data memory space. */
if (device->has_space(AS_DATA))
cpustate->data = &device->space(AS_DATA);
else
@@ -577,7 +577,7 @@ static CPU_INIT( z8002 )
cpustate->device = device;
cpustate->program = &device->space(AS_PROGRAM);
/* If the system decodes STn lines to distinguish between data and program memory fetches,
- install the data space. If it doesn't, install the program memory into data memory space. */
+ install the data space. If it doesn't, install the program memory into data memory space. */
if (device->has_space(AS_DATA))
cpustate->data = &device->space(AS_DATA);
else
diff --git a/src/emu/imagedev/chd_cd.c b/src/emu/imagedev/chd_cd.c
index 6e8eb867680..c031cfbbf88 100644
--- a/src/emu/imagedev/chd_cd.c
+++ b/src/emu/imagedev/chd_cd.c
@@ -58,7 +58,7 @@ void cdrom_image_device::device_config_complete()
memset(&m_interface, 0, sizeof(m_interface));
memset(&m_device_displayinfo, 0, sizeof(m_device_displayinfo));
}
-
+
m_extension_list = "chd,cue,toc,nrg,gdi,iso,cdr";
image_device_format *format = global_alloc_clear(image_device_format);;
diff --git a/src/emu/machine/fdc_pll.h b/src/emu/machine/fdc_pll.h
index 932b2c29147..28a1b4efbd0 100644
--- a/src/emu/machine/fdc_pll.h
+++ b/src/emu/machine/fdc_pll.h
@@ -11,12 +11,12 @@
class fdc_pll_t {
public:
attotime ctime, period, min_period, max_period, period_adjust_base, phase_adjust;
-
+
attotime write_start_time;
attotime write_buffer[32];
int write_position;
int freq_hist;
-
+
void set_clock(attotime period);
void reset(attotime when);
int get_next_bit(attotime &tm, floppy_image_device *floppy, attotime limit);
diff --git a/src/emu/machine/msm6242.c b/src/emu/machine/msm6242.c
index 8214978d637..8210658736a 100644
--- a/src/emu/machine/msm6242.c
+++ b/src/emu/machine/msm6242.c
@@ -294,7 +294,7 @@ void msm6242_device::update_timer()
if (!m_res_out_int_func.isnull() && m_irq_flag == 1)
{
switch(m_irq_type)
- {
+ {
case IRQ_HOUR:
callback_ticks += (59 - get_clock_register(RTC_MINUTE)) * (0x8000 * 60);
// fall through
@@ -471,17 +471,17 @@ WRITE8_MEMBER( msm6242_device::write )
switch(offset)
{
case MSM6242_REG_CD:
- // x--- 30s ADJ
- // -x-- IRQ FLAG
- // --x- BUSY
- // ---x HOLD
+ // x--- 30s ADJ
+ // -x-- IRQ FLAG
+ // --x- BUSY
+ // ---x HOLD
m_reg[0] = data & 0x0f;
break;
case MSM6242_REG_CE:
- // xx-- t0,t1 (timing irq)
- // --x- STD
- // ---x MASK
+ // xx-- t0,t1 (timing irq)
+ // --x- STD
+ // ---x MASK
m_reg[1] = data & 0x0f;
if((data & 3) == 0) // MASK & STD = 0
{
@@ -497,10 +497,10 @@ WRITE8_MEMBER( msm6242_device::write )
break;
case MSM6242_REG_CF:
- // x--- TEST
- // -x-- 24/12
- // --x- STOP
- // ---x RESET
+ // x--- TEST
+ // -x-- 24/12
+ // --x- STOP
+ // ---x RESET
// the 12/24 mode bit can only be changed when RESET does a 1 -> 0 transition
if (((data & 0x01) == 0x00) && (m_reg[2] & 0x01))
diff --git a/src/emu/machine/scsihd.h b/src/emu/machine/scsihd.h
index acb15bdecbe..62ae9a15921 100644
--- a/src/emu/machine/scsihd.h
+++ b/src/emu/machine/scsihd.h
@@ -24,9 +24,9 @@ public:
virtual void WriteData( UINT8 *data, int dataLength );
virtual void ReadData( UINT8 *data, int dataLength );
virtual int GetSectorBytes();
-
+
static struct harddisk_interface hd_intf;
-
+
protected:
// device-level overrides
virtual void device_start();
diff --git a/src/emu/machine/wd_fdc.c b/src/emu/machine/wd_fdc.c
index 126231d5b90..063f266979a 100644
--- a/src/emu/machine/wd_fdc.c
+++ b/src/emu/machine/wd_fdc.c
@@ -900,7 +900,7 @@ void wd_fdc_t::do_cmd_w()
void wd_fdc_t::cmd_w(UINT8 val)
{
if (inverted_bus) val ^= 0xff;
-
+
if(intrq && !(intrq_cond & I_IMM)) {
intrq = false;
if(!intrq_cb.isnull())
@@ -955,7 +955,7 @@ UINT8 wd_fdc_t::status_r()
UINT8 val = status;
if (inverted_bus) val ^= 0xff;
-
+
return val;
}
@@ -981,7 +981,7 @@ UINT8 wd_fdc_t::track_r()
{
UINT8 val = track;
if (inverted_bus) val ^= 0xff;
-
+
return val;
}
@@ -994,7 +994,7 @@ void wd_fdc_t::do_sector_w()
void wd_fdc_t::sector_w(UINT8 val)
{
if (inverted_bus) val ^= 0xff;
-
+
// No more than one write in flight
if(sector_buffer != -1)
return;
@@ -1007,14 +1007,14 @@ UINT8 wd_fdc_t::sector_r()
{
UINT8 val = sector;
if (inverted_bus) val ^= 0xff;
-
+
return val;
}
void wd_fdc_t::data_w(UINT8 val)
{
if (inverted_bus) val ^= 0xff;
-
+
data = val;
drop_drq();
}
@@ -1025,7 +1025,7 @@ UINT8 wd_fdc_t::data_r()
UINT8 val = data;
if (inverted_bus) val ^= 0xff;
-
+
return val;
}
@@ -1231,12 +1231,12 @@ void wd_fdc_t::live_sync()
{
if(!cur_live.tm.is_never()) {
if(cur_live.tm > machine().time()) {
- // fprintf(stderr, "%s: Rolling back and replaying (%s)\n", ttsn().cstr(), tts(cur_live.tm).cstr());
+ // fprintf(stderr, "%s: Rolling back and replaying (%s)\n", ttsn().cstr(), tts(cur_live.tm).cstr());
rollback();
live_run(machine().time());
pll_commit(floppy, cur_live.tm);
} else {
- // fprintf(stderr, "%s: Committing (%s)\n", ttsn().cstr(), tts(cur_live.tm).cstr());
+ // fprintf(stderr, "%s: Committing (%s)\n", ttsn().cstr(), tts(cur_live.tm).cstr());
pll_commit(floppy, cur_live.tm);
if(cur_live.next_state != -1) {
cur_live.state = cur_live.next_state;
@@ -1440,7 +1440,7 @@ void wd_fdc_t::live_run(attotime limit)
if(cur_live.bit_counter & 15)
break;
int slot = (cur_live.bit_counter >> 4)-1;
- // fprintf(stderr, "%s: slot[%d] = %02x crc = %04x\n", tts(cur_live.tm).cstr(), slot, cur_live.data_reg, cur_live.crc);
+ // fprintf(stderr, "%s: slot[%d] = %02x crc = %04x\n", tts(cur_live.tm).cstr(), slot, cur_live.data_reg, cur_live.crc);
cur_live.idbuf[slot] = cur_live.data_reg;
if(slot == 5) {
live_delay(IDLE);
diff --git a/src/emu/machine/wd_fdc.h b/src/emu/machine/wd_fdc.h
index 88db9dd194b..8b87e7f56b3 100644
--- a/src/emu/machine/wd_fdc.h
+++ b/src/emu/machine/wd_fdc.h
@@ -35,7 +35,7 @@
* wd2793 normal n y n y n y y 1/2MHz y y analog
* wd2795 inverted y n y y n y y 1/2MHz n y analog
* wd2797 normal y n y y n y y 1/2MHz n y analog
-
+
* wd1770 normal n n n n y n y 8Mhz n n digital
* wd1772 normal n n n n y n y 8MHz n n digital
* wd1773 normal n y n n n y y 8MHz n n digital
diff --git a/src/emu/video/msm6255.c b/src/emu/video/msm6255.c
index 09b0916a9e6..ee0503763dd 100644
--- a/src/emu/video/msm6255.c
+++ b/src/emu/video/msm6255.c
@@ -83,7 +83,7 @@ ADDRESS_MAP_END
//**************************************************************************
//-------------------------------------------------
-// read_byte -
+// read_byte -
//-------------------------------------------------
inline UINT8 msm6255_device::read_byte(UINT16 ma, UINT8 ra)
@@ -460,6 +460,6 @@ UINT32 msm6255_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap
{
bitmap.fill(0, cliprect);
}
-
+
return 0;
}
diff --git a/src/lib/formats/comx35_dsk.c b/src/lib/formats/comx35_dsk.c
index e06a94ddf18..182c99d83bf 100644
--- a/src/lib/formats/comx35_dsk.c
+++ b/src/lib/formats/comx35_dsk.c
@@ -80,9 +80,9 @@ const comx35_format::format comx35_format::formats[] = {
2000, 16, 35, 2, 128, {}, 0, {}, 100, 22, 84
},
/*{ // 140K 5 1/4 inch quad density single sided 70 tracks
- floppy_image::FF_525, floppy_image::SSQD,
- 2000, 16, 70, 1, 128, {}, 0, {}, 100, 22, 84
- },*/
+ floppy_image::FF_525, floppy_image::SSQD,
+ 2000, 16, 70, 1, 128, {}, 0, {}, 100, 22, 84
+ },*/
{}
};
diff --git a/src/lib/formats/flopimg.c b/src/lib/formats/flopimg.c
index b399f02e416..2f77910c8b3 100644
--- a/src/lib/formats/flopimg.c
+++ b/src/lib/formats/flopimg.c
@@ -485,7 +485,7 @@ static floperr_t floppy_readwrite_sector(floppy_image_legacy *floppy, int head,
if ((offset > 0) || (buffer_len < sector_length))
{
/* we will be doing an partial read/write; in other words we
- * will not be reading/writing a full sector */
+ * will not be reading/writing a full sector */
if (alloc_buf) free(alloc_buf);
alloc_buf = (UINT8*)malloc(sector_length);
if (!alloc_buf)
diff --git a/src/lib/formats/flopimg.h b/src/lib/formats/flopimg.h
index 723112f2dd2..c9a39dddbfe 100644
--- a/src/lib/formats/flopimg.h
+++ b/src/lib/formats/flopimg.h
@@ -227,33 +227,33 @@ public:
virtual ~floppy_image_format_t();
/*! @brief Identify an image.
- The identify function tests if the image is valid
- for this particular format.
- @param io buffer containing the image data.
- @param form_factor Physical form factor of disk, from the enum
- in floppy_image
- @return 1 if image valid, 0 otherwise.
- */
+ The identify function tests if the image is valid
+ for this particular format.
+ @param io buffer containing the image data.
+ @param form_factor Physical form factor of disk, from the enum
+ in floppy_image
+ @return 1 if image valid, 0 otherwise.
+ */
virtual int identify(io_generic *io, UINT32 form_factor) = 0;
/*! @brief Load an image.
- The load function opens an image file and converts it to the
- internal MESS floppy representation.
- @param io source buffer containing the image data.
- @param form_factor Physical form factor of disk, from the enum
- in floppy_image
- @param image output buffer for data in MESS internal format.
- @return true on success, false otherwise.
- */
+ The load function opens an image file and converts it to the
+ internal MESS floppy representation.
+ @param io source buffer containing the image data.
+ @param form_factor Physical form factor of disk, from the enum
+ in floppy_image
+ @param image output buffer for data in MESS internal format.
+ @return true on success, false otherwise.
+ */
virtual bool load(io_generic *io, UINT32 form_factor, floppy_image *image) = 0;
/*! @brief Save an image.
- The save function writes back an image from the MESS internal
- floppy representation to the appropriate format on disk.
- @param io output buffer for the data in the on-disk format.
- @param image source buffer containing data in MESS internal format.
- @return true on success, false otherwise.
- */
+ The save function writes back an image from the MESS internal
+ floppy representation to the appropriate format on disk.
+ @param io output buffer for the data in the on-disk format.
+ @param image source buffer containing data in MESS internal format.
+ @return true on success, false otherwise.
+ */
virtual bool save(io_generic *io, floppy_image *image);
//! @returns string containing name of format.
@@ -347,40 +347,40 @@ protected:
/*! @brief Generate one track according to the description vector.
- @param desc track data description
- @param track
- @param head
- @param sect a vector indexed by sector id.
- @param sect_count number of sectors.
- @param track_size in _cells_, i.e. 100000 for a usual 2us-per-cell track at 300rpm.
- @param image
- */
+ @param desc track data description
+ @param track
+ @param head
+ @param sect a vector indexed by sector id.
+ @param sect_count number of sectors.
+ @param track_size in _cells_, i.e. 100000 for a usual 2us-per-cell track at 300rpm.
+ @param image
+ */
void generate_track(const desc_e *desc, int track, int head, const desc_s *sect, int sect_count, int track_size, floppy_image *image);
/*! @brief Generate a track from cell binary values, MSB-first.
- @param track
- @param head
- @param trackbuf track input buffer.
- @param track_size in cells, not bytes.
- @param image
- */
+ @param track
+ @param head
+ @param trackbuf track input buffer.
+ @param track_size in cells, not bytes.
+ @param image
+ */
void generate_track_from_bitstream(int track, int head, const UINT8 *trackbuf, int track_size, floppy_image *image);
//! @brief Generate a track from cell level values (0/1/W/D/N).
/*! Note that this function needs to be able to split cells in two,
- so no time value should be less than 2, and even values are a
- good idea.
- */
+ so no time value should be less than 2, and even values are a
+ good idea.
+ */
/*! @param track
- @param head
- @param trackbuf track input buffer.
- @param track_size in cells, not bytes.
- @param splice_pos is the position of the track splice. For normal
- formats, use -1. For protected formats, you're supposed to
- know. trackbuf may be modified at that position or after.
- @param image
- */
+ @param head
+ @param trackbuf track input buffer.
+ @param track_size in cells, not bytes.
+ @param splice_pos is the position of the track splice. For normal
+ formats, use -1. For protected formats, you're supposed to
+ know. trackbuf may be modified at that position or after.
+ @param image
+ */
void generate_track_from_levels(int track, int head, UINT32 *trackbuf, int track_size, int splice_pos, floppy_image *image);
//! Normalize the times in a cell buffer to sum up to 200000000
@@ -422,43 +422,43 @@ protected:
// **** Writer helpers ****
/*! @brief Rebuild a cell bitstream for a track.
- Takes the cell standard
- angular size as a parameter, gives out a msb-first bitstream.
-
- Beware that fuzzy bits will always give out the same value.
- @param track
- @param head
- @param cell_size
- @param trackbuf Output buffer size should be 34% more than the nominal number
- of cells (the dpll tolerates a cell size down to 75% of the
- nominal one, with gives a cell count of 1/0.75=1.333... times
- the nominal one).
- @param track_size Output size is given in bits (cells).
- @param image
- */
+ Takes the cell standard
+ angular size as a parameter, gives out a msb-first bitstream.
+
+ Beware that fuzzy bits will always give out the same value.
+ @param track
+ @param head
+ @param cell_size
+ @param trackbuf Output buffer size should be 34% more than the nominal number
+ of cells (the dpll tolerates a cell size down to 75% of the
+ nominal one, with gives a cell count of 1/0.75=1.333... times
+ the nominal one).
+ @param track_size Output size is given in bits (cells).
+ @param image
+ */
/*! @verbatim
- Computing the standard angular size of a cell is
- simple. Noting:
- d = standard cell duration in microseconds
- r = motor rotational speed in rpm
- then:
- a = r * d * 10 / 3.
- Some values:
- Type Cell RPM Size
-
- C1541 tr 1-17 3.25 300 3250
- C1541 tr 18-24 3.50 300 3500
- C1541 tr 25-30 3.75 300 3750
- C1541 tr 31+ 4.00 300 4000
- 5.25" SD 4 300 4000
- 5.25" DD 2 300 2000
- 5.25" HD 1 360 1200
- 3.5" SD 4 300 4000
- 3.5" DD 2 300 2000
- 3.5" HD 1 300 1000
- 3.5" ED 0.5 300 500
- @endverbatim
- */
+ Computing the standard angular size of a cell is
+ simple. Noting:
+ d = standard cell duration in microseconds
+ r = motor rotational speed in rpm
+ then:
+ a = r * d * 10 / 3.
+ Some values:
+ Type Cell RPM Size
+
+ C1541 tr 1-17 3.25 300 3250
+ C1541 tr 18-24 3.50 300 3500
+ C1541 tr 25-30 3.75 300 3750
+ C1541 tr 31+ 4.00 300 4000
+ 5.25" SD 4 300 4000
+ 5.25" DD 2 300 2000
+ 5.25" HD 1 360 1200
+ 3.5" SD 4 300 4000
+ 3.5" DD 2 300 2000
+ 3.5" HD 1 300 1000
+ 3.5" ED 0.5 300 500
+ @endverbatim
+ */
void generate_bitstream_from_track(int track, int head, int cell_size, UINT8 *trackbuf, int &track_size, floppy_image *image);
@@ -656,10 +656,10 @@ public:
//! floppy_image constructor
/*!
- @param _tracks number of tracks.
- @param _heads number of heads.
- @param _form_factor form factor of drive (from enum)
- */
+ @param _tracks number of tracks.
+ @param _heads number of heads.
+ @param _form_factor form factor of drive (from enum)
+ */
floppy_image(int tracks, int heads, UINT32 form_factor);
virtual ~floppy_image();
@@ -671,17 +671,17 @@ public:
void set_variant(UINT32 v) { variant = v; }
/*!
- @param track
- @param head
- @param size size of this track
- */
+ @param track
+ @param head
+ @param size size of this track
+ */
void set_track_size(int track, int head, UINT32 size) { track_size[track][head] = size; ensure_alloc(track, head); }
/*!
- @param track track number
- @param head head number
- @return a pointer to the data buffer for this track and head
- */
+ @param track track number
+ @param head head number
+ @return a pointer to the data buffer for this track and head
+ */
UINT32 *get_buffer(int track, int head) { return cell_data[track][head]; }
//! @return the track size
//! @param track
@@ -696,9 +696,9 @@ public:
//! representation is the angular position relative to the index.
/*! @param track
- @param head
- @param pos the position
- */
+ @param head
+ @param pos the position
+ */
void set_write_splice_position(int track, int head, UINT32 pos) { write_splice[track][head] = pos; }
//! @return the current write splice position.
UINT32 get_write_splice_position(int track, int head) const { return write_splice[track][head]; }
diff --git a/src/lib/formats/imd_dsk.c b/src/lib/formats/imd_dsk.c
index b18f5f41659..aa7c34065fb 100644
--- a/src/lib/formats/imd_dsk.c
+++ b/src/lib/formats/imd_dsk.c
@@ -361,14 +361,14 @@ int imd_format::identify(io_generic *io, UINT32 form_factor)
for(int i=0; i != 30; i++)
if(h[i] >= '0' && h[i] <= '9') \
h[i] = '0';
-
+
fixnum(h+ 9, h+11);
fixnum(h+12, h+14);
fixnum(h+15, h+19);
fixnum(h+20, h+22);
fixnum(h+23, h+25);
fixnum(h+26, h+28);
-
+
if(!strcmp(h, "IMD 0.0: 00/00/0000 00:00:00\015\012"))
return 100;
} else {
@@ -376,14 +376,14 @@ int imd_format::identify(io_generic *io, UINT32 form_factor)
for(int i=0; i != 31; i++)
if(h[i] >= '0' && h[i] <= '9') \
h[i] = '0';
-
+
fixnum(h+10, h+12);
fixnum(h+13, h+15);
fixnum(h+16, h+20);
fixnum(h+21, h+23);
fixnum(h+24, h+26);
fixnum(h+27, h+29);
-
+
if(!strcmp(h, "IMD 0.00: 00/00/0000 00:00:00\015\012"))
return 100;
}
@@ -447,7 +447,7 @@ bool imd_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
if(stype == 0 || stype > 8) {
sects[i].data = NULL;
-
+
} else {
sects[i].deleted = stype == 3 || stype == 4 || stype == 7 || stype == 8;
sects[i].bad_crc = stype == 5 || stype == 6 || stype == 7 || stype == 8;
diff --git a/src/lib/formats/m20_dsk.c b/src/lib/formats/m20_dsk.c
index d5465c2e74e..65e7ffc0015 100644
--- a/src/lib/formats/m20_dsk.c
+++ b/src/lib/formats/m20_dsk.c
@@ -269,7 +269,7 @@ bool m20_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
else
build_wd_track_fm(track, head, image, 50000, 16, sects, 24, 16, 11);
}
-
+
return true;
}
diff --git a/src/lib/util/chdcd.c b/src/lib/util/chdcd.c
index 88f725d81dc..a75e1d5edd8 100644
--- a/src/lib/util/chdcd.c
+++ b/src/lib/util/chdcd.c
@@ -469,7 +469,7 @@ chd_error chdcd_parse_iso(const char *tocfname, cdrom_toc &outtoc, chdcd_track_i
memset(&outtoc, 0, sizeof(outtoc));
outinfo.reset();
- fseek(infile, 0, SEEK_END);
+ fseek(infile, 0, SEEK_END);
long size = ftell(infile);
fclose(infile);
@@ -501,7 +501,7 @@ chd_error chdcd_parse_iso(const char *tocfname, cdrom_toc &outtoc, chdcd_track_i
outtoc.tracks[0].subsize = 0;
outtoc.tracks[0].pregap = 0;
-
+
outtoc.tracks[0].postgap = 0;
outtoc.tracks[0].pgtype = 0;
outtoc.tracks[0].pgsub = CD_SUB_NONE;
diff --git a/src/mame/drivers/8080bw.c b/src/mame/drivers/8080bw.c
index 9f7465bf67f..d0ba43e1a52 100644
--- a/src/mame/drivers/8080bw.c
+++ b/src/mame/drivers/8080bw.c
@@ -2232,7 +2232,7 @@ WRITE8_MEMBER(_8080bw_state::shuttlei_ff_w)
/* bit 0 goes high when first coin inserted
bit 1 also goes high when subsequent coins are inserted
These may be for indicator lamps under the start buttons.
- bit 2 goes high while player 2 is playing */
+ bit 2 goes high while player 2 is playing */
m_c8080bw_flip_screen = BIT(data, 2) & BIT(ioport(CABINET_PORT_TAG)->read(), 0);
}
diff --git a/src/mame/drivers/bbusters.c b/src/mame/drivers/bbusters.c
index b8e42db44c4..3c943591eab 100644
--- a/src/mame/drivers/bbusters.c
+++ b/src/mame/drivers/bbusters.c
@@ -943,7 +943,7 @@ ROM_START( mechattu1 )
ROM_LOAD16_BYTE( "s_14_a8002-6.a6", 0x140000, 0x20000, CRC(bbbf0461) SHA1(c5299ab1d45f685a5d160492247cf1303ef6937a) )
ROM_LOAD16_BYTE( "s_6_a8002-6.b6", 0x140001, 0x20000, CRC(4ee89f75) SHA1(bda0e9095da2d424faac341fd934000a621796eb) )
ROM_LOAD16_BYTE( "s_15_a8002-6.a7", 0x180000, 0x20000, CRC(cde29bad) SHA1(24c1b43c6d717eaaf7c01ec7de89837947334224) ) // these 4 == ma389m15.bin
- ROM_LOAD16_BYTE( "s_7_a8002-6.b7", 0x180001, 0x20000, CRC(065ed221) SHA1(c03ca5b4d1198939a57b5fccf6a79d70afe1faaf) )
+ ROM_LOAD16_BYTE( "s_7_a8002-6.b7", 0x180001, 0x20000, CRC(065ed221) SHA1(c03ca5b4d1198939a57b5fccf6a79d70afe1faaf) )
ROM_LOAD16_BYTE( "s_16_a8002-6.a8", 0x1c0000, 0x20000, CRC(70f28040) SHA1(91012728953563fcc576725337e6ba7e1b49d1ba) )
ROM_LOAD16_BYTE( "s_8_a8002-6.b8", 0x1c0001, 0x20000, CRC(a6f8574f) SHA1(87c041669b2eaec495ae10a6f45b6668accb92bf) )
diff --git a/src/mame/drivers/bfm_ad5.c b/src/mame/drivers/bfm_ad5.c
index 1dddeb268b0..87449cf6b08 100644
--- a/src/mame/drivers/bfm_ad5.c
+++ b/src/mame/drivers/bfm_ad5.c
@@ -1,7 +1,7 @@
/*
Scorpion 5
- (Scorpion 5 Video Board)
+ (Scorpion 5 Video Board)
Skeleton Driver - For note keeping.
@@ -62,7 +62,7 @@ INPUT_PORTS_END
INTERRUPT_GEN_MEMBER(adder5_state::ad5_fake_timer_int)
{
// this should be coming from the Timer / SIM modules of the Coldfire
-// machine().device("maincpu")->execute().set_input_line_and_vector(5, HOLD_LINE, 0x8c);
+// machine().device("maincpu")->execute().set_input_line_and_vector(5, HOLD_LINE, 0x8c);
}
MACHINE_CONFIG_START( bfm_ad5, adder5_state )
diff --git a/src/mame/drivers/bfm_ad5sw.c b/src/mame/drivers/bfm_ad5sw.c
index 5acc4ba4f56..e730b83b049 100644
--- a/src/mame/drivers/bfm_ad5sw.c
+++ b/src/mame/drivers/bfm_ad5sw.c
@@ -1,7 +1,7 @@
/*
Adder 5
- (Scorpion 5 Video Board)
+ (Scorpion 5 Video Board)
Skeleton Set List - For note keeping.
@@ -75,7 +75,7 @@ ROM_END
#define ad5cmons_others \
ROM_REGION( 0x400000, "ymz", ROMREGION_ERASE00 ) \
ROM_LOAD( "95008434.bin", 0x0000, 0x100000, CRC(2d35e8ab) SHA1(a2e39beb891416bc5fae3d17125d146fe3ec3a12) ) /* PR1601 CRAZY MONEY SOUNDS11 */ \
-
+
ROM_START( ad5cmons )
ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASEFF )
ROM_LOAD( "39211009.bin", 0x0000, 0x8ba10c, CRC(3883c4ea) SHA1(ac5876d252ef9900bbd86a43c73b2e3ba08f4e04) )
@@ -1094,7 +1094,7 @@ ROM_END
-
+
ROM_START( ad5btc )
ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASEFF )
ROM_LOAD( "p1758p53.bin", 0x0000, 0x1000000, CRC(0323a676) SHA1(26f5d1c6bc4cd2d8405a95714f0dee6c26c21539) )
@@ -1665,7 +1665,7 @@ ROM_END
ROM_REGION( 0x400000, "ymz", ROMREGION_ERASE00 ) \
ROM_LOAD( "95008933.bin", 0x0000, 0x03fc55, CRC(5f01c246) SHA1(b5e2b79f780d48935b8eb158b3292ab26340ba7f) ) /* EDWNS16 SOUNDS */ \
ROM_LOAD( "95008959.bin", 0x0000, 0x07daf0, CRC(61e7fb11) SHA1(039efe731866314770800224e2b8536822252193) ) /* EDMULTI SOUNDS */ \
-
+
ROM_START( ad5eyes )
ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASEFF )
ROM_LOAD( "39211248.bin", 0x0000, 0x4d88b4, CRC(a2b799c9) SHA1(9088de779c31d33d9f1eb83e46ec28c30181a0fc) )
diff --git a/src/mame/drivers/bfm_sc1.c b/src/mame/drivers/bfm_sc1.c
index b792847ecb9..e610df2c303 100644
--- a/src/mame/drivers/bfm_sc1.c
+++ b/src/mame/drivers/bfm_sc1.c
@@ -1171,7 +1171,7 @@ static void sc1_common_init(running_machine &machine, int reels, int decrypt, in
}
-
+
int sc1_find_project_string(running_machine &machine )
{
// search for the project string to find the title (usually just at ff00)
@@ -1218,7 +1218,7 @@ int sc1_find_project_string(running_machine &machine )
if (addr<size)
{
rom = src[addr];
-
+
if ((rom>=0x20) && (rom<0x7f))
{
printf("%c", rom);
@@ -2668,7 +2668,7 @@ GAME( 198?, sc1cshat , 0 , scorpion1 , scorpion1 , bfm_sc1_state, lotse ,
********************************************************************************************************************************************************************************************************************/
ROM_START( sc1clatt ) ROM_REGION( 0x10000, "maincpu", 0 ) ROM_LOAD( "39370196.2", 0x0000, 0x8000, CRC(c809c22d) SHA1(fca7515bc84d432150ffe5e32fccc6aed458b8b0) ) ROM_LOAD( "39370196.1", 0x8000, 0x8000, CRC(4c2e465f) SHA1(101939d37d9c033f6d1dfb83b4beb54e4061aec2) ) ROM_END
-ROM_START( sc1clatta ) ROM_REGION( 0x10000, "maincpu", 0 ) ROM_LOAD( "393717553 prom b.bin", 0x0000, 0x8000, BAD_DUMP CRC(06f41627) SHA1(0e54314147a5f0d833d83f6f0ee828bd1c875f3e) ) ROM_LOAD( "393717552 prom a.bin", 0x8000, 0x8000, BAD_DUMP CRC(795e93cf) SHA1(017fa5ea3d9ad1f7a7a619d88a5892a9ffe6f3bc) ) ROM_END
+ROM_START( sc1clatta ) ROM_REGION( 0x10000, "maincpu", 0 ) ROM_LOAD( "393717553 prom b.bin", 0x0000, 0x8000, BAD_DUMP CRC(06f41627) SHA1(0e54314147a5f0d833d83f6f0ee828bd1c875f3e) ) ROM_LOAD( "393717552 prom a.bin", 0x8000, 0x8000, BAD_DUMP CRC(795e93cf) SHA1(017fa5ea3d9ad1f7a7a619d88a5892a9ffe6f3bc) ) ROM_END
// PROJECT NUMBER 5527 CLUB ATTRACTION DUAL #1 - 3-APR-1990 17:17:23
GAME( 1990, sc1clatt , 0 , scorpion1 , clatt , bfm_sc1_state, clatt , 0, "BFM", "Club Attraction (UK, Game Card 39-370-196)", GAME_FLAGS ) // GAME No 39-370-196
@@ -2729,7 +2729,7 @@ GAME( 198?, sc1clbw , 0 , scorpion1 , clatt , bfm_sc1_state, lotse , 0,
********************************************************************************************************************************************************************************************************************/
#define sc1barcd_sound \
- ROM_REGION( 0x20000, "upd", 0 ) \
+ ROM_REGION( 0x20000, "upd", 0 ) \
ROM_LOAD( "barsnd1.bin", 0x00000, 0x10000, CRC(c9de8ff4) SHA1(c3e77e84d4ecc1c779929a96d1c445a1af24865b) ) \
ROM_LOAD( "barsnd2.bin", 0x10000, 0x10000, CRC(56af984a) SHA1(aebd30f3ca767dc5fc77fb01765833ee627a5aee) ) \
@@ -2746,7 +2746,7 @@ GAME( 198?, sc1barcda , sc1barcd , scorpion1_viper , clatt , bfm_sc1_state, lo
sc1dblcha has a severe fixed bits problem, it's almost not worth keeping
sc1dblchb also seem like bad dumps (both halves identical) BUT they contain alpha strings for the 'Double Chance' game where the parent set doesn't
is it a different game or roms for some kind of extra display hardware?
-
+
Sound roms don't seem to get used?
********************************************************************************************************************************************************************************************************************/
@@ -2789,7 +2789,7 @@ GAME( 198?, sc1dblchb , sc1dblch , scorpion1_viper , clatt , bfm_sc1_state, l
ROM_REGION( 0x20000, "upd", 0 )\
ROM_LOAD( "club-six-five-special_snd_a.bin", 0x0000, 0x010000, CRC(915802cd) SHA1(5bca3a80199a6534e084a5cf4337da4e9c48f45c) )\
ROM_LOAD( "club-six-five-special_snd_b.bin", 0x0000, 0x010000, CRC(b3b230d8) SHA1(022e95f38b14922137222805c0bec7498c5956cc) )\
-
+
ROM_START( sc1cl65 ) ROM_REGION( 0x10000, "maincpu", 0 ) ROM_LOAD( "65spp2", 0x0000, 0x8000, CRC(11332a28) SHA1(76f9eee54351e0d8dc4b620ec92661538929e75d) ) ROM_LOAD( "65spp1", 0x8000, 0x8000, CRC(2c4cb63b) SHA1(5d09b575cf80beecd83c07286b74af29de7ec553) ) sc1_cl65_sound ROM_END
ROM_START( sc1cl65d ) ROM_REGION( 0x10000, "maincpu", 0 ) ROM_LOAD( "39370694.p2", 0x0000, 0x8000, CRC(3371dc55) SHA1(52d75a90933acc7a03821e5c2821df6126c72a6c) ) ROM_LOAD( "club-six-five-special_std_ac_rot_10po_ass.bin", 0x8000, 0x8000, CRC(cf48ba99) SHA1(5da4321ff349964e903f1bebd3e5ddd0799fc478) ) sc1_cl65_sound_alt ROM_END
ROM_START( sc1cl65dp ) ROM_REGION( 0x10000, "maincpu", 0 ) ROM_LOAD( "39370694.p2", 0x0000, 0x8000, CRC(3371dc55) SHA1(52d75a90933acc7a03821e5c2821df6126c72a6c) ) ROM_LOAD( "club-six-five-special_dat_ac_rot_10po_ass.bin", 0x8000, 0x8000, CRC(77ddf81d) SHA1(522d9f84ab6e31586f371548e2f146ac193f06f5) ) sc1_cl65_sound_alt ROM_END
@@ -2813,7 +2813,7 @@ GAME( 198?, sc1cl65b , sc1cl65 , scorpion1_viper , clatt , bfm_sc1_state, lot
GAME( 198?, sc1cl65bp , sc1cl65 , scorpion1_viper , clatt , bfm_sc1_state, lotse , 0, "BFM", "Club 65 Special (Bellfruit) (set 4, Protocol) (Scorpion 1)", GAME_FLAGS ) // GAME No 39-371-859
// PROJECT NUMBER 6124 20P PAYOUT SIX FIVE SPECIAL #200/20P PAYOUT - 21-APR-1993 14:46:20
GAME( 198?, sc1cl65a , sc1cl65 , scorpion1_viper , clatt , bfm_sc1_state, lotse , 0, "BFM", "Club 65 Special (Bellfruit) (set 5) (Scorpion 1)", GAME_FLAGS ) // GAME No 39-370-858
-GAME( 198?, sc1cl65ap , sc1cl65 , scorpion1_viper , clatt , bfm_sc1_state, lotse , 0, "BFM", "Club 65 Special (Bellfruit) (set 5, Protocol) (Scorpion 1)", GAME_FLAGS ) // GAME No 39-371-858
+GAME( 198?, sc1cl65ap , sc1cl65 , scorpion1_viper , clatt , bfm_sc1_state, lotse , 0, "BFM", "Club 65 Special (Bellfruit) (set 5, Protocol) (Scorpion 1)", GAME_FLAGS ) // GAME No 39-371-858
/********************************************************************************************************************************************************************************************************************
China Town
@@ -2847,7 +2847,7 @@ GAME( 198?, sc1chinabp , sc1china , scorpion1_viper , scorpion1 , bfm_sc1_state
/*
ROM_LOAD( "temp11a.bin", 0x8000, 0x8000, CRC(37c8b73e) SHA1(f718572d170be7b582c3818df7163309cea232b5) ) // FIXED BITS (xxxxxx1x)
-appears to be a bad dump of
+appears to be a bad dump of
ROM_LOAD( "95717692a.bin", 0x8000, 0x8000, CRC(f9fe7b9a) SHA1(0e3fe5da9fc837726d08f02a2c6ed782f016c982) )
*/
@@ -3145,7 +3145,7 @@ GAME( 1988, sc1lotus , 0 , scorpion1 , scorpion1 , bfm_sc1_state, lotse ,
GAME( 1988, sc1lotusa , sc1lotus , scorpion1 , scorpion1 , bfm_sc1_state, nocrypt , 0, "BFM/ELAM", "Lotus SE (Dutch) (set 2)", GAME_FLAGS )
// PROJECT NUMBER 5142 DUTCH ROULETTE GAME No 39-360-029 - 18-APR-1989 16:03:00
-GAME( 1988, sc1roul , 0 , scorpion1 , scorpion1 , bfm_sc1_state, rou029 , 0, "BFM/ELAM", "Roulette (Dutch, Game Card 39-360-129?)", GAME_FLAGS )
+GAME( 1988, sc1roul , 0 , scorpion1 , scorpion1 , bfm_sc1_state, rou029 , 0, "BFM/ELAM", "Roulette (Dutch, Game Card 39-360-129?)", GAME_FLAGS )
// PROJECT NUMBER 6045 ARMADA GAME No 39-370-729 - 28-AUG-1992 14:37:00
GAME( 198?, sc1armad , 0 , scorpion1 , scorpion1 , bfm_sc1_state, lotse , 0, "BFM/ELAM", "Armada (Dutch) (Bellfruit) (Scorpion 1)", GAME_FLAGS )
@@ -3387,4 +3387,4 @@ GAME( 199?, sc1wud ,0 , scorpion1 , scorpion1 , bfm_sc1_state, lotse , 0
GAME( 199?, sc1btbc , 0 , scorpion1 , scorpion1 , bfm_sc1_state, lotse , 0, "<unknown>", "Beat The Bank Club (unknown) (Scorpion 1?)", GAME_FLAGS) // behaves like sc1clbdya, but then locks up
-GAME( 199?, sc1boncl , 0 , scorpion1 , scorpion1 , bfm_sc1_state, lotse , 0, "<unknown>", "Bonanza Club (unknown) (Scorpion 1)", GAME_FLAGS) // just alarms \ No newline at end of file
+GAME( 199?, sc1boncl , 0 , scorpion1 , scorpion1 , bfm_sc1_state, lotse , 0, "<unknown>", "Bonanza Club (unknown) (Scorpion 1)", GAME_FLAGS) // just alarms
diff --git a/src/mame/drivers/bfm_sc2.c b/src/mame/drivers/bfm_sc2.c
index 2d54425fdca..6ad2c31665c 100644
--- a/src/mame/drivers/bfm_sc2.c
+++ b/src/mame/drivers/bfm_sc2.c
@@ -2235,7 +2235,7 @@ int sc2_find_project_string(running_machine &machine )
if (addr<size)
{
rom = src[addr];
-
+
if ((rom>=0x20) && (rom<0x7f))
{
printf("%c", rom);
@@ -6932,8 +6932,8 @@ ROM_START( sc2scshx )
ROM_LOAD( "scx1v3.bin", 0x0000, 0x010000, CRC(711a0f93) SHA1(5b3efda6a01663655ec614feab9e1d0c857e823e) )
ROM_LOAD( "scx1v6hi.bin", 0x0000, 0x010000, CRC(cae3fd0b) SHA1(1fe2ab0037c5a0be58378e95f72dc2782325fb71) )
ROM_LOAD( "scx1v6lo.bin", 0x0000, 0x010000, CRC(ca5fdbca) SHA1(60079aeb4904e42a4a45feb7f31cf6c71b611845) )
-// ROM_LOAD( "scx1v7hi.bin", 0x0000, 0x010000, CRC(b8ae7542) SHA1(22230e9a67c0f8408d6ba7adafd581cd3d62c5ad) ) // in sc2scshxcas
-// ROM_LOAD( "scx1v7lo.bin", 0x0000, 0x010000, CRC(1ed97ef6) SHA1(1aaf911369dc814ee2edf5d59baa2961bfc73168) ) // in sc2scshxcas
+// ROM_LOAD( "scx1v7hi.bin", 0x0000, 0x010000, CRC(b8ae7542) SHA1(22230e9a67c0f8408d6ba7adafd581cd3d62c5ad) ) // in sc2scshxcas
+// ROM_LOAD( "scx1v7lo.bin", 0x0000, 0x010000, CRC(1ed97ef6) SHA1(1aaf911369dc814ee2edf5d59baa2961bfc73168) ) // in sc2scshxcas
ROM_LOAD( "scx1v8hi.bin", 0x0000, 0x010000, CRC(06e35b38) SHA1(0a48489aee24066526da2cf56775f805d9603995) )
ROM_LOAD( "scx1v8lo.bin", 0x0000, 0x010000, CRC(82bc1820) SHA1(301775e0e32e44d5cbe43c0cb83d94cf2aab9a50) )
ROM_LOAD( "scxsp10.bin", 0x0000, 0x010000, CRC(e006d449) SHA1(73acc9c729e73d3a262d1a21fe89e00047eabdb2) )
@@ -7703,7 +7703,7 @@ GAME( 199?, sc2wembl1p , sc2wembl , scorpion2 , drwho , bfm_sc2_state, drwho
GAME( 199?, sc2wembl2 , sc2wembl , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Match Of The Day - Road To Wembley (Bellfruit) (set 7, UK) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-750-653
GAME( 199?, sc2wembl2p , sc2wembl , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Match Of The Day - Road To Wembley (Bellfruit) (set 7, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-653
// PROJECT NUMBER 6781 ROAD TO WEMBLEY #10 ALL CASH 15RM - 28-MAR-1996 14:01:40
-GAME( 199?, sc2wembl , 0 , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Match Of The Day - Road To Wembley (Bellfruit) (set 8, UK, 10GBP Jackpot, 15RM motor) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-750-659
+GAME( 199?, sc2wembl , 0 , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Match Of The Day - Road To Wembley (Bellfruit) (set 8, UK, 10GBP Jackpot, 15RM motor) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-750-659
GAME( 199?, sc2wemblp , sc2wembl , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Match Of The Day - Road To Wembley (Bellfruit) (set 8, UK, 10GBP Jackpot, 15RM motor, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-659
// PROJECT NUMBER 7005 ROAD TO WEMBLEY !5 ALL CASH 16RM GAME No RWVMAZ12_N - 22-OCT-1997 20:03:46
GAME( 199?, sc2wemblm , sc2wembl , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM/Mazooma", "Match Of The Day - Road To Wembley (Bellfruit/Mazooma) (Scorpion 2/3)", GAME_FLAGS) // error 99
@@ -7767,7 +7767,7 @@ GAME( 199?, sc2copcl , 0 , scorpion2 , drwho , bfm_sc2_state, drwho , 0,
GAME( 199?, sc2copclp , sc2copcl , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Cops 'n' Robbers Club (Bellfruit) (set 9, UK, 250GBP Jackpot, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-859
// PROJECT NUMBER PR6231 CLUB COPS AND ROBBERS 20P/#250 - 2-SEP-1996 17:26:44
GAME( 199?, sc2copcl2 , sc2copcl , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Cops 'n' Robbers Club (Bellfruit) (set 10, UK) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-750-858
-GAME( 199?, sc2copcl12 , sc2copcl , scorpion2 , drwho , bfm_sc2_state, prom , 0, "BFM", "Cops 'n' Robbers Club (Bellfruit) (set 10, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-858
+GAME( 199?, sc2copcl12 , sc2copcl , scorpion2 , drwho , bfm_sc2_state, prom , 0, "BFM", "Cops 'n' Robbers Club (Bellfruit) (set 10, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-858
// PROJECT PR6231 CLUB COPS AND ROBBERS NPO 63% SEALINK VERSION - 5-JAN-1998 11:53:49
GAME( 199?, sc2copcl5 , sc2copcl , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Cops 'n' Robbers Club (Bellfruit) (set 11, UK) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-752-015
GAME( 199?, sc2copcl11p , sc2copcl , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Cops 'n' Robbers Club (Bellfruit) (set 11, UK, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-753-015
@@ -7822,7 +7822,7 @@ GAME( 199?, sc2dels1 , sc2dels , scorpion2 , drwho , bfm_sc2_state, drwho ,
GAME( 199?, sc2dels1p , sc2dels , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Del's Millions (Bellfruit) (set 10, UK, 10GBP Jackpot, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-820
// the Mazooma versioning is different, N/P should be protocol / non-protocol, but the builds are minutes apart, so 11/12/13/14 can't really be version numbers
-// PROJECT NUMBER P7003 DELS MILLIONS !5 ALL CASH
+// PROJECT NUMBER P7003 DELS MILLIONS !5 ALL CASH
GAME( 199?, sc2delsm , 0 , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM/Mazooma", "Del's Millions (Bellfruit/Mazooma) (DMVMAZ11_N) (Scorpion 2/3)", GAME_FLAGS) // GAME No DMVMAZ11_N - 15-SEP-1997 11:52:00
GAME( 199?, sc2delsm2 , sc2delsm , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM/Mazooma", "Del's Millions (Bellfruit/Mazooma) (DMVMAZ11_P) (Scorpion 2/3)", GAME_FLAGS) // GAME No DMVMAZ11_P - 15-SEP-1997 11:53:06
GAME( 199?, sc2delsmp , sc2delsm , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM/Mazooma", "Del's Millions (Bellfruit/Mazooma) (DMVMAZ12_N) (Scorpion 2/3)", GAME_FLAGS) // GAME No DMVMAZ12_N - 15-SEP-1997 11:54:08
@@ -7901,7 +7901,7 @@ GAME( 199?, sc2mam , 0 , scorpion2 , drwho , bfm_sc2_state, drwho , 0,
GAME( 199?, sc2mamp , sc2mam , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Make A Million (Bellfruit) (set 4, UK, 10GBP Jackpot, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-731
// PROJECT NUMBER 6780 MAKE A MILLION #10 10/25P - 24-MAY-1996 16:18:45
GAME( 199?, sc2mam1 , sc2mam , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Make A Million (Bellfruit) (set 5, UK, 10GBP Jackpot) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-750-732
-GAME( 199?, sc2mam1p , sc2mam , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Make A Million (Bellfruit) (set 5, UK, 10GBP Jackpot, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-732
+GAME( 199?, sc2mam1p , sc2mam , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Make A Million (Bellfruit) (set 5, UK, 10GBP Jackpot, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-732
/********************************************************************************************************************************************************************************************************************
@@ -8007,7 +8007,7 @@ GAME( 199?, sc2cgcas1p , sc2cgcas , scorpion2 , drwho , bfm_sc2_state, drwho
Casino Royale
********************************************************************************************************************************************************************************************************************/
-// PROJECT NUMBER 6603 CASINO ROYALE (T2 - 5/10/20P) - 7-MAY-1996 17:02:50
+// PROJECT NUMBER 6603 CASINO ROYALE (T2 - 5/10/20P) - 7-MAY-1996 17:02:50
GAME( 199?, sc2casr3 , sc2casr , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Casino Royale (Bellfruit) (set 1, UK, 8GBP Jackpot) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-750-704
GAME( 199?, sc2casr3p , sc2casr , scorpion2 , drwho , bfm_sc2_state, drwho , 0, "BFM", "Casino Royale (Bellfruit) (set 1, UK, 8GBP Jackpot, Protocol) (Scorpion 2/3)", GAME_FLAGS) // GAME No 95-751-704
// PROJECT NUMBER 6603 CASINO ROYALE (T2) DE-REG - 5-JUN-1996 15:03:27
diff --git a/src/mame/drivers/bfm_sc4.c b/src/mame/drivers/bfm_sc4.c
index efad9e3fdce..77505202cfa 100644
--- a/src/mame/drivers/bfm_sc4.c
+++ b/src/mame/drivers/bfm_sc4.c
@@ -14,25 +14,25 @@
note: default Jackpot keys should be set to whatever value the game
mentions it should be using with none present, many games accept
- multiple keys. A number of Mazooma games will attempt to use
- invalid settings by default with no key.
+ multiple keys. A number of Mazooma games will attempt to use
+ invalid settings by default with no key.
Reel configs have been done to allow games to boot past the initial
- spin up tests where possible*, some reels probably still aren't correct
- and as a result several games will end up with reels erroring or
- spinning endlessly ingame, once the correct reel types are identified
- the details in the config structures should be replaced.
+ spin up tests where possible*, some reels probably still aren't correct
+ and as a result several games will end up with reels erroring or
+ spinning endlessly ingame, once the correct reel types are identified
+ the details in the config structures should be replaced.
- * a handful of games still don't
+ * a handful of games still don't
- ----------------
+ ----------------
- General Info
+ General Info
- Whitbread licensed sets were designed for use in Whitbread owned
- establishments, they tend to have much 'flatter' profiles than the
- regular sets meaning they pay out small prizes with a regular frequency
- rather than saving up for larger (multi) jackpot payments etc.
+ Whitbread licensed sets were designed for use in Whitbread owned
+ establishments, they tend to have much 'flatter' profiles than the
+ regular sets meaning they pay out small prizes with a regular frequency
+ rather than saving up for larger (multi) jackpot payments etc.
*/
@@ -6679,7 +6679,7 @@ ROM_END
ROM_START( sc4goldoc )
ROM_REGION( 0x400000, "maincpu", ROMREGION_ERASEFF )
- // why do we only have a combined rom for this one? (is it same as sc4gocasa once split?)
+ // why do we only have a combined rom for this one? (is it same as sc4gocasa once split?)
ROM_LOAD( "95401643.bin", 0x0000, 0x100000, CRC(3a85490e) SHA1(e1e4765785d631a7ec4e5daa33d1ce4fbdaee446) ) // TODO SPLIT THIS
sc4goldo_others
ROM_END
@@ -25511,7 +25511,7 @@ GAME( 200?, sc4gxcasa ,sc4bonbx, sc4, sc4, sc4_state, sc4gx, ROT0, "Mazooma","Ba
GAME( 200?, sc4gxcasb ,sc4bonbx, sc4, sc4, sc4_state, sc4gx, ROT0, "Mazooma","Bar X (Mazooma) (Scorpion 4) (BARX, set 3)", GAME_NOT_WORKING )
GAME( 200?, sc4gxcasc ,sc4bonbx, sc4, sc4, sc4_state, sc4gx, ROT0, "Mazooma","Bar X (Mazooma) (Scorpion 4) (BARX, set 4)", GAME_NOT_WORKING )
GAME( 200?, sc4gxcasd ,sc4bonbx, sc4, sc4, sc4_state, sc4gx, ROT0, "Mazooma","Bar X (Mazooma) (Scorpion 4) (BARX, set 5)", GAME_NOT_WORKING )
-// PR7036GOLDEN X BARX SOUNDS GOLDEN
+// PR7036GOLDEN X BARX SOUNDS GOLDEN
GAME( 200?, sc4gxcase ,sc4bonbx, sc4, sc4, sc4_state, sc4gx, ROT0, "Mazooma","Bar X (Mazooma) (Scorpion 4) (BARX, set 6)", GAME_NOT_WORKING )
GAME( 200?, sc4gxcasf ,sc4bonbx, sc4, sc4, sc4_state, sc4gx, ROT0, "Mazooma","Bar X (Mazooma) (Scorpion 4) (BARX, set 7)", GAME_NOT_WORKING )
GAME( 200?, sc4gxa ,sc4bonbx, sc4, sc4, sc4_state, sc4gx, ROT0, "Mazooma","Bar X (Mazooma) (Scorpion 4) (BARX, set 8)", GAME_NOT_WORKING ) // wasn't marked as Casino
@@ -26122,7 +26122,7 @@ static const stepper_interface* sc4jolly_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpoint_interface_200step_reel,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4jolly)
@@ -26144,7 +26144,7 @@ static const stepper_interface* sc4juicy_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4juicy)
@@ -26184,7 +26184,7 @@ static const stepper_interface* sc4jjf_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
0,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4jjf)
@@ -26218,7 +26218,7 @@ static const stepper_interface* sc4kalei_reel_configs[6] =
&starpointrm20_interface_48step,
0,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4kalei)
@@ -26244,7 +26244,7 @@ static const stepper_interface* sc4lir_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
0,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4lir)
@@ -26273,7 +26273,7 @@ static const stepper_interface* sc4lined_reel_configs[6] =
&starpointrm20_interface_48step,
0,
0,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4lined)
@@ -26318,7 +26318,7 @@ static const stepper_interface* sc4ldvcl_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4ldvcl)
@@ -26337,7 +26337,7 @@ static const stepper_interface* sc4lockb_reel_configs[6] =
&starpointrm20_interface_48step,
0,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4lockb)
@@ -26363,7 +26363,7 @@ static const stepper_interface* sc4lkbcl_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4lkbcl)
@@ -26402,7 +26402,7 @@ static const stepper_interface* sc4lotrf_reel_configs[6] =
&starpointrm20_interface_48step,
0,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4lotrf)
@@ -27000,7 +27000,7 @@ GAME( 200?, sc4mcas0 ,sc4mcas, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Monopo
GAME( 200?, sc4mcas1 ,sc4mcas, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Monopoly Casino (PR2354) (Mazooma) (Scorpion 4) (GMBU, set 16)", GAME_NOT_WORKING )// ^^
GAME( 200?, sc4mcas2 ,sc4mcas, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Monopoly Casino (PR2354) (Mazooma) (Scorpion 4) (GMBU, set 17)", GAME_NOT_WORKING )// ^^
GAME( 200?, sc4mcas3 ,sc4mcas, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Monopoly Casino (PR2354) (Mazooma) (Scorpion 4) (GMBU, set 18)", GAME_NOT_WORKING )// ^^
-// these have a different internal code compared to the PR2056 sets above which strongly indicates they're for the 'GMBU' sets above
+// these have a different internal code compared to the PR2056 sets above which strongly indicates they're for the 'GMBU' sets above
GAME( 200?, sc4mcask ,sc4mcas, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Monopoly Casino (PR2056) (Mazooma) (Scorpion 4) (GMTB, Top Box, set 1)", GAME_NOT_WORKING ) // PR2056 MONOP TRIPLE MONO SOUNDS MONOP TRIPLE
GAME( 200?, sc4mcasu ,sc4mcas, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Monopoly Casino (PR2056) (Mazooma) (Scorpion 4) (GMTB, Top Box, set 2)", GAME_NOT_WORKING ) // ^^
GAME( 200?, sc4mcas4 ,sc4mcas, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Monopoly Casino (PR2056) (Mazooma) (Scorpion 4) (GMTB, Top Box, set 3)", GAME_NOT_WORKING ) // ^^
@@ -27349,9 +27349,9 @@ static const stepper_interface* sc4pipe_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
- 0,
+ 0,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4pipe)
@@ -27372,7 +27372,7 @@ static const stepper_interface* sc4plumb_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4plumb)
@@ -27400,7 +27400,7 @@ static const stepper_interface* sc4polem_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
0,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4polem)
@@ -27427,7 +27427,7 @@ static const stepper_interface* sc4polic_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4polic)
@@ -27452,7 +27452,7 @@ static const stepper_interface* sc4potsh_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
0,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4potsh)
@@ -27474,7 +27474,7 @@ static const stepper_interface* sc4pogbl_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4pogbl)
@@ -27498,7 +27498,7 @@ static const stepper_interface* sc4pwrsg_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpoint_interface_200step_reel,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4pwrsg)
@@ -27521,7 +27521,7 @@ static const stepper_interface* sc4pir_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpoint_interface_200step_reel,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4pir)
@@ -27554,7 +27554,7 @@ static const stepper_interface* sc4pen1_reel_configs[6] =
DRIVER_INIT_MEMBER(sc4_state,sc4pen1)
{
-// BFM_dm01_config(machine(), &dm01_interface);
+// BFM_dm01_config(machine(), &dm01_interface);
DRIVER_INIT_CALL(sc4);
m_reel_setup = sc4pen1_reel_configs;
}
@@ -27715,7 +27715,7 @@ static const stepper_interface* sc4rich_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpoint_interface_200step_reel,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4rich)
@@ -27745,9 +27745,9 @@ static const stepper_interface* sc4rttt_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
- 0,
+ 0,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4rttt)
@@ -27776,9 +27776,9 @@ static const stepper_interface* sc4roksc_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
- 0,
+ 0,
&starpointrm20_interface_48step,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4roksc)
@@ -27830,7 +27830,7 @@ static const stepper_interface* sc4rogds_reel_configs[6] =
&starpointrm20_interface_48step,
0,
&starpoint_interface_200step_reel,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4rogds)
@@ -33329,7 +33329,7 @@ DRIVER_INIT_MEMBER(sc4_state,sc4rio)
// PR1222 RIO GRANDE 95004309 RIO GRANDE SOUNDS11
GAME( 200?, sc4rio ,0, sc4, sc4, sc4_state, sc4rio, ROT0, "BFM","Rio Grande (Dutch) (Bellfruit) (Scorpion 4)", GAME_NOT_WORKING )
-
+
static const stepper_interface* sc4strbr_reel_configs[6] =
{
&starpointrm20_interface_48step,
@@ -33570,7 +33570,7 @@ static const stepper_interface* sc4polen_reel_configs[6] =
&starpointrm20_interface_48step,
&starpointrm20_interface_48step,
0,
- 0,
+ 0,
};
DRIVER_INIT_MEMBER(sc4_state,sc4polen)
@@ -34581,7 +34581,7 @@ GAME( 200?, sc4hydeb ,sc4hyde, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Hyde &
GAME( 200?, sc4hydec ,sc4hyde, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Hyde & Streak (Mazooma) (Scorpion 4) (set 4)", GAME_NOT_WORKING | GAME_NO_SOUND )
// // does NOT want 'WILD SOUNDS' from 'PR7065 WET 'N' WILD'
-// PR2043 NUDGE IT WILD SOUNDS NUDGE IT
+// PR2043 NUDGE IT WILD SOUNDS NUDGE IT
GAME( 200?, sc4nudit ,0, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Nudge It (Mazooma) (Scorpion 4) (set 1)", GAME_NOT_WORKING | GAME_NO_SOUND )
// PR2043 NUDGE IT NGIT SOUNDS NUDGE IT
GAME( 200?, sc4nudita ,sc4nudit, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Nudge It (Mazooma) (Scorpion 4) (set 2)", GAME_NOT_WORKING )
@@ -34661,7 +34661,7 @@ GAME( 200?, sc4monotb ,sc4monot, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Mono
GAME( 200?, sc4monotc ,sc4monot, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Monopoly TTT (PR2133) (Mazooma) (Scorpion 4) (set 4)", GAME_NOT_WORKING | GAME_NO_SOUND ) // PR2133MONOPOLY TTT MONOPOLY TTT ARCADE MONL SOUNDS MONOPOLY
// WRONG SOUNDS, PAY UNIT ERR 17
-GAME( 200?, sc4cmon ,0, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Casino Monopoly (PR2133) (Mazooma) (Scorpion 4) (set 1)", GAME_NOT_WORKING | GAME_NO_SOUND ) // PR2133 CASINO MONOPOLY MONOPOLY ARCADE MONL SOUNDS MONOPOLY
+GAME( 200?, sc4cmon ,0, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Casino Monopoly (PR2133) (Mazooma) (Scorpion 4) (set 1)", GAME_NOT_WORKING | GAME_NO_SOUND ) // PR2133 CASINO MONOPOLY MONOPOLY ARCADE MONL SOUNDS MONOPOLY
GAME( 200?, sc4cmona ,sc4cmon, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Casino Monopoly (PR2133) (Mazooma) (Scorpion 4) (set 2)", GAME_NOT_WORKING | GAME_NO_SOUND ) // ^^
GAME( 200?, sc4cmonb ,sc4cmon, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Casino Monopoly (PR2133) (Mazooma) (Scorpion 4) (set 3)", GAME_NOT_WORKING | GAME_NO_SOUND ) // ^^
GAME( 200?, sc4cmonc ,sc4cmon, sc4, sc4, sc4_state, sc4, ROT0, "Mazooma","Casino Monopoly (PR2133) (Mazooma) (Scorpion 4) (set 4)", GAME_NOT_WORKING | GAME_NO_SOUND ) // ^^
diff --git a/src/mame/drivers/bfm_sc5sw.c b/src/mame/drivers/bfm_sc5sw.c
index 02c5df949ed..4c16f9f0c10 100644
--- a/src/mame/drivers/bfm_sc5sw.c
+++ b/src/mame/drivers/bfm_sc5sw.c
@@ -12097,9 +12097,9 @@ ROM_START( sc5unsrt )
ROM_LOAD( "95008403.bin", 0x0000, 0x0facbf, CRC(cf3969bb) SHA1(4cb6fb4e536882a11bb6c1548ffb94daea70ca5f) )
// MAZOOMA 'REVO_SOUNDS'
ROM_LOAD( "95008871.bin", 0x0000, 0x0fd182, CRC(e4f3b731) SHA1(ef829105e1b45c307546127ba85f5e0e5403ab98) )
-
+
// miss PR1032 game (Fire Cracker, but not sc4fcc)
- // PR1032 SND
+ // PR1032 SND
ROM_LOAD( "95004262.bin", 0x0000, 0x080000, CRC(3f5fad9e) SHA1(528a2803baa155d66cb896f643f858238aa7f189) )
// PR1032 unknown (what are these?)
ROM_LOAD( "95712394.bin", 0x000, 0x800, CRC(2658fedf) SHA1(32125bc5a58ddd49f8be36c7cb2ebbbdf2cb292b) )
@@ -12555,7 +12555,7 @@ ROM_START( sc5unsrt )
ROM_LOAD16_BYTE( "95429142.lo", 0x000001, 0x080000, CRC(1542fa69) SHA1(6e7e2bd82222fe7c8a480f696156a4f9894250d3) )
ROM_LOAD16_BYTE( "95429143.hi", 0x000000, 0x080000, CRC(f933e597) SHA1(305f7385a38485d9745c1889c8370bde17d07984) )
// PR3434 SND
- ROM_LOAD( "95009093.bin", 0x000000, 0x100000, CRC(97e2e023) SHA1(5405fd2ad34ca74d608005d31c279074e5eed9cd) )
+ ROM_LOAD( "95009093.bin", 0x000000, 0x100000, CRC(97e2e023) SHA1(5405fd2ad34ca74d608005d31c279074e5eed9cd) )
// Z059 (PR000059)
ROM_LOAD16_BYTE( "g95424662.lo", 0x000001, 0x080000, CRC(c0d0ec66) SHA1(8fde84a3b88eb9217a040741aa92c8c896981ae5) )
ROM_LOAD16_BYTE( "g95424663.hi", 0x000000, 0x080000, CRC(3e456253) SHA1(ba509f0d25368f1833d0afb2682eb119fb0dd4e9) )
diff --git a/src/mame/drivers/bfmsys85.c b/src/mame/drivers/bfmsys85.c
index e57998f4903..7c3febf01de 100644
--- a/src/mame/drivers/bfmsys85.c
+++ b/src/mame/drivers/bfmsys85.c
@@ -722,7 +722,7 @@ int b85_find_project_string(running_machine &machine )
if (addr<size)
{
rom = src[addr];
-
+
if ((rom>=0x20) && (rom<0x7f))
{
printf("%c", rom);
diff --git a/src/mame/drivers/cclimber.c b/src/mame/drivers/cclimber.c
index 39011ff0aa3..37d99a19ad3 100644
--- a/src/mame/drivers/cclimber.c
+++ b/src/mame/drivers/cclimber.c
@@ -1695,7 +1695,7 @@ ROM_START( dking )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "d11.r2", 0x0800, 0x0800, CRC(f7cace41) SHA1(981dbb1cddd66a0cbc8fe147172ffe7eb5b7fa21) )
ROM_CONTINUE( 0x0000, 0x800 )
- ROM_LOAD( "d7.1n", 0x1000, 0x1000, CRC(fe89dea4) SHA1(c39372ebe9950808ebc1ff7909c291496b206026) )
+ ROM_LOAD( "d7.1n", 0x1000, 0x1000, CRC(fe89dea4) SHA1(c39372ebe9950808ebc1ff7909c291496b206026) )
ROM_LOAD( "d9.2m", 0x2000, 0x1000, CRC(b9c34e14) SHA1(dcfe45dede6aef52a2989978762df9c5463bbbf2) )
ROM_LOAD( "d10.2n", 0x3000, 0x1000, CRC(243e458d) SHA1(de98fc90915913069b6802d5c662db18f56c36be) )
ROM_LOAD( "d8.1r", 0x4800, 0x0800, CRC(7c66fb5c) SHA1(5eda9b0037f958433d96bc945c1273b66ef9cac5) )
diff --git a/src/mame/drivers/cps1.c b/src/mame/drivers/cps1.c
index 5afa576050a..3049233d06c 100644
--- a/src/mame/drivers/cps1.c
+++ b/src/mame/drivers/cps1.c
@@ -192,7 +192,7 @@ Stephh's notes (based on the games M68000 code and some tests) :
For example, magic power will be increased at the end of level 1 but you won't notice
it before level 3, and sword power will be increased at the end of level 2 but you
won't notice it before level 4.
-
+
6) 'ganbare'
- Using the payout setting dip switch results in some occasional hopper errors, if this
@@ -2919,7 +2919,7 @@ static INPUT_PORTS_START( ganbare )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
PORT_SERVICE_NO_TOGGLE( 0x40, IP_ACTIVE_LOW )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
+
PORT_START("IN1")
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1)
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
@@ -2962,7 +2962,7 @@ static INPUT_PORTS_START( ganbare )
PORT_DIPNAME( 0x80, 0x80, "Payout Setup" ) PORT_DIPLOCATION("SW(A):8")
PORT_DIPSETTING( 0x80, "Credit Mode" )
PORT_DIPSETTING( 0x00, "Payout Mode" )
-
+
PORT_START("DSWB")
PORT_DIPNAME( 0x07, 0x07, "Payout Rate Setup" ) PORT_DIPLOCATION("SW(B):1,2,3")
PORT_DIPSETTING( 0x01, "90%" )
@@ -6644,7 +6644,7 @@ ROM_START( sf2stt )
/* do not move this outside comments, this is only for testing purpose
ROM_LOAD16_BYTE( "12.bin", 0x00000, 0x40000, CRC(a258b4d5) SHA1(3433b6493794c98bb35c1b27cc65bb5f13d52e9b) )
ROM_LOAD16_BYTE( "09.bin", 0x00001, 0x40000, CRC(59ccd474) SHA1(7bb28c28ee722435fdbb18eb73e52bd65b419103) )
- */
+ */
ROM_LOAD16_BYTE( "prg part 1.stt", 0x00000, 0x40000, NO_DUMP )
ROM_LOAD16_BYTE( "prg part 2.stt", 0x00001, 0x40000, NO_DUMP )
/* missing first part of program roms, so it can not boot */
@@ -10847,7 +10847,7 @@ ROM_START( ganbare )
ROM_REGION( 0x40000, "oki", 0 ) /* Samples */
ROM_LOAD( "mrnj_18.11c", 0x00000, 0x20000, CRC(08e13940) SHA1(5c7dd7ff6a66f100b59cf9244e78f2c8702faca1) )
ROM_LOAD( "mrnj_19.12c", 0x20000, 0x20000, CRC(5fa59927) SHA1(f05246cf566c214b008a91816c71e7c03b7cc218) )
-
+
ROM_REGION( 0x8000, "timekeeper", 0) /* Timekeeper internal RAM was dumped (but game overwrites it - should I keep this here or remove it?) */
ROM_LOAD( "m48t35y.9n", 0x00000, 0x8000, CRC(96107b4a) SHA1(be9149736030e06c96083dcac73b5be3dbc318ac) )
@@ -11174,12 +11174,12 @@ DRIVER_INIT_MEMBER(cps_state,pang3)
READ16_MEMBER(cps_state::ganbare_ram_r)
{
UINT16 result = 0xffff;
-
+
if (ACCESSING_BITS_0_7)
result = (result & ~0x00ff) | timekeeper_r(machine().device("m48t35"), space, offset);
if (ACCESSING_BITS_8_15)
result = (result & ~0xff00) | (m_mainram[offset] & 0xff00);
-
+
return result;
}
@@ -11194,7 +11194,7 @@ WRITE16_MEMBER(cps_state::ganbare_ram_w)
DRIVER_INIT_MEMBER(cps_state, ganbare)
{
DRIVER_INIT_CALL(cps1);
-
+
/* ram is shared between the CPS work ram and the timekeeper ram */
machine().device("maincpu")->memory().space(AS_PROGRAM).install_readwrite_handler(0xff0000, 0xffffff, read16_delegate(FUNC(cps_state::ganbare_ram_r),this), write16_delegate(FUNC(cps_state::ganbare_ram_w),this));
}
diff --git a/src/mame/drivers/cps2.c b/src/mame/drivers/cps2.c
index 15b9b9c90b6..e848c84f2f1 100644
--- a/src/mame/drivers/cps2.c
+++ b/src/mame/drivers/cps2.c
@@ -764,7 +764,7 @@ static WRITE16_HANDLER( cps2_eeprom_port_w )
* Sound ?
*
*************************************/
-
+
TIMER_CALLBACK_MEMBER(cps_state::cps2_update_digital_volume)
{
int vol_button_state;
@@ -773,10 +773,10 @@ static WRITE16_HANDLER( cps2_eeprom_port_w )
if (vol_button_state & 0x01) m_cps2digitalvolumelevel -= 1;
if (vol_button_state & 0x02) m_cps2digitalvolumelevel += 1;
-
+
if (m_cps2digitalvolumelevel > 39) m_cps2digitalvolumelevel = 39;
if (m_cps2digitalvolumelevel < 0) m_cps2digitalvolumelevel = 0;
-
+
machine().device<qsound_device>("qsound")->set_output_gain(0, m_cps2digitalvolumelevel / 39.0);
machine().device<qsound_device>("qsound")->set_output_gain(1, m_cps2digitalvolumelevel / 39.0);
}
@@ -784,7 +784,7 @@ static WRITE16_HANDLER( cps2_eeprom_port_w )
static READ16_HANDLER( cps2_qsound_volume_r )
{
cps_state *state = space.machine().driver_data<cps_state>();
-
+
UINT16 cps2_vol_states[40] =
{
0xf010, 0xf008, 0xf004, 0xf002, 0xf001, 0xe810, 0xe808, 0xe804, 0xe802, 0xe801,
@@ -792,11 +792,11 @@ static READ16_HANDLER( cps2_qsound_volume_r )
0xe110, 0xe108, 0xe104, 0xe102, 0xe101, 0xe090, 0xe088, 0xe084, 0xe082, 0xe081,
0xe050, 0xe048, 0xe044, 0xe042, 0xe041, 0xe030, 0xe028, 0xe024, 0xe022, 0xe021
};
-
+
UINT16 result;
-
+
result = cps2_vol_states[state->m_cps2digitalvolumelevel];
-
+
/* Extra adapter memory (0x660000-0x663fff) available when bit 14 = 0 */
/* Network adapter (ssf2tb) present when bit 15 = 0 */
/* Only game known to use both these so far is SSF2TB */
@@ -959,7 +959,7 @@ static INPUT_PORTS_START( cps2_4p4b )
PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_device, write_bit)
PORT_BIT( 0x2000, IP_ACTIVE_HIGH, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_device, set_clock_line)
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_OUTPUT ) PORT_WRITE_LINE_DEVICE_MEMBER("eeprom", eeprom_device, set_cs_line)
-
+
/* fake inputs for digital volume buttons */
PORT_START( "DIGITALVOL" )
PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_VOLUME_DOWN )
@@ -8201,15 +8201,15 @@ ROM_END
static void init_digital_volume(running_machine &machine)
{
cps_state *state = machine.driver_data<cps_state>();
-
+
state->m_cps2digitalvolumelevel = 39; /* maximum */
state->m_cps2disabledigitalvolume = 0;
-
+
/* create a timer to update our volume state from the fake switches - read it every 6 frames or so to enable some granularity */
state->m_digital_volume_timer = machine.scheduler().timer_alloc(timer_expired_delegate(FUNC(cps_state::cps2_update_digital_volume),state));
state->m_digital_volume_timer->adjust(attotime::from_msec(100), 0, attotime::from_msec(100));
}
-
+
DRIVER_INIT_MEMBER(cps_state,cps2)
{
@@ -8220,9 +8220,9 @@ DRIVER_INIT_MEMBER(cps_state,cps2)
DRIVER_INIT_CALL(cps2_video);
m_cps2networkpresent = 0;
-
+
init_digital_volume(machine());
-
+
machine().device("maincpu")->set_clock_scale(0.7375f); /* RAM access waitstates etc. aren't emulated - slow the CPU to compensate */
}
@@ -8254,7 +8254,7 @@ DRIVER_INIT_MEMBER(cps_state,pzloop2)
DRIVER_INIT_MEMBER(cps_state,singbrd)
{
DRIVER_INIT_CALL(cps2);
-
+
/* the single board games don't have a digital volume switch */
m_cps2disabledigitalvolume = 1;
m_digital_volume_timer->adjust(attotime::never, 0, attotime::never);
@@ -8305,7 +8305,7 @@ DRIVER_INIT_MEMBER(cps_state,gigaman2)
machine().device("maincpu")->memory().space(AS_PROGRAM).install_legacy_readwrite_handler(0x618000, 0x619fff, FUNC(gigaman2_dummyqsound_r), FUNC(gigaman2_dummyqsound_w)); // no qsound..
space.set_decrypted_region(0x000000, (length) - 1, &rom[length/4]);
m68k_set_encrypted_opcode_range(machine().device("maincpu"), 0, length);
-
+
/* no digital volume switches on this? */
m_digital_volume_timer->adjust(attotime::never, 0, attotime::never);
}
diff --git a/src/mame/drivers/ddenlovr.c b/src/mame/drivers/ddenlovr.c
index 873e4448c67..d7de79882ac 100644
--- a/src/mame/drivers/ddenlovr.c
+++ b/src/mame/drivers/ddenlovr.c
@@ -1965,7 +1965,7 @@ READ16_MEMBER(dynax_state::ultrchmp_protection2_r)
}
WRITE16_MEMBER(dynax_state::ultrchmp_protection2_w)
{
-// COMBINE_DATA(m_protection2);
+// COMBINE_DATA(m_protection2);
m_oki->set_bank_base((data & 0xf) * 0x40000);
}
diff --git a/src/mame/drivers/dlair2.c b/src/mame/drivers/dlair2.c
index 10ad1facfbc..cae045a2e35 100644
--- a/src/mame/drivers/dlair2.c
+++ b/src/mame/drivers/dlair2.c
@@ -8,7 +8,7 @@ http://www.dragons-lair-project.com/tech/pages/dl2.asp
* Service Mode:
Press and hold the "Sword" button and "Service switch"
- (located inside coin door) - Release both buttons
+ (located inside coin door) - Release both buttons
* Rom version determines LD Image to use:
ROM revision 2.xx works only with a Dragon's Lair II disc, serial number
@@ -124,17 +124,17 @@ INPUT_PORTS_END
/*
static const gfx_layout charlayout =
{
- 8,8,
- RGN_FRAC(1,1),
- 1,
- { RGN_FRAC(0,1) },
- { 0, 1, 2, 3, 4, 5, 6, 7 },
- { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
- 8*8
+ 8,8,
+ RGN_FRAC(1,1),
+ 1,
+ { RGN_FRAC(0,1) },
+ { 0, 1, 2, 3, 4, 5, 6, 7 },
+ { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
+ 8*8
};
static GFXDECODE_START( dlair2 )
- GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 1 )
+ GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 1 )
GFXDECODE_END
*/
@@ -164,7 +164,7 @@ static MACHINE_CONFIG_START( dlair2, dlair2_state )
MCFG_SCREEN_SIZE(32*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 0*8, 32*8-1)
-// MCFG_GFXDECODE(dlair2)
+// MCFG_GFXDECODE(dlair2)
MCFG_PALETTE_LENGTH(256)
diff --git a/src/mame/drivers/dynax.c b/src/mame/drivers/dynax.c
index fb95c7eca24..aaeaa332ee4 100644
--- a/src/mame/drivers/dynax.c
+++ b/src/mame/drivers/dynax.c
@@ -3053,7 +3053,7 @@ static INPUT_PORTS_START( janyuki )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x18, 0x18, DEF_STR( Coinage ) )
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
-// PORT_DIPSETTING( 0x08, DEF_STR( 1C_1C ) )
+// PORT_DIPSETTING( 0x08, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x18, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x10, DEF_STR( 1C_2C ) )
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
diff --git a/src/mame/drivers/ecoinf3.c b/src/mame/drivers/ecoinf3.c
index a89f02b456b..1de0ceefad6 100644
--- a/src/mame/drivers/ecoinf3.c
+++ b/src/mame/drivers/ecoinf3.c
@@ -24,7 +24,7 @@ public:
ecoinf3_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
- {
+ {
strobe_amount = 0;
strobe_addr = 0;
}
@@ -68,17 +68,17 @@ public:
// guess, what are the bottom 4 bits, if anything?
int ret = m_optic_pattern | (ioport("IN0")->read() & 0xf);
-
+
// | 0x80 = reel 4 fault
// | 0x40 = reel 3 fault
// | 0x20 = reel 2 fault
// | 0x10 = reel 1 fault
logerror("%04x - ppi8255_intf_d_(used)read_b %02x (Reel Optics)\n", machine().device("maincpu")->safe_pcbase(), ret);
-
+
return ret;
-
-
+
+
} // changing goes from reel 1 error to running something in sphinx
DECLARE_READ8_MEMBER(ppi8255_intf_d_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_d_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
@@ -89,7 +89,7 @@ public:
logerror("%04x - ppi8255_intf_e_(used)read_b %02x\n", machine().device("maincpu")->safe_pcbase(), ret);
return ret;
}
-
+
DECLARE_READ8_MEMBER(ppi8255_intf_e_read_c) { int ret = 0x00; logerror("%04x - ppi8255_intf_e_read_c %02x\n", machine().device("maincpu")->safe_pcbase(), ret); return ret; }
DECLARE_READ8_MEMBER(ppi8255_intf_f_read_a)
@@ -122,7 +122,7 @@ public:
for (int bit=0;bit<16;bit++)
{
int data = ((m_lamps[i] << bit)&0x8000)>>15;
-
+
output_set_indexed_value("lamp", (i*16)+bit, data );
}
}
@@ -131,17 +131,17 @@ public:
DECLARE_WRITE8_MEMBER(ppi8255_intf_a_write_a_strobedat0)
{
- // logerror("%04x - ppi8255_intf_a_(used)write_a %02x (STROBEDAT?)\n", machine().device("maincpu")->safe_pcbase(), data);
+ // logerror("%04x - ppi8255_intf_a_(used)write_a %02x (STROBEDAT?)\n", machine().device("maincpu")->safe_pcbase(), data);
if (strobe_amount)
{
m_lamps[strobe_addr] = (m_lamps[strobe_addr] &0xff00) | (data & 0x00ff);
strobe_amount--;
}
}
-
+
DECLARE_WRITE8_MEMBER(ppi8255_intf_a_write_b_strobedat1)
{
- // logerror("%04x - ppi8255_intf_a_(used)write_b %02x (STROBEDAT?)\n", machine().device("maincpu")->safe_pcbase(), data);
+ // logerror("%04x - ppi8255_intf_a_(used)write_b %02x (STROBEDAT?)\n", machine().device("maincpu")->safe_pcbase(), data);
if (strobe_amount)
{
m_lamps[strobe_addr] = (m_lamps[strobe_addr] &0x00ff) | (data << 8);
@@ -152,13 +152,13 @@ public:
{
if ((data>=0xf0) && (data<=0xff))
{
- // logerror("%04x - ppi8255_intf_a_(used)write_c %02x (STROBE?)\n", machine().device("maincpu")->safe_pcbase(), data);
+ // logerror("%04x - ppi8255_intf_a_(used)write_c %02x (STROBE?)\n", machine().device("maincpu")->safe_pcbase(), data);
strobe_addr = data & 0xf;
-
+
// hack, it writes values for the lamps, then writes 0x00 afterwards, probably giving the bulbs power, then removing the power
// before switching the strobe to the next line?
strobe_amount = 2;
-
+
update_lamps();
}
else logerror("%04x - ppi8255_intf_a_(used)write_c %02x (UNUSUAL?)\n", machine().device("maincpu")->safe_pcbase(), data);
@@ -174,7 +174,7 @@ public:
DECLARE_WRITE8_MEMBER(ppi8255_intf_d_write_a_reel01)
{
-// logerror("%04x - ppi8255_intf_d_(used)write_a %02x\n", machine().device("maincpu")->safe_pcbase(), data);
+// logerror("%04x - ppi8255_intf_d_(used)write_a %02x\n", machine().device("maincpu")->safe_pcbase(), data);
stepper_update(0, data&0x0f);
stepper_update(1, (data>>4)&0x0f);
@@ -189,8 +189,8 @@ public:
DECLARE_WRITE8_MEMBER(ppi8255_intf_d_write_a_reel23)
{
-// logerror("%04x - ppi8255_intf_d_(used)write_b %02x\n", machine().device("maincpu")->safe_pcbase(), data);
-
+// logerror("%04x - ppi8255_intf_d_(used)write_b %02x\n", machine().device("maincpu")->safe_pcbase(), data);
+
stepper_update(2, data&0x0f);
stepper_update(3, (data>>4)&0x0f);
@@ -370,7 +370,7 @@ WRITE8_MEMBER(ecoinf3_state::ppi8255_intf_e_write_a_alpha_display)
// Sphinx - Writes "No % Key" -- depends on port 0x51, writes "SPHINX V- 1" if it's happy with that .. after that you get COIN TAMPER, a count down with COINS TRIM and a reboot
// Pennies from Heaven - same behavior as Sphinx
-
+
// typically writes a letter (sometimes twice) then 0x00, usually twice
if (data==0x00)
@@ -423,9 +423,9 @@ static I8255_INTERFACE (ppi8255_intf_e)
DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_read_a), /* Port A read */
DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_a_alpha_display), /* Port A write */ /* alpha display characters*/
DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_read_b), /* Port B read */
- DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_b), /* Port B write */ // not written at an appropriate time for it to be a 'send' address for the text
+ DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_b), /* Port B write */ // not written at an appropriate time for it to be a 'send' address for the text
DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_read_c), /* Port C read */
- DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_c) /* Port C write */ // not written at an appropriate time for it to be a 'send' address for the text
+ DEVCB_DRIVER_MEMBER(ecoinf3_state,ppi8255_intf_e_write_c) /* Port C write */ // not written at an appropriate time for it to be a 'send' address for the text
};
static I8255_INTERFACE (ppi8255_intf_f)
@@ -478,8 +478,8 @@ static ADDRESS_MAP_START( pyramid_portmap, AS_IO, 8, ecoinf3_state )
AM_RANGE(0x5c, 0x5f) AM_DEVREADWRITE("ppi8255_h", i8255_device, read, write)
// frequently accesses DB after 5B, mirror? bug?
AM_RANGE(0xDB, 0xDB) AM_DEVWRITE("sn1", sn76489_device, write) // no idea what the sound chip is, this sounds terrible
-
-
+
+
ADDRESS_MAP_END
@@ -697,7 +697,7 @@ static const sn76496_config psg_intf =
static MACHINE_CONFIG_START( ecoinf3_pyramid, ecoinf3_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", Z180,8000000) // certainly not a plain z80 at least, invalid opcodes for that
-
+
MCFG_CPU_PROGRAM_MAP(pyramid_memmap)
MCFG_CPU_IO_MAP(pyramid_portmap)
@@ -742,7 +742,7 @@ ROM_START( ec_pyrama )
ROM_END
ROM_START( ec_sphin ) /* the last 0x2000 bytes (unmapped?) are the same as on the ec_pyram set */
- ROM_REGION( 0x200000, "maincpu", 0 )
+ ROM_REGION( 0x200000, "maincpu", 0 )
ROM_LOAD( "spnx5p", 0x0000, 0x010000, CRC(b4b49259) SHA1(a26172b659b739564b25dcc0f3f31f131a144d52) )
ROM_END
@@ -803,16 +803,16 @@ DRIVER_INIT_MEMBER(ecoinf3_state,ecoinf3)
DRIVER_INIT_MEMBER(ecoinf3_state,ecoinf3_swap)
{
// not all sets have this, are they just badly dumped?
- UINT8 table[] =
+ UINT8 table[] =
{
- 0x48, 0x4c, 0x49, 0x4d, 0x40, 0x44, 0x41, 0x45, 0x68, 0x78, 0x60, 0x70, 0x6a, 0x7a, 0x62, 0x72,
- 0x08, 0x0c, 0x09, 0x0d, 0x00, 0x04, 0x01, 0x05, 0x6c, 0x7c, 0x64, 0x74, 0x6e, 0x7e, 0x66, 0x76,
+ 0x48, 0x4c, 0x49, 0x4d, 0x40, 0x44, 0x41, 0x45, 0x68, 0x78, 0x60, 0x70, 0x6a, 0x7a, 0x62, 0x72,
+ 0x08, 0x0c, 0x09, 0x0d, 0x00, 0x04, 0x01, 0x05, 0x6c, 0x7c, 0x64, 0x74, 0x6e, 0x7e, 0x66, 0x76,
0x58, 0x5c, 0x59, 0x5d, 0x50, 0x54, 0x51, 0x55, 0x28, 0x38, 0x20, 0x30, 0x2a, 0x3a, 0x22, 0x32,
0x18, 0x1c, 0x19, 0x1d, 0x10, 0x14, 0x11, 0x15, 0x2c, 0x3c, 0x24, 0x34, 0x2e, 0x3e, 0x26, 0x36,
0x56, 0x52, 0x57, 0x53, 0x5e, 0x5a, 0x5f, 0x5b, 0x75, 0x65, 0x7d, 0x6d, 0x77, 0x67, 0x7f ,0x6f,
- 0x16, 0x12, 0x17, 0x13, 0x1e, 0x1a, 0x1f, 0x1b, 0x71, 0x61, 0x79, 0x69, 0x73, 0x63, 0x7b, 0x6b,
- 0x46, 0x42, 0x47, 0x43, 0x4e, 0x4a, 0x4f, 0x4b, 0x35, 0x25, 0x3d, 0x2d, 0x37, 0x27, 0x3f ,0x2f,
- 0x06, 0x02, 0x07, 0x03, 0x0e, 0x0a, 0x0f, 0x0b, 0x31, 0x21, 0x39, 0x29, 0x33, 0x23, 0x3b, 0x2b,
+ 0x16, 0x12, 0x17, 0x13, 0x1e, 0x1a, 0x1f, 0x1b, 0x71, 0x61, 0x79, 0x69, 0x73, 0x63, 0x7b, 0x6b,
+ 0x46, 0x42, 0x47, 0x43, 0x4e, 0x4a, 0x4f, 0x4b, 0x35, 0x25, 0x3d, 0x2d, 0x37, 0x27, 0x3f ,0x2f,
+ 0x06, 0x02, 0x07, 0x03, 0x0e, 0x0a, 0x0f, 0x0b, 0x31, 0x21, 0x39, 0x29, 0x33, 0x23, 0x3b, 0x2b,
};
UINT8* buffer = auto_alloc_array(machine(), UINT8, 0x10000);
@@ -832,7 +832,7 @@ DRIVER_INIT_MEMBER(ecoinf3_state,ecoinf3_swap)
// another hw type (similar to stuff in ecoinf2.c) (watchdog on port 58?)
GAME( 19??, ec_pyram, 0 , ecoinf3_pyramid, ecoinf3, ecoinf3_state, ecoinf3_swap, ROT0, "Electrocoin", "Pyramid (v1) (Electrocoin)" , GAME_NO_SOUND|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING|GAME_MECHANICAL)
-GAME( 19??, ec_pyrama, ec_pyram , ecoinf3_pyramid, ecoinf3, ecoinf3_state, ecoinf3, ROT0, "Electrocoin", "Pyramid (v6) (Electrocoin)" , GAME_NO_SOUND|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING|GAME_MECHANICAL)
+GAME( 19??, ec_pyrama, ec_pyram , ecoinf3_pyramid, ecoinf3, ecoinf3_state, ecoinf3, ROT0, "Electrocoin", "Pyramid (v6) (Electrocoin)" , GAME_NO_SOUND|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING|GAME_MECHANICAL)
GAME( 19??, ec_sphin, 0 , ecoinf3_pyramid, ecoinf3, ecoinf3_state, ecoinf3_swap, ROT0, "Electrocoin", "Sphinx (v2) (Electrocoin) (set 1)" , GAME_NO_SOUND|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING|GAME_MECHANICAL)
GAME( 19??, ec_sphina, ec_sphin , ecoinf3_pyramid, ecoinf3, ecoinf3_state, ecoinf3, ROT0, "Electrocoin", "Sphinx (v2) (Electrocoin) (set 2)" , GAME_NO_SOUND|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING|GAME_MECHANICAL)
GAME( 19??, ec_sphinb, ec_sphin , ecoinf3_pyramid, ecoinf3, ecoinf3_state, ecoinf3, ROT0, "Electrocoin", "Sphinx (v1) (Electrocoin)" , GAME_NO_SOUND|GAME_REQUIRES_ARTWORK|GAME_NOT_WORKING|GAME_MECHANICAL)
diff --git a/src/mame/drivers/ertictac.c b/src/mame/drivers/ertictac.c
index b2ad7304eaf..cc871dad2d6 100644
--- a/src/mame/drivers/ertictac.c
+++ b/src/mame/drivers/ertictac.c
@@ -231,7 +231,7 @@ static MACHINE_CONFIG_START( ertictac, ertictac_state )
MCFG_CPU_PERIODIC_INT_DRIVER(ertictac_state, ertictac_podule_irq, 60) // FIXME: timing of this
MCFG_I2CMEM_ADD("i2cmem",i2cmem_interface)
-// MCFG_AAKART_ADD("kart", XTAL_24MHz/3) // TODO: frequency
+// MCFG_AAKART_ADD("kart", XTAL_24MHz/3) // TODO: frequency
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
diff --git a/src/mame/drivers/fcrash.c b/src/mame/drivers/fcrash.c
index ae6c1f6dd7f..3f2d1785e14 100644
--- a/src/mame/drivers/fcrash.c
+++ b/src/mame/drivers/fcrash.c
@@ -43,7 +43,7 @@ Also, it should be using a vblank irq value of 4. This triggers the following bo
- scroll 3Y is wrote at 0x980008
- scroll 3X is wrote at 0x98000a
- the layer enable and layer mask writes continue at 0x98000c and 0x980020-2
-
+
These read/writes are identical to those used by a Knights of the Round bootleg which uses the all sf2mdt sound
hardware. This set is currently non-working in cps1.c but I will move it here soon.
@@ -79,7 +79,7 @@ static WRITE16_HANDLER( fcrash_soundlatch_w )
WRITE16_MEMBER(cps_state::cawingbl_soundlatch_w)
{
cps_state *state = space.machine().driver_data<cps_state>();
-
+
if (ACCESSING_BITS_8_15)
{
state->soundlatch_byte_w(space, 0, data >> 8);
@@ -147,7 +147,7 @@ static WRITE8_HANDLER( fcrash_msm5205_1_data_w )
WRITE16_MEMBER(cps_state::kodb_layer_w)
{
cps_state *state = space.machine().driver_data<cps_state>();
-
+
/* layer enable and mask 1&2 registers are written here - passing them to m_cps_b_regs for now for drawing routines */
if (offset == 0x06)
state->m_cps_b_regs[m_layer_enable_reg / 2] = data;
@@ -162,11 +162,11 @@ WRITE16_MEMBER(cps_state::kodb_layer_w)
WRITE16_MEMBER(cps_state::sf2mdt_layer_w)
{
cps_state *state = space.machine().driver_data<cps_state>();
-
+
/* layer enable and scroll registers are written here - passing them to m_cps_b_regs and m_cps_a_regs for now for drawing routines
- the scroll layers aren't buttery smooth, due to the lack of using the row scroll address tables in the rendering code, this is also
- supported by the fact that the game doesn't write the table address anywhere */
-
+ the scroll layers aren't buttery smooth, due to the lack of using the row scroll address tables in the rendering code, this is also
+ supported by the fact that the game doesn't write the table address anywhere */
+
if (offset == 0x0086)
state->m_cps_a_regs[0x14 / 2] = data + 0xffce; /* scroll 3x */
else
@@ -179,10 +179,10 @@ WRITE16_MEMBER(cps_state::sf2mdt_layer_w)
if (offset == 0x0089)
state->m_cps_a_regs[0x0c / 2] = data + 0xffca; /* scroll 1x */
else
- if (offset == 0x008a) {
+ if (offset == 0x008a) {
state->m_cps_a_regs[0x12 / 2] = data; /* scroll 2y */
state->m_cps_a_regs[CPS1_ROWSCROLL_OFFS] = data; /* row scroll start */
- } else
+ } else
if (offset == 0x008b)
state->m_cps_a_regs[0x0e / 2] = data; /* scroll 1y */
else
@@ -193,11 +193,11 @@ WRITE16_MEMBER(cps_state::sf2mdt_layer_w)
WRITE16_MEMBER(cps_state::sf2mdta_layer_w)
{
cps_state *state = space.machine().driver_data<cps_state>();
-
+
/* layer enable and scroll registers are written here - passing them to m_cps_b_regs and m_cps_a_regs for now for drawing routines
- the scroll layers aren't buttery smooth, due to the lack of using the row scroll address tables in the rendering code, this is also
- supported by the fact that the game doesn't write the table address anywhere */
-
+ the scroll layers aren't buttery smooth, due to the lack of using the row scroll address tables in the rendering code, this is also
+ supported by the fact that the game doesn't write the table address anywhere */
+
if (offset == 0x0086)
state->m_cps_a_regs[0x0c / 2] = data + 0xffbe; /* scroll 1x */
else
@@ -256,16 +256,16 @@ static void fcrash_render_sprites( running_machine &machine, bitmap_ind16 &bitma
// on kodb, it might still be, unless that's just a leftover and it writes somewhere else too
// if (state->m_cps_a_regs[0] & 0x00ff) base = 0x10c8/2;
// printf("cps1_cps_a_regs %04x\n", state->m_cps_a_regs[0]);
-
+
/* if we have separate sprite ram, use it */
if (state->m_bootleg_sprite_ram) sprite_ram = state->m_bootleg_sprite_ram;
-
+
/* get end of sprite list marker */
for (pos = 0x1ffc; pos >= 0x0000; pos -= 4)
{
if (sprite_ram[base + pos - 1] == state->m_sprite_list_end_marker) last_sprite_offset = pos;
}
-
+
for (pos = last_sprite_offset; pos >= 0x0000; pos -= 4)
{
int tileno;
@@ -283,7 +283,7 @@ static void fcrash_render_sprites( running_machine &machine, bitmap_ind16 &bitma
colour = sprite_ram[base + pos + 1] & 0x1f;
ypos = 256 - ypos;
xpos += state->m_sprite_x_offset;
-
+
pdrawgfx_transpen(bitmap, cliprect, machine.gfx[2], tileno, colour, flipx, flipy, xpos + 49, ypos - 16, machine.priority_bitmap, 0x02, 15);
}
@@ -329,10 +329,10 @@ static void fcrash_build_palette( running_machine &machine )
{
cps_state *state = machine.driver_data<cps_state>();
int offset;
-
+
// all the bootlegs seem to write the palette offset as usual
int palettebase = (state->m_cps_a_regs[0x0a / 2] << 8) & 0x1ffff;
-
+
for (offset = 0; offset < 32 * 6 * 16; offset++)
{
int palette = state->m_gfxram[palettebase / 2 + offset];
@@ -645,7 +645,7 @@ static INPUT_PORTS_START( cawingbl )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
PORT_SERVICE_NO_TOGGLE( 0x40, IP_ACTIVE_LOW )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
+
PORT_START("IN1")
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1)
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
@@ -834,7 +834,7 @@ static INPUT_PORTS_START( sf2mdt )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P2 Jab Punch") PORT_PLAYER(2)
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P2 Strong Punch") PORT_PLAYER(2)
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P2 Fierce Punch") PORT_PLAYER(2)
- PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_START("IN2") /* Extra buttons */
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("P1 Short Kick") PORT_PLAYER(1)
@@ -908,7 +908,7 @@ MACHINE_START_MEMBER(cps_state,fcrash)
m_audiocpu = machine().device<cpu_device>("soundcpu");
m_msm_1 = machine().device<msm5205_device>("msm1");
m_msm_2 = machine().device<msm5205_device>("msm2");
-
+
m_layer_enable_reg = 0x20;
m_layer_mask_reg[0] = 0x26;
m_layer_mask_reg[1] = 0x30;
@@ -931,7 +931,7 @@ MACHINE_START_MEMBER(cps_state,kodb)
{
m_maincpu = machine().device<cpu_device>("maincpu");
m_audiocpu = machine().device<cpu_device>("soundcpu");
-
+
m_layer_enable_reg = 0x20;
m_layer_mask_reg[0] = 0x2e;
m_layer_mask_reg[1] = 0x2c;
@@ -948,7 +948,7 @@ MACHINE_START_MEMBER(cps_state,kodb)
MACHINE_START_MEMBER(cps_state, cawingbl)
{
MACHINE_START_CALL_MEMBER(fcrash);
-
+
m_layer_enable_reg = 0x0c;
m_layer_mask_reg[0] = 0x0a;
m_layer_mask_reg[1] = 0x08;
@@ -970,7 +970,7 @@ MACHINE_START_MEMBER(cps_state, sf2mdt)
m_audiocpu = machine().device<cpu_device>("soundcpu");
m_msm_1 = machine().device<msm5205_device>("msm1");
m_msm_2 = machine().device<msm5205_device>("msm2");
-
+
m_layer_enable_reg = 0x26;
m_layer_mask_reg[0] = 0x28;
m_layer_mask_reg[1] = 0x2a;
@@ -1052,7 +1052,7 @@ static MACHINE_CONFIG_DERIVED( cawingbl, fcrash )
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_VBLANK_INT_DRIVER("screen", cps_state, irq6_line_hold) /* needed to write to scroll values */
-
+
MCFG_MACHINE_START_OVERRIDE(cps_state, cawingbl)
MACHINE_CONFIG_END
@@ -1247,7 +1247,7 @@ ROM_START( cawingbl )
ROMX_LOAD( "caw6.bin", 0x000001, 0x80000, CRC(61192f7c) SHA1(86643c62653a62a5c7541d50cfdecae9b607440d) , ROM_SKIP(3) )
ROMX_LOAD( "caw5.bin", 0x000002, 0x80000, CRC(30dd78db) SHA1(e0295001d6f5fb4a9276c432f971e88f73c5e39a) , ROM_SKIP(3) )
ROMX_LOAD( "caw4.bin", 0x000003, 0x80000, CRC(4937fc41) SHA1(dac179715be483a521df8e515afc1fb7a2cd8f13) , ROM_SKIP(3) )
-
+
ROM_REGION( 0x30000, "soundcpu", 0 ) /* 64k for the audio CPU (+banks) */
ROM_LOAD( "caw3.bin", 0x00000, 0x20000, CRC(ffe16cdc) SHA1(8069ea69f0b89d61c35995c8040a4989d7be9c1f) )
ROM_RELOAD( 0x10000, 0x20000 )
@@ -1263,7 +1263,7 @@ ROM_START( cawingb2 )
ROM_LOAD16_BYTE( "2.2", 0x80001, 0x20000, CRC(736c1835) SHA1(a91f479fab30603a111304adc0478d430faa80fc) )
ROM_LOAD16_BYTE( "5.5", 0xc0000, 0x20000, CRC(76458083) SHA1(cbb4ef5f7615c834b2ee1ad3c86e7262f2f62c01) )
ROM_LOAD16_BYTE( "1.1", 0xc0001, 0x20000, CRC(d3523f34) SHA1(005ea378c2b78782f85ecc591946c027ca2ca023) )
-
+
ROM_REGION( 0x200000, "gfx", 0 )
ROMX_LOAD( "17.17", 0x000000, 0x20000, CRC(0b538062) SHA1(ac6e5dc82efdca311adfe6e6cdda160ad4a0d04d) , ROM_SKIP(3) )
ROMX_LOAD( "19.19", 0x000001, 0x20000, CRC(3ad62311) SHA1(1c132696b55191d16af30ebd36d2320d979eab36) , ROM_SKIP(3) )
@@ -1281,7 +1281,7 @@ ROM_START( cawingb2 )
ROMX_LOAD( "12.12", 0x180001, 0x20000, CRC(490440b2) SHA1(2597bf16340308f84b32cfa048c426db571b4a35) , ROM_SKIP(3) )
ROMX_LOAD( "14.14", 0x180002, 0x20000, CRC(344a8270) SHA1(fdb588a7ba60783225e3b5c72446f79625de4f9c) , ROM_SKIP(3) )
ROMX_LOAD( "16.16", 0x180003, 0x20000, CRC(b991ad91) SHA1(5c59131ddf068cb54d23f8836293360fbc967d58) , ROM_SKIP(3) )
-
+
ROM_REGION( 0x30000, "soundcpu", 0 ) /* 64k for the audio CPU (+banks) */
ROM_LOAD( "5.a", 0x00000, 0x20000, CRC(ffe16cdc) SHA1(8069ea69f0b89d61c35995c8040a4989d7be9c1f) )
ROM_RELOAD( 0x10000, 0x20000 )
@@ -1416,9 +1416,9 @@ DRIVER_INIT_MEMBER(cps_state, kodb)
machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_handler(0x800018, 0x80001f, read16_delegate(FUNC(cps_state::cps1_dsw_r),this));
machine().device("maincpu")->memory().space(AS_PROGRAM).install_write_handler(0x800180, 0x800187, write16_delegate(FUNC(cps_state::cps1_soundlatch_w),this));
machine().device("maincpu")->memory().space(AS_PROGRAM).install_write_handler(0x980000, 0x98002f, write16_delegate(FUNC(cps_state::kodb_layer_w),this));
-
+
/* the original game alternates between 2 sprite ram areas to achieve flashing sprites - the bootleg doesn't do the write to the register to achieve this
- mapping both sprite ram areas to the same bootleg sprite ram - similar to how sf2mdt works */
+ mapping both sprite ram areas to the same bootleg sprite ram - similar to how sf2mdt works */
m_bootleg_sprite_ram = (UINT16*)machine().device("maincpu")->memory().space(AS_PROGRAM).install_ram(0x900000, 0x902fff);
machine().device("maincpu")->memory().space(AS_PROGRAM).install_ram(0x904000, 0x906fff, m_bootleg_sprite_ram); /* both of these need to be mapped */
@@ -1450,17 +1450,17 @@ DRIVER_INIT_MEMBER(cps_state, sf2mdt)
rom[i + 3] = rom[i + 6];
rom[i + 6] = tmp;
}
-
+
machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_handler(0x70c018, 0x70c01f, read16_delegate(FUNC(cps_state::cps1_dsw_r),this));
machine().device("maincpu")->memory().space(AS_PROGRAM).install_write_handler(0x708000, 0x708fff, write16_delegate(FUNC(cps_state::sf2mdt_layer_w),this));
machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_port(0x70c000, 0x70c001, "IN1");
machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_port(0x70c008, 0x70c009, "IN2");
-
+
/* bootleg sprite ram */
m_bootleg_sprite_ram = (UINT16*)machine().device("maincpu")->memory().space(AS_PROGRAM).install_ram(0x700000, 0x703fff);
machine().device("maincpu")->memory().space(AS_PROGRAM).install_ram(0x704000, 0x707fff, m_bootleg_sprite_ram); /* both of these need to be mapped - see the "Magic Delta Turbo" text on the title screen */
machine().device("maincpu")->memory().space(AS_PROGRAM).install_write_handler(0x70c106, 0x70c107, write16_delegate(FUNC(cps_state::cawingbl_soundlatch_w),this));
-
+
machine().device("maincpu")->memory().space(AS_PROGRAM).unmap_write(0x800030, 0x800031); /* coin lockout doesn't work (unmap it) */
DRIVER_INIT_CALL(cps1);
@@ -1472,14 +1472,14 @@ DRIVER_INIT_MEMBER(cps_state, sf2mdta)
machine().device("maincpu")->memory().space(AS_PROGRAM).install_write_handler(0x708000, 0x708fff, write16_delegate(FUNC(cps_state::sf2mdta_layer_w),this));
machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_port(0x70c000, 0x70c001, "IN1");
machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_port(0x70c008, 0x70c009, "IN2");
-
+
/* bootleg sprite ram */
m_bootleg_sprite_ram = (UINT16*)machine().device("maincpu")->memory().space(AS_PROGRAM).install_ram(0x700000, 0x703fff);
machine().device("maincpu")->memory().space(AS_PROGRAM).install_ram(0x704000, 0x707fff, m_bootleg_sprite_ram); /* both of these need to be mapped - see the "Magic Delta Turbo" text on the title screen */
machine().device("maincpu")->memory().space(AS_PROGRAM).install_write_handler(0x70c106, 0x70c107, write16_delegate(FUNC(cps_state::cawingbl_soundlatch_w),this));
-
+
m_bootleg_work_ram = (UINT16*)machine().device("maincpu")->memory().space(AS_PROGRAM).install_ram(0xfc0000, 0xfcffff); /* this has moved */
-
+
machine().device("maincpu")->memory().space(AS_PROGRAM).unmap_write(0x800030, 0x800031); /* coin lockout doesn't work (unmap it) */
DRIVER_INIT_CALL(cps1);
diff --git a/src/mame/drivers/firebeat.c b/src/mame/drivers/firebeat.c
index dd833ae922f..83001eb0302 100644
--- a/src/mame/drivers/firebeat.c
+++ b/src/mame/drivers/firebeat.c
@@ -2450,7 +2450,7 @@ ROM_START( popn4 )
ROM_REGION(0x400000, "ymz", ROMREGION_ERASE00)
ROM_REGION(0xc0, "user2", ROMREGION_ERASE00) // Security dongle
- ROM_LOAD( "gq986-ja", 0x000000, 0x0000c0, CRC(6f8aa811) SHA1(fc970f6b4ada58eee361b3477abe503019b5dfda) )
+ ROM_LOAD( "gq986-ja", 0x000000, 0x0000c0, CRC(6f8aa811) SHA1(fc970f6b4ada58eee361b3477abe503019b5dfda) )
ROM_REGION(0x80000, "audiocpu", 0) // SPU 68K program
ROM_LOAD16_WORD_SWAP("a02jaa04.3q", 0x00000, 0x80000, CRC(8c6000dd) SHA1(94ab2a66879839411eac6c673b25143d15836683))
@@ -2458,7 +2458,7 @@ ROM_START( popn4 )
DISK_REGION( "scsi0" ) // program CD-ROM
DISK_IMAGE_READONLY( "gq986jaa01", 0, SHA1(e5368ac029b0bdf29943ae66677b5521ae1176e1) )
- DISK_REGION( "scsi1" ) // data DVD-ROM
+ DISK_REGION( "scsi1" ) // data DVD-ROM
DISK_IMAGE( "gq986jaa02", 1, SHA1(53367d3d5f91422fe386c42716492a0ae4332390) )
ROM_END
@@ -2469,7 +2469,7 @@ ROM_START( popn5 )
ROM_REGION(0x400000, "ymz", ROMREGION_ERASE00)
ROM_REGION(0xc0, "user2", ROMREGION_ERASE00) // Security dongle
- ROM_LOAD( "gca04-ja", 0x000000, 0x0000c0, CRC(7724fdbf) SHA1(b1b2d838d1938d9dc15151b7834502c1668bd31b) )
+ ROM_LOAD( "gca04-ja", 0x000000, 0x0000c0, CRC(7724fdbf) SHA1(b1b2d838d1938d9dc15151b7834502c1668bd31b) )
ROM_REGION(0x80000, "audiocpu", 0) // SPU 68K program
ROM_LOAD16_WORD_SWAP( "a02jaa04.3q", 0x000000, 0x080000, CRC(8c6000dd) SHA1(94ab2a66879839411eac6c673b25143d15836683) )
@@ -2496,7 +2496,7 @@ ROM_START( popn6 )
DISK_REGION( "scsi0" ) // program CD-ROM
DISK_IMAGE_READONLY( "gqa16jaa01", 0, SHA1(7a7e475d06c74a273f821fdfde0743b33d566e4c) )
- DISK_REGION( "scsi1" ) // data DVD-ROM
+ DISK_REGION( "scsi1" ) // data DVD-ROM
DISK_IMAGE( "gqa16jaa02", 1, SHA1(e39067300e9440ff19cb98c1abc234fa3d5b26d1) )
ROM_END
@@ -2597,7 +2597,7 @@ ROM_START( bm37th )
ROM_REGION(0x400000, "ymz", ROMREGION_ERASE00)
ROM_REGION(0xc0, "user2", ROMREGION_ERASE00) // Security dongle
- ROM_LOAD( "gcb07-jc", 0x000000, 0x0000c0, CRC(16115b6a) SHA1(dcb2a3346973941a946b2cdfd31a5a761f666ca3) )
+ ROM_LOAD( "gcb07-jc", 0x000000, 0x0000c0, CRC(16115b6a) SHA1(dcb2a3346973941a946b2cdfd31a5a761f666ca3) )
ROM_REGION(0x80000, "audiocpu", 0) // SPU 68K program
ROM_LOAD16_WORD_SWAP("a02jaa04.3q", 0x00000, 0x80000, BAD_DUMP CRC(8c6000dd) SHA1(94ab2a66879839411eac6c673b25143d15836683))
@@ -2637,9 +2637,9 @@ GAME( 2000, ppp1mp, ppp, firebeat, ppp, firebeat_state, ppp,
GAMEL(2000, kbm, 0, firebeat2, kbm, firebeat_state, kbm, ROT270, "Konami", "Keyboardmania", GAME_NOT_WORKING, layout_firebeat)
GAMEL(2000, kbm2nd, 0, firebeat2, kbm, firebeat_state, kbm, ROT270, "Konami", "Keyboardmania 2nd Mix", GAME_NOT_WORKING, layout_firebeat)
GAMEL(2001, kbm3rd, 0, firebeat2, kbm, firebeat_state, kbm, ROT270, "Konami", "Keyboardmania 3rd Mix", GAME_NOT_WORKING, layout_firebeat)
-GAME( 2000, popn4, 0, firebeat_spu, popn, firebeat_state, ppp, ROT0, "Konami", "Pop'n Music 4", GAME_NOT_WORKING)
+GAME( 2000, popn4, 0, firebeat_spu, popn, firebeat_state, ppp, ROT0, "Konami", "Pop'n Music 4", GAME_NOT_WORKING)
GAME( 2000, popn5, 0, firebeat_spu, popn, firebeat_state, ppp, ROT0, "Konami", "Pop'n Music 5", GAME_NOT_WORKING)
-GAME( 2001, popn6, 0, firebeat_spu, popn, firebeat_state, ppp, ROT0, "Konami", "Pop'n Music 6", GAME_NOT_WORKING)
+GAME( 2001, popn6, 0, firebeat_spu, popn, firebeat_state, ppp, ROT0, "Konami", "Pop'n Music 6", GAME_NOT_WORKING)
GAME( 2001, popn7, 0, firebeat_spu, popn, firebeat_state, ppp, ROT0, "Konami", "Pop'n Music 7", GAME_NOT_WORKING)
GAME( 2001, popnanm2, 0, firebeat_spu, popn, firebeat_state, ppp, ROT0, "Konami", "Pop'n Music Animelo 2", GAME_NOT_WORKING)
GAME( 2002, popn8, 0, firebeat_spu, popn, firebeat_state, ppp, ROT0, "Konami", "Pop'n Music 8", GAME_NOT_WORKING)
diff --git a/src/mame/drivers/galdrvr.c b/src/mame/drivers/galdrvr.c
index 33e112ce7f5..ed058090841 100644
--- a/src/mame/drivers/galdrvr.c
+++ b/src/mame/drivers/galdrvr.c
@@ -5364,7 +5364,7 @@ ROM_START( froggrs )
ROM_REGION( 0x1000, "gfx1", 0 )
ROM_LOAD( "frogger.607", 0x0000, 0x0800, CRC(05f7d883) SHA1(78831fd287da18928651a8adb7e578d291493eff) )
ROM_LOAD( "frogger.606", 0x0800, 0x0800, CRC(f524ee30) SHA1(dd768967add61467baa08d5929001f157d6cd911) )
-
+
ROM_REGION( 0x0020, "proms", 0 )
ROM_LOAD( "pr-91.6l", 0x0000, 0x0020, CRC(413703bf) SHA1(66648b2b28d3dcbda5bdb2605d1977428939dd3c) )
ROM_END
diff --git a/src/mame/drivers/headonb.c b/src/mame/drivers/headonb.c
index f3dad93ba62..db5dab75b3e 100644
--- a/src/mame/drivers/headonb.c
+++ b/src/mame/drivers/headonb.c
@@ -6,7 +6,7 @@
It's on much cheaper hardware than the original: 8080 instead of Z80,
and less RAM needed with the gfx tiles being on ROM.
-
+
TODO:
- Sound is unknown, probably simple and discrete
- wrong coin handling, it writes to port $01 to reset coin status?
diff --git a/src/mame/drivers/jpmimpctsw.c b/src/mame/drivers/jpmimpctsw.c
index 03563e91615..8113f18b51c 100644
--- a/src/mame/drivers/jpmimpctsw.c
+++ b/src/mame/drivers/jpmimpctsw.c
@@ -18,8 +18,8 @@ INPUT_PORTS_EXTERN( tbirds );
// ROM_LOAD16_BYTE( "fce.p1", 0x00000, 0x020000, CRC(57220618) SHA1(7bd717e438e2bf230179b0f5bb358888a3501c59) )
// ROM_LOAD16_BYTE( "fce.p2", 0x00001, 0x020000, CRC(16d20bc6) SHA1(0e8ac586ccf3d02189e24bdd2ed88052491aceb6) )
// j6cas5
-// ROM_LOAD16_BYTE( "c-1.bin", 0x000000, 0x020000, CRC(fc45950a) SHA1(8721758e8f2ac41f26700965ed942cd1a311bb22) )
-// ROM_LOAD16_BYTE( "c-2.bin", 0x000001, 0x020000, CRC(e36aaf42) SHA1(c9da129f85c7b8ce27ea8cb9f090ae647eeac10d) )
+// ROM_LOAD16_BYTE( "c-1.bin", 0x000000, 0x020000, CRC(fc45950a) SHA1(8721758e8f2ac41f26700965ed942cd1a311bb22) )
+// ROM_LOAD16_BYTE( "c-2.bin", 0x000001, 0x020000, CRC(e36aaf42) SHA1(c9da129f85c7b8ce27ea8cb9f090ae647eeac10d) )
// the 68k dies on many sets, but this seems to be due to our emulation, not a problem with the sets
@@ -366,7 +366,7 @@ ROM_START( j6bigbnko ) // are the numbers correct?
j6bigbnk_sound
ROM_END
-ROM_START( j6bigbnkp )
+ROM_START( j6bigbnkp )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "bbv4p18c", 0x000000, 0x020000, CRC(793d3d36) SHA1(d62e2ee62ed4f3a19c05edae1ea092679a57e8a5) ) // aka bb841ac
ROM_LOAD16_BYTE( "bbv48p2", 0x000001, 0x020000, CRC(96a9f1f5) SHA1(2b8b4f06edbe35f5b73d25bac8a973feeaa77b47) )
@@ -1010,70 +1010,70 @@ ROM_START( j6cshvgsi )
ROM_LOAD16_BYTE( "cvs-11.bin", 0x000000, 0x020000, CRC(895e45db) SHA1(15e2c51a08827322ed34220178476d87cce0b615) )
ROM_LOAD16_BYTE( "cvs-12.bin", 0x000001, 0x020000, CRC(97aa7764) SHA1(d9a9db1112ccd2721a52ab45de9c0dc85ba027a1) )
j6cshvgs_sound
-ROM_END
+ROM_END
ROM_START( j6cshvgsj )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cvs-1a1.bin", 0x000000, 0x020000, CRC(db9a85ba) SHA1(9f459629aebcb4842e726c6c55427cd253e5eca8) )
ROM_LOAD16_BYTE( "cvs-12.bin", 0x000001, 0x020000, CRC(97aa7764) SHA1(d9a9db1112ccd2721a52ab45de9c0dc85ba027a1) )
j6cshvgs_sound
-ROM_END
+ROM_END
ROM_START( j6cshvgsk )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cvs-1n1.bin", 0x000000, 0x020000, CRC(b868fd1f) SHA1(3aefc4f96ea4dc386f98dd2fd70626c1b7e49c54) )
ROM_LOAD16_BYTE( "cvs-12.bin", 0x000001, 0x020000, CRC(97aa7764) SHA1(d9a9db1112ccd2721a52ab45de9c0dc85ba027a1) )
j6cshvgs_sound
-ROM_END
+ROM_END
ROM_START( j6cshvgsl )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cvs-1np1.bin", 0x000000, 0x020000, CRC(53f6a927) SHA1(6ba558699a3e64c7f785d963174e114dc208c253) )
ROM_LOAD16_BYTE( "cvs-12.bin", 0x000001, 0x020000, CRC(97aa7764) SHA1(d9a9db1112ccd2721a52ab45de9c0dc85ba027a1) )
j6cshvgs_sound
-ROM_END
+ROM_END
ROM_START( j6cshvgsm )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cvs-1p1.bin", 0x000000, 0x020000, CRC(62c011e3) SHA1(6d075f07583588f57ba9b21404e4dc292ebac1db) )
ROM_LOAD16_BYTE( "cvs-12.bin", 0x000001, 0x020000, CRC(97aa7764) SHA1(d9a9db1112ccd2721a52ab45de9c0dc85ba027a1) )
j6cshvgs_sound
-ROM_END
+ROM_END
ROM_START( j6cshvgsn )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cvs-41.bin", 0x000000, 0x020000, CRC(48c01ca7) SHA1(17d961b43cf7dc65fc67f3991ecd8839314885bc) )
ROM_LOAD16_BYTE( "cvs-42.bin", 0x000001, 0x020000, CRC(d30d313c) SHA1(f3b3195e376702d9239d520e1bfe5733c91f9164) )
j6cshvgs_sound
-ROM_END
+ROM_END
ROM_START( j6cshvgso )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cvs-4a1.bin", 0x000000, 0x020000, CRC(1a04dcc6) SHA1(6a1134aaa86ef37b4a092b8e6893f34d88a313a7) )
ROM_LOAD16_BYTE( "cvs-42.bin", 0x000001, 0x020000, CRC(d30d313c) SHA1(f3b3195e376702d9239d520e1bfe5733c91f9164) )
j6cshvgs_sound
-ROM_END
+ROM_END
ROM_START( j6cshvgsp )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cvs-4l1.bin", 0x000000, 0x020000, CRC(79f6a463) SHA1(5d48edc10dba3e4db3dad260bdc038aeeeababeb) )
ROM_LOAD16_BYTE( "cvs-42.bin", 0x000001, 0x020000, CRC(d30d313c) SHA1(f3b3195e376702d9239d520e1bfe5733c91f9164) )
j6cshvgs_sound
-ROM_END
+ROM_END
ROM_START( j6cshvgsq )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cvs-4lp1.bin", 0x000000, 0x020000, CRC(9268f05b) SHA1(d2fb3ce71943fd07f16887c414e3313b3fe2094e) )
ROM_LOAD16_BYTE( "cvs-42.bin", 0x000001, 0x020000, CRC(d30d313c) SHA1(f3b3195e376702d9239d520e1bfe5733c91f9164) )
j6cshvgs_sound
-ROM_END
+ROM_END
ROM_START( j6cshvgsr )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cvs-4p1.bin", 0x000000, 0x020000, CRC(a35e489f) SHA1(f652e1380a5b8a5c7953d88d1bcc51e94bb05f98) )
ROM_LOAD16_BYTE( "cvs-42.bin", 0x000001, 0x020000, CRC(d30d313c) SHA1(f3b3195e376702d9239d520e1bfe5733c91f9164) )
j6cshvgs_sound
-ROM_END
+ROM_END
#define j6cas5_sound \
ROM_REGION( 0x80000, "upd", ROMREGION_ERASE00 ) \
@@ -1424,56 +1424,56 @@ ROM_END
ROM_START( j6casclaf )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cccc-c1.bin", 0x000000, 0x020000, CRC(959e802d) SHA1(73d32ad724da30131d3d7125bdb6b74a49e6e29e) )
- ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
+ ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
j6cascla_sound
ROM_END
ROM_START( j6casclag )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cccc-cb1.bin", 0x000000, 0x020000, CRC(8148727e) SHA1(022d44edc60a8df6874f34973734515f5a4b180b) )
- ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
+ ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
j6cascla_sound
ROM_END
ROM_START( j6casclah )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cccc-ce1.bin", 0x000000, 0x020000, CRC(8d05dc4f) SHA1(9308f51e64415688a87185b9258d70ae82045f2e) )
- ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
+ ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
j6cascla_sound
ROM_END
ROM_START( j6casclai )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cccc-cf1.bin", 0x000000, 0x020000, CRC(5144633d) SHA1(c52c512adddc90821aac85743f12acae34c82320) )
- ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
+ ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
j6cascla_sound
ROM_END
ROM_START( j6casclaj )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cccc-cn1.bin", 0x000000, 0x020000, CRC(f7f3f1a5) SHA1(ebbff1909e91ce708a97f4ed2b5811c47951d27a) )
- ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
+ ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
j6cascla_sound
ROM_END
ROM_START( j6casclak )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cccc-cp1.bin", 0x000000, 0x020000, CRC(7e00d415) SHA1(d2f08457cd638479bb7c3c7a2673894b59e727c3) )
- ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
+ ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
j6cascla_sound
ROM_END
ROM_START( j6casclal )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cccccnp1.bin", 0x000000, 0x020000, CRC(1c6da59d) SHA1(ab77a898e000c2fecf8ef266390f1aea399d763d) )
- ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
+ ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
j6cascla_sound
ROM_END
ROM_START( j6casclam )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "cccccep1.bin", 0x000000, 0x020000, CRC(669b8877) SHA1(48372a46ff03d361e3f04bd224ce887c84689aaf) )
- ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
+ ROM_LOAD16_BYTE( "cccc-c2.bin", 0x000001, 0x020000, CRC(c91c14ce) SHA1(a0aea950f45e0e110b5a8ff5e12590dd5822f31b) )
j6cascla_sound
ROM_END
@@ -3035,14 +3035,14 @@ ROM_END
ROM_START( j6hapyhr )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "20426.bin", 0x000000, 0x020000, CRC(58f6ceb5) SHA1(5ca6861d1532ede848f672fe08152dcd0f65be95) )
- ROM_LOAD16_BYTE( "20427.bin", 0x000001, 0x020000, CRC(3de94b07) SHA1(ce1a712845ccc5fa9ef92b3d07f8872afeec88f8) )
+ ROM_LOAD16_BYTE( "20427.bin", 0x000001, 0x020000, CRC(3de94b07) SHA1(ce1a712845ccc5fa9ef92b3d07f8872afeec88f8) )
j6hapyhr_sound
ROM_END
ROM_START( j6hapyhra )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "20428.bin", 0x000000, 0x020000, CRC(b3689a8d) SHA1(4f690ec96f1b5e0ed30023016de767c132356430) )
- ROM_LOAD16_BYTE( "20427.bin", 0x000001, 0x020000, CRC(3de94b07) SHA1(ce1a712845ccc5fa9ef92b3d07f8872afeec88f8) )
+ ROM_LOAD16_BYTE( "20427.bin", 0x000001, 0x020000, CRC(3de94b07) SHA1(ce1a712845ccc5fa9ef92b3d07f8872afeec88f8) )
j6hapyhr_sound
ROM_END
@@ -3394,42 +3394,42 @@ ROM_START( j6impulsa )
ROM_LOAD16_BYTE( "imp6p1", 0x000000, 0x020000, CRC(2abd3397) SHA1(36d6286d6de6c1b205ca1e593118bf5ef15e108b) )
ROM_LOAD16_BYTE( "imp6p2", 0x000001, 0x020000, CRC(6d8ae792) SHA1(9e703f3e4c6e74866f8a6c187851c416905dc076) )
j6impuls_sound
-ROM_END
-
+ROM_END
+
ROM_START( j6impulsb )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "impu6p1a", 0x000000, 0x020000, CRC(7879f3f6) SHA1(a7e5e55946ed63bf7fd84ac8cce46102a850bae4) )
ROM_LOAD16_BYTE( "imp6p2", 0x000001, 0x020000, CRC(6d8ae792) SHA1(9e703f3e4c6e74866f8a6c187851c416905dc076) )
j6impuls_sound
-ROM_END
+ROM_END
ROM_START( j6impulsc )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "impu-7s1.bin", 0x000000, 0x020000, CRC(93033ab0) SHA1(6b94c72ba09a2b3bf343f199a61871f18b67ed10) )
ROM_LOAD16_BYTE( "impu-7s2.bin", 0x000001, 0x020000, CRC(cead0007) SHA1(f5d701bd2f1d85fd907666d0fbe217dbeaae1ba7) )
j6impuls_sound
-ROM_END
+ROM_END
ROM_START( j6impulsd )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "impu-7a1.bin", 0x000000, 0x020000, CRC(c1c7fad1) SHA1(a28db0949be931192ebacf6dc67a1b652fd048c2) )
ROM_LOAD16_BYTE( "impu-7s2.bin", 0x000001, 0x020000, CRC(cead0007) SHA1(f5d701bd2f1d85fd907666d0fbe217dbeaae1ba7) )
j6impuls_sound
-ROM_END
+ROM_END
ROM_START( j6impulse )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "impu-7p1.bin", 0x000000, 0x020000, CRC(789d6e88) SHA1(0b65f00b6fed5fbdd89d9ba06ebe7d17a97344d6) )
ROM_LOAD16_BYTE( "impu-7s2.bin", 0x000001, 0x020000, CRC(cead0007) SHA1(f5d701bd2f1d85fd907666d0fbe217dbeaae1ba7) )
j6impuls_sound
-ROM_END
+ROM_END
ROM_START( j6impulsf )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "impu-7wp.bin", 0x000000, 0x020000, CRC(1af01f00) SHA1(0d3fcaa1105a5dd00d4154027dcdac6b35eb2342) )
ROM_LOAD16_BYTE( "impu-7s2.bin", 0x000001, 0x020000, CRC(cead0007) SHA1(f5d701bd2f1d85fd907666d0fbe217dbeaae1ba7) )
j6impuls_sound
-ROM_END
+ROM_END
#define j6indy_sound \
@@ -3521,10 +3521,10 @@ ROM_START( j6indyk )
ROM_LOAD16_BYTE( "7494.bin", 0x000001, 0x020000, CRC(4ddf626b) SHA1(4bbfd86530cd1a8b7b4da4e9b36d0e1d61e5d120) )
j6indy_sound
ROM_END
-
-
-
-
+
+
+
+
ROM_START( j6indyge )
@@ -4504,14 +4504,14 @@ ROM_START( j6phxgldf )
ROM_LOAD16_BYTE( "pg30sl_02_1.b8", 0x000000, 0x020000, CRC(0fc9de3d) SHA1(590f581f144344947b17ff05345f46ce240572bb) )
ROM_LOAD16_BYTE( "pg30sl_02_2.b8", 0x000001, 0x020000, CRC(85702a38) SHA1(014ed2f9c25f6f9d35288cbe99b2cab1fac3569b) )
j6phxgld_sound
-ROM_END
+ROM_END
ROM_START( j6phxgldg )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "pg75cz1_1.b8", 0x000000, 0x020000, CRC(8f2b8818) SHA1(f4d1247f6b42741513dc698a19ff48032a05b8fb) )
ROM_LOAD16_BYTE( "pg75cz1_2.b8", 0x000001, 0x020000, CRC(a6cacbd9) SHA1(bc253ce246d4fe6396efc1f163032e288da4bfec) )
j6phxgld_sound
-ROM_END
+ROM_END
ROM_START( j6pnxgd )
@@ -4994,35 +4994,35 @@ ROM_START( j6redarwf )
ROM_LOAD16_BYTE( "rear-7_1.bin", 0x000000, 0x020000, CRC(6d36f687) SHA1(d07a2058fc0f7a7f1cac6398c46f6fc2fb676484) )
ROM_LOAD16_BYTE( "rear-7_2.bin", 0x000001, 0x020000, CRC(962c6cac) SHA1(dc5fb331df921ef7b94d2c0d3e7d0bb299e728a3) )
j6redarw_sound
-ROM_END
-
+ROM_END
+
ROM_START( j6redarwg )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "rear-7a1.bin", 0x000000, 0x020000, CRC(3ff236e6) SHA1(f0c42885b6f908ffdcf41ae3b6789bfa95c8f36f) )
ROM_LOAD16_BYTE( "rear-7_2.bin", 0x000001, 0x020000, CRC(962c6cac) SHA1(dc5fb331df921ef7b94d2c0d3e7d0bb299e728a3) )
j6redarw_sound
-ROM_END
+ROM_END
ROM_START( j6redarwh )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "rear-7n1.bin", 0x000000, 0x020000, CRC(5c004e43) SHA1(eb4dfdb35efc5226df366cd3f2cdcd486098ba53) )
ROM_LOAD16_BYTE( "rear-7_2.bin", 0x000001, 0x020000, CRC(962c6cac) SHA1(dc5fb331df921ef7b94d2c0d3e7d0bb299e728a3) )
j6redarw_sound
-ROM_END
+ROM_END
ROM_START( j6redarwi )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "rear-7p1.bin", 0x000000, 0x020000, CRC(86a8a2bf) SHA1(1c7301c3e5a3ff1d791b21e617d50875c06a7463) )
ROM_LOAD16_BYTE( "rear-7_2.bin", 0x000001, 0x020000, CRC(962c6cac) SHA1(dc5fb331df921ef7b94d2c0d3e7d0bb299e728a3) )
j6redarw_sound
-ROM_END
+ROM_END
ROM_START( j6redarwj )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "rear7np1.bin", 0x000000, 0x020000, CRC(b79e1a7b) SHA1(806ae7180dbee9b605bd8d923179a2323a7d38ee) )
ROM_LOAD16_BYTE( "rear-7_2.bin", 0x000001, 0x020000, CRC(962c6cac) SHA1(dc5fb331df921ef7b94d2c0d3e7d0bb299e728a3) )
j6redarw_sound
-ROM_END
+ROM_END
ROM_START( j6redarww )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
@@ -5304,14 +5304,14 @@ ROM_END
ROM_START( j6robina )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "9427.bin", 0x000000, 0x020000, CRC(e001c8bb) SHA1(084182d27ddd4146e75ec5cdc9c20e09f4bb390b) )
- ROM_LOAD16_BYTE( "9426.bin", 0x000001, 0x020000, CRC(a85c6c19) SHA1(eab10967642f801dcd25dcdd4dfe95ac3b3491bf) )
+ ROM_LOAD16_BYTE( "9426.bin", 0x000001, 0x020000, CRC(a85c6c19) SHA1(eab10967642f801dcd25dcdd4dfe95ac3b3491bf) )
j6robin_sound
ROM_END
ROM_START( j6robinb )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "9428.bin", 0x000000, 0x020000, CRC(595b5ce2) SHA1(276290e86454b2f1fc73b2cc3e545b6c60363535) )
- ROM_LOAD16_BYTE( "9426.bin", 0x000001, 0x020000, CRC(a85c6c19) SHA1(eab10967642f801dcd25dcdd4dfe95ac3b3491bf) )
+ ROM_LOAD16_BYTE( "9426.bin", 0x000001, 0x020000, CRC(a85c6c19) SHA1(eab10967642f801dcd25dcdd4dfe95ac3b3491bf) )
j6robin_sound
ROM_END
@@ -5885,14 +5885,14 @@ ROM_START( j6strk10j )
ROM_LOAD16_BYTE( "prom2_7.bin", 0x000001, 0x020000, CRC(deab0a4e) SHA1(aeba0182906332996efe79dfc56a14fdd087940e) )
j6strk10_sound
ROM_END
-
+
ROM_START( j6strk10k )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "prom1p_7.bin", 0x000000, 0x020000, CRC(1ccee61d) SHA1(dcd4942bc66d3109ea540fed50148c0e355b803d) )
ROM_LOAD16_BYTE( "prom2_7.bin", 0x000001, 0x020000, CRC(deab0a4e) SHA1(aeba0182906332996efe79dfc56a14fdd087940e) )
j6strk10_sound
ROM_END
-
+
#define j6supbrk_sound \
ROM_REGION( 0x80000, "upd", ROMREGION_ERASE00 ) \
@@ -6821,7 +6821,7 @@ ROM_START( j6svndb )
ROM_LOAD16_BYTE( "ace.evn", 0x000000, 0x020000, CRC(0078e610) SHA1(545f3aa30154e7a75d72bc4621010177f7b1b441) )
ROM_LOAD16_BYTE( "ace.odd", 0x000001, 0x020000, CRC(422268c4) SHA1(defaab4476aad6ad17ff917fa795a6a5a1828090) )
-// ROM_LOAD( "ace.bin", 0x000000, 0x040000, CRC(272070fd) SHA1(cd5f06106f0379b2769515193aee61dea04c1f1e) ) // this is just a combined rom of the above
+// ROM_LOAD( "ace.bin", 0x000000, 0x040000, CRC(272070fd) SHA1(cd5f06106f0379b2769515193aee61dea04c1f1e) ) // this is just a combined rom of the above
ROM_REGION( 0x80000, "upd", ROMREGION_ERASE00 )
/* missing? */
@@ -7166,7 +7166,7 @@ ROM_END
#define j6ccc_sound \
ROM_REGION( 0x80000, "upd", ROMREGION_ERASE00 ) \
/* missing? */ \
-
+
ROM_START( j6ccc )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "ccb1.bin", 0x00000, 0x020000, CRC(38a9b16e) SHA1(2ee0e1c67064e537b4459a69dc9ebf8be89f9051) )
@@ -7809,7 +7809,7 @@ ROM_START( j6slagne )
ROM_LOAD16_BYTE( "salft1p2.bin", 0x00001, 0x020000, CRC(e7ce4c21) SHA1(b6571c028710f5797607f871c7c2cb87df749131) )
j6slagn_sound
ROM_END
-
+
ROM_START( j6slagnf )
ROM_REGION( PRGSIZE_REGULAR, "maincpu", 0 )
ROM_LOAD16_BYTE( "snakes&ladders-crystal-p1.bin", 0x0000, 0x020000, CRC(4f27b6c7) SHA1(cd457f4a4e7d518d4d19f6860d6e07207afff4c6) )
@@ -8295,7 +8295,7 @@ GAME( 199?, j6dmnjkr , 0 , impctawp, tbirds, driver_device, 0, ROT0, "JPM", "D
GAME( 199?, j6dmnjkra , j6dmnjkr , impctawp, tbirds, driver_device, 0, ROT0, "JPM", "Demon Jokers (JPM) (IMPACT) (set 2)", GAME_FLAGS )
GAME( 199?, j6dmnjkrb , j6dmnjkr , impctawp, tbirds, driver_device, 0, ROT0, "JPM", "Demon Jokers (JPM) (IMPACT) (set 3)", GAME_FLAGS )
GAME( 199?, j6dmnjkrc , j6dmnjkr , impctawp, tbirds, driver_device, 0, ROT0, "JPM", "Demon Jokers (JPM) (IMPACT) (set 4)", GAME_FLAGS )
-// GAME( 199?, j6gldday , 0 , impctawp, tbirds, driver_device, 0, ROT0, "JPM", "Golden Day (JPM) (IMPACT)", GAME_FLAGS ) // this is the same as j6dmnjkra
+// GAME( 199?, j6gldday , 0 , impctawp, tbirds, driver_device, 0, ROT0, "JPM", "Golden Day (JPM) (IMPACT)", GAME_FLAGS ) // this is the same as j6dmnjkra
GAME( 199?, j6reddmn , 0 , impctawp, tbirds, driver_device, 0, ROT0, "JPM", "Red Demon (JPM) (IMPACT)", GAME_FLAGS ) // the same as Demon Jokers but with a different sound rom?
@@ -9231,7 +9231,7 @@ GAME( 199?, j6tqustc , j6tqust , impctawp, tbirds, driver_device, 0, ROT0, "Crys
GAME( 199?, j6gldpl , 0 , impctawp, tbirds, driver_device, 0, ROT0, "Qps", "Golden Palace (Qps) (IMPACT)", GAME_FLAGS )
-GAME( 199?, j6shoot , 0 , impctawp, tbirds, driver_device, 0, ROT0, "JPM / Whitbread", "ShootOut (JPM / Whitbread) (IMPACT)", GAME_FLAGS )
+GAME( 199?, j6shoot , 0 , impctawp, tbirds, driver_device, 0, ROT0, "JPM / Whitbread", "ShootOut (JPM / Whitbread) (IMPACT)", GAME_FLAGS )
GAME( 199?, j6milln , 0 , impctawp, tbirds, driver_device, 0, ROT0, "JPM", "Millionaire (JPM) (IMPACT) (set 1)", GAME_FLAGS ) // was marked as SWP, should this be a video game? - Apparently it's just a link box using the same hardware, but for 3 PC based units which aren't dumped
GAME( 199?, j6millna , j6milln , impctawp, tbirds, driver_device, 0, ROT0, "JPM", "Millionaire (JPM) (IMPACT) (set 2)", GAME_FLAGS )
diff --git a/src/mame/drivers/jpmsys5.c b/src/mame/drivers/jpmsys5.c
index 4dc662f206f..fd9ea4e6f9e 100644
--- a/src/mame/drivers/jpmsys5.c
+++ b/src/mame/drivers/jpmsys5.c
@@ -828,7 +828,7 @@ INPUT_PORTS_END
MACHINE_START_MEMBER(jpmsys5_state,jpmsys5)
{
-// machine().root_device().membank("bank1")->set_base(machine().root_device().memregion("maincpu")->base()+0x20000);
+// machine().root_device().membank("bank1")->set_base(machine().root_device().memregion("maincpu")->base()+0x20000);
}
MACHINE_RESET_MEMBER(jpmsys5_state,jpmsys5)
diff --git a/src/mame/drivers/kurukuru.c b/src/mame/drivers/kurukuru.c
index 5283a0704dd..fcc81d742eb 100644
--- a/src/mame/drivers/kurukuru.c
+++ b/src/mame/drivers/kurukuru.c
@@ -22,7 +22,7 @@
(c)SUCCESS / CABINET :TAIYO JIDOKI
CPU : 2x Sharp LH0080A Z80A
-
+
MEM : 1x Sharp LH5116H-10 (2KB SRAM)
1x Fairchild 8464A-10L (8KB SRAM) + battery
6x Sharp LH2464-15 (192KB Video DRAM total)
@@ -71,7 +71,7 @@
| | LH2464-15 | | SN74LS08N | | SN74LS125AN | | | | | |
| '-----------' '------------' '-------------' '-----------------' '-----------------' |
| IC19 IC20 IC21 IC22 IC23 |
- | .-----------. .------------. .------------. .--------------------------. .-----------------. |
+ | .-----------. .------------. .------------. .--------------------------. .-----------------. |
| | LH2464-15 | | SN74LS174N | | SN74LS174N | | LH0080A Z80A-CPU-D | | | |
| '-----------' '------------' '------------' | SHARP JAPAN | | E M P T Y | |
| X2 | | | S O C K E T | |
@@ -126,7 +126,7 @@
The game is playable, even when you can't hear all sounds.
Coin 1 (key 5) is not working properly and could hang the system.
- Once pressed, the game spits a message that means "Jammed Medal".
+ Once pressed, the game spits a message that means "Jammed Medal".
For now, use Coin 2 (key 6) and Service (key 8) for credits...
If you pressed Coin 1 and the game is not responding anymore, press RESET
@@ -160,7 +160,7 @@
There are 14 samples in the system.
00: "boterin" (?)
- 01:
+ 01:
02: "hakase" ("professor")
03: "pyokorin"
04: "kunio"
@@ -205,10 +205,10 @@ public:
required_device<cpu_device> m_audiocpu;
required_device<v9938_device> m_v9938;
-
+
UINT8 m_sound_irq_cause;
UINT8 m_sound_irq_mask;
-
+
DECLARE_WRITE8_MEMBER(kurukuru_bankswitch_w);
DECLARE_WRITE8_MEMBER(kurukuru_soundlatch_w);
DECLARE_READ8_MEMBER(kurukuru_soundlatch_r);
@@ -306,7 +306,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( kurukuru_io, AS_IO, 8, kurukuru_state )
ADDRESS_MAP_GLOBAL_MASK(0xff)
-// AM_RANGE(0x00, 0x00) AM_WRITENOP // seems for switch cpu... or irq? or hopper?
+// AM_RANGE(0x00, 0x00) AM_WRITENOP // seems for switch cpu... or irq? or hopper?
AM_RANGE(0x10, 0x10) AM_READ_PORT("DSW1")
AM_RANGE(0x20, 0x20) AM_WRITE(kurukuru_soundlatch_w)
AM_RANGE(0x80, 0x83) AM_DEVREADWRITE( "v9938", v9938_device, read, write )
@@ -321,8 +321,8 @@ ADDRESS_MAP_END
/*
0x00 Writes... 2nd cpu related.
01 when coin 1 (jams)
- 20 when coin 2
- 40 when payout (jams) ...check
+ 20 when coin 2
+ 40 when payout (jams) ...check
0x20 Writes... # sample to trigger
00, 08, 03, 04, 05 for bets 1-2-3-4-5 respectively.
@@ -361,7 +361,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( audio_io, AS_IO, 8, kurukuru_state )
ADDRESS_MAP_GLOBAL_MASK(0xff)
-// AM_RANGE(0x40, 0x40) AM_WRITENOP
+// AM_RANGE(0x40, 0x40) AM_WRITENOP
AM_RANGE(0x50, 0x50) AM_WRITE(kurukuru_sound_irqmask_w)
AM_RANGE(0x60, 0x60) AM_READ(kurukuru_soundlatch_r)
AM_RANGE(0x70, 0x70) AM_READ(kurukuru_sound_timer_irqack_r)
diff --git a/src/mame/drivers/maygay1bsw.c b/src/mame/drivers/maygay1bsw.c
index 854a10411e8..69af79f5eb7 100644
--- a/src/mame/drivers/maygay1bsw.c
+++ b/src/mame/drivers/maygay1bsw.c
@@ -68,7 +68,7 @@ GAME( 1990, m1bargncp ,m1bargn ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "M
#define m1_bounty_sound \
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "bgsnd", 0x0000, 0x020000, CRC(abe7c01d) SHA1(21caadcd149772dfd79a9d30ebc1d8da91ff36f4) )\
-
+
ROM_START( m1bountc ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sc4-107.bin", 0x0000, 0x010000, CRC(0bdf41b3) SHA1(ce3564433a708ba50ca4099a26b1f75cf3cec947) ) m1_bounty_sound ROM_END_M1A_MCU //1.3
ROM_START( m1bountcp ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sc4-108.bin", 0x0000, 0x010000, CRC(adf7139f) SHA1(5b2bd367df31e3c76d9fac2a71a90800d95c4719) ) m1_bounty_sound ROM_END_M1A_MCU //1.3P
@@ -114,7 +114,7 @@ GAME( 199?, m1alley ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "bdeal.u2", 0x000000, 0x080000, CRC(7ef1d4dd) SHA1(97a99dd9325634ee28dda943d92257010c60306c) ) \
ROM_LOAD( "bdeal.u3", 0x080000, 0x080000, CRC(28f48d4b) SHA1(642c2a2fc4f2faff510cbca2488ab6904bb489f6) ) \
-
+
ROM_START( m1bigdel ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "bdeal.p1", 0x0000, 0x020000, CRC(3cdebbb8) SHA1(8578441ef269c41fbe3f253055f687e1ccbf4770) ) m1_bigdel_sound ROM_END_M1A_MCU
GAME( 2000, m1bigdel ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Big Deal (Maygay) (M1A/B)",GAME_FLAGS )
@@ -418,7 +418,7 @@ ROM_START( m1cluedo1p ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM
ROM_START( m1cluedo1h ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "cluedo.bin", 0x0000, 0x010000, CRC(d9cd3491) SHA1(c0f753a291ac30cd5af99b611b3cea16f1f8c599) ) m1_cluedo_sound ROM_END_M1A_MCU //nhf 1.0
ROM_START( m1cluedoi ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-552.bin", 0x0000, 0x010000, CRC(70588685) SHA1(fa37feb43838a52087d6584004a43f006d0129cb) ) m1_cluedo_sound ROM_END_M1A_MCU //nhf 7.2 IoM 1995
ROM_START( m1cluedoip ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-553.bin", 0x0000, 0x010000, CRC(98b01b63) SHA1(aa56d3a7c34a60f93da0dafd416a7550416076ee) ) m1_cluedo_sound ROM_END_M1A_MCU //phf 7.2 IoM 1995
-ROM_START( m1cluedon ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-519", 0x0000, 0x010000, CRC(6bc4eb57) SHA1(1581e14a25786dda8a98ee2643c63bcb4caaea89) ) m1_cluedo_sound ROM_END_M1A_MCU //nhf 1.2 1995
+ROM_START( m1cluedon ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-519", 0x0000, 0x010000, CRC(6bc4eb57) SHA1(1581e14a25786dda8a98ee2643c63bcb4caaea89) ) m1_cluedo_sound ROM_END_M1A_MCU //nhf 1.2 1995
ROM_START( m1cluedonp ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-520", 0x0000, 0x010000, CRC(b4bfc448) SHA1(493b020a4d0a18ec2fd8f45d2eea1590b948ea51) ) m1_cluedo_sound ROM_END_M1A_MCU //phf 1.2 1995
ROM_START( m1cluedob2 ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-302", 0x0000, 0x010000, CRC(08031924) SHA1(9aa997328285502e56af0d1552220ca27bcc053a) ) m1_cluedo_sound ROM_END_M1A_MCU //nbu 2.1 BwB 1995
ROM_START( m1cluedob2p ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-303", 0x0000, 0x010000, CRC(e0eb84c2) SHA1(3c2db9d41b9c561a483293f2258b654547d937d4) ) m1_cluedo_sound ROM_END_M1A_MCU //pbu 2.1 BwB 1995
@@ -515,7 +515,7 @@ ROM_START( m1coro32n ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_
ROM_START( m1coro32np ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-397", 0x0000, 0x010000, CRC(6b91fff5) SHA1(e29ae21bfd7d7e3139bfb65b60bd4bafcece5b24) ) m1_coro_sound ROM_END_M1A_MCU //3.2 newer protocol (Poss mislabel)
ROM_START( m1coro22n ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-395", 0x0000, 0x010000, CRC(980a56ba) SHA1(372744f165e0105346c567013b0c8ddec2ec0f7d) ) m1_coro_sound ROM_END_M1A_MCU //2.2 newer
ROM_START( m1coro21n ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-208", 0x0000, 0x010000, CRC(66f06d18) SHA1(fd14b09280815c03126d113e6be791a20483aae9) ) m1_coro_sound ROM_END_M1A_MCU //2.1 newer
-ROM_START( m1coro21np ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-209", 0x0000, 0x010000, CRC(8e18f0fe) SHA1(8d6c0fbd05484dc42b976228b7575e0ca0eea239) ) m1_coro_sound ROM_END_M1A_MCU //2.1 newer protocol
+ROM_START( m1coro21np ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-209", 0x0000, 0x010000, CRC(8e18f0fe) SHA1(8d6c0fbd05484dc42b976228b7575e0ca0eea239) ) m1_coro_sound ROM_END_M1A_MCU //2.1 newer protocol
ROM_START( m1coro12n ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-393", 0x0000, 0x010000, CRC(abbdfe46) SHA1(a6e005849b6da9801331155eb73fa169f6f42265) ) m1_coro_sound ROM_END_M1A_MCU //1.2 newer
ROM_START( m1coro12np ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-394", 0x0000, 0x010000, CRC(a7a5a6ff) SHA1(0805d3f1148e0aa83f8c0c804c08df3624a3af72) ) m1_coro_sound ROM_END_M1A_MCU //1.2 newer protocol
ROM_START( m1coro11n ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-306", 0x0000, 0x010000, CRC(a94a8f48) SHA1(56d5723d8087f523061280d9afe15a1bf8b269f5) ) m1_coro_sound ROM_END_M1A_MCU //1.1 newer
@@ -575,7 +575,7 @@ GAME( 1993, m1coroshp ,m1corosh ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "
ROM_LOAD( "clubcorriesnd.p1snd", 0x000000, 0x080000, CRC(e4cf4412) SHA1(6849fb9a71a6f0bbf40368238ed9104026013d36) )\
ROM_LOAD( "clubcorriesnd.p2snd", 0x080000, 0x080000, CRC(e33d2c08) SHA1(fd30b9c2936659a793d83e283d920c46990633c4) )\
-ROM_START( m1corocb ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sc7-198", 0x0000, 0x020000, CRC(905b916d) SHA1(4c244ee49b4528e05cb074f0df0b3bbfd6b28fd2) ) m1_corocb_sound ROM_END_M1A_MCU //2.1
+ROM_START( m1corocb ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sc7-198", 0x0000, 0x020000, CRC(905b916d) SHA1(4c244ee49b4528e05cb074f0df0b3bbfd6b28fd2) ) m1_corocb_sound ROM_END_M1A_MCU //2.1
ROM_START( m1corocbp ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sc7-199", 0x0000, 0x020000, CRC(c01a6fd1) SHA1(2bb62f190843acb8850241ccd45fb17167c18376) ) m1_corocb_sound ROM_END_M1A_MCU //2.1 protocol
ROM_START( m1corocb1 ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sc7-196", 0x0000, 0x020000, CRC(e2188b21) SHA1(86238d31595814d9d1f82544c9766d068b6df132) ) m1_corocb_sound ROM_END_M1A_MCU //sc7196 250 GBP 1.1
ROM_START( m1corocb1p ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sc7-197", 0x0000, 0x020000, CRC(b259759d) SHA1(cd84d959a4bcfcd942322af9f33893e626fe8759) ) m1_corocb_sound ROM_END_M1A_MCU //protocol
@@ -612,11 +612,11 @@ ROM_START( m1cororrfp ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM
ROM_START( m1cororrg ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "roversprog", 0x0000, 0x010000, CRC(35aded03) SHA1(978c49dad02cd1bb290028aa52d3048c5f2b9bdd) ) m1_cororr_sound ROM_END_M1A_MCU //1.1 1995 sa6-202
ROM_START( m1cororrgp ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa6-203", 0x0000, 0x010000, CRC(dd4570e5) SHA1(16f1530d68dcd043f67084c339b02f093d45c6cb) ) m1_cororr_sound ROM_END_M1A_MCU //protocol
ROM_START( m1cororrh ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-539", 0x0000, 0x010000, CRC(8ba27a8e) SHA1(27ec7503d84585bbb791f6b4ee1ef538dcd5f619) ) m1_cororr_sound ROM_END_M1A_MCU
-ROM_START( m1cororri ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-354", 0x0000, 0x010000, CRC(132d0aec) SHA1(fd7febd1b7098a6a3b00fa5ed5f0323821fea9da) ) m1_cororr_sound ROM_END_M1A_MCU //3.1
+ROM_START( m1cororri ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-354", 0x0000, 0x010000, CRC(132d0aec) SHA1(fd7febd1b7098a6a3b00fa5ed5f0323821fea9da) ) m1_cororr_sound ROM_END_M1A_MCU //3.1
ROM_START( m1cororrip ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-355", 0x0000, 0x010000, CRC(fbc5970a) SHA1(41cf94e2ab0dc3d020cf30cf63c8939958e7805a) ) m1_cororr_sound ROM_END_M1A_MCU //protocol
ROM_START( m1cororrj ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "rover8ac", 0x0000, 0x010000, CRC(1f6bff96) SHA1(862e32dc9ea3fad5ef27b9146a8a62138d3b6406) ) m1_cororr_sound ROM_END_M1A_MCU //5.1 8GBP 1995 All cash sa5-354
-ROM_START( m1cororrjp ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-345", 0x0000, 0x010000, CRC(06b8bd1c) SHA1(52c43b7f2774accdde4c153c84b5051df84cbe29) ) m1_cororr_sound ROM_END_M1A_MCU //protocol
-ROM_START( m1cororrk ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-344", 0x0000, 0x010000, CRC(ee5020fa) SHA1(926c217d345a62b2b5073f35463ba67cf03b068b) ) m1_cororr_sound ROM_END_M1A_MCU //2.1 8gbp token
+ROM_START( m1cororrjp ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-345", 0x0000, 0x010000, CRC(06b8bd1c) SHA1(52c43b7f2774accdde4c153c84b5051df84cbe29) ) m1_cororr_sound ROM_END_M1A_MCU //protocol
+ROM_START( m1cororrk ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-344", 0x0000, 0x010000, CRC(ee5020fa) SHA1(926c217d345a62b2b5073f35463ba67cf03b068b) ) m1_cororr_sound ROM_END_M1A_MCU //2.1 8gbp token
ROM_START( m1cororrl ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-342", 0x0000, 0x010000, CRC(735e8151) SHA1(25b9f183e03c74fd918c9c540e5ebd0dc0d38fcd) ) m1_cororr_sound ROM_END_M1A_MCU
ROM_START( m1cororrlp ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "sa5-343", 0x0000, 0x010000, CRC(9bb61cb7) SHA1(0c42d7db308dac80a4910b2d2327833562e9c887) ) m1_cororr_sound ROM_END_M1A_MCU //protocol
@@ -905,7 +905,7 @@ ROM_START( m1eastndaf ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "queenvic.p1", 0x000000, 0x080000, CRC(af665967) SHA1(b87b13e759765eeb701ff8ead41eb3c09bec1e92) ) \
ROM_LOAD( "queenvic.p2", 0x080000, 0x080000, CRC(92ce90ce) SHA1(9fca67429b9f1496dc745818b3ed7747b8eedf5d) ) \
-
+
ROM_START( m1eastqv ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa7-496", 0x0000, 0x020000, CRC(efe47e9b) SHA1(83ce75026a1194e645a03016263f091be1ced437) ) m1_eastqv_sound ROM_END_M1A_MCU GAME( 199?, m1eastqv ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Eastenders - Queen Vic (Maygay) (M1A/B) (set 1)",GAME_FLAGS )
ROM_START( m1eastqva ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa6-311", 0x0000, 0x020000, CRC(225461cb) SHA1(3d6398f3226e54dcfed1b670aeece82eec4f424d) ) m1_eastqv_sound ROM_END_M1A_MCU GAME( 199?, m1eastqva ,m1eastqv ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Eastenders - Queen Vic (Maygay) (M1A/B) (set 2)",GAME_FLAGS )
ROM_START( m1eastqvb ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa6-312", 0x0000, 0x020000, CRC(31935a9d) SHA1(74423332183927ebec40073bfb65e162da2b6f6d) ) m1_eastqv_sound ROM_END_M1A_MCU GAME( 199?, m1eastqvb ,m1eastqv ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Eastenders - Queen Vic (Maygay) (M1A/B) (set 3)",GAME_FLAGS )
@@ -950,7 +950,7 @@ ROM_START( m1eastqvaa ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) RO
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "fnsnd.p1", 0x000000, 0x080000, CRC(f6f1334f) SHA1(607b136a3d8cf4ae2e306a4332b69f564936d383) ) \
ROM_LOAD( "fnsnd.p2", 0x080000, 0x080000, CRC(13419292) SHA1(40f314b4f42384334e6929b0de6b6a899fa2c09f) ) \
-
+
ROM_START( m1fight ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("fight15f", 0x0000, 0x020000, CRC(ceb7ca5d) SHA1(911164a69541de05fd6dc64f54aad13a0d57ebd7) ) m1_fight_sound ROM_END_M1A_MCU GAME( 199?, m1fight ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Fight Night (Maygay) (M1A/B) (set 1)",GAME_FLAGS )
ROM_START( m1fighta ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("fight15r", 0x0000, 0x020000, CRC(46c7d3ca) SHA1(24bc785d888cb051ded94b04a47d286f26cfe4e4) ) m1_fight_sound ROM_END_M1A_MCU GAME( 199?, m1fighta ,m1fight ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Fight Night (Maygay) (M1A/B) (set 2)",GAME_FLAGS )
ROM_START( m1fightb ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("fightnt10.bin", 0x0000, 0x020000, CRC(95e891b5) SHA1(3412ce4db34f89a4a18209440770c3b8b3b37024) ) m1_fight_sound ROM_END_M1A_MCU GAME( 199?, m1fightb ,m1fight ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Fight Night (Maygay) (M1A/B) (set 3)",GAME_FLAGS )
@@ -1154,7 +1154,7 @@ ROM_START( m1suppot0 ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_L
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "trivpusuit.p1", 0x000000, 0x080000, CRC(3c4b4e2c) SHA1(db570035a3b9b7587501f342c80ec52cb1a79b49) ) \
ROM_LOAD( "trivpusuit.p2", 0x080000, 0x080000, CRC(5a9808c1) SHA1(29c011ee2dc3e8bc87cb4c5ded61dfa3fdb9d7f7) ) \
-
+
ROM_START( m1trivia ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa6-297", 0x0000, 0x010000, CRC(b7a20f4d) SHA1(4b619f1ff26226304d86f69cfbf9d8e264af93b7) ) m1_trivia_sound ROM_END_M1A_MCU GAME( 199?, m1trivia ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Trivial Pursuit (Maygay) (M1A/B) (set 1)",GAME_FLAGS )
ROM_START( m1triviaa ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa6-298", 0x0000, 0x010000, CRC(118a5d61) SHA1(41202c92710c5a9b2cbaea56e69a75366b6e3537) ) m1_trivia_sound ROM_END_M1A_MCU GAME( 199?, m1triviaa ,m1trivia ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Trivial Pursuit (Maygay) (M1A/B) (set 2)",GAME_FLAGS )
ROM_START( m1triviab ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa7-503", 0x0000, 0x010000, CRC(56c8ee8e) SHA1(c1c0b9df26fecdca066cab2b4d7dadd9df8dbc2f) ) m1_trivia_sound ROM_END_M1A_MCU GAME( 199?, m1triviab ,m1trivia ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Trivial Pursuit (Maygay) (M1A/B) (set 3)",GAME_FLAGS )
@@ -1466,7 +1466,7 @@ ROM_START( m1lucknos ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_L
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "noelshouseparty.p1", 0x000000, 0x080000, CRC(aa8e62e4) SHA1(719cb6d5c2b3ffca3952c01e143f6096207b2520) ) \
ROM_LOAD( "noelshouseparty.p2", 0x080000, 0x080000, CRC(e8a06839) SHA1(7452f48355c64e0424879d53d87fa523953eec0a) ) \
-
+
ROM_START( m1nhp ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("nhp.bin", 0x0000, 0x010000, CRC(b747e835) SHA1(98faaff432182adaf8ae7249187ac0e81bfe10d8) ) m1_nhp_sound ROM_END_M1A_MCU GAME( 199?, m1nhp ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Noel's House Party (Maygay) (M1A/B) (set 1)",GAME_FLAGS )
ROM_START( m1nhpa ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("noel10", 0x0000, 0x010000, CRC(84ad7b31) SHA1(e350a1806c05215e0a60f8dc724345b6b1a0be12) ) m1_nhp_sound ROM_END_M1A_MCU GAME( 199?, m1nhpa ,m1nhp ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Noel's House Party (Maygay) (M1A/B) (set 2)",GAME_FLAGS )
ROM_START( m1nhpb ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa5-216", 0x0000, 0x010000, CRC(46e9e772) SHA1(098c23b8676b53dce6087c7812eb45a31e1cad0d) ) m1_nhp_sound ROM_END_M1A_MCU GAME( 199?, m1nhpb ,m1nhp ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Noel's House Party (Maygay) (M1A/B) (set 3)",GAME_FLAGS )
@@ -1520,7 +1520,7 @@ ROM_START( m1wldzned ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_L
ROM_START( m1wldznee ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa4-624", 0x0000, 0x010000, CRC(f3fffc6f) SHA1(b7697cb9751351bb368dd5a933b9d4a2687de054) ) m1_wldzne_sound ROM_END_M1A_MCU GAME( 199?, m1wldznee ,m1wldzne ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Wild Zone (Maygay) (M1A/B) (set 6)",GAME_FLAGS )
ROM_START( m1wldznef ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa5-003", 0x0000, 0x010000, CRC(3e2ac4ff) SHA1(3b4cdc2170b4aeddb2efe1a334919d5d080e4119) ) m1_wldzne_sound ROM_END_M1A_MCU GAME( 199?, m1wldznef ,m1wldzne ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Wild Zone (Maygay) (M1A/B) (set 7)",GAME_FLAGS )
ROM_START( m1wldzneg ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa5-004", 0x0000, 0x010000, CRC(32329c46) SHA1(b58fabb94bc761a7a3538e55f3817a4123508159) ) m1_wldzne_sound ROM_END_M1A_MCU GAME( 199?, m1wldzneg ,m1wldzne ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Wild Zone (Maygay) (M1A/B) (set 8)",GAME_FLAGS )
-ROM_START( m1wldzneh ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa5-107", 0x0000, 0x010000, CRC(9324b657) SHA1(7b460db08b904be94e82f1054b48826ef56e13dd) ) m1_wldzne_sound ROM_END_M1A_MCU GAME( 199?, m1wldzneh ,m1wldzne ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Wild Zone (Maygay) (M1A/B) (set 9)",GAME_FLAGS )
+ROM_START( m1wldzneh ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa5-107", 0x0000, 0x010000, CRC(9324b657) SHA1(7b460db08b904be94e82f1054b48826ef56e13dd) ) m1_wldzne_sound ROM_END_M1A_MCU GAME( 199?, m1wldzneh ,m1wldzne ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Wild Zone (Maygay) (M1A/B) (set 9)",GAME_FLAGS )
ROM_START( m1wldznei ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa5-108", 0x0000, 0x010000, CRC(350ce47b) SHA1(6678552edd5a47c71abfd018cf8e594b869ae15f) ) m1_wldzne_sound ROM_END_M1A_MCU GAME( 199?, m1wldznei ,m1wldzne ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Wild Zone (Maygay) (M1A/B) (set 10)",GAME_FLAGS )
ROM_START( m1wldznej ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa5-375", 0x0000, 0x010000, CRC(7c2da5db) SHA1(4a82fcbcf9586bca7a0a954e1b3ed79f5fe0a521) ) m1_wldzne_sound ROM_END_M1A_MCU GAME( 199?, m1wldznej ,m1wldzne ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Wild Zone (Maygay) (M1A/B) (set 11)",GAME_FLAGS )
ROM_START( m1wldznek ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa5-376", 0x0000, 0x010000, CRC(c8957b08) SHA1(edf8f56c5c949af4ef7f2de79802c12fad9aef2e) ) m1_wldzne_sound ROM_END_M1A_MCU GAME( 199?, m1wldznek ,m1wldzne ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Wild Zone (Maygay) (M1A/B) (set 12)",GAME_FLAGS )
@@ -1807,7 +1807,7 @@ ROM_START( m1ppdt ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOA
#define m1_sprnov_sound \
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "supernovasnd.bin", 0x0000, 0x020000, CRC(f91e2c05) SHA1(e189c14214f4637d6a803893d79a41ad0fc8ebba) ) \
-
+
ROM_START( m1sprnov ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD( "supernovaprg.bin", 0x0000, 0x010000, CRC(6d533247) SHA1(475ecdcc10c9da558eb4d7c5e288d4724f65a5ce) ) m1_sprnov_sound ROM_END_M1A_MCU GAME( 199?, m1sprnov ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Super Nova (Dutch) (Maygay) (M1A/B)",GAME_FLAGS )
/*******************************************************************************************************************************************************************************************************
@@ -1865,7 +1865,7 @@ ROM_START( m1wotwb ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOA
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "dig1-033 snd u2.bin", 0x000000, 0x080000, CRC(3eaa138c) SHA1(ad7d6e3ffc8fe19ea8cb9188998c75c90a77e09e) ) \
ROM_LOAD( "dig1-033 snd u3.bin", 0x080000, 0x080000, CRC(89fde428) SHA1(f0942a2f1d3890ad18b01e8433333e5412c57644) ) \
-
+
ROM_START( m1przee ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa4-186", 0x0000, 0x010000, CRC(6e48b9e6) SHA1(bec5ad1ca06175c4217bbe3f6caae0061c7bfe99) ) m1_przee_sound ROM_END_M1A_MCU GAME( 199?, m1przee ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Prize Eastenders (Maygay) (M1A/B) (set 1)",GAME_FLAGS )
ROM_START( m1przeea ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa4-556", 0x0000, 0x010000, CRC(0f6aeadd) SHA1(ed613d064c9991eed913f9579ea18a9ac70c2cf7) ) m1_przee_sound ROM_END_M1A_MCU GAME( 199?, m1przeea ,m1przee ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Prize Eastenders (Maygay) (M1A/B) (set 2)",GAME_FLAGS )
ROM_START( m1przeeb ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa5-058", 0x0000, 0x010000, CRC(3cc35697) SHA1(adaaafd6ae59497630660ec179212f0dd8dd3741) ) m1_przee_sound ROM_END_M1A_MCU GAME( 199?, m1przeeb ,m1przee ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "Prize Eastenders (Maygay) (M1A/B) (set 3)",GAME_FLAGS )
@@ -1955,10 +1955,10 @@ ROM_START( m1vegasb ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LO
ROM_REGION( 0x010000, "dmddata", ROMREGION_ERASE00 ) /* what CPU? or is this MCU data? */ \
ROM_LOAD( "encdot.bin", 0x0000, 0x010000, CRC(3b707399) SHA1(9bc9522625e97c7d60cc104a96f7312b1d88ec01) ) \
-ROM_START( m1winenc ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa6-371", 0x0000, 0x010000, CRC(ecba5b6b) SHA1(7b50d1a6d4ec287bb5159b6018282107d5594227) ) m1_winenc_sound ROM_END_M1A_MCU GAME( 199?, m1winenc ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "John Francombe's Winners Enclosure (Maygay) (M1A/B) (set 1)",GAME_FLAGS )
-ROM_START( m1winenca ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa6-372", 0x0000, 0x010000, CRC(580285b8) SHA1(f0589184a60c73078c3cef9f89ca279fc67f9813) ) m1_winenc_sound ROM_END_M1A_MCU GAME( 199?, m1winenca ,m1winenc ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "John Francombe's Winners Enclosure (Maygay) (M1A/B) (set 2)",GAME_FLAGS )
-ROM_START( m1winencb ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa7-573", 0x0000, 0x010000, CRC(a597cd98) SHA1(3d28306004b1937e7d04380fe3f9afc5ec321b7b) ) m1_winenc_sound ROM_END_M1A_MCU GAME( 199?, m1winencb ,m1winenc ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "John Francombe's Winners Enclosure (Maygay) (M1A/B) (set 3)",GAME_FLAGS )
-ROM_START( m1winencc ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa7-574", 0x0000, 0x010000, CRC(a98f9521) SHA1(6fa2ba09dcadfb2164dbea376abc88d0187d02c8) ) m1_winenc_sound ROM_END_M1A_MCU GAME( 199?, m1winencc ,m1winenc ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "John Francombe's Winners Enclosure (Maygay) (M1A/B) (set 4)",GAME_FLAGS )
+ROM_START( m1winenc ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa6-371", 0x0000, 0x010000, CRC(ecba5b6b) SHA1(7b50d1a6d4ec287bb5159b6018282107d5594227) ) m1_winenc_sound ROM_END_M1A_MCU GAME( 199?, m1winenc ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "John Francombe's Winners Enclosure (Maygay) (M1A/B) (set 1)",GAME_FLAGS )
+ROM_START( m1winenca ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa6-372", 0x0000, 0x010000, CRC(580285b8) SHA1(f0589184a60c73078c3cef9f89ca279fc67f9813) ) m1_winenc_sound ROM_END_M1A_MCU GAME( 199?, m1winenca ,m1winenc ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "John Francombe's Winners Enclosure (Maygay) (M1A/B) (set 2)",GAME_FLAGS )
+ROM_START( m1winencb ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa7-573", 0x0000, 0x010000, CRC(a597cd98) SHA1(3d28306004b1937e7d04380fe3f9afc5ec321b7b) ) m1_winenc_sound ROM_END_M1A_MCU GAME( 199?, m1winencb ,m1winenc ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "John Francombe's Winners Enclosure (Maygay) (M1A/B) (set 3)",GAME_FLAGS )
+ROM_START( m1winencc ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("sa7-574", 0x0000, 0x010000, CRC(a98f9521) SHA1(6fa2ba09dcadfb2164dbea376abc88d0187d02c8) ) m1_winenc_sound ROM_END_M1A_MCU GAME( 199?, m1winencc ,m1winenc ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Maygay", "John Francombe's Winners Enclosure (Maygay) (M1A/B) (set 4)",GAME_FLAGS )
/*******************************************************************************************************************************************************************************************************
Money Game Club
@@ -2113,7 +2113,7 @@ ROM_START( m1digdela ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_L
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "jobsnd1.u2", 0x000000, 0x080000, CRC(69b3c5d6) SHA1(4fcf16686e0fc322a8c03e697d0292270ceccc5a) ) \
ROM_LOAD( "jobsnd2.u3", 0x080000, 0x080000, CRC(2e7d049e) SHA1(ee58c795e7da3735827dd6af0b44c03166cd99dc) ) \
-
+
ROM_START( m1jtjob ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("just2-0n.p1", 0x0000, 0x020000, CRC(d63d1710) SHA1(feccdd6dc242d32f04a080ab6a637cd6ec330c0d) ) m1_jtjob_sound ROM_END_M1A_MCU GAME( 199?, m1jtjob ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Global", "Just The Job (Global) (M1A/B) (set 1)",GAME_FLAGS )
ROM_START( m1jtjoba ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("j_t_job.1_9", 0x0000, 0x020000, CRC(4f6da2b2) SHA1(43b4c314d5ee934d8dc8972c3c0585096d78793f) ) m1_jtjob_sound ROM_END_M1A_MCU GAME( 199?, m1jtjoba ,m1jtjob ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Global", "Just The Job (Global) (M1A/B) (set 2)",GAME_FLAGS )
ROM_START( m1jtjobb ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("just2-0p.p1", 0x0000, 0x020000, CRC(8d809ba4) SHA1(a6fd142edb0a98c847cb376efe40756d19bccb02) ) m1_jtjob_sound ROM_END_M1A_MCU GAME( 199?, m1jtjobb ,m1jtjob ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Global", "Just The Job (Global) (M1A/B) (set 3)",GAME_FLAGS )
@@ -2171,7 +2171,7 @@ ROM_START( m1thrillc ) ROM_REGION( 0x20000, "maincpu", ROMREGION_ERASE00 ) ROM_L
#define m1_startr_sound \
ROM_REGION( 0x100000, "msm6376", ROMREGION_ERASE00 ) \
ROM_LOAD( "mdmstartrekkingsound.rom", 0x0000, 0x040000, CRC(4b673184) SHA1(dd90719ebc8644b4aa50091dc9ddd79f5d0f3395) ) \
-
+
ROM_START( m1startr ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("tk20d3_1.bin", 0x0000, 0x010000, CRC(a911ebc7) SHA1(7e74df1ca0fd5e0d04ece5ca307f4b1ab817c044) ) m1_startr_sound ROM_END_M1A_MCU GAME( 199?, m1startr ,0 ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Mdm", "Star Trekking (Mdm) (M1A/B) (set 1)",GAME_FLAGS )
ROM_START( m1startra ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("st58dt", 0x0000, 0x010000, CRC(29b73d2d) SHA1(f4bfcce7b8f158e8ec964936c365a2c6f27f7945) ) m1_startr_sound ROM_END_M1A_MCU GAME( 199?, m1startra ,m1startr ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Mdm", "Star Trekking (Mdm) (M1A/B) (set 2)",GAME_FLAGS )
ROM_START( m1startrb ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) ROM_LOAD("st58st", 0x0000, 0x010000, CRC(b4b4c3f3) SHA1(7179d970c0e903ae3b4ba925fba29b9777bf969d) ) m1_startr_sound ROM_END_M1A_MCU GAME( 199?, m1startrb ,m1startr ,maygay_m1,maygay_m1, maygay1b_state,m1, ROT0, "Mdm", "Star Trekking (Mdm) (M1A/B) (set 3)",GAME_FLAGS )
diff --git a/src/mame/drivers/maygayep.c b/src/mame/drivers/maygayep.c
index 9924d4bc68a..391f5ba1574 100644
--- a/src/mame/drivers/maygayep.c
+++ b/src/mame/drivers/maygayep.c
@@ -21,9 +21,9 @@
SOME OF THESE GAMES USED HDDS, ONLY ONE IS DUMPED
-------------------------------------------------
- Even where we have sound rom dumps they probably shouldn't be trusted, the source of them
- had many badly dumped Scorpion 4 sound roms (0x080000 bytes where they should be double that)
- and many of these sound roms are that size...
+ Even where we have sound rom dumps they probably shouldn't be trusted, the source of them
+ had many badly dumped Scorpion 4 sound roms (0x080000 bytes where they should be double that)
+ and many of these sound roms are that size...
Some games have EPOCH NEVADA in the header, others have EPOCH APOLLO, is there a difference?
diff --git a/src/mame/drivers/namcos2.c b/src/mame/drivers/namcos2.c
index c3eb437ed18..08e136006af 100644
--- a/src/mame/drivers/namcos2.c
+++ b/src/mame/drivers/namcos2.c
@@ -3109,8 +3109,8 @@ ROM_END
ROM_START( finalap3bl ) // bootleg set
ROM_REGION( 0x040000, "maincpu", 0 ) /* Master CPU */
- ROM_LOAD16_BYTE( "fl3-mp0.11d", 0x000000, 0x020000, CRC(af11f52e) SHA1(7be160bc4babe780399747efdca0f61a8b4fca93) )
- ROM_LOAD16_BYTE( "fl3-mp1.13d", 0x000001, 0x020000, CRC(da9b1b48) SHA1(58b15a29759e511367d994a5ef1fae3f5cd4fa82) )
+ ROM_LOAD16_BYTE( "fl3-mp0.11d", 0x000000, 0x020000, CRC(af11f52e) SHA1(7be160bc4babe780399747efdca0f61a8b4fca93) )
+ ROM_LOAD16_BYTE( "fl3-mp1.13d", 0x000001, 0x020000, CRC(da9b1b48) SHA1(58b15a29759e511367d994a5ef1fae3f5cd4fa82) )
ROM_REGION( 0x040000, "slave", 0 ) /* Slave CPU */
ROM_LOAD16_BYTE( "flt1sp0", 0x000000, 0x020000, CRC(e804ced1) SHA1(b31e1fddd202ba503b28455a270e8d45a348dc2e) )
diff --git a/src/mame/drivers/neogeo.c b/src/mame/drivers/neogeo.c
index ea349e6c482..9a914bc4968 100644
--- a/src/mame/drivers/neogeo.c
+++ b/src/mame/drivers/neogeo.c
@@ -696,7 +696,7 @@ void neogeo_main_cpu_banking_init( running_machine &machine )
/* create vector banks */
state->membank(NEOGEO_BANK_VECTORS)->configure_entry(0, machine.root_device().memregion("mainbios")->base());
state->membank(NEOGEO_BANK_VECTORS)->configure_entry(1, machine.root_device().memregion("maincpu")->base());
-
+
if (state->m_is_cartsys)
{
@@ -732,7 +732,7 @@ static void set_audio_cpu_banking( running_machine &machine )
static void audio_cpu_bank_select( address_space &space, int region, UINT8 bank )
{
neogeo_state *state = space.machine().driver_data<neogeo_state>();
-
+
if (!state->m_has_audio_banking) return;
if (LOG_AUDIO_CPU_BANKING) logerror("Audio CPU PC %03x: audio_cpu_bank_select: Region: %d Bank: %02x\n", space.device().safe_pc(), region, bank);
@@ -1418,7 +1418,7 @@ MACHINE_CONFIG_START( neogeo_base, neogeo_state )
MCFG_CPU_ADD("audiocpu", Z80, NEOGEO_AUDIO_CPU_CLOCK)
MCFG_CPU_PROGRAM_MAP(audio_map)
MCFG_CPU_IO_MAP(audio_io_map)
-
+
/* video hardware */
MCFG_DEFAULT_LAYOUT(layout_neogeo)
diff --git a/src/mame/drivers/rabbit.c b/src/mame/drivers/rabbit.c
index 57d5cf43d7c..44dc015c0ee 100644
--- a/src/mame/drivers/rabbit.c
+++ b/src/mame/drivers/rabbit.c
@@ -2,8 +2,8 @@
-= 68020 + Imagetek I5000 Games =-
- driver by David Haywood
- partly based on metro.c driver by Luca Elia
+ driver by David Haywood
+ partly based on metro.c driver by Luca Elia
Main CPU : MC68020
diff --git a/src/mame/drivers/s11.c b/src/mame/drivers/s11.c
index e3032338974..4b890ff9f71 100644
--- a/src/mame/drivers/s11.c
+++ b/src/mame/drivers/s11.c
@@ -514,7 +514,7 @@ WRITE_LINE_MEMBER( s11_state::ym2151_irq_w)
static const pia6821_interface pia40_intf =
{
DEVCB_NULL, /* port A in */
- DEVCB_NULL,//_DRIVER_MEMBER(s11_state, dac_r), /* port B in */
+ DEVCB_NULL,//_DRIVER_MEMBER(s11_state, dac_r), /* port B in */
DEVCB_DRIVER_LINE_MEMBER(s11_state, pias_ca1_r), /* line CA1 in */
DEVCB_NULL, /* line CB1 in */
DEVCB_LINE_VCC, /* line CA2 in */
diff --git a/src/mame/drivers/taitotz.c b/src/mame/drivers/taitotz.c
index 0a43a14c2e6..75f94aebe55 100644
--- a/src/mame/drivers/taitotz.c
+++ b/src/mame/drivers/taitotz.c
@@ -147,8 +147,8 @@ Notes:
QML04300LA-A
RIZING PING PONG EXP
M9005557A VER. 2.01O (note '01O' is slightly scratched and could be incorrect)
-
-
+
+
*/
#define ADDRESS_MAP_MODERN
diff --git a/src/mame/drivers/taxidriv.c b/src/mame/drivers/taxidriv.c
index 9583e0a32a0..7ea81edeed6 100644
--- a/src/mame/drivers/taxidriv.c
+++ b/src/mame/drivers/taxidriv.c
@@ -452,7 +452,7 @@ ROM_START( taxidriv )
ROM_REGION( 0x10000, "sub", 0 )
ROM_LOAD( "8.ic4", 0x0000, 0x2000, CRC(9f9a3865) SHA1(908cf4f2cc68c088649241997276ea25c27d9718) )
-// ROM_LOAD( "8.ic4", 0x0000, 0x2000, CRC(9835d517) SHA1(845f3efc54b64837c22dd06683c2950f2b8b03cb) ) // 0x1b5f = 0x04 instead of 0x03 from another set
+// ROM_LOAD( "8.ic4", 0x0000, 0x2000, CRC(9835d517) SHA1(845f3efc54b64837c22dd06683c2950f2b8b03cb) ) // 0x1b5f = 0x04 instead of 0x03 from another set
ROM_LOAD( "9.ic5", 0x2000, 0x2000, CRC(b28b766c) SHA1(21e08ef1e2671c8540380e3fa0858e8a4d821945) )
ROM_REGION( 0x10000, "audiocpu", 0 )
diff --git a/src/mame/includes/bfm_sc45.h b/src/mame/includes/bfm_sc45.h
index f7f959cfaa6..8cf76d4423f 100644
--- a/src/mame/includes/bfm_sc45.h
+++ b/src/mame/includes/bfm_sc45.h
@@ -480,8 +480,8 @@ public:
DECLARE_DRIVER_INIT(sc4corotb);
DECLARE_DRIVER_INIT(sc4hyper);
-
-
+
+
DECLARE_MACHINE_START(sc4);
DECLARE_MACHINE_RESET(sc4);
};
@@ -3436,7 +3436,7 @@ INPUT_PORTS_EXTERN( sc4_base );
#define sc_bgold_others \
ROM_REGION( 0x400000, "ymz", ROMREGION_ERASE00 ) \
-
+
#define sc_cconx_others \
ROM_REGION( 0x400000, "ymz", ROMREGION_ERASE00 ) \
ROM_LOAD( "mtom sounds", 0x000000, 0x100000, NO_DUMP ) \
@@ -3614,7 +3614,7 @@ INPUT_PORTS_EXTERN( sc4_base );
#define sc_revo_others \
ROM_REGION( 0x400000, "ymz", ROMREGION_ERASE00 ) \
ROM_LOAD( "rev sounds", 0x0000, 0x100000, NO_DUMP ) \
-
+
#define sc_wild_others \
ROM_REGION( 0x400000, "ymz", ROMREGION_ERASE00 ) \
\
diff --git a/src/mame/includes/cps1.h b/src/mame/includes/cps1.h
index 371a182fc51..4ebf781cf04 100644
--- a/src/mame/includes/cps1.h
+++ b/src/mame/includes/cps1.h
@@ -146,7 +146,7 @@ public:
int m_stars_rom_size;
UINT8 m_empty_tile[32*32];
int m_cps_version;
-
+
/* fcrash video config */
UINT8 m_layer_enable_reg;
UINT8 m_layer_mask_reg[4];
@@ -238,7 +238,7 @@ public:
TIMER_DEVICE_CALLBACK_MEMBER(ganbare_interrupt);
TIMER_DEVICE_CALLBACK_MEMBER(cps2_interrupt);
TIMER_CALLBACK_MEMBER(cps2_update_digital_volume);
-
+
/* fcrash handlers */
DECLARE_DRIVER_INIT(kodb);
DECLARE_DRIVER_INIT(cawingbl);
diff --git a/src/mame/includes/neogeo.h b/src/mame/includes/neogeo.h
index 8a20f0bf1dd..96e5f3eec23 100644
--- a/src/mame/includes/neogeo.h
+++ b/src/mame/includes/neogeo.h
@@ -235,7 +235,7 @@ public:
bool m_has_audio_banking; // does the system use Audio Banking (the NeoCD doesn't?)
bool m_is_mvs; // is the system an MVS (watchdog, SRAM etc.)
bool m_is_cartsys; // does the system use Cartridges? (MVS and AES)
-
+
// the NeoCD can steal the bus during uploads
bool m_has_sprite_bus;
bool m_has_text_bus;
diff --git a/src/mame/machine/megacd.c b/src/mame/machine/megacd.c
index df244accc84..f0bd03b4813 100644
--- a/src/mame/machine/megacd.c
+++ b/src/mame/machine/megacd.c
@@ -133,7 +133,7 @@ static MACHINE_CONFIG_FRAGMENT( segacd_fragment )
MCFG_CPU_ADD("segacd_68k", M68000, SEGACD_CLOCK ) /* 12.5 MHz */
MCFG_CPU_PROGRAM_MAP(segacd_map)
-
+
MCFG_DEVICE_ADD("cdc", LC89510, 0) // cd controller
// temporary until things are cleaned up
@@ -145,7 +145,7 @@ static MACHINE_CONFIG_FRAGMENT( segacd_fragment )
MCFG_TIMER_DRIVER_ADD("stamp_timer", sega_segacd_device, segacd_gfx_conversion_timer_callback)
MCFG_TIMER_DRIVER_ADD("scd_dma_timer", sega_segacd_device, scd_dma_timer_callback)
-
+
MCFG_DEFAULT_LAYOUT( layout_megacd )
@@ -1758,7 +1758,7 @@ TIMER_DEVICE_CALLBACK_MEMBER( sega_segacd_device::scd_dma_timer_callback )
// timed reset of flags
scd_mode_dmna_ret_flags |= 0x0021;
-
+
scd_dma_timer->adjust(attotime::from_hz(megadriv_framerate) / megadrive_total_scanlines);
}
diff --git a/src/mame/machine/megacdcd.c b/src/mame/machine/megacdcd.c
index 8ec67e86da4..155c1f0f5b2 100644
--- a/src/mame/machine/megacdcd.c
+++ b/src/mame/machine/megacdcd.c
@@ -162,7 +162,7 @@ void lc89510_temp_device::CDD_Export(bool neocd_hack)
CDD_RX[0] = (CDD_STATUS & 0xff00)>>8;
else
{
- // printf("was %02x returning %02x\n", (CDD_STATUS & 0xff00)>>8, NeoCD_StatusHack);
+ // printf("was %02x returning %02x\n", (CDD_STATUS & 0xff00)>>8, NeoCD_StatusHack);
CDD_RX[0] = NeoCD_StatusHack;
}
@@ -546,7 +546,7 @@ void lc89510_temp_device::CDC_Do_DMA(running_machine& machine, int rate)
// HACK
segacd_dma_callback(dmacount, CDC_BUFFER, dma_addrc, destination );
-
+
dma_addrc += length*2;
LC8951RegistersW[REG_W_DACL] = dma_addrc & 0xff; LC8951RegistersW[REG_W_DACH] = (dma_addrc >> 8) & 0xff;
@@ -606,8 +606,8 @@ UINT8 lc89510_temp_device::CDC_Reg_r(void)
{
int reg = CDC_REG0 & 0xF;
UINT8 ret = 0;
-
-
+
+
UINT16 decoderegs = 0x73F2;
if ((decoderegs>>reg)&1)
@@ -622,8 +622,8 @@ UINT8 lc89510_temp_device::CDC_Reg_r(void)
case REG_R_IFSTAT: ret = LC8951RegistersR[REG_R_IFSTAT]; break;
case REG_R_DBCL: ret = LC8951RegistersW[REG_W_DBCL]; break;
case REG_R_DBCH:
-// LC8951RegistersR[REG_R_DBCH] &= 0x0F; // NeoCD?
-// LC8951RegistersR[REG_R_DBCH] |= (LC8951RegistersR[REG_R_IFSTAT] & 0x40) ? 0x00 : 0xF0; // NeoCD?
+// LC8951RegistersR[REG_R_DBCH] &= 0x0F; // NeoCD?
+// LC8951RegistersR[REG_R_DBCH] |= (LC8951RegistersR[REG_R_IFSTAT] & 0x40) ? 0x00 : 0xF0; // NeoCD?
ret = LC8951RegistersW[REG_W_DBCH]; break;
case REG_R_HEAD0: ret = LC8951RegistersR[REG_R_HEAD0]; break;
case REG_R_HEAD1: ret = LC8951RegistersR[REG_R_HEAD1]; break;
@@ -634,8 +634,8 @@ UINT8 lc89510_temp_device::CDC_Reg_r(void)
case REG_R_WAL: ret = LC8951RegistersW[REG_W_WAL]; break;
case REG_R_WAH: ret = LC8951RegistersW[REG_W_WAH]; break;
case REG_R_STAT0: ret = LC8951RegistersR[REG_R_STAT0]; break;
- case REG_R_STAT1: ret = LC8951RegistersR[REG_R_STAT1];
- // LC8951RegistersR[REG_R_IFSTAT] |= 0x20; // NeoCD? // reset DECI
+ case REG_R_STAT1: ret = LC8951RegistersR[REG_R_STAT1];
+ // LC8951RegistersR[REG_R_IFSTAT] |= 0x20; // NeoCD? // reset DECI
break;
case REG_R_STAT2: ret = LC8951RegistersR[REG_R_STAT2]; break;
case REG_R_STAT3: ret = LC8951RegistersR[REG_R_STAT3];
@@ -712,8 +712,8 @@ void lc89510_temp_device::CDC_Reg_w(UINT8 data)
}
//else
//{
- // LC8951RegistersW[REG_W_DTACK] = ~0x00;
- // LC8951RegistersR[REG_R_IFSTAT] &= ~0x40;
+ // LC8951RegistersW[REG_W_DTACK] = ~0x00;
+ // LC8951RegistersR[REG_R_IFSTAT] &= ~0x40;
//}
break;
case REG_W_WAL: LC8951RegistersW[REG_W_WAL] = data; break;
@@ -944,7 +944,7 @@ UINT8 lc89510_temp_device::neocd_cdd_rx_r()
if (bNeoCDCommsClock) {
ret |= 0x10;
}
-
+
return ret;
}
@@ -1024,8 +1024,8 @@ void lc89510_temp_device::reset_cd(void)
-// if (segacd.cd)
-// printf("cd found\n");
+// if (segacd.cd)
+// printf("cd found\n");
}
@@ -1049,7 +1049,7 @@ TIMER_DEVICE_CALLBACK_MEMBER( lc89510_temp_device::segacd_access_timer_callback
}
}
- if (SCD_READ_ENABLED) // if (nff0002 & 0x0050) if (nff0002 & 0x0500);
+ if (SCD_READ_ENABLED) // if (nff0002 & 0x0050) if (nff0002 & 0x0500);
{
set_data_audio_mode();
Read_LBA_To_Buffer(machine());
@@ -1116,7 +1116,7 @@ void lc89510_temp_device::NeoCDCommsControl(UINT8 clock, UINT8 send)
if (!CDD_Import(machine()))
return;
- CDD_Export(true); // true == neocd hack,
+ CDD_Export(true); // true == neocd hack,
}
}
@@ -1216,7 +1216,7 @@ void lc89510_temp_device::scd_ctrl_checks(running_machine& machine)
if (LC8951RegistersW[REG_W_IFCTRL] & 0x20)
{
-
+
if (is_neoCD)
{
type1_interrupt_callback();
@@ -1224,7 +1224,7 @@ void lc89510_temp_device::scd_ctrl_checks(running_machine& machine)
else
{
// todo: make callback
- CHECK_SCD_LV5_INTERRUPT
+ CHECK_SCD_LV5_INTERRUPT
}
diff --git a/src/mame/machine/megacdcd.h b/src/mame/machine/megacdcd.h
index 9af07b75ab3..2c409c71eeb 100644
--- a/src/mame/machine/megacdcd.h
+++ b/src/mame/machine/megacdcd.h
@@ -171,7 +171,7 @@ public:
void Fake_CDC_Do_DMA(int &dmacount, UINT8 *CDC_BUFFER, UINT16 &dma_addrc, UINT16 &destination );
static void set_CDC_Do_DMA(device_t &device,segacd_dma_delegate new_segacd_dma_callback);
-
+
void dummy_interrupt_callback(void);
static void set_type1_interrupt_callback(device_t &device,interrupt_delegate interrupt_callback);
static void set_type2_interrupt_callback(device_t &device,interrupt_delegate interrupt_callback);
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 964f03f719b..53fcc0488a7 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -13815,7 +13815,7 @@ sc2cb7 // Casino Bar 7 (Bellfruit)
sc2cb71
sc2cb72
sc2cb72p
-sc2cb7p
+sc2cb7p
sc2cgcas // Club Grand Casino
sc2cgcasp
sc2cgcas1
@@ -17523,7 +17523,7 @@ sc5mopl // Monopoly Property Ladder (Bellfruit)
sc5mopla //
sc5moplb //
sc5moplc //
-sc5mopld //
+sc5mopld //
sc5mople //
sc5moplf //
sc5moplg //
@@ -17558,7 +17558,7 @@ sc5potsm // Pots Of Luck (Mazooma)
sc5potsma //
sc5cpen1 // Public Enemy No1 Club (Bellfruit)
sc5cpen1a //
-sc5cpen1b //
+sc5cpen1b //
sc5cpen1c //
sc5qual // Quality Streak (Bellfruit)
sc5quala //
@@ -18218,7 +18218,7 @@ sc5fguyb //
sc5fguyc //
sc5fguyd //
sc5fguye //
-sc5fguyf //
+sc5fguyf //
sc5fguyg //
sc5fbspn // Fat Boy Spin (Bellfruit)
sc5fbspna //
@@ -18418,7 +18418,7 @@ sc5mhpg //
sc5mhph //
sc5mhpi //
sc5mhpj //
-sc5mhpk //
+sc5mhpk //
sc5mhpl //
sc5mmb // Monopoly Money Bags (Bellfruit)
sc5mmba //
@@ -18974,7 +18974,7 @@ ad5rsrra //
-
+
/* Maygay Machines Ltd. */
@@ -19435,7 +19435,7 @@ m1gresco
m1grescp
m1grescq
m1guvnor // The Guvnor (Maygay)
-m1guvnora
+m1guvnora
m1guvnorb
m1guvnorc
m1guvnord
@@ -19730,7 +19730,7 @@ m1monstra
m1monstrb
m1monstrc
m1nhp // Noel's House Party (Maygay)
-m1nhpa
+m1nhpa
m1nhpb
m1nhpc
m1nhpd
@@ -19744,7 +19744,7 @@ m1nhpk
m1nhpl
m1nhpm
m1nudbnk // Nudge Banker (Maygay)
-m1nudbnka
+m1nudbnka
m1nudbnkb
m1nudbnkc
m1nudbnkd
@@ -19901,7 +19901,7 @@ m1thatlfb
m1thatlfc
m1thatlfd
m1topten // Top Tenner (Maygay)
-m1toptena
+m1toptena
m1trivia // Trivial Pursuit (Maygay)
m1triviaa
m1triviab
@@ -20012,9 +20012,9 @@ m1lcaa
m1lcab
m1lcac
m1mb // Monkey Business (Global)
-m1mba
-m1mbb
-m1mbc
+m1mba
+m1mbb
+m1mbc
m1mbclb // Monkey Business Club (Global)
m1sycc // Stake Yer Claim Club (Global)
m1sycca
diff --git a/src/mame/video/nbmj8688.c b/src/mame/video/nbmj8688.c
index 2fb887919d5..9ce96187b8b 100644
--- a/src/mame/video/nbmj8688.c
+++ b/src/mame/video/nbmj8688.c
@@ -683,7 +683,7 @@ if(machine().input().code_pressed_once(KEYCODE_T))
}
}
-// if (m_mjsikaku_dispflag)
+// if (m_mjsikaku_dispflag)
{
int scrolly;
if (m_mjsikaku_flipscreen) scrolly = m_mjsikaku_scrolly;
@@ -692,8 +692,8 @@ if(machine().input().code_pressed_once(KEYCODE_T))
copybitmap(bitmap, *m_mjsikaku_tmpbitmap, 0, 0, 0, scrolly, cliprect);
copybitmap(bitmap, *m_mjsikaku_tmpbitmap, 0, 0, 0, scrolly - 256, cliprect);
}
-// else
-// bitmap.fill(0);
+// else
+// bitmap.fill(0);
return 0;
}
diff --git a/src/mess/drivers/a7000.c b/src/mess/drivers/a7000.c
index 4db85ad1fe9..cf7701a0f94 100644
--- a/src/mess/drivers/a7000.c
+++ b/src/mess/drivers/a7000.c
@@ -829,7 +829,7 @@ ROM_START(a7000p)
ROM_SYSTEM_BIOS( 2, "439", "RiscOS 4.39" )
ROMX_LOAD( "riscos439_1.bin", 0x000000, 0x200000, CRC(dab94cb8) SHA1(a81fb7f1a8117f85e82764675445092d769aa9af), ROM_GROUPWORD | ROM_SKIP(2) | ROM_BIOS(3))
ROMX_LOAD( "riscos439_2.bin", 0x000002, 0x200000, CRC(22e6a5d4) SHA1(b73b73c87824045130840a19ce16fa12e388c039), ROM_GROUPWORD | ROM_SKIP(2) | ROM_BIOS(3))
- ROM_REGION( 0x800000, "vram", ROMREGION_ERASE00 )
+ ROM_REGION( 0x800000, "vram", ROMREGION_ERASE00 )
ROM_END
/***************************************************************************
diff --git a/src/mess/drivers/a7800.c b/src/mess/drivers/a7800.c
index 7d112e2a424..8c3159d9530 100644
--- a/src/mess/drivers/a7800.c
+++ b/src/mess/drivers/a7800.c
@@ -21,7 +21,7 @@
2012/12/05 Robert Tuccitto Implemented proper IRE and phase
value to the palette
- 2012/12/14 Robert Tuccitto Adjusted colorburst/tint/hue of entire
+ 2012/12/14 Robert Tuccitto Adjusted colorburst/tint/hue of entire
palette to closer reflect default hardware configuration
setting of ~180 degrees. Palette settings now correspond
documented and calculated settings as follows:
diff --git a/src/mess/drivers/abc1600.c b/src/mess/drivers/abc1600.c
index 99e76e59d19..62756cf7b73 100644
--- a/src/mess/drivers/abc1600.c
+++ b/src/mess/drivers/abc1600.c
@@ -1272,11 +1272,11 @@ WRITE8_MEMBER( abc1600_state::fw0_w )
// drive select
floppy_image_device *floppy = NULL;
-
+
if (BIT(data, 0)) floppy = m_floppy0->get_device();
if (BIT(data, 1)) floppy = m_floppy1->get_device();
if (BIT(data, 2)) floppy = m_floppy2->get_device();
-
+
m_fdc->set_floppy(floppy);
// floppy motor
@@ -1706,12 +1706,12 @@ static Z8536_INTERFACE( cio_intf )
//-------------------------------------------------
/*
static LEGACY_FLOPPY_OPTIONS_START( abc1600 )
- LEGACY_FLOPPY_OPTION(abc1600, "dsk", "Luxor ABC 1600", basicdsk_identify_default, basicdsk_construct_default, NULL,
- HEADS([2])
- TRACKS([80])
- SECTORS([16])
- SECTOR_LENGTH([256])
- FIRST_SECTOR_ID([1]))
+ LEGACY_FLOPPY_OPTION(abc1600, "dsk", "Luxor ABC 1600", basicdsk_identify_default, basicdsk_construct_default, NULL,
+ HEADS([2])
+ TRACKS([80])
+ SECTORS([16])
+ SECTOR_LENGTH([256])
+ FIRST_SECTOR_ID([1]))
LEGACY_FLOPPY_OPTIONS_END
*/
diff --git a/src/mess/drivers/amiga.c b/src/mess/drivers/amiga.c
index 0db445ea759..fa3ae07c679 100644
--- a/src/mess/drivers/amiga.c
+++ b/src/mess/drivers/amiga.c
@@ -638,8 +638,8 @@ static MACHINE_CONFIG_START( ntsc, amiga_state )
MCFG_DEVICE_DISABLE()
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_REFRESH_RATE(59.997)
-// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+// MCFG_SCREEN_REFRESH_RATE(59.997)
+// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_MACHINE_RESET_OVERRIDE(amiga_state, amiga )
@@ -647,8 +647,8 @@ static MACHINE_CONFIG_START( ntsc, amiga_state )
/* video hardware */
MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
-// MCFG_SCREEN_SIZE(228*4, 262)
-// MCFG_SCREEN_VISIBLE_AREA(214, (228*4)-1, 34, 262-1)
+// MCFG_SCREEN_SIZE(228*4, 262)
+// MCFG_SCREEN_VISIBLE_AREA(214, (228*4)-1, 34, 262-1)
MCFG_SCREEN_RAW_PARAMS(AMIGA_68000_NTSC_CLOCK*2,228*4,214,228*4,262,34,262)
MCFG_SCREEN_UPDATE_DRIVER(amiga_state, screen_update_amiga)
@@ -750,9 +750,9 @@ static MACHINE_CONFIG_DERIVED( pal, ntsc )
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_RAW_PARAMS(AMIGA_68000_PAL_CLOCK*2,228*4,214,228*4,312,34,312)
-// MCFG_SCREEN_REFRESH_RATE(50)
-// MCFG_SCREEN_SIZE(228*4, 312)
-// MCFG_SCREEN_VISIBLE_AREA(214, (228*4)-1, 34, 312-1)
+// MCFG_SCREEN_REFRESH_RATE(50)
+// MCFG_SCREEN_SIZE(228*4, 312)
+// MCFG_SCREEN_VISIBLE_AREA(214, (228*4)-1, 34, 312-1)
/* cia */
MCFG_DEVICE_REMOVE("cia_0")
@@ -833,11 +833,11 @@ static MACHINE_CONFIG_START( a1200n, a1200_state )
/* TODO: params */
MCFG_SCREEN_ADD("screen", RASTER)
-// MCFG_SCREEN_REFRESH_RATE(59.997)
-// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
-// MCFG_SCREEN_SIZE(512*2, 312)
-// MCFG_SCREEN_VISIBLE_AREA((129-8-8)*2, (449+8-1+8)*2, 44-8, 300+8-1)
-// MCFG_SCREEN_RAW_PARAMS(AMIGA_68EC020_NTSC_CLOCK,512*2,(129-8-8)*2,(449+8-1+8)*2,312,44-8,300+8)
+// MCFG_SCREEN_REFRESH_RATE(59.997)
+// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
+// MCFG_SCREEN_SIZE(512*2, 312)
+// MCFG_SCREEN_VISIBLE_AREA((129-8-8)*2, (449+8-1+8)*2, 44-8, 300+8-1)
+// MCFG_SCREEN_RAW_PARAMS(AMIGA_68EC020_NTSC_CLOCK,512*2,(129-8-8)*2,(449+8-1+8)*2,312,44-8,300+8)
MCFG_SCREEN_RAW_PARAMS(AMIGA_68EC020_NTSC_CLOCK,228*4,214,228*4,262,34,262)
MCFG_SCREEN_UPDATE_DRIVER(a1200_state, screen_update_amiga_aga)
@@ -894,7 +894,7 @@ static MACHINE_CONFIG_DERIVED( a1200, a1200n )
/* video hardware */
/* TODO: params */
MCFG_SCREEN_MODIFY("screen")
-// MCFG_SCREEN_RAW_PARAMS(AMIGA_68EC020_PAL_CLOCK,512*2,(129-8-8)*2,(449+8-1+8)*2,312,44-8,300+8)
+// MCFG_SCREEN_RAW_PARAMS(AMIGA_68EC020_PAL_CLOCK,512*2,(129-8-8)*2,(449+8-1+8)*2,312,44-8,300+8)
MCFG_SCREEN_RAW_PARAMS(AMIGA_68EC020_PAL_CLOCK,228*4,214,228*4,312,34,312)
/* sound hardware */
@@ -939,8 +939,8 @@ static MACHINE_CONFIG_START( a3000n, amiga_state )
/* video hardware */
MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
MCFG_SCREEN_RAW_PARAMS(A3000_XTAL,228*4,214,228*4,262,34,262)
-// MCFG_SCREEN_SIZE(228*4, 262)
-// MCFG_SCREEN_VISIBLE_AREA(214, (228*4)-1, 34, 262-1)
+// MCFG_SCREEN_SIZE(228*4, 262)
+// MCFG_SCREEN_VISIBLE_AREA(214, (228*4)-1, 34, 262-1)
MCFG_SCREEN_UPDATE_DRIVER(amiga_state, screen_update_amiga)
MCFG_PALETTE_LENGTH(4096)
@@ -982,9 +982,9 @@ static MACHINE_CONFIG_DERIVED( a3000, a3000n )
MCFG_SCREEN_MODIFY("screen")
MCFG_SCREEN_RAW_PARAMS(A3000_XTAL,228*4,214,228*4,312,34,312)
-// MCFG_SCREEN_REFRESH_RATE(50)
-// MCFG_SCREEN_SIZE(228*4, 312)
-// MCFG_SCREEN_VISIBLE_AREA(214, (228*4)-1, 34, 312-1)
+// MCFG_SCREEN_REFRESH_RATE(50)
+// MCFG_SCREEN_SIZE(228*4, 312)
+// MCFG_SCREEN_VISIBLE_AREA(214, (228*4)-1, 34, 312-1)
/* cia */
MCFG_DEVICE_REMOVE("cia_0")
diff --git a/src/mess/drivers/apc.c b/src/mess/drivers/apc.c
index cd16908b46c..9d439a4c78b 100644
--- a/src/mess/drivers/apc.c
+++ b/src/mess/drivers/apc.c
@@ -114,8 +114,8 @@ public:
DECLARE_WRITE8_MEMBER(apc_irq_ack_w);
DECLARE_READ8_MEMBER(apc_rtc_r);
DECLARE_WRITE8_MEMBER(apc_rtc_w);
-// DECLARE_READ8_MEMBER(aux_pcg_r);
-// DECLARE_WRITE8_MEMBER(aux_pcg_w);
+// DECLARE_READ8_MEMBER(aux_pcg_r);
+// DECLARE_WRITE8_MEMBER(aux_pcg_w);
struct {
UINT8 status; //status
@@ -235,21 +235,21 @@ static UPD7220_DRAW_TEXT_LINE( hgdc_draw_text )
continue;
/*
- Addr bus: C BA98 7654 3210
- | |||| |\\\ \\\\- character number bits 0-6
- | |||| \--------- y' bit 0
- | |||\----------- y' bit 1
- | ||\------------ y' bit 2
- | |\------------- y' bit 3
- | \-------------- character number bit 7
- \---------------- y' bit 4
-
- y to y' (assumed; this needs hardware tests since there could be one more 'blank' line between all char rows):
- y = 0 1 2 3 ... 16 17 18
- y' = 18 0 1 2 ... 15 16 17
-
- Data bus: 76543210 = pixels, in left->01234567->right order
- */
+ Addr bus: C BA98 7654 3210
+ | |||| |\\\ \\\\- character number bits 0-6
+ | |||| \--------- y' bit 0
+ | |||\----------- y' bit 1
+ | ||\------------ y' bit 2
+ | |\------------- y' bit 3
+ | \-------------- character number bit 7
+ \---------------- y' bit 4
+
+ y to y' (assumed; this needs hardware tests since there could be one more 'blank' line between all char rows):
+ y = 0 1 2 3 ... 16 17 18
+ y' = 18 0 1 2 ... 15 16 17
+
+ Data bus: 76543210 = pixels, in left->01234567->right order
+ */
if(tile_sel == 0x89)// Aux character RAM select TODO: correct triggering?
{
if(yi & 0x10)
@@ -464,9 +464,9 @@ RTC write bits: 76543210
static ADDRESS_MAP_START( apc_map, AS_PROGRAM, 16, apc_state )
AM_RANGE(0x00000, 0x9ffff) AM_RAM
AM_RANGE(0xa0000, 0xa0fff) AM_RAM AM_SHARE("cmos")
-// AM_RANGE(0xc0000, 0xcffff) standard character ROM
+// AM_RANGE(0xc0000, 0xcffff) standard character ROM
AM_RANGE(0xd8000, 0xd9fff) AM_RAM AM_REGION("aux_pcg", 0) // AUX character RAM
-// AM_RANGE(0xe0000, 0xeffff) Special Character RAM
+// AM_RANGE(0xe0000, 0xeffff) Special Character RAM
AM_RANGE(0xfe000, 0xfffff) AM_ROM AM_REGION("ipl", 0)
ADDRESS_MAP_END
@@ -487,7 +487,7 @@ static ADDRESS_MAP_START( apc_io, AS_IO, 16, apc_state )
AM_RANGE(0x60, 0x61) AM_DEVREADWRITE8_LEGACY("upd1771c", upd1771_r, upd1771_w, 0x00ff )
// AM_RANGE(0x68, 0x6f) i8255 , printer port (A: status (R) B: data (W) C: command (W))
// AM_DEVREADWRITE8("upd7220_btm", upd7220_device, read, write, 0x00ff)
-// 0x92, 0x9a, 0xa2, 0xaa is for a Hard Disk (unknown type)
+// 0x92, 0x9a, 0xa2, 0xaa is for a Hard Disk (unknown type)
ADDRESS_MAP_END
/* TODO: key repeat, remove port impulse! */
@@ -561,7 +561,7 @@ static INPUT_PORTS_START( apc )
PORT_BIT(0x10,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("] / }") PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR(']') PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x5d)
PORT_BIT(0x20,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("(up score) / ^") PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x5e)
PORT_BIT(0x40,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("- / _") PORT_CODE(KEYCODE_MINUS) PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x5f)
-// PORT_BIT(0x80,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("unk6") PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x26)
+// PORT_BIT(0x80,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("unk6") PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x26)
PORT_START("KEY6")
PORT_BIT(0x01,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("SPACE") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x20)
@@ -579,46 +579,46 @@ static INPUT_PORTS_START( apc )
; Special table for screwed-up keys. Scan codes are converted.
;
SPECTBL:
- BYTE 0X2D,0X3D
- BYTE 0X40,0X60
- BYTE 0X3A,0X3B
- BYTE 0X3B,0X27
-SPECTLN == (.-SPECTBL)/2 ; length of table
+ BYTE 0X2D,0X3D
+ BYTE 0X40,0X60
+ BYTE 0X3A,0X3B
+ BYTE 0X3B,0X27
+SPECTLN == (.-SPECTBL)/2 ; length of table
;
; Shift case table
;
CASETBL:
- BYTE "1!"
- BYTE "2@"
- BYTE "3#"
- BYTE "4$"
- BYTE "5%"
- BYTE "6",0XD0
- BYTE "7&"
- BYTE "8*"
- BYTE "9("
- BYTE "0)"
- BYTE "-_"
- BYTE "=+"
- BYTE "`~"
- BYTE "[{"
- BYTE "]}"
- BYTE "\\|"
- BYTE ",<"
- BYTE ".>"
- BYTE "/?"
- BYTE ";:"
- BYTE 0X27,0X22
- BYTE 0X18,"^"
+ BYTE "1!"
+ BYTE "2@"
+ BYTE "3#"
+ BYTE "4$"
+ BYTE "5%"
+ BYTE "6",0XD0
+ BYTE "7&"
+ BYTE "8*"
+ BYTE "9("
+ BYTE "0)"
+ BYTE "-_"
+ BYTE "=+"
+ BYTE "`~"
+ BYTE "[{"
+ BYTE "]}"
+ BYTE "\\|"
+ BYTE ",<"
+ BYTE ".>"
+ BYTE "/?"
+ BYTE ";:"
+ BYTE 0X27,0X22
+ BYTE 0X18,"^"
*/
/*
- BYTE 0X18 ; 5E - Control-X
- BYTE "-" ; 5F
+ BYTE 0X18 ; 5E - Control-X
+ BYTE "-" ; 5F
*/
/*
- #REPEAT 0X96-0X80 ; 80 to 95 - function keys
+ #REPEAT 0X96-0X80 ; 80 to 95 - function keys
*/
PORT_START("KEY_PF1")
PORT_BIT(0x01,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("PF1") PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x80)
@@ -649,22 +649,22 @@ CASETBL:
PORT_BIT(0x20,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("PF22") PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x95)
/*
- BYTE "*" ; 6A
- BYTE "+" ; 6B
- BYTE 0XFF ; 6C - undefined code
- BYTE "-" ; 6D
- BYTE "." ; 6E
- BYTE "/" ; 6F
- BYTE "0" ; 70
- BYTE "1" ; 71
- BYTE "2" ; 72
- BYTE "3" ; 73
- BYTE "4" ; 74
- BYTE "5" ; 75
- BYTE "6" ; 76
- BYTE "7" ; 77
- BYTE "8" ; 78
- BYTE "9" ; 79
+ BYTE "*" ; 6A
+ BYTE "+" ; 6B
+ BYTE 0XFF ; 6C - undefined code
+ BYTE "-" ; 6D
+ BYTE "." ; 6E
+ BYTE "/" ; 6F
+ BYTE "0" ; 70
+ BYTE "1" ; 71
+ BYTE "2" ; 72
+ BYTE "3" ; 73
+ BYTE "4" ; 74
+ BYTE "5" ; 75
+ BYTE "6" ; 76
+ BYTE "7" ; 77
+ BYTE "8" ; 78
+ BYTE "9" ; 79
*/
PORT_START("KEY_PAD1")
@@ -688,13 +688,13 @@ CASETBL:
PORT_BIT(0x80,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("9 (PAD)") PORT_CODE(KEYCODE_9_PAD) PORT_CHAR('9') PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x79)
-/* BYTE 0X00 ; 96 - break stop
- BYTE 0X0D ; 97 - return
- BYTE 0X09 ; 98 - tab/back tab
- BYTE 0XFF ; 99 - undefined code
- BYTE 0X1E ; 9A - home/clear
- BYTE 0XFF ; 9B - undefined code
- BYTE 0X08 ; 9C - back space
+/* BYTE 0X00 ; 96 - break stop
+ BYTE 0X0D ; 97 - return
+ BYTE 0X09 ; 98 - tab/back tab
+ BYTE 0XFF ; 99 - undefined code
+ BYTE 0X1E ; 9A - home/clear
+ BYTE 0XFF ; 9B - undefined code
+ BYTE 0X08 ; 9C - back space
*/
PORT_START("KEY_S1")
PORT_BIT(0x01,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("BREAK") PORT_CHAR(0x00) PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x96)
@@ -707,13 +707,13 @@ CASETBL:
PORT_BIT(0x80,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("ESC") PORT_CHAR(0x1b) PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x1b)
/*
- BYTE 0X0B ; F7 - up arrow
- BYTE 0X0A ; F8 - down arrow
- BYTE 0X0C ; F9 - right arrow
- BYTE 0X08 ; FA - left arrow
- BYTE 0XFF (?) ; FB - ins
- BYTE 0X7F ; FC - del
- BYTE 0X0D ; FD - enter
+ BYTE 0X0B ; F7 - up arrow
+ BYTE 0X0A ; F8 - down arrow
+ BYTE 0X0C ; F9 - right arrow
+ BYTE 0X08 ; FA - left arrow
+ BYTE 0XFF (?) ; FB - ins
+ BYTE 0X7F ; FC - del
+ BYTE 0X0D ; FD - enter
*/
PORT_START("KEY_S2")
PORT_BIT(0x01,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("Up") PORT_CODE(KEYCODE_UP) PORT_CHAR(0x0b) PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0xf7)
@@ -755,7 +755,7 @@ void apc_state::machine_start()
m_fdc->setup_drq_cb(upd765a_device::line_cb(FUNC(apc_state::fdc_drq), this));
m_rtc->cs_w(1);
-// m_rtc->oe_w(1);
+// m_rtc->oe_w(1);
}
void apc_state::machine_reset()
@@ -821,7 +821,7 @@ static GFXDECODE_START( apc )
GFXDECODE_ENTRY( "gfx", 0x0800, charset_8x16, 0, 128 )
GFXDECODE_ENTRY( "gfx", 0x1000, charset_8x16, 0, 128 )
GFXDECODE_ENTRY( "gfx", 0x1800, charset_8x16, 0, 128 )
-// GFXDECODE_ENTRY( "aux_pcg", 0x0000, charset_pcg, 0, 128 )
+// GFXDECODE_ENTRY( "aux_pcg", 0x0000, charset_pcg, 0, 128 )
GFXDECODE_END
@@ -881,7 +881,7 @@ ir7 APU
WRITE_LINE_MEMBER(apc_state::apc_master_set_int_line)
{
//printf("%02x\n",interrupt);
-// printf("irq %d\n",state);
+// printf("irq %d\n",state);
machine().device("maincpu")->execute().set_input_line(0, state ? HOLD_LINE : CLEAR_LINE);
}
@@ -927,7 +927,7 @@ WRITE_LINE_MEMBER( apc_state::apc_tc_w )
/* floppy terminal count */
m_fdc->tc_w(state);
-// printf("TC %02x\n",state);
+// printf("TC %02x\n",state);
}
READ8_MEMBER(apc_state::apc_dma_read_byte)
@@ -935,7 +935,7 @@ READ8_MEMBER(apc_state::apc_dma_read_byte)
address_space &program = m_maincpu->space(AS_PROGRAM);
offs_t addr = (m_dma_offset[m_dack] << 16) | offset;
-// printf("%08x\n",addr);
+// printf("%08x\n",addr);
return program.read_byte(addr);
}
diff --git a/src/mess/drivers/apple2.c b/src/mess/drivers/apple2.c
index 33f1e0a795d..eb01ec2cb96 100644
--- a/src/mess/drivers/apple2.c
+++ b/src/mess/drivers/apple2.c
@@ -1092,16 +1092,16 @@ ROM_END
ROM_START(am64)
ROM_REGION(0x2000,"gfx1",0)
- ROM_LOAD( "gm-2716.bin", 0x0000, 0x0800, CRC(863e657f) SHA1(cc954204c503bc545ec0d08862483aaad83805d5) )
+ ROM_LOAD( "gm-2716.bin", 0x0000, 0x0800, CRC(863e657f) SHA1(cc954204c503bc545ec0d08862483aaad83805d5) )
ROM_REGION(0x4700,"maincpu",0)
- ROM_LOAD( "am64-27128.bin", 0x0000, 0x4000, CRC(f25cdc7b) SHA1(235e72b77695938a9df8781f5bea3cbbbe1f4c76) )
+ ROM_LOAD( "am64-27128.bin", 0x0000, 0x4000, CRC(f25cdc7b) SHA1(235e72b77695938a9df8781f5bea3cbbbe1f4c76) )
ROM_REGION(0x2000, "spares", 0)
// parallel card ROM
- ROM_LOAD( "ap-2716.bin", 0x0000, 0x0800, CRC(c6990f08) SHA1(e7daf63639234e46738a4d78a49287d11ccaf537) )
+ ROM_LOAD( "ap-2716.bin", 0x0000, 0x0800, CRC(c6990f08) SHA1(e7daf63639234e46738a4d78a49287d11ccaf537) )
// i8048 keyboard MCU ROM
- ROM_LOAD( "tk10.bin", 0x0800, 0x0800, CRC(a06c5b78) SHA1(27c5160b913e0f62120f384026d24b9f1acb6970) )
+ ROM_LOAD( "tk10.bin", 0x0800, 0x0800, CRC(a06c5b78) SHA1(27c5160b913e0f62120f384026d24b9f1acb6970) )
ROM_END
diff --git a/src/mess/drivers/dragon.c b/src/mess/drivers/dragon.c
index f3b1b374981..91f42671748 100644
--- a/src/mess/drivers/dragon.c
+++ b/src/mess/drivers/dragon.c
@@ -243,7 +243,7 @@ ROM_END
ROM_START(dragon200)
ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "ic18.rom", 0x0000, 0x4000, CRC(84f68bf9) SHA1(1983b4fb398e3dd9668d424c666c5a0b3f1e2b69))
+ ROM_LOAD( "ic18.rom", 0x0000, 0x4000, CRC(84f68bf9) SHA1(1983b4fb398e3dd9668d424c666c5a0b3f1e2b69))
ROM_LOAD( "ic17.rom", 0x8000, 0x4000, CRC(17893a42) SHA1(e3c8986bb1d44269c4587b04f1ca27a70b0aaa2e))
ROM_END
diff --git a/src/mess/drivers/esq1.c b/src/mess/drivers/esq1.c
index a1d547ed07f..8e83ac7c54c 100644
--- a/src/mess/drivers/esq1.c
+++ b/src/mess/drivers/esq1.c
@@ -50,65 +50,65 @@ TODO:
- Keyboard
- Analog filters and VCA on the back end of the 5503
- SQ-80 support (additional banking, FDC)
-
-NOTES:
- Commands from KPC are all 2 bytes
-
- first byte: command code, bit 7 is 1 = press, 0 = release
- second byte is source: 00 = panel 01 = internal keyboard
-
- 04 SEQ
- 05 CART A
- 06 CART B
- 07 INT
- 08 1 / SEQ 1
- 09 2 / SEQ 2
- 0A 3 / SEQ 3
- 0B 4 / SONG
- 0C COMPARE
- 0D DATA UP
- 0E DATA DOWN
- 0F WRITE
- 10 = UPPER 1 (buttons above display)
- 11 = UPPER 2
- 12 = UPPER 3
- 13 = UPPER 4
- 14 = UPPER 5
- 15 = LOWER 1 (buttons below display)
- 16 = LOWER 2
- 17 = LOWER 3
- 18 = LOWER 4
- 19 = LOWER 5
- 1a = LFO 1
- 1b = ENV 2
- 1c = MASTER
- 1d = CREATE / ERASE
- 1e = SELECT
- 1f = RECORD
- 20 = STORAGE
- 21 = EDIT
- 22 = MIX
- 23 = STOP / CONT
- 24 = MIDI
- 25 = CONTROL
- 26 = LOCATE
- 27 = PLAY
- 28 = OSC 1
- 29 = OSC 2
- 2A = OSC 3
- 2B = ENV 1
- 2C = DCA 1
- 2D = DCA 2
- 2E = DCA 3
- 2F = LFO 2
- 30 = LFO 3
- 31 = FILTER
- 32 = ENV 4
- 33 = ENV 3
- 34 = DCA 4
- 35 = MODES
- 36 = SPLIT / LAYER
-
+
+NOTES:
+ Commands from KPC are all 2 bytes
+
+ first byte: command code, bit 7 is 1 = press, 0 = release
+ second byte is source: 00 = panel 01 = internal keyboard
+
+ 04 SEQ
+ 05 CART A
+ 06 CART B
+ 07 INT
+ 08 1 / SEQ 1
+ 09 2 / SEQ 2
+ 0A 3 / SEQ 3
+ 0B 4 / SONG
+ 0C COMPARE
+ 0D DATA UP
+ 0E DATA DOWN
+ 0F WRITE
+ 10 = UPPER 1 (buttons above display)
+ 11 = UPPER 2
+ 12 = UPPER 3
+ 13 = UPPER 4
+ 14 = UPPER 5
+ 15 = LOWER 1 (buttons below display)
+ 16 = LOWER 2
+ 17 = LOWER 3
+ 18 = LOWER 4
+ 19 = LOWER 5
+ 1a = LFO 1
+ 1b = ENV 2
+ 1c = MASTER
+ 1d = CREATE / ERASE
+ 1e = SELECT
+ 1f = RECORD
+ 20 = STORAGE
+ 21 = EDIT
+ 22 = MIX
+ 23 = STOP / CONT
+ 24 = MIDI
+ 25 = CONTROL
+ 26 = LOCATE
+ 27 = PLAY
+ 28 = OSC 1
+ 29 = OSC 2
+ 2A = OSC 3
+ 2B = ENV 1
+ 2C = DCA 1
+ 2D = DCA 2
+ 2E = DCA 3
+ 2F = LFO 2
+ 30 = LFO 3
+ 31 = FILTER
+ 32 = ENV 4
+ 33 = ENV 3
+ 34 = DCA 4
+ 35 = MODES
+ 36 = SPLIT / LAYER
+
***************************************************************************/
#include "emu.h"
@@ -220,7 +220,7 @@ static ADDRESS_MAP_START( esq1_map, AS_PROGRAM, 8, esq1_state )
AM_RANGE(0x4000, 0x5fff) AM_RAM // SEQRAM
AM_RANGE(0x6000, 0x63ff) AM_DEVREADWRITE("es5503", es5503_device, read, write)
AM_RANGE(0x6400, 0x640f) AM_DEVREADWRITE_LEGACY("duart", duart68681_r, duart68681_w)
- AM_RANGE(0x6800, 0x68ff) AM_NOP
+ AM_RANGE(0x6800, 0x68ff) AM_NOP
AM_RANGE(0x7000, 0x7fff) AM_ROMBANK("osbank")
AM_RANGE(0x8000, 0xffff) AM_ROM AM_REGION("osrom", 0x8000) // OS "high" ROM is always mapped here
diff --git a/src/mess/drivers/esq5505.c b/src/mess/drivers/esq5505.c
index dd5393e9c9c..0d829c37860 100644
--- a/src/mess/drivers/esq5505.c
+++ b/src/mess/drivers/esq5505.c
@@ -28,21 +28,21 @@
5505 interrupts are on normal autovector IRQ 1
VFX / VFX-SD / SD-1 / SD-1 32 panel button codes:
- 2 = PROGRAM CONTROL
- 3 = WRITE
- 4 = WAVE
- 5 = SELECT VOICE
- 6 = MIXER/SHAPER
+ 2 = PROGRAM CONTROL
+ 3 = WRITE
+ 4 = WAVE
+ 5 = SELECT VOICE
+ 6 = MIXER/SHAPER
7 = EFFECT
8 = COMPARE
- 9 = COPY EFFECTS PARAMETERS
- 10 = LFO
- 11 = PITCH
- 12 = ENV1
- 13 = PITCH MOD
- 14 = ENV2
- 15 = FILTER
- 16 = ENV3
+ 9 = COPY EFFECTS PARAMETERS
+ 10 = LFO
+ 11 = PITCH
+ 12 = ENV1
+ 13 = PITCH MOD
+ 14 = ENV2
+ 15 = FILTER
+ 16 = ENV3
17 = OUTPUT
18 = ERROR 20 (VFX) / SEQ. CONTROL
19 = ?
@@ -50,23 +50,23 @@
21 = STORAGE
22 = ERROR 129 (VFX-SD w/Seq. loaded)
23 = ERROR 129 (VFX-SD w/Seq. loaded)
- 24 = MIDI
- 25 = BUTTON 9
- 26 = PSEL
- 27 = STAT
- 28 = EFFECT
- 29 = SEQ? (toggles INT0 / TRAX display)
- 30 = TRACKS 1-6
+ 24 = MIDI
+ 25 = BUTTON 9
+ 26 = PSEL
+ 27 = STAT
+ 28 = EFFECT
+ 29 = SEQ? (toggles INT0 / TRAX display)
+ 30 = TRACKS 1-6
31 = TRACKS 7-12
32 = ERROR 20 (VFX) / CLICK-REC
33 = ERROR 20 (VFX) / LOCATE
- 34 = BUTTON 8
- 35 = BUTTON 7
- 36 = VOLUME
- 37 = PAN
- 38 = TIMBRE
- 39 = KEY ZONE
- 40 = TRANSPOSE
+ 34 = BUTTON 8
+ 35 = BUTTON 7
+ 36 = VOLUME
+ 37 = PAN
+ 38 = TIMBRE
+ 39 = KEY ZONE
+ 40 = TRANSPOSE
41 = RELEASE
42 = SOFT TOP CENTER
43 = SOFT TOP RIGHT
@@ -90,7 +90,7 @@
61 = ERROR 20 (VFX) / EDIT TRACK
62 = DATA INCREMENT
63 = DATA DECREMENT
-
+
***************************************************************************/
#include "emu.h"
@@ -165,7 +165,7 @@ private:
UINT32 es5510_gpr_latch;
UINT8 es5510_ram_sel;
- UINT16 *m_rom, *m_ram;
+ UINT16 *m_rom, *m_ram;
public:
DECLARE_DRIVER_INIT(eps);
@@ -193,7 +193,7 @@ void esq5505_state::machine_reset()
READ16_MEMBER(esq5505_state::es5510_dsp_r)
{
-// printf("%06x: DSP read offset %04x (data is %04x)\n",space.device().safe_pc(),offset,es5510_dsp_ram[offset]);
+// printf("%06x: DSP read offset %04x (data is %04x)\n",space.device().safe_pc(),offset,es5510_dsp_ram[offset]);
// VFX hack
if (mame_stricmp(space.machine().system().name, "vfx") == 0)
@@ -447,7 +447,7 @@ static UINT8 duart_input(device_t *device)
if (floppy)
{
// ready_r returns true if the drive is *not* ready, false if it is
-// if (!floppy->ready_r())
+// if (!floppy->ready_r())
{
result |= 1;
}
@@ -465,22 +465,22 @@ static void duart_output(device_t *device, UINT8 data)
state->m_duart_io = data;
- /*
- EPS:
- bit 2 = SSEL
-
- VFX:
- bits 0/1/2 = analog sel
- bit 6 = ESPHALT
- bit 7 = SACK (?)
-
- VFX-SD & SD-1 (32):
- bits 0/1/2 = analog sel
- bit 3 = SSEL (disk side)
- bit 4 = DSEL (drive select?)
- bit 6 = ESPHALT
- bit 7 = SACK (?)
- */
+ /*
+ EPS:
+ bit 2 = SSEL
+
+ VFX:
+ bits 0/1/2 = analog sel
+ bit 6 = ESPHALT
+ bit 7 = SACK (?)
+
+ VFX-SD & SD-1 (32):
+ bits 0/1/2 = analog sel
+ bit 3 = SSEL (disk side)
+ bit 4 = DSEL (drive select?)
+ bit 6 = ESPHALT
+ bit 7 = SACK (?)
+ */
if (floppy)
{
@@ -830,11 +830,11 @@ ROM_START( vfx )
ROM_LOAD16_BYTE( "vfx210b-high.bin", 0x000001, 0x010000, CRC(59853be8) SHA1(8e07f69d53f80885d15f624e0b912aeaf3212ee4) )
ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00)
- ROM_LOAD16_BYTE( "u14.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) )
- ROM_LOAD16_BYTE( "u15.bin", 0x100001, 0x080000, CRC(c0055975) SHA1(5a22f1d5e437c6277eb0cfb1ff1b3f8dcdea1cc6) )
+ ROM_LOAD16_BYTE( "u14.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) )
+ ROM_LOAD16_BYTE( "u15.bin", 0x100001, 0x080000, CRC(c0055975) SHA1(5a22f1d5e437c6277eb0cfb1ff1b3f8dcdea1cc6) )
ROM_REGION(0x80000, "nibbles", ROMREGION_ERASE00)
- ROM_LOAD( "u16.bin", 0x000000, 0x080000, CRC(c3ddaf95) SHA1(44a7bd89cd7e82952cc5100479e110c385246559) )
+ ROM_LOAD( "u16.bin", 0x000000, 0x080000, CRC(c3ddaf95) SHA1(44a7bd89cd7e82952cc5100479e110c385246559) )
ROM_END
ROM_START( vfxsd )
@@ -843,13 +843,13 @@ ROM_START( vfxsd )
ROM_LOAD16_BYTE( "vfxsd_200_upper.bin", 0x000001, 0x010000, CRC(9a40efa2) SHA1(e38a2a4514519c1573361cb1526139bfcf94e45a) )
ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00)
- ROM_LOAD16_BYTE( "u57.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) )
- ROM_LOAD16_BYTE( "u58.bin", 0x100001, 0x080000, CRC(c0055975) SHA1(5a22f1d5e437c6277eb0cfb1ff1b3f8dcdea1cc6) )
+ ROM_LOAD16_BYTE( "u57.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) )
+ ROM_LOAD16_BYTE( "u58.bin", 0x100001, 0x080000, CRC(c0055975) SHA1(5a22f1d5e437c6277eb0cfb1ff1b3f8dcdea1cc6) )
ROM_REGION(0x200000, "waverom2", ROMREGION_ERASE00)
ROM_REGION(0x80000, "nibbles", 0)
- ROM_LOAD( "u60.bin", 0x000000, 0x080000, CRC(c3ddaf95) SHA1(44a7bd89cd7e82952cc5100479e110c385246559) )
+ ROM_LOAD( "u60.bin", 0x000000, 0x080000, CRC(c3ddaf95) SHA1(44a7bd89cd7e82952cc5100479e110c385246559) )
ROM_END
ROM_START( sd1 )
@@ -858,15 +858,15 @@ ROM_START( sd1 )
ROM_LOAD16_BYTE( "sd1_410_hi.bin", 0x000001, 0x010000, CRC(618c0aa8) SHA1(74acf458aa1d04a0a7a0cd5855c49e6855dbd301) )
ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00) // BS=0 region (12-bit)
- ROM_LOAD16_BYTE( "u34.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) )
- ROM_LOAD16_BYTE( "u35.bin", 0x100001, 0x080000, CRC(c0055975) SHA1(5a22f1d5e437c6277eb0cfb1ff1b3f8dcdea1cc6) )
+ ROM_LOAD16_BYTE( "u34.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) )
+ ROM_LOAD16_BYTE( "u35.bin", 0x100001, 0x080000, CRC(c0055975) SHA1(5a22f1d5e437c6277eb0cfb1ff1b3f8dcdea1cc6) )
ROM_REGION(0x200000, "waverom2", ROMREGION_ERASE00) // BS=1 region (16-bit)
- ROM_LOAD16_WORD_SWAP( "u38.bin", 0x000000, 0x100000, CRC(a904190e) SHA1(e4fd4e1130906086fb4182dcb8b51269969e2836) )
- ROM_LOAD16_WORD_SWAP( "u37.bin", 0x100000, 0x100000, CRC(d706cef3) SHA1(24ba35248509e9ca45110e2402b8085006ea0cfc) )
+ ROM_LOAD16_WORD_SWAP( "u38.bin", 0x000000, 0x100000, CRC(a904190e) SHA1(e4fd4e1130906086fb4182dcb8b51269969e2836) )
+ ROM_LOAD16_WORD_SWAP( "u37.bin", 0x100000, 0x100000, CRC(d706cef3) SHA1(24ba35248509e9ca45110e2402b8085006ea0cfc) )
ROM_REGION(0x80000, "nibbles", 0)
- ROM_LOAD( "u36.bin", 0x000000, 0x080000, CRC(c3ddaf95) SHA1(44a7bd89cd7e82952cc5100479e110c385246559) )
+ ROM_LOAD( "u36.bin", 0x000000, 0x080000, CRC(c3ddaf95) SHA1(44a7bd89cd7e82952cc5100479e110c385246559) )
ROM_END
ROM_START( sd132 )
@@ -875,15 +875,15 @@ ROM_START( sd132 )
ROM_LOAD16_BYTE( "sd1_32_402_hi.bin", 0x000001, 0x010000, CRC(fc45c210) SHA1(23b81ebd9176112e6eae0c7c75b39fcb1656c953) )
ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00) // BS=0 region (12-bit)
- ROM_LOAD16_BYTE( "u34.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) )
- ROM_LOAD16_BYTE( "u35.bin", 0x100001, 0x080000, CRC(c0055975) SHA1(5a22f1d5e437c6277eb0cfb1ff1b3f8dcdea1cc6) )
+ ROM_LOAD16_BYTE( "u34.bin", 0x000001, 0x080000, CRC(85592299) SHA1(1aa7cf612f91972baeba15991d9686ccde01599c) )
+ ROM_LOAD16_BYTE( "u35.bin", 0x100001, 0x080000, CRC(c0055975) SHA1(5a22f1d5e437c6277eb0cfb1ff1b3f8dcdea1cc6) )
ROM_REGION(0x200000, "waverom2", ROMREGION_ERASE00) // BS=1 region (16-bit)
- ROM_LOAD16_WORD_SWAP( "u38.bin", 0x000000, 0x100000, CRC(a904190e) SHA1(e4fd4e1130906086fb4182dcb8b51269969e2836) )
- ROM_LOAD16_WORD_SWAP( "u37.bin", 0x100000, 0x100000, CRC(d706cef3) SHA1(24ba35248509e9ca45110e2402b8085006ea0cfc) )
+ ROM_LOAD16_WORD_SWAP( "u38.bin", 0x000000, 0x100000, CRC(a904190e) SHA1(e4fd4e1130906086fb4182dcb8b51269969e2836) )
+ ROM_LOAD16_WORD_SWAP( "u37.bin", 0x100000, 0x100000, CRC(d706cef3) SHA1(24ba35248509e9ca45110e2402b8085006ea0cfc) )
ROM_REGION(0x80000, "nibbles", ROMREGION_ERASE00)
- ROM_LOAD( "u36.bin", 0x000000, 0x080000, CRC(c3ddaf95) SHA1(44a7bd89cd7e82952cc5100479e110c385246559) )
+ ROM_LOAD( "u36.bin", 0x000000, 0x080000, CRC(c3ddaf95) SHA1(44a7bd89cd7e82952cc5100479e110c385246559) )
ROM_END
diff --git a/src/mess/drivers/esqkt.c b/src/mess/drivers/esqkt.c
index 1dbb9b7bf64..54c2cc4514e 100644
--- a/src/mess/drivers/esqkt.c
+++ b/src/mess/drivers/esqkt.c
@@ -3,22 +3,22 @@
esqkt.c - Ensoniq KT-76, KT-88, and E-Prime
Driver by R. Belmont
-
+
Hardware:
- CPU: 68EC020-16 CPU
- Serial/timers: SCN2681 (MC68681 clone)
- Sound: 2xES5506
- Effects: ES5510
+ CPU: 68EC020-16 CPU
+ Serial/timers: SCN2681 (MC68681 clone)
+ Sound: 2xES5506
+ Effects: ES5510
Memory map:
-
- 0x000000-0x07FFFF OS ROM
- 0x200000-0x20003F Master ES5506
- 0x240000-0x24003F Slave ES5506
- 0x280000-0x2801FF ES5510
- 0x300000-0x30000F 68681 DUART
- 0xFF0000-0xFFFFFF OS RAM
-
+
+ 0x000000-0x07FFFF OS ROM
+ 0x200000-0x20003F Master ES5506
+ 0x240000-0x24003F Slave ES5506
+ 0x280000-0x2801FF ES5510
+ 0x300000-0x30000F 68681 DUART
+ 0xFF0000-0xFFFFFF OS RAM
+
***************************************************************************/
#include "emu.h"
@@ -75,7 +75,7 @@ private:
UINT32 es5510_gpr_latch;
UINT8 es5510_ram_sel;
- UINT32 *m_rom, *m_ram;
+ UINT32 *m_rom, *m_ram;
public:
DECLARE_DRIVER_INIT(kt);
@@ -84,18 +84,18 @@ public:
void esqkt_state::machine_reset()
{
-// m_rom = (UINT32 *)machine().root_device().memregion("osrom")->base();
-// m_ram = (UINT32 *)machine().root_device().memshare("osram")->ptr();
+// m_rom = (UINT32 *)machine().root_device().memregion("osrom")->base();
+// m_ram = (UINT32 *)machine().root_device().memshare("osram")->ptr();
-// memcpy(m_ram, m_rom, 8);
-// m_maincpu->reset();
+// memcpy(m_ram, m_rom, 8);
+// m_maincpu->reset();
m_bCalibSecondByte = false;
}
READ16_MEMBER(esqkt_state::es5510_dsp_r)
{
-// printf("%06x: DSP read offset %04x (data is %04x)\n",space.device().safe_pc(),offset,es5510_dsp_ram[offset]);
+// printf("%06x: DSP read offset %04x (data is %04x)\n",space.device().safe_pc(),offset,es5510_dsp_ram[offset]);
switch(offset)
{
@@ -523,8 +523,8 @@ INPUT_PORTS_END
ROM_START( kt76 )
ROM_REGION(0x80000, "osrom", 0)
- ROM_LOAD32_WORD( "kt76_162_lo.bin", 0x000000, 0x020000, CRC(1a1ab910) SHA1(dcc80db2297fd25993e090c2e5bb7f947319a8bf) )
- ROM_LOAD32_WORD( "kt76_162_hi.bin", 0x000002, 0x040000, CRC(de16d236) SHA1(c55fca86453e90e8c34a048bed45817063237370) )
+ ROM_LOAD32_WORD( "kt76_162_lo.bin", 0x000000, 0x020000, CRC(1a1ab910) SHA1(dcc80db2297fd25993e090c2e5bb7f947319a8bf) )
+ ROM_LOAD32_WORD( "kt76_162_hi.bin", 0x000002, 0x040000, CRC(de16d236) SHA1(c55fca86453e90e8c34a048bed45817063237370) )
ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00)
ROM_REGION(0x200000, "waverom2", ROMREGION_ERASE00)
diff --git a/src/mess/drivers/esqmr.c b/src/mess/drivers/esqmr.c
index 2484594c06b..d8b173b10bf 100644
--- a/src/mess/drivers/esqmr.c
+++ b/src/mess/drivers/esqmr.c
@@ -3,16 +3,16 @@
esqmr.c - Ensoniq MR-61, MR-76, and MR-Rack
Skeleton driver by R. Belmont
-
+
Hardware:
- CPU: 68340 MCU
- Sound: 2xES5506
- Effects: ES5511
+ CPU: 68340 MCU
+ Sound: 2xES5506
+ Effects: ES5511
Memory map:
-
- 0x000000-0x0FFFFF OS ROM
-
+
+ 0x000000-0x0FFFFF OS ROM
+
***************************************************************************/
#include "emu.h"
@@ -45,8 +45,8 @@ void esqmr_state::machine_reset()
static ADDRESS_MAP_START( mr_map, AS_PROGRAM, 32, esqmr_state )
AM_RANGE(0x00000000, 0x000fffff) AM_ROM AM_REGION("maincpu", 0)
-// AM_RANGE(0x200000, 0x20003f) AM_DEVREADWRITE8_LEGACY("ensoniq", es5506_r, es5506_w, 0xffffffff)
-// AM_RANGE(0x240000, 0x24003f) AM_DEVREADWRITE8_LEGACY("ensoniq2", es5506_r, es5506_w, 0xffffffff)
+// AM_RANGE(0x200000, 0x20003f) AM_DEVREADWRITE8_LEGACY("ensoniq", es5506_r, es5506_w, 0xffffffff)
+// AM_RANGE(0x240000, 0x24003f) AM_DEVREADWRITE8_LEGACY("ensoniq2", es5506_r, es5506_w, 0xffffffff)
// AM_RANGE(0xff0000, 0xffffff) AM_RAM AM_SHARE("osram")
ADDRESS_MAP_END
@@ -101,8 +101,8 @@ INPUT_PORTS_END
ROM_START( mrrack )
ROM_REGION(0x100000, "maincpu", 0)
- ROM_LOAD16_BYTE( "mr-rack-150-lo.bin", 0x000001, 0x080000, CRC(b29988a1) SHA1(986c2def11de27fa2b9be55ac32f7fec0c414bca) )
- ROM_LOAD16_BYTE( "mr-rack-150-up.bin", 0x000000, 0x080000, CRC(71511692) SHA1(54744f16f1db1ac5abb2f70b6e04aebf1e0e029d) )
+ ROM_LOAD16_BYTE( "mr-rack-150-lo.bin", 0x000001, 0x080000, CRC(b29988a1) SHA1(986c2def11de27fa2b9be55ac32f7fec0c414bca) )
+ ROM_LOAD16_BYTE( "mr-rack-150-up.bin", 0x000000, 0x080000, CRC(71511692) SHA1(54744f16f1db1ac5abb2f70b6e04aebf1e0e029d) )
ROM_REGION(0x200000, "waverom", ROMREGION_ERASE00)
ROM_REGION(0x200000, "waverom2", ROMREGION_ERASE00)
diff --git a/src/mess/drivers/geniusiq.c b/src/mess/drivers/geniusiq.c
index a39dcd12e2d..b2aba5311d6 100644
--- a/src/mess/drivers/geniusiq.c
+++ b/src/mess/drivers/geniusiq.c
@@ -405,13 +405,13 @@ WRITE16_MEMBER(geniusiq_state::gfx_idx_w)
READ16_MEMBER( geniusiq_state::input_r )
{
/*
- this is guesswork and may not be correct
+ this is guesswork and may not be correct
- xxxx xxx- ---- ---- unknown
- ---- ---x ---- ---- used for indicate if the data read is valid (if not set the other bits are discarded)
- ---- ---- x--- ---- if set indicates a KeyUp otherwise a KeyDown
- ---- ---- -xxx xxxx this is the scan code
- */
+ xxxx xxx- ---- ---- unknown
+ ---- ---x ---- ---- used for indicate if the data read is valid (if not set the other bits are discarded)
+ ---- ---- x--- ---- if set indicates a KeyUp otherwise a KeyDown
+ ---- ---- -xxx xxxx this is the scan code
+ */
UINT16 data = 0;
diff --git a/src/mess/drivers/m20.c b/src/mess/drivers/m20.c
index 0774dbe66b6..a75e171fab2 100644
--- a/src/mess/drivers/m20.c
+++ b/src/mess/drivers/m20.c
@@ -475,7 +475,7 @@ void m20_state::machine_start()
void m20_state::machine_reset()
{
UINT8 *ROM = machine().root_device().memregion("maincpu")->base();
- // UINT8 *RAM = (UINT8 *)machine().root_device().memshare("mainram")->ptr();
+ // UINT8 *RAM = (UINT8 *)machine().root_device().memshare("mainram")->ptr();
UINT8 *RAM = (UINT8 *)machine().root_device().memshare("dram0_4000")->ptr();
//ROM += 0x10000; // don't know why they load at an offset, but let's go with it
diff --git a/src/mess/drivers/mikromik.c b/src/mess/drivers/mikromik.c
index 7aa8e45f912..f82c123fb01 100644
--- a/src/mess/drivers/mikromik.c
+++ b/src/mess/drivers/mikromik.c
@@ -686,7 +686,7 @@ FLOPPY_FORMATS_MEMBER( mm1_state::floppy_formats )
FLOPPY_FORMATS_END
/*
FLOPPY_FORMATS_MEMBER( mm2_state::floppy_formats )
- FLOPPY_MM2_FORMAT
+ FLOPPY_MM2_FORMAT
FLOPPY_FORMATS_END
*/
static SLOT_INTERFACE_START( mm1_floppies )
diff --git a/src/mess/drivers/mirage.c b/src/mess/drivers/mirage.c
index 891bf03b487..c41c1789952 100644
--- a/src/mess/drivers/mirage.c
+++ b/src/mess/drivers/mirage.c
@@ -17,27 +17,27 @@
e800-e803: WD1770 FDC
ec00-ecef: ES5503 "DOC" sound chip
f000-ffff: boot ROM
-
+
NMI: IRQ from WD1772
IRQ: DRQ from WD1772 wire-ORed with IRQ from ES5503 wire-ORed with IRQ from VIA6522
FIRQ: IRQ from 6850 UART
-
+
LED / switch matrix:
-
- A B C D E F G DP
+
+ A B C D E F G DP
ROW 0: LOAD UPPER LOAD LOWER SAMPLE UPPER PLAY SEQ LOAD SEQ SAVE SEQ REC SEQ SAMPLE LOWER
ROW 1: 3 6 9 5 8 0 2 Enter
ROW 2: 1 4 7 up arrow PARAM dn arrow VALUE CANCEL
L. AN: SEG A SEG B SEG C SEG D SEG E SEG F SEG G SEG DP (decimal point)
R. AN: SEG A SEG B SEG C SEG D SEG E SEG F SEG G SEG DP
-
+
Column number in VIA port A bits 0-2 is converted to discrete lines by a 74LS145.
Port A bit 3 is right anode, bit 4 is left anode
ROW 0 is read on VIA port A bit 5, ROW 1 in port A bit 6, and ROW 2 in port A bit 7.
-
+
Keyboard models talk to the R6500 through the VIA shifter: CA2 is handshake, CB1 is shift clock, CB2 is shift data.
This is unconnected on the rackmount version.
-
+
***************************************************************************/
@@ -162,7 +162,7 @@ WRITE8_MEMBER(mirage_state::mirage_via_write_porta)
16, 8, 32, 2, 1, 64, 128, 4
};
-// printf("PA: %02x (PC=%x)\n", data, m_maincpu->pc());
+// printf("PA: %02x (PC=%x)\n", data, m_maincpu->pc());
// left LED selected?
if ((data & 0x10) == 0x10)
@@ -180,7 +180,7 @@ WRITE8_MEMBER(mirage_state::mirage_via_write_porta)
m_l_hi = seg;
output_set_digit_value(0, m_l_segs);
-// printf("L LED: seg %d (hi %d conv %02x, %02x)\n", seg, m_l_hi, segconv[seg], m_l_segs);
+// printf("L LED: seg %d (hi %d conv %02x, %02x)\n", seg, m_l_hi, segconv[seg], m_l_segs);
}
// right LED selected?
if ((data & 0x08) == 0x08)
@@ -198,7 +198,7 @@ WRITE8_MEMBER(mirage_state::mirage_via_write_porta)
m_r_hi = seg;
output_set_digit_value(1, m_r_segs);
-// printf("R LED: seg %d (hi %d conv %02x, %02x)\n", seg, m_r_hi, segconv[seg], m_r_segs);
+// printf("R LED: seg %d (hi %d conv %02x, %02x)\n", seg, m_r_hi, segconv[seg], m_r_segs);
}
}
diff --git a/src/mess/drivers/modellot.c b/src/mess/drivers/modellot.c
index 8b379c71e9c..9005a32bdb6 100644
--- a/src/mess/drivers/modellot.c
+++ b/src/mess/drivers/modellot.c
@@ -1,5 +1,5 @@
/***************************************************************************
-
+
General Processor Modello T
10/12/2012 Skeleton driver.
@@ -22,9 +22,9 @@ public:
required_device<cpu_device> m_maincpu;
required_shared_ptr<UINT8> m_video_ram;
UINT32 screen_update_modellot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
-
+
virtual void machine_reset();
-
+
DECLARE_READ8_MEMBER(modellot_77);
DECLARE_READ8_MEMBER(modellot_ff);
};
@@ -70,7 +70,7 @@ const gfx_layout modellot_charlayout =
1, /* 1 bits per pixel */
{0}, /* no bitplanes; 1 bit per pixel */
{0,1,2,3,4,5,6,7},
- {0, 8, 2 * 8, 3 * 8, 4 * 8, 5 * 8, 6 * 8, 7 * 8,
+ {0, 8, 2 * 8, 3 * 8, 4 * 8, 5 * 8, 6 * 8, 7 * 8,
0x400*8, 0x401*8, 0x402*8, 0x403*8, 0x404*8, 0x405*8, 0x406*8, 0x407*8},
8*8 /* space between characters */
};
@@ -99,8 +99,8 @@ static MACHINE_CONFIG_START( modellot, modellot_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu",Z80, XTAL_4MHz)
MCFG_CPU_PROGRAM_MAP(modellot_mem)
- MCFG_CPU_IO_MAP(modellot_io)
-
+ MCFG_CPU_IO_MAP(modellot_io)
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(50)
@@ -108,7 +108,7 @@ static MACHINE_CONFIG_START( modellot, modellot_state )
MCFG_SCREEN_SIZE(64*8, 16*16)
MCFG_SCREEN_VISIBLE_AREA(0, 64*8-1, 0, 16*16-1)
MCFG_SCREEN_UPDATE_DRIVER(modellot_state, screen_update_modellot)
-
+
MCFG_GFXDECODE( modellot )
MCFG_PALETTE_LENGTH(2)
diff --git a/src/mess/drivers/ng_aes.c b/src/mess/drivers/ng_aes.c
index 4aeb9d09f06..615d98d3b6c 100644
--- a/src/mess/drivers/ng_aes.c
+++ b/src/mess/drivers/ng_aes.c
@@ -21,7 +21,7 @@
Current status:
- Cartridges run.
- - Riding Hero runs in slow-mo (probably related to comms HW / IO port handling)
+ - Riding Hero runs in slow-mo (probably related to comms HW / IO port handling)
ToDo :
- Change input code to allow selection of the mahjong panel in PORT_CATEGORY.
@@ -30,22 +30,22 @@
Neo-Geo CD hardware
- Thanks to:
- * The FBA team (Barry Harris) for much of the CDC / CDD code and system details.
- ( http://www.barryharris.me.uk/ )
- * Mirko Buffoni for a commented disassembly of the NeoCD bios rom.
+ Thanks to:
+ * The FBA team (Barry Harris) for much of the CDC / CDD code and system details.
+ ( http://www.barryharris.me.uk/ )
+ * Mirko Buffoni for a commented disassembly of the NeoCD bios rom.
Current status:
- - NeoCDZ runs, the original NeoCD does not
- - Might think the tray is open? (check)
- - Some unknown / unhandled CD commands, code is still a bit messy
- - CDDA continues to play during loading, should stop it
- - Games using Raster Effects are broken without a kludge
- - CPU gets overloaded with IRQs from the timer callback...
- - Double Dragon doesn't load, it erases the IRQ table
- - might need better handling of the Vector Table Mapping, or better interrupts (see point above)
- - Softlist are based on an old Tosec set and should be updated to the TruRip set once we can convert CCD
- without throwing away gap data etc.
+ - NeoCDZ runs, the original NeoCD does not
+ - Might think the tray is open? (check)
+ - Some unknown / unhandled CD commands, code is still a bit messy
+ - CDDA continues to play during loading, should stop it
+ - Games using Raster Effects are broken without a kludge
+ - CPU gets overloaded with IRQs from the timer callback...
+ - Double Dragon doesn't load, it erases the IRQ table
+ - might need better handling of the Vector Table Mapping, or better interrupts (see point above)
+ - Softlist are based on an old Tosec set and should be updated to the TruRip set once we can convert CCD
+ without throwing away gap data etc.
****************************************************************************/
@@ -114,7 +114,7 @@ public:
}
optional_device<lc89510_temp_device> m_tempcdc;
-
+
void NeoCDDoDMA(address_space& curr_space);
@@ -163,7 +163,7 @@ public:
void set_nNeoCDIRQVectorAck(int val) { nNeoCDIRQVectorAck = val; }
int get_nNeoCDIRQVector(void) { return nNeoCDIRQVector; }
void NeoCDIRQUpdate(UINT8 byteValue);
-
+
// from the CDC
void interrupt_callback_type1(void);
void interrupt_callback_type2(void);
@@ -482,8 +482,8 @@ WRITE16_MEMBER(ng_aes_state::neocd_control_w)
if (data==0x00)
{
// not a good idea, causes hangs
- // m_tempcdc->NeoCDCommsReset();
-
+ // m_tempcdc->NeoCDCommsReset();
+
// I doubt this is correct either, but we need something to stop
// the interrupts during gameplay and I'm not sure what...
prohibit_cdc_irq = true;
@@ -496,7 +496,7 @@ WRITE16_MEMBER(ng_aes_state::neocd_control_w)
break;
}
case 0x0182: {
- // printf("blah %02x\n", byteValue);
+ // printf("blah %02x\n", byteValue);
if (byteValue == 0x00)
{
machine().device("ymsnd")->reset();
@@ -598,7 +598,7 @@ WRITE8_MEMBER(ng_aes_state::neocd_transfer_w)
}
else
{
- // printf("sekAddress %08x %02x\n", sekAddress, data);
+ // printf("sekAddress %08x %02x\n", sekAddress, data);
if ((sekAddress & 0xfffff) >= 0x20000) break;
NeoZ80ROMActive[(sekAddress & 0x1FFFF) >> 1] = byteValue;
}
@@ -1526,7 +1526,7 @@ INPUT_PORTS_END
static MACHINE_CONFIG_DERIVED_CLASS( aes, neogeo_base, ng_aes_state )
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(aes_main_map) // some different input handling, probably also responsible for Riding Hero not running properly
-
+
MCFG_MEMCARD_HANDLER(neogeo_aes)
MCFG_MACHINE_START_OVERRIDE(ng_aes_state, neogeo)
diff --git a/src/mess/drivers/pc.c b/src/mess/drivers/pc.c
index 4fa5bf9928a..5941916e3e8 100644
--- a/src/mess/drivers/pc.c
+++ b/src/mess/drivers/pc.c
@@ -2252,7 +2252,7 @@ ROM_START( sx16 )
ROM_REGION(0x100000,"maincpu", 0)
ROM_LOAD( "tmm27128ad.bin",0xfc000, 0x4000, CRC(f8543362) SHA1(fef625e260ca89ba02174584bdc12db609f0780e))
/* IBM 1501981(CGA) and 1501985(MDA) Character rom */
- ROM_REGION(0x2000,"gfx1", 0)
+ ROM_REGION(0x2000,"gfx1", 0)
ROM_LOAD("5788005.u33", 0x00000, 0x2000, CRC(0bf56d70) SHA1(c2a8b10808bf51a3c123ba3eb1e9dd608231916f)) /* "AMI 8412PI // 5788005 // (C) IBM CORP. 1981 // KOREA" */
ROM_END
diff --git a/src/mess/drivers/pc88va.c b/src/mess/drivers/pc88va.c
index e02e50588da..ee99c2a43ff 100644
--- a/src/mess/drivers/pc88va.c
+++ b/src/mess/drivers/pc88va.c
@@ -17,8 +17,8 @@
hooked up by the current z80 core
- PC-88VA stock version has two bogus opcodes. One is at 0xf0b15, another at 0xf0b31.
Making a patch for the latter makes the system to jump into a "DIP-Switch" display.
- - unemulated upd71071 demand mode.
- - Fix floppy motor hook-up;
+ - unemulated upd71071 demand mode.
+ - Fix floppy motor hook-up;
********************************************************************************************/
@@ -137,13 +137,13 @@ public:
DECLARE_WRITE_LINE_MEMBER(pc88va_pic_irq);
DECLARE_READ8_MEMBER(get_slave_ack);
DECLARE_WRITE_LINE_MEMBER(pc88va_pit_out0_changed);
-// DECLARE_WRITE_LINE_MEMBER(pc88va_upd765_interrupt);
+// DECLARE_WRITE_LINE_MEMBER(pc88va_upd765_interrupt);
UINT8 m_fdc_ctrl_2;
TIMER_CALLBACK_MEMBER(pc88va_fdc_timer);
TIMER_CALLBACK_MEMBER(pc88va_fdc_motor_start_0);
TIMER_CALLBACK_MEMBER(pc88va_fdc_motor_start_1);
-// UINT16 m_fdc_dma_r(running_machine &machine);
-// void m_fdc_dma_w(running_machine &machine, UINT16 data);
+// UINT16 m_fdc_dma_r(running_machine &machine);
+// void m_fdc_dma_w(running_machine &machine, UINT16 data);
DECLARE_WRITE_LINE_MEMBER(pc88va_hlda_w);
DECLARE_WRITE_LINE_MEMBER(pc88va_tc_w);
@@ -1777,7 +1777,7 @@ WRITE_LINE_MEMBER(pc88va_state::pc88va_hlda_w)
{
m_maincpu->set_input_line(INPUT_LINE_HALT, state ? ASSERT_LINE : CLEAR_LINE);
-// m_dmac->hack_w(state);
+// m_dmac->hack_w(state);
// printf("%02x HLDA\n",state);
}
@@ -1787,7 +1787,7 @@ WRITE_LINE_MEMBER( pc88va_state::pc88va_tc_w )
/* floppy terminal count */
m_fdc->tc_w(state);
-// printf("TC %02x\n",state);
+// printf("TC %02x\n",state);
}
diff --git a/src/mess/drivers/pc9801.c b/src/mess/drivers/pc9801.c
index 6385cb79937..8ae3e8adaa3 100644
--- a/src/mess/drivers/pc9801.c
+++ b/src/mess/drivers/pc9801.c
@@ -7,17 +7,17 @@
TODO:
- proper 8251 uart hook-up on keyboard
- SASI /SCSI support;
- - kanji support;
+ - kanji support;
- Write a PC80S31K device (also used on PC-8801 and PC-88VA, it's the FDC + Z80 sub-system);
- - Finish DIP-Switches support
- - text scrolling
- - GRCG+
- - EGC
- - rewrite using slot devices
- - some later SWs put "Invalid command byte 05" (Absolutely Mahjong on Epson logo)
- - Basic games are mostly untested, but I think that upd7220 fails on those (Adventureland, Xevious)
+ - Finish DIP-Switches support
+ - text scrolling
+ - GRCG+
+ - EGC
+ - rewrite using slot devices
+ - some later SWs put "Invalid command byte 05" (Absolutely Mahjong on Epson logo)
+ - Basic games are mostly untested, but I think that upd7220 fails on those (Adventureland, Xevious)
- investigate on POR bit
- - PC-9801RS+ should support uPD4990 RTC
+ - PC-9801RS+ should support uPD4990 RTC
TODO (PC-9801RS):
- extra features;
@@ -28,8 +28,8 @@
- fix CPU for some clones;
- "cache error"
- undumped IDE ROM, kludged to work
- - slave PIC never enables floppy IRQ (PC=0xffd08)
- - Compatibility is untested;
+ - slave PIC never enables floppy IRQ (PC=0xffd08)
+ - Compatibility is untested;
TODO: (PC-486MU)
- Tries to read port C of i8255_sys (-> 0x35) at boot without setting up the control
@@ -37,70 +37,70 @@
- Dies on ARTIC check;
- Presumably one ROM is undumped?
- floppy issues TODO (certain fail)
- - Unsupported disk types: *.dsk, *.nfd, *.fdd, *.nhd
- - 46 Okunen Monogatari - The Shinkaron
- - AD&D Champions of Krynn
- - AI Shougi (asserts upon loading)
- - Aoki Ookami no Shiroki Mejika - Gengis Khan
- - Arcshu
- - Arcus 2
- - Art Jigsaw
- - Atlantia (disk swap?)
- - Azusa 108 Jimusho
- - Bacta 2
- - BattleTech (disk swap?)
- - Bay City Elegy (disk swap?)
- - Beast (keeps reading command sense)
- - Beast 2
- - Bells Avenue (disk swap?)
-
- - Bokosuka Wars
- - Dokkin Minako Sensei (2dd image)
- - Jangou 2: floppy fails to load after the title screen;
- - Okuman Chouja 2: fails loading in PC-9801RS only ("packed file is corrupt"). Maybe a 386 core bug?
- - Quarth: fails loading in PC-9801RS only ("packed file is corrupt"). Maybe a 386 core bug?
-
- List of per-game TODO:
- - 4D Boxing: inputs are unresponsive
- - A Ressha de Ikou 2: missing text (PC-9801RS only);
- - Absolutely Mahjong: Transitions are too fast.
- - Agumix Selects!: needs GDC = 5 MHz, interlace doesn't work properly;
- - Aki no Tsukasa no Fushigi no Kabe: moans with a kanji error
- "can't use (this) on a vanilla PC-9801, a PC-9801E nor a PC-9801U. Please turn off the computer and turn it on again."
- - Alice no Yakata: doesn't set bitmap interlace properly, can't do disk swaps via the File Manager;
- - Animahjong V3: accesses port 0x88;
- - Anniversary - Memories of Summer: thinks that a button is pressed;
- - Another Genesis: fails loading;
- - Apple Club 1: how to pass an hand?
- - Arctic: keyboard doesn't work?
- - Arcus 3: moans with a JP message "not enough memory (needs 640kb to start)";
- - Armored Flagship Atragon: needs HDD install
- - Arquephos: needs extra sound board(s)?
- - Asoko no Koufuku: black screen with BGM, waits at 0x225f6;
- - Aura Battler Dumbine: upd7220: unimplemented FIGD, has layer clearance bugs on gameplay;
- - Bakasuka Wars: drawing seems busted (either mouse or upd7220)
- - Band-Kun: (how to run this without installing?)
- - Battle Chess: wants some dip-switches to be on in DSW4, too slow during IA thinking?
-
- - Dragon Buster: slight issue with window masking;
- - Far Side Moon: doesn't detect sound board (tied to 0x00ec ports)
- - Jan Borg Suzume: gets stuck at a pic8259 read;
- - Jump Hero: right status display isn't shown during gameplay (changes the mode dynamically?)
- - Lovely Horror: Doesn't show kanji, tries to read it thru the 0xa9 port;
- - Quarth: should do a split screen effect, it doesn't hence there are broken gfxs
- - Quarth: uploads a PCG charset
- - Runner's High: wrong double height on the title screen;
- - Uchiyama Aki no Chou Bangai: keyboard irq is fussy (sometimes it doesn't register a key press);
- - Uno: uses EGC
-
- per-game TODO (PC-9821):
- - Battle Skin Panic: gfx bugs at the Gainax logo, it crashes after it;
- - Policenauts: EMS error at boot;
-
- Notes:
- - Apple Club 1/2 needs data disks to load properly;
- - Beast Lord: needs a titan.fnt, in MS-DOS
+ floppy issues TODO (certain fail)
+ - Unsupported disk types: *.dsk, *.nfd, *.fdd, *.nhd
+ - 46 Okunen Monogatari - The Shinkaron
+ - AD&D Champions of Krynn
+ - AI Shougi (asserts upon loading)
+ - Aoki Ookami no Shiroki Mejika - Gengis Khan
+ - Arcshu
+ - Arcus 2
+ - Art Jigsaw
+ - Atlantia (disk swap?)
+ - Azusa 108 Jimusho
+ - Bacta 2
+ - BattleTech (disk swap?)
+ - Bay City Elegy (disk swap?)
+ - Beast (keeps reading command sense)
+ - Beast 2
+ - Bells Avenue (disk swap?)
+
+ - Bokosuka Wars
+ - Dokkin Minako Sensei (2dd image)
+ - Jangou 2: floppy fails to load after the title screen;
+ - Okuman Chouja 2: fails loading in PC-9801RS only ("packed file is corrupt"). Maybe a 386 core bug?
+ - Quarth: fails loading in PC-9801RS only ("packed file is corrupt"). Maybe a 386 core bug?
+
+ List of per-game TODO:
+ - 4D Boxing: inputs are unresponsive
+ - A Ressha de Ikou 2: missing text (PC-9801RS only);
+ - Absolutely Mahjong: Transitions are too fast.
+ - Agumix Selects!: needs GDC = 5 MHz, interlace doesn't work properly;
+ - Aki no Tsukasa no Fushigi no Kabe: moans with a kanji error
+ "can't use (this) on a vanilla PC-9801, a PC-9801E nor a PC-9801U. Please turn off the computer and turn it on again."
+ - Alice no Yakata: doesn't set bitmap interlace properly, can't do disk swaps via the File Manager;
+ - Animahjong V3: accesses port 0x88;
+ - Anniversary - Memories of Summer: thinks that a button is pressed;
+ - Another Genesis: fails loading;
+ - Apple Club 1: how to pass an hand?
+ - Arctic: keyboard doesn't work?
+ - Arcus 3: moans with a JP message "not enough memory (needs 640kb to start)";
+ - Armored Flagship Atragon: needs HDD install
+ - Arquephos: needs extra sound board(s)?
+ - Asoko no Koufuku: black screen with BGM, waits at 0x225f6;
+ - Aura Battler Dumbine: upd7220: unimplemented FIGD, has layer clearance bugs on gameplay;
+ - Bakasuka Wars: drawing seems busted (either mouse or upd7220)
+ - Band-Kun: (how to run this without installing?)
+ - Battle Chess: wants some dip-switches to be on in DSW4, too slow during IA thinking?
+
+ - Dragon Buster: slight issue with window masking;
+ - Far Side Moon: doesn't detect sound board (tied to 0x00ec ports)
+ - Jan Borg Suzume: gets stuck at a pic8259 read;
+ - Jump Hero: right status display isn't shown during gameplay (changes the mode dynamically?)
+ - Lovely Horror: Doesn't show kanji, tries to read it thru the 0xa9 port;
+ - Quarth: should do a split screen effect, it doesn't hence there are broken gfxs
+ - Quarth: uploads a PCG charset
+ - Runner's High: wrong double height on the title screen;
+ - Uchiyama Aki no Chou Bangai: keyboard irq is fussy (sometimes it doesn't register a key press);
+ - Uno: uses EGC
+
+ per-game TODO (PC-9821):
+ - Battle Skin Panic: gfx bugs at the Gainax logo, it crashes after it;
+ - Policenauts: EMS error at boot;
+
+ Notes:
+ - Apple Club 1/2 needs data disks to load properly;
+ - Beast Lord: needs a titan.fnt, in MS-DOS
========================================================================================
@@ -341,7 +341,7 @@ public:
m_hgdc1(*this, "upd7220_chr"),
m_hgdc2(*this, "upd7220_btm"),
m_opn(*this, "opn"),
-// m_opna(*this, "opna"),
+// m_opna(*this, "opna"),
m_video_ram_1(*this, "video_ram_1"),
m_video_ram_2(*this, "video_ram_2"){ }
@@ -354,7 +354,7 @@ public:
required_device<upd7220_device> m_hgdc1;
required_device<upd7220_device> m_hgdc2;
required_device<ym2203_device> m_opn;
-// optional_device<ym2608_device> m_opna;
+// optional_device<ym2608_device> m_opna;
required_shared_ptr<UINT8> m_video_ram_1;
required_shared_ptr<UINT8> m_video_ram_2;
@@ -481,8 +481,8 @@ public:
DECLARE_WRITE8_MEMBER(pc9810rs_fdc_ctrl_w);
DECLARE_READ8_MEMBER(pc9801rs_2hd_r);
DECLARE_WRITE8_MEMBER(pc9801rs_2hd_w);
-// DECLARE_READ8_MEMBER(pc9801rs_2dd_r);
-// DECLARE_WRITE8_MEMBER(pc9801rs_2dd_w);
+// DECLARE_READ8_MEMBER(pc9801rs_2dd_r);
+// DECLARE_WRITE8_MEMBER(pc9801rs_2dd_w);
DECLARE_WRITE8_MEMBER(pc9801rs_video_ff_w);
DECLARE_WRITE8_MEMBER(pc9801rs_a0_w);
DECLARE_READ8_MEMBER(pc980ux_memory_r);
@@ -597,7 +597,7 @@ public:
DECLARE_WRITE_LINE_MEMBER(fdc_2hd_drq);
DECLARE_WRITE_LINE_MEMBER(fdc_2dd_irq);
DECLARE_WRITE_LINE_MEMBER(fdc_2dd_drq);
-// DECLARE_WRITE_LINE_MEMBER(pc9801rs_fdc_irq);
+// DECLARE_WRITE_LINE_MEMBER(pc9801rs_fdc_irq);
DECLARE_READ8_MEMBER(ppi_mouse_porta_r);
DECLARE_READ8_MEMBER(ppi_mouse_portb_r);
@@ -752,8 +752,8 @@ static UPD7220_DRAW_TEXT_LINE( hgdc_draw_text )
if(knj_tile)
{
/* Note: bit 7 doesn't really count, if a kanji is enabled then the successive tile is always the second part of it.
- Trusted with Alice no Yakata, Animahjong V3, Aki no Tsukasa no Fushigi no Kabe, Apros ...
- */
+ Trusted with Alice no Yakata, Animahjong V3, Aki no Tsukasa no Fushigi no Kabe, Apros ...
+ */
//kanji_lr = (knj_tile & 0x80) >> 7;
//kanji_lr |= (tile & 0x80) >> 7; // Tokimeki Sports Gal 3
tile &= 0x7f;
@@ -764,7 +764,7 @@ static UPD7220_DRAW_TEXT_LINE( hgdc_draw_text )
x_step = 1;
else
x_step = 2;
-// kanji_lr = 0;
+// kanji_lr = 0;
}
else
x_step = 1;
@@ -804,15 +804,15 @@ static UPD7220_DRAW_TEXT_LINE( hgdc_draw_text )
tile_data = 0;
/*
- gfx strip mode:
+ gfx strip mode:
- number refers to the bit number in the tile data.
- This mode is identical to the one seen in PC-8801
- 00004444
- 11115555
- 22226666
- 33337777
- */
+ number refers to the bit number in the tile data.
+ This mode is identical to the one seen in PC-8801
+ 00004444
+ 11115555
+ 22226666
+ 33337777
+ */
gfx_bit = (xi & 4);
gfx_bit+= (yi & (2 << (char_size == 16 ? 0x01 : 0x00)))>>(1+(char_size == 16));
@@ -976,7 +976,7 @@ WRITE8_MEMBER(pc9801_state::pc9801_20_w)
}
else // odd
{
-// printf("Write to DMA bank register %d %02x\n",((offset >> 1)+1) & 3,data);
+// printf("Write to DMA bank register %d %02x\n",((offset >> 1)+1) & 3,data);
m_dma_offset[((offset >> 1)+1) & 3] = data & 0x0f;
}
}
@@ -1141,13 +1141,13 @@ WRITE8_MEMBER(pc9801_state::pc9801_video_ff_w)
if((offset & 1) == 0)
{
/*
- TODO: this is my best bet so far. Register 4 is annoying, the pattern seems to be:
- Write to video FF register Graphic -> 00
- Write to video FF register 200 lines -> 0x
- Write to video FF register 200 lines -> 00
+ TODO: this is my best bet so far. Register 4 is annoying, the pattern seems to be:
+ Write to video FF register Graphic -> 00
+ Write to video FF register 200 lines -> 0x
+ Write to video FF register 200 lines -> 00
- where x is the current mode.
- */
+ where x is the current mode.
+ */
switch((data & 0x0e) >> 1)
{
case 1:
@@ -1213,7 +1213,7 @@ WRITE8_MEMBER(pc9801_state::pc9801_70_w)
{
if((offset & 1) == 0)
{
-// printf("Write to display register [%02x] %02x\n",offset+0x70,data);
+// printf("Write to display register [%02x] %02x\n",offset+0x70,data);
m_txt_scroll_reg[offset >> 1] = data;
//popmessage("%02x %02x %02x %02x",m_txt_scroll_reg[0],m_txt_scroll_reg[1],m_txt_scroll_reg[2],m_txt_scroll_reg[3]);
@@ -1223,7 +1223,7 @@ WRITE8_MEMBER(pc9801_state::pc9801_70_w)
if(offset < 0x08)
pit8253_w(machine().device("pit8253"), space, (offset & 6) >> 1, data);
//else
- // printf("Write to undefined port [%02x] <- %02x\n",offset+0x70,data);
+ // printf("Write to undefined port [%02x] <- %02x\n",offset+0x70,data);
}
}
@@ -1596,7 +1596,7 @@ READ8_MEMBER(pc9801_state::pc9801_opn_r)
if((offset & 1) == 0)
{
//if(m_has_opna)
- // return ym2608_r(m_opna, space, offset >> 1);
+ // return ym2608_r(m_opna, space, offset >> 1);
return offset & 4 ? 0xff : ym2203_r(m_opn,space, offset >> 1);
}
@@ -1612,8 +1612,8 @@ WRITE8_MEMBER(pc9801_state::pc9801_opn_w)
if((offset & 1) == 0)
{
/*if(m_has_opna)
- ym2608_w(m_opna,space, offset >> 1,data);
- else */
+ ym2608_w(m_opna,space, offset >> 1,data);
+ else */
if((offset & 4) == 0)
ym2203_w(m_opn,space, offset >> 1,data);
}
@@ -1706,7 +1706,7 @@ READ8_MEMBER(pc9801_state::pc9801rs_knjram_r)
pcg_offset = m_font_addr << 5;
pcg_offset|= offset & 0x1f;
-// pcg_offset|= m_font_lr;
+// pcg_offset|= m_font_lr;
return m_kanji_rom[pcg_offset];
}
@@ -1805,21 +1805,21 @@ READ8_MEMBER(pc9801_state::pc9801rs_70_r)
return 0xff;
}
- return pc9801_70_r(space,offset);;
+ return pc9801_70_r(space,offset);;
}
WRITE8_MEMBER(pc9801_state::pc9801rs_70_w)
{
if(offset == 0xc)
{
-// printf("%02x GRCG MODE\n",data);
+// printf("%02x GRCG MODE\n",data);
m_grcg.mode = data;
m_grcg.tile_index = 0;
return;
}
else if(offset == 0x0e)
{
-// printf("%02x GRCG TILE %02x\n",data,m_grcg.tile_index);
+// printf("%02x GRCG TILE %02x\n",data,m_grcg.tile_index);
m_grcg.tile[m_grcg.tile_index] = data;
m_grcg.tile_index ++;
m_grcg.tile_index &= 3;
@@ -1851,7 +1851,7 @@ READ8_MEMBER(pc9801_state::pc9801rs_memory_r)
else if(offset >= 0x00100000 && offset <= 0x00100000+m_ram_size-1) { return pc9801rs_ex_wram_r(space,offset-0x00100000); }
else if(offset >= 0xfffe0000 && offset <= 0xffffffff) { return pc9801rs_ipl_r(space,offset & 0x1ffff); }
-// printf("%08x\n",offset);
+// printf("%08x\n",offset);
return 0x00;
}
@@ -1886,14 +1886,14 @@ WRITE8_MEMBER(pc9801_state::pc9810rs_fdc_ctrl_w)
---- ---x select irq
*/
-// machine().device<floppy_connector>("upd765_2hd:0")->get_device()->set_rpm(data & 0x02 ? 360 : 300);
-// machine().device<floppy_connector>("upd765_2hd:1")->get_device()->set_rpm(data & 0x02 ? 360 : 300);
+// machine().device<floppy_connector>("upd765_2hd:0")->get_device()->set_rpm(data & 0x02 ? 360 : 300);
+// machine().device<floppy_connector>("upd765_2hd:1")->get_device()->set_rpm(data & 0x02 ? 360 : 300);
machine().device<upd765a_device>("upd765_2hd")->set_rate(data & 0x02 ? 500000 : 250000);
m_fdc_ctrl = data;
//if(data & 0xfc)
- // printf("FDC ctrl called with %02x\n",data);
+ // printf("FDC ctrl called with %02x\n",data);
}
READ8_MEMBER(pc9801_state::pc9801rs_2hd_r)
@@ -1929,8 +1929,8 @@ WRITE8_MEMBER(pc9801_state::pc9801rs_2hd_w)
machine().device<floppy_connector>("upd765_2hd:0")->get_device()->mon_w(data & 0x40 ? ASSERT_LINE : CLEAR_LINE);
machine().device<floppy_connector>("upd765_2hd:1")->get_device()->mon_w(data & 0x40 ? ASSERT_LINE : CLEAR_LINE);
-// machine().device<floppy_connector>("upd765_2hd:0")->get_device()->mon_w(data & 0x08 ? ASSERT_LINE : CLEAR_LINE);
-// machine().device<floppy_connector>("upd765_2hd:1")->get_device()->mon_w(data & 0x08 ? ASSERT_LINE : CLEAR_LINE);
+// machine().device<floppy_connector>("upd765_2hd:0")->get_device()->mon_w(data & 0x08 ? ASSERT_LINE : CLEAR_LINE);
+// machine().device<floppy_connector>("upd765_2hd:1")->get_device()->mon_w(data & 0x08 ? ASSERT_LINE : CLEAR_LINE);
return;
}
}
@@ -1999,7 +1999,7 @@ WRITE8_MEMBER(pc9801_state::pc9801rs_video_ff_w)
printf("Write to extended video FF register %s -> %02x\n",ex_video_ff_regnames[(data & 0x06) >> 1],data & 1);
}
//else
- // printf("Write to extended video FF register %02x\n",data);
+ // printf("Write to extended video FF register %02x\n",data);
return;
}
@@ -2112,7 +2112,7 @@ static ADDRESS_MAP_START( pc9801rs_io, AS_IO, 32, pc9801_state )
AM_RANGE(0x00a0, 0x00af) AM_READWRITE8(pc9801_a0_r, pc9801rs_a0_w, 0xffffffff) //upd7220 bitmap ports / display registers
AM_RANGE(0x00bc, 0x00bf) AM_READWRITE8(pc9810rs_fdc_ctrl_r,pc9810rs_fdc_ctrl_w,0xffffffff)
AM_RANGE(0x00c8, 0x00cf) AM_READWRITE8(pc9801rs_2hd_r, pc9801rs_2hd_w, 0xffffffff)
-// AM_RANGE(0x00ec, 0x00ef) PC-9801-86 sound board
+// AM_RANGE(0x00ec, 0x00ef) PC-9801-86 sound board
AM_RANGE(0x00f0, 0x00ff) AM_READWRITE8(pc9801rs_f0_r, pc9801rs_f0_w, 0xffffffff)
AM_RANGE(0x0188, 0x018f) AM_READWRITE8(pc9801_opn_r, pc9801_opn_w, 0xffffffff) //ym2203 opn / <undefined>
AM_RANGE(0x0438, 0x043b) AM_READWRITE8(pc9801rs_access_ctrl_r,pc9801rs_access_ctrl_w,0xffffffff)
@@ -2232,7 +2232,7 @@ READ8_MEMBER(pc9801_state::pc9821_memory_r)
/* TODO: window bank at 0xa0000 - 0xbffff */
if ( offset <= 0x0009ffff) { return pc9801rs_wram_r(space,offset); }
-// else if(offset >= 0x00080000 && offset <= 0x0009ffff) { return pc9821_winram_r(space,offset & 0x1ffff); }
+// else if(offset >= 0x00080000 && offset <= 0x0009ffff) { return pc9821_winram_r(space,offset & 0x1ffff); }
else if(offset >= 0x000a0000 && offset <= 0x000a3fff) { return pc9801_tvram_r(space,offset-0xa0000); }
else if(offset >= 0x000a4000 && offset <= 0x000a4fff) { return pc9801rs_knjram_r(space,offset & 0xfff); }
else if(offset >= 0x000a8000 && offset <= 0x000bffff) { return pc9801_gvram_r(space,offset-0xa8000); }
@@ -2261,7 +2261,7 @@ WRITE8_MEMBER(pc9801_state::pc9821_memory_w)
/* TODO: window bank at 0xa0000 - 0xbffff */
if ( offset <= 0x0009ffff) { pc9801rs_wram_w(space,offset,data); }
-// else if(offset >= 0x00080000 && offset <= 0x0009ffff) { pc9821_winram_w(space,offset & 0x1ffff,data); }
+// else if(offset >= 0x00080000 && offset <= 0x0009ffff) { pc9821_winram_w(space,offset & 0x1ffff,data); }
else if(offset >= 0x000a0000 && offset <= 0x000a3fff) { pc9801_tvram_w(space,offset-0xa0000,data); }
else if(offset >= 0x000a4000 && offset <= 0x000a4fff) { pc9801rs_knjram_w(space,offset & 0xfff,data); }
else if(offset >= 0x000a8000 && offset <= 0x000bffff) { pc9801_gvram_w(space,offset-0xa8000,data); }
@@ -2273,7 +2273,7 @@ WRITE8_MEMBER(pc9801_state::pc9821_memory_w)
else if(offset >= 0x00100000 && offset <= 0x00100000+m_ram_size-1) { pc9801rs_ex_wram_w(space,offset-0x00100000,data); }
else if(offset >= 0x00f00000 && offset <= 0x00f9ffff) { pc9821_ext_gvram_w(space,offset-0x00f00000,data); }
//else
- // printf("%08x %08x\n",offset,data);
+ // printf("%08x %08x\n",offset,data);
}
@@ -2284,7 +2284,7 @@ WRITE8_MEMBER(pc9801_state::pc9821_video_ff_w)
m_ex_video_ff[(data & 0xfe) >> 1] = data & 1;
//if((data & 0xfe) == 0x20)
- // printf("%02x\n",data & 1);
+ // printf("%02x\n",data & 1);
}
/* Intentional fall-through */
@@ -2927,10 +2927,10 @@ static INPUT_PORTS_START( pc9801rs )
PORT_MODIFY("ROM_LOAD")
PORT_BIT( 0x03, IP_ACTIVE_LOW, IPT_UNUSED )
-// PORT_START("SOUND_CONFIG")
-// PORT_CONFNAME( 0x01, 0x00, "Sound Type" )
-// PORT_CONFSETTING( 0x00, "YM2203 (OPN)" )
-// PORT_CONFSETTING( 0x01, "YM2608 (OPNA)" )
+// PORT_START("SOUND_CONFIG")
+// PORT_CONFNAME( 0x01, 0x00, "Sound Type" )
+// PORT_CONFSETTING( 0x00, "YM2203 (OPN)" )
+// PORT_CONFSETTING( 0x01, "YM2608 (OPNA)" )
INPUT_PORTS_END
static INPUT_PORTS_START( pc9821 )
@@ -3120,7 +3120,7 @@ WRITE_LINE_MEMBER(pc9801_state::pc9801_tc_w )
m_fdc_2hd->tc_w(state);
// TODO: 2dd?
-// printf("TC %02x\n",state);
+// printf("TC %02x\n",state);
}
READ8_MEMBER(pc9801_state::pc9801_dma_read_byte)
@@ -3128,7 +3128,7 @@ READ8_MEMBER(pc9801_state::pc9801_dma_read_byte)
address_space &program = m_maincpu->space(AS_PROGRAM);
offs_t addr = (m_dma_offset[m_dack] << 16) | offset;
-// printf("%08x\n",addr);
+// printf("%08x\n",addr);
return program.read_byte(addr);
}
@@ -3139,7 +3139,7 @@ WRITE8_MEMBER(pc9801_state::pc9801_dma_write_byte)
address_space &program = m_maincpu->space(AS_PROGRAM);
offs_t addr = (m_dma_offset[m_dack] << 16) | offset;
-// printf("%08x %02x\n",addr,data);
+// printf("%08x %02x\n",addr,data);
program.write_byte(addr, data);
}
@@ -3290,7 +3290,7 @@ READ8_MEMBER(pc9801_state::ppi_mouse_porta_r)
res |= (m_mouse.lx >> isporthi) & 0xf;
}
-// printf("A\n");
+// printf("A\n");
return res;
}
@@ -3299,12 +3299,12 @@ READ8_MEMBER(pc9801_state::ppi_mouse_portc_r) { return machine().root_device().i
WRITE8_MEMBER(pc9801_state::ppi_mouse_porta_w)
{
-// printf("A %02x\n",data);
+// printf("A %02x\n",data);
}
WRITE8_MEMBER(pc9801_state::ppi_mouse_portb_w)
{
-// printf("B %02x\n",data);
+// printf("B %02x\n",data);
}
WRITE8_MEMBER(pc9801_state::ppi_mouse_portc_w)
@@ -3340,13 +3340,13 @@ SLOT_INTERFACE_END
void pc9801_state::fdc_2hd_irq(bool state)
{
-// printf("IRQ 2HD %d\n",state);
+// printf("IRQ 2HD %d\n",state);
pic8259_ir3_w(machine().device("pic8259_slave"), state);
}
void pc9801_state::fdc_2hd_drq(bool state)
{
-// printf("%02x DRQ\n",state);
+// printf("%02x DRQ\n",state);
m_dmac->dreq2_w(state ^ 1);
}
@@ -3362,7 +3362,7 @@ void pc9801_state::fdc_2dd_irq(bool state)
void pc9801_state::fdc_2dd_drq(bool state)
{
-// printf("%02x DRQ\n",state);
+// printf("%02x DRQ\n",state);
m_dmac->dreq3_w(state ^ 1);
}
@@ -3380,7 +3380,7 @@ void pc9801_state::pc9801rs_fdc_irq(bool state)
void pc9801_state::pc9801rs_fdc_drq(bool state)
{
-// printf("DRQ %d\n",state);
+// printf("DRQ %d\n",state);
if(m_fdc_ctrl & 1)
m_dmac->dreq2_w(state ^ 1);
@@ -3571,7 +3571,7 @@ MACHINE_RESET_MEMBER(pc9801_state,pc9801rs)
m_fdc_ctrl = 3;
m_access_ctrl = 0;
m_keyb_press = 0xff; // temp kludge, for PC-9821 booting
-// m_has_opna = machine().root_device().ioport("SOUND_CONFIG")->read() & 1;
+// m_has_opna = machine().root_device().ioport("SOUND_CONFIG")->read() & 1;
}
MACHINE_RESET_MEMBER(pc9801_state,pc9821)
@@ -3589,13 +3589,13 @@ INTERRUPT_GEN_MEMBER(pc9801_state::pc9801_vrtc_irq)
pic8259_ir2_w(machine().device("pic8259_master"), 1);
m_vrtc_irq_mask = 0; // TODO: this irq auto-masks?
}
-// else
-// pic8259_ir2_w(machine().device("pic8259_master"), 0);
+// else
+// pic8259_ir2_w(machine().device("pic8259_master"), 0);
}
static void pc9801_sound_irq( device_t *device, int irq )
{
-// pc9801_state *state = device->machine().driver_data<pc9801_state>();
+// pc9801_state *state = device->machine().driver_data<pc9801_state>();
/* TODO: seems to die very often */
pic8259_ir4_w(device->machine().device("pic8259_slave"), irq);
@@ -3609,8 +3609,8 @@ READ8_MEMBER(pc9801_state::opn_porta_r)
if(m_joy_sel == 0xc0)
return machine().root_device().ioport("OPN_PA2")->read();
-// 0x81?
-// printf("%02x\n",m_joy_sel);
+// 0x81?
+// printf("%02x\n",m_joy_sel);
return 0xff;
}
@@ -3655,10 +3655,10 @@ TIMER_DEVICE_CALLBACK_MEMBER( pc9801_state::mouse_irq_cb )
{
m_mouse.freq_index ++;
-// printf("%02x\n",m_mouse.freq_index);
+// printf("%02x\n",m_mouse.freq_index);
if(m_mouse.freq_index > m_mouse.freq_reg)
{
-// printf("irq %02x\n",m_mouse.freq_reg);
+// printf("irq %02x\n",m_mouse.freq_reg);
m_mouse.freq_index = 0;
pic8259_ir5_w(machine().device("pic8259_slave"), 0);
pic8259_ir5_w(machine().device("pic8259_slave"), 1);
@@ -3791,9 +3791,9 @@ static MACHINE_CONFIG_START( pc9801rs, pc9801_state )
MCFG_SOUND_CONFIG(pc98_ym2203_intf)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
-// MCFG_SOUND_ADD("opna", YM2608, MAIN_CLOCK_X1*4) // unknown clock / divider
-// MCFG_SOUND_CONFIG(pc98_ym2608_intf)
-// MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
+// MCFG_SOUND_ADD("opna", YM2608, MAIN_CLOCK_X1*4) // unknown clock / divider
+// MCFG_SOUND_CONFIG(pc98_ym2608_intf)
+// MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MCFG_SOUND_ADD(BEEPER_TAG, BEEP, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS,"mono",0.15)
@@ -3858,9 +3858,9 @@ static MACHINE_CONFIG_START( pc9821, pc9801_state )
MCFG_SOUND_CONFIG(pc98_ym2203_intf)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
-// MCFG_SOUND_ADD("opna", YM2608, MAIN_CLOCK_X1*4) // unknown clock / divider
-// MCFG_SOUND_CONFIG(pc98_ym2608_intf)
-// MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
+// MCFG_SOUND_ADD("opna", YM2608, MAIN_CLOCK_X1*4) // unknown clock / divider
+// MCFG_SOUND_CONFIG(pc98_ym2608_intf)
+// MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MCFG_SOUND_ADD(BEEPER_TAG, BEEP, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS,"mono",0.15)
diff --git a/src/mess/drivers/sg1000.c b/src/mess/drivers/sg1000.c
index c13ea859490..bac32255600 100644
--- a/src/mess/drivers/sg1000.c
+++ b/src/mess/drivers/sg1000.c
@@ -917,9 +917,9 @@ WRITE8_MEMBER( sf7000_state::ppi_pc_w )
PC7 /STROBE to Centronics printer
*/
- if (!BIT(data, 0))
+ if (!BIT(data, 0))
m_fdc->set_floppy(m_floppy0);
- else
+ else
m_fdc->set_floppy(NULL);
/* floppy motor */
diff --git a/src/mess/drivers/socrates.c b/src/mess/drivers/socrates.c
index fbb3a94c4ab..60a07a8152b 100644
--- a/src/mess/drivers/socrates.c
+++ b/src/mess/drivers/socrates.c
@@ -989,15 +989,15 @@ MACHINE_CONFIG_END
/* This doesn't work for some reason.
static MACHINE_CONFIG_DERIVED( socrates_pal, socrates )
- MCFG_CPU_REPLACE("maincpu", Z80, XTAL_26_601712MHz/8)
- MCFG_SCREEN_REPLACE("screen", RASTER)
- MCFG_SCREEN_REFRESH_RATE(50)
- MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
- MCFG_SCREEN_SIZE(264, 256) // technically the screen size is 256x228 but super painter abuses what I suspect is a hardware bug to display repeated pixels of the very last pixel beyond this horizontal space, well into hblank
- MCFG_SCREEN_VISIBLE_AREA(0, 263, 0, 256) // the last few rows are usually cut off by the screen bottom but are indeed displayed if you mess with v-hold
- MCFG_SCREEN_UPDATE_DRIVER(socrates_state, screen_update_socrates)
- MCFG_SOUND_REPLACE("soc_snd", SOCRATES, XTAL_26_601712MHz/(512+256)) // this is correct, as strange as it sounds.
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ MCFG_CPU_REPLACE("maincpu", Z80, XTAL_26_601712MHz/8)
+ MCFG_SCREEN_REPLACE("screen", RASTER)
+ MCFG_SCREEN_REFRESH_RATE(50)
+ MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
+ MCFG_SCREEN_SIZE(264, 256) // technically the screen size is 256x228 but super painter abuses what I suspect is a hardware bug to display repeated pixels of the very last pixel beyond this horizontal space, well into hblank
+ MCFG_SCREEN_VISIBLE_AREA(0, 263, 0, 256) // the last few rows are usually cut off by the screen bottom but are indeed displayed if you mess with v-hold
+ MCFG_SCREEN_UPDATE_DRIVER(socrates_state, screen_update_socrates)
+ MCFG_SOUND_REPLACE("soc_snd", SOCRATES, XTAL_26_601712MHz/(512+256)) // this is correct, as strange as it sounds.
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END
*/
/******************************************************************************
diff --git a/src/mess/drivers/studio2.c b/src/mess/drivers/studio2.c
index 15a85f01be7..3a5636a8824 100644
--- a/src/mess/drivers/studio2.c
+++ b/src/mess/drivers/studio2.c
@@ -97,7 +97,7 @@ Notes: (all chips shown above)
TMM331 is compatible with AMI S6831A, AMD AM9217,
Intel 2316A/8316A, MOSTEK MK31000, GI RO-3-8316,
NATIONAL/NEC/SYNERTEK 2316A etc
-
+
*/
/*
diff --git a/src/mess/drivers/tim011.c b/src/mess/drivers/tim011.c
index c2bdf493c1a..ecd93d2d2f2 100644
--- a/src/mess/drivers/tim011.c
+++ b/src/mess/drivers/tim011.c
@@ -23,7 +23,7 @@ public:
m_floppy1(*this, FDC9266_TAG ":1:35dd"),
m_floppy2(*this, FDC9266_TAG ":2:35dd"),
m_floppy3(*this, FDC9266_TAG ":3:35dd") { }
-
+
virtual void machine_reset();
virtual void video_start();
UINT32 screen_update_tim011(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -31,23 +31,23 @@ public:
DECLARE_WRITE8_MEMBER(scroll_w);
DECLARE_WRITE8_MEMBER(fdc_dma_w);
DECLARE_READ8_MEMBER(print_r);
- DECLARE_READ8_MEMBER(scroll_r);
+ DECLARE_READ8_MEMBER(scroll_r);
void irq_w(bool state);
void drq_w(bool state);
UINT8 m_scroll;
-
+
required_device<cpu_device> m_maincpu;
required_device<upd765a_device> m_fdc;
required_device<floppy_image_device> m_floppy0;
required_device<floppy_image_device> m_floppy1;
required_device<floppy_image_device> m_floppy2;
- required_device<floppy_image_device> m_floppy3;
+ required_device<floppy_image_device> m_floppy3;
};
static ADDRESS_MAP_START(tim011_mem, AS_PROGRAM, 8, tim011_state)
ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x00000, 0x01fff) AM_ROM AM_MIRROR(0x3e000)
+ AM_RANGE(0x00000, 0x01fff) AM_ROM AM_MIRROR(0x3e000)
AM_RANGE(0x40000, 0x7ffff) AM_RAM // 256KB RAM 8 * 41256 DRAM
ADDRESS_MAP_END
@@ -57,7 +57,7 @@ static ADDRESS_MAP_START(tim011_io, AS_IO, 8, tim011_state)
AM_RANGE(0x0080, 0x009f) AM_DEVICE(FDC9266_TAG, upd765a_device, map)
//AM_RANGE(0x00a0, 0x00a0) AM_MIRROR(0x001f) AM_WRITE(fdc_dma_w)
//AM_RANGE(0x00c0, 0x00c1) AM_MIRROR(0x000e) AM_READWRITE(print_r,print_w)
- //AM_RANGE(0x00d0, 0x00d0) AM_MIRROR(0x000f) AM_READWRITE(scroll_r,scroll_w)
+ //AM_RANGE(0x00d0, 0x00d0) AM_MIRROR(0x000f) AM_READWRITE(scroll_r,scroll_w)
AM_RANGE(0x8000, 0xffff) AM_RAM // Video RAM 43256 SRAM (32KB)
ADDRESS_MAP_END
@@ -82,9 +82,9 @@ void tim011_state::machine_reset()
m_floppy1->mon_w(0);
m_floppy2->mon_w(0);
m_floppy3->mon_w(0);
-
+
m_fdc->setup_intrq_cb(upd765a_device::line_cb(FUNC(tim011_state::irq_w), this));
- m_fdc->setup_drq_cb(upd765a_device::line_cb(FUNC(tim011_state::drq_w), this));
+ m_fdc->setup_drq_cb(upd765a_device::line_cb(FUNC(tim011_state::drq_w), this));
}
void tim011_state::video_start()
@@ -140,7 +140,7 @@ static MACHINE_CONFIG_START( tim011,tim011_state )
MCFG_CPU_IO_MAP(tim011_io)
MCFG_CPU_VBLANK_INT_DRIVER("screen", tim011_state, irq0_line_hold)
-// MCFG_CPU_ADD("keyboard",COSMAC, XTAL_1_75MHz) // CDP1802, uknown clock
+// MCFG_CPU_ADD("keyboard",COSMAC, XTAL_1_75MHz) // CDP1802, uknown clock
// FDC9266 location U43 XTAL_8MHz
MCFG_UPD765A_ADD(FDC9266_TAG, true, true)
@@ -149,7 +149,7 @@ static MACHINE_CONFIG_START( tim011,tim011_state )
MCFG_FLOPPY_DRIVE_ADD(FDC9266_TAG ":1", tim011_floppies, "35dd", 0, tim011_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD(FDC9266_TAG ":2", tim011_floppies, "35dd", 0, tim011_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD(FDC9266_TAG ":3", tim011_floppies, "35dd", 0, tim011_floppy_formats)
-
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(50)
diff --git a/src/mess/drivers/v1050.c b/src/mess/drivers/v1050.c
index c7d677fed40..077b3c4eec9 100644
--- a/src/mess/drivers/v1050.c
+++ b/src/mess/drivers/v1050.c
@@ -970,12 +970,12 @@ void v1050_state::fdc_drq_w(bool state)
/*
static LEGACY_FLOPPY_OPTIONS_START( v1050 )
- LEGACY_FLOPPY_OPTION( v1050, "dsk", "Visual 1050 disk image", basicdsk_identify_default, basicdsk_construct_default, NULL,
- HEADS([1])
- TRACKS([80])
- SECTORS([10])
- SECTOR_LENGTH([512])
- FIRST_SECTOR_ID([1]))
+ LEGACY_FLOPPY_OPTION( v1050, "dsk", "Visual 1050 disk image", basicdsk_identify_default, basicdsk_construct_default, NULL,
+ HEADS([1])
+ TRACKS([80])
+ SECTORS([10])
+ SECTOR_LENGTH([512])
+ FIRST_SECTOR_ID([1]))
LEGACY_FLOPPY_OPTIONS_END
*/
diff --git a/src/mess/drivers/vt100.c b/src/mess/drivers/vt100.c
index 838d8c1ac9a..ca8ef76991c 100644
--- a/src/mess/drivers/vt100.c
+++ b/src/mess/drivers/vt100.c
@@ -506,7 +506,7 @@ MACHINE_CONFIG_END
The DPM01 supposedly has its own processor and roms.
* vt125 - 1982? base model (stock vt100 firmware plus extra gfx board
firmware and processor) vt100 with the ReGIS graphical language board
- (aka GPO) installed (almost literally a vk100-on-a-board, but with added
+ (aka GPO) installed (almost literally a vk100-on-a-board, but with added
backwards compatibility mode for vt105/WG, and 2 bits per pixel color),
AVO optional; Includes a custom 'dumb' STP board.
* vt131 - 1982 cost reduced version of vt132, no longer has the vt100
diff --git a/src/mess/drivers/wangpc.c b/src/mess/drivers/wangpc.c
index 01facb9d09f..e2b7ea0c4ec 100644
--- a/src/mess/drivers/wangpc.c
+++ b/src/mess/drivers/wangpc.c
@@ -1216,7 +1216,7 @@ void wangpc_state::on_disk0_unload(floppy_image_device *image)
int wangpc_state::on_disk1_load(floppy_image_device *image)
{
on_disk1_unload(image);
-
+
return IMAGE_INIT_PASS;
}
diff --git a/src/mess/drivers/xerox820.c b/src/mess/drivers/xerox820.c
index 81c9d42a20d..0bdc9615a66 100644
--- a/src/mess/drivers/xerox820.c
+++ b/src/mess/drivers/xerox820.c
@@ -10,14 +10,14 @@
TODO:
- - Xerox 820
- - floppy (wd1772.c FM support)
+ - Xerox 820
+ - floppy (wd1772.c FM support)
- Xerox 820-II
- - floppy (read/write to FDC triggers Z80 WAIT)
- - Winchester
- - Shugart SA1004 (chs=256,4,40 ss=256)
- - Shugart SA606 (chs=160,6, ss=256)
- - Shugart SA1403D controller
+ - floppy (read/write to FDC triggers Z80 WAIT)
+ - Winchester
+ - Shugart SA1004 (chs=256,4,40 ss=256)
+ - Shugart SA606 (chs=160,6, ss=256)
+ - Shugart SA1403D controller
- Xerox 16/8
- Emerald Microware X120 board
- type in Monitor v1.0 from manual
@@ -444,14 +444,14 @@ WRITE8_MEMBER( xerox820_state::kbpio_pa_w )
if (m_8n5 != _8n5)
{
m_8n5 = _8n5;
-
+
m_fdc->set_unscaled_clock(m_8n5 ? XTAL_20MHz/10 : XTAL_20MHz/20);
}
m_400_460 = !floppy->twosid_r();
floppy->mon_w(0);
-
+
floppy->ss_w(BIT(data, 2));
}
@@ -531,19 +531,19 @@ static Z80PIO_INTERFACE( gppio_intf )
READ8_MEMBER( xerox820ii_state::rdpio_pb_r )
{
/*
-
- bit description
-
- 0 NBSY
- 1 NMSG
- 2 NC/D
- 3 NREQ
- 4 NI/O
- 5
- 6 LS74 Q
- 7
-
- */
+
+ bit description
+
+ 0 NBSY
+ 1 NMSG
+ 2 NC/D
+ 3 NREQ
+ 4 NI/O
+ 5
+ 6 LS74 Q
+ 7
+
+ */
UINT8 data = 0;
@@ -559,19 +559,19 @@ READ8_MEMBER( xerox820ii_state::rdpio_pb_r )
WRITE8_MEMBER( xerox820ii_state::rdpio_pb_w )
{
/*
-
- bit description
-
- 0
- 1
- 2
- 3
- 4
- 5 NSEL
- 6
- 7 NRST
-
- */
+
+ bit description
+
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5 NSEL
+ 6
+ 7 NRST
+
+ */
m_sasibus->scsi_sel_w(!BIT(data, 5));
m_sasibus->scsi_rst_w(!BIT(data, 7));
@@ -788,30 +788,30 @@ void xerox820ii_state::machine_reset()
}
/*
static LEGACY_FLOPPY_OPTIONS_START( xerox820 )
- LEGACY_FLOPPY_OPTION( sssd8, "dsk", "8\" SSSD", basicdsk_identify_default, basicdsk_construct_default, NULL,
- HEADS([1])
- TRACKS([77])
- SECTORS([26])
- SECTOR_LENGTH([128])
- FIRST_SECTOR_ID([1]))
- LEGACY_FLOPPY_OPTION( ssdd8, "dsk", "8\" SSDD", basicdsk_identify_default, basicdsk_construct_default, NULL,
- HEADS([1])
- TRACKS([77])
- SECTORS([26])
- SECTOR_LENGTH([256])
- FIRST_SECTOR_ID([1]))
- LEGACY_FLOPPY_OPTION( sssd5, "dsk", "5.25\" SSSD", basicdsk_identify_default, basicdsk_construct_default, NULL,
- HEADS([1])
- TRACKS([40])
- SECTORS([18])
- SECTOR_LENGTH([128])
- FIRST_SECTOR_ID([1]))
- LEGACY_FLOPPY_OPTION( ssdd5, "dsk", "5.25\" SSDD", basicdsk_identify_default, basicdsk_construct_default, NULL,
- HEADS([2])
- TRACKS([40])
- SECTORS([18])
- SECTOR_LENGTH([128])
- FIRST_SECTOR_ID([1]))
+ LEGACY_FLOPPY_OPTION( sssd8, "dsk", "8\" SSSD", basicdsk_identify_default, basicdsk_construct_default, NULL,
+ HEADS([1])
+ TRACKS([77])
+ SECTORS([26])
+ SECTOR_LENGTH([128])
+ FIRST_SECTOR_ID([1]))
+ LEGACY_FLOPPY_OPTION( ssdd8, "dsk", "8\" SSDD", basicdsk_identify_default, basicdsk_construct_default, NULL,
+ HEADS([1])
+ TRACKS([77])
+ SECTORS([26])
+ SECTOR_LENGTH([256])
+ FIRST_SECTOR_ID([1]))
+ LEGACY_FLOPPY_OPTION( sssd5, "dsk", "5.25\" SSSD", basicdsk_identify_default, basicdsk_construct_default, NULL,
+ HEADS([1])
+ TRACKS([40])
+ SECTORS([18])
+ SECTOR_LENGTH([128])
+ FIRST_SECTOR_ID([1]))
+ LEGACY_FLOPPY_OPTION( ssdd5, "dsk", "5.25\" SSDD", basicdsk_identify_default, basicdsk_construct_default, NULL,
+ HEADS([2])
+ TRACKS([40])
+ SECTORS([18])
+ SECTOR_LENGTH([128])
+ FIRST_SECTOR_ID([1]))
LEGACY_FLOPPY_OPTIONS_END
*/
@@ -927,7 +927,7 @@ static MACHINE_CONFIG_START( xerox820ii, xerox820ii_state )
MCFG_FLOPPY_DRIVE_ADD(FD1797_TAG":0", xerox820_floppies, "sa450", NULL, floppy_image_device::default_floppy_formats)
MCFG_FLOPPY_DRIVE_ADD(FD1797_TAG":1", xerox820_floppies, "sa450", NULL, floppy_image_device::default_floppy_formats)
MCFG_COM8116_ADD(COM8116_TAG, XTAL_5_0688MHz, com8116_intf)
-
+
// SASI bus
MCFG_SCSIBUS_ADD(SASIBUS_TAG)
MCFG_SCSIDEV_ADD(SASIBUS_TAG ":harddisk0", SA1403D, SCSI_ID_0)
@@ -961,7 +961,7 @@ MACHINE_CONFIG_END
ROM_START( bigboard )
ROM_REGION( 0x1000, "monitor", 0 )
ROM_LOAD( "bigboard.u67", 0x0000, 0x0800, CRC(5a85a228) SHA1(d51a2cbd0aae80315bda9530275aabfe8305364e))
-
+
ROM_REGION( 0x800, "chargen", 0 )
ROM_LOAD( "bigboard.u73", 0x0000, 0x0800, CRC(10bf0d81) SHA1(7ec73670a4d9d6421a5d6a4c4edc8b7c87923f6c) )
ROM_END
@@ -1036,9 +1036,9 @@ ROM_END
/* System Drivers */
/* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */
-COMP( 1980, bigboard, 0, 0, bigboard, xerox820, driver_device, 0, "Digital Research Computers", "Big Board", GAME_IMPERFECT_KEYBOARD )
-COMP( 1981, x820, bigboard, 0, xerox820, xerox820, driver_device, 0, "Xerox", "Xerox 820", GAME_IMPERFECT_KEYBOARD | GAME_NO_SOUND_HW )
-COMP( 1982, mk82, bigboard, 0, bigboard, xerox820, driver_device, 0, "Scomar", "MK-82", GAME_IMPERFECT_KEYBOARD )
-COMP( 1983, x820ii, 0, 0, xerox820ii, xerox820, driver_device, 0, "Xerox", "Xerox 820-II", GAME_NOT_WORKING | GAME_IMPERFECT_KEYBOARD )
-COMP( 1983, x168, x820ii, 0, xerox168, xerox820, driver_device, 0, "Xerox", "Xerox 16/8", GAME_NOT_WORKING | GAME_IMPERFECT_KEYBOARD )
-COMP( 1983, mk83, x820ii, 0, mk83, xerox820, driver_device, 0, "Scomar", "MK-83", GAME_NOT_WORKING | GAME_IMPERFECT_KEYBOARD | GAME_NO_SOUND_HW )
+COMP( 1980, bigboard, 0, 0, bigboard, xerox820, driver_device, 0, "Digital Research Computers", "Big Board", GAME_IMPERFECT_KEYBOARD )
+COMP( 1981, x820, bigboard, 0, xerox820, xerox820, driver_device, 0, "Xerox", "Xerox 820", GAME_IMPERFECT_KEYBOARD | GAME_NO_SOUND_HW )
+COMP( 1982, mk82, bigboard, 0, bigboard, xerox820, driver_device, 0, "Scomar", "MK-82", GAME_IMPERFECT_KEYBOARD )
+COMP( 1983, x820ii, 0, 0, xerox820ii, xerox820, driver_device, 0, "Xerox", "Xerox 820-II", GAME_NOT_WORKING | GAME_IMPERFECT_KEYBOARD )
+COMP( 1983, x168, x820ii, 0, xerox168, xerox820, driver_device, 0, "Xerox", "Xerox 16/8", GAME_NOT_WORKING | GAME_IMPERFECT_KEYBOARD )
+COMP( 1983, mk83, x820ii, 0, mk83, xerox820, driver_device, 0, "Scomar", "MK-83", GAME_NOT_WORKING | GAME_IMPERFECT_KEYBOARD | GAME_NO_SOUND_HW )
diff --git a/src/mess/drivers/xor100.c b/src/mess/drivers/xor100.c
index dd58fed5417..02cfab94e41 100644
--- a/src/mess/drivers/xor100.c
+++ b/src/mess/drivers/xor100.c
@@ -478,7 +478,7 @@ static Z80CTC_INTERFACE( ctc_intf )
DEVCB_CPU_INPUT_LINE(Z80_TAG, INPUT_LINE_IRQ0), /* interrupt handler */
DEVCB_DRIVER_LINE_MEMBER(xor100_state, ctc_z0_w), /* ZC/TO0 callback */
DEVCB_DRIVER_LINE_MEMBER(xor100_state, ctc_z1_w), /* ZC/TO1 callback */
- DEVCB_DRIVER_LINE_MEMBER(xor100_state, ctc_z2_w) /* ZC/TO2 callback */
+ DEVCB_DRIVER_LINE_MEMBER(xor100_state, ctc_z2_w) /* ZC/TO2 callback */
};
/* WD1795-02 Interface */
diff --git a/src/mess/drivers/ymmu100.c b/src/mess/drivers/ymmu100.c
index 511840b327c..718af8e392e 100644
--- a/src/mess/drivers/ymmu100.c
+++ b/src/mess/drivers/ymmu100.c
@@ -1,70 +1,70 @@
/*************************************************************************************
Yamaha MU-100 : 32-voice polyphonic/multitimbral General MIDI/GS/XG tone module
- Preliminary driver by R. Belmont
-
+ Preliminary driver by R. Belmont
+
CPU: Hitachi H8S/2655 (HD6432655F), strapped for mode 4 (24-bit address, 16-bit data, no internal ROM)
Sound ASIC: Yamaha XS725A0
- RAM: 1 MSM51008 (1 meg * 1 bit = 128KBytes)
-
+ RAM: 1 MSM51008 (1 meg * 1 bit = 128KBytes)
+
I/O ports from service manual:
-
+
Port 1:
- 0 - LCD data, SW data, LED 1
- 1 - LCD data, SW data, LED 2
- 2 - LCD data, SW data, LED 3
- 3 - LCD data, SW data, LED 4
- 4 - LCD data, SW data, LED 5
- 5 - LCD data, SW strobe data
- 6 - LCD data, SW strobe data
- 7 - LCD data, SW data, LED 6
-
+ 0 - LCD data, SW data, LED 1
+ 1 - LCD data, SW data, LED 2
+ 2 - LCD data, SW data, LED 3
+ 3 - LCD data, SW data, LED 4
+ 4 - LCD data, SW data, LED 5
+ 5 - LCD data, SW strobe data
+ 6 - LCD data, SW strobe data
+ 7 - LCD data, SW data, LED 6
+
Port 2:
- 0 - (out) LCD control RS
- 1 - (out) LCD control R/W
- 2 - (out) LCD control E
- 3 - (out) LCD contrast A
- 4 - (out) LCD contrast B
- 5 - (out) LCD contrast C
- 6 - (out) 1 MHz clock for serial
- 7 - NC
-
+ 0 - (out) LCD control RS
+ 1 - (out) LCD control R/W
+ 2 - (out) LCD control E
+ 3 - (out) LCD contrast A
+ 4 - (out) LCD contrast B
+ 5 - (out) LCD contrast C
+ 6 - (out) 1 MHz clock for serial
+ 7 - NC
+
Port 3:
- 4 - (out) A/D gain control 1
- 5 - (out) A/D gain control 2
-
+ 4 - (out) A/D gain control 1
+ 5 - (out) A/D gain control 2
+
Port 5:
- 3 - (out) Reset signal for rotary encoder
-
+ 3 - (out) Reset signal for rotary encoder
+
Port 6:
- 1 - NC
- 2 - (out) PB select (SW1)
- 3 - (out) PB select (SW2)
- 4 - (out) reset PB
- 5 - (out) reset SWP30 (sound chip)
- 6 - NC
- 7 - (in) Plug detection for A/D input
-
+ 1 - NC
+ 2 - (out) PB select (SW1)
+ 3 - (out) PB select (SW2)
+ 4 - (out) reset PB
+ 5 - (out) reset SWP30 (sound chip)
+ 6 - NC
+ 7 - (in) Plug detection for A/D input
+
Port A:
- 5 - (in) Off Line Detection
- 6 - (out) Signal for rotary encoder (REB)
- 7 - (out) Signal for rotary encoder (REA)
-
+ 5 - (in) Off Line Detection
+ 6 - (out) Signal for rotary encoder (REB)
+ 7 - (out) Signal for rotary encoder (REA)
+
Port F:
- 0 - (out) LED,SW Strobe data latch
- 1 - (out) SW data read control
- 2 - (out) PB select (SW4)
-
+ 0 - (out) LED,SW Strobe data latch
+ 1 - (out) SW data read control
+ 2 - (out) PB select (SW4)
+
Port G:
- 0 - (out) PB select (SW3)
-
+ 0 - (out) PB select (SW3)
+
Analog input channels:
- 0 - level input R
- 2 - level output L
- 4 - host SW type switch position
- 6 - battery voltage
- 7 - model check (GND for MU100)
-
+ 0 - level input R
+ 2 - level output L
+ 4 - host SW type switch position
+ 6 - battery voltage
+ 7 - model check (GND for MU100)
+
**************************************************************************************/
#include "emu.h"
@@ -131,7 +131,7 @@ READ8_MEMBER(mu100_state::p1_r)
} else
return 0x00;
}
-
+
return 0xff;
}
@@ -197,15 +197,15 @@ MACHINE_CONFIG_END
ROM_START( mu100 )
ROM_REGION( 0x200000, "maincpu", 0 )
ROM_SYSTEM_BIOS( 0, "bios0", "xu50720 (v1.11, Aug. 3, 1999)" )
- ROM_LOAD16_WORD_SWAP_BIOS( 0, "xu50720.ic11", 0x000000, 0x200000, CRC(1126a8a4) SHA1(e90b8bd9d14297da26ba12f4d9a4f2d22cd7d34a) )
+ ROM_LOAD16_WORD_SWAP_BIOS( 0, "xu50720.ic11", 0x000000, 0x200000, CRC(1126a8a4) SHA1(e90b8bd9d14297da26ba12f4d9a4f2d22cd7d34a) )
ROM_SYSTEM_BIOS( 1, "bios1", "xt71420 (v1.05, Sep. 19, 1997)" )
- ROM_LOAD16_WORD_SWAP_BIOS( 1, "xt71420.ic11", 0x000000, 0x200000, CRC(0e5b3bae) SHA1(3148c5bd59a3d00809d3ab1921216215fe2582c5) )
+ ROM_LOAD16_WORD_SWAP_BIOS( 1, "xt71420.ic11", 0x000000, 0x200000, CRC(0e5b3bae) SHA1(3148c5bd59a3d00809d3ab1921216215fe2582c5) )
ROM_REGION( 0x2800000, "waverom", 0 )
- ROM_LOAD32_WORD( "sx518b0.ic34", 0x000000, 0x400000, CRC(2550d44f) SHA1(fd3cce228c7d389a2fde25c808a5b26080588cba) )
- ROM_LOAD32_WORD( "sx743b0.ic35", 0x000002, 0x400000, CRC(a9109a6c) SHA1(a67bb49378a38a2d809bd717d286e18bc6496db0) )
- ROM_LOAD32_WORD( "xt445a0-828.ic36", 0x800000, 0x1000000, CRC(d4483a43) SHA1(5bfd0762dea8598eda19db20251dac20e31fa02c) )
- ROM_LOAD32_WORD( "xt461a0-829.ic37", 0x800002, 0x1000000, CRC(c5af4501) SHA1(1c88de197c36382311053add8b19a5740802cb78) )
+ ROM_LOAD32_WORD( "sx518b0.ic34", 0x000000, 0x400000, CRC(2550d44f) SHA1(fd3cce228c7d389a2fde25c808a5b26080588cba) )
+ ROM_LOAD32_WORD( "sx743b0.ic35", 0x000002, 0x400000, CRC(a9109a6c) SHA1(a67bb49378a38a2d809bd717d286e18bc6496db0) )
+ ROM_LOAD32_WORD( "xt445a0-828.ic36", 0x800000, 0x1000000, CRC(d4483a43) SHA1(5bfd0762dea8598eda19db20251dac20e31fa02c) )
+ ROM_LOAD32_WORD( "xt461a0-829.ic37", 0x800002, 0x1000000, CRC(c5af4501) SHA1(1c88de197c36382311053add8b19a5740802cb78) )
ROM_REGION( 0x0860, "lcd", ROMREGION_ERASE )
ROM_LOAD( "44780a00.bin", 0x0000, 0x0860, BAD_DUMP CRC(3a89024c) SHA1(5a87b68422a916d1b37b5be1f7ad0b3fb3af5a8d))
diff --git a/src/mess/includes/b2m.h b/src/mess/includes/b2m.h
index 64f0e26d6e2..6e8be1c53e0 100644
--- a/src/mess/includes/b2m.h
+++ b/src/mess/includes/b2m.h
@@ -63,7 +63,7 @@ public:
DECLARE_WRITE8_MEMBER(b2m_romdisk_portb_w);
DECLARE_WRITE8_MEMBER(b2m_romdisk_portc_w);
DECLARE_WRITE_LINE_MEMBER(b2m_pic_set_int_line);
- void b2m_fdc_drq(bool state);
+ void b2m_fdc_drq(bool state);
DECLARE_FLOPPY_FORMATS( b2m_floppy_formats );
};
diff --git a/src/mess/includes/nes.h b/src/mess/includes/nes.h
index 451c901de9c..d1b30002232 100644
--- a/src/mess/includes/nes.h
+++ b/src/mess/includes/nes.h
@@ -1,8 +1,8 @@
/*****************************************************************************
- nes.h
+ nes.h
- Nintendo Entertainment System (Famicom)
+ Nintendo Entertainment System (Famicom)
****************************************************************************/
diff --git a/src/mess/includes/special.h b/src/mess/includes/special.h
index 6c964f3e6ec..d53187a981e 100644
--- a/src/mess/includes/special.h
+++ b/src/mess/includes/special.h
@@ -95,7 +95,7 @@ public:
UINT32 screen_update_specimx(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TIMER_CALLBACK_MEMBER(special_reset);
TIMER_CALLBACK_MEMBER(setup_pit8253_gates);
- void fdc_drq(bool state);
+ void fdc_drq(bool state);
DECLARE_FLOPPY_FORMATS( specimx_floppy_formats );
};
diff --git a/src/mess/machine/b2m.c b/src/mess/machine/b2m.c
index bf319478434..15b2a6b7976 100644
--- a/src/mess/machine/b2m.c
+++ b/src/mess/machine/b2m.c
@@ -224,17 +224,17 @@ WRITE8_MEMBER(b2m_state::b2m_ext_8255_portc_w)
if (m_b2m_drive!=drive) {
m_b2m_drive = drive;
}
-
+
if (m_b2m_side!=side) {
m_b2m_side = side;
- floppy->ss_w(side);
+ floppy->ss_w(side);
}
/*
- When bit 5 is set CPU is in HALT state and stay there until
- DRQ is triggered from floppy side
- */
-
- if ((data & 0xf0)==0x20) {
+ When bit 5 is set CPU is in HALT state and stay there until
+ DRQ is triggered from floppy side
+ */
+
+ if ((data & 0xf0)==0x20) {
m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE);
}
}
diff --git a/src/mess/machine/c1581.c b/src/mess/machine/c1581.c
index 11e7d9171ef..ca056529390 100644
--- a/src/mess/machine/c1581.c
+++ b/src/mess/machine/c1581.c
@@ -8,10 +8,10 @@
**********************************************************************/
/*
-
- TODO:
- - wd_fdc drops the busy bit too soon, c1581 aborts reading the sector ID after the first CRC byte @CD17
+ TODO:
+
+ - wd_fdc drops the busy bit too soon, c1581 aborts reading the sector ID after the first CRC byte @CD17
*/
@@ -146,18 +146,18 @@ READ8_MEMBER( base_c1581_device::cia_pa_r )
{
/*
- bit description
+ bit description
- PA0
- PA1 /RDY
- PA2
- PA3 DEV# SEL (SW1)
- PA4 DEV# SEL (SW1)
- PA5
- PA6
- PA7 /DISK CHNG
+ PA0
+ PA1 /RDY
+ PA2
+ PA3 DEV# SEL (SW1)
+ PA4 DEV# SEL (SW1)
+ PA5
+ PA6
+ PA7 /DISK CHNG
- */
+ */
UINT8 data = 0;
@@ -177,18 +177,18 @@ WRITE8_MEMBER( base_c1581_device::cia_pa_w )
{
/*
- bit description
+ bit description
- PA0 SIDE0
- PA1
- PA2 /MOTOR
- PA3
- PA4
- PA5 POWER LED
- PA6 ACT LED
- PA7
+ PA0 SIDE0
+ PA1
+ PA2 /MOTOR
+ PA3
+ PA4
+ PA5 POWER LED
+ PA6 ACT LED
+ PA7
- */
+ */
// side select
m_floppy->ss_w(BIT(data, 0));
@@ -207,18 +207,18 @@ READ8_MEMBER( base_c1581_device::cia_pb_r )
{
/*
- bit description
+ bit description
- PB0 DATA IN
- PB1
- PB2 CLK IN
- PB3
- PB4
- PB5
- PB6 /WPRT
- PB7 ATN IN
+ PB0 DATA IN
+ PB1
+ PB2 CLK IN
+ PB3
+ PB4
+ PB5
+ PB6 /WPRT
+ PB7 ATN IN
- */
+ */
UINT8 data = 0;
@@ -241,18 +241,18 @@ WRITE8_MEMBER( base_c1581_device::cia_pb_w )
{
/*
- bit description
+ bit description
- PB0
- PB1 DATA OUT
- PB2
- PB3 CLK OUT
- PB4 ATN ACK
- PB5 FAST SER DIR
- PB6
- PB7
+ PB0
+ PB1 DATA OUT
+ PB2
+ PB3 CLK OUT
+ PB4 ATN ACK
+ PB5 FAST SER DIR
+ PB6
+ PB7
- */
+ */
// data out
m_data_out = BIT(data, 1);
diff --git a/src/mess/machine/c8280.c b/src/mess/machine/c8280.c
index 734778c4a5b..b641881d404 100644
--- a/src/mess/machine/c8280.c
+++ b/src/mess/machine/c8280.c
@@ -9,11 +9,11 @@
/*
- TODO:
+ TODO:
- - format
-
- wd1772: track description 80x4e 12x00 3xf6 fc 50x4e 12x00 3xf5 fe 2x00 2x01 f7 22x4e 12x00 3xf5 fb 256xaa f7 54x4e
+ - format
+
+ wd1772: track description 80x4e 12x00 3xf6 fc 50x4e 12x00 3xf5 fe 2x00 2x01 f7 22x4e 12x00 3xf5 fb 256xaa f7 54x4e
*/
diff --git a/src/mess/machine/cmdhd.c b/src/mess/machine/cmdhd.c
index ce01bde8d63..17d2878425e 100644
--- a/src/mess/machine/cmdhd.c
+++ b/src/mess/machine/cmdhd.c
@@ -247,17 +247,17 @@ void cmd_hd_device::cbm_iec_reset(int state)
WRITE8_MEMBER( cmd_hd_device::led_w )
{
/*
-
- bit description
-
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
-
- */
+
+ bit description
+
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+
+ */
}
diff --git a/src/mess/machine/comx_fd.c b/src/mess/machine/comx_fd.c
index 06b0910dade..fff28fd1df7 100644
--- a/src/mess/machine/comx_fd.c
+++ b/src/mess/machine/comx_fd.c
@@ -261,16 +261,16 @@ void comx_fd_device::comx_io_w(address_space &space, offs_t offset, UINT8 data)
{
/*
- bit description
+ bit description
- 0 FDC A0
- 1 FDC A1
- 2 DRIVE0
- 3 DRIVE1
- 4 F9 DISB
- 5 SIDE SELECT
+ 0 FDC A0
+ 1 FDC A1
+ 2 DRIVE0
+ 3 DRIVE1
+ 4 F9 DISB
+ 5 SIDE SELECT
- */
+ */
// latch data to F3
m_addr = data & 0x03;
diff --git a/src/mess/machine/comx_prn.c b/src/mess/machine/comx_prn.c
index de2484a4c3f..8053010806d 100644
--- a/src/mess/machine/comx_prn.c
+++ b/src/mess/machine/comx_prn.c
@@ -140,33 +140,33 @@ UINT8 comx_prn_device::comx_mrd_r(address_space &space, offs_t offset, int *extr
UINT8 comx_prn_device::comx_io_r(address_space &space, offs_t offset)
{
/*
- Parallel:
+ Parallel:
- INP 2 for the printer status, where:
- b0=1: Acknowledge Fault
- b1=0: Device Busy
- b2=0: Paper Empty
- b3=1: Device Not Selected
+ INP 2 for the printer status, where:
+ b0=1: Acknowledge Fault
+ b1=0: Device Busy
+ b2=0: Paper Empty
+ b3=1: Device Not Selected
- Serial:
+ Serial:
- INP 2 for the printer status and to start a new range of bits for the next byte.
- */
+ INP 2 for the printer status and to start a new range of bits for the next byte.
+ */
/*
- bit description
+ bit description
- 0 Acknowledge Fault
- 1 Device Busy
- 2 Paper Empty
- 3 Device Not Selected
- 4
- 5
- 6
- 7
+ 0 Acknowledge Fault
+ 1 Device Busy
+ 2 Paper Empty
+ 3 Device Not Selected
+ 4
+ 5
+ 6
+ 7
- */
+ */
UINT8 data = 0;
@@ -186,14 +186,14 @@ UINT8 comx_prn_device::comx_io_r(address_space &space, offs_t offset)
void comx_prn_device::comx_io_w(address_space &space, offs_t offset, UINT8 data)
{
/*
- Parallel:
+ Parallel:
- OUT 2 is used to send a byte to the printer
+ OUT 2 is used to send a byte to the printer
- Serial:
+ Serial:
- OUT 2 is used to send a bit to the printer
- */
+ OUT 2 is used to send a bit to the printer
+ */
m_centronics->write(data);
}
diff --git a/src/mess/machine/comx_ram.h b/src/mess/machine/comx_ram.h
index 805677cb1c7..95b86205f41 100644
--- a/src/mess/machine/comx_ram.h
+++ b/src/mess/machine/comx_ram.h
@@ -44,7 +44,7 @@ protected:
private:
optional_shared_ptr<UINT8> m_ram;
-
+
int m_bank;
};
diff --git a/src/mess/machine/comx_thm.c b/src/mess/machine/comx_thm.c
index ea2f90411d2..ffb6b78f787 100644
--- a/src/mess/machine/comx_thm.c
+++ b/src/mess/machine/comx_thm.c
@@ -102,11 +102,11 @@ UINT8 comx_thm_device::comx_mrd_r(address_space &space, offs_t offset, int *extr
UINT8 comx_thm_device::comx_io_r(address_space &space, offs_t offset)
{
/*
- INP 2 is used for the printer status, where:
- b0=1: Printer Not Ready
- b1=1: Energizing Head
- b2=1: Head At Position 0
- */
+ INP 2 is used for the printer status, where:
+ b0=1: Printer Not Ready
+ b1=1: Energizing Head
+ b2=1: Head At Position 0
+ */
return 0;
}
@@ -119,10 +119,10 @@ UINT8 comx_thm_device::comx_io_r(address_space &space, offs_t offset)
void comx_thm_device::comx_io_w(address_space &space, offs_t offset, UINT8 data)
{
/*
- OUT 2 is used to control the thermal printer where:
- Q = 0, b0-7: Pixel 1 to 8
- Q = 1, b7: Pixel 9 (if b0-6=#21)
- Q = 1, b3=1: Move head right
- Q = 1, b0-7=#12: Move head left
- */
+ OUT 2 is used to control the thermal printer where:
+ Q = 0, b0-7: Pixel 1 to 8
+ Q = 1, b7: Pixel 9 (if b0-6=#21)
+ Q = 1, b3=1: Move head right
+ Q = 1, b0-7=#12: Move head left
+ */
}
diff --git a/src/mess/machine/comxpl80.h b/src/mess/machine/comxpl80.h
index c5bed225cb7..abb5e928dd2 100644
--- a/src/mess/machine/comxpl80.h
+++ b/src/mess/machine/comxpl80.h
@@ -30,7 +30,7 @@ class comx_pl80_device : public device_t,
public:
// construction/destruction
comx_pl80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
// optional information overrides
virtual const rom_entry *device_rom_region() const;
virtual machine_config_constructor device_mconfig_additions() const;
diff --git a/src/mess/machine/fd2000.c b/src/mess/machine/fd2000.c
index cda3dd961b1..1605952bbcb 100644
--- a/src/mess/machine/fd2000.c
+++ b/src/mess/machine/fd2000.c
@@ -9,12 +9,12 @@
/*
- TODO:
+ TODO:
- - IEC
- - VIA
- - DP8473/PC8477A command extensions to upd765
- - D1M/D2M/D4M image format (http://ist.uwaterloo.ca/~schepers/formats/D2M-DNP.TXT)
+ - IEC
+ - VIA
+ - DP8473/PC8477A command extensions to upd765
+ - D1M/D2M/D4M image format (http://ist.uwaterloo.ca/~schepers/formats/D2M-DNP.TXT)
*/
@@ -81,7 +81,7 @@ const rom_entry *fd2000_device::device_rom_region() const
{
default:
return ROM_NAME( fd2000 );
-
+
case TYPE_FD4000:
return ROM_NAME( fd4000 );
}
@@ -121,19 +121,19 @@ ADDRESS_MAP_END
READ8_MEMBER( fd2000_device::via_pa_r )
{
/*
-
- bit description
-
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
-
- */
+
+ bit description
+
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+
+ */
return 0;
}
@@ -141,37 +141,37 @@ READ8_MEMBER( fd2000_device::via_pa_r )
WRITE8_MEMBER( fd2000_device::via_pa_w )
{
/*
-
- bit description
-
- 0
- 1
- 2
- 3
- 4
- 5 FAST DIR
- 6
- 7
-
- */
+
+ bit description
+
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5 FAST DIR
+ 6
+ 7
+
+ */
}
READ8_MEMBER( fd2000_device::via_pb_r )
{
/*
-
- bit description
-
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7 FDC INTRQ
-
- */
+
+ bit description
+
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7 FDC INTRQ
+
+ */
UINT8 data = 0;
@@ -184,19 +184,19 @@ READ8_MEMBER( fd2000_device::via_pb_r )
WRITE8_MEMBER( fd2000_device::via_pb_w )
{
/*
-
- bit description
-
- 0
- 1
- 2
- 3
- 4
- 5 LED
- 6 LED
- 7
-
- */
+
+ bit description
+
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5 LED
+ 6 LED
+ 7
+
+ */
}
static const via6522_interface via_intf =
@@ -227,8 +227,8 @@ static SLOT_INTERFACE_START( fd4000_floppies )
SLOT_INTERFACE_END
/*
FLOPPY_FORMATS_MEMBER( fd2000_device::floppy_formats )
- FLOPPY_D81_FORMAT
- FLOPPY_D2M_FORMAT
+ FLOPPY_D81_FORMAT
+ FLOPPY_D2M_FORMAT
FLOPPY_FORMATS_END
*/
@@ -273,7 +273,7 @@ machine_config_constructor fd2000_device::device_mconfig_additions() const
{
default:
return MACHINE_CONFIG_NAME( fd2000 );
-
+
case TYPE_FD4000:
return MACHINE_CONFIG_NAME( fd4000 );
}
@@ -293,7 +293,7 @@ void fd2000_device::device_config_complete()
default:
m_shortname = "fd2000";
break;
-
+
case TYPE_FD4000:
m_shortname = "fd4000";
break;
diff --git a/src/mess/machine/iq151_disc2.h b/src/mess/machine/iq151_disc2.h
index 5ead712023e..bfb513f9b01 100644
--- a/src/mess/machine/iq151_disc2.h
+++ b/src/mess/machine/iq151_disc2.h
@@ -24,7 +24,7 @@ public:
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const;
virtual const rom_entry *device_rom_region() const;
-
+
DECLARE_FLOPPY_FORMATS( floppy_formats );
protected:
diff --git a/src/mess/machine/lux10828.c b/src/mess/machine/lux10828.c
index c7b5f0fc595..97d1c825390 100644
--- a/src/mess/machine/lux10828.c
+++ b/src/mess/machine/lux10828.c
@@ -676,7 +676,7 @@ READ8_MEMBER( luxor_55_10828_device::fdc_r )
if (!m_wait_enable && !m_fdc_irq && !m_fdc_drq)
{
fatalerror("Z80 WAIT not supported by MAME core\n");
-
+
m_maincpu->set_input_line(Z80_INPUT_LINE_WAIT, ASSERT_LINE);
}
diff --git a/src/mess/machine/mackbd.c b/src/mess/machine/mackbd.c
index 769eff4a417..6eb60eb66f2 100644
--- a/src/mess/machine/mackbd.c
+++ b/src/mess/machine/mackbd.c
@@ -44,8 +44,8 @@
---x Data to Mac
The T1 line is "Option".
-
- There is a later M0110 keyboard version which uses a GI PIC1657; we do not have a dump of that version.
+
+ There is a later M0110 keyboard version which uses a GI PIC1657; we do not have a dump of that version.
*/
diff --git a/src/mess/machine/nes.c b/src/mess/machine/nes.c
index f9e82afdffb..14ada5774b3 100644
--- a/src/mess/machine/nes.c
+++ b/src/mess/machine/nes.c
@@ -1,8 +1,8 @@
/*****************************************************************************
- nes.c
+ nes.c
- Nintendo Entertainment System (Famicom)
+ Nintendo Entertainment System (Famicom)
****************************************************************************/
diff --git a/src/mess/machine/nubus_image.c b/src/mess/machine/nubus_image.c
index 701d7015101..4204a7c39aa 100644
--- a/src/mess/machine/nubus_image.c
+++ b/src/mess/machine/nubus_image.c
@@ -206,7 +206,7 @@ void nubus_image_device::device_start()
slotspace = get_slotspace();
superslotspace = get_super_slotspace();
-// printf("[image %p] slotspace = %x, super = %x\n", this, slotspace, superslotspace);
+// printf("[image %p] slotspace = %x, super = %x\n", this, slotspace, superslotspace);
m_nubus->install_device(slotspace, slotspace+3, read32_delegate(FUNC(nubus_image_device::image_r), this), write32_delegate(FUNC(nubus_image_device::image_w), this));
m_nubus->install_device(slotspace+4, slotspace+7, read32_delegate(FUNC(nubus_image_device::image_status_r), this), write32_delegate(FUNC(nubus_image_device::image_status_w), this));
@@ -263,6 +263,6 @@ READ32_MEMBER( nubus_image_device::image_super_r )
{
UINT32 *image = (UINT32*)m_image->data;
UINT32 data = image[offset];
- return ((data & 0xff) << 24) | ((data & 0xff00) << 8) | ((data & 0xff0000) >> 8) | ((data & 0xff000000) >> 24);
+ return ((data & 0xff) << 24) | ((data & 0xff00) << 8) | ((data & 0xff0000) >> 8) | ((data & 0xff000000) >> 24);
}
diff --git a/src/mess/machine/orion.c b/src/mess/machine/orion.c
index 8b45ab024f0..545f3ae2894 100644
--- a/src/mess/machine/orion.c
+++ b/src/mess/machine/orion.c
@@ -172,7 +172,7 @@ WRITE8_MEMBER(orion_state::orion_disk_control_w)
m_fdc->set_floppy(floppy);
floppy->mon_w(0);
- floppy->ss_w(((data & 0x10) >> 4) ^ 1);
+ floppy->ss_w(((data & 0x10) >> 4) ^ 1);
}
READ8_MEMBER(orion_state::orion128_floppy_r)
diff --git a/src/mess/machine/pc.c b/src/mess/machine/pc.c
index 0c138749c77..dff2bf082c4 100644
--- a/src/mess/machine/pc.c
+++ b/src/mess/machine/pc.c
@@ -1182,7 +1182,7 @@ WRITE8_MEMBER(pc_state::pcjr_fdc_dor_w)
UINT8 pdor = m_pcjr_dor;
upd765a_device *fdc = machine().device<upd765a_device>("upd765");
floppy_image_device *floppy = machine().device<floppy_connector>("upd765:0")->get_device();
- m_pcjr_dor = data;
+ m_pcjr_dor = data;
if(floppy)
floppy->mon_w(!(m_pcjr_dor & 1));
@@ -1194,7 +1194,7 @@ WRITE8_MEMBER(pc_state::pcjr_fdc_dor_w)
if((pdor^m_pcjr_dor) & 0x80)
fdc->reset();
-
+
if(m_pcjr_dor & 0x20) {
if((pdor & 0x40) && !(m_pcjr_dor & 0x40))
m_pcjr_watchdog->adjust(attotime::from_seconds(3));
@@ -1468,7 +1468,7 @@ MACHINE_START_MEMBER(pc_state,pcjr)
m_maincpu->set_irq_acknowledge_callback(pc_irq_callback);
machine().device<upd765a_device>("upd765")->set_ready_line_connected(false);
-
+
m_pic8259 = machine().device("pic8259");
m_dma8237 = NULL;
diff --git a/src/mess/machine/sms.c b/src/mess/machine/sms.c
index 32a02e8771a..7169c7f4902 100644
--- a/src/mess/machine/sms.c
+++ b/src/mess/machine/sms.c
@@ -885,7 +885,7 @@ READ8_MEMBER(sms_state::sms_sscope_r)
WRITE8_MEMBER(sms_state::sms_sscope_w)
{
screen_device *screen = machine().first_screen();
-
+
m_sscope_state = data;
// There are occurrences when Sega Scope's state changes after VBLANK, or at
diff --git a/src/mess/machine/special.c b/src/mess/machine/special.c
index 3ead45b349f..bfe357c9ace 100644
--- a/src/mess/machine/special.c
+++ b/src/mess/machine/special.c
@@ -266,7 +266,7 @@ WRITE8_MEMBER( special_state::specimx_disk_ctrl_w )
switch(offset)
{
- case 0 :
+ case 0 :
m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE);
break;
case 2 :
@@ -400,10 +400,10 @@ READ8_MEMBER( special_state::erik_disk_reg_r )
WRITE8_MEMBER( special_state::erik_disk_reg_w )
{
/*
- wd17xx_set_side (m_fdc,data & 1);
- wd17xx_set_drive(m_fdc,(data >> 1) & 1);
- wd17xx_dden_w(m_fdc, BIT(data, 2));
- floppy_mon_w(floppy_get_device(machine(), BIT(data, 1)), 0);
- floppy_mon_w(floppy_get_device(machine(), BIT(data, 1) ^ 1), 1);
- floppy_drive_set_ready_state(floppy_get_device(machine(), BIT(data, 1)), 1, 1);*/
+ wd17xx_set_side (m_fdc,data & 1);
+ wd17xx_set_drive(m_fdc,(data >> 1) & 1);
+ wd17xx_dden_w(m_fdc, BIT(data, 2));
+ floppy_mon_w(floppy_get_device(machine(), BIT(data, 1)), 0);
+ floppy_mon_w(floppy_get_device(machine(), BIT(data, 1) ^ 1), 1);
+ floppy_drive_set_ready_state(floppy_get_device(machine(), BIT(data, 1)), 1, 1);*/
}
diff --git a/src/version.c b/src/version.c
index 16e35b5dae3..830b31cd6c7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -38,4 +38,4 @@
***************************************************************************/
extern const char build_version[];
-const char build_version[] = "0.147u3 ("__DATE__")";
+const char build_version[] = "0.147u4 ("__DATE__")";