Cleanups and version bump.

This commit is contained in:
Aaron Giles 2008-09-11 16:25:46 +00:00
parent ae2d1ed21a
commit aa2b6bd29a
46 changed files with 132 additions and 132 deletions

View File

@ -435,8 +435,8 @@ printf("Frame:%05d\n", frame);
player->pia[0x20] = 0xf0 | ((chapter / 10) % 10); player->pia[0x20] = 0xf0 | ((chapter / 10) % 10);
player->pia[0x21] = 0xf0 | ((chapter / 1) % 10); player->pia[0x21] = 0xf0 | ((chapter / 1) % 10);
} }
// else // else
// player->pia[0xc0] = 0x00; // player->pia[0xc0] = 0x00;
} }
player->pia[0xc0] |= 12;//4;//fieldnum << 2; player->pia[0xc0] |= 12;//4;//fieldnum << 2;
@ -754,7 +754,7 @@ static void pr8210_control_w(laserdisc_state *ld, UINT8 prev, UINT8 data)
#if EMULATE_PR8210_ROM #if EMULATE_PR8210_ROM
printf("Command = %02X\n", newcommand); printf("Command = %02X\n", newcommand);
// player->pia_porta = BITSWAP8(newcommand, 4,3,2,1,0,5,6,7); // player->pia_porta = BITSWAP8(newcommand, 4,3,2,1,0,5,6,7);
player->pia_porta = BITSWAP8(newcommand, 0,1,2,3,4,5,6,7); player->pia_porta = BITSWAP8(newcommand, 0,1,2,3,4,5,6,7);
#else #else
/* if we got a double command, act on it */ /* if we got a double command, act on it */
@ -944,7 +944,7 @@ static READ8_HANDLER( pr8210_pia_r )
case 0xa0: case 0xa0:
// printf("%03X:pia_r(%02X) = %02X\n", activecpu_get_pc(), offset, player->pia_porta); // printf("%03X:pia_r(%02X) = %02X\n", activecpu_get_pc(), offset, player->pia_porta);
result = player->pia_porta; result = player->pia_porta;
// player->pia_porta = 0; // player->pia_porta = 0;
break; break;
default: default:

View File

@ -1764,8 +1764,8 @@ int render_target_map_point_container(render_target *target, INT32 target_x, INT
/*------------------------------------------------- /*-------------------------------------------------
render_target_map_point_input - attempts to map render_target_map_point_input - attempts to map
a point on the specified render_target to the a point on the specified render_target to the
specified container, if possible specified container, if possible
-------------------------------------------------*/ -------------------------------------------------*/
int render_target_map_point_input(render_target *target, INT32 target_x, INT32 target_y, const char **input_tag, UINT32 *input_mask, float *input_x, float *input_y) int render_target_map_point_input(render_target *target, INT32 target_x, INT32 target_y, const char **input_tag, UINT32 *input_mask, float *input_x, float *input_y)

View File

@ -665,15 +665,15 @@ static int validate_roms(int drivnum, const machine_config *config, region_info
} }
/* if this is a bios rom, make sure it has the same flags as the last system bios entry */ /* if this is a bios rom, make sure it has the same flags as the last system bios entry */
/* bios_flags = ROM_GETBIOSFLAGS(romp); /* bios_flags = ROM_GETBIOSFLAGS(romp);
if (bios_flags != 0) if (bios_flags != 0)
{ {
if (bios_flags != last_bios) if (bios_flags != last_bios)
{ {
mame_printf_error("%s: %s has bios rom name %s without preceding matching system bios definition\n", driver->source_file, driver->name, last_name); mame_printf_error("%s: %s has bios rom name %s without preceding matching system bios definition\n", driver->source_file, driver->name, last_name);
error = TRUE; error = TRUE;
} }
}*/ }*/
/* make sure the has is valid */ /* make sure the has is valid */
hash = ROM_GETHASHDATA(romp); hash = ROM_GETHASHDATA(romp);

View File

@ -135,7 +135,7 @@ file_error core_fopen(const char *filename, UINT32 openflags, core_file **file)
/*------------------------------------------------- /*-------------------------------------------------
core_fopen_ram_internal - open a RAM-based buffer core_fopen_ram_internal - open a RAM-based buffer
for file-like access, possibly copying the data, for file-like access, possibly copying the data,
and return an error code and return an error code
-------------------------------------------------*/ -------------------------------------------------*/
static file_error core_fopen_ram_internal(const void *data, size_t length, int copy_buffer, UINT32 openflags, core_file **file) static file_error core_fopen_ram_internal(const void *data, size_t length, int copy_buffer, UINT32 openflags, core_file **file)

View File

@ -110,7 +110,7 @@ static READ8_HANDLER( jumpcoas_custom_io_r )
} }
/* /*
Imago sprites DMA Imago sprites DMA
*/ */
static UINT8 imago_sprites[0x800*3]; static UINT8 imago_sprites[0x800*3];

View File

