Cleanups and version bump.

This commit is contained in:
Aaron Giles 2010-09-19 05:09:00 +00:00
parent cbffdbb1d7
commit 7a4744d31d
59 changed files with 438 additions and 438 deletions

View File

@ -300,10 +300,10 @@ inline void adsp21xx_device::stat_stack_pop()
/*
inline int adsp21xx_device::condition(int c)
{
if (c != 14)
return m_condition_table[((c) << 8) | m_astat];
else
return slow_condition(c);
if (c != 14)
return m_condition_table[((c) << 8) | m_astat];
else
return slow_condition(c);
}
*/
@ -413,7 +413,7 @@ void adsp21xx_device::write_reg3(int regnum, INT32 val)
switch (regnum)
{
case 0x00: m_astat = val & 0x00ff; break;
case 0x01: m_mstat = val & m_mstat_mask; update_mstat(); break;
case 0x01: m_mstat = val & m_mstat_mask; update_mstat(); break;
case 0x03: m_imask = val & m_imask_mask; check_irqs(); break;
case 0x04: m_icntl = val & 0x001f; check_irqs(); break;
case 0x05: cntr_stack_push(); m_cntr = val & 0x3fff; break;

View File

@ -1,8 +1,8 @@
/***************************************************************************
ADSP2100.c
ADSP2100.c
ADSP-21xx series emulator.
ADSP-21xx series emulator.
****************************************************************************
@ -285,21 +285,21 @@ UINT32 adsp2181_device_config::execute_input_lines() const
const address_space_config *adsp2100_device_config::memory_space_config(int spacenum) const
{
return (spacenum == AS_PROGRAM) ? &m_program_config :
return (spacenum == AS_PROGRAM) ? &m_program_config :
(spacenum == AS_DATA) ? &m_data_config :
NULL;
}
const address_space_config *adsp2101_device_config::memory_space_config(int spacenum) const
{
return (spacenum == AS_PROGRAM) ? &m_program_config :
return (spacenum == AS_PROGRAM) ? &m_program_config :
(spacenum == AS_DATA) ? &m_data_config :
NULL;
}
const address_space_config *adsp2181_device_config::memory_space_config(int spacenum) const
{
return (spacenum == AS_PROGRAM) ? &m_program_config :
return (spacenum == AS_PROGRAM) ? &m_program_config :
(spacenum == AS_DATA) ? &m_data_config :
(spacenum == AS_IO) ? &m_io_config :
NULL;
@ -370,7 +370,7 @@ adsp21xx_device::adsp21xx_device(running_machine &_machine, const adsp21xx_devic
m_icount(0),
m_mstat_mask((config.m_chip_type >= adsp21xx_device_config::CHIP_TYPE_ADSP2101) ? 0x7f : 0x0f),
m_imask_mask((config.m_chip_type >= adsp21xx_device_config::CHIP_TYPE_ADSP2181) ? 0x3ff :
(config.m_chip_type >= adsp21xx_device_config::CHIP_TYPE_ADSP2101) ? 0x3f : 0x0f)
(config.m_chip_type >= adsp21xx_device_config::CHIP_TYPE_ADSP2101) ? 0x3f : 0x0f)
{
// initialize remaining state
memset(&m_core, 0, sizeof(m_core));

View File

@ -2,7 +2,7 @@
adsp2100.h
ADSP-21xx series emulator.
ADSP-21xx series emulator.
****************************************************************************
@ -192,7 +192,7 @@ protected:
inline void loop_stack_pop();
inline void stat_stack_push();
inline void stat_stack_pop();
// inline int condition(int c);
// inline int condition(int c);
int slow_condition();
inline void modify_address(UINT32 ireg, UINT32 mreg);
inline void data_write_dag1(UINT32 op, INT32 val);
@ -381,13 +381,13 @@ protected:
direct_read_data * m_direct;
// tables
UINT8 m_condition_table[0x1000];
UINT8 m_condition_table[0x1000];
UINT16 m_mask_table[0x4000];
UINT16 m_reverse_table[0x4000];
// debugging
#if ADSP_TRACK_HOTSPOTS
UINT32 m_pcbucket[0x4000];
UINT32 m_pcbucket[0x4000];
#endif
// flag definitions

View File

@ -61,7 +61,7 @@ const int EXCEPTION_TRAP0 = 1;
const int EXCEPTION_TRAPF = 2;
const int EXCEPTION_INTERRUPT = 3;
const int REGBASE = 0xffe0;
const int REGBASE = 0xffe0;

View File

@ -53,7 +53,7 @@ const UINT8 WATCHPOINT_READ = 1;
const UINT8 WATCHPOINT_WRITE = 2;
const UINT8 WATCHPOINT_READWRITE = WATCHPOINT_READ | WATCHPOINT_WRITE;
const int COMMENT_VERSION = 1;
const int COMMENT_VERSION = 1;

View File

@ -126,7 +126,7 @@ void devcb_stub(device_t *device, offs_t offset, UINT8 data)
#define DECLARE_READ_LINE_MEMBER(name) int name()
#define READ_LINE_MEMBER(name) int name()
#define DECLARE_WRITE_LINE_MEMBER(name) void name(ATTR_UNUSED int state)
#define WRITE_LINE_MEMBER(name) void name(ATTR_UNUSED int state)
#define WRITE_LINE_MEMBER(name) void name(ATTR_UNUSED int state)
/* macros for inline device handler initialization */

View File

@ -66,8 +66,8 @@ typedef _DeviceBase _DeviceClass; \
class _ConfigClass; \
\
class _ConfigClass : public _ConfigBase \
{ \
protected: \
{ \
protected: \
_ConfigClass(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock, UINT32 param = 0); \
\
public: \
@ -80,17 +80,17 @@ public: \
_ConfigClass::_ConfigClass(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock, UINT32 param) \
: _ConfigBase(mconfig, static_alloc_device_config, _Name, tag, owner, clock, param) \
{ \
} \
} \
\
device_config *_ConfigClass::static_alloc_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) \
{ \
return global_alloc(_ConfigClass(mconfig, tag, owner, clock, _Param)); \
} \
{ \
return global_alloc(_ConfigClass(mconfig, tag, owner, clock, _Param)); \
} \
\
device_t *_ConfigClass::alloc_device(running_machine &machine) const \
{ \
return auto_alloc(&machine, _DeviceClass(machine, *this)); \
} \
device_t *_ConfigClass::alloc_device(running_machine &machine) const \
{ \
return auto_alloc(&machine, _DeviceClass(machine, *this)); \
} \

View File

@ -88,12 +88,12 @@ protected:
// internal state
address_space_config m_space_config;
UINT32 m_type;
INT32 m_size;
UINT8 m_bits;
UINT8 m_device_id;
UINT8 m_maker_id;
bool m_sector_is_4k;
UINT32 m_type;
INT32 m_size;
UINT8 m_bits;
UINT8 m_device_id;
UINT8 m_maker_id;
bool m_sector_is_4k;
};
@ -126,10 +126,10 @@ protected:
// internal state
const intelfsh_device_config & m_config;
UINT8 m_status;
INT32 m_erase_sector;
INT32 m_flash_mode;
bool m_flash_master_lock;
UINT8 m_status;
INT32 m_erase_sector;
INT32 m_flash_mode;
bool m_flash_master_lock;
emu_timer * m_timer;
};

