Clean-ups and version bump

This commit is contained in:
Angelo Salese 2012-04-22 14:10:44 +00:00
parent b6791d3348
commit ded30e907e
105 changed files with 541 additions and 541 deletions

View File

@ -35,8 +35,8 @@ READ8_HANDLER( m68307_internal_mbus_r )
logerror("%08x m68307_internal_mbus_r %08x (MBSR - M-Bus Status Register)\n", pc, offset);
retval = 0;
if (mbus->m_busy) retval |= 0x20;
if (mbus->m_intpend) retval |= 0x02;
if (mbus->m_intpend) retval |= 0x02;
return retval;
case m68307BUS_MBDR:
@ -75,7 +75,7 @@ WRITE8_HANDLER( m68307_internal_mbus_w )
case m68307BUS_MBCR:
logerror("%08x m68307_internal_mbus_w %08x, %02x (MFCR - M-Bus Control Register)\n", pc, offset,data);
mbus->m_MFCR = data;
if (data & 0x80)
{
@ -83,13 +83,13 @@ WRITE8_HANDLER( m68307_internal_mbus_w )
mbus->m_intpend = false;
}
if (data & 0x20) mbus->m_busy = true;
break;
case m68307BUS_MBSR:
logerror("%08x m68307_internal_mbus_w %08x, %02x (MBSR - M-Bus Status Register)\n", pc, offset,data);
break;
case m68307BUS_MBDR:
logerror("%08x m68307_internal_mbus_w %08x, %02x (MBDR - M-Bus Data I/O Register)\n", pc, offset,data);

View File

@ -10,7 +10,7 @@ WRITE8_HANDLER( m68307_internal_mbus_w );
class m68307_mbus
{
public:
UINT16 m_MFCR;
bool m_busy;

View File

@ -36,7 +36,7 @@ READ8_HANDLER( m68307_internal_serial_r )
case m68307SER_UMR1_UMR2:
logerror("%08x m68307_internal_serial_r %08x (UMR1, UMR2 - UART Mode Register)\n", pc, offset);
return space->machine().rand();
case m68307SER_USR_UCSR:
logerror("%08x m68307_internal_serial_r %08x (USR, UCSR - UART Status/Clock Select Register)\n", pc, offset);
return space->machine().rand();

View File

@ -8,7 +8,7 @@
#define m68307SER_UISR_UIMR (0x0b)
#define m68307SER_UBG1 (0x0d)
#define m68307SER_UBG2 (0x0f)
// (0x11)
// (0x11)
// (0x13)
// (0x15)
// (0x17)

View File

@ -1,11 +1,11 @@
#define m68340SIM_MCR (0x00)
// (0x02)
// (0x02)
#define m68340SIM_SYNCR (0x04)
#define m68340SIM_AVR_RSR (0x06)
// (0x08)
// (0x0a)
// (0x0c)
// (0x0e)
// (0x08)
// (0x0a)
// (0x0c)
// (0x0e)
#define m68340SIM_PORTA (0x11)
#define m68340SIM_DDRA (0x13)
#define m68340SIM_PPRA1 (0x15)
@ -18,18 +18,18 @@
#define m68340SIM_PICR (0x22)
#define m68340SIM_PITR (0x24)
#define m68340SIM_SWSR (0x26)
// (0x28)
// (0x2a)
// (0x2c)
// (0x2e)
// (0x30)
// (0x32)
// (0x34)
// (0x36)
// (0x38)
// (0x3a)
// (0x3c)
// (0x3e)
// (0x28)
// (0x2a)
// (0x2c)
// (0x2e)
// (0x30)
// (0x32)
// (0x34)
// (0x36)
// (0x38)
// (0x3a)
// (0x3c)
// (0x3e)
#define m68340SIM_AM_CS0 (0x40)
#define m68340SIM_BA_CS0 (0x44)
#define m68340SIM_AM_CS1 (0x48)

View File

@ -101,12 +101,12 @@ device_t::device_t(const machine_config &mconfig, device_type type, const char *
m_name(name),
m_owner(owner),
m_next(NULL),
m_interface_list(NULL),
m_execute(NULL),
m_memory(NULL),
m_state(NULL),
m_configured_clock(clock),
m_unscaled_clock(clock),
m_clock(clock),
@ -141,12 +141,12 @@ device_t::device_t(const machine_config &mconfig, device_type type, const char *
m_searchpath(shortname),
m_owner(owner),
m_next(NULL),
m_interface_list(NULL),
m_execute(NULL),
m_memory(NULL),
m_state(NULL),
m_configured_clock(clock),
m_unscaled_clock(clock),
m_clock(clock),
@ -920,7 +920,7 @@ void *device_t::finder_base::find_memory(UINT8 width, size_t &bytes, bool requir
memory_share *share = m_base.memshare(m_tag);
if (share == NULL)
return NULL;
// check the width and warn if not correct
if (width != 0 && share->width() != width)
{
@ -928,7 +928,7 @@ void *device_t::finder_base::find_memory(UINT8 width, size_t &bytes, bool requir
mame_printf_warning("Shared ptr '%s' found but is width %d, not %d as requested\n", m_tag, share->width(), width);
return NULL;
}
// return results
bytes = share->bytes();
return share->ptr();
@ -937,7 +937,7 @@ void *device_t::finder_base::find_memory(UINT8 width, size_t &bytes, bool requir
//-------------------------------------------------
// report_missing - report missing objects and
// return true if it's ok
// return true if it's ok
//-------------------------------------------------
bool device_t::finder_base::report_missing(bool found, const char *objname, bool required)
@ -945,7 +945,7 @@ bool device_t::finder_base::report_missing(bool found, const char *objname, bool
// just pass through in the found case
if (found)
return true;
// otherwise, report
if (required)
mame_printf_error("Required %s '%s' not found\n", objname, m_tag);

View File

@ -569,7 +569,7 @@ public:
// finder
virtual bool findit()
{
this->m_target = reinterpret_cast<_PointerType *>(this->find_memory(m_width, m_bytes, _Required));
this->m_target = reinterpret_cast<_PointerType *>(this->find_memory(m_width, m_bytes, _Required));
return this->report_missing(this->m_target != NULL, "shared pointer", _Required);
}
@ -604,7 +604,7 @@ template<typename _PointerType, int _Count, bool _Required>
class device_t::shared_ptr_array_finder
{
typedef shared_ptr_finder<_PointerType, _Required> shared_ptr_type;
public:
// construction/destruction
shared_ptr_array_finder(device_t &base, const char *basetag, UINT8 width = sizeof(_PointerType) * 8)
@ -612,7 +612,7 @@ public:
for (int index = 0; index < _Count; index++)
m_array[index] = global_alloc(shared_ptr_type(base, m_tag[index].format("%s.%d", basetag, index), width));
}
virtual ~shared_ptr_array_finder()
{
for (int index = 0; index < _Count; index++)

View File

@ -532,7 +532,7 @@ void device_execute_interface::interface_pre_start()
// bind delegates
m_vblank_interrupt.bind_relative_to(device());
m_timed_interrupt.bind_relative_to(device());
// m_driver_irq.bind_relative_to(device());
// m_driver_irq.bind_relative_to(device());
// fill in the initial states
execute_interface_iterator iter(device().machine().root_device());

View File

@ -295,10 +295,10 @@ protected:
// configuration
bool m_disabled; // disabled from executing?
device_interrupt_delegate m_vblank_interrupt; // for interrupts tied to VBLANK
device_interrupt_func m_vblank_interrupt_legacy; // for interrupts tied to VBLANK
device_interrupt_func m_vblank_interrupt_legacy; // for interrupts tied to VBLANK
const char * m_vblank_interrupt_screen; // the screen that causes the VBLANK interrupt
device_interrupt_delegate m_timed_interrupt; // for interrupts not tied to VBLANK
device_interrupt_func m_timed_interrupt_legacy; // for interrupts not tied to VBLANK
device_interrupt_func m_timed_interrupt_legacy; // for interrupts not tied to VBLANK
attotime m_timed_interrupt_period; // period for periodic interrupts
bool m_is_octal; // to determine if messages/debugger will show octal or hex

View File

@ -278,7 +278,7 @@ void driver_device::device_start()
m_callbacks[CB_VIDEO_START]();
else
video_start();
// save generic states
save_item(NAME(m_flip_screen_x));
save_item(NAME(m_flip_screen_y));
@ -447,7 +447,7 @@ READ32_MEMBER( driver_device::watchdog_reset32_r ) { machine().watchdog_reset();
//**************************************************************************
//-------------------------------------------------
// soundlatch_sync_callback - time-delayed
// soundlatch_sync_callback - time-delayed
// callback to set a latch value
//-------------------------------------------------
@ -486,7 +486,7 @@ WRITE16_MEMBER( driver_device::soundlatch4_word_w ) { machine().scheduler().sync
// reading from sound latches
//-------------------------------------------------
READ8_MEMBER( driver_device::soundlatch_byte_r ) { return m_latched_value[0]; }
READ8_MEMBER( driver_device::soundlatch_byte_r ) { return m_latched_value[0]; }
READ16_MEMBER( driver_device::soundlatch_word_r ) { return m_latched_value[0]; }
READ8_MEMBER( driver_device::soundlatch2_byte_r ) { return m_latched_value[1]; }
READ16_MEMBER( driver_device::soundlatch2_word_r ) { return m_latched_value[1]; }
@ -591,7 +591,7 @@ void driver_device::flip_screen_x_set(UINT32 on)
// normalize to all 1
if (on)
on = ~0;
// if something's changed, handle it
if (m_flip_screen_x != on)
{
@ -610,7 +610,7 @@ void driver_device::flip_screen_y_set(UINT32 on)
// normalize to all 1
if (on)
on = ~0;
// if something's changed, handle it
if (m_flip_screen_y != on)
{

View File

@ -154,7 +154,7 @@ public:
// construction/destruction
driver_device(const machine_config &mconfig, device_type type, const char *tag);
virtual ~driver_device();
// getters
const game_driver &system() const { assert(m_system != NULL); return *m_system; }
@ -182,8 +182,8 @@ public:
{
(downcast<_DriverClass &>(device).*_Function)();
}
// generic interrupt generators
// generic interrupt generators
void generic_pulse_irq_line(device_execute_interface &exec, int irqline, int cycles);
void generic_pulse_irq_line_and_vector(device_execute_interface &exec, int irqline, int vector, int cycles);
@ -348,7 +348,7 @@ public:
// 8-8-8 RGB palette write handlers
DECLARE_WRITE16_MEMBER( paletteram_xrgb_word_be_w );
DECLARE_WRITE16_MEMBER( paletteram_xbgr_word_be_w );
// generic input port helpers
// custom handler
DECLARE_CUSTOM_INPUT_MEMBER( custom_port_read );
@ -397,7 +397,7 @@ private:
// internal state
const game_driver * m_system; // pointer to the game driver
driver_callback_delegate m_callbacks[CB_COUNT]; // start/reset callbacks
legacy_callback_func m_legacy_callbacks[CB_COUNT]; // legacy start/reset callbacks
legacy_callback_func m_legacy_callbacks[CB_COUNT]; // legacy start/reset callbacks
// generic audio
UINT16 m_latch_clear_value;
@ -405,8 +405,8 @@ private:
UINT8 m_latch_read[4];
// generic video
UINT32 m_flip_screen_x;
UINT32 m_flip_screen_y;
UINT32 m_flip_screen_x;
UINT32 m_flip_screen_y;
};

View File

@ -324,7 +324,7 @@ bool cassette_image_device::call_load()
/* reset the position */
m_position = 0.0;
m_position_time = device().machine().time().as_double();
/* default channel to 0, speed multiplier to 1 */
m_channel = 0;
m_speed = 1;

View File

@ -926,7 +926,7 @@ public:
// construction/destruction
ioport_manager(running_machine &machine);
time_t initialize();
// getters
running_machine &machine() const { return m_machine; }
input_port_config *first_port() const { return m_portlist.first(); }

View File

@ -4390,7 +4390,7 @@ void memory_bank::configure_entries(int startentry, int numentries, void *base,
//-------------------------------------------------
// configure_decrypted_entry - configure a
// configure_decrypted_entry - configure a
// decrypted entry
//-------------------------------------------------
@ -4414,7 +4414,7 @@ void memory_bank::configure_decrypted_entry(int entrynum, void *base)
//-------------------------------------------------
// configure_decrypted_entries - configure
// configure_decrypted_entries - configure
// multiple decrypted entries
//-------------------------------------------------

View File

@ -850,7 +850,7 @@ private:
tagged_list<memory_share> m_sharelist; // map for share lookups
tagged_list<memory_region> m_regionlist; // list of memory regions
tagged_list<memory_region> m_regionlist; // list of memory regions
};

View File

@ -78,7 +78,7 @@ private:
static inline UINT32 dest_b(_PixelType pixel) { return (pixel >> _DstShiftB) & (0xff >> _SrcShiftB); }
// generic conversion with special optimization for destinations in the standard format
static inline _PixelType source32_to_dest(rgb_t pixel)
static inline _PixelType source32_to_dest(rgb_t pixel)
{
if (_SrcShiftR == 0 && _SrcShiftG == 0 && _SrcShiftB == 0 && _DstShiftR == 16 && _DstShiftG == 8 && _DstShiftB == 0)
return pixel;
@ -137,7 +137,7 @@ private:
// G = clip(( common - 100 * Cb - 208 * Cr + 91776) >> 8)
// B = clip(( common + 516 * Cb - 13696) >> 8)
//
UINT8 y = ycc;
UINT8 cb = ycc >> 8;
UINT8 cr = ycc >> 16;
@ -188,7 +188,7 @@ private:
//-------------------------------------------------
// get_texel_palette16a - return a texel from a
// get_texel_palette16a - return a texel from a
// palettized 16bpp source with alpha
//-------------------------------------------------
@ -223,7 +223,7 @@ private:
//-------------------------------------------------
// get_texel_yuy16 - return a texel from a 16bpp
// get_texel_yuy16 - return a texel from a 16bpp
// YCbCr source (pixel is returned as Cr-Cb-Y)
//-------------------------------------------------
@ -285,7 +285,7 @@ private:
//-------------------------------------------------
// get_texel_rgb32 - return a texel from a 32bpp
// get_texel_rgb32 - return a texel from a 32bpp
// RGB source
//-------------------------------------------------
@ -320,7 +320,7 @@ private:
//-------------------------------------------------
// get_texel_argb32 - return a texel from a 32bpp
// get_texel_argb32 - return a texel from a 32bpp
// ARGB source
//-------------------------------------------------

View File

@ -39,7 +39,7 @@ void i5000snd_device::device_start()
vol /= div;
}
m_lut_volume[0xff] = 0;
// create the stream
m_stream = machine().sound().stream_alloc(*this, 0, 2, clock() / 0x400, this);
@ -52,7 +52,7 @@ void i5000snd_device::device_reset()
{
// stop playing
write_reg16(0x43, 0xffff);
// reset channel regs
for (int i = 0; i < 0x40; i++)
write_reg16(i, 0);
@ -77,13 +77,13 @@ bool i5000snd_device::read_sample(int ch)
// TODO
return false;
}
// cmd 0x0000 = end sample
// other values: unused
else return false;
}
return true;
}
@ -94,7 +94,7 @@ void i5000snd_device::sound_stream_update(sound_stream &stream, stream_sample_t
{
INT32 mix_l = 0;
INT32 mix_r = 0;
// loop over all channels
for (int ch = 0; ch < 16; ch++)
{
@ -109,7 +109,7 @@ void i5000snd_device::sound_stream_update(sound_stream &stream, stream_sample_t
continue;
}
m_channels[ch].freq_timer += m_channels[ch].freq_base;
int adpcm_data = m_channels[ch].sample >> m_channels[ch].shift_pos;
m_channels[ch].shift_pos += m_channels[ch].shift_amount;
if (m_channels[ch].shift_pos & 0x10)
@ -122,15 +122,15 @@ void i5000snd_device::sound_stream_update(sound_stream &stream, stream_sample_t
adpcm_data |= (m_channels[ch].sample << (m_channels[ch].shift_amount - m_channels[ch].shift_pos));
}
adpcm_data = m_channels[ch].m_adpcm.clock(adpcm_data & m_channels[ch].shift_mask);
m_channels[ch].output_r = adpcm_data * m_channels[ch].vol_r / 128;
m_channels[ch].output_l = adpcm_data * m_channels[ch].vol_l / 128;
mix_r += m_channels[ch].output_r;
mix_l += m_channels[ch].output_l;
}
outputs[0][i] = mix_r / 16;
outputs[1][i] = mix_l / 16;
}
@ -146,7 +146,7 @@ void i5000snd_device::write_reg16(UINT8 reg, UINT16 data)
switch (reg & 3)
{
// 0, 1: address
// 2: frequency
case 2:
m_channels[ch].freq_base = (0x1ff - (data & 0xff)) << (~data >> 8 & 3);
@ -157,12 +157,12 @@ void i5000snd_device::write_reg16(UINT8 reg, UINT16 data)
m_channels[ch].vol_r = m_lut_volume[data & 0xff];
m_channels[ch].vol_l = m_lut_volume[data >> 8 & 0xff];
break;
default:
break;
}
}
// global regs
else
{
@ -177,7 +177,7 @@ void i5000snd_device::write_reg16(UINT8 reg, UINT16 data)
UINT32 address = m_regs[ch << 2 | 1] << 16 | m_regs[ch << 2];
UINT16 start = m_rom_base[(address + 0) & m_rom_mask];
UINT16 param = m_rom_base[(address + 1) & m_rom_mask];
// check sample start ID
if (start != 0x7f7f)
{
@ -205,18 +205,18 @@ void i5000snd_device::write_reg16(UINT8 reg, UINT16 data)
m_channels[ch].shift_mask = 0xf;
break;
}
m_channels[ch].address = (address + 4) & m_rom_mask;
m_channels[ch].freq_timer = 0;
m_channels[ch].shift_pos = 0;
m_channels[ch].m_adpcm.reset();
m_channels[ch].is_playing = read_sample(ch);
}
}
break;
// channel key off (0 has no effect)
case 0x43:
for (int ch = 0; ch < 16; ch++)
@ -237,7 +237,7 @@ void i5000snd_device::write_reg16(UINT8 reg, UINT16 data)
break;
}
}
m_regs[reg] = data;
}
@ -256,12 +256,12 @@ READ16_MEMBER( i5000snd_device::read )
ret |= (1 << ch);
}
break;
default:
// 0x41: ?
break;
}
return ret;
}

View File

@ -73,9 +73,9 @@ private:
UINT16 *m_rom_base;
UINT32 m_rom_mask;
int m_lut_volume[0x100];
bool read_sample(int ch);
void write_reg16(UINT8 reg, UINT16 data);
};

View File

@ -90,7 +90,7 @@ casserr_t coladam_put_block(cassette_image *cass, int channel, double *time_inde
header[2] = 0x57;
header[9] = 0xe3;
}
for (i = 0; i < 10; i++) // header
{
err = coladam_put_byte(cass, channel, time_index, header[i], prev_sign);
@ -120,7 +120,7 @@ casserr_t coladam_put_block(cassette_image *cass, int channel, double *time_inde
err = coladam_put_byte(cass, channel, time_index, 0x00, prev_sign);
return err;
}
static casserr_t coladam_ddp_load( cassette_image *cass )
{
@ -131,9 +131,9 @@ static casserr_t coladam_ddp_load( cassette_image *cass )
// It would appear that data packs that originally had the type GW data layout and headers work fine when converted to type
// HE. Thus we set all tapes to type HE.
int layout_type = TYPE_HE;
// Track 0
for ( i = 0; i < 2753; i++ ) // leading zero bytes
{
@ -193,10 +193,10 @@ static casserr_t coladam_ddp_load( cassette_image *cass )
err = coladam_put_block(cass, 1, &time, &prev_sign, block, buffer, layout_type);
}
}
if (err)
return err;
return CASSETTE_ERROR_SUCCESS;
}

View File

@ -1,8 +1,8 @@
/*********************************************************************
ap2_dsk.c
ap2_dsk.c
Apple II disk images
Apple II disk images
*********************************************************************/
@ -514,38 +514,38 @@ LEGACY_FLOPPY_OPTIONS_END
/***************************************************************************
New implementation
New implementation
****************************************************************************
Copyright Olivier Galibert, Lord Nightmare and Balrog
All rights reserved.
Copyright Olivier Galibert, Lord Nightmare and Balrog
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name 'MAME' nor the names of its contributors may be
used to endorse or promote products derived from this software
without specific prior written permission.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name 'MAME' nor the names of its contributors may be
used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY AARON GILES ''AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL AARON GILES BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY AARON GILES ''AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL AARON GILES BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
****************************************************************************/
@ -745,8 +745,8 @@ fprintf(stderr,"done.\n");
for(int i=0; i<0x156; i++) {
data[i] = gcr6bw_tb[gb(buf, ts, pos, wrap)] ^ c;
c = data[i];
// printf("%02x ", c);
// if (((i&0xf)+1)==0x10) printf("\n");
// printf("%02x ", c);
// if (((i&0xf)+1)==0x10) printf("\n");
}
// read the checksum byte
data[0x156] = gcr6bw_tb[gb(buf,ts,pos,wrap)];
@ -819,4 +819,4 @@ fprintf(stderr,"done.\n");
return true;
}
const floppy_format_type FLOPPY_A216S_FORMAT = &floppy_image_format_creator<a2_16sect_format>;
const floppy_format_type FLOPPY_A216S_FORMAT = &floppy_image_format_creator<a2_16sect_format>;

View File

@ -1,8 +1,8 @@
/*********************************************************************
ap2_dsk.h
ap2_dsk.h
Apple II disk images
Apple II disk images
*********************************************************************/
@ -14,7 +14,7 @@
/***************************************************************************
Constants
Constants
***************************************************************************/
@ -55,4 +55,4 @@ private:
extern const floppy_format_type FLOPPY_A216S_FORMAT;
#endif /* AP2_DISK_H */
#endif /* AP2_DISK_H */

View File

