Cleanups and version bump.

This commit is contained in:
Aaron Giles 2010-07-06 17:30:28 +00:00
parent bcd97e9880
commit 30662dcdef
63 changed files with 811 additions and 811 deletions

View File

@ -904,8 +904,8 @@ static int info_listsoftware(core_options *options, const char *gamename)
fprintf( out, "\t\t\t<part name=\"%s\"", part->name );
if ( part->interface_ )
fprintf( out, " interface=\"%s\"", part->interface_ );
// if ( part->feature )
// fprintf( out, " features=\"%s\"", part->feature );
// if ( part->feature )
// fprintf( out, " features=\"%s\"", part->feature );
fprintf( out, ">\n");
/* TODO: display rom region information */
@ -978,7 +978,7 @@ static int info_listsoftware(core_options *options, const char *gamename)
/*-------------------------------------------------
softlist_match_roms - scan for a matching
software ROM by hash
software ROM by hash
-------------------------------------------------*/
static void softlist_match_roms(core_options *options, const char *hash, int length, int *found)
{

View File

@ -512,7 +512,7 @@ struct _tms99xx_state
INLINE tms99xx_state *get_safe_token(running_device *device)
{
assert(device != NULL);
// assert(device->type() == TMS99XX_GET_INFO);
// assert(device->type() == TMS99XX_GET_INFO);
return (tms99xx_state *)downcast<legacy_cpu_device *>(device)->token();
}

View File

@ -480,10 +480,10 @@ debug_view *debug_view_manager::alloc_view(debug_view_type type, debug_view_osd_
return append(auto_alloc(&m_machine, debug_view_log(m_machine, osdupdate, osdprivate)));
case DVT_TIMERS:
// return append(auto_alloc(&m_machine, debug_view_timers(m_machine, osdupdate, osdprivate)));
// return append(auto_alloc(&m_machine, debug_view_timers(m_machine, osdupdate, osdprivate)));
case DVT_ALLOCS:
// return append(auto_alloc(&m_machine, debug_view_allocs(m_machine, osdupdate, osdprivate)));
// return append(auto_alloc(&m_machine, debug_view_allocs(m_machine, osdupdate, osdprivate)));
default:
fatalerror("Attempt to create invalid debug view type %d\n", type);

View File

@ -242,7 +242,7 @@ protected:
running_machine & m_machine; // machine associated with this view
debug_view_type m_type; // type of view
const debug_view_source *m_source; // currently selected data source
debug_view_source_list m_source_list; // list of available data sources
debug_view_source_list m_source_list; // list of available data sources
// OSD data
debug_view_osd_update_func m_osdupdate; // callback for the update

View File

@ -209,7 +209,7 @@ device_config *basename##_device_config::static_alloc_device_config(const machin
return global_alloc(basename##_device_config(mconfig, static_alloc_device_config, tag, owner, clock)); \
} \
\
device_t *basename##_device_config::alloc_device(running_machine &machine) const \
device_t *basename##_device_config::alloc_device(running_machine &machine) const \
{ \
return pool_alloc(machine_get_pool(machine), basename##_device(machine, *this)); \
} \

View File

@ -544,7 +544,7 @@ int device_image_interface::read_hash_config(const char *sysname)
goto done;
/* copy the relevant entries */
m_longname = info->longname ? astring(info->longname) : "";
m_longname = info->longname ? astring(info->longname) : "";
m_manufacturer = info->manufacturer ? astring(info->manufacturer) : "";
m_year = info->year ? astring(info->year) : "";
m_playable = info->playable ? astring(info->playable) : "";

View File

@ -489,7 +489,7 @@ void image_battery_save_by_name(const char *filename, const void *buffer, int le
/*-------------------------------------------------
image_from_absolute_index - retreives index number
of image in device list
of image in device list
-------------------------------------------------*/
device_image_interface *image_from_absolute_index(running_machine *machine, int absolute_index)
{
@ -506,8 +506,8 @@ device_image_interface *image_from_absolute_index(running_machine *machine, int
/*-------------------------------------------------
image_add_device_with_subdevices - adds
device with parameters sent, and all subdevices
from it's machine config devices list
device with parameters sent, and all subdevices
from it's machine config devices list
-------------------------------------------------*/
void image_add_device_with_subdevices(device_t *owner, device_type type, const char *tag, UINT32 clock)
{

View File

@ -79,7 +79,7 @@
- calls debugger_init() [debugger.c] to set up the debugger
- calls the driver's MACHINE_START, SOUND_START, and VIDEO_START callbacks
- calls cheat_init() [cheat.c] to initialize the cheat system
- calls image_init() [image.c] to initialize the image system
- calls image_init() [image.c] to initialize the image system
- calls config_load_settings() [config.c] to load the configuration file
- calls nvram_load [machine/generic.c] to load NVRAM

View File

@ -241,20 +241,20 @@ public:
{
void set(struct tm &t);
UINT8 second; // seconds (0-59)
UINT8 minute; // minutes (0-59)
UINT8 hour; // hours (0-23)
UINT8 mday; // day of month (1-31)
UINT8 month; // month (0-11)
INT32 year; // year (1=1 AD)
UINT8 weekday; // day of week (0-6)
UINT16 day; // day of year (0-365)
UINT8 is_dst; // is this daylight savings?
UINT8 second; // seconds (0-59)
UINT8 minute; // minutes (0-59)
UINT8 hour; // hours (0-23)
UINT8 mday; // day of month (1-31)
UINT8 month; // month (0-11)
INT32 year; // year (1=1 AD)
UINT8 weekday; // day of week (0-6)
UINT16 day; // day of year (0-365)
UINT8 is_dst; // is this daylight savings?
};
INT64 time; // number of seconds elapsed since midnight, January 1 1970 UTC
full_time local_time; // local time
full_time utc_time; // UTC coordinated time
INT64 time; // number of seconds elapsed since midnight, January 1 1970 UTC
full_time local_time; // local time
full_time utc_time; // UTC coordinated time
};

View File

@ -51,7 +51,7 @@
- calls debugger_init() [debugger.c] to set up the debugger
- calls the driver's MACHINE_START, SOUND_START, and VIDEO_START callbacks
- calls cheat_init() [cheat.c] to initialize the cheat system
- calls image_init() [image.c] to initialize the image system
- calls image_init() [image.c] to initialize the image system
- calls config_load_settings() [config.c] to load the configuration file
- calls nvram_load [machine/generic.c] to load NVRAM

View File

@ -1262,7 +1262,7 @@ void ui_paste(running_machine *machine)
/*-------------------------------------------------
ui_image_handler_ingame - execute display
callback function for each image device
callback function for each image device
-------------------------------------------------*/
void ui_image_handler_ingame(running_machine *machine)

View File

@ -1059,7 +1059,7 @@ static MACHINE_DRIVER_START( schaser )
/* basic machine hardware */
MDRV_IMPORT_FROM(mw8080bw_root)
MDRV_CPU_REPLACE("maincpu",I8080,1996800) /* 19.968MHz / 10 */
MDRV_CPU_REPLACE("maincpu",I8080,1996800) /* 19.968MHz / 10 */
MDRV_CPU_PROGRAM_MAP(schaser_map)
MDRV_CPU_IO_MAP(schaser_io_map)
MDRV_WATCHDOG_VBLANK_INIT(255)
@ -1468,7 +1468,7 @@ static MACHINE_DRIVER_START( polaris )
/* basic machine hardware */
MDRV_IMPORT_FROM(mw8080bw_root)
MDRV_CPU_REPLACE("maincpu",I8080,1996800) /* 19.968MHz / 10 */
MDRV_CPU_REPLACE("maincpu",I8080,1996800) /* 19.968MHz / 10 */
MDRV_CPU_PROGRAM_MAP(schaser_map)
MDRV_CPU_IO_MAP(polaris_io_map)
MDRV_WATCHDOG_VBLANK_INIT(255)
@ -2292,7 +2292,7 @@ BOARD 1:
|_________________________________________________________________________________________________________________________________|
XTAL=19,66080MHz
XTAL=19,66080MHz
BOARD 2:
@ -2359,11 +2359,11 @@ BOARD 2:
// might need custom implementation
static ADDRESS_MAP_START( modelr_io_map, ADDRESS_SPACE_IO, 8 )
// AM_RANGE(0x00, 0x00) AM_DEVWRITE("mb14241", mb14241_shift_count_w)
// AM_RANGE(0x01, 0x01) AM_DEVREAD("mb14241", mb14241_shift_result_r)
// AM_RANGE(0x00, 0x00) AM_DEVWRITE("mb14241", mb14241_shift_count_w)
// AM_RANGE(0x01, 0x01) AM_DEVREAD("mb14241", mb14241_shift_result_r)
AM_RANGE(0x02, 0x02) AM_DEVWRITE("mb14241", mb14241_shift_data_w)
AM_RANGE(0x03, 0x03) AM_DEVREAD("mb14241", mb14241_shift_result_r)
// AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_shift_count_w)
// AM_RANGE(0x04, 0x04) AM_DEVWRITE("mb14241", mb14241_shift_count_w)
AM_RANGE(0x05, 0x05) AM_WRITE(watchdog_reset_w)
ADDRESS_MAP_END

View File

@ -426,7 +426,7 @@ static READ8_DEVICE_HANDLER(via_b_r)
break;
default:
break; //timer will reset the input
break; //timer will reset the input
}
@ -578,7 +578,7 @@ static WRITE8_DEVICE_HANDLER(via_cb2_w)
// as soon as it is 1, HOPCO1 to remain 'ON'
if (data==0x01)
hopper_motor=data;
hopper_motor=data;
else if (hopper_motor<0x02)
hopper_motor=data;
}
@ -680,7 +680,7 @@ static INPUT_PORTS_START(aristmk4)
PORT_DIPNAME( 0x01, 0x00, "HOPCO2") // coins out hopper 2 , why triggers logic door ?
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5002:1")
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
PORT_DIPNAME( 0x02, 0x02, "CBOPT2") // coin in cash box 2
PORT_DIPNAME( 0x02, 0x02, "CBOPT2") // coin in cash box 2
PORT_DIPSETTING( 0x02, DEF_STR( On ) ) PORT_DIPLOCATION("5002:2")
PORT_DIPNAME( 0x04, 0x00, "HOPHI2") // hopper 2 full
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5002:3")
@ -688,7 +688,7 @@ static INPUT_PORTS_START(aristmk4)
PORT_DIPNAME( 0x08, 0x00, "DOPTI") // photo optic door
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("AUDTSW") PORT_TOGGLE PORT_CODE(KEYCODE_K)
PORT_DIPNAME( 0x20, 0x00, "HOPLO1") // hopper 1 low
PORT_DIPNAME( 0x20, 0x00, "HOPLO1") // hopper 1 low
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5002:6")
PORT_DIPSETTING( 0x20, DEF_STR( On ) )
PORT_DIPNAME( 0x40, 0x00, "HOPLO2") // hopper 2 low
@ -707,7 +707,7 @@ static INPUT_PORTS_START(aristmk4)
PORT_DIPNAME( 0x01, 0x00, "OPTAUI") // opto audit in
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5003:1")
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("DSWDT") PORT_TOGGLE PORT_CODE(KEYCODE_M) // main door switch
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("DSWDT") PORT_TOGGLE PORT_CODE(KEYCODE_M) // main door switch
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("JKPTSW") PORT_TOGGLE PORT_CODE(KEYCODE_J) // jackpot reset switch
PORT_DIPNAME( 0x08, 0x00, "HOPHI1") // hopper 1 full
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5003:4")
@ -715,7 +715,7 @@ static INPUT_PORTS_START(aristmk4)
PORT_DIPNAME( 0x10, 0x00, "OPTA2") // coin in a2
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5003:5")
PORT_DIPSETTING( 0x10, DEF_STR( On ) )
PORT_DIPNAME( 0x20, 0x20, "OPTB2") // coin in b2
PORT_DIPNAME( 0x20, 0x20, "OPTB2") // coin in b2
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPLOCATION("5003:6")
PORT_DIPSETTING( 0x20, DEF_STR( On ) )
PORT_DIPNAME( 0x40, 0x00, "PTRTAC") // printer taco

View File

@ -731,7 +731,7 @@ ROM_START( scherrym )
ROM_LOAD16_WORD( "f11.bin", 0x000000, 0x40000, CRC(8967f58d) SHA1(eb01a16b7d108f5fbe5de8f611b4f77869aedbf1) )
ROM_REGION( 0x080000, "gfx", ROMREGION_ERASEFF )
// ROM_LOAD( "12a.bin", 0x000000, 0x80000,NO_DUMP ) // missing on PCB - 2 PCBs have been found this way, it probably uploads the GFX.
// ROM_LOAD( "12a.bin", 0x000000, 0x80000,NO_DUMP ) // missing on PCB - 2 PCBs have been found this way, it probably uploads the GFX.
ROM_REGION( 0x400, "proms", 0 )
ROM_LOAD( "n82s135-1.bin", 0x000, 0x100, CRC(66ed363f) SHA1(65bd37842c441c2e712844b07c0cfe37ef16d0ef) )

View File

@ -814,14 +814,14 @@ ADDRESS_MAP_END
/******************************************************************************/
/*
Gondomania schematics show the following:
Gondomania schematics show the following:
Port P0 - attached to 2 * LS374 at location 4C & 1C
Port P1 - attached to 2 * LS374 at location 3C & 2C
Port P2.2 -> SECIRQ (IRQ to main CPU)
Port P2.3 -> 'COUNT' (Enable coin counter - also wired directly to coinage) [not emulated]
Port P2.4-7 -> Enable latches 4C, 1C, 3C, 2C
Port P3.4-7 -> Directly attached to coinage connector (3 coins & service)
Port P0 - attached to 2 * LS374 at location 4C & 1C
Port P1 - attached to 2 * LS374 at location 3C & 2C
Port P2.2 -> SECIRQ (IRQ to main CPU)
Port P2.3 -> 'COUNT' (Enable coin counter - also wired directly to coinage) [not emulated]
Port P2.4-7 -> Enable latches 4C, 1C, 3C, 2C
Port P3.4-7 -> Directly attached to coinage connector (3 coins & service)
*/

View File

@ -114,7 +114,7 @@ WRITE16_HANDLER( palette_data_w )
WRITE16_HANDLER( palette_reset_w )
{
// printf("palette reset write %04x\n",data);
// printf("palette reset write %04x\n",data);
paldac_select = 0;
paldac_offset = 0;

View File

@ -320,7 +320,7 @@ static VIDEO_UPDATE( pinkiri8 )
}
else if (spr_offs<0x580)
{
// height = 2;
// height = 2;
}
else if (spr_offs<0x880)
{
@ -328,11 +328,11 @@ static VIDEO_UPDATE( pinkiri8 )
}
else if (spr_offs<0x1000)
{
// height = 2;
// height = 2;
}
else if (spr_offs<0x1080)
{
// height = 2;
// height = 2;
}
else if (spr_offs<0x1700)
{
@ -340,7 +340,7 @@ static VIDEO_UPDATE( pinkiri8 )
}
else if (spr_offs<0x1730)
{
// height = 2;
// height = 2;
}
else if (spr_offs<0x1930)
{

View File

@ -115,7 +115,7 @@ ADDRESS_MAP_END
static UINT8 mux_data;
static ADDRESS_MAP_START( rbmk_mcu_mem, ADDRESS_SPACE_PROGRAM, 8 )
// AM_RANGE(0x0000, 0x0fff) AM_ROM
// AM_RANGE(0x0000, 0x0fff) AM_ROM
ADDRESS_MAP_END
static READ8_HANDLER( rbmk_mcu_io_r )
@ -547,7 +547,7 @@ static MACHINE_DRIVER_START( rbmk )
MDRV_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.47)
MDRV_SOUND_ADD("ymsnd", YM2151, 22000000 / 8)
// MDRV_SOUND_CONFIG(ym2151_config)
// MDRV_SOUND_CONFIG(ym2151_config)
MDRV_SOUND_ROUTE(0, "lspeaker", 0.60)
MDRV_SOUND_ROUTE(1, "rspeaker", 0.60)
MACHINE_DRIVER_END

View File

@ -710,8 +710,8 @@ static ADDRESS_MAP_START( renegade_mcu_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0004, 0x0004) AM_WRITE(renegade_68705_ddr_a_w)
AM_RANGE(0x0005, 0x0005) AM_WRITE(renegade_68705_ddr_b_w)
AM_RANGE(0x0006, 0x0006) AM_WRITE(renegade_68705_ddr_c_w)
// AM_RANGE(0x0008, 0x0008) AM_READWRITE(m68705_tdr_r, m68705_tdr_w)
// AM_RANGE(0x0009, 0x0009) AM_READWRITE(m68705_tcr_r, m68705_tcr_w)
// AM_RANGE(0x0008, 0x0008) AM_READWRITE(m68705_tdr_r, m68705_tdr_w)
// AM_RANGE(0x0009, 0x0009) AM_READWRITE(m68705_tcr_r, m68705_tcr_w)
AM_RANGE(0x0010, 0x007f) AM_RAM
AM_RANGE(0x0080, 0x07ff) AM_ROM
ADDRESS_MAP_END

View File

@ -450,8 +450,8 @@ static ADDRESS_MAP_START( mcu_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0004, 0x0004) AM_WRITE(xain_68705_ddr_a_w)
AM_RANGE(0x0005, 0x0005) AM_WRITE(xain_68705_ddr_b_w)
AM_RANGE(0x0006, 0x0006) AM_WRITE(xain_68705_ddr_c_w)
// AM_RANGE(0x0008, 0x0008) AM_READWRITE(m68705_tdr_r, m68705_tdr_w)
// AM_RANGE(0x0009, 0x0009) AM_READWRITE(m68705_tcr_r, m68705_tcr_w)
// AM_RANGE(0x0008, 0x0008) AM_READWRITE(m68705_tdr_r, m68705_tdr_w)
// AM_RANGE(0x0009, 0x0009) AM_READWRITE(m68705_tcr_r, m68705_tcr_w)
AM_RANGE(0x0010, 0x007f) AM_RAM
AM_RANGE(0x0080, 0x07ff) AM_ROM
ADDRESS_MAP_END

View File

@ -293,37 +293,37 @@ static WRITE16_HANDLER( hippodrm_68000_share_w )
/******************************************************************************/
/*
Heavy Barrel I8751 connections
Heavy Barrel I8751 connections
P0.0 - P0.7 <-> 4 * LS374 latches 8B,8C,7B,7C
P0.0 - P0.7 <-> 4 * LS374 latches 8B,8C,7B,7C
P1.0 -> MIXFLG1
P1.1 -> MIXFLG2
P1.2 -> B0FLG
P1.3 -> B1FLG1
P1.4 -> B1FLG2
P1.5 -> SOUNDFLG1
P1.6 -> SOUNDFLG2
P1.0 -> MIXFLG1
P1.1 -> MIXFLG2
P1.2 -> B0FLG
P1.3 -> B1FLG1
P1.4 -> B1FLG2
P1.5 -> SOUNDFLG1
P1.6 -> SOUNDFLG2
P2.0 -> B2FLG 0
P2.1 -> B2FLG 1
P2.2 <- SEL2
P2.3 -> acknowledge INT1
P2.4 -> Enable latch 7B
P2.5 -> Enable latch 8B
P2.6 -> Enable latch 8C
P2.7 -> Enable latch 7C
P2.0 -> B2FLG 0
P2.1 -> B2FLG 1
P2.2 <- SEL2
P2.3 -> acknowledge INT1
P2.4 -> Enable latch 7B
P2.5 -> Enable latch 8B
P2.6 -> Enable latch 8C
P2.7 -> Enable latch 7C
P3.0 -> CRBACK0
P3.1 -> CRBACK1
P3.2 -> CRBACK2
P3.3 <- /INT1
P3.5 <- SEL3
P3.6 <- SEL4
P3.7 <- SEL5
P3.0 -> CRBACK0
P3.1 -> CRBACK1
P3.2 -> CRBACK2
P3.3 <- /INT1
P3.5 <- SEL3
P3.6 <- SEL4
P3.7 <- SEL5
The outputs to the graphics & audio hardware are not directly emulated, but the
values are not known to change after bootup.
The outputs to the graphics & audio hardware are not directly emulated, but the
values are not known to change after bootup.
*/
static UINT8 i8751_ports[4];

View File

@ -560,7 +560,7 @@ static void cclimber_draw_sprites(bitmap_t *bitmap, const rectangle *cliprect, c
{
int x = cclimber_spriteram[offs + 3] + 1;
/* x + 1 is evident in cclimber and ckong. It looks worse,
but it has been confirmed on several PCBs. */
but it has been confirmed on several PCBs. */
int y = 240 - cclimber_spriteram[offs + 2];

View File

@ -110,7 +110,7 @@ public:
func_ptr operator *() const { return m_function; }
private:
func_ptr m_function;
func_ptr m_function;
};
@ -201,7 +201,7 @@ public:
void start();
void stop();
// void reset();
// void reset();
void print_results(symbol_manager &symbols);
private:
@ -1054,10 +1054,10 @@ bool symbol_manager::parse_sym_line(const char *line, FPTR &address, astring &sy
{
#ifdef __GNUC__
/*
32-bit gcc symbol line:
32-bit gcc symbol line:
[271778](sec 1)(fl 0x00)(ty 20)(scl 3) (nx 0) 0x007df675 line_to_symbol(char const*, unsigned int&, bool)
64-bit gcc symbol line:
64-bit gcc symbol line:
[271775](sec 1)(fl 0x00)(ty 20)(scl 3) (nx 0) 0x00000000008dd1e9 line_to_symbol(char const*, unsigned long long&, bool)
*/

View File

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