View File

@ -60,7 +60,7 @@ public:
protected:
// internal state
mc146818_type m_type;
mc146818_type m_type;
};
@ -98,15 +98,15 @@ protected:
const mc146818_device_config & m_config;
UINT8 m_index;
UINT8 m_data[MC146818_DATA_SIZE];
UINT8 m_index;
UINT8 m_data[MC146818_DATA_SIZE];
UINT16 m_eindex;
UINT8 m_edata[0x2000];
UINT16 m_eindex;
UINT8 m_edata[0x2000];
bool m_updated; /* update ended interrupt flag */
bool m_updated; /* update ended interrupt flag */
attotime m_last_refresh;
attotime m_last_refresh;
};

View File

@ -239,7 +239,7 @@ core_options *mame_options(void)
/*-------------------------------------------------
set_mame_options - set mame options, used by
validate option
validate option
-------------------------------------------------*/
void set_mame_options(core_options *options)

View File

@ -564,11 +564,11 @@ static WRITE8_HANDLER( ampoker2_watchdog_reset_w )
if (((data >> 3) & 0x01) == 0) /* check for refresh value (0x08) */
{
watchdog_reset(space->machine);
// popmessage("%02x", data);
// popmessage("%02x", data);
}
else
{
// popmessage("%02x", data);
// popmessage("%02x", data);
}
}
@ -1333,10 +1333,10 @@ static DRIVER_INIT( piccolop )
*/
// UINT8 *rom = memory_region(machine, "maincpu");
// UINT8 *rom = memory_region(machine, "maincpu");
// rom[0x138f] = 0x00;
// rom[0x1390] = 0x00;
// rom[0x138f] = 0x00;
// rom[0x1390] = 0x00;
}