@ -228,7 +228,7 @@ static WRITE16_HANDLER( magic10_out_w )
*/ */
// popmessage("lamps: %02X", data); // popmessage("lamps: %02X", data);
output_set_lamp_value(1, (data & 1)); /* Lamp 1 - HOLD 1 */ output_set_lamp_value(1, (data & 1)); /* Lamp 1 - HOLD 1 */
output_set_lamp_value(2, (data >> 1) & 1); /* Lamp 2 - HOLD 2 */ output_set_lamp_value(2, (data >> 1) & 1); /* Lamp 2 - HOLD 2 */

View File

@ -230,8 +230,8 @@ static INPUT_PORTS_START( mainsnk )
PORT_START("DSW2") PORT_START("DSW2")
PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW2:1,2,3") PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW2:1,2,3")
// PORT_DIPSETTING( 0x01, DEF_STR( 3C_1C ) ) // duplicate // PORT_DIPSETTING( 0x01, DEF_STR( 3C_1C ) ) // duplicate
// PORT_DIPSETTING( 0x02, DEF_STR( 3C_1C ) ) // duplicate // PORT_DIPSETTING( 0x02, DEF_STR( 3C_1C ) ) // duplicate
PORT_DIPSETTING( 0x04, DEF_STR( 3C_1C ) ) PORT_DIPSETTING( 0x04, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x06, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x06, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) )
@ -299,7 +299,7 @@ static INPUT_PORTS_START( canvas )
PORT_DIPSETTING( 0x04, "3" ) PORT_DIPSETTING( 0x04, "3" )
PORT_DIPSETTING( 0x00, "5" ) PORT_DIPSETTING( 0x00, "5" )
PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW1:4,5,6") PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW1:4,5,6")
// PORT_DIPSETTING( 0x08, DEF_STR( 5C_1C ) ) // duplicate // PORT_DIPSETTING( 0x08, DEF_STR( 5C_1C ) ) // duplicate
PORT_DIPSETTING( 0x10, DEF_STR( 5C_1C ) ) PORT_DIPSETTING( 0x10, DEF_STR( 5C_1C ) )
PORT_DIPSETTING( 0x20, DEF_STR( 3C_1C ) ) PORT_DIPSETTING( 0x20, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x18, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x18, DEF_STR( 2C_1C ) )

View File

@ -388,7 +388,7 @@ static ADDRESS_MAP_START( io_map, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_GLOBAL_MASK(0xff) ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x00, 0x00) AM_WRITE(pang_gfxctrl_w) /* Palette bank, layer enable, coin counters, more */ AM_RANGE(0x00, 0x00) AM_WRITE(pang_gfxctrl_w) /* Palette bank, layer enable, coin counters, more */
AM_RANGE(0x00, 0x02) AM_READ(input_r) /* Super Pang needs a kludge to initialize EEPROM. AM_RANGE(0x00, 0x02) AM_READ(input_r) /* Super Pang needs a kludge to initialize EEPROM.
The Mahjong games and Block Block need special input treatment */ The Mahjong games and Block Block need special input treatment */
AM_RANGE(0x01, 0x01) AM_WRITE(input_w) AM_RANGE(0x01, 0x01) AM_WRITE(input_w)
AM_RANGE(0x02, 0x02) AM_WRITE(pang_bankswitch_w) /* Code bank register */ AM_RANGE(0x02, 0x02) AM_WRITE(pang_bankswitch_w) /* Code bank register */
AM_RANGE(0x03, 0x03) AM_READWRITE(input_port_12_r, ym2413_data_port_0_w) /* mgakuen only */ AM_RANGE(0x03, 0x03) AM_READWRITE(input_port_12_r, ym2413_data_port_0_w) /* mgakuen only */

View File

@ -13,13 +13,13 @@
Bit 0x04 - Playfield 1 width (0 is 64 tiles, 0x4 is 128 tiles) Bit 0x04 - Playfield 1 width (0 is 64 tiles, 0x4 is 128 tiles)
Bit 0x10 - Playfield 1 disable Bit 0x10 - Playfield 1 disable
Bit 0x20 - Playfield 1 rowscroll enable Bit 0x20 - Playfield 1 rowscroll enable
Bit 0x40 - Playfield 1 y-offset table enable Bit 0x40 - Playfield 1 y-offset table enable
12: Playfield 2 control 12: Playfield 2 control
Bits0x03 - Playfield 2 VRAM base Bits0x03 - Playfield 2 VRAM base
Bit 0x04 - Playfield 2 width (0 is 64 tiles, 0x4 is 128 tiles) Bit 0x04 - Playfield 2 width (0 is 64 tiles, 0x4 is 128 tiles)
Bit 0x10 - Playfield 2 disable Bit 0x10 - Playfield 2 disable
Bit 0x20 - Playfield 2 rowscroll enable Bit 0x20 - Playfield 2 rowscroll enable
Bit 0x40 - Playfield 1 y-offset table enable Bit 0x40 - Playfield 1 y-offset table enable
14: Bits0x03 - Sprite/Tile Priority (related to sprite color) 14: Bits0x03 - Sprite/Tile Priority (related to sprite color)
Emulation by Bryan McPhail, mish@tendril.co.uk, thanks to Chris Hardy! Emulation by Bryan McPhail, mish@tendril.co.uk, thanks to Chris Hardy!

View File

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