Cleanups and version bump.

This commit is contained in:
Aaron Giles 2009-01-22 10:40:20 +00:00
parent 325dadfdc0
commit b02a507c1f
19 changed files with 117 additions and 117 deletions

View File

@ -254,29 +254,29 @@ static VIDEO_UPDATE(adp)
b = ((HD63484_reg[0xcc/2] & 0x000f) << 16) + HD63484_reg[0xce/2];
/*
if (input_code_pressed(KEYCODE_M)) b = 0;
if (input_code_pressed(KEYCODE_Q)) b += 0x060 * 280 * 1;
if (input_code_pressed(KEYCODE_W)) b += 0x060 * 280 * 2;
if (input_code_pressed(KEYCODE_E)) b += 0x060 * 280 * 3;
if (input_code_pressed(KEYCODE_R)) b += 0x060 * 280 * 4;
if (input_code_pressed(KEYCODE_T)) b += 0x060 * 280 * 5;
if (input_code_pressed(KEYCODE_Y)) b += 0x060 * 280 * 6;
if (input_code_pressed(KEYCODE_U)) b += 0x060 * 280 * 7;
if (input_code_pressed(KEYCODE_I)) b += 0x060 * 280 * 8;
if (input_code_pressed(KEYCODE_A)) b += 0x060 * 280 * 9;
if (input_code_pressed(KEYCODE_S)) b += 0x060 * 280 * 10;
if (input_code_pressed(KEYCODE_D)) b += 0x060 * 280 * 11;
if (input_code_pressed(KEYCODE_F)) b += 0x060 * 280 * 12;
if (input_code_pressed(KEYCODE_G)) b += 0x060 * 280 * 13;
if (input_code_pressed(KEYCODE_H)) b += 0x060 * 280 * 14;
if (input_code_pressed(KEYCODE_J)) b += 0x060 * 280 * 15;
if (input_code_pressed(KEYCODE_K)) b += 0x060 * 280 * 16;
if (input_code_pressed(KEYCODE_Z)) b += 0x060 * 280 * 17;
if (input_code_pressed(KEYCODE_X)) b += 0x060 * 280 * 18;
if (input_code_pressed(KEYCODE_C)) b += 0x060 * 280 * 19;
if (input_code_pressed(KEYCODE_V)) b += 0x060 * 280 * 20;
if (input_code_pressed(KEYCODE_B)) b += 0x060 * 280 * 21;
if (input_code_pressed(KEYCODE_N)) b += 0x060 * 280 * 22;
if (input_code_pressed(KEYCODE_M)) b = 0;
if (input_code_pressed(KEYCODE_Q)) b += 0x060 * 280 * 1;
if (input_code_pressed(KEYCODE_W)) b += 0x060 * 280 * 2;
if (input_code_pressed(KEYCODE_E)) b += 0x060 * 280 * 3;
if (input_code_pressed(KEYCODE_R)) b += 0x060 * 280 * 4;
if (input_code_pressed(KEYCODE_T)) b += 0x060 * 280 * 5;
if (input_code_pressed(KEYCODE_Y)) b += 0x060 * 280 * 6;
if (input_code_pressed(KEYCODE_U)) b += 0x060 * 280 * 7;
if (input_code_pressed(KEYCODE_I)) b += 0x060 * 280 * 8;
if (input_code_pressed(KEYCODE_A)) b += 0x060 * 280 * 9;
if (input_code_pressed(KEYCODE_S)) b += 0x060 * 280 * 10;
if (input_code_pressed(KEYCODE_D)) b += 0x060 * 280 * 11;
if (input_code_pressed(KEYCODE_F)) b += 0x060 * 280 * 12;
if (input_code_pressed(KEYCODE_G)) b += 0x060 * 280 * 13;
if (input_code_pressed(KEYCODE_H)) b += 0x060 * 280 * 14;
if (input_code_pressed(KEYCODE_J)) b += 0x060 * 280 * 15;
if (input_code_pressed(KEYCODE_K)) b += 0x060 * 280 * 16;
if (input_code_pressed(KEYCODE_Z)) b += 0x060 * 280 * 17;
if (input_code_pressed(KEYCODE_X)) b += 0x060 * 280 * 18;
if (input_code_pressed(KEYCODE_C)) b += 0x060 * 280 * 19;
if (input_code_pressed(KEYCODE_V)) b += 0x060 * 280 * 20;
if (input_code_pressed(KEYCODE_B)) b += 0x060 * 280 * 21;
if (input_code_pressed(KEYCODE_N)) b += 0x060 * 280 * 22;
*/
for (y = 0;y < 280;y++)
{
@ -406,7 +406,7 @@ static ADDRESS_MAP_START( funland_mem, ADDRESS_SPACE_PROGRAM, 16 )
//400000-40001f?
AM_RANGE(0x800080, 0x800081) AM_READWRITE(HD63484_status_r, HD63484_address_w)
AM_RANGE(0x800082, 0x800083) AM_READWRITE(HD63484_data_r, HD63484_data_w)
// AM_RANGE(0x800100, 0x8001ff) AM_READ(test_r) //18b too
// AM_RANGE(0x800100, 0x8001ff) AM_READ(test_r) //18b too
AM_RANGE(0x800140, 0x800141) AM_READWRITE(t2_r,ay8910_control_port_0_lsb_w) //18b too
AM_RANGE(0x800142, 0x800143) AM_READWRITE(ay8910_read_port_0_lsb_r,ay8910_write_port_0_lsb_w) //18b too
AM_RANGE(0x800180, 0x80019f) AM_DEVREADWRITE8( DUART68681, "duart68681", duart68681_r, duart68681_w, 0xff )

View File

@ -128,25 +128,25 @@ static WRITE8_HANDLER( drw80pkr_io_w )
ay8910_write_port_0_w(space, 1, data);
// CRTC Register
// R0 = 0x1f(31) Horizontal Total
// R1 = 0x18(24) Horizontal Displayed
// R2 = 0x1a(26) Horizontal Sync Position
// R3 = 0x34(52) HSYNC/VSYNC Widths
// R4 = 0x1f(31) Vertical Total
// R5 = 0x01(01) Vertical Total Adjust
// R6 = 0x1b(27) Vertical Displayed
// R7 = 0x1c(28) Vertical Sync Position
// R8 = 0x10 Mode Control
// Non-interlace
// Straight Binary - Ram Addressing
// Shared Memory - Ram Access
// Delay Display Enable one character time
// No Delay Cursor Skew
// R9 = 0x07(07) Scan Line
// R10 = 0x00 Cursor Start
// R11 = 0x00 Cursor End
// R12 = 0x00 Display Start Address (High)
// R13 = 0x00 Display Start Address (Low)
// R0 = 0x1f(31) Horizontal Total
// R1 = 0x18(24) Horizontal Displayed
// R2 = 0x1a(26) Horizontal Sync Position
// R3 = 0x34(52) HSYNC/VSYNC Widths
// R4 = 0x1f(31) Vertical Total
// R5 = 0x01(01) Vertical Total Adjust
// R6 = 0x1b(27) Vertical Displayed
// R7 = 0x1c(28) Vertical Sync Position
// R8 = 0x10 Mode Control
// Non-interlace
// Straight Binary - Ram Addressing
// Shared Memory - Ram Access
// Delay Display Enable one character time
// No Delay Cursor Skew
// R9 = 0x07(07) Scan Line
// R10 = 0x00 Cursor Start
// R11 = 0x00 Cursor End
// R12 = 0x00 Display Start Address (High)
// R13 = 0x00 Display Start Address (Low)
//if (p1 == 0xff && p2 == 0xc7)
// CRTC Address

View File

@ -50,12 +50,12 @@ xBBBBBGGGGGRRRRR (Bit 15 is never used)
---
FIX: csk227it has video issues, as after Ability game, bg_tilemap is not reset
so there must be some bg_enable command which I couldn't find, or rom is
from a beta version which has transparency issues. This doesn't happen with
csk234it or New Champion Skill.
Insert credits with Key-In and press Pay-out to play ability game, and wait
for attract-mode to show cubes (not cards), which are transparent and reveal
background tilemap.
so there must be some bg_enable command which I couldn't find, or rom is
from a beta version which has transparency issues. This doesn't happen with
csk234it or New Champion Skill.
Insert credits with Key-In and press Pay-out to play ability game, and wait
for attract-mode to show cubes (not cards), which are transparent and reveal
background tilemap.
*****************************************************************************/
@ -96,7 +96,7 @@ static READ8_HANDLER( igs_irqack_r )
static WRITE8_HANDLER( igs_irqack_w )
{
// cpu_set_input_line(space->machine->cpu[0], 0, CLEAR_LINE);
// cpu_set_input_line(space->machine->cpu[0], 0, CLEAR_LINE);
}

View File

@ -122,7 +122,7 @@ static READ8_HANDLER( igs_irqack_r )
static WRITE8_HANDLER( igs_irqack_w )
{
// cpu_set_input_line(space->machine->cpu[0], 0, CLEAR_LINE);
// cpu_set_input_line(space->machine->cpu[0], 0, CLEAR_LINE);
out[2] = data;
show_out();
}
@ -132,7 +132,7 @@ UINT8 *main_ram;
static WRITE8_HANDLER( ram_w )
{
main_ram[offset] = data;
// logerror("PC %06X: %04x = %02x\n",cpu_get_pc(space->cpu),offset+0xf000,data);
// logerror("PC %06X: %04x = %02x\n",cpu_get_pc(space->cpu),offset+0xf000,data);
}

View File

@ -224,13 +224,13 @@ static WRITE8_HANDLER( jan_adpcm_w )
adpcm_pos = (data & 0xff) * 0x80;
adpcm_idle = 0;
msm5205_reset_w(0,0);
// printf("%02x 0\n",data);
// printf("%02x 0\n",data);
break;
/*same write as port 2?*/
case 1:
// adpcm_idle = 1;
// msm5205_reset_w(0,1);
// printf("%02x 1\n",data);
// adpcm_idle = 1;
// msm5205_reset_w(0,1);
// printf("%02x 1\n",data);
break;
}
}