View File

@ -182,7 +182,7 @@ static ADDRESS_MAP_START( aristmk5_map, ADDRESS_SPACE_PROGRAM, 32 )
/* MK-5 overrides */
AM_RANGE(0x03010420, 0x03010423) AM_WRITE(sram_banksel_w) // SRAM bank select write
// AM_RANGE(0x0301049c, 0x0301051f) AM_DEVREADWRITE("eeprom", eeprom_r, eeprom_w) // eeprom ???
// AM_RANGE(0x0301049c, 0x0301051f) AM_DEVREADWRITE("eeprom", eeprom_r, eeprom_w) // eeprom ???
AM_RANGE(0x03010810, 0x03010813) AM_READNOP //MK-5 specific, watchdog
// System Startup Code Enabled protection appears to be located at 0x3010400 - 0x30104ff
@ -280,7 +280,7 @@ static MACHINE_CONFIG_START( aristmk5, driver_device )
MDRV_MACHINE_START( aristmk5 )
MDRV_MACHINE_RESET( aristmk5 )
// MDRV_I2CMEM_ADD("i2cmem",i2cmem_interface)
// MDRV_I2CMEM_ADD("i2cmem",i2cmem_interface)
MDRV_SCREEN_ADD("screen", RASTER)
MDRV_SCREEN_REFRESH_RATE(60)

View File

@ -442,14 +442,14 @@ static INPUT_PORTS_START( dooyongm68_generic )
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
/*
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_COIN2 )
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_SERVICE1 )
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_COIN2 )
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_SERVICE1 )
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
*/
INPUT_PORTS_END

View File

@ -197,7 +197,7 @@ ADDRESS_MAP_END
static INPUT_PORTS_START( galastrm )
PORT_START("IN0")
// PORT_BIT( 0x00000001, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(1) /* Freeze input */
// PORT_BIT( 0x00000001, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_PLAYER(1) /* Freeze input */
PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x00000004, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x00000008, IP_ACTIVE_LOW, IPT_UNKNOWN )

View File

@ -473,7 +473,7 @@ static INPUT_PORTS_START( galpani2 )
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN )
// PORT_SERVICE_NO_TOGGLE( 0x2000, IP_ACTIVE_LOW )
// PORT_SERVICE_NO_TOGGLE( 0x2000, IP_ACTIVE_LOW )
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_TILT )
PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_SERVICE1 )

View File

@ -283,7 +283,7 @@ static PALETTE_INIT( goldngam )
static READ16_HANDLER(unk_r)
{
int test1 = (mame_rand(space->machine) & 0xae00);
// popmessage("VAL = %02x", test1);
// popmessage("VAL = %02x", test1);
return test1;
}

View File

@ -172,9 +172,9 @@ static READ8_HANDLER(unk_r)
}
static ADDRESS_MAP_START( jubileep_cru_map, ADDRESS_SPACE_IO, 8 )
// AM_RANGE(0x0000, 0xffff) AM_READ(unk_r)
// AM_RANGE(0x00, 0x00) AM_DEVREADWRITE("crtc", mc6845_status_r, mc6845_address_w)
// AM_RANGE(0x01, 0x01) AM_DEVREADWRITE("crtc", mc6845_register_r, mc6845_register_w)
// AM_RANGE(0x0000, 0xffff) AM_READ(unk_r)
// AM_RANGE(0x00, 0x00) AM_DEVREADWRITE("crtc", mc6845_status_r, mc6845_address_w)
// AM_RANGE(0x01, 0x01) AM_DEVREADWRITE("crtc", mc6845_register_r, mc6845_register_w)
AM_RANGE(0xc8, 0xc8) AM_READ(unk_r)
ADDRESS_MAP_END

View File