@ -161,7 +161,7 @@ static const float128 float128_two =
static const float128 float128_ln2inv2 =
packFloat_128(U64(0x400071547652b82f), U64(0xe1777d0ffda0d23a));
#define SQRT2_HALF_SIG U64(0xb504f333f9de6484)
#define SQRT2_HALF_SIG U64(0xb504f333f9de6484)
extern float128 OddPoly(float128 x, float128 *arr, unsigned n);
@ -277,7 +277,7 @@ static floatx80 fyl2x(floatx80 a, floatx80 b)
invalid:
float_raise(float_flag_invalid);
return floatx80_default_nan;
}
}
else {
if (bExp == 0) {
if (bSig == 0) goto invalid;
@ -391,7 +391,7 @@ floatx80 fyl2xp1(floatx80 a, floatx80 b)
invalid:
float_raise(float_flag_invalid);
return floatx80_default_nan;
}
}
else {
if (bExp == 0) {
if (bSig == 0) goto invalid;

View File

@ -107,7 +107,7 @@ READ8_MEMBER(midway_ssio_device::read)
//-------------------------------------------------
// write - handle an external write to one of the
// input latches
// input latches
//-------------------------------------------------
WRITE8_MEMBER(midway_ssio_device::write)
@ -128,7 +128,7 @@ WRITE_LINE_MEMBER(midway_ssio_device::reset_write)
device_reset();
m_cpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
}
// going low resets and reactivates the CPU
else
m_cpu->set_input_line(INPUT_LINE_RESET, CLEAR_LINE);
@ -167,7 +167,7 @@ WRITE8_MEMBER(midway_ssio_device::ioport_write)
//-------------------------------------------------
// set_custom_input - configure a custom port
// reader
// reader
//-------------------------------------------------
void midway_ssio_device::set_custom_input(int which, UINT8 mask, read8_delegate handler)
@ -179,7 +179,7 @@ void midway_ssio_device::set_custom_input(int which, UINT8 mask, read8_delegate
//-------------------------------------------------
// set_custom_output - configure a custom port
// writer
// writer
//-------------------------------------------------
void midway_ssio_device::set_custom_output(int which, UINT8 mask, write8_delegate handler)
@ -191,8 +191,8 @@ void midway_ssio_device::set_custom_output(int which, UINT8 mask, write8_delegat
//-------------------------------------------------
// compute_ay8910_modulation - precompute
// volume modulation tables based on the duty
// cycle described by the PROMs
// volume modulation tables based on the duty
// cycle described by the PROMs
//-------------------------------------------------
void midway_ssio_device::compute_ay8910_modulation()
@ -201,7 +201,7 @@ void midway_ssio_device::compute_ay8910_modulation()
// AY-8910 modulation:
//
// Starts with a 16MHz oscillator
// /2 via 7474 flip-flip @ F11
// /2 via 7474 flip-flip @ F11
//
// This signal clocks the binary counter @ E11 which
// cascades into the decade counter @ D11. This combo
@ -258,7 +258,7 @@ void midway_ssio_device::compute_ay8910_modulation()
//-------------------------------------------------
// clock_14024 - periodic timer to clock the
// 7-bit async counter at C12
// 7-bit async counter at C12
//-------------------------------------------------
INTERRUPT_GEN_MEMBER(midway_ssio_device::clock_14024)
@ -367,7 +367,7 @@ WRITE8_MEMBER(midway_ssio_device::portb1_w)
//-------------------------------------------------
// update_volumes - update the volumes of each
// AY-8910 channel based on modulation and mute
// AY-8910 channel based on modulation and mute
//-------------------------------------------------
void midway_ssio_device::update_volumes()
@ -488,7 +488,7 @@ machine_config_constructor midway_ssio_device::device_mconfig_additions() const
ioport_constructor midway_ssio_device::device_input_ports() const
{
return NULL;
// return INPUT_PORTS_NAME( midway_ssio );
// return INPUT_PORTS_NAME( midway_ssio );
}
@ -564,7 +564,7 @@ READ8_MEMBER(midway_chip_squeak_deluxe_device::read)
//-------------------------------------------------
// write - handle an external write to the input
// latch
// latch
//-------------------------------------------------
WRITE8_MEMBER(midway_chip_squeak_deluxe_device::write)
@ -779,7 +779,7 @@ READ8_MEMBER(midway_sounds_good_device::read)
//-------------------------------------------------
// write - handle an external write to the input
// latch
// latch
//-------------------------------------------------
WRITE8_MEMBER(midway_sounds_good_device::write)
@ -966,7 +966,7 @@ READ8_MEMBER(midway_turbo_chip_squeak_device::read)
//-------------------------------------------------
// write - handle an external write to the input
// latch
// latch
//-------------------------------------------------
WRITE8_MEMBER(midway_turbo_chip_squeak_device::write)
@ -1137,7 +1137,7 @@ midway_squawk_n_talk_device::midway_squawk_n_talk_device(const machine_config &m
//-------------------------------------------------
// write - handle an external write to the input
// latch
// latch
//-------------------------------------------------
WRITE8_MEMBER(midway_squawk_n_talk_device::write)

View File

@ -104,7 +104,7 @@ public:
DECLARE_WRITE_LINE_MEMBER(reset_write);
DECLARE_READ8_MEMBER(ioport_read);
DECLARE_WRITE8_MEMBER(ioport_write);
// configuration
void set_custom_input(int which, UINT8 mask, read8_delegate handler);
void set_custom_output(int which, UINT8 mask, write8_delegate handler);

View File

@ -111,7 +111,7 @@ williams_cvsd_sound_device::williams_cvsd_sound_device(const machine_config &mco
//-------------------------------------------------
// write - handle an external write to the input
// latch
// latch
//-------------------------------------------------
WRITE16_MEMBER(williams_cvsd_sound_device::write)
@ -162,7 +162,7 @@ WRITE8_MEMBER(williams_cvsd_sound_device::talkback_w)
//-------------------------------------------------
// cvsd_digit_clock_clear_w - clear the clock on
// cvsd_digit_clock_clear_w - clear the clock on
// the HC55516 and clock the data
//-------------------------------------------------
@ -185,7 +185,7 @@ WRITE8_MEMBER(williams_cvsd_sound_device::cvsd_clock_set_w)
//-------------------------------------------------
// ym2151_irq_w - process IRQ signal changes from
// the YM2151
// the YM2151
//-------------------------------------------------
WRITE_LINE_MEMBER(williams_cvsd_sound_device::ym2151_irq_w)
@ -196,7 +196,7 @@ WRITE_LINE_MEMBER(williams_cvsd_sound_device::ym2151_irq_w)
//-------------------------------------------------
// pia_irqa - process IRQ A signal changes from
// the 6821
// the 6821
//-------------------------------------------------
WRITE_LINE_MEMBER(williams_cvsd_sound_device::pia_irqa)
@ -207,7 +207,7 @@ WRITE_LINE_MEMBER(williams_cvsd_sound_device::pia_irqa)
//-------------------------------------------------
// pia_irqb - process IRQ B signal changes from
// the 6821
// the 6821
//-------------------------------------------------
WRITE_LINE_MEMBER(williams_cvsd_sound_device::pia_irqb)
@ -375,7 +375,7 @@ williams_narc_sound_device::williams_narc_sound_device(const machine_config &mco
//-------------------------------------------------
// read - return the talkback register with the
// SYNC bits in bits 8 and 9
// SYNC bits in bits 8 and 9
//-------------------------------------------------
READ16_MEMBER(williams_narc_sound_device::read)
@ -386,7 +386,7 @@ READ16_MEMBER(williams_narc_sound_device::read)
//-------------------------------------------------
// write - handle an external write to the input
// latch
// latch
//-------------------------------------------------
WRITE16_MEMBER(williams_narc_sound_device::write)
@ -444,7 +444,7 @@ WRITE8_MEMBER(williams_narc_sound_device::slave_bank_select_w)
//-------------------------------------------------
// command_r - read command written by external
// agent
// agent
//-------------------------------------------------
READ8_MEMBER(williams_narc_sound_device::command_r)
@ -457,7 +457,7 @@ READ8_MEMBER(williams_narc_sound_device::command_r)
//-------------------------------------------------
// command2_w - write command from master CPU to
// slave CPU
// slave CPU
//-------------------------------------------------
WRITE8_MEMBER(williams_narc_sound_device::command2_w)
@ -468,7 +468,7 @@ WRITE8_MEMBER(williams_narc_sound_device::command2_w)
//-------------------------------------------------
// command2_r - read command written by master
// CPU
// CPU
//-------------------------------------------------
READ8_MEMBER(williams_narc_sound_device::command2_r)
@ -480,7 +480,7 @@ READ8_MEMBER(williams_narc_sound_device::command2_r)
//-------------------------------------------------
// master_talkback_w - handle writes to the
// talkback latch from the master CPU
// talkback latch from the master CPU
//-------------------------------------------------
WRITE8_MEMBER(williams_narc_sound_device::master_talkback_w)
@ -492,7 +492,7 @@ WRITE8_MEMBER(williams_narc_sound_device::master_talkback_w)
//-------------------------------------------------
// master_sync_w - handle writes to the master
// SYNC register
// SYNC register
//-------------------------------------------------
WRITE8_MEMBER(williams_narc_sound_device::master_sync_w)
@ -505,7 +505,7 @@ WRITE8_MEMBER(williams_narc_sound_device::master_sync_w)
//-------------------------------------------------
// slave_talkback_w - handle writes to the
// talkback latch from the slave CPU
// talkback latch from the slave CPU
//-------------------------------------------------
WRITE8_MEMBER(williams_narc_sound_device::slave_talkback_w)
@ -516,7 +516,7 @@ WRITE8_MEMBER(williams_narc_sound_device::slave_talkback_w)
//-------------------------------------------------
// slave_sync_w - handle writes to the slave
// SYNC register
// SYNC register
//-------------------------------------------------
WRITE8_MEMBER(williams_narc_sound_device::slave_sync_w)
@ -528,7 +528,7 @@ WRITE8_MEMBER(williams_narc_sound_device::slave_sync_w)
//-------------------------------------------------
// cvsd_digit_clock_clear_w - clear the clock on
// cvsd_digit_clock_clear_w - clear the clock on
// the HC55516 and clock the data
//-------------------------------------------------
@ -551,7 +551,7 @@ WRITE8_MEMBER(williams_narc_sound_device::cvsd_clock_set_w)
//-------------------------------------------------
// ym2151_irq_w - handle line changes on the
// YM2151 IRQ line
// YM2151 IRQ line
//-------------------------------------------------
WRITE_LINE_MEMBER(williams_narc_sound_device::ym2151_irq_w)
@ -720,12 +720,12 @@ void williams_narc_sound_device::device_timer(emu_timer &timer, device_timer_id
m_sound_int_state = 1;
}
break;
case TID_SLAVE_COMMAND:
m_latch2 = param & 0xff;
m_cpu1->set_input_line(M6809_FIRQ_LINE, ASSERT_LINE);
break;
case TID_SYNC_CLEAR:
m_audio_sync &= ~param;
break;
@ -754,7 +754,7 @@ williams_adpcm_sound_device::williams_adpcm_sound_device(const machine_config &m
//-------------------------------------------------
// write - handle an external write to the input
// latch
// latch
//-------------------------------------------------
WRITE16_MEMBER(williams_adpcm_sound_device::write)
@ -795,7 +795,7 @@ READ_LINE_MEMBER(williams_adpcm_sound_device::irq_read)
//-------------------------------------------------
// bank_select_w - select the sound CPU memory
// bank
// bank
//-------------------------------------------------
WRITE8_MEMBER(williams_adpcm_sound_device::bank_select_w)
@ -806,7 +806,7 @@ WRITE8_MEMBER(williams_adpcm_sound_device::bank_select_w)
//-------------------------------------------------
// bank_select_w - select the OKI6295 memory
// bank
// bank
//-------------------------------------------------
WRITE8_MEMBER(williams_adpcm_sound_device::oki6295_bank_select_w)
@ -817,7 +817,7 @@ WRITE8_MEMBER(williams_adpcm_sound_device::oki6295_bank_select_w)
//-------------------------------------------------
// command_r - read the command from the external
// latch
// latch
//-------------------------------------------------
READ8_MEMBER(williams_adpcm_sound_device::command_r)
@ -983,7 +983,7 @@ void williams_adpcm_sound_device::device_timer(emu_timer &timer, device_timer_id
machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(100));
}
break;
case TID_IRQ_CLEAR:
m_sound_int_state = 0;
break;

View File

@ -114,7 +114,7 @@ private:
// internal state
UINT8 m_talkback;
};
// ======================> williams_narc_sound_device
@ -218,5 +218,5 @@ private:
UINT8 m_talkback;
UINT8 m_sound_int_state;
};

View File

@ -778,7 +778,7 @@ static void encf(UINT8 ciphertext, int address, UINT8 &plaintext, int &newaddres
{
int aux = address & 0xfff;
aux = aux ^ (aux>>6);
aux = ((aux<<6) | (aux>>6)) & 0xfff;
aux = ((aux<<6) | (aux>>6)) & 0xfff;
UINT8 aux2 = BITSWAP8(aux, 9,10,4,1,6,0,7,3);
aux2 ^= aux2>>4;
aux2 = (aux2<<4) | (aux2>>4);
@ -792,11 +792,11 @@ static void decrypt(running_machine &machine, int key1, int key2)
{
UINT8 plaintext;
int newaddress;
UINT8 *src = machine.root_device().memregion("mainprg")->base();
UINT8 *dest = machine.root_device().memregion("maincpu")->base();
int len = machine.root_device().memregion("mainprg")->bytes();
for (int i = 0; i < len; i++)
{
encf(src[i], i, plaintext, newaddress);

View File

@ -20,7 +20,7 @@ class astrafr_state : public driver_device
public:
astrafr_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
{
{
fgpa_first_read_addr = 0xffff;
fgpa_rom_write_addr = 0xffff;
fgpa_after_rom_write_addr = 0xffff;
@ -34,7 +34,7 @@ public:
DECLARE_READ8_MEMBER( astra_fgpa_r )
{
int pc = cpu_get_pc(&space.device());
if (offset==fgpa_first_read_addr)
{
return 0xff;
@ -45,11 +45,11 @@ public:
return 0xff;
}
}
DECLARE_WRITE8_MEMBER( astra_fgpa_w )
{
int pc = cpu_get_pc(&space.device());
if (offset==fgpa_rom_write_addr)
{
// the games write most of the ROM data to a port
@ -65,7 +65,7 @@ public:
DECLARE_READ8_MEMBER( astra_fgpa_slave_r )
{
int pc = cpu_get_pc(&space.device());
if (offset==fgpa_first_read_addr)
{
return 0xff;
@ -76,11 +76,11 @@ public:
return 0xff;
}
}
DECLARE_WRITE8_MEMBER( astra_fgpa_slave_w )
{
int pc = cpu_get_pc(&space.device());
if (offset==fgpa_rom_write_addr)
{
// the games write most of the ROM data to a port
@ -197,8 +197,8 @@ MACHINE_CONFIG_END
static MACHINE_START( astra_57 )
{
astrafr_state *state = machine.driver_data<astrafr_state>();
// state->fgpa_after_rom_write_addr = 0x20;
// state->fgpa_first_read_addr = 0x23;
// state->fgpa_after_rom_write_addr = 0x20;
// state->fgpa_first_read_addr = 0x23;
state->fgpa_rom_write_addr = 0x57;
}
@ -2133,19 +2133,19 @@ GAME( 200?, as_rtrf, as_rtr , astra_single_2e, astrafr, astradec, ROT0
GAME( 200?, as_rtrg, as_rtr , astra_single, astrafr, astradec, ROT0, "Astra", "Ready To Roll (Astra, V200, alt)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rtrh, as_rtr , astra_single_2e, astrafr, astradec, ROT0, "Astra", "Ready To Roll (Astra, V202)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rab, 0 , astra_single_2e, astrafr, 0, ROT0, "Astra", "Ring A Bell (Astra, V105)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rab, 0 , astra_single_2e, astrafr, 0, ROT0, "Astra", "Ring A Bell (Astra, V105)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_raba, as_rab , astra_single, astrafr, 0, ROT0, "Astra", "Ring A Bell (Astra, V106)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rabb, as_rab , astra_single, astrafr, 0, ROT0, "Astra", "Ring A Bell (Astra, V107)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rabc, as_rab , astra_single, astrafr, 0, ROT0, "Astra", "Ring A Bell (Astra, V104)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rbg, 0 , astra_single_2e, astrafr, 0, ROT0, "Astra", "River Boat Gambler (Astra, V304)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rbg, 0 , astra_single_2e, astrafr, 0, ROT0, "Astra", "River Boat Gambler (Astra, V304)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rbga, as_rab , astra_single, astrafr, 0, ROT0, "Astra", "River Boat Gambler (Astra, V303)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rbgb, as_rab , astra_single, astrafr, 0, ROT0, "Astra", "River Boat Gambler (Astra, V104)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rbgc, as_rab , astra_single, astrafr, 0, ROT0, "Astra", "River Boat Gambler (Astra, V102)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rbgd, as_rab , astra_single, astrafr, 0, ROT0, "Astra", "River Boat Gambler (Astra, V101)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rbge, as_rab , astra_single, astrafr, 0, ROT0, "Astra", "River Boat Gambler (Astra, V008)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rbglo, 0 , astrafr_dual_37, astrafr, astradec_sml_dual, ROT0, "Lowen", "River Boat Gambler (Lowen, V106)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rbglo, 0 , astrafr_dual_37, astrafr, astradec_sml_dual, ROT0, "Lowen", "River Boat Gambler (Lowen, V106)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_rox, 0 , astra_single, astrafr, 0, ROT0, "Astra", "Roll X (Astra, V006)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_csv, 0 , astra_single_37, astrafr, 0, ROT0, "Astra", "Slot Slant (?) (Astra, V202)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_csv, 0 , astra_single_37, astrafr, 0, ROT0, "Astra", "Slot Slant (?) (Astra, V202)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_sltcl, 0 , astra_single, astrafr, 0, ROT0, "Astra", "Slots Classic (?) (Astra)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_stp, 0 , astra_single_2e, astrafr, astradec, ROT0, "Astra", "Stampede (Astra, V103)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_stpa, as_stp , astra_single, astrafr, astradec, ROT0, "Astra", "Stampede (Astra, V102)" , GAME_IS_SKELETON_MECHANICAL)
@ -2160,7 +2160,7 @@ GAME( 200?, as_sldd, as_sld , astra_single, astrafr, 0, ROT0, "Astra
GAME( 200?, as_slde, as_sld , astra_single, astrafr, 0, ROT0, "Astra", "Super Little Devil (Astra, V101)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_tem, 0 , astra_single_alt_37, astrafr, astradec, ROT0, "Astra", "Temptation (Astra, V101)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_tema, as_tem , astra_single_alt_37, astrafr, astradec, ROT0, "Astra", "Temptation (Astra, V006)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_tbl, 0 , astra_single_2e, astrafr, 0, ROT0, "Astra", "Triple Bells (Astra, V104)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_tbl, 0 , astra_single_2e, astrafr, 0, ROT0, "Astra", "Triple Bells (Astra, V104)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_tbla, as_tbl , astra_single, astrafr, 0, ROT0, "Astra", "Triple Bells (Astra, V105)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_tblb, as_tbl , astra_single, astrafr, 0, ROT0, "Astra", "Triple Bells (Astra, V106)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_tblc, as_tbl , astra_single, astrafr, 0, ROT0, "Astra", "Triple Bells (Astra, V103)" , GAME_IS_SKELETON_MECHANICAL)
@ -2171,7 +2171,7 @@ GAME( 200?, as_td, 0 , astra_single_2e, astrafr, astradec, ROT0, "A
GAME( 200?, as_twp, 0 , astra_single, astrafr, 0, ROT0, "Astra", "Twin Pots (Astra, V106)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_twpa, as_twp , astra_single, astrafr, 0, ROT0, "Astra", "Twin Pots (Astra, V104)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_vn, 0 , astrafr_dual_alt_37, astrafr, astradec_dual, ROT0, "Astra", "Vegas Nights (Astra, V205)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_vn, 0 , astrafr_dual_alt_37, astrafr, astradec_dual, ROT0, "Astra", "Vegas Nights (Astra, V205)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_vcv, 0 , astra_single, astrafr, astradec, ROT0, "Astra", "Viva Cash Vegas (Astra, V005)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_vcva, as_vcv , astra_single, astrafr, astradec, ROT0, "Astra", "Viva Cash Vegas (Astra, V107)" , GAME_IS_SKELETON_MECHANICAL)
GAME( 200?, as_vcvb, as_vcv , astra_single, astrafr, astradec, ROT0, "Astra", "Viva Cash Vegas (Astra, V106)" , GAME_IS_SKELETON_MECHANICAL)

View File

@ -607,7 +607,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( frenzy_map, AS_PROGRAM, 8, berzerk_state )
AM_RANGE(0x0000, 0x3fff) AM_ROM
AM_RANGE(0x4000, 0x5fff) AM_RAM AM_SHARE("videoram")
AM_RANGE(0x4000, 0x5fff) AM_RAM AM_SHARE("videoram")
AM_RANGE(0x6000, 0x7fff) AM_RAM_WRITE(magicram_w) AM_SHARE("videoram")
AM_RANGE(0x8000, 0x87ff) AM_MIRROR(0x3800) AM_RAM AM_SHARE("colorram")
AM_RANGE(0xc000, 0xcfff) AM_ROM

View File

@ -12,9 +12,9 @@
emulation see bfm_sc4h.c
note: default Jackpot keys are set to whatever value the game
mentions it should be using with none present, many
games accept multiple keys
note: default Jackpot keys are set to whatever value the game
mentions it should be using with none present, many
games accept multiple keys
*/
@ -31,10 +31,10 @@ bool compare_mbus(UINT16* rom)
if (rom[3] != 0x6612)
return false;
if (rom[7] != 0x0c81)
return false;
if (rom[10] != 0x66ea)
return false;
}
@ -172,7 +172,7 @@ int find_project_string(running_machine &machine, int addrxor, int mode)
}
/* default reels */
const stepper_interface* default_reel_configs[6] =
const stepper_interface* default_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -222,7 +222,7 @@ DRIVER_INIT( sc4 )
if (!found)
printf("No suitable string found\n");
sc4_state *state = machine.driver_data<sc4_state>();
state->m_reel_setup = default_reel_configs;
@ -22752,7 +22752,7 @@ GAME( 200?, sc4pstatj ,sc4pstat, sc4, sc4, sc4, ROT0, "QPS","Paystation (V041) (
GAME( 200?, sc4pstato ,sc4pstat, sc4, sc4, sc4, ROT0, "QPS","Paystation (V042) (Qps) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4pstatq ,sc4pstat, sc4, sc4, sc4, ROT0, "QPS","Paystation (V042) (Qps) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4cvani_reel_configs[6] =
const stepper_interface* sc4cvani_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -22781,7 +22781,7 @@ GAME( 200?, sc4cvanig ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps
GAME( 200?, sc4cvanih ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 9)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4cvanii ,sc4cvani, sc4, sc4, sc4cvani, ROT0, "QPS","Cashvania (Qps) (Scorpion 4) (set 10)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4cvclb_reel_configs[6] =
const stepper_interface* sc4cvclb_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -22893,7 +22893,7 @@ GAME( 200?, sc4blued ,sc4blue, sc4, sc4, sc4, ROT0, "Mazooma","Blue Rinse (Mazoo
GAME( 200?, sc4bluee ,sc4blue, sc4, sc4, sc4, ROT0, "Mazooma","Blue Rinse (Mazooma) (Scorpion 4) (set 6)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4bonbx_reel_configs[6] =
const stepper_interface* sc4bonbx_reel_configs[6] =
{
&starpoint_interface_200step_reel,
&starpoint_interface_200step_reel,
@ -24088,7 +24088,7 @@ GAME( 200?, sc4luck7c ,sc4luck7, sc4, sc4, sc4, ROT0, "Mazooma","Lucky 7s (Mazoo
// PR2085 LUCKY SEVENS LUCKY SEVENS ARCADE LUCKY SOUNDS LUCKY SEVENS
GAME( 200?, sc4luck7d ,sc4luck7, sc4, sc4, sc4, ROT0, "Mazooma","Lucky 7s (Mazooma) (Scorpion 4) (set 5)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4luckb_reel_configs[6] =
const stepper_interface* sc4luckb_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -24425,7 +24425,7 @@ GAME( 200?, sc4party ,0, sc4, sc4, sc4, ROT0, "Nova","Party Time (German) (Nov
// PR1205 PAY TIME 95004224 PAYTIME PR7156 PAY TIME
GAME( 200?, sc4paytm ,0, sc4, sc4, sc4, ROT0, "BFM","Pay Time (Bellfruit) (Scorpion 4)", GAME_IS_SKELETON_MECHANICAL ) // Not English
const stepper_interface* sc4pgold_reel_configs[6] =
const stepper_interface* sc4pgold_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -24734,7 +24734,7 @@ GAME( 200?, sc4rbankb ,sc4rbank, sc4, sc4, sc4, ROT0, "BFM","Royle Banker (Bellf
GAME( 200?, sc4rbankc ,sc4rbank, sc4, sc4, sc4, ROT0, "BFM","Royle Banker (Bellfruit) (Scorpion 4) (set 4)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4royle_reel_configs[6] =
const stepper_interface* sc4royle_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -25557,7 +25557,7 @@ GAME( 200?, sc4bobg ,sc4bob, sc4, sc4, sc4, ROT0, "Mazooma","Bobby Dazzler (Maz
GAME( 200?, sc4bobh ,sc4bob, sc4, sc4, sc4, ROT0, "Mazooma","Bobby Dazzler (Mazooma) (Scorpion 4) (set 9)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4bobi ,sc4bob, sc4, sc4, sc4, ROT0, "Mazooma","Bobby Dazzler (Mazooma) (Scorpion 4) (set 10)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4bull_reel_configs[6] =
const stepper_interface* sc4bull_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -25741,7 +25741,7 @@ GAME( 200?, sc4czfrc ,sc4czfr, sc4, sc4, sc4, ROT0, "BFM","Crazy Fruits (PR6813)
GAME( 200?, sc4crnjw ,0, sc4, sc4, sc4, ROT0, "BFM","Crown Jewels (Bellfruit) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4crnjwa ,sc4crnjw, sc4, sc4, sc4, ROT0, "BFM","Crown Jewels (Bellfruit) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4dnd_reel_configs[6] =
const stepper_interface* sc4dnd_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -25790,7 +25790,7 @@ GAME( 200?, sc4dndo ,sc4dnd, sc4, sc4dnd35, sc4dnd, ROT0, "BFM","Deal Or No Dea
GAME( 200?, sc4dndk ,sc4dnd, sc4, sc4dnd35, sc4dnd, ROT0, "BFM","Deal Or No Deal (Bellfruit) (Scorpion 4) (DONL428, set 1)", GAME_IS_SKELETON_MECHANICAL )// DONL 428
GAME( 200?, sc4dndm ,sc4dnd, sc4, sc4dnd35, sc4dnd, ROT0, "BFM","Deal Or No Deal (Bellfruit) (Scorpion 4) (DONL428, set 2)", GAME_IS_SKELETON_MECHANICAL )// DONL 428
const stepper_interface* sc4dndcs_reel_configs[6] =
const stepper_interface* sc4dndcs_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -25820,7 +25820,7 @@ GAME( 200?, sc4dndcsb ,sc4dndcs, sc4, sc4dndcs5, sc4dndcs, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndcsa ,sc4dndcs, sc4, sc4dndcs5, sc4dndcs, ROT0, "BFM","Deal Or No Deal Classic (Bellfruit) (Scorpion 4) (CLDD212, set 1)", GAME_IS_SKELETON_MECHANICAL ) // CLDD 212
GAME( 200?, sc4dndcsc ,sc4dndcs, sc4, sc4dndcs5, sc4dndcs, ROT0, "BFM","Deal Or No Deal Classic (Bellfruit) (Scorpion 4) (CLDD212, set 2)", GAME_IS_SKELETON_MECHANICAL ) // CLDD 212
const stepper_interface* sc4dndbb_reel_configs[6] =
const stepper_interface* sc4dndbb_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -25864,7 +25864,7 @@ GAME( 200?, sc4dndbbh ,sc4dndbb, sc4, sc4dndbb70, sc4dndbb, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndbbf ,sc4dndbb, sc4, sc4dndbb70, sc4dndbb, ROT0, "BFM","Deal Or No Deal Break The Bank (Bellfruit) (Scorpion 4) (CRBE572, set 1)", GAME_IS_SKELETON_MECHANICAL ) // CRBE 572
GAME( 200?, sc4dndbbi ,sc4dndbb, sc4, sc4dndbb70, sc4dndbb, ROT0, "BFM","Deal Or No Deal Break The Bank (Bellfruit) (Scorpion 4) (CRBE572, set 2)", GAME_IS_SKELETON_MECHANICAL )// CRBE 572
const stepper_interface* sc4dndcl_reel_configs[6] =
const stepper_interface* sc4dndcl_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -25898,14 +25898,14 @@ INPUT_PORTS_END
// PR1949 CLUB DEAL OR NO DEAL DEAL OR NO DEAL CLUB PR1949 DEAL O N D SOUNDS11
GAME( 200?, sc4dndclc ,sc4dndcl, sc4, sc4, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL181, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 181 CLUB $500 (no key req?)
GAME( 200?, sc4dndclg ,sc4dndcl, sc4, sc4, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL181, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 181 CLUB $500 (no key req?)
GAME( 200?, sc4dndcla ,sc4dndcl, sc4, sc4dndcl500, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL212, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 212 CLUB £500
GAME( 200?, sc4dndcle ,sc4dndcl, sc4, sc4dndcl500, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL212, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 212 CLUB £500
GAME( 200?, sc4dndcl ,0, sc4, sc4dndcl250, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL313, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 313 CLUB £250
GAME( 200?, sc4dndcld ,sc4dndcl, sc4, sc4dndcl250, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL313, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 313 CLUB £250
GAME( 200?, sc4dndclb ,sc4dndcl, sc4, sc4dndcl250, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL391, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 391 CLUB £250
GAME( 200?, sc4dndclf ,sc4dndcl, sc4, sc4dndcl250, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL391, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 391 CLUB £250
GAME( 200?, sc4dndcla ,sc4dndcl, sc4, sc4dndcl500, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL212, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 212 CLUB ?500
GAME( 200?, sc4dndcle ,sc4dndcl, sc4, sc4dndcl500, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL212, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 212 CLUB ?500
GAME( 200?, sc4dndcl ,0, sc4, sc4dndcl250, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL313, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 313 CLUB ?250
GAME( 200?, sc4dndcld ,sc4dndcl, sc4, sc4dndcl250, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL313, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 313 CLUB ?250
GAME( 200?, sc4dndclb ,sc4dndcl, sc4, sc4dndcl250, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL391, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 391 CLUB ?250
GAME( 200?, sc4dndclf ,sc4dndcl, sc4, sc4dndcl250, sc4dndcl, ROT0, "BFM","Deal Or No Deal Club (Bellfruit) (Scorpion 4) (DNDL391, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DNDL 391 CLUB ?250
const stepper_interface* sc4dnddd_reel_configs[6] =
const stepper_interface* sc4dnddd_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -25947,7 +25947,7 @@ GAME( 200?, sc4dndddf ,sc4dnddd, sc4, sc4dnddd70, sc4dnddd, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndddc ,sc4dnddd, sc4, sc4dnddd70, sc4dnddd, ROT0, "BFM","Deal Or No Deal Double Deal Or No Deal (Bellfruit) (Scorpion 4) (DDNO573, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DDNO 573
GAME( 200?, sc4dndddg ,sc4dnddd, sc4, sc4dnddd70, sc4dnddd, ROT0, "BFM","Deal Or No Deal Double Deal Or No Deal (Bellfruit) (Scorpion 4) (DDNO573, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DDNO 573
const stepper_interface* sc4dndhf_reel_configs[6] =
const stepper_interface* sc4dndhf_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -25990,7 +25990,7 @@ GAME( 200?, sc4dndhfd ,sc4dndhf, sc4, sc4dndhf35, sc4dndhf, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndhfc ,sc4dndhf, sc4, sc4dndhf70, sc4dndhf, ROT0, "BFM","Deal Or No Deal Hall Of Fame (Bellfruit) (Scorpion 4) (DNHA571, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DNHA 571
GAME( 200?, sc4dndhfe ,sc4dndhf, sc4, sc4dndhf70, sc4dndhf, ROT0, "BFM","Deal Or No Deal Hall Of Fame (Bellfruit) (Scorpion 4) (DNHA571, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DNHA 571
const stepper_interface* sc4dndys_reel_configs[6] =
const stepper_interface* sc4dndys_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26028,7 +26028,7 @@ GAME( 200?, sc4dndys ,0, sc4, sc4dndys70, sc4dndys, ROT0, "BFM","Deal Or No De
GAME( 200?, sc4dndysb ,sc4dndys, sc4, sc4dndys70, sc4dndys, ROT0, "BFM","Deal Or No Deal It's Your Show (Bellfruit) (Scorpion 4) (DOBO571, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DOBO 571
GAME( 200?, sc4dndysa ,sc4dndys, sc4, sc4dndys35, sc4dndys, ROT0, "BFM","Deal Or No Deal It's Your Show (Bellfruit) (Scorpion 4) (DOBO474)", GAME_IS_SKELETON_MECHANICAL ) // DOBO 474
const stepper_interface* sc4dndlp_reel_configs[6] =
const stepper_interface* sc4dndlp_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26062,7 +26062,7 @@ GAME( 200?, sc4dndlpd ,sc4dndlp, sc4, sc4dndlp70, sc4dndlp, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndlpb ,sc4dndlp, sc4, sc4dndlp70, sc4dndlp, ROT0, "BFM","Deal Or No Deal Let's Play Deal Or No Deal (Bellfruit) (Scorpion 4) (LPDN573, set 1)", GAME_IS_SKELETON_MECHANICAL )// LPDN 573
GAME( 200?, sc4dndlpe ,sc4dndlp, sc4, sc4dndlp70, sc4dndlp, ROT0, "BFM","Deal Or No Deal Let's Play Deal Or No Deal (Bellfruit) (Scorpion 4) (LPDN573, set 2)", GAME_IS_SKELETON_MECHANICAL )// LPDN 573
const stepper_interface* sc4dndra_reel_configs[6] =
const stepper_interface* sc4dndra_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26101,7 +26101,7 @@ GAME( 200?, sc4dndrad ,sc4dndra, sc4, sc4dndra35, sc4dndra, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndrac ,sc4dndra, sc4, sc4dndra70, sc4dndra, ROT0, "BFM","Deal Or No Deal Red Alert (Bellfruit) (Scorpion 4) (REDT572, set 1)", GAME_IS_SKELETON_MECHANICAL ) // REDT 572
GAME( 200?, sc4dndrae ,sc4dndra, sc4, sc4dndra70, sc4dndra, ROT0, "BFM","Deal Or No Deal Red Alert (Bellfruit) (Scorpion 4) (REDT572, set 2)", GAME_IS_SKELETON_MECHANICAL ) // REDT 572
const stepper_interface* sc4dndbd_reel_configs[6] =
const stepper_interface* sc4dndbd_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26141,7 +26141,7 @@ GAME( 200?, sc4dndbdd ,sc4dndbd, sc4, sc4dndbd35, sc4dndbd, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndbdc ,sc4dndbd, sc4, sc4dndbd70, sc4dndbd, ROT0, "BFM","Deal Or No Deal The Big Deal (Bellfruit) (Scorpion 4) (BGDA571, set 1)", GAME_IS_SKELETON_MECHANICAL ) // BGDA 571
GAME( 200?, sc4dndbde ,sc4dndbd, sc4, sc4dndbd70, sc4dndbd, ROT0, "BFM","Deal Or No Deal The Big Deal (Bellfruit) (Scorpion 4) (BGDA571, set 2)", GAME_IS_SKELETON_MECHANICAL ) // BGDA 571
const stepper_interface* sc4dndbr_reel_configs[6] =
const stepper_interface* sc4dndbr_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26183,7 +26183,7 @@ GAME( 200?, sc4dndbrf ,sc4dndbr, sc4, sc4dndbr35, sc4dndbr, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndbre ,sc4dndbr, sc4, sc4dndbr70, sc4dndbr, ROT0, "BFM","Deal Or No Deal The Big Reds (Bellfruit) (Scorpion 4) (BIGD571, set 1)", GAME_IS_SKELETON_MECHANICAL ) // BIGD 571
GAME( 200?, sc4dndbrg ,sc4dndbr, sc4, sc4dndbr70, sc4dndbr, ROT0, "BFM","Deal Or No Deal The Big Reds (Bellfruit) (Scorpion 4) (BIGD571, set 2)", GAME_IS_SKELETON_MECHANICAL ) // BIGD 571
const stepper_interface* sc4dndcc_reel_configs[6] =
const stepper_interface* sc4dndcc_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26224,7 +26224,7 @@ GAME( 200?, sc4dndcce ,sc4dndcc, sc4, sc4dndcc35, sc4dndcc, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndccd ,sc4dndcc, sc4, sc4dndcc70, sc4dndcc, ROT0, "BFM","Deal Or No Deal The Crazy Chair (Bellfruit) (Scorpion 4) (CRZR571, set 1)", GAME_IS_SKELETON_MECHANICAL ) // CRZR 571
GAME( 200?, sc4dndccf ,sc4dndcc, sc4, sc4dndcc70, sc4dndcc, ROT0, "BFM","Deal Or No Deal The Crazy Chair (Bellfruit) (Scorpion 4) (CRZR571, set 2)", GAME_IS_SKELETON_MECHANICAL ) // CRZR 571
const stepper_interface* sc4dnddw_reel_configs[6] =
const stepper_interface* sc4dnddw_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26265,7 +26265,7 @@ GAME( 200?, sc4dnddwf ,sc4dnddw, sc4, sc4dnddw35, sc4dnddw, ROT0, "BFM","Deal Or
GAME( 200?, sc4dnddwe ,sc4dnddw, sc4, sc4dnddw70, sc4dnddw, ROT0, "BFM","Deal Or No Deal The Deal Wheel (Bellfruit) (Scorpion 4) (DOFN572, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DOFN 572
GAME( 200?, sc4dnddwg ,sc4dnddw, sc4, sc4dnddw70, sc4dnddw, ROT0, "BFM","Deal Or No Deal The Deal Wheel (Bellfruit) (Scorpion 4) (DOFN572, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DOFN 572
const stepper_interface* sc4dnddf_reel_configs[6] =
const stepper_interface* sc4dnddf_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26304,7 +26304,7 @@ GAME( 200?, sc4dnddfd ,sc4dnddf, sc4, sc4dnddf35, sc4dnddf, ROT0, "BFM","Deal Or
GAME( 200?, sc4dnddfc ,sc4dnddf, sc4, sc4dnddf70, sc4dnddf, ROT0, "BFM","Deal Or No Deal The Dream Factory (Bellfruit) (Scorpion 4) (TDFC571, set 1)", GAME_IS_SKELETON_MECHANICAL ) // TDFC 571
GAME( 200?, sc4dnddfe ,sc4dnddf, sc4, sc4dnddf70, sc4dnddf, ROT0, "BFM","Deal Or No Deal The Dream Factory (Bellfruit) (Scorpion 4) (TDFC571, set 2)", GAME_IS_SKELETON_MECHANICAL ) // TDFC 571
const stepper_interface* sc4dndpg_reel_configs[6] =
const stepper_interface* sc4dndpg_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26344,7 +26344,7 @@ GAME( 200?, sc4dndpgd ,sc4dndpg, sc4, sc4dndpg70, sc4dndpg, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndpgb ,sc4dndpg, sc4, sc4dndpg70, sc4dndpg, ROT0, "BFM","Deal Or No Deal The Perfect Game (Bellfruit) (Scorpion 4) (TPBG572, set 1)", GAME_IS_SKELETON_MECHANICAL ) // TPGB 572
GAME( 200?, sc4dndpge ,sc4dndpg, sc4, sc4dndpg70, sc4dndpg, ROT0, "BFM","Deal Or No Deal The Perfect Game (Bellfruit) (Scorpion 4) (TPGB572, set 2)", GAME_IS_SKELETON_MECHANICAL ) // TPGB 572
const stepper_interface* sc4dndtp_reel_configs[6] =
const stepper_interface* sc4dndtp_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26385,7 +26385,7 @@ GAME( 200?, sc4dndtpj ,sc4dndtp, sc4, sc4dndtp35, sc4dndtp, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndtpk ,sc4dndtp, sc4, sc4dndtp35, sc4dndtp, ROT0, "BFM","Deal Or No Deal The Power 5 (Bellfruit) (Scorpion 4) (TPRV41A, set 2)", GAME_IS_SKELETON_MECHANICAL )// TPRV 41A
const stepper_interface* sc4dndww_reel_configs[6] =
const stepper_interface* sc4dndww_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26418,7 +26418,7 @@ GAME( 200?, sc4dndwwe ,sc4dndww, sc4, sc4dndww35, sc4dndww, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndwwc ,sc4dndww, sc4, sc4dndww35, sc4dndww, ROT0, "BFM","Deal Or No Deal The Walk Of Wealth (Bellfruit) (Scorpion 4) (TWOH415, set 1)", GAME_IS_SKELETON_MECHANICAL ) // TWOH 415
GAME( 200?, sc4dndwwd ,sc4dndww, sc4, sc4dndww35, sc4dndww, ROT0, "BFM","Deal Or No Deal The Walk Of Wealth (Bellfruit) (Scorpion 4) (TWOH415, set 2)", GAME_IS_SKELETON_MECHANICAL ) // TWOH 415
const stepper_interface* sc4dndcw_reel_configs[6] =
const stepper_interface* sc4dndcw_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26449,7 +26449,7 @@ GAME( 200?, sc4dndcwb ,sc4dndcw, sc4, sc4dndcw5, sc4dndcw, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndcwa ,sc4dndcw, sc4, sc4dndcw5, sc4dndcw, ROT0, "BFM","Deal Or No Deal The Walk Of Wealth Classic (Bellfruit) (Scorpion 4) (CWOH272, set 1)", GAME_IS_SKELETON_MECHANICAL ) // CWOH 272
GAME( 200?, sc4dndcwc ,sc4dndcw, sc4, sc4dndcw5, sc4dndcw, ROT0, "BFM","Deal Or No Deal The Walk Of Wealth Classic (Bellfruit) (Scorpion 4) (CWOH272, set 2)", GAME_IS_SKELETON_MECHANICAL ) // CWOH 272
const stepper_interface* sc4dndtr_reel_configs[6] =
const stepper_interface* sc4dndtr_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26478,7 +26478,7 @@ INPUT_PORTS_END
GAME( 200?, sc4dndtr ,0, sc4, sc4dndtr70, sc4dndtr, ROT0, "BFM","Deal Or No Deal Think Red (Bellfruit) (Scorpion 4) (THRE571, set 1)", GAME_IS_SKELETON_MECHANICAL ) // THRE 571
GAME( 200?, sc4dndtra ,sc4dndtr, sc4, sc4dndtr70, sc4dndtr, ROT0, "BFM","Deal Or No Deal Think Red (Bellfruit) (Scorpion 4) (THRE571, set 2)", GAME_IS_SKELETON_MECHANICAL ) // THRE 571
const stepper_interface* sc4dndwb_reel_configs[6] =
const stepper_interface* sc4dndwb_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26512,7 +26512,7 @@ GAME( 200?, sc4dndwbe ,sc4dndwb, sc4, sc4dndwb35, sc4dndwb, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndwbf ,sc4dndwb, sc4, sc4dndwb35, sc4dndwb, ROT0, "BFM","Deal Or No Deal What's In Your Box (Bellfruit) (Scorpion 4) (WIYX419, set 1)", GAME_IS_SKELETON_MECHANICAL ) // WIYX 419
GAME( 200?, sc4dndwbg ,sc4dndwb, sc4, sc4dndwb35, sc4dndwb, ROT0, "BFM","Deal Or No Deal What's In Your Box (Bellfruit) (Scorpion 4) (WIYX419, set 2)", GAME_IS_SKELETON_MECHANICAL ) // WIYX 419
const stepper_interface* sc4dndbe_reel_configs[6] =
const stepper_interface* sc4dndbe_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26559,7 +26559,7 @@ GAME( 200?, sc4dndbej ,sc4dndbe, sc4, sc4dndbe35, sc4dndbe, ROT0, "BFM","Deal Or
GAME( 200?, sc4dndbem ,sc4dndbe, sc4, sc4dndbe35, sc4dndbe, ROT0, "BFM","Deal Or No Deal Beat The Banker (Bellfruit) (Scorpion 4) (DBTK426, set 1)", GAME_IS_SKELETON_MECHANICAL ) // DBTK 426
GAME( 200?, sc4dndben ,sc4dndbe, sc4, sc4dndbe35, sc4dndbe, ROT0, "BFM","Deal Or No Deal Beat The Banker (Bellfruit) (Scorpion 4) (DBTK426, set 2)", GAME_IS_SKELETON_MECHANICAL ) // DBTK 426
const stepper_interface* sc4dndbc_reel_configs[6] =
const stepper_interface* sc4dndbc_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26653,7 +26653,7 @@ GAME( 200?, sc4evole ,sc4evol, sc4, sc4, sc4, ROT0, "Qps","Evolution (Qps) (Scor
GAME( 200?, sc4evolf ,sc4evol, sc4, sc4, sc4, ROT0, "Qps","Evolution (Qps) (Scorpion 4) (set 7)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4evolg ,sc4evol, sc4, sc4, sc4, ROT0, "Qps","Evolution (Qps) (Scorpion 4) (set 8)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4fguy_reel_configs[6] =
const stepper_interface* sc4fguy_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26712,7 +26712,7 @@ GAME( 200?, sc4glade ,sc4glad, sc4, sc4, sc4, ROT0, "Mazooma","Gladiator (Mazoom
GAME( 200?, sc4gladf ,sc4glad, sc4, sc4, sc4, ROT0, "Mazooma","Gladiator (Mazooma) (Scorpion 4) (set 7)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4gladg ,sc4glad, sc4, sc4, sc4, ROT0, "Mazooma","Gladiator (Mazooma) (Scorpion 4) (set 8)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4gd_reel_configs[6] =
const stepper_interface* sc4gd_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26743,7 +26743,7 @@ GAME( 200?, sc4gdg ,sc4gd, sc4, sc4, sc4gd, ROT0, "BFM","Gold Digger (Bellfrui
GAME( 200?, sc4gdmz ,0, sc4, sc4, sc4, ROT0, "Mazooma","Gold Diggers? / Golden X Game (Mazooma) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4gdmza ,sc4gdmz, sc4, sc4, sc4, ROT0, "Mazooma","Gold Diggers? / Golden X Game (Mazooma) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4gdclb_reel_configs[6] =
const stepper_interface* sc4gdclb_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26775,7 +26775,7 @@ GAME( 200?, sc4gdclbi ,sc4gdclb, sc4, sc4, sc4gdclb, ROT0, "BFM","Gold Digger Cl
GAME( 200?, sc4gdclbj ,sc4gdclb, sc4, sc4, sc4gdclb, ROT0, "BFM","Gold Digger Club (Bellfruit) (Scorpion 4) (set 11)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4gdclbk ,sc4gdclb, sc4, sc4, sc4gdclb, ROT0, "BFM","Gold Digger Club (Bellfruit) (Scorpion 4) (set 12)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4gbcas_reel_configs[6] =
const stepper_interface* sc4gbcas_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26800,7 +26800,7 @@ GAME( 200?, sc4gbcasb ,sc4gbcas, sc4, sc4, sc4gbcas, ROT0, "BFM","Golden Balls C
GAME( 200?, sc4gbcasc ,sc4gbcas, sc4, sc4, sc4gbcas, ROT0, "BFM","Golden Balls Casino (Bellfruit) (Scorpion 4) (set 4)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4gball_reel_configs[6] =
const stepper_interface* sc4gball_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26824,7 +26824,7 @@ GAME( 200?, sc4gballa ,sc4gball, sc4, sc4, sc4gball, ROT0, "BFM","Golden Balls (
GAME( 200?, sc4gballb ,sc4gball, sc4, sc4, sc4gball, ROT0, "BFM","Golden Balls (Bellfruit) (Scorpion 4) (set 3)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4gballc ,sc4gball, sc4, sc4, sc4gball, ROT0, "BFM","Golden Balls (Bellfruit) (Scorpion 4) (set 4)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4gunp_reel_configs[6] =
const stepper_interface* sc4gunp_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26851,7 +26851,7 @@ GAME( 200?, sc4gunpe ,sc4gunp, sc4, sc4, sc4gunp, ROT0, "BFM","Gunpowder Slot (B
GAME( 200?, sc4gunpf ,sc4gunp, sc4, sc4, sc4gunp, ROT0, "BFM","Gunpowder Slot (Bellfruit) (Scorpion 4) (set 7)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4gunpg ,sc4gunp, sc4, sc4, sc4gunp, ROT0, "BFM","Gunpowder Slot (Bellfruit) (Scorpion 4) (set 8)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4hapnt_reel_configs[6] =
const stepper_interface* sc4hapnt_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26876,7 +26876,7 @@ GAME( 200?, sc4hapntc ,sc4hapnt, sc4, sc4, sc4hapnt, ROT0, "BFM","Happy Notes (B
GAME( 200?, sc4hapntd ,sc4hapnt, sc4, sc4, sc4hapnt, ROT0, "BFM","Happy Notes (Bellfruit) (Scorpion 4) (set 5)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4hapnte ,sc4hapnt, sc4, sc4, sc4hapnt, ROT0, "BFM","Happy Notes (Bellfruit) (Scorpion 4) (set 6)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4hntcs_reel_configs[6] =
const stepper_interface* sc4hntcs_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -26938,7 +26938,7 @@ GAME( 200?, sc4hellbh ,sc4hellb, sc4, sc4, sc4mbus, ROT0, "BFM","Hells Bells (PR
GAME( 200?, sc4hellbi ,sc4hellb, sc4, sc4, sc4mbus, ROT0, "BFM","Hells Bells (PR1419) (Bellfruit) (Scorpion 4) (set 9)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4hellbj ,sc4hellb, sc4, sc4, sc4mbus, ROT0, "BFM","Hells Bells (PR1419) (Bellfruit) (Scorpion 4) (set 10)", GAME_IS_SKELETON_MECHANICAL )
const stepper_interface* sc4hill_reel_configs[6] =
const stepper_interface* sc4hill_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -27562,14 +27562,14 @@ GAME( 200?, sc4mowowa ,sc4mowow, sc4, sc4, sc4, ROT0, "Mazooma","Monopoly Wheel
GAME( 200?, sc4mowowb ,sc4mowow, sc4, sc4, sc4, ROT0, "Mazooma","Monopoly Wheel Of Wealth (Mazooma) (PR2118) (Scorpion 4) (set 3)", GAME_IS_SKELETON_MECHANICAL ) // ^^
GAME( 200?, sc4mowowc ,sc4mowow, sc4, sc4, sc4, ROT0, "Mazooma","Monopoly Wheel Of Wealth (Mazooma) (PR2118) (Scorpion 4) (set 4)", GAME_IS_SKELETON_MECHANICAL ) // ^^
GAME( 200?, sc4mwwtb ,0, sc4, sc4, sc4, ROT0, "Mazooma","Monopoly Wheel Of Wealth (Mazooma) (PR2389, Top Box) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) // PR2389 WHEEL OF WEALTH WOWT SOUNDS WHEEL OF WEAL
GAME( 200?, sc4mwwtb ,0, sc4, sc4, sc4, ROT0, "Mazooma","Monopoly Wheel Of Wealth (Mazooma) (PR2389, Top Box) (Scorpion 4) (set 1)", GAME_IS_SKELETON_MECHANICAL ) // PR2389 WHEEL OF WEALTH WOWT SOUNDS WHEEL OF WEAL
GAME( 200?, sc4mwwtba ,sc4mwwtb, sc4, sc4, sc4, ROT0, "Mazooma","Monopoly Wheel Of Wealth (Mazooma) (PR2389, Top Box) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) // ^^
GAME( 200?, sc4mwwtbb ,sc4mwwtb, sc4, sc4, sc4, ROT0, "Mazooma","Monopoly Wheel Of Wealth (Mazooma) (PR2389, Top Box) (Scorpion 4) (set 3)", GAME_IS_SKELETON_MECHANICAL ) // ^^
GAME( 200?, sc4mwwtbc ,sc4mwwtb, sc4, sc4, sc4, ROT0, "Mazooma","Monopoly Wheel Of Wealth (Mazooma) (PR2389, Top Box) (Scorpion 4) (set 4)", GAME_IS_SKELETON_MECHANICAL )// ^^
GAME( 200?, sc4mwwtbd ,sc4mwwtb, sc4, sc4, sc4, ROT0, "Mazooma","Monopoly Wheel Of Wealth (Mazooma) (PR2389, Top Box) (Scorpion 4) (set 5)", GAME_IS_SKELETON_MECHANICAL )// ^^
const stepper_interface* sc4bwow_reel_configs[6] =
const stepper_interface* sc4bwow_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -27625,7 +27625,7 @@ GAME( 200?, sc4ggtb ,0, sc4, sc4, sc4, ROT0, "Mazooma","Golden Game (Mazoo
GAME( 200?, sc4ggtba ,sc4ggtb, sc4, sc4, sc4, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056, Top Box) (Scorpion 4) (set 2)", GAME_IS_SKELETON_MECHANICAL ) // ^^
GAME( 200?, sc4ggtbb ,sc4ggtb, sc4, sc4, sc4, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056, Top Box) (Scorpion 4) (set 3)", GAME_IS_SKELETON_MECHANICAL )// ^^
const stepper_interface* sc4ggame_reel_configs[6] =
const stepper_interface* sc4ggame_reel_configs[6] =
{
&starpoint_interface_200step_reel,
&starpoint_interface_200step_reel,
@ -27651,7 +27651,7 @@ static DRIVER_INIT( sc4ggame )
// 25GBP sets
// PR2056 GOLDEN X GOLDEN GAME ARCADE BARX SOUNDS GOLDEN X
GAME( 200?, sc4ggame ,0, sc4, sc4, sc4ggamem, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056, newer?) (Scorpion 4) (GLDX, 25GBP, set 1)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4ggame ,0, sc4, sc4, sc4ggamem, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056, newer?) (Scorpion 4) (GLDX, 25GBP, set 1)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4ggamei ,sc4ggame, sc4, sc4, sc4ggamem, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056, newer?) (Scorpion 4) (GLDX, 25GBP, set 2)", GAME_IS_SKELETON_MECHANICAL )// ^^
GAME( 200?, sc4ggamep ,sc4ggame, sc4, sc4, sc4ggamem, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056, newer?) (Scorpion 4) (GLDX, 25GBP, set 3)", GAME_IS_SKELETON_MECHANICAL )// ^^
GAME( 200?, sc4ggameq ,sc4ggame, sc4, sc4, sc4ggamem, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056, newer?) (Scorpion 4) (GLDX, 25GBP, set 4)", GAME_IS_SKELETON_MECHANICAL )// ^^
@ -27676,7 +27676,7 @@ GAME( 200?, sc4ggame1 ,sc4ggame, sc4, sc4, sc4ggamem, ROT0, "Mazooma","Golden Ga
GAME( 200?, sc4ggame2 ,sc4ggame, sc4, sc4, sc4ggamem, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056, newer?) (Scorpion 4) (set 8)", GAME_IS_SKELETON_MECHANICAL )// ^^
// 25GBP, no 41 check
// PR2056 GOLDEN X BARX SOUNDS GOLDEN X
GAME( 200?, sc4ggamea ,sc4ggame, sc4, sc4, sc4ggame, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056) (Scorpion 4) (GLDX, 25GBP, set 1)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4ggamea ,sc4ggame, sc4, sc4, sc4ggame, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056) (Scorpion 4) (GLDX, 25GBP, set 1)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4ggameb ,sc4ggame, sc4, sc4, sc4ggame, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056) (Scorpion 4) (GLDX, 25GBP, set 2)", GAME_IS_SKELETON_MECHANICAL ) // ^^
GAME( 200?, sc4ggamec ,sc4ggame, sc4, sc4, sc4ggame, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056) (Scorpion 4) (GLDX, 25GBP, set 3)", GAME_IS_SKELETON_MECHANICAL ) // ^^
GAME( 200?, sc4ggamed ,sc4ggame, sc4, sc4, sc4ggame, ROT0, "Mazooma","Golden Game (Mazooma) (PR2056) (Scorpion 4) (GLDX, 25GBP, set 4)", GAME_IS_SKELETON_MECHANICAL ) // ^^
@ -27711,7 +27711,7 @@ GAME( 200?, sc4ggdlxe ,sc4ggdlx, sc4, sc4, sc4ggame, ROT0, "Mazooma","Golden Gam
GAME( 200?, sc4ggdlxf ,sc4ggdlx, sc4, sc4, sc4ggame, ROT0, "Mazooma","Golden Game Deluxe (Mazooma) (PR2201) (Scorpion 4) (set 7)", GAME_IS_SKELETON_MECHANICAL )
GAME( 200?, sc4ggdlxg ,sc4ggdlx, sc4, sc4, sc4ggame, ROT0, "Mazooma","Golden Game Deluxe (Mazooma) (PR2201) (Scorpion 4) (set 8)", GAME_IS_SKELETON_MECHANICAL )// ^^
const stepper_interface* sc4gggtb_reel_configs[6] =
const stepper_interface* sc4gggtb_reel_configs[6] =
{
&starpoint_interface_48step,
&starpoint_interface_48step,
@ -27733,7 +27733,7 @@ GAME( 200?, sc4gggtb ,0, sc4, sc4, sc4gggtb, ROT0, "Mazooma","Grand Golden Ga
GAME( 200?, sc4gggtba ,sc4ggg, sc4, sc4, sc4gggtb, ROT0, "Mazooma","Grand Golden Game (Mazooma) (PR2056, Top Box) (Scorpion 4) (GGGT, set 2)", GAME_IS_SKELETON_MECHANICAL )// ^^
const stepper_interface* sc4ggg_reel_configs[6] =
const stepper_interface* sc4ggg_reel_configs[6] =
{
&starpoint_interface_200step_reel,
&starpoint_interface_200step_reel,

View File

@ -23,9 +23,9 @@
This file contains the hardware emulation, for the supported sets
see bfm_sc4.c
---
note, if game says 'read meters' simply press CTRL then 'B'
I think we're stuck in some king of free play test mode so Start 1 will spin and give you credit
---
note, if game says 'read meters' simply press CTRL then 'B'
I think we're stuck in some king of free play test mode so Start 1 will spin and give you credit
*/
@ -78,7 +78,7 @@ READ16_MEMBER(sc4_state::sc4_mem_r)
UINT32 r_A0 = cpu_get_reg(&space.device(), M68K_A0);
UINT32 r_A1 = cpu_get_reg(&space.device(), M68K_A1);
UINT32 r_D1 = cpu_get_reg(&space.device(), M68K_D1);
if (r_D1 == 0x7)
{
bool valid = true;
@ -108,7 +108,7 @@ READ16_MEMBER(sc4_state::sc4_mem_r)
return m_cpuregion[offset];
}
else
logerror("%08x maincpu read access offset %08x mem_mask %04x cs %d\n", pc, offset*2, mem_mask, cs);
@ -153,7 +153,7 @@ READ16_MEMBER(sc4_state::sc4_mem_r)
{
case 0x0240:
retvalue = 0x00ff;
if (mem_mask&0xff00)
{
retvalue |= (sec.read_data_line() << (6+8));
@ -253,7 +253,7 @@ WRITE8_MEMBER(sc4_state::mux_output2_w)
}
// others drive 7-segs with it.. so rendering it there as well in our debug layouts
// todo: reorder properly!
UINT8 bf7segdata = BITSWAP8(data,7,6,5,4,3,2,1,0);
output_set_digit_value(offset, bf7segdata);
@ -293,7 +293,7 @@ WRITE16_MEMBER(sc4_state::sc4_mem_w)
if (addr < 0x0200)
{
if (mem_mask&0xff00)
{
logerror("lamp write mem_mask&0xff00 unhandled\n");
@ -303,7 +303,7 @@ WRITE16_MEMBER(sc4_state::sc4_mem_w)
{ // lamps
mux_output_w(space, (addr & 0x01f0)>>4, data);
}
}
else if ((addr >= 0x1000) && (addr < 0x1200))
{
@ -324,7 +324,7 @@ WRITE16_MEMBER(sc4_state::sc4_mem_w)
case 0x0330:
logerror("%08x meter write %04x\n",pc, data);
//m_meterstatus = (m_meterstatus&0xc0) | (data & 0x3f);
sec.write_clock_line(~data&0x20);
sec.write_clock_line(~data&0x20);
break;
case 0x1248:
@ -491,7 +491,7 @@ static WRITE8_HANDLER( bfm_sc4_reel4_w )
void bfm_sc4_68307_portb_w(address_space *space, bool dedicated, UINT16 data, UINT16 line_mask)
{
// if (dedicated == false)
// if (dedicated == false)
{
int pc = cpu_get_pc(&space->device());
//m68ki_cpu_core *m68k = m68k_get_safe_token(&space->device());
@ -621,13 +621,13 @@ void bfm_sc4_duart_tx(device_t *device, int channel, UINT8 data)
UINT8 bfm_sc4_duart_input_r(device_t *device)
{
sc4_state *state = device->machine().driver_data<sc4_state>();
// printf("bfm_sc4_duart_input_r\n");
// printf("bfm_sc4_duart_input_r\n");
return state->m_optic_pattern;
}
void bfm_sc4_duart_output_w(device_t *device, UINT8 data)
{
// logerror("bfm_sc4_duart_output_w\n");
// logerror("bfm_sc4_duart_output_w\n");
sc4_state *state = device->machine().driver_data<sc4_state>();
state->m_reel56_latch = data;

View File

@ -287,7 +287,7 @@ public:
UINT16 m_hCellCount;
UINT16 m_vPosition;
UINT16 m_hPosition;
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_subcpu;
required_device<cpu_device> m_soundcpu;

View File

@ -75,7 +75,7 @@ public:
m_jclub2_tileram(*this, "jclub2_tileram"),
m_spriteram(*this, "spriteram"),
m_maincpu(*this, "maincpu") { }
virtual void machine_start()
{
m_generic_paletteram_16.allocate(0x10000);
@ -963,8 +963,8 @@ ROM_END
static DRIVER_INIT( darkhors )
{
UINT32 *rom = (UINT32 *) machine.root_device().memregion("maincpu")->base();
// UINT8 *eeprom = (UINT8 *) machine.root_device().memregion("eeprom")->base();
// int i;
// UINT8 *eeprom = (UINT8 *) machine.root_device().memregion("eeprom")->base();
// int i;
#if 1
// eeprom error patch
@ -975,9 +975,9 @@ static DRIVER_INIT( darkhors )
rom[0x04600/4] = 0x4e714eb9;
#endif
// if (eeprom != NULL)
// for (i = 0; i < (1<<7); i++)
// eeprom[i] = eeprom[i*2];
// if (eeprom != NULL)
// for (i = 0; i < (1<<7); i++)
// eeprom[i] = eeprom[i*2];
}
GAME( 199?, jclub2, 0, jclub2, darkhors, 0, ROT0, "Seta", "Jockey Club II (newer hardware)", GAME_NOT_WORKING | GAME_NO_SOUND )

View File

@ -3352,7 +3352,7 @@ static DRIVER_INIT( nslasher )
deco156_decrypt(machine);
deco32_state *state = machine.driver_data<deco32_state>();
deco32_state *state = machine.driver_data<deco32_state>();
state->soundlatch_setclearedvalue(0xff);
/* The board for Night Slashers is very close to the Fighter's History and

View File

@ -64,21 +64,21 @@ static I8255_INTERFACE (ppi8255_intf_d)
static WRITE8_DEVICE_HANDLER( ppi8255_intf_e_write_a )
{
// writes the 'PYRAMID' string from RAM (copied from ROM) here...
// along with port 40/41/42 accesses
// along with port 40/41/42 accesses
// also error messages? (well it looks like it should, but code is strange and skips them) I guess it's a debug port or the vfd?
// watch ram around e3e0
// Pyramid - Writes PYRAMID V6, and 10MS INIT ERROR
// Labyrinth - Same behavior as Pyramid
// Secret Castle - Same behavior as Pyramid
// 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
static int count = 0;
if ((data>=0x20) && (data<0x5b))
{
if (count%80 == 0) printf("\n");
if (count%80 == 0) printf("\n");
printf("%c", data);
count++;
@ -87,12 +87,12 @@ static WRITE8_DEVICE_HANDLER( ppi8255_intf_e_write_a )
static WRITE8_DEVICE_HANDLER( ppi8255_intf_e_write_b )
{
// printf("\nwrite b %02x\n", data);
// printf("\nwrite b %02x\n", data);
}
static WRITE8_DEVICE_HANDLER( ppi8255_intf_e_write_c )
{
// printf("\nwrite c %02x\n", data);
// printf("\nwrite c %02x\n", data);
}

View File

@ -122,7 +122,7 @@ static ADDRESS_MAP_START( flower_cpu1_2, AS_PROGRAM, 8, flower_state )
AM_RANGE(0xa103, 0xa103) AM_READ_PORT("IN1CPU0")
AM_RANGE(0xa400, 0xa400) AM_WRITE(sound_command_w)
AM_RANGE(0xc000, 0xddff) AM_RAM
AM_RANGE(0xde00, 0xdfff) AM_RAM AM_SHARE("spriteram")
AM_RANGE(0xde00, 0xdfff) AM_RAM AM_SHARE("spriteram")
AM_RANGE(0xe000, 0xe7ff) AM_RAM_WRITE(flower_textram_w) AM_SHARE("textram")
AM_RANGE(0xe000, 0xefff) AM_RAM // only cleared?
AM_RANGE(0xf000, 0xf1ff) AM_RAM_WRITE(flower_bg0ram_w) AM_SHARE("bg0ram")

View File

@ -165,7 +165,7 @@ static VIDEO_START(gal3)
{
gal3_state *state = machine.driver_data<gal3_state>();
state->m_generic_paletteram_16.allocate(0x10000);
namco_obj_init(machine,
0, /* gfx bank */
0xf, /* reverse palette mapping */

View File

@ -26,7 +26,7 @@ public:
{ }
required_device<cpu_device> m_maincpu;
// serial vfd
bool vfd_old_clock;
@ -40,7 +40,7 @@ static WRITE16_HANDLER(vfd_w)
int clock = (data & 0x40);
int datline = (data & 0x80);
//Unlike MPU4, this uses positive transitions on both lines, so this may be a similar, but not identical component
// if the clock line changes
if ( clock != state->vfd_old_clock )

View File

@ -29,7 +29,7 @@ static ADDRESS_MAP_START( jpmsys7_map, AS_PROGRAM, 32, jpmsys7_state )
AM_RANGE(0x20000018, 0x2000001b) AM_WRITENOP // large data upload like astra/pluto?
AM_RANGE(0x50000000, 0x50001fff) AM_RAM
// AM_RANGE(0xf0000000, 0xf0000fff) AM_RAM
// AM_RANGE(0xf0000000, 0xf0000fff) AM_RAM
ADDRESS_MAP_END

View File

@ -392,7 +392,7 @@ static MACHINE_CONFIG_START( liberatr, liberatr_state )
MCFG_DEVICE_PERIODIC_INT_DRIVER(driver_device,irq0_line_hold,4*60)
MCFG_ER2055_ADD("earom")
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)

View File

@ -2528,7 +2528,7 @@ static void mcr_init(running_machine &machine, int cpuboard, int vidboard, int s
state_save_register_global(machine, input_mux);
state_save_register_global(machine, last_op4);
midway_ssio_device *ssio = machine.device<midway_ssio_device>("ssio");
if (ssio != NULL)
{

View File

@ -1089,7 +1089,7 @@ static MACHINE_CONFIG_START( mcrmono, mcr3_state )
MCFG_MACHINE_START(mcr)
MCFG_MACHINE_RESET(mcr)
MCFG_NVRAM_ADD_0FILL("nvram")
// sound hardware
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")

View File

@ -261,7 +261,7 @@ WRITE8_MEMBER(meyc8080_state::counters_w)
---- -x-- Bet pulse.
---- x--- Manual Keyout pulse (only mdrawpkra)
xxxx ---- Seems unused...
*/
coin_counter_w(machine(), 0, ~data & 0x01); /* Coin1 */
coin_counter_w(machine(), 1, ~data & 0x04); /* Bets */
@ -323,7 +323,7 @@ static ADDRESS_MAP_START( meyc8080_map, AS_PROGRAM, 8, meyc8080_state )
AM_RANGE(0x4000, 0x5fff) AM_RAM AM_SHARE("vram0")
AM_RANGE(0x6000, 0x7fff) AM_RAM AM_SHARE("vram1")
AM_RANGE(0x8000, 0x9fff) AM_RAM AM_SHARE("vram2")
// AM_RANGE(0xa000, 0xa0ff) AM_RAM // unknown... filled with 00's at boot time or when entering the service mode.
// AM_RANGE(0xa000, 0xa0ff) AM_RAM // unknown... filled with 00's at boot time or when entering the service mode.
AM_RANGE(0xcd00, 0xcdff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0xf000, 0xf000) AM_READ_PORT("BSW") AM_DEVWRITE_LEGACY("dac", meyc8080_dac_1_w)
AM_RANGE(0xf004, 0xf004) AM_READ_PORT("IN1") AM_WRITE(lights_1_w)

View File

@ -5,7 +5,7 @@
i8088 CPU @ 5MHz (15MHz XTAL + i8284A clock generator),
3 x 8KB EPROM (max 4), 3 x 8KB RAM (max 4), 2KB battery RAM,
2 x i8155, optional i8251A + RS232 for factory debug
driver by MAME team
also thanks to Darrell Hal Smith, Kevin Mullins
@ -28,10 +28,10 @@ public:
required_device<cpu_device> m_maincpu;
required_shared_ptr<UINT8> m_vram;
UINT8 m_status;
UINT8 m_common;
DECLARE_WRITE8_MEMBER(drive_w);
DECLARE_WRITE8_MEMBER(video5_flip_w);
DECLARE_READ8_MEMBER(video5_flip_r);
@ -114,8 +114,8 @@ static ADDRESS_MAP_START( meyc8088_map, AS_PROGRAM, 8, meyc8088_state )
AM_RANGE(0xb1000, 0xb10ff) AM_DEVREADWRITE("i8155_1", i8155_device, memory_r, memory_w)
AM_RANGE(0xb1800, 0xb1807) AM_DEVREADWRITE("i8155_1", i8155_device, io_r, io_w)
AM_RANGE(0xb2000, 0xb2000) AM_WRITE(drive_w)
// AM_RANGE(0xb3000, 0xb3000) AM_NOP // 8251A, debug related
// AM_RANGE(0xb3800, 0xb3800) AM_NOP // "
// AM_RANGE(0xb3000, 0xb3000) AM_NOP // 8251A, debug related
// AM_RANGE(0xb3800, 0xb3800) AM_NOP // "
AM_RANGE(0xb4000, 0xb4000) AM_READWRITE(screen_flip_r, screen_flip_w)
AM_RANGE(0xb5000, 0xb5000) AM_READWRITE(video5_flip_r, video5_flip_w)
AM_RANGE(0xf8000, 0xfffff) AM_ROM
@ -142,10 +142,10 @@ static WRITE8_DEVICE_HANDLER(meyc8088_common_w)
// d0: /CR2
state->m_status = (state->m_status & ~1) | (data & 1);
// d1: battery on
state->m_status = (state->m_status & ~0x10) | (data << 3 & 0x10);
// d2-d5: /common
state->m_common = data >> 2 & 0xf;
@ -168,7 +168,7 @@ static WRITE_LINE_DEVICE_HANDLER(meyc8088_i8155_2_timer_out)
static READ8_DEVICE_HANDLER(meyc8088_status_r)
{
meyc8088_state *state = device->machine().driver_data<meyc8088_state>();
// d0: /CR2
// d1: screen on
// d2: video5

View File

@ -1048,7 +1048,7 @@ static MACHINE_CONFIG_START( yunit_core, midyunit_state )
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(STDRES_PIXEL_CLOCK*2, 505, 0, 399, 289, 0, 253)
MCFG_SCREEN_UPDATE_STATIC(tms340x0_ind16)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MACHINE_CONFIG_END
@ -1071,7 +1071,7 @@ static MACHINE_CONFIG_DERIVED( yunit_cvsd_4bit_fast, yunit_core )
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_CLOCK(FAST_MASTER_CLOCK)
MCFG_WILLIAMS_CVSD_SOUND_ADD("cvsd")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@ -1098,7 +1098,7 @@ static MACHINE_CONFIG_DERIVED( yunit_adpcm_6bit_fast, yunit_core )
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_CLOCK(FAST_MASTER_CLOCK)
MCFG_WILLIAMS_ADPCM_SOUND_ADD("adpcm")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
@ -1113,7 +1113,7 @@ static MACHINE_CONFIG_DERIVED( yunit_adpcm_6bit_faster, yunit_core )
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_CLOCK(FASTER_MASTER_CLOCK)
MCFG_WILLIAMS_ADPCM_SOUND_ADD("adpcm")
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)

View File

@ -5523,25 +5523,25 @@ ROM_START( ninjaslt )
NAOMI_DEFAULT_EEPROM
ROM_REGION( 0xb000000, "rom_board", ROMREGION_ERASEFF)
ROM_LOAD( "nja3vera_fl1.2d", 0x0800000, 0x0800000, CRC(442cb858) SHA1(8244871bdb0b49e14ea400d63fe759754a530410) )
ROM_LOAD( "nja3vera_fl2.2c", 0x1000000, 0x0800000, CRC(1f81f46b) SHA1(7677f881b84233f3f95a792f9be6f618cba6d586) )
ROM_LOAD( "nja3vera_fl3.2b", 0x1800000, 0x0800000, CRC(24974c3d) SHA1(cd64dec682688e26fca91873e5e7b6e0d931d1ce) )
ROM_LOAD( "nja1ma2.4l", 0x2000000, 0x1000000, CRC(5af34ea0) SHA1(b49a50e995cb6682782b0643d40001b9bffe0118) )
ROM_LOAD( "nja1ma3.4k", 0x3000000, 0x1000000, CRC(504a89b3) SHA1(e0b90542f80527e998db7ee3bb75e36c375cacba) )
ROM_LOAD( "nja1ma4.4j", 0x4000000, 0x1000000, CRC(d5c2799a) SHA1(ce46c1aa38479d9e5e350573bc6b214979b88dbc) )
ROM_LOAD( "nja1ma5.4h", 0x5000000, 0x1000000, CRC(cf5df4d3) SHA1(220bc51979d2c5f753fc6b544bb38c0c306bbcb8) )
ROM_LOAD( "nja1ma6.4f", 0x6000000, 0x1000000, CRC(5daa6ed4) SHA1(139a68ea0cb5c071beeffb893533302fa80bc3f8) )
ROM_LOAD( "nja1ma7.4e", 0x7000000, 0x1000000, CRC(d866cfa8) SHA1(a57a761cef0eaaada088a6091ec2324c112253fc) )
ROM_LOAD( "nja1ma8.4d", 0x8000000, 0x1000000, CRC(1c959b74) SHA1(f1ff82c26df6250e1d8c23214f7827278cd572db) )
ROM_LOAD( "nja1ma9.4c", 0x9000000, 0x1000000, CRC(8abed815) SHA1(5e1b208d23a17ba743d0507d963be42e7828755f) )
ROM_LOAD( "nja1ma10.4b", 0xa000000, 0x1000000, CRC(f14d2073) SHA1(b4a8cd585794be149b616119df3f75c0fb30e2f0) )
ROM_LOAD( "nja3vera_fl1.2d", 0x0800000, 0x0800000, CRC(442cb858) SHA1(8244871bdb0b49e14ea400d63fe759754a530410) )
ROM_LOAD( "nja3vera_fl2.2c", 0x1000000, 0x0800000, CRC(1f81f46b) SHA1(7677f881b84233f3f95a792f9be6f618cba6d586) )
ROM_LOAD( "nja3vera_fl3.2b", 0x1800000, 0x0800000, CRC(24974c3d) SHA1(cd64dec682688e26fca91873e5e7b6e0d931d1ce) )
ROM_LOAD( "nja1ma2.4l", 0x2000000, 0x1000000, CRC(5af34ea0) SHA1(b49a50e995cb6682782b0643d40001b9bffe0118) )
ROM_LOAD( "nja1ma3.4k", 0x3000000, 0x1000000, CRC(504a89b3) SHA1(e0b90542f80527e998db7ee3bb75e36c375cacba) )
ROM_LOAD( "nja1ma4.4j", 0x4000000, 0x1000000, CRC(d5c2799a) SHA1(ce46c1aa38479d9e5e350573bc6b214979b88dbc) )
ROM_LOAD( "nja1ma5.4h", 0x5000000, 0x1000000, CRC(cf5df4d3) SHA1(220bc51979d2c5f753fc6b544bb38c0c306bbcb8) )
ROM_LOAD( "nja1ma6.4f", 0x6000000, 0x1000000, CRC(5daa6ed4) SHA1(139a68ea0cb5c071beeffb893533302fa80bc3f8) )
ROM_LOAD( "nja1ma7.4e", 0x7000000, 0x1000000, CRC(d866cfa8) SHA1(a57a761cef0eaaada088a6091ec2324c112253fc) )
ROM_LOAD( "nja1ma8.4d", 0x8000000, 0x1000000, CRC(1c959b74) SHA1(f1ff82c26df6250e1d8c23214f7827278cd572db) )
ROM_LOAD( "nja1ma9.4c", 0x9000000, 0x1000000, CRC(8abed815) SHA1(5e1b208d23a17ba743d0507d963be42e7828755f) )
ROM_LOAD( "nja1ma10.4b", 0xa000000, 0x1000000, CRC(f14d2073) SHA1(b4a8cd585794be149b616119df3f75c0fb30e2f0) )
// this is a hack because we don't support the 8MB shift feature in naomibd yet (this also causes IC1 to show BAD
// in the ROM test - it is not bad and does not need a redump)
ROM_COPY( "rom_board", 0x800000, 0x000000, 0x800000 )
ROM_REGION( 4, "rom_key", 0 )
ROM_LOAD( "nja3-key.bin", 0x000000, 0x000004, CRC(e6997eb0) SHA1(c866a5069e28939be5a8fc867bc14791decac3c8) )
ROM_LOAD( "nja3-key.bin", 0x000000, 0x000004, CRC(e6997eb0) SHA1(c866a5069e28939be5a8fc867bc14791decac3c8) )
ROM_END
// this one's weird: the rom test checksum for IC 1 matches a screenshot from h/w, but on h/w it says ---- instead of BAD.
@ -7932,7 +7932,7 @@ ROM_END
/* Cart games on Namco custom ROM board */
/* 25209801 */ GAME( 2000, wldkicks, naomi, naomim2, naomi, naomi, ROT0, "Capcom / Namco", "World Kicks (WK1 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )
/* 25349801 */ GAME( 2000, toukon4, naomi, naomim2, naomi, naomi, ROT0, "Capcom / Namco", "Shin Nihon Pro Wrestling Toukon Retsuden 4 Arcade Edition (TRF1 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )
/* 25469801 */ GAME( 2000, ninjaslt, naomi, naomim2, naomi, naomi, ROT0, "Capcom / Namco", "Ninja Assault (NJA3 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )
/* 25469801 */ GAME( 2000, ninjaslt, naomi, naomim2, naomi, naomi, ROT0, "Capcom / Namco", "Ninja Assault (NJA3 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )
/* 25709801 */ GAME( 2001, gunsur2, naomi, naomi, naomi, naomi, ROT0, "Capcom / Namco", "Gun Survivor 2 Biohazard Code: Veronica (BHF1 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )
/* 25869812 */ GAME( 2002, mazan, naomi, naomim2, naomi, naomi, ROT0, "Capcom / Namco", "Mazan: Flash of the Blade (MAZ1 Ver. A)", GAME_UNEMULATED_PROTECTION|GAME_FLAGS )

View File

@ -134,7 +134,7 @@ ADDRESS_MAP_END
// the mapping of the devices is rather ugly with address bits 8-9 providing the usual address bits 0-1 or 'offset'
// r0/r1/r2/r3 and w0/w1/w2/w3 might still be in the wrong order at the moment.
static ADDRESS_MAP_START( proconn_portmap, AS_IO, 8, proconn_state )
// ADDRESS_MAP_GLOBAL_MASK(0x3ff)
// ADDRESS_MAP_GLOBAL_MASK(0x3ff)
// sio (vfd should be connected to it?)
AM_RANGE(0x00ff, 0x00ff) AM_READWRITE(sio_r0, sio_w0)
@ -149,13 +149,13 @@ static ADDRESS_MAP_START( proconn_portmap, AS_IO, 8, proconn_state )
AM_RANGE(0x03fe, 0x03fe) AM_READWRITE(ctc_r3, ctc_w3)
// ay (meters connected to it?)
AM_RANGE(0x00fd, 0x00fd) AM_READWRITE(ay_r0, ay_w0)
AM_RANGE(0x00fc, 0x00fc) AM_WRITE(ay_w1)
AM_RANGE(0x00fd, 0x00fd) AM_READWRITE(ay_r0, ay_w0)
AM_RANGE(0x00fc, 0x00fc) AM_WRITE(ay_w1)
// ??
AM_RANGE(0xfbf9, 0xfbf9) AM_WRITENOP
AM_RANGE(0xfff9, 0xfff9) AM_WRITENOP
// pio5 (lamps?)
AM_RANGE(0x00f0, 0x00f0) AM_READWRITE(pio5_r0, pio5_w0)
AM_RANGE(0x01f0, 0x01f0) AM_READWRITE(pio5_r1, pio5_w1)
@ -258,7 +258,7 @@ static Z80CTC_INTERFACE( ctc_intf )
static WRITE8_DEVICE_HANDLER( serial_transmit )
{
// if (offset == 0)
// if (offset == 0)
{
ROC10937_newdata(0, data);
ROC10937_draw_16seg(0);

View File

@ -1016,7 +1016,7 @@ GFXDECODE_END
static MACHINE_START( psikyo )
{
psikyo_state *state = machine.driver_data<psikyo_state>();
state->m_audiocpu = machine.device("audiocpu");
state->save_item(NAME(state->m_soundlatch));

View File

@ -4048,7 +4048,7 @@ static DRIVER_INIT( arabfgt )
segas32_state *state = machine.driver_data<segas32_state>();
segas32_common_init(machine, read16_delegate(FUNC(segas32_state::extra_custom_io_r),state), write16_delegate());
/* install protection handlers */
/* install protection handlers */
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_read_handler(0xa00100, 0xa0011f, read16_delegate(FUNC(segas32_state::arf_wakeup_protection_r),state));
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_readwrite_handler(0xa00000, 0xa00fff, read16_delegate(FUNC(segas32_state::arabfgt_protection_r),state), write16_delegate(FUNC(segas32_state::arabfgt_protection_w),state));
}
@ -4120,7 +4120,7 @@ static DRIVER_INIT( ga2 )
segas32_state *state = machine.driver_data<segas32_state>();
segas32_common_init(machine, read16_delegate(FUNC(segas32_state::extra_custom_io_r),state), write16_delegate());
decrypt_ga2_protrom(machine);
decrypt_ga2_protrom(machine);
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_readwrite_handler(0xa00000, 0xa00fff, read16_delegate(FUNC(segas32_state::ga2_dpram_r),state), write16_delegate(FUNC(segas32_state::ga2_dpram_w),state));
}

View File

@ -30,8 +30,8 @@ public:
: driver_device(mconfig, type, tag),
m_bg_videoram(*this, "bg_videoram"),
m_fg_videoram(*this, "fg_videoram"),
m_spriteram(*this, "spriteram") {
m_spriteram(*this, "spriteram") {
}
@ -50,7 +50,7 @@ public:
{
m_silvmil_tilebank[m_whichbank] = (data>>8) & 0x1f;
// printf("%08x tilebank_w %04x (which = %04x)\n",pc, data, m_whichbank);
// printf("%08x tilebank_w %04x (which = %04x)\n",pc, data, m_whichbank);
m_fg_layer->mark_all_dirty();
m_bg_layer->mark_all_dirty();
}
@ -102,7 +102,7 @@ public:
}
}
};

View File

@ -416,7 +416,7 @@ static INPUT_PORTS_START( ffight2b )
PORT_DIPSETTING( 0x02, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) )
// PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) /* duplicate setting */
// PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) /* duplicate setting */
PORT_DIPSETTING( 0x06, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x05, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x04, DEF_STR( 1C_4C ) )
@ -443,7 +443,7 @@ static INPUT_PORTS_START( ffight2b )
PORT_DIPUNUSED( 0x20, IP_ACTIVE_LOW )
PORT_DIPUNUSED( 0x40, IP_ACTIVE_LOW )
PORT_DIPUNUSED( 0x80, IP_ACTIVE_LOW )
PORT_START("COIN")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
@ -459,7 +459,7 @@ static INPUT_PORTS_START( iron )
PORT_DIPSETTING( 0x02, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) )
// PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) /* duplicate setting */
// PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) /* duplicate setting */
PORT_DIPSETTING( 0x06, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x05, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x04, DEF_STR( 1C_4C ) )
@ -503,7 +503,7 @@ static INPUT_PORTS_START( denseib )
PORT_DIPSETTING( 0x02, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) )
// PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) /* duplicate setting */
// PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) /* duplicate setting */
PORT_DIPSETTING( 0x06, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x05, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x04, DEF_STR( 1C_4C ) )
@ -511,7 +511,7 @@ static INPUT_PORTS_START( denseib )
PORT_DIPSETTING( 0x18, DEF_STR( Easy ) )
PORT_DIPSETTING( 0x10, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x08, DEF_STR( Hard ) )
// PORT_DIPSETTING( 0x00, DEF_STR( Hard ) ) /* duplicate setting */
// PORT_DIPSETTING( 0x00, DEF_STR( Hard ) ) /* duplicate setting */
PORT_DIPUNUSED( 0x20, IP_ACTIVE_LOW )
PORT_DIPUNUSED( 0x40, IP_ACTIVE_LOW )
PORT_DIPNAME( 0x80, 0x00, "Mode" )
@ -548,7 +548,7 @@ static INPUT_PORTS_START( sblast2b )
PORT_DIPSETTING( 0x02, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) )
// PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) /* duplicate setting */
// PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) /* duplicate setting */
PORT_DIPSETTING( 0x06, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x05, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x04, DEF_STR( 1C_4C ) )

View File

@ -33,10 +33,10 @@ class splus_state : public driver_device
public:
splus_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_cmosl_ram(*this, "cmosl"),
m_cmosh_ram(*this, "cmosh"),
m_program_ram(*this, "program_ram"),
m_reel_ram(*this, "reel_ram"),
m_cmosl_ram(*this, "cmosl"),
m_cmosh_ram(*this, "cmosh"),
m_program_ram(*this, "program_ram"),
m_reel_ram(*this, "reel_ram"),
m_io_port(*this, "io_port")
{
m_sda_dir = 0;

View File

@ -412,7 +412,7 @@ READ16_MEMBER(ssv_state::fake_r){ return ssv_scroll[offset]; }
AM_RANGE(0x160000, 0x17ffff) AM_RAM /* */ \
AM_RANGE(0x1c0000, 0x1c0001) AM_READ(ssv_vblank_r ) /* Vblank? */ \
/**/AM_RANGE(0x1c0002, 0x1c007f) AM_READONLY /* Scroll */ \
AM_RANGE(0x1c0000, 0x1c007f) AM_WRITE(ssv_scroll_w) AM_SHARE("scroll") /* Scroll */ \
AM_RANGE(0x1c0000, 0x1c007f) AM_WRITE(ssv_scroll_w) AM_SHARE("scroll") /* Scroll */ \
AM_RANGE(0x210002, 0x210003) AM_READ_PORT("DSW1") \
AM_RANGE(0x210004, 0x210005) AM_READ_PORT("DSW2") \
AM_RANGE(0x210008, 0x210009) AM_READ_PORT("P1") \

View File

@ -361,7 +361,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( bestbest_pcm_1_iomap, AS_IO, 8, suna16_state )
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x00, 0x00) AM_READ (soundlatch2_byte_r ) // From The Sound Z80
AM_RANGE(0x00, 0x00) AM_READ (soundlatch2_byte_r ) // From The Sound Z80
AM_RANGE(0x00, 0x00) AM_MIRROR(0x02) AM_DEVWRITE_LEGACY("dac1", bssoccer_DAC_w) // 2 x DAC
AM_RANGE(0x01, 0x01) AM_MIRROR(0x02) AM_DEVWRITE_LEGACY("dac2", bssoccer_DAC_w) // 2 x DAC
ADDRESS_MAP_END

View File

@ -397,7 +397,7 @@ static ADDRESS_MAP_START( airsys_map, AS_PROGRAM, 16, taitoair_state )
AM_RANGE(0x000000, 0x0bffff) AM_ROM
AM_RANGE(0x0c0000, 0x0cffff) AM_RAM AM_SHARE("m68000_mainram")
AM_RANGE(0x140000, 0x140001) AM_WRITE(system_control_w) /* Pause the TMS32025 */
AM_RANGE(0x180000, 0x187fff) AM_RAM_WRITE(airsys_gradram_w) AM_SHARE("gradram") /* "gradiation ram (0/1)" */
AM_RANGE(0x180000, 0x187fff) AM_RAM_WRITE(airsys_gradram_w) AM_SHARE("gradram") /* "gradiation ram (0/1)" */
AM_RANGE(0x188000, 0x189fff) AM_MIRROR(0x2000) AM_RAM_WRITE(airsys_paletteram16_w) AM_SHARE("paletteram")
AM_RANGE(0x800000, 0x820fff) AM_DEVREADWRITE_LEGACY("tc0080vco", tc0080vco_word_r, tc0080vco_word_w) /* tilemaps, sprites */
AM_RANGE(0x906000, 0x906007) AM_RAM // DMA?

View File

@ -574,7 +574,7 @@ WRITE16_MEMBER(stepstag_state::stepstag_soundlatch_word_w)
WRITE16_MEMBER(stepstag_state::stepstag_leds_w)
{
// data = COMBINE_DATA()
// data = COMBINE_DATA()
if (ACCESSING_BITS_0_7)
{
set_led_status(machine(), 0, data & 0x0001); // P2 Front-Left
@ -594,7 +594,7 @@ WRITE16_MEMBER(stepstag_state::stepstag_leds_w)
set_led_status(machine(), 11, data & 0x2000); // P1 Back-Right
}
// popmessage("FEET %02x",data);
// popmessage("FEET %02x",data);
}
// Main CPU
@ -606,18 +606,18 @@ static ADDRESS_MAP_START( stepstag_map, AS_PROGRAM, 16, stepstag_state )
AM_RANGE(0x300000, 0x31ffff) AM_RAM // Palette
AM_RANGE(0x400000, 0x403fff) AM_RAM_WRITE(tetrisp2_vram_fg_w) AM_SHARE("vram_fg") // Foreground
AM_RANGE(0x404000, 0x407fff) AM_RAM_WRITE(tetrisp2_vram_bg_w) AM_SHARE("vram_bg") // Background
// AM_RANGE(0x408000, 0x409fff) AM_RAM // ???
// AM_RANGE(0x408000, 0x409fff) AM_RAM // ???
AM_RANGE(0x500000, 0x50ffff) AM_RAM // Line
AM_RANGE(0x600000, 0x60ffff) AM_RAM_WRITE(tetrisp2_vram_rot_w) AM_SHARE("vram_rot") // Rotation
AM_RANGE(0x900000, 0x903fff) AM_READWRITE(tetrisp2_nvram_r, tetrisp2_nvram_w) AM_SHARE("nvram") // NVRAM
AM_RANGE(0x904000, 0x907fff) AM_READWRITE(tetrisp2_nvram_r, tetrisp2_nvram_w) // NVRAM (mirror)
AM_RANGE(0xa10000, 0xa10001) AM_READ_PORT("FEET") AM_WRITE(stepstag_leds_w) // I/O
// AM_RANGE(0xa30000, 0xa30001) AM_NOP // PC?
// AM_RANGE(0xa30000, 0xa30001) AM_NOP // PC?
AM_RANGE(0xa42000, 0xa42001) AM_READ( unk_a42000_r ) // visual ready flag + ???
AM_RANGE(0xa44000, 0xa44001) AM_READNOP // watchdog
// AM_RANGE(0xa48000, 0xa48001) AM_WRITENOP // PC?
// AM_RANGE(0xa4c000, 0xa4c001) AM_WRITENOP // PC?
// AM_RANGE(0xa48000, 0xa48001) AM_WRITENOP // PC?
// AM_RANGE(0xa4c000, 0xa4c001) AM_WRITENOP // PC?
AM_RANGE(0xa50000, 0xa50001) AM_READWRITE( soundlatch_word_r, stepstag_soundlatch_word_w )
AM_RANGE(0xa60000, 0xa60003) AM_DEVWRITE8_LEGACY("ymz", ymz280b_w, 0x00ff) // Sound
@ -652,7 +652,7 @@ static ADDRESS_MAP_START( stepstag_sub_map, AS_PROGRAM, 16, stepstag_state )
// rgb brightness?
AM_RANGE(0x700000, 0x700001) AM_WRITENOP // 0-f
AM_RANGE(0x700002, 0x700003) AM_WRITENOP // 0-f
AM_RANGE(0x700002, 0x700003) AM_WRITENOP // 0-f
AM_RANGE(0x700004, 0x700005) AM_WRITENOP // 0-f
AM_RANGE(0x700006, 0x700007) AM_WRITENOP // 0-3f (high bits?)
@ -660,19 +660,19 @@ static ADDRESS_MAP_START( stepstag_sub_map, AS_PROGRAM, 16, stepstag_state )
AM_RANGE(0x800000, 0x803fff) AM_RAM AM_SHARE("spriteram") // Object RAM
AM_RANGE(0x800000, 0x87ffff) AM_RAM
AM_RANGE(0x880000, 0x880001) AM_WRITENOP // cleared after writing this sprite list
// AM_RANGE(0x8c0000, 0x8c0001) AM_WRITENOP // cleared at boot
// AM_RANGE(0x8c0000, 0x8c0001) AM_WRITENOP // cleared at boot
// middle screen sprites
AM_RANGE(0x900000, 0x903fff) AM_RAM AM_SHARE("spriteram2") // Object RAM
AM_RANGE(0x900000, 0x97ffff) AM_RAM
AM_RANGE(0x980000, 0x980001) AM_WRITENOP // cleared after writing this sprite list
// AM_RANGE(0x9c0000, 0x9c0001) AM_WRITENOP // cleared at boot
// AM_RANGE(0x9c0000, 0x9c0001) AM_WRITENOP // cleared at boot
// right screen sprites
AM_RANGE(0xa00000, 0xa03fff) AM_RAM AM_SHARE("spriteram3") // Object RAM
AM_RANGE(0xa00000, 0xa7ffff) AM_RAM
AM_RANGE(0xa80000, 0xa80001) AM_WRITENOP // cleared after writing this sprite list
// AM_RANGE(0xac0000, 0xac0001) AM_WRITENOP // cleared at boot
// AM_RANGE(0xac0000, 0xac0001) AM_WRITENOP // cleared at boot
AM_RANGE(0xb00000, 0xb00001) AM_READWRITE( soundlatch_word_r, soundlatch_word_w )
@ -1117,7 +1117,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( stepstag )
PORT_START("BUTTONS") // $be0002.w
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) // P2 start (middle)
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) // P2 start (left)
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) // P2 start (left)
PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) // P2 start (right)
PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN )
@ -1125,7 +1125,7 @@ static INPUT_PORTS_START( stepstag )
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) // P1 start (middle)
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) // P1 start (left)
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) // P1 start (left)
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) // P1 start (right)
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN )

View File

@ -117,7 +117,7 @@ public:
DECLARE_WRITE64_MEMBER(v1_fb_w);
DECLARE_WRITE16_MEMBER(crtc_w);
DECLARE_DIRECT_UPDATE_MEMBER(vcombat_vid_0_direct_handler);
DECLARE_DIRECT_UPDATE_MEMBER(vcombat_vid_1_direct_handler);
DECLARE_DIRECT_UPDATE_MEMBER(vcombat_vid_1_direct_handler);
};
static UINT32 update_screen(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, int index)

View File

@ -1115,11 +1115,11 @@ WRITE32_MEMBER(viper_state::epic_w)
/*
READ64_MEMBER(viper_state::epic_64be_r)
{
return read64be_with_32le_handler(epic_r, &space, offset, mem_mask);
return read64be_with_32le_handler(epic_r, &space, offset, mem_mask);
}
WRITE64_MEMBER(viper_state::epic_64be_w)
{
write64be_with_32le_handler(epic_w, &space, offset, data, mem_mask);
write64be_with_32le_handler(epic_w, &space, offset, data, mem_mask);
}
*/

View File

@ -3,13 +3,13 @@
Star Trek Voyager (c) 2002 Team Play, Inc. / Game Refuge / Monaco Entertainment
skeleton driver by R. Belmont
Motherboard is FIC AZIIEA with AMD Duron processor of unknown speed
Chipset: VIA KT133a with VT8363A Northbridge and VT82C686B Southbridge
Video: Jaton 3DForce2MX-32, based on Nvidia GeForce 2MX chipset w/32 MB of VRAM
TODO: VIA KT133a chipset support, GeForce 2MX video support, lots of things ;-)
TODO: VIA KT133a chipset support, GeForce 2MX video support, lots of things ;-)
*************************************************************************************/
#include "emu.h"
@ -801,16 +801,16 @@ static DRIVER_INIT( voyager )
ROM_START( voyager )
ROM_REGION( 0x40000, "bios", 0 )
ROM_LOAD( "stv.u23", 0x000000, 0x040000, CRC(0bed28b6) SHA1(8e7f17af65ca9d17c5c7ddedb2313507d0ea8181) )
ROM_LOAD( "stv.u23", 0x000000, 0x040000, CRC(0bed28b6) SHA1(8e7f17af65ca9d17c5c7ddedb2313507d0ea8181) )
ROM_REGION( 0x8000, "video_bios", 0 ) // incorrect,
ROM_REGION( 0x8000, "video_bios", 0 ) // incorrect,
ROM_LOAD16_BYTE( "trident_tgui9680_bios.bin", 0x0000, 0x4000, CRC(1eebde64) SHA1(67896a854d43a575037613b3506aea6dae5d6a19) )
ROM_CONTINUE( 0x0001, 0x4000 )
ROM_REGION( 0x800, "nvram", ROMREGION_ERASE00 )
DISK_REGION( "drive_0" )
DISK_IMAGE_READONLY( "voyager", 0, SHA1(8b94f2420f6abb40148e4ba6eed8819d8e85dbde))
DISK_IMAGE_READONLY( "voyager", 0, SHA1(8b94f2420f6abb40148e4ba6eed8819d8e85dbde))
ROM_END
GAME( 2002, voyager, 0, voyager, voyager, voyager, ROT0, "Team Play/Game Refuge/Monaco Entertainment", "Star Trek: Voyager", GAME_NOT_WORKING|GAME_NO_SOUND )

View File

@ -427,7 +427,7 @@ public:
UINT16 m_aga_sprdatb[8][4];
int m_aga_sprite_fetched_words;
int m_aga_sprite_dma_used_words[8];
DECLARE_CUSTOM_INPUT_MEMBER( amiga_joystick_convert );
};

View File

@ -20,9 +20,9 @@ public:
required_shared_ptr<UINT8> m_paletteram;
optional_shared_ptr<UINT8> m_txram;
optional_shared_ptr<UINT8> m_bg1ram;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_spriteram;
optional_shared_ptr<UINT8> m_butasan_bg1ram;
UINT8 *m_dummy_bg0ram;
UINT8 *m_butasan_txram;
UINT8 *m_butasan_bg0ram;

View File

@ -45,7 +45,7 @@ public:
m_shrike_shared(*this, "shrike_shared"){ }
required_device<timer_device> m_scanline_timer;
/* global data */
UINT8 m_shooter;
UINT8 m_shooter_x;
@ -124,9 +124,9 @@ public:
UINT8 *m_sprite_bank[2];
UINT8 m_palettebank_vis;
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_videoram;
optional_shared_ptr<UINT16> m_shrike_io;
optional_shared_ptr<UINT16> m_shrike_shared;

View File

@ -30,7 +30,7 @@ public:
UINT8 vfd_ser_value;
int vfd_ser_count;
const stepper_interface **m_reel_setup;
const stepper_interface **m_reel_setup;
int m_reel_changed;
int m_reels;
int m_reel12_latch;

View File

@ -21,7 +21,7 @@ public:
required_shared_ptr<UINT16> m_vidreg1;
required_shared_ptr<UINT16> m_vidreg2;
DECLARE_WRITE16_MEMBER(bsb_videoram_w);
DECLARE_WRITE16_MEMBER(bsb_videoram2_w);
DECLARE_WRITE16_MEMBER(bsb_videoram3_w);

View File

@ -23,7 +23,7 @@ public:
optional_shared_ptr<UINT8> m_zoar_scrollram;
optional_shared_ptr<UINT8> m_lnc_charbank;
optional_shared_ptr<UINT8> m_deco_charram;
optional_shared_ptr<UINT8> m_spriteram; // used by disco
optional_shared_ptr<UINT8> m_spriteram; // used by disco
// UINT8 * m_decrypted;
optional_shared_ptr<UINT8> m_audio_rambase;

View File

@ -25,7 +25,7 @@ class cave_state : public driver_device
{
public:
cave_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
: driver_device(mconfig, type, tag),
m_videoregs(*this, "videoregs"),
m_vram(*this, "vram"),
m_vctrl(*this, "vctrl"),

View File

@ -28,7 +28,7 @@ public:
optional_shared_ptr<UINT8> m_swimmer_background_color;
optional_shared_ptr<UINT8> m_toprollr_bg_videoram;
optional_shared_ptr<UINT8> m_toprollr_bg_coloram;
UINT8 m_yamato_p0;
UINT8 m_yamato_p1;
UINT8 m_toprollr_rombank;

View File

@ -21,7 +21,7 @@ public:
required_shared_ptr<UINT16> m_spriteram;
optional_shared_ptr<UINT16> m_workram;
optional_shared_ptr<UINT16> m_spriteram_2;
required_shared_ptr<UINT8> m_mcu_ram; // 8bits
required_shared_ptr<UINT8> m_mcu_ram; // 8bits
// UINT16 * m_nvram; // currently this uses generic nvram handling
/* video-related */

View File

@ -17,7 +17,7 @@ public:
optional_shared_ptr<UINT8> m_galaga_ram1;
optional_shared_ptr<UINT8> m_galaga_ram2;
optional_shared_ptr<UINT8> m_galaga_ram3;
optional_shared_ptr<UINT8> m_galaga_starcontrol; // 6 addresses
optional_shared_ptr<UINT8> m_galaga_starcontrol; // 6 addresses
emu_timer *m_cpu3_interrupt_timer;
UINT8 m_custom_mod;

View File

@ -42,7 +42,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_videoram;
int m_bullets_base;
int m_numspritegens;
int m_counter_74ls161[2];

View File

@ -99,7 +99,7 @@ public:
optional_shared_ptr<UINT16> m_layers_1_regs;
optional_shared_ptr<UINT16> m_mcu_ram;
optional_shared_ptr<UINT16> m_mainram;
UINT8 m_nvram_save[128];
int m_sprite_type;
int m_sprite_fliptype;
@ -110,7 +110,7 @@ public:
struct tempsprite *m_first_sprite;
kaneko16_priority_t m_priority;
optional_shared_ptr<UINT16> m_galsnew_bg_pixram;
optional_shared_ptr<UINT16> m_galsnew_fg_pixram;
optional_shared_ptr<UINT16> m_galsnew_fg_pixram;
calc1_hit_t m_hit;
calc3_hit_t m_hit3;
calc3_t m_calc3;

View File

@ -24,7 +24,7 @@ public:
required_shared_ptr<UINT8> m_spriteram;
required_shared_ptr<UINT8> m_back_color;
optional_shared_ptr<UINT8> m_chip_data;
optional_shared_ptr<UINT8> m_bitmap_ram; /* 0x2000 bytes for a 256 x 256 x 1 bitmap */
optional_shared_ptr<UINT8> m_bitmap_ram; /* 0x2000 bytes for a 256 x 256 x 1 bitmap */
optional_shared_ptr<UINT8> m_last_colors;
optional_shared_ptr<UINT8> m_track_scroll;

View File

@ -34,13 +34,13 @@ public:
optional_device<z80_device> m_maincpu;
optional_shared_ptr<UINT8> m_spriteram;
optional_shared_ptr<UINT8> m_videoram;
optional_device<midway_ssio_device> m_ssio;
optional_device<midway_chip_squeak_deluxe_device> m_chip_squeak_deluxe;
optional_device<midway_sounds_good_device> m_sounds_good;
optional_device<midway_turbo_chip_squeak_device> m_turbo_chip_squeak;
optional_device<midway_squawk_n_talk_device> m_squawk_n_talk;
DECLARE_WRITE8_MEMBER(mcr_control_port_w);
DECLARE_WRITE8_MEMBER(mcr_ipu_laserdisk_w);
DECLARE_READ8_MEMBER(mcr_ipu_watchdog_r);

View File

@ -22,7 +22,7 @@ public:
required_device<adsp2105_device> m_adsp;
required_device<dsp32c_device> m_dsp32c_1;
required_device<dsp32c_device> m_dsp32c_2;
required_shared_ptr<UINT32> m_adsp_internal_program_ram;
required_shared_ptr<UINT16> m_gsp_dram;
required_shared_ptr<UINT16> m_gsp_vram;

View File

@ -19,7 +19,7 @@ public:
required_shared_ptr<UINT16> m_nvram;
optional_device<williams_cvsd_sound_device> m_cvsd_sound;
optional_device<williams_adpcm_sound_device> m_adpcm_sound;
DECLARE_WRITE16_MEMBER(midtunit_cmos_enable_w);
DECLARE_WRITE16_MEMBER(midtunit_cmos_w);
DECLARE_READ16_MEMBER(midtunit_cmos_r);

View File

@ -41,7 +41,7 @@ public:
optional_device<williams_narc_sound_device> m_narc_sound;
optional_device<williams_cvsd_sound_device> m_cvsd_sound;
optional_device<williams_adpcm_sound_device> m_adpcm_sound;
UINT16 *m_cmos_ram;
UINT32 m_cmos_page;
optional_shared_ptr<UINT8> m_gfx_rom;

View File

@ -31,7 +31,7 @@ public:
required_shared_ptr<UINT32> m_lumaram;
optional_shared_ptr<UINT16> m_soundram;
optional_shared_ptr<UINT32> m_tgp_program;
UINT32 m_intreq;
UINT32 m_intena;
UINT32 m_coproctl;

View File

@ -122,7 +122,7 @@ public:
UINT8 *m_dirtypal;
bitmap_ind16 *m_mix_bitmap;
tilemap_t *m_bgtilemap;
DECLARE_READ32_MEMBER(namcos22_gamma_r);
DECLARE_WRITE32_MEMBER(namcos22_gamma_w);
DECLARE_WRITE32_MEMBER(namcos22s_czram_w);

View File

@ -21,7 +21,7 @@ public:
optional_shared_ptr<UINT16> m_nmk_txvideoram;
required_shared_ptr<UINT16> m_mainram;
optional_shared_ptr<UINT16> m_gunnail_scrollram;
optional_shared_ptr<UINT8> m_spriteram;
optional_shared_ptr<UINT8> m_spriteram;
optional_shared_ptr<UINT16> m_nmk_fgvideoram;
optional_shared_ptr<UINT16> m_gunnail_scrollramy;
optional_shared_ptr<UINT16> m_nmk_bgvideoram1;

View File

@ -11,7 +11,7 @@ public:
: driver_device(mconfig, type, tag) ,
m_sysreg(*this, "sysreg"),
m_936_videoram(*this, "936_videoram"){ }
/* memory pointers */
required_shared_ptr<UINT16> m_sysreg;
required_shared_ptr<UINT16> m_936_videoram;

View File

@ -16,7 +16,7 @@ public:
required_shared_ptr<UINT16> m_spriteram;
optional_shared_ptr<UINT16> m_protdata;
optional_shared_ptr<UINT16> m_bitmap_mode;
int m_bitmap_type;
int m_sprite_attr2_shift;
tilemap_t *m_bg_tilemap[2];
@ -34,7 +34,7 @@ public:
int m_msm_source;
int m_snd_interrupt_enable1;
int m_snd_interrupt_enable2;
DECLARE_WRITE16_MEMBER(splash_sh_irqtrigger_w);
DECLARE_WRITE16_MEMBER(roldf_sh_irqtrigger_w);
DECLARE_WRITE16_MEMBER(splash_coin_w);

View File

@ -9,7 +9,7 @@ public:
int mux_port;
UINT32 m_st0016_rom_bank;
required_device<cpu_device> m_maincpu;
DECLARE_READ8_MEMBER(mux_r);
DECLARE_WRITE8_MEMBER(mux_select_w);

View File

@ -25,7 +25,7 @@ public:
required_shared_ptr<UINT16> m_spriteram;
UINT16 * m_spriteram_buffered;
UINT16 * m_spriteram_delayed;
optional_shared_ptr<UINT16> m_cchip2_ram; // for megablst only
optional_shared_ptr<UINT16> m_cchip2_ram; // for megablst only
// UINT16 * m_paletteram; // currently this uses generic palette handling

View File

@ -194,7 +194,7 @@ public:
int (*m_dpix_n[8][16])(taito_f3_state *state, UINT32 s_pix);
int (**m_dpix_lp[5])(taito_f3_state *state, UINT32 s_pix);
int (**m_dpix_sp[9])(taito_f3_state *state, UINT32 s_pix);
DECLARE_READ32_MEMBER(f3_control_r);
DECLARE_WRITE32_MEMBER(f3_control_w);
DECLARE_WRITE32_MEMBER(f3_sound_reset_0_w);

View File

@ -10,7 +10,7 @@ public:
required_shared_ptr<UINT16> m_spriteram;
required_shared_ptr<UINT16> m_amazon_videoram;
required_shared_ptr<UINT16> m_videoram;
const UINT16 *m_mpProtData;
UINT8 m_mAmazonProtCmd;
UINT8 m_mAmazonProtReg[6];

View File

@ -30,7 +30,7 @@ public:
gp9001vdp_device* m_vdp1;
optional_shared_ptr<UINT8> m_shared_ram; // 8 bit RAM shared between 68K and sound CPU
optional_shared_ptr<UINT16> m_shared_ram16; // Really 8 bit RAM connected to Z180
optional_shared_ptr<UINT16> m_shared_ram16; // Really 8 bit RAM connected to Z180
device_t *m_main_cpu;
device_t *m_sub_cpu;

View File

@ -28,7 +28,7 @@ public:
UINT8 * m_buckrog_bitmap_ram;
/* machine states */
UINT8 m_i8279_scanlines;
UINT8 m_i8279_scanlines;
/* sound state */
UINT8 m_turbo_osel;
@ -72,7 +72,7 @@ public:
UINT8 m_buckrog_command;
UINT8 m_buckrog_myship;
int m_last_sound_a;
DECLARE_WRITE8_MEMBER(scanlines_w);
DECLARE_WRITE8_MEMBER(digit_w);
DECLARE_READ8_MEMBER(turbo_collision_r);

View File

@ -16,7 +16,7 @@ public:
required_shared_ptr<UINT16> m_videoram;
optional_shared_ptr<UINT16> m_tile_gfx_ram;
optional_shared_ptr<UINT16> m_sprite_gfx_ram;
UINT16 m_CPUA_register;
UINT16 m_CPUB_register;
UINT16 m_sound_command;

View File

@ -16,7 +16,7 @@ public:
required_shared_ptr<UINT8> m_videoram;
optional_shared_ptr<UINT8> m_spriteram;
optional_shared_ptr<UINT8> m_colorram;
UINT8 m_int_enabled;
UINT8 m_coin_status[3];
UINT8 m_coin_enable[3];

View File

@ -31,7 +31,7 @@
<color red="1.0" green="0.3" blue="0.0" />
</led7seg>
</element>
<view name="AWP Simulated Video (No Artwork)">
<backdrop name="vfd0" element="vfd0" state="0">
<bounds x="210" y="200" width="9" height="17"/>
@ -99,10 +99,10 @@
<backdrop name="reel6" element="Steppers" state="0">
<bounds x="310" y="360" width="50" height="50"/>
</backdrop>
<backdrop name="lamp0" element="matrixlamp" state="0">
<bounds x="0" y="0" width="7" height="7"/>
</backdrop>
@ -996,8 +996,8 @@
<backdrop name="matrix39" element="matrixlamp" state="0">
<bounds y="28" x="196" width="3" height="3"/>
</backdrop>
<backdrop name="matrix40" element="matrixlamp" state="0">
<bounds y="0" x="202" width="3" height="3"/>
</backdrop>
@ -1118,8 +1118,8 @@
<backdrop name="matrix79" element="matrixlamp" state="0">
<bounds y="28" x="218" width="3" height="3"/>
</backdrop>
<backdrop name="matrix80" element="matrixlamp" state="0">
<bounds y="0" x="224" width="3" height="3"/>
</backdrop>
@ -1240,8 +1240,8 @@
<backdrop name="matrix119" element="matrixlamp" state="0">
<bounds y="28" x="240" width="3" height="3"/>
</backdrop>
<backdrop name="matrix120" element="matrixlamp" state="0">
<bounds y="0" x="246" width="3" height="3"/>
</backdrop>
@ -1362,8 +1362,8 @@
<backdrop name="matrix159" element="matrixlamp" state="0">
<bounds y="28" x="262" width="3" height="3"/>
</backdrop>
<!-- the rest of the elements tend to be used for 7-segs
<!-- the rest of the elements tend to be used for 7-segs
so render them as both -->
<backdrop name="matrix160" element="matrixlamp" state="0">
<bounds y="0" x="280" width="3" height="3"/>
@ -1678,7 +1678,7 @@
<backdrop name="digit7" element="digit" state="0">
<bounds x="250" y="64" width="9" height="19"/>
</backdrop>
<backdrop name="digit8" element="digit" state="0">
<bounds x="180" y="84" width="9" height="19"/>
</backdrop>

View File

@ -188,7 +188,7 @@ public:
UINT32 m_playfield2_latch;
atarigen_screen_timer m_screen_timer[2];
DECLARE_DIRECT_UPDATE_MEMBER(atarigen_slapstic_setdirect);
};

View File

@ -287,7 +287,7 @@ int BFM_BD1_newdata(int id, int data)
break;
case 0x01: // blank inside window
break;
case 0x02: // blank outside window
break;
@ -415,12 +415,12 @@ int BFM_BD1_newdata(int id, int data)
bd1[id].blank_flag = 0;
}
}
else
else
{
if (data > 0x3F)
{
// logerror("Undefined character %x \n", data);
// logerror("Undefined character %x \n", data);
}
change = BD1_setdata(id, BD1charset[data & 0x3F], data);
}

View File

@ -377,7 +377,7 @@ DRIVER_INIT( kovshp )
DRIVER_INIT( kovshxas )
{
pgm_basic_init(machine);
// pgm_kovshp_decrypt(machine);
// pgm_kovshp_decrypt(machine);
pgm_arm7_type1_latch_init(machine);
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_read_handler(0x4f0008, 0x4f0009, FUNC(kovsh_fake_region_r));
machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_write_handler(0x500000, 0x500005, FUNC(kovshp_asic27a_write_word));

View File

@ -12,12 +12,12 @@
that, when combined, the total amounts of bits is lower (in raiden2 case) or equal
(in zero team) to the number of bits of a 512*16 bits table (the same size than the
bigger table uploaded).
The size of the tables is different for both games, which points to the hypothesis
that the position of them within a 512*16 table could be configured through programming.
As illustration, these could be possible configurations:
As illustration, these could be possible configurations:
(r: rotate; x5: x5; x11: x11; u: unused)
R2:
|--|------|
| | x11 |
@ -26,7 +26,7 @@
| | | |
| |u |x5 |
|--|--|---|
ZT:
|--|------|
|r | |
@ -35,7 +35,7 @@
| | |
|x5| |
|--|------|
This hypothesis has the strengh of explaining why x5 is indeed 5-bits wide instead of the
much more symmetric and senseful 8-bits wide possibility (to allow configurations like
the suggested one for zero team), but, of course, it should be taken just as what it is: a guess.
@ -78,41 +78,41 @@ static const UINT8 rotate_r2[512] = {
};
static const UINT8 x5_r2[256] = {
0x08, 0x09, 0x1f, 0x0f, 0x09, 0x09, 0x0b, 0x1d, 0x06, 0x13, 0x02, 0x15, 0x02, 0x0c, 0x0d, 0x19,
0x03, 0x13, 0x0c, 0x1f, 0x1a, 0x18, 0x17, 0x10, 0x0a, 0x19, 0x15, 0x04, 0x1f, 0x11, 0x1c, 0x02,
0x0e, 0x08, 0x06, 0x0a, 0x07, 0x1c, 0x10, 0x04, 0x11, 0x0c, 0x0a, 0x19, 0x0a, 0x04, 0x17, 0x07,
0x16, 0x1b, 0x1d, 0x15, 0x1d, 0x13, 0x0e, 0x03, 0x1a, 0x11, 0x14, 0x14, 0x03, 0x18, 0x07, 0x03,
0x08, 0x1a, 0x02, 0x0f, 0x0b, 0x11, 0x1c, 0x05, 0x19, 0x1d, 0x05, 0x01, 0x1f, 0x1c, 0x1d, 0x07,
0x07, 0x0c, 0x02, 0x16, 0x0e, 0x06, 0x0b, 0x07, 0x01, 0x1a, 0x09, 0x0e, 0x0e, 0x07, 0x0e, 0x15,
0x01, 0x16, 0x13, 0x15, 0x14, 0x07, 0x0c, 0x1f, 0x1f, 0x19, 0x17, 0x12, 0x19, 0x17, 0x0a, 0x1f,
0x0c, 0x16, 0x15, 0x1e, 0x05, 0x14, 0x05, 0x1c, 0x0b, 0x0d, 0x0c, 0x0a, 0x05, 0x09, 0x14, 0x02,
0x10, 0x02, 0x13, 0x05, 0x12, 0x17, 0x03, 0x0b, 0x1b, 0x06, 0x15, 0x0b, 0x01, 0x0b, 0x1b, 0x09,
0x10, 0x0a, 0x1e, 0x09, 0x08, 0x0a, 0x04, 0x13, 0x04, 0x12, 0x04, 0x0f, 0x0b, 0x0c, 0x06, 0x07,
0x03, 0x18, 0x00, 0x1e, 0x17, 0x00, 0x16, 0x08, 0x0d, 0x1c, 0x09, 0x07, 0x17, 0x18, 0x0b, 0x0d,
0x11, 0x0f, 0x14, 0x1e, 0x1a, 0x1b, 0x09, 0x15, 0x03, 0x07, 0x12, 0x16, 0x15, 0x11, 0x16, 0x1e,
0x14, 0x15, 0x00, 0x05, 0x15, 0x18, 0x18, 0x12, 0x18, 0x1e, 0x06, 0x06, 0x0c, 0x1a, 0x04, 0x0b,
0x05, 0x08, 0x04, 0x1f, 0x0c, 0x08, 0x0a, 0x1f, 0x1a, 0x16, 0x0e, 0x1e, 0x16, 0x18, 0x18, 0x05,
0x00, 0x1a, 0x05, 0x15, 0x19, 0x10, 0x03, 0x0e, 0x10, 0x1c, 0x0a, 0x18, 0x00, 0x16, 0x0b, 0x05,
0x05, 0x15, 0x11, 0x0a, 0x1c, 0x00, 0x1e, 0x1f, 0x17, 0x12, 0x0a, 0x1c, 0x07, 0x04, 0x1f, 0x1a,
0x08, 0x09, 0x1f, 0x0f, 0x09, 0x09, 0x0b, 0x1d, 0x06, 0x13, 0x02, 0x15, 0x02, 0x0c, 0x0d, 0x19,
0x03, 0x13, 0x0c, 0x1f, 0x1a, 0x18, 0x17, 0x10, 0x0a, 0x19, 0x15, 0x04, 0x1f, 0x11, 0x1c, 0x02,
0x0e, 0x08, 0x06, 0x0a, 0x07, 0x1c, 0x10, 0x04, 0x11, 0x0c, 0x0a, 0x19, 0x0a, 0x04, 0x17, 0x07,
0x16, 0x1b, 0x1d, 0x15, 0x1d, 0x13, 0x0e, 0x03, 0x1a, 0x11, 0x14, 0x14, 0x03, 0x18, 0x07, 0x03,
0x08, 0x1a, 0x02, 0x0f, 0x0b, 0x11, 0x1c, 0x05, 0x19, 0x1d, 0x05, 0x01, 0x1f, 0x1c, 0x1d, 0x07,
0x07, 0x0c, 0x02, 0x16, 0x0e, 0x06, 0x0b, 0x07, 0x01, 0x1a, 0x09, 0x0e, 0x0e, 0x07, 0x0e, 0x15,
0x01, 0x16, 0x13, 0x15, 0x14, 0x07, 0x0c, 0x1f, 0x1f, 0x19, 0x17, 0x12, 0x19, 0x17, 0x0a, 0x1f,
0x0c, 0x16, 0x15, 0x1e, 0x05, 0x14, 0x05, 0x1c, 0x0b, 0x0d, 0x0c, 0x0a, 0x05, 0x09, 0x14, 0x02,
0x10, 0x02, 0x13, 0x05, 0x12, 0x17, 0x03, 0x0b, 0x1b, 0x06, 0x15, 0x0b, 0x01, 0x0b, 0x1b, 0x09,
0x10, 0x0a, 0x1e, 0x09, 0x08, 0x0a, 0x04, 0x13, 0x04, 0x12, 0x04, 0x0f, 0x0b, 0x0c, 0x06, 0x07,
0x03, 0x18, 0x00, 0x1e, 0x17, 0x00, 0x16, 0x08, 0x0d, 0x1c, 0x09, 0x07, 0x17, 0x18, 0x0b, 0x0d,
0x11, 0x0f, 0x14, 0x1e, 0x1a, 0x1b, 0x09, 0x15, 0x03, 0x07, 0x12, 0x16, 0x15, 0x11, 0x16, 0x1e,
0x14, 0x15, 0x00, 0x05, 0x15, 0x18, 0x18, 0x12, 0x18, 0x1e, 0x06, 0x06, 0x0c, 0x1a, 0x04, 0x0b,
0x05, 0x08, 0x04, 0x1f, 0x0c, 0x08, 0x0a, 0x1f, 0x1a, 0x16, 0x0e, 0x1e, 0x16, 0x18, 0x18, 0x05,
0x00, 0x1a, 0x05, 0x15, 0x19, 0x10, 0x03, 0x0e, 0x10, 0x1c, 0x0a, 0x18, 0x00, 0x16, 0x0b, 0x05,
0x05, 0x15, 0x11, 0x0a, 0x1c, 0x00, 0x1e, 0x1f, 0x17, 0x12, 0x0a, 0x1c, 0x07, 0x04, 0x1f, 0x1a,
};
static const UINT16 x11_r2[256] = {
0x347, 0x0f2, 0x182, 0x58f, 0x1f4, 0x42c, 0x407, 0x5f0, 0x6df, 0x2db, 0x585, 0x5fe, 0x394, 0x542, 0x3e8, 0x574,
0x4ea, 0x6d3, 0x6b7, 0x65b, 0x324, 0x143, 0x22a, 0x11d, 0x124, 0x365, 0x7ca, 0x3d6, 0x1d2, 0x7cd, 0x6b1, 0x4f1,
0x1de, 0x674, 0x685, 0x779, 0x264, 0x6d8, 0x379, 0x7ce, 0x201, 0x73b, 0x5c9, 0x025, 0x338, 0x4b2, 0x697, 0x567,
0x312, 0x04e, 0x78d, 0x492, 0x044, 0x203, 0x437, 0x04b, 0x729, 0x197, 0x6e2, 0x552, 0x517, 0x3c9, 0x09c, 0x3de,
0x2f8, 0x259, 0x1f0, 0x6ce, 0x6d6, 0x55d, 0x223, 0x65e, 0x7ca, 0x330, 0x3f7, 0x348, 0x640, 0x26d, 0x340, 0x2df,
0x752, 0x792, 0x5b0, 0x2fb, 0x398, 0x75c, 0x0a2, 0x524, 0x538, 0x74c, 0x1c5, 0x5a2, 0x522, 0x7c3, 0x6b3, 0x4f0,
0x5ac, 0x40b, 0x3e0, 0x1c8, 0x6ff, 0x291, 0x7c4, 0x47c, 0x6d9, 0x248, 0x623, 0x78d, 0x2cd, 0x356, 0x12a, 0x0bc,
0x582, 0x1d8, 0x1c6, 0x6eb, 0x7c2, 0x7f9, 0x650, 0x57d, 0x701, 0x7e5, 0x118, 0x1b4, 0x4ad, 0x2b8, 0x2bb, 0x765,
0x2d9, 0x46a, 0x020, 0x2da, 0x5e4, 0x115, 0x53c, 0x2b4, 0x16d, 0x0f7, 0x633, 0x1a6, 0x0a0, 0x3e6, 0x29d, 0x77b,
0x558, 0x185, 0x7b9, 0x0b1, 0x36e, 0x4d3, 0x7e2, 0x5f9, 0x3d2, 0x21e, 0x0e1, 0x2ac, 0x0fc, 0x0fc, 0x66d, 0x7b5,
0x4af, 0x627, 0x0f4, 0x621, 0x58f, 0x3d7, 0x1bc, 0x10a, 0x458, 0x259, 0x451, 0x770, 0x107, 0x134, 0x162, 0x32f,
0x5cf, 0x6c9, 0x670, 0x2d4, 0x0da, 0x739, 0x30c, 0x62f, 0x4af, 0x0e2, 0x3e3, 0x65c, 0x214, 0x066, 0x47d, 0x2f2,
0x729, 0x566, 0x450, 0x3f2, 0x35d, 0x593, 0x593, 0x532, 0x008, 0x270, 0x479, 0x358, 0x6f3, 0x7ed, 0x240, 0x587,
0x581, 0x00f, 0x750, 0x4d8, 0x1ab, 0x100, 0x47f, 0x34f, 0x497, 0x240, 0x769, 0x76f, 0x705, 0x375, 0x684, 0x273,
0x01f, 0x268, 0x2cc, 0x2d7, 0x5d4, 0x284, 0x40c, 0x5e8, 0x7c1, 0x281, 0x518, 0x4b0, 0x136, 0x73b, 0x3ea, 0x023,
0x1c1, 0x7de, 0x106, 0x275, 0x1e1, 0x503, 0x30a, 0x271, 0x4f8, 0x52b, 0x266, 0x375, 0x024, 0x399, 0x672, 0x6f8,
0x347, 0x0f2, 0x182, 0x58f, 0x1f4, 0x42c, 0x407, 0x5f0, 0x6df, 0x2db, 0x585, 0x5fe, 0x394, 0x542, 0x3e8, 0x574,
0x4ea, 0x6d3, 0x6b7, 0x65b, 0x324, 0x143, 0x22a, 0x11d, 0x124, 0x365, 0x7ca, 0x3d6, 0x1d2, 0x7cd, 0x6b1, 0x4f1,
0x1de, 0x674, 0x685, 0x779, 0x264, 0x6d8, 0x379, 0x7ce, 0x201, 0x73b, 0x5c9, 0x025, 0x338, 0x4b2, 0x697, 0x567,
0x312, 0x04e, 0x78d, 0x492, 0x044, 0x203, 0x437, 0x04b, 0x729, 0x197, 0x6e2, 0x552, 0x517, 0x3c9, 0x09c, 0x3de,
0x2f8, 0x259, 0x1f0, 0x6ce, 0x6d6, 0x55d, 0x223, 0x65e, 0x7ca, 0x330, 0x3f7, 0x348, 0x640, 0x26d, 0x340, 0x2df,
0x752, 0x792, 0x5b0, 0x2fb, 0x398, 0x75c, 0x0a2, 0x524, 0x538, 0x74c, 0x1c5, 0x5a2, 0x522, 0x7c3, 0x6b3, 0x4f0,
0x5ac, 0x40b, 0x3e0, 0x1c8, 0x6ff, 0x291, 0x7c4, 0x47c, 0x6d9, 0x248, 0x623, 0x78d, 0x2cd, 0x356, 0x12a, 0x0bc,
0x582, 0x1d8, 0x1c6, 0x6eb, 0x7c2, 0x7f9, 0x650, 0x57d, 0x701, 0x7e5, 0x118, 0x1b4, 0x4ad, 0x2b8, 0x2bb, 0x765,
0x2d9, 0x46a, 0x020, 0x2da, 0x5e4, 0x115, 0x53c, 0x2b4, 0x16d, 0x0f7, 0x633, 0x1a6, 0x0a0, 0x3e6, 0x29d, 0x77b,
0x558, 0x185, 0x7b9, 0x0b1, 0x36e, 0x4d3, 0x7e2, 0x5f9, 0x3d2, 0x21e, 0x0e1, 0x2ac, 0x0fc, 0x0fc, 0x66d, 0x7b5,
0x4af, 0x627, 0x0f4, 0x621, 0x58f, 0x3d7, 0x1bc, 0x10a, 0x458, 0x259, 0x451, 0x770, 0x107, 0x134, 0x162, 0x32f,
0x5cf, 0x6c9, 0x670, 0x2d4, 0x0da, 0x739, 0x30c, 0x62f, 0x4af, 0x0e2, 0x3e3, 0x65c, 0x214, 0x066, 0x47d, 0x2f2,
0x729, 0x566, 0x450, 0x3f2, 0x35d, 0x593, 0x593, 0x532, 0x008, 0x270, 0x479, 0x358, 0x6f3, 0x7ed, 0x240, 0x587,
0x581, 0x00f, 0x750, 0x4d8, 0x1ab, 0x100, 0x47f, 0x34f, 0x497, 0x240, 0x769, 0x76f, 0x705, 0x375, 0x684, 0x273,
0x01f, 0x268, 0x2cc, 0x2d7, 0x5d4, 0x284, 0x40c, 0x5e8, 0x7c1, 0x281, 0x518, 0x4b0, 0x136, 0x73b, 0x3ea, 0x023,
0x1c1, 0x7de, 0x106, 0x275, 0x1e1, 0x503, 0x30a, 0x271, 0x4f8, 0x52b, 0x266, 0x375, 0x024, 0x399, 0x672, 0x6f8,
};
static const UINT8 rotate_zt[256] = {
@ -135,57 +135,57 @@ static const UINT8 rotate_zt[256] = {
};
static const UINT8 x5_zt[256] = {
0x0d, 0x14, 0x13, 0x1b, 0x1a, 0x05, 0x1a, 0x05, 0x1b, 0x17, 0x0d, 0x0f, 0x00, 0x17, 0x09, 0x04,
0x13, 0x0f, 0x14, 0x17, 0x14, 0x0f, 0x1b, 0x0a, 0x0a, 0x15, 0x07, 0x0b, 0x0e, 0x05, 0x18, 0x12,
0x1c, 0x01, 0x17, 0x02, 0x04, 0x00, 0x06, 0x12, 0x00, 0x0a, 0x1c, 0x19, 0x10, 0x1b, 0x16, 0x03,
0x1c, 0x13, 0x16, 0x13, 0x15, 0x1d, 0x04, 0x14, 0x17, 0x1d, 0x01, 0x03, 0x1f, 0x1f, 0x1a, 0x10,
0x08, 0x0c, 0x09, 0x16, 0x04, 0x19, 0x03, 0x14, 0x0c, 0x1d, 0x09, 0x08, 0x00, 0x1c, 0x0b, 0x18,
0x1b, 0x00, 0x16, 0x0f, 0x0b, 0x1c, 0x0d, 0x16, 0x09, 0x15, 0x0c, 0x01, 0x18, 0x04, 0x04, 0x03,
0x11, 0x0f, 0x03, 0x17, 0x04, 0x0a, 0x05, 0x1b, 0x08, 0x07, 0x0e, 0x08, 0x06, 0x16, 0x0f, 0x0d,
0x0a, 0x14, 0x0a, 0x11, 0x14, 0x02, 0x08, 0x1f, 0x0e, 0x13, 0x0e, 0x02, 0x08, 0x13, 0x04, 0x19,
0x0e, 0x00, 0x01, 0x1d, 0x02, 0x19, 0x08, 0x1c, 0x13, 0x09, 0x11, 0x14, 0x1e, 0x04, 0x03, 0x18,
0x1f, 0x05, 0x0f, 0x03, 0x09, 0x0d, 0x12, 0x0f, 0x0d, 0x0e, 0x15, 0x1a, 0x17, 0x1c, 0x1d, 0x10,
0x15, 0x00, 0x18, 0x18, 0x00, 0x08, 0x08, 0x01, 0x0d, 0x10, 0x14, 0x12, 0x03, 0x1c, 0x05, 0x0a,
0x0f, 0x0d, 0x15, 0x00, 0x0b, 0x1f, 0x00, 0x1d, 0x1d, 0x1a, 0x13, 0x16, 0x08, 0x1b, 0x03, 0x12,
0x02, 0x10, 0x0e, 0x10, 0x04, 0x05, 0x09, 0x07, 0x1d, 0x04, 0x05, 0x06, 0x17, 0x05, 0x1a, 0x04,
0x1f, 0x0e, 0x09, 0x13, 0x15, 0x12, 0x1c, 0x13, 0x03, 0x09, 0x12, 0x08, 0x19, 0x17, 0x00, 0x19,
0x1f, 0x06, 0x1c, 0x05, 0x18, 0x0a, 0x1f, 0x1e, 0x0d, 0x05, 0x1e, 0x1a, 0x11, 0x13, 0x15, 0x0c,
0x05, 0x16, 0x11, 0x06, 0x12, 0x0c, 0x0c, 0x0f, 0x1c, 0x18, 0x08, 0x1e, 0x1c, 0x16, 0x15, 0x03,
0x0d, 0x14, 0x13, 0x1b, 0x1a, 0x05, 0x1a, 0x05, 0x1b, 0x17, 0x0d, 0x0f, 0x00, 0x17, 0x09, 0x04,
0x13, 0x0f, 0x14, 0x17, 0x14, 0x0f, 0x1b, 0x0a, 0x0a, 0x15, 0x07, 0x0b, 0x0e, 0x05, 0x18, 0x12,
0x1c, 0x01, 0x17, 0x02, 0x04, 0x00, 0x06, 0x12, 0x00, 0x0a, 0x1c, 0x19, 0x10, 0x1b, 0x16, 0x03,
0x1c, 0x13, 0x16, 0x13, 0x15, 0x1d, 0x04, 0x14, 0x17, 0x1d, 0x01, 0x03, 0x1f, 0x1f, 0x1a, 0x10,
0x08, 0x0c, 0x09, 0x16, 0x04, 0x19, 0x03, 0x14, 0x0c, 0x1d, 0x09, 0x08, 0x00, 0x1c, 0x0b, 0x18,
0x1b, 0x00, 0x16, 0x0f, 0x0b, 0x1c, 0x0d, 0x16, 0x09, 0x15, 0x0c, 0x01, 0x18, 0x04, 0x04, 0x03,
0x11, 0x0f, 0x03, 0x17, 0x04, 0x0a, 0x05, 0x1b, 0x08, 0x07, 0x0e, 0x08, 0x06, 0x16, 0x0f, 0x0d,
0x0a, 0x14, 0x0a, 0x11, 0x14, 0x02, 0x08, 0x1f, 0x0e, 0x13, 0x0e, 0x02, 0x08, 0x13, 0x04, 0x19,
0x0e, 0x00, 0x01, 0x1d, 0x02, 0x19, 0x08, 0x1c, 0x13, 0x09, 0x11, 0x14, 0x1e, 0x04, 0x03, 0x18,
0x1f, 0x05, 0x0f, 0x03, 0x09, 0x0d, 0x12, 0x0f, 0x0d, 0x0e, 0x15, 0x1a, 0x17, 0x1c, 0x1d, 0x10,
0x15, 0x00, 0x18, 0x18, 0x00, 0x08, 0x08, 0x01, 0x0d, 0x10, 0x14, 0x12, 0x03, 0x1c, 0x05, 0x0a,
0x0f, 0x0d, 0x15, 0x00, 0x0b, 0x1f, 0x00, 0x1d, 0x1d, 0x1a, 0x13, 0x16, 0x08, 0x1b, 0x03, 0x12,
0x02, 0x10, 0x0e, 0x10, 0x04, 0x05, 0x09, 0x07, 0x1d, 0x04, 0x05, 0x06, 0x17, 0x05, 0x1a, 0x04,
0x1f, 0x0e, 0x09, 0x13, 0x15, 0x12, 0x1c, 0x13, 0x03, 0x09, 0x12, 0x08, 0x19, 0x17, 0x00, 0x19,
0x1f, 0x06, 0x1c, 0x05, 0x18, 0x0a, 0x1f, 0x1e, 0x0d, 0x05, 0x1e, 0x1a, 0x11, 0x13, 0x15, 0x0c,
0x05, 0x16, 0x11, 0x06, 0x12, 0x0c, 0x0c, 0x0f, 0x1c, 0x18, 0x08, 0x1e, 0x1c, 0x16, 0x15, 0x03,
};
static const UINT16 x11_zt[512] = {
0x7e9, 0x625, 0x625, 0x006, 0x006, 0x14a, 0x14a, 0x7e9, 0x657, 0x417, 0x417, 0x1a7, 0x1a7, 0x22f, 0x22f, 0x657,
0x37e, 0x447, 0x447, 0x117, 0x117, 0x735, 0x735, 0x37e, 0x3be, 0x487, 0x487, 0x724, 0x724, 0x6e3, 0x6e3, 0x3be,
0x646, 0x035, 0x035, 0x57e, 0x57e, 0x134, 0x134, 0x646, 0x09a, 0x4d1, 0x4d1, 0x511, 0x511, 0x5d5, 0x5d5, 0x09a,
0x3e2, 0x5c6, 0x5c6, 0x3b6, 0x3b6, 0x354, 0x354, 0x3e2, 0x6e3, 0x7d6, 0x7d6, 0x317, 0x317, 0x1f0, 0x1f0, 0x6e3,
0x115, 0x462, 0x462, 0x620, 0x620, 0x0ce, 0x0ce, 0x115, 0x715, 0x7ec, 0x7ec, 0x1e6, 0x1e6, 0x610, 0x610, 0x715,
0x34a, 0x718, 0x718, 0x7ba, 0x7ba, 0x288, 0x288, 0x34a, 0x6e7, 0x193, 0x193, 0x3d2, 0x3d2, 0x78f, 0x78f, 0x6e7,
0x57c, 0x014, 0x014, 0x6b3, 0x6b3, 0x204, 0x204, 0x57c, 0x3f4, 0x782, 0x782, 0x5b4, 0x5b4, 0x375, 0x375, 0x3f4,
0x17d, 0x660, 0x660, 0x48d, 0x48d, 0x7ff, 0x7ff, 0x17d, 0x5b1, 0x39d, 0x39d, 0x48c, 0x48c, 0x5ab, 0x5ab, 0x5b1,
0x3d3, 0x4f6, 0x4f6, 0x7b9, 0x7b9, 0x5df, 0x5df, 0x3d3, 0x349, 0x4c5, 0x4c5, 0x403, 0x403, 0x0ab, 0x0ab, 0x349,
0x46b, 0x790, 0x790, 0x59f, 0x59f, 0x2b1, 0x2b1, 0x46b, 0x6c5, 0x4e7, 0x4e7, 0x023, 0x023, 0x0b0, 0x0b0, 0x6c5,
0x2d6, 0x3e2, 0x3e2, 0x7f3, 0x7f3, 0x376, 0x376, 0x2d6, 0x2d7, 0x0bf, 0x0bf, 0x14b, 0x14b, 0x65b, 0x65b, 0x2d7,
0x68d, 0x360, 0x360, 0x434, 0x434, 0x5fa, 0x5fa, 0x68d, 0x654, 0x386, 0x386, 0x28b, 0x28b, 0x2e1, 0x2e1, 0x654,
0x1ee, 0x4e8, 0x4e8, 0x482, 0x482, 0x471, 0x471, 0x1ee, 0x221, 0x3de, 0x3de, 0x467, 0x467, 0x21b, 0x21b, 0x221,
0x7a6, 0x6b6, 0x6b6, 0x157, 0x157, 0x658, 0x658, 0x7a6, 0x1e9, 0x6e3, 0x6e3, 0x340, 0x340, 0x2cd, 0x2cd, 0x1e9,
0x045, 0x566, 0x566, 0x1f0, 0x1f0, 0x5a1, 0x5a1, 0x045, 0x559, 0x0d4, 0x0d4, 0x67c, 0x67c, 0x21a, 0x21a, 0x559,
0x187, 0x13b, 0x13b, 0x68e, 0x68e, 0x0f6, 0x0f6, 0x187, 0x2b5, 0x4c2, 0x4c2, 0x2b6, 0x2b6, 0x6a4, 0x6a4, 0x2b5,
0x56b, 0x1b2, 0x1b2, 0x15d, 0x15d, 0x3aa, 0x3aa, 0x56b, 0x506, 0x67a, 0x67a, 0x5db, 0x5db, 0x5ef, 0x5ef, 0x506,
0x5ab, 0x3ed, 0x3ed, 0x2b3, 0x2b3, 0x504, 0x504, 0x5ab, 0x137, 0x761, 0x761, 0x735, 0x735, 0x6e9, 0x6e9, 0x137,
0x35a, 0x7bb, 0x7bb, 0x190, 0x190, 0x0a8, 0x0a8, 0x35a, 0x797, 0x164, 0x164, 0x1b8, 0x1b8, 0x761, 0x761, 0x797,
0x138, 0x076, 0x076, 0x613, 0x613, 0x055, 0x055, 0x138, 0x2e2, 0x493, 0x493, 0x0c2, 0x0c2, 0x785, 0x785, 0x2e2,
0x60b, 0x41a, 0x41a, 0x22a, 0x22a, 0x2a1, 0x2a1, 0x60b, 0x5cb, 0x092, 0x092, 0x656, 0x656, 0x5db, 0x5db, 0x5cb,
0x00a, 0x490, 0x490, 0x39d, 0x39d, 0x572, 0x572, 0x00a, 0x600, 0x4cd, 0x4cd, 0x33f, 0x33f, 0x0bc, 0x0bc, 0x600,
0x047, 0x685, 0x685, 0x4b0, 0x4b0, 0x330, 0x330, 0x047, 0x7b4, 0x590, 0x590, 0x1db, 0x1db, 0x349, 0x349, 0x7b4,
0x6ae, 0x7a3, 0x7a3, 0x6fa, 0x6fa, 0x2d4, 0x2d4, 0x6ae, 0x117, 0x2fe, 0x2fe, 0x756, 0x756, 0x627, 0x627, 0x117,
0x337, 0x55e, 0x55e, 0x2ef, 0x2ef, 0x2a9, 0x2a9, 0x337, 0x382, 0x02a, 0x02a, 0x4af, 0x4af, 0x7fa, 0x7fa, 0x382,
0x73f, 0x6d8, 0x6d8, 0x7d2, 0x7d2, 0x52d, 0x52d, 0x73f, 0x385, 0x303, 0x303, 0x3eb, 0x3eb, 0x689, 0x689, 0x385,
0x6cd, 0x4c3, 0x4c3, 0x2df, 0x2df, 0x1d5, 0x1d5, 0x6cd, 0x7da, 0x44c, 0x44c, 0x764, 0x764, 0x7f6, 0x7f6, 0x7da,
0x7c1, 0x276, 0x276, 0x27f, 0x27f, 0x1c9, 0x1c9, 0x7c1, 0x58c, 0x001, 0x001, 0x07f, 0x07f, 0x62b, 0x62b, 0x58c,
0x374, 0x746, 0x746, 0x5b2, 0x5b2, 0x35e, 0x35e, 0x374, 0x64d, 0x1fd, 0x1fd, 0x2dc, 0x2dc, 0x550, 0x550, 0x64d,
0x33d, 0x40c, 0x40c, 0x3a4, 0x3a4, 0x293, 0x293, 0x33d, 0x0c0, 0x462, 0x462, 0x6fb, 0x6fb, 0x4b0, 0x4b0, 0x0c0,
0x2aa, 0x175, 0x175, 0x01e, 0x01e, 0x762, 0x762, 0x2aa, 0x216, 0x76b, 0x76b, 0x728, 0x728, 0x15f, 0x15f, 0x216,
0x30e, 0x0d8, 0x0d8, 0x55c, 0x55c, 0x31c, 0x31c, 0x30e, 0x351, 0x3dc, 0x3dc, 0x6c1, 0x6c1, 0x651, 0x651, 0x351,
0x7e9, 0x625, 0x625, 0x006, 0x006, 0x14a, 0x14a, 0x7e9, 0x657, 0x417, 0x417, 0x1a7, 0x1a7, 0x22f, 0x22f, 0x657,
0x37e, 0x447, 0x447, 0x117, 0x117, 0x735, 0x735, 0x37e, 0x3be, 0x487, 0x487, 0x724, 0x724, 0x6e3, 0x6e3, 0x3be,
0x646, 0x035, 0x035, 0x57e, 0x57e, 0x134, 0x134, 0x646, 0x09a, 0x4d1, 0x4d1, 0x511, 0x511, 0x5d5, 0x5d5, 0x09a,
0x3e2, 0x5c6, 0x5c6, 0x3b6, 0x3b6, 0x354, 0x354, 0x3e2, 0x6e3, 0x7d6, 0x7d6, 0x317, 0x317, 0x1f0, 0x1f0, 0x6e3,
0x115, 0x462, 0x462, 0x620, 0x620, 0x0ce, 0x0ce, 0x115, 0x715, 0x7ec, 0x7ec, 0x1e6, 0x1e6, 0x610, 0x610, 0x715,
0x34a, 0x718, 0x718, 0x7ba, 0x7ba, 0x288, 0x288, 0x34a, 0x6e7, 0x193, 0x193, 0x3d2, 0x3d2, 0x78f, 0x78f, 0x6e7,
0x57c, 0x014, 0x014, 0x6b3, 0x6b3, 0x204, 0x204, 0x57c, 0x3f4, 0x782, 0x782, 0x5b4, 0x5b4, 0x375, 0x375, 0x3f4,
0x17d, 0x660, 0x660, 0x48d, 0x48d, 0x7ff, 0x7ff, 0x17d, 0x5b1, 0x39d, 0x39d, 0x48c, 0x48c, 0x5ab, 0x5ab, 0x5b1,
0x3d3, 0x4f6, 0x4f6, 0x7b9, 0x7b9, 0x5df, 0x5df, 0x3d3, 0x349, 0x4c5, 0x4c5, 0x403, 0x403, 0x0ab, 0x0ab, 0x349,
0x46b, 0x790, 0x790, 0x59f, 0x59f, 0x2b1, 0x2b1, 0x46b, 0x6c5, 0x4e7, 0x4e7, 0x023, 0x023, 0x0b0, 0x0b0, 0x6c5,
0x2d6, 0x3e2, 0x3e2, 0x7f3, 0x7f3, 0x376, 0x376, 0x2d6, 0x2d7, 0x0bf, 0x0bf, 0x14b, 0x14b, 0x65b, 0x65b, 0x2d7,
0x68d, 0x360, 0x360, 0x434, 0x434, 0x5fa, 0x5fa, 0x68d, 0x654, 0x386, 0x386, 0x28b, 0x28b, 0x2e1, 0x2e1, 0x654,
0x1ee, 0x4e8, 0x4e8, 0x482, 0x482, 0x471, 0x471, 0x1ee, 0x221, 0x3de, 0x3de, 0x467, 0x467, 0x21b, 0x21b, 0x221,
0x7a6, 0x6b6, 0x6b6, 0x157, 0x157, 0x658, 0x658, 0x7a6, 0x1e9, 0x6e3, 0x6e3, 0x340, 0x340, 0x2cd, 0x2cd, 0x1e9,
0x045, 0x566, 0x566, 0x1f0, 0x1f0, 0x5a1, 0x5a1, 0x045, 0x559, 0x0d4, 0x0d4, 0x67c, 0x67c, 0x21a, 0x21a, 0x559,
0x187, 0x13b, 0x13b, 0x68e, 0x68e, 0x0f6, 0x0f6, 0x187, 0x2b5, 0x4c2, 0x4c2, 0x2b6, 0x2b6, 0x6a4, 0x6a4, 0x2b5,
0x56b, 0x1b2, 0x1b2, 0x15d, 0x15d, 0x3aa, 0x3aa, 0x56b, 0x506, 0x67a, 0x67a, 0x5db, 0x5db, 0x5ef, 0x5ef, 0x506,
0x5ab, 0x3ed, 0x3ed, 0x2b3, 0x2b3, 0x504, 0x504, 0x5ab, 0x137, 0x761, 0x761, 0x735, 0x735, 0x6e9, 0x6e9, 0x137,
0x35a, 0x7bb, 0x7bb, 0x190, 0x190, 0x0a8, 0x0a8, 0x35a, 0x797, 0x164, 0x164, 0x1b8, 0x1b8, 0x761, 0x761, 0x797,
0x138, 0x076, 0x076, 0x613, 0x613, 0x055, 0x055, 0x138, 0x2e2, 0x493, 0x493, 0x0c2, 0x0c2, 0x785, 0x785, 0x2e2,
0x60b, 0x41a, 0x41a, 0x22a, 0x22a, 0x2a1, 0x2a1, 0x60b, 0x5cb, 0x092, 0x092, 0x656, 0x656, 0x5db, 0x5db, 0x5cb,
0x00a, 0x490, 0x490, 0x39d, 0x39d, 0x572, 0x572, 0x00a, 0x600, 0x4cd, 0x4cd, 0x33f, 0x33f, 0x0bc, 0x0bc, 0x600,
0x047, 0x685, 0x685, 0x4b0, 0x4b0, 0x330, 0x330, 0x047, 0x7b4, 0x590, 0x590, 0x1db, 0x1db, 0x349, 0x349, 0x7b4,
0x6ae, 0x7a3, 0x7a3, 0x6fa, 0x6fa, 0x2d4, 0x2d4, 0x6ae, 0x117, 0x2fe, 0x2fe, 0x756, 0x756, 0x627, 0x627, 0x117,
0x337, 0x55e, 0x55e, 0x2ef, 0x2ef, 0x2a9, 0x2a9, 0x337, 0x382, 0x02a, 0x02a, 0x4af, 0x4af, 0x7fa, 0x7fa, 0x382,
0x73f, 0x6d8, 0x6d8, 0x7d2, 0x7d2, 0x52d, 0x52d, 0x73f, 0x385, 0x303, 0x303, 0x3eb, 0x3eb, 0x689, 0x689, 0x385,
0x6cd, 0x4c3, 0x4c3, 0x2df, 0x2df, 0x1d5, 0x1d5, 0x6cd, 0x7da, 0x44c, 0x44c, 0x764, 0x764, 0x7f6, 0x7f6, 0x7da,
0x7c1, 0x276, 0x276, 0x27f, 0x27f, 0x1c9, 0x1c9, 0x7c1, 0x58c, 0x001, 0x001, 0x07f, 0x07f, 0x62b, 0x62b, 0x58c,
0x374, 0x746, 0x746, 0x5b2, 0x5b2, 0x35e, 0x35e, 0x374, 0x64d, 0x1fd, 0x1fd, 0x2dc, 0x2dc, 0x550, 0x550, 0x64d,
0x33d, 0x40c, 0x40c, 0x3a4, 0x3a4, 0x293, 0x293, 0x33d, 0x0c0, 0x462, 0x462, 0x6fb, 0x6fb, 0x4b0, 0x4b0, 0x0c0,
0x2aa, 0x175, 0x175, 0x01e, 0x01e, 0x762, 0x762, 0x2aa, 0x216, 0x76b, 0x76b, 0x728, 0x728, 0x15f, 0x15f, 0x216,
0x30e, 0x0d8, 0x0d8, 0x55c, 0x55c, 0x31c, 0x31c, 0x30e, 0x351, 0x3dc, 0x3dc, 0x6c1, 0x6c1, 0x651, 0x651, 0x351,
};
@ -221,7 +221,7 @@ static UINT32 core_decrypt(UINT32 ciphertext, int i1, int i2, int i3, int i4,
void raiden2_decrypt_sprites(running_machine &machine)
{
UINT32 *data = (UINT32 *)machine.root_device().memregion("gfx3")->base();
for(int i=0; i<0x800000/4; i++)
for(int i=0; i<0x800000/4; i++)
{
data[i] = core_decrypt(data[i],
(i&0xff) ^ BIT(i,15) ^ (BIT(i,20)<<8),
@ -241,7 +241,7 @@ void raiden2_decrypt_sprites(running_machine &machine)
void zeroteam_decrypt_sprites(running_machine &machine)
{
UINT32 *data = (UINT32 *)machine.root_device().memregion("gfx3")->base();
for(int i=0; i<0x400000/4; i++)
for(int i=0; i<0x400000/4; i++)
{
data[i] = core_decrypt(data[i],
i & 0xff,

View File

@ -112,10 +112,10 @@ void SEC::Do_Command(void)
case SEC_REQUEST_FINGERPRNT: Cmd_Get_Fpr(); break;
case SEC_REQUEST_LAST_CMD: Cmd_Get_Lst(); break;
case SEC_REQUEST_COUNT_VAL: Cmd_Get_Cnt(); break;
case SEC_SET_NUM_COUNTERS: Cmd_Set_Ncn(); break;
case SEC_SET_NUM_COUNTERS: Cmd_Set_Ncn(); break;
case SEC_SET_MARKET: Cmd_Set_Mrk(); break;
case SEC_SET_COUNTER_TXT: Cmd_Set_Txt(); break;
case SEC_COUNT_INC_SMALL: Cmd_Inc_Sml(); break;
case SEC_COUNT_INC_SMALL: Cmd_Inc_Sml(); break;
case SEC_COUNT_INC_MED: Cmd_Inc_Med(); break;
case SEC_COUNT_INC_LARGE: Cmd_Inc_Lrg(); break;
@ -149,7 +149,7 @@ void SEC::Cmd_Get_Err(void)
m_reply[3] = 0; // Last Error
m_reply[4] = CalcByteSum(1);
m_rxpos = 0;
m_rxclk = 0;
m_rxlen = 5;
@ -160,7 +160,7 @@ void SEC::Cmd_Get_Fpr(void)
m_reply[0] = SEC_DAT;
m_reply[1] = m_last;
m_reply[2] = 4;
// fingerprint
m_reply[3] = 0x11;
m_reply[4] = 0x01;
@ -168,7 +168,7 @@ void SEC::Cmd_Get_Fpr(void)
m_reply[6] = 0x00;
m_reply[7] = CalcByteSum(4);
m_rxpos = 0;
m_rxclk = 0;
m_rxlen = 8;
@ -179,7 +179,7 @@ void SEC::Cmd_Get_Lst(void)
m_reply[0] = SEC_DAT;
m_reply[1] = m_last;
m_reply[2] = 4;
// Last Command (is this really 4 bytes?)
m_reply[3] = m_last;
m_reply[4] = 0x00;
@ -187,7 +187,7 @@ void SEC::Cmd_Get_Lst(void)
m_reply[6] = 0x00;
m_reply[7] = CalcByteSum(4);
m_rxpos = 0;
m_rxclk = 0;
m_rxlen = 8;
@ -205,7 +205,7 @@ void SEC::Cmd_Get_Ver(void)
m_reply[5] = 'E';
m_reply[6] = CalcByteSum(3);
m_rxpos = 0;
m_rxclk = 0;
m_rxlen = 7;
@ -215,8 +215,8 @@ void SEC::Cmd_Get_Cnt(void)
{
char temp[10];
sprintf(temp,"%07d0", m_counters[m_request[3]]);
sprintf(temp,"%07d0", m_counters[m_request[3]]);
m_reply[0] = SEC_DAT;
m_reply[1] = m_last;
m_reply[2] = 4;
@ -227,7 +227,7 @@ void SEC::Cmd_Get_Cnt(void)
m_reply[6] = ((temp[6] - 0x30) << 4) + (temp[7] - 0x30);
m_reply[7] = CalcByteSum(4);
m_rxpos = 0;
m_rxclk = 0;
m_rxlen = 8;
@ -242,7 +242,7 @@ void SEC::Cmd_Get_Sta(void)
m_reply[3] = 0x20; // Status
m_reply[4] = CalcByteSum(1);
m_rxpos = 0;
m_rxclk = 0;
m_rxlen = 5;
@ -257,7 +257,7 @@ void SEC::Cmd_Get_Mrk(void)
m_reply[3] = m_market;
m_reply[4] = CalcByteSum(1);
m_rxpos = 0;
m_rxclk = 0;
m_rxlen = 5;
@ -278,7 +278,7 @@ void SEC::Cmd_Set_Ncn(void)
void SEC::Cmd_Set_Mrk(void)
{
m_market = m_request[3];
m_market = m_request[3];
m_reply[0] = SEC_ACK;
m_reply[1] = m_last;

View File

@ -254,10 +254,10 @@ int stepper_update(int which, UINT8 pattern)
default:
logerror("No reel type specified for %x!\n",which);
break;
case STARPOINT_48STEP_REEL : /* STARPOINT RMxxx */
case STARPOINT_200STEP_REEL :
case GAMESMAN_200STEP_REEL : /* Gamesman GMxxxx */
case GAMESMAN_200STEP_REEL : /* Gamesman GMxxxx */
case STARPOINT_144STEP_DICE :/* STARPOINT 1DCU DICE mechanism */
//Standard drive table is 2,6,4,5,1,9,8,a
//NOTE: This runs through the stator patterns in such a way as to drive the reel forward (downwards from the player's view, clockwise on our rose)
@ -401,7 +401,7 @@ int stepper_update(int which, UINT8 pattern)
break;
}
break;
case ECOIN_200STEP_REEL :
//While the 48 and 100 step models appear to be reverse driven Starpoint reels, the 200 step model seems bespoke, certainly in terms of wiring.
//On a Proconn machine this same pattern is seen but running in reverse

View File

@ -30,7 +30,7 @@
#define GAMESMAN_100STEP_REEL 7
#define GAMESMAN_200STEP_REEL 8
#define PROJECT_48STEP_REEL 9
#define PROJECT_48STEP_REEL 9
/*------------- Stepper motor interface structure -----------------*/

View File

@ -147,7 +147,7 @@ READ_LINE_MEMBER( ticket_dispenser_device::line_r )
//-------------------------------------------------
// write - write the control line via the active
// write - write the control line via the active
// bit
//-------------------------------------------------
@ -227,7 +227,7 @@ void ticket_dispenser_device::device_timer(emu_timer &timer, device_timer_id id,
// update LED status (fixme: should map to an output)
set_led_status(machine(), 2, (m_status == m_ticketdispensed));
// if we just dispensed, increment global count
if (m_status == m_ticketdispensed)
{

View File

@ -105,7 +105,7 @@ protected:
UINT8 m_motor_sense;
UINT8 m_status_sense;
attotime m_period;
// active state
UINT8 m_active_bit;
UINT8 m_motoron;

View File

@ -8968,7 +8968,7 @@ photoy2k104 //
puzlstar // (c) 1999 Puzzle Star
olds // (c) 1999 Oriental Legend Super / Special
olds100 //
olds100a //
olds100a //
kov2 // (c) 2000 Knights of Valor 2
kov2106 //
kov2103 //
@ -9010,7 +9010,7 @@ ketb //
ddpdoj // (c) 2002 DoDonPachi Dai-Ou-Jou
ddpdoja //
ddpdojb //
ddpdojblk //
ddpdojblk //
espgal // (c) 2003 Espgaluda
// IGS PGM2 Platform

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