View File

@ -343,7 +343,7 @@ static void m68901_int_gen(running_machine *machine, int source)
static WRITE16_HANDLER( m68901_w )
{
// UINT8 value = (data >> 8) & 0xff;
// UINT8 value = (data >> 8) & 0xff;
m68901_base[offset] = data;
switch (offset)
@ -640,7 +640,7 @@ static const duart68681_config micro3d_duart68681_config =
static MACHINE_RESET( micro3d )
{
/* TODO: Check. Also do this for the other CPUs? */
// cpu_set_input_line(machine->cpu[2], INPUT_LINE_RESET, ASSERT_LINE);
// cpu_set_input_line(machine->cpu[2], INPUT_LINE_RESET, ASSERT_LINE);
creg = 0;
ti_uart[STATUS] = 1;

View File

@ -72,7 +72,7 @@ static ADDRESS_MAP_START( sound_cpu, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x5000, 0x5fff) AM_WRITE(ay8910_control_port_0_w)
AM_RANGE(0x6000, 0x6fff) AM_READWRITE(ay8910_read_port_1_r,ay8910_write_port_1_w)
AM_RANGE(0x7000, 0x7fff) AM_WRITE(ay8910_control_port_1_w)
// AM_RANGE(0x8000, 0x8fff) AM_WRITE(interrupt_enable_w) //???
// AM_RANGE(0x8000, 0x8fff) AM_WRITE(interrupt_enable_w) //???
AM_RANGE(0x9000, 0xafff) AM_READ(soundlatch_r)
AM_RANGE(0xf000, 0xffff) AM_ROM
ADDRESS_MAP_END
@ -188,7 +188,7 @@ static MACHINE_DRIVER_START( progolf )
MDRV_CPU_ADD("audio", M6502, 500000)
MDRV_CPU_PROGRAM_MAP(sound_cpu,0)
// MDRV_CPU_VBLANK_INT("main",nmi_line_pulse)
// MDRV_CPU_VBLANK_INT("main",nmi_line_pulse)
/* video hardware */
MDRV_SCREEN_ADD("main", RASTER)

View File

@ -4,16 +4,16 @@
Games supported:
G-LOC Air Battle
G-LOC R360
Galaxy Force 2
Power Drift
Rail Chase
Strike Fighter
G-LOC Air Battle
G-LOC R360
Galaxy Force 2
Power Drift
Rail Chase
Strike Fighter
Known games currently not dumped:
Galaxy Force
Galaxy Force
****************************************************************************

View File

@ -95,7 +95,7 @@ static WRITE16_HANDLER( sengokmj_out_w )
coin_lockout_w(1,~data & 2);
coin_counter_w(0,data & 4);
hopper_io = ((data & 1)<<6);
// popmessage("%02x",hopper_io);
// popmessage("%02x",hopper_io);
}
static WRITE16_HANDLER( seibu_z80_com_6_mirror_w )
@ -239,7 +239,7 @@ static INPUT_PORTS_START( sengokmj )
PORT_DIPNAME( 0x0020, 0x0020, "Cash" )
PORT_DIPSETTING( 0x0020, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
// 0x40 Hopper
// 0x40 Hopper
PORT_DIPNAME( 0x0080, 0x0080, "Meter" )
PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )

View File

@ -317,7 +317,7 @@ static ADDRESS_MAP_START( srmp5_mem, ADDRESS_SPACE_PROGRAM, 32 )
AM_RANGE(0x0a000000, 0x0a0fffff) AM_READWRITE(spr_r, spr_w)
AM_RANGE(0x0a100000, 0x0a17ffff) AM_READWRITE(srmp5_palette_r, srmp5_palette_w)
//0クリアしないと進まないので
//0?N???A?????????i??????????
AM_RANGE(0x0a180000, 0x0a180003) AM_READNOP // write 0x00000400
AM_RANGE(0x0a180000, 0x0a18011f) AM_READWRITE(srmp5_vidregs_r, srmp5_vidregs_w)
AM_RANGE(0x0a200000, 0x0a3fffff) AM_READWRITE(tileram_r, tileram_w)
@ -508,7 +508,7 @@ static const gfx_layout tile_16x16x8_layout =
static GFXDECODE_START( srmp5 )
GFXDECODE_ENTRY( "gfx1", 0, tile_16x8x8_layout, 0x0, 0x800 )
// GFXDECODE_ENTRY( "gfx1", 0, tile_16x16x8_layout, 0x0, 0x800 )
// GFXDECODE_ENTRY( "gfx1", 0, tile_16x16x8_layout, 0x0, 0x800 )
GFXDECODE_END
static MACHINE_DRIVER_START( srmp5 )
@ -521,7 +521,7 @@ static MACHINE_DRIVER_START( srmp5 )
MDRV_CPU_ADD("sub", R3000LE, 25000000)
MDRV_CPU_CONFIG(config)
MDRV_CPU_PROGRAM_MAP(srmp5_mem,0)
//256は適当
//256???K??
MDRV_CPU_VBLANK_INT_HACK(irq4_gen, 256)
MDRV_QUANTUM_TIME(HZ(6000))

View File

@ -132,7 +132,7 @@ static VIDEO_UPDATE( vcombat )
for (i = 0; i < 2; ++i)
{
/* Vcombat's screen renders 'flopped' - very likely because VR headset displays may reflect off mirrors.
Shadfgtr isn't flopped, so it's not a constant feature of the hardware. */
Shadfgtr isn't flopped, so it's not a constant feature of the hardware. */
/* Combine the two layers */
if ((m68k_pix & 0xff) == 0)
@ -575,7 +575,7 @@ static MACHINE_DRIVER_START( vcombat )
#endif
/* Disabled for now as it can't handle multiple screens */
// MDRV_MC6845_ADD("crtc", MC6845, 6000000 / 16, mc6845_intf)
// MDRV_MC6845_ADD("crtc", MC6845, 6000000 / 16, mc6845_intf)
MDRV_DEFAULT_LAYOUT(layout_dualhsxs)
MDRV_SCREEN_ADD("main", RASTER)

View File

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