@ -230,7 +230,7 @@ static INPUT_PORTS_START( pipeline )
PORT_DIPSETTING( 0x03, DEF_STR( 5C_1C ) )
PORT_DIPSETTING( 0x01, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
// PORT_DIPSETTING( 0x7f, DEF_STR( 1C_1C ) ) /* duplicated setting */
// PORT_DIPSETTING( 0x7f, DEF_STR( 1C_1C ) ) /* duplicated setting */
PORT_DIPSETTING( 0x0f, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x1f, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x3f, DEF_STR( 1C_4C ) )
@ -243,7 +243,7 @@ static INPUT_PORTS_START( pipeline )
PORT_DIPNAME( 0x07, 0x00, DEF_STR( Difficulty ) )
PORT_DIPSETTING( 0x00, DEF_STR( Easy ) ) /* table at 0x35eb */
PORT_DIPSETTING( 0x01, DEF_STR( Medium ) ) /* table at 0x35c5 */
// PORT_DIPSETTING( 0x07, DEF_STR( Medium ) ) /* duplicated setting */
// PORT_DIPSETTING( 0x07, DEF_STR( Medium ) ) /* duplicated setting */
PORT_DIPSETTING( 0x03, DEF_STR( Hard ) ) /* table at 0x35a0 */
PORT_DIPNAME( 0x18, 0x18, "Water Speed" ) /* check code at 0x2619 - table at 0x5685 */
PORT_DIPSETTING( 0x18, "Slowest" ) /* 0x12 */

View File

@ -107,8 +107,8 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( mcu_io_map, ADDRESS_SPACE_IO, 8 )
// AM_RANGE(MB88_PORTK, MB88_PORTK) AM_READ(mcu_portk_r)
// AM_RANGE(MB88_PORTR0, MB88_PORTR0) AM_READWRITE(mcu_portr0_r, mcu_portr0_w)
// AM_RANGE(MB88_PORTK, MB88_PORTK) AM_READ(mcu_portk_r)
// AM_RANGE(MB88_PORTR0, MB88_PORTR0) AM_READWRITE(mcu_portr0_r, mcu_portr0_w)
ADDRESS_MAP_END
/****************************************************************************/

View File

@ -334,5 +334,5 @@ MACHINE_CONFIG_FRAGMENT(pcat_common)
MDRV_I8237_ADD( "dma8237_1", XTAL_14_31818MHz/3, dma8237_1_config )
MDRV_I8237_ADD( "dma8237_2", XTAL_14_31818MHz/3, dma8237_2_config )
MDRV_PIT8254_ADD( "pit8254", at_pit8254_config )
// MDRV_MC146818_ADD( "rtc", MC146818_STANDARD )
// MDRV_MC146818_ADD( "rtc", MC146818_STANDARD )
MACHINE_CONFIG_END

View File

@ -3320,7 +3320,7 @@ V-V TP-027
DRIVER( aquarush ) /* 2000.02 Aqua Rush (AQ1/VER.A1, Japan) */
DRIVER( golgo13 ) /* 2000.03 Golgo 13 (GLG1/VER.A, Japan) */
DRIVER( sws2000 ) /* 2000.03 Super World Stadium 2000 (SS01/VER.A, Japan) */
// DRIVER( truckk ) /* 2000.06 Truck Kyousoukyoku (Metro) */
// DRIVER( truckk ) /* 2000.06 Truck Kyousoukyoku (Metro) */
/* 2000.07 Kart Duel */
/* 2000.08 Teknowerk */
DRIVER( g13knd ) /* 2000.10 Golgo 13 Kiseki no Dandou (GLS1/VER.A, Japan) */
@ -10123,13 +10123,13 @@ Other Sun games
/* Igrosoft Original sets */
/* Multifish */
//DRIVER( mfish ) /* (c) 2002 */
//DRIVER( mfish_2 ) /* (c) 2002 */
//DRIVER( mfish_4 ) /* (c) 2002 */
//DRIVER( mfish_5 ) /* (c) 2002 */
//DRIVER( mfish_7 ) /* (c) 2002 */
//DRIVER( mfish_8 ) /* (c) 2002 */
//DRIVER( mfish_9 ) /* (c) 2002 */
//DRIVER( mfish ) /* (c) 2002 */
//DRIVER( mfish_2 ) /* (c) 2002 */
//DRIVER( mfish_4 ) /* (c) 2002 */
//DRIVER( mfish_5 ) /* (c) 2002 */
//DRIVER( mfish_7 ) /* (c) 2002 */
//DRIVER( mfish_8 ) /* (c) 2002 */
//DRIVER( mfish_9 ) /* (c) 2002 */
//DRIVER( mfish_10 ) /* (c) 2002 */
//DRIVER( mfish_13 ) /* (c) 2002 */
DRIVER( mfish_3 ) /* (c) 2002 */
@ -10139,22 +10139,22 @@ Other Sun games
DRIVER( mfish_13 ) /* (c) 2002 */
/* Crazy Monkey */
//DRIVER( crzmon ) /* (c) 2003 */
//DRIVER( crzmon_2 ) /* (c) 2003 */
//DRIVER( crzmon_3 ) /* (c) 2003 */
//DRIVER( crzmon_4 ) /* (c) 2003 */
//DRIVER( crzmon_5 ) /* (c) 2003 */
//DRIVER( crzmon_6 ) /* (c) 2003 */
//DRIVER( crzmon ) /* (c) 2003 */
//DRIVER( crzmon_2 ) /* (c) 2003 */
//DRIVER( crzmon_3 ) /* (c) 2003 */
//DRIVER( crzmon_4 ) /* (c) 2003 */
//DRIVER( crzmon_5 ) /* (c) 2003 */
//DRIVER( crzmon_6 ) /* (c) 2003 */
DRIVER( crzmon_5 ) /* (c) 2003 */
DRIVER( crzmon_7 ) /* (c) 2003 */
DRIVER( crzmon_8 ) /* (c) 2003 */
DRIVER( crzmon_9 ) /* (c) 2003 */
/* Fruit Cocktail */
//DRIVER( fcockt ) /* (c) 2003 */
//DRIVER( fcockt_2 ) /* (c) 2003 */
//DRIVER( fcockt_3 ) /* (c) 2003 */
//DRIVER( fcockt_4 ) /* (c) 2003 */
//DRIVER( fcockt ) /* (c) 2003 */
//DRIVER( fcockt_2 ) /* (c) 2003 */
//DRIVER( fcockt_3 ) /* (c) 2003 */
//DRIVER( fcockt_4 ) /* (c) 2003 */
DRIVER( fcockt_5 ) /* (c) 2003 */
DRIVER( fcockt_6 ) /* (c) 2003 */
DRIVER( fcockt_7 ) /* (c) 2003 */
@ -10165,9 +10165,9 @@ Other Sun games
DRIVER( fcockt_12 ) /* (c) 2003 */
/* Lucky Haunter */
//DRIVER( lhaunt ) /* (c) 2003 */
//DRIVER( lhaunt_2 ) /* (c) 2003 */
//DRIVER( lhaunt_3 ) /* (c) 2003 */
//DRIVER( lhaunt ) /* (c) 2003 */
//DRIVER( lhaunt_2 ) /* (c) 2003 */
//DRIVER( lhaunt_3 ) /* (c) 2003 */
DRIVER( lhaunt_4 ) /* (c) 2003 */
DRIVER( lhaunt_5 ) /* (c) 2003 */
DRIVER( lhaunt_6 ) /* (c) 2003 */
@ -10175,20 +10175,20 @@ Other Sun games
DRIVER( lhaunt_8 ) /* (c) 2003 */
/* Rollfruit */
//DRIVER( rollfr ) /* (c) 2003 */
//DRIVER( rollfr ) /* (c) 2003 */
DRIVER( rollfr_2 ) /* (c) 2003 */
/* Garage */
//DRIVER( garage ) /* (c) 2004 */
//DRIVER( garage_2 ) /* (c) 2004 */
//DRIVER( garage_3 ) /* (c) 2004 */
//DRIVER( garage ) /* (c) 2004 */
//DRIVER( garage_2 ) /* (c) 2004 */
//DRIVER( garage_3 ) /* (c) 2004 */
DRIVER( garage_4 ) /* (c) 2004 */
DRIVER( garage_5 ) /* (c) 2004 */
DRIVER( garage_6 ) /* (c) 2004 */
DRIVER( garage_7 ) /* (c) 2004 */
/* Rock Climber */
//DRIVER( rclimb_2 ) /* (c) 2004 */
//DRIVER( rclimb_2 ) /* (c) 2004 */
DRIVER( rclimb ) /* (c) 2004 */
DRIVER( rclimb_3 ) /* (c) 2004 */
DRIVER( rclimb_4 ) /* (c) 2004 */
@ -10199,7 +10199,7 @@ Other Sun games
DRIVER( sweetl_2 ) /* (c) 2004 */
/* Resident */
//DRIVER( resdnt ) /* (c) 2004 */
//DRIVER( resdnt ) /* (c) 2004 */
DRIVER( resdnt_2 ) /* (c) 2004 */
DRIVER( resdnt_3 ) /* (c) 2004 */
@ -10207,9 +10207,9 @@ Other Sun games
DRIVER( island ) /* (c) 2005 */
/* Pirate */
//DRIVER( pirate ) /* (c) 2005 */
//DRIVER( pirate ) /* (c) 2005 */
DRIVER( pirate_2 ) /* (c) 2005 */
DRIVER( pirate_3 ) /* (c) 2005 */
DRIVER( pirate_3 ) /* (c) 2005 */
DRIVER( pirate_4 ) /* (c) 2005 */
/* Island 2 */
@ -10290,7 +10290,7 @@ Other Sun games
DRIVER( resdnt_2g ) /* bootleg */
DRIVER( islanda ) /* bootleg - Island */
DRIVER( islandb ) /* bootleg */
DRIVER( islandc ) /* bootleg */
DRIVER( islandc ) /* bootleg */
DRIVER( island2a ) /* bootleg - Island 2 */
DRIVER( island2b ) /* bootleg */
DRIVER( island2c ) /* bootleg */
@ -10312,7 +10312,7 @@ Other Sun games
DRIVER( keks_2b ) /* bootleg */
DRIVER( keks_2c ) /* bootleg */
DRIVER( keks_2d ) /* bootleg */
DRIVER( keks_2e ) /* bootleg */
DRIVER( keks_2e ) /* bootleg */
DRIVER( keks_2f ) /* bootleg */
DRIVER( keks_2g ) /* bootleg */
DRIVER( keks_3a ) /* bootleg */

View File

@ -243,141 +243,141 @@ VIDEO_START( gdfs )
/***************************************************************************
CRT controller, registers that are read
(vblank etc.?)
CRT controller, registers that are read
(vblank etc.?)
1c0000 (wait for bit .. to become ..)
1c0000 (wait for bit .. to become ..)
keithlcy: bit D, 0 -> 1
keithlcy: bit D, 0 -> 1
mslider: bit A, 0
mslider: bit A, 0
hypreact:
meosism:
srmp7:
sxyreact:
ultrax: bit F, 0
hypreact:
meosism:
srmp7:
sxyreact:
ultrax: bit F, 0
twineag2:
hypreac2: bit C, 1 -> 0
bit F, 0
twineag2:
hypreac2: bit C, 1 -> 0
bit F, 0
janjans1:
srmp4:
survarts: no checks
janjans1:
srmp4:
survarts: no checks
ryorioh:
drifto94: bit D, 0 -> 1
bit A, 0
ryorioh:
drifto94: bit D, 0 -> 1
bit A, 0
CRT controller, registers that are written
(resolution, visible area, flipping etc.)
CRT controller, registers that are written
(resolution, visible area, flipping etc.)
1c0060-61 ---- ---- ---- ---- ? 21 or 2b for all games
1c0062-63 fedc ba98 7654 3210 x start visible area
1c0064-65 fedc ba98 7654 3210 x end visible area
1c0066-67 ---- ---- ---- ---- ? 1c6 for all games
1c0068-69 ---- ---- ---- ---- ? 1 for all games
1c006a-6b fedc ba98 7654 3210 y start visible area
1c006c-6d fedc ba98 7654 3210 y end visible area
1c006e-6f ---- ---- ---- ---- ? 106 for all games
1c0070-71 ---- ---- ---- ---- ?
---- --98 7654 3210 y global tilemap offset
1c0072-73 ---- ---- ---- ---- ?
1c0074-75 ---- ---- ---- ---- ?
-e-- ---- ---- ---- y sprite inversion
---c ---- ---- ---- x sprite inversion?
---- ba98 ---- ---- ? 0101 for all games
---- ---- -6-- ---- y tilemap inversion?
---- ---- ---4 ---- x tilemap inversion?
1c0076-77 -e-- ---- ---- ---- global/local sprites coordinates
---- ---- -6-- ---- shadow (2bits - 4bits)
1c0078-79 ---- ---- ---- ---- ?
1c007a-7b ---- ---- ---- ---- ?
---- -a-- ---- ---- left-right up-down inversion
1c0060-61 ---- ---- ---- ---- ? 21 or 2b for all games
1c0062-63 fedc ba98 7654 3210 x start visible area
1c0064-65 fedc ba98 7654 3210 x end visible area
1c0066-67 ---- ---- ---- ---- ? 1c6 for all games
1c0068-69 ---- ---- ---- ---- ? 1 for all games
1c006a-6b fedc ba98 7654 3210 y start visible area
1c006c-6d fedc ba98 7654 3210 y end visible area
1c006e-6f ---- ---- ---- ---- ? 106 for all games
1c0070-71 ---- ---- ---- ---- ?
---- --98 7654 3210 y global tilemap offset
1c0072-73 ---- ---- ---- ---- ?
1c0074-75 ---- ---- ---- ---- ?
-e-- ---- ---- ---- y sprite inversion
---c ---- ---- ---- x sprite inversion?
---- ba98 ---- ---- ? 0101 for all games
---- ---- -6-- ---- y tilemap inversion?
---- ---- ---4 ---- x tilemap inversion?
1c0076-77 -e-- ---- ---- ---- global/local sprites coordinates
---- ---- -6-- ---- shadow (2bits - 4bits)
1c0078-79 ---- ---- ---- ---- ?
1c007a-7b ---- ---- ---- ---- ?
---- -a-- ---- ---- left-right up-down inversion
1c0060-7f:
1c0060-7f:
drifto94: 0000 0025 00cd 01c6 - 0001 0013 0101 0106
0300 0711 0500 0000 - 0015 5940
03ea 5558 (flip)
drifto94: 0000 0025 00cd 01c6 - 0001 0013 0101 0106
0300 0711 0500 0000 - 0015 5940
03ea 5558 (flip)
dynagear: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
02fd 0000 0500 0000 - 0015 5940
???? ???? (flip)
dynagear: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
02fd 0000 0500 0000 - 0015 5940
???? ???? (flip)
eaglshot: 0021 002a 00ca 01c6 - 0001 0016 00f6 0106
0301 0000 0500 d000 - 0015 5940
???? ???? (flip)
eaglshot: 0021 002a 00ca 01c6 - 0001 0016 00f6 0106
0301 0000 0500 d000 - 0015 5940
???? ???? (flip)
gdfs: 002b 002c 00d5 01c6 - 0001 0012 0102 0106
03ec 0711 0500 0000 - 00d5 5950
03ec 1557 (flip)
gdfs: 002b 002c 00d5 01c6 - 0001 0012 0102 0106
03ec 0711 0500 0000 - 00d5 5950
03ec 1557 (flip)
hypreact: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106
0301 0000 0500 c000 - 0015 5140
03f0 5558 (flip)
hypreact: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106
0301 0000 0500 c000 - 0015 5140
03f0 5558 (flip)
hypreac2: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106
0301 0000 05ff c000 - 0015 5140
03ea 5558 (flip)
hypreac2: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106
0301 0000 05ff c000 - 0015 5140
03ea 5558 (flip)
janjans1: 0021 0023 00cb 01c6 - 0001 000f 00fe 0106
0300 0000 0500 c000 - 0015 5140
0300 (flip)
janjans1: 0021 0023 00cb 01c6 - 0001 000f 00fe 0106
0300 0000 0500 c000 - 0015 5140
0300 (flip)
keithlcy: 002b 0025 00cd 01c6 - 0001 0013 0101 0106
0300 0711 0500 0000 - 0015 5940
03ea 5558 (flip)
keithlcy: 002b 0025 00cd 01c6 - 0001 0013 0101 0106
0300 0711 0500 0000 - 0015 5940
03ea 5558 (flip)
meosism: 002b 002c 00d5 01c6 - 0001 0012 00fe 0106
0301 0000 0500 c000 - 0015 5140
(no flip)
meosism: 002b 002c 00d5 01c6 - 0001 0012 00fe 0106
0301 0000 0500 c000 - 0015 5140
(no flip)
mslider: 0021 0026 00d6 01c6 - 0001 000e 00fe 0106
03f1 0711 5550 c080 - 0015 5940
0301 0500 (flip)
mslider: 0021 0026 00d6 01c6 - 0001 000e 00fe 0106
03f1 0711 5550 c080 - 0015 5940
0301 0500 (flip)
ryorioh: 0021 0023*00cb 01c6 - 0001 000f 00fe 0106
0300 0000 0500 c000 - 0015 5140
03ed 5558 (flip) *0025
ryorioh: 0021 0023*00cb 01c6 - 0001 000f 00fe 0106
0300 0000 0500 c000 - 0015 5140
03ed 5558 (flip) *0025
srmp4: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
0301 0711 0500 0000 - 0015 4940
ffe8 5557 (flip)
srmp4: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
0301 0711 0500 0000 - 0015 4940
ffe8 5557 (flip)
srmp7: 002b 002c 00d4 01c6 - 0001 000e 00fd 0106
0000 0000 e500 0000 - 0015 7140
02f2 b558 (flip)
srmp7: 002b 002c 00d4 01c6 - 0001 000e 00fd 0106
0000 0000 e500 0000 - 0015 7140
02f2 b558 (flip)
stmblade: 0021 0026 00d6 01c6 - 0001 000e 00fe 0106
03f1 0711 5550 c080 - 0015 5940 <- 711 becomes 0 during gameplay
0301 0500 (flip)
stmblade: 0021 0026 00d6 01c6 - 0001 000e 00fe 0106
03f1 0711 5550 c080 - 0015 5940 <- 711 becomes 0 during gameplay
0301 0500 (flip)
survarts: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
0301 0000 0500 0000 - 0015 5140
03e9 5558 (flip)
survarts: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
0301 0000 0500 0000 - 0015 5140
03e9 5558 (flip)
sxyreact: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106
0301 0000 0500 c000 - 0015 5140
03ef 5558 (flip)
sxyreact: 0021 0022 00cb 01c6 - 0001 000e 00fe 0106
0301 0000 0500 c000 - 0015 5140
03ef 5558 (flip)
sxyreac2: 0021 0023 00cb 01c6 - 0001 000e 00fe 0106
0301 0000 0500 c000 - 0015 5140
???? ???? (flip)
sxyreac2: 0021 0023 00cb 01c6 - 0001 000e 00fe 0106
0301 0000 0500 c000 - 0015 5140
???? ???? (flip)
twineag2: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
ffec 0000 e500 4000 - 0315 7940
???? ???? (flip)
twineag2: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
ffec 0000 e500 4000 - 0315 7940
???? ???? (flip)
ultrax: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
ffec 0000 e500 4000 - 0315 7940
02fe b558 (flip)
ultrax: 002b 002c 00d4 01c6 - 0001 0012 0102 0106
ffec 0000 e500 4000 - 0315 7940
02fe b558 (flip)
vasara & 0021 0024 00cc 01c6 - 0001 000e 00fe 0106
vasara2: 03f1 0000 6500 c000 - 0015 5140
0301 3558 (flip)
vasara & 0021 0024 00cc 01c6 - 0001 000e 00fe 0106
vasara2: 03f1 0000 6500 c000 - 0015 5140
0301 3558 (flip)
***************************************************************************/
@ -652,7 +652,7 @@ static void draw_row(running_machine *machine, bitmap_t *bitmap, const rectangle
/* Get the scroll data */
x = ssv_scroll[ scroll * 4 + 0 ]; // x scroll
y = ssv_scroll[ scroll * 4 + 1 ]; // y scroll
// ssv_scroll[ scroll * 4 + 2 ]; // ???
// ssv_scroll[ scroll * 4 + 2 ]; // ???
mode = ssv_scroll[ scroll * 4 + 3 ]; // layer disabled, shadow, depth etc.
/* Background layer disabled */
@ -774,7 +774,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
tilemaps_offsy = ((s2[3] & 0x1ff) - (s2[3] & 0x200));
/* Every single sprite is offset by x & yoffs, and additionally
by one of the 8 x & y offsets in the 1c0040-1c005f area */
by one of the 8 x & y offsets in the 1c0040-1c005f area */
xoffs += ssv_scroll[((mode & 0x00e0) >> 4) + 0x40/2];
yoffs += ssv_scroll[((mode & 0x00e0) >> 4) + 0x42/2];
@ -1189,7 +1189,7 @@ VIDEO_UPDATE( ssv )
clip.min_y = (cliprect->max_y + state->scroll[0x6a/2]) - state->scroll[0x6c/2] + 1;
clip.max_y = (cliprect->max_y + state->scroll[0x6a/2]) - state->scroll[0x6a/2] ;
// printf("%04x %04x %04x %04x\n",clip.min_x, clip.max_x, clip.min_y, clip.max_y);
// printf("%04x %04x %04x %04x\n",clip.min_x, clip.max_x, clip.min_y, clip.max_y);
if (clip.min_x < 0) clip.min_x = 0;
if (clip.min_y < 0) clip.min_y = 0;

View File

@ -470,7 +470,7 @@ chd_error chdcd_parse_cue(const char *tocfname, cdrom_toc *outtoc, chdcd_track_i
outinfo->idx0offs[trknum] = -1;
outinfo->idx1offs[trknum] = 0;
strcpy(&outinfo->fname[trknum][0], lastfname); // default filename to the last one
// printf("trk %d: fname %s offset %d\n", trknum, &outinfo->fname[trknum][0], outinfo->offset[trknum]);
// printf("trk %d: fname %s offset %d\n", trknum, &outinfo->fname[trknum][0], outinfo->offset[trknum]);
cdrom_convert_type_string_to_track_info(token, &outtoc->tracks[trknum]);
if (outtoc->tracks[trknum].datasize == 0)
@ -532,7 +532,7 @@ chd_error chdcd_parse_cue(const char *tocfname, cdrom_toc *outtoc, chdcd_track_i
}
}
/* close the input CUE */
/* close the input CUE */
fclose(infile);
/* store the number of tracks found */

View File

@ -10,4 +10,4 @@
***************************************************************************/
extern const char build_version[];
const char build_version[] = "0.139u2 ("__DATE__")";
const char build_version[] = "0.139u3 ("__DATE__")";