mirror of
https://github.com/holub/mame
synced 2025-05-24 14:56:21 +03:00
Cleanups and version bump.
This commit is contained in:
parent
26dd96003f
commit
8f6f01f263
@ -38,7 +38,7 @@ static VIDEO_START( cowrace )
|
|||||||
tmap = tilemap_create( machine, get_tile_info, tilemap_scan_rows,
|
tmap = tilemap_create( machine, get_tile_info, tilemap_scan_rows,
|
||||||
8,8, 0x20,0x20 );
|
8,8, 0x20,0x20 );
|
||||||
|
|
||||||
// tilemap_set_transparent_pen(tmap, 0);
|
// tilemap_set_transparent_pen(tmap, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static VIDEO_UPDATE( cowrace )
|
static VIDEO_UPDATE( cowrace )
|
||||||
|
@ -390,17 +390,17 @@ static ADDRESS_MAP_START( secretab_map, ADDRESS_SPACE_PROGRAM, 16 )
|
|||||||
AM_RANGE(0x240000, 0x240007) AM_WRITE(dec0_pf2_control_0_w)
|
AM_RANGE(0x240000, 0x240007) AM_WRITE(dec0_pf2_control_0_w)
|
||||||
AM_RANGE(0x240010, 0x240017) AM_WRITE(dec0_pf2_control_1_w)
|
AM_RANGE(0x240010, 0x240017) AM_WRITE(dec0_pf2_control_1_w)
|
||||||
AM_RANGE(0x246000, 0x247fff) AM_RAM_WRITE(dec0_pf2_data_w) AM_BASE(&dec0_pf2_data)
|
AM_RANGE(0x246000, 0x247fff) AM_RAM_WRITE(dec0_pf2_data_w) AM_BASE(&dec0_pf2_data)
|
||||||
// AM_RANGE(0x240000, 0x24007f) AM_RAM AM_BASE(&dec0_pf2_colscroll)
|
// AM_RANGE(0x240000, 0x24007f) AM_RAM AM_BASE(&dec0_pf2_colscroll)
|
||||||
// AM_RANGE(0x240400, 0x2407ff) AM_RAM AM_BASE(&dec0_pf2_rowscroll)
|
// AM_RANGE(0x240400, 0x2407ff) AM_RAM AM_BASE(&dec0_pf2_rowscroll)
|
||||||
|
|
||||||
// AM_RANGE(0x200000, 0x300007) AM_WRITE(dec0_pf1_control_0_w)
|
// AM_RANGE(0x200000, 0x300007) AM_WRITE(dec0_pf1_control_0_w)
|
||||||
// AM_RANGE(0x300010, 0x300017) AM_WRITE(dec0_pf1_control_1_w)
|
// AM_RANGE(0x300010, 0x300017) AM_WRITE(dec0_pf1_control_1_w)
|
||||||
AM_RANGE(0x24e000, 0x24ffff) AM_RAM_WRITE(dec0_pf1_data_w) AM_BASE(&dec0_pf1_data)
|
AM_RANGE(0x24e000, 0x24ffff) AM_RAM_WRITE(dec0_pf1_data_w) AM_BASE(&dec0_pf1_data)
|
||||||
// AM_RANGE(0x340000, 0x34007f) AM_RAM AM_BASE(&dec0_pf1_colscroll)
|
// AM_RANGE(0x340000, 0x34007f) AM_RAM AM_BASE(&dec0_pf1_colscroll)
|
||||||
// AM_RANGE(0x340400, 0x3407ff) AM_RAM AM_BASE(&dec0_pf1_rowscroll)
|
// AM_RANGE(0x340400, 0x3407ff) AM_RAM AM_BASE(&dec0_pf1_rowscroll)
|
||||||
|
|
||||||
AM_RANGE(0x314008, 0x31400f) AM_READ(slyspy_controls_r)
|
AM_RANGE(0x314008, 0x31400f) AM_READ(slyspy_controls_r)
|
||||||
// AM_RANGE(0x314000, 0x314003) AM_WRITE(slyspy_control_w)
|
// AM_RANGE(0x314000, 0x314003) AM_WRITE(slyspy_control_w)
|
||||||
|
|
||||||
AM_RANGE(0x300000, 0x300007) AM_WRITE(dec0_pf3_control_0_w)
|
AM_RANGE(0x300000, 0x300007) AM_WRITE(dec0_pf3_control_0_w)
|
||||||
AM_RANGE(0x300010, 0x300017) AM_WRITE(dec0_pf3_control_1_w)
|
AM_RANGE(0x300010, 0x300017) AM_WRITE(dec0_pf3_control_1_w)
|
||||||
@ -463,11 +463,11 @@ static WRITE8_HANDLER( automat_adpcm_w )
|
|||||||
|
|
||||||
static ADDRESS_MAP_START( automat_s_mem, ADDRESS_SPACE_PROGRAM, 8 )
|
static ADDRESS_MAP_START( automat_s_mem, ADDRESS_SPACE_PROGRAM, 8 )
|
||||||
AM_RANGE(0xc000, 0xc7ff) AM_RAM
|
AM_RANGE(0xc000, 0xc7ff) AM_RAM
|
||||||
// AM_RANGE(0xc800, 0xc800) AM_WRITE(ym2203_control_port_0_w)
|
// AM_RANGE(0xc800, 0xc800) AM_WRITE(ym2203_control_port_0_w)
|
||||||
// AM_RANGE(0xc801, 0xc801) AM_WRITE(ym2203_write_port_0_w)
|
// AM_RANGE(0xc801, 0xc801) AM_WRITE(ym2203_write_port_0_w)
|
||||||
AM_RANGE(0xd800, 0xd800) AM_READ(soundlatch_r)
|
AM_RANGE(0xd800, 0xd800) AM_READ(soundlatch_r)
|
||||||
// AM_RANGE(0xd000, 0xd000) AM_WRITE(ym2203_control_port_1_w)
|
// AM_RANGE(0xd000, 0xd000) AM_WRITE(ym2203_control_port_1_w)
|
||||||
// AM_RANGE(0xd001, 0xd001) AM_WRITE(ym2203_write_port_1_w)
|
// AM_RANGE(0xd001, 0xd001) AM_WRITE(ym2203_write_port_1_w)
|
||||||
AM_RANGE(0xf000, 0xf000) AM_WRITE(automat_adpcm_w)
|
AM_RANGE(0xf000, 0xf000) AM_WRITE(automat_adpcm_w)
|
||||||
AM_RANGE(0x0000, 0xffff) AM_ROM
|
AM_RANGE(0x0000, 0xffff) AM_ROM
|
||||||
ADDRESS_MAP_END
|
ADDRESS_MAP_END
|
||||||
@ -1424,8 +1424,8 @@ static MACHINE_DRIVER_START( secretab )
|
|||||||
MDRV_CPU_VBLANK_INT("screen", irq6_line_hold)/* VBL */
|
MDRV_CPU_VBLANK_INT("screen", irq6_line_hold)/* VBL */
|
||||||
|
|
||||||
/* z80 */
|
/* z80 */
|
||||||
// MDRV_CPU_ADD("audiocpu", H6280, XTAL_12MHz/2/3) /* verified on pcb (6Mhz is XIN on pin 10 of H6280, verified on pcb */
|
// MDRV_CPU_ADD("audiocpu", H6280, XTAL_12MHz/2/3) /* verified on pcb (6Mhz is XIN on pin 10 of H6280, verified on pcb */
|
||||||
// MDRV_CPU_PROGRAM_MAP(slyspy_s_readmem,slyspy_s_writemem)
|
// MDRV_CPU_PROGRAM_MAP(slyspy_s_readmem,slyspy_s_writemem)
|
||||||
|
|
||||||
/* video hardware */
|
/* video hardware */
|
||||||
MDRV_SCREEN_ADD("screen", RASTER)
|
MDRV_SCREEN_ADD("screen", RASTER)
|
||||||
|
@ -1374,7 +1374,7 @@ ROM_START( wrally2 )
|
|||||||
ROM_END
|
ROM_END
|
||||||
|
|
||||||
/*
|
/*
|
||||||
CPU 1x MC68HC000FN12 (main)(u18)
|
CPU 1x MC68HC000FN12 (main)(u18)
|
||||||
1x CG-1V-149 (u42)(sound/gfx? maybe the same as Gaelco)
|
1x CG-1V-149 (u42)(sound/gfx? maybe the same as Gaelco)
|
||||||
1x DALLAS DS5002FP (not dumped)(u44)
|
1x DALLAS DS5002FP (not dumped)(u44)
|
||||||
1x TDA1543 (sound)(u20)
|
1x TDA1543 (sound)(u20)
|
||||||
@ -1382,7 +1382,7 @@ CPU 1x MC68HC000FN12 (main)(u18)
|
|||||||
1x TDA2003 (sound)(u1)
|
1x TDA2003 (sound)(u1)
|
||||||
1x oscillator 34.000 MHz (xtal1)
|
1x oscillator 34.000 MHz (xtal1)
|
||||||
1x oscillator 11.0592 MHz (xtal2)
|
1x oscillator 11.0592 MHz (xtal2)
|
||||||
ROMs 2x AM27C010 (u39,u40)
|
ROMs 2x AM27C010 (u39,u40)
|
||||||
4x NM27C040Q (u50,u52,u53,u54)
|
4x NM27C040Q (u50,u52,u53,u54)
|
||||||
1x M27C801 (u51)
|
1x M27C801 (u51)
|
||||||
|
|
||||||
@ -1392,7 +1392,7 @@ ROMs 2x AM27C010 (u39,u40)
|
|||||||
|
|
||||||
1x PALCE16V8H (u28)(read protected -> extracted with CmD's PALdumper - it's registered)
|
1x PALCE16V8H (u28)(read protected -> extracted with CmD's PALdumper - it's registered)
|
||||||
1x PALCE16V8H (u29)(read protected -> extracted with CmD's PALdumper)
|
1x PALCE16V8H (u29)(read protected -> extracted with CmD's PALdumper)
|
||||||
Note 1x 28x2 edge connector
|
Note 1x 28x2 edge connector
|
||||||
1x 2 legs connector (jp1)
|
1x 2 legs connector (jp1)
|
||||||
1x 4 legs connector (jp2)
|
1x 4 legs connector (jp2)
|
||||||
1x 12 legs connector (jp3)
|
1x 12 legs connector (jp3)
|
||||||
|
@ -290,7 +290,7 @@ static ADDRESS_MAP_START( cm_portmap, ADDRESS_SPACE_IO, 8 )
|
|||||||
AM_RANGE(0x04, 0x07) AM_DEVREADWRITE(PPI8255, "ppi8255_0", ppi8255_r, ppi8255_w) /* Input Ports */
|
AM_RANGE(0x04, 0x07) AM_DEVREADWRITE(PPI8255, "ppi8255_0", ppi8255_r, ppi8255_w) /* Input Ports */
|
||||||
AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE(PPI8255, "ppi8255_1", ppi8255_r, ppi8255_w) /* DIP switches */
|
AM_RANGE(0x08, 0x0b) AM_DEVREADWRITE(PPI8255, "ppi8255_1", ppi8255_r, ppi8255_w) /* DIP switches */
|
||||||
AM_RANGE(0x10, 0x10) AM_WRITE (cm_outport0_w) /* output port */
|
AM_RANGE(0x10, 0x10) AM_WRITE (cm_outport0_w) /* output port */
|
||||||
// AM_RANGE(0x11, 0x11) AM_WRITENOP
|
// AM_RANGE(0x11, 0x11) AM_WRITENOP
|
||||||
AM_RANGE(0x12, 0x12) AM_WRITE (cm_outport1_w) /* output port */
|
AM_RANGE(0x12, 0x12) AM_WRITE (cm_outport1_w) /* output port */
|
||||||
AM_RANGE(0x13, 0x13) AM_WRITE(cm_background_col_w)
|
AM_RANGE(0x13, 0x13) AM_WRITE(cm_background_col_w)
|
||||||
ADDRESS_MAP_END
|
ADDRESS_MAP_END
|
||||||
|
@ -235,7 +235,7 @@ static WRITE8_DEVICE_HANDLER( hopper_io_w )
|
|||||||
{
|
{
|
||||||
p1_hopper = (data & 0x8)<<3;
|
p1_hopper = (data & 0x8)<<3;
|
||||||
p2_hopper = (data & 0x4)<<5;
|
p2_hopper = (data & 0x4)<<5;
|
||||||
// printf("%02x\n",data);
|
// printf("%02x\n",data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static WRITE8_DEVICE_HANDLER( sound_cmd_w )
|
static WRITE8_DEVICE_HANDLER( sound_cmd_w )
|
||||||
@ -251,7 +251,7 @@ static UINT8 mux_data;
|
|||||||
/* No idea about what's this (if it's really a mux etc.)*/
|
/* No idea about what's this (if it's really a mux etc.)*/
|
||||||
static WRITE8_DEVICE_HANDLER( outport2_w )
|
static WRITE8_DEVICE_HANDLER( outport2_w )
|
||||||
{
|
{
|
||||||
// popmessage("PPI1 port C(upper) out: %02X", data);
|
// popmessage("PPI1 port C(upper) out: %02X", data);
|
||||||
mux_data = data & 0x80;
|
mux_data = data & 0x80;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -323,12 +323,12 @@ static READ8_DEVICE_HANDLER( sound_cmd_r )
|
|||||||
static WRITE8_HANDLER( led_array_w )
|
static WRITE8_HANDLER( led_array_w )
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
offset = directly tied with the button (i.e. offset 1 = 1-2, offset 2 = 1-3 etc.)
|
offset = directly tied with the button (i.e. offset 1 = 1-2, offset 2 = 1-3 etc.)
|
||||||
data = xxxx ---- p2 array
|
data = xxxx ---- p2 array
|
||||||
---- xxxx p1 array
|
---- xxxx p1 array
|
||||||
they goes from 0 to 5, to indicate the number.
|
they goes from 0 to 5, to indicate the number.
|
||||||
If one player bets something, the other led will toggle between p1 and p2 bets.
|
If one player bets something, the other led will toggle between p1 and p2 bets.
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************
|
/*************************************
|
||||||
|
@ -103,7 +103,7 @@ static void draw_led(bitmap_t *bitmap, int x, int y,UINT8 value)
|
|||||||
/* actually debugging purpose, it will be converted to the artwork system at some point. */
|
/* actually debugging purpose, it will be converted to the artwork system at some point. */
|
||||||
VIDEO_UPDATE( kungfur )
|
VIDEO_UPDATE( kungfur )
|
||||||
{
|
{
|
||||||
// popmessage("%02x %02x %02x %02x %02x %02x",io_data[0],io_data[1],io_data[2],io_data[3],io_data[4],io_data[5]);
|
// popmessage("%02x %02x %02x %02x %02x %02x",io_data[0],io_data[1],io_data[2],io_data[3],io_data[4],io_data[5]);
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for(i=0;i<16;i++)
|
for(i=0;i<16;i++)
|
||||||
@ -117,40 +117,40 @@ static WRITE8_DEVICE_HANDLER( test0_w )
|
|||||||
mux_data = data & 7; /* multiplexer selector? (00-06) */
|
mux_data = data & 7; /* multiplexer selector? (00-06) */
|
||||||
|
|
||||||
mux_data|= (data & 0x10)>>1;
|
mux_data|= (data & 0x10)>>1;
|
||||||
// printf("%02x MUX W\n",data);
|
// printf("%02x MUX W\n",data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static WRITE8_DEVICE_HANDLER( test1_w )
|
static WRITE8_DEVICE_HANDLER( test1_w )
|
||||||
{
|
{
|
||||||
// io_data[1] = data; /* the whole port should be NULL */
|
// io_data[1] = data; /* the whole port should be NULL */
|
||||||
// printf("%02x Unk 1 W\n",data);
|
// printf("%02x Unk 1 W\n",data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static WRITE8_DEVICE_HANDLER( test2_w )
|
static WRITE8_DEVICE_HANDLER( test2_w )
|
||||||
{
|
{
|
||||||
// io_data[2] = data; /* lower nibble should be NULL */
|
// io_data[2] = data; /* lower nibble should be NULL */
|
||||||
led[mux_data] = data;
|
led[mux_data] = data;
|
||||||
// printf("%02x Unk 2 W\n",data);
|
// printf("%02x Unk 2 W\n",data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static WRITE8_DEVICE_HANDLER( test3_w )
|
static WRITE8_DEVICE_HANDLER( test3_w )
|
||||||
{
|
{
|
||||||
// io_data[3] = data;
|
// io_data[3] = data;
|
||||||
// printf("%02x Unk 3 W\n",data);
|
// printf("%02x Unk 3 W\n",data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*mux is always 0*/
|
/*mux is always 0*/
|
||||||
static WRITE8_DEVICE_HANDLER( test4_w )
|
static WRITE8_DEVICE_HANDLER( test4_w )
|
||||||
{
|
{
|
||||||
// io_data[4] = data;
|
// io_data[4] = data;
|
||||||
led[mux_data] = data;
|
led[mux_data] = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this looks like lamps. */
|
/* this looks like lamps. */
|
||||||
static WRITE8_DEVICE_HANDLER( test5_w )
|
static WRITE8_DEVICE_HANDLER( test5_w )
|
||||||
{
|
{
|
||||||
// io_data[5] = data;
|
// io_data[5] = data;
|
||||||
// printf("%02x Unk 5 W\n",data);
|
// printf("%02x Unk 5 W\n",data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static UINT32 adpcm_pos[2];
|
static UINT32 adpcm_pos[2];
|
||||||
|
@ -154,7 +154,7 @@ static READ8_HANDLER( m1_8279_r )
|
|||||||
if ( chip->read_sensor )
|
if ( chip->read_sensor )
|
||||||
{
|
{
|
||||||
result = input_port_read(space->machine,portnames[chip->sense_address]);
|
result = input_port_read(space->machine,portnames[chip->sense_address]);
|
||||||
// break
|
// break
|
||||||
}
|
}
|
||||||
if ( chip->sense_auto_inc )
|
if ( chip->sense_auto_inc )
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
* Believe it or not?
|
* Believe it or not?
|
||||||
* Caesar's Palace (reel to video)
|
* Caesar's Palace (reel to video)
|
||||||
* Crossword Quiz
|
* Crossword Quiz
|
||||||
* Give us a Clue
|
* Give us a Clue
|
||||||
* Special Effects (reel to video)
|
* Special Effects (reel to video)
|
||||||
* World Cup (reel to video)
|
* World Cup (reel to video)
|
||||||
|
|
||||||
@ -307,8 +307,8 @@ static VIDEO_UPDATE( maygayv1 )
|
|||||||
if ( BIT(w0, 4) )
|
if ( BIT(w0, 4) )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// if ( BIT(w0, 5) )
|
// if ( BIT(w0, 5) )
|
||||||
// printf("Blinking\n");
|
// printf("Blinking\n");
|
||||||
|
|
||||||
/* Resolution: either 4bpp or 2bpp */
|
/* Resolution: either 4bpp or 2bpp */
|
||||||
res = (w0 >> 9) & 3;
|
res = (w0 >> 9) & 3;
|
||||||
@ -417,16 +417,16 @@ static VIDEO_EOF( maygayv1 )
|
|||||||
*************************************/
|
*************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
68681
|
68681
|
||||||
YM2413
|
YM2413
|
||||||
68B21
|
68B21
|
||||||
8279C
|
8279C
|
||||||
|
|
||||||
8a0008 0xe0
|
8a0008 0xe0
|
||||||
8a000c 0x7
|
8a000c 0x7
|
||||||
8a000e 0x33
|
8a000e 0x33
|
||||||
8a000a 0x8
|
8a000a 0x8
|
||||||
8a001c 0xff R/W
|
8a001c 0xff R/W
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -477,17 +477,17 @@ static void update_outputs(UINT16 which)
|
|||||||
|
|
||||||
val = i8279.ram[i] & 0xff;
|
val = i8279.ram[i] & 0xff;
|
||||||
/*
|
/*
|
||||||
val = i8279.ram[i] & 0x0f;
|
val = i8279.ram[i] & 0x0f;
|
||||||
if (i8279.inhibit & 0x01)
|
if (i8279.inhibit & 0x01)
|
||||||
val = i8279.clear & 0x0f;
|
val = i8279.clear & 0x0f;
|
||||||
|
|
||||||
if(val) printf("%x\n", val);
|
if(val) printf("%x\n", val);
|
||||||
|
|
||||||
val = i8279.ram[i] >> 4;
|
val = i8279.ram[i] >> 4;
|
||||||
if (i8279.inhibit & 0x02)
|
if (i8279.inhibit & 0x02)
|
||||||
val = i8279.clear >> 4;
|
val = i8279.clear >> 4;
|
||||||
|
|
||||||
if(val) printf("%x\n", val);
|
if(val) printf("%x\n", val);
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -725,13 +725,13 @@ static WRITE8_HANDLER( mcu_w )
|
|||||||
// Bottom nibble = UPD
|
// Bottom nibble = UPD
|
||||||
case 1:
|
case 1:
|
||||||
p1 = data;
|
p1 = data;
|
||||||
// upd7759_msg_w(0, data);//?
|
// upd7759_msg_w(0, data);//?
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
upd7759_reset_w (0, BIT(data, 2));
|
upd7759_reset_w (0, BIT(data, 2));
|
||||||
upd7759_start_w(0, BIT(data, 6));
|
upd7759_start_w(0, BIT(data, 6));
|
||||||
|
|
||||||
// if ( !BIT(p3, 7) && BIT(data, 7) )
|
// if ( !BIT(p3, 7) && BIT(data, 7) )
|
||||||
// P1 propagates to outputs
|
// P1 propagates to outputs
|
||||||
|
|
||||||
p3 = data;
|
p3 = data;
|
||||||
@ -905,7 +905,7 @@ INPUT_PORTS_END
|
|||||||
static void duart_irq_handler(const device_config *device, UINT8 vector)
|
static void duart_irq_handler(const device_config *device, UINT8 vector)
|
||||||
{
|
{
|
||||||
cpu_set_input_line_and_vector(device->machine->cpu[0], 5, ASSERT_LINE, vector);
|
cpu_set_input_line_and_vector(device->machine->cpu[0], 5, ASSERT_LINE, vector);
|
||||||
// cpu_set_input_line(device->machine->cpu[0], 5, state ? ASSERT_LINE : CLEAR_LINE);
|
// cpu_set_input_line(device->machine->cpu[0], 5, state ? ASSERT_LINE : CLEAR_LINE);
|
||||||
};
|
};
|
||||||
|
|
||||||
static int d68681_val;
|
static int d68681_val;
|
||||||
@ -969,7 +969,7 @@ static MACHINE_START( maygayv1 )
|
|||||||
|
|
||||||
state_save_register_global_pointer(machine, i82716.dram, 0x40000);
|
state_save_register_global_pointer(machine, i82716.dram, 0x40000);
|
||||||
|
|
||||||
// duart_68681_init(DUART_CLOCK, duart_irq_handler, duart_tx);
|
// duart_68681_init(DUART_CLOCK, duart_irq_handler, duart_tx);
|
||||||
|
|
||||||
i8051_set_serial_tx_callback(machine->cpu[1], data_from_i8031);
|
i8051_set_serial_tx_callback(machine->cpu[1], data_from_i8031);
|
||||||
i8051_set_serial_rx_callback(machine->cpu[1], data_to_i8031);
|
i8051_set_serial_rx_callback(machine->cpu[1], data_to_i8031);
|
||||||
|
@ -1059,7 +1059,7 @@ static WRITE8_HANDLER( pia_gb_ca2_w )
|
|||||||
{
|
{
|
||||||
LOG(("%04x GAMEBOARD: OKI RESET (offset = %d),data = %02X\n", cpu_get_previouspc(space->cpu), offset, data&0xFF));
|
LOG(("%04x GAMEBOARD: OKI RESET (offset = %d),data = %02X\n", cpu_get_previouspc(space->cpu), offset, data&0xFF));
|
||||||
|
|
||||||
// return okim6376_status_0_r();
|
// return okim6376_status_0_r();
|
||||||
}
|
}
|
||||||
|
|
||||||
static const pia6821_interface pia_gameboard_intf =
|
static const pia6821_interface pia_gameboard_intf =
|
||||||
@ -1393,18 +1393,18 @@ static INPUT_PORTS_START( gamball )
|
|||||||
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
|
||||||
|
|
||||||
PORT_START("AUX1")
|
PORT_START("AUX1")
|
||||||
/* PORT_DIPNAME( 0x01, 0x00, "AUX101" )
|
/* PORT_DIPNAME( 0x01, 0x00, "AUX101" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x02, 0x00, "AUX102" )
|
PORT_DIPNAME( 0x02, 0x00, "AUX102" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x02, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x02, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x04, 0x00, "AUX103" )
|
PORT_DIPNAME( 0x04, 0x00, "AUX103" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x04, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x04, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x08, 0x00, "AUX104" )
|
PORT_DIPNAME( 0x08, 0x00, "AUX104" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x08, DEF_STR( On ) )*/
|
PORT_DIPSETTING( 0x08, DEF_STR( On ) )*/
|
||||||
PORT_DIPNAME( 0x10, 0x00, "AUX105" )
|
PORT_DIPNAME( 0x10, 0x00, "AUX105" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x10, DEF_STR( On ) )
|
||||||
|
@ -356,14 +356,14 @@ static ADDRESS_MAP_START( multfish_portmap, ADDRESS_SPACE_IO, 8 )
|
|||||||
AM_RANGE(0x17, 0x17) AM_READ_PORT("IN7")
|
AM_RANGE(0x17, 0x17) AM_READ_PORT("IN7")
|
||||||
|
|
||||||
/* Write ports not hooked up yet (lights etc.) */
|
/* Write ports not hooked up yet (lights etc.) */
|
||||||
// AM_RANGE(0x30, 0x30) AM_WRITE(multfish_port30_w)
|
// AM_RANGE(0x30, 0x30) AM_WRITE(multfish_port30_w)
|
||||||
// AM_RANGE(0x31, 0x31) AM_WRITE(multfish_port31_w)
|
// AM_RANGE(0x31, 0x31) AM_WRITE(multfish_port31_w)
|
||||||
// AM_RANGE(0x32, 0x32) AM_WRITE(multfish_port32_w)
|
// AM_RANGE(0x32, 0x32) AM_WRITE(multfish_port32_w)
|
||||||
// AM_RANGE(0x33, 0x33) AM_WRITE(multfish_port33_w)
|
// AM_RANGE(0x33, 0x33) AM_WRITE(multfish_port33_w)
|
||||||
// AM_RANGE(0x34, 0x34) AM_WRITE(multfish_port34_w)
|
// AM_RANGE(0x34, 0x34) AM_WRITE(multfish_port34_w)
|
||||||
// AM_RANGE(0x35, 0x35) AM_WRITE(multfish_port35_w)
|
// AM_RANGE(0x35, 0x35) AM_WRITE(multfish_port35_w)
|
||||||
// AM_RANGE(0x36, 0x36) AM_WRITE(multfish_port36_w)
|
// AM_RANGE(0x36, 0x36) AM_WRITE(multfish_port36_w)
|
||||||
// AM_RANGE(0x37, 0x37) AM_WRITE(multfish_watchdog_reset_w)
|
// AM_RANGE(0x37, 0x37) AM_WRITE(multfish_watchdog_reset_w)
|
||||||
AM_RANGE(0x38, 0x38) AM_DEVWRITE(SOUND, "ay", ay8910_address_w)
|
AM_RANGE(0x38, 0x38) AM_DEVWRITE(SOUND, "ay", ay8910_address_w)
|
||||||
AM_RANGE(0x39, 0x39) AM_DEVWRITE(SOUND, "ay", ay8910_data_w)
|
AM_RANGE(0x39, 0x39) AM_DEVWRITE(SOUND, "ay", ay8910_data_w)
|
||||||
AM_RANGE(0x3a, 0x3a) AM_DEVREAD(SOUND, "ay", ay8910_r)
|
AM_RANGE(0x3a, 0x3a) AM_DEVREAD(SOUND, "ay", ay8910_r)
|
||||||
|
@ -492,8 +492,8 @@ ROM_START( vball ) /* US version */
|
|||||||
ROM_LOAD( "25j1-0.47", 0x00000, 0x8000, CRC(10ca79ad) SHA1(aad4a09d6745ca0b5665cb00ff7a4e08ea434068) )
|
ROM_LOAD( "25j1-0.47", 0x00000, 0x8000, CRC(10ca79ad) SHA1(aad4a09d6745ca0b5665cb00ff7a4e08ea434068) )
|
||||||
|
|
||||||
/* the original has the image data stored in a special ceramic embedded package made by Toshiba
|
/* the original has the image data stored in a special ceramic embedded package made by Toshiba
|
||||||
with part number 'TOSHIBA TRJ-101' (which has been dumped using a custom made adapter)
|
with part number 'TOSHIBA TRJ-101' (which has been dumped using a custom made adapter)
|
||||||
there are a few bytes different between the bootleg and the original (the original is correct though!) */
|
there are a few bytes different between the bootleg and the original (the original is correct though!) */
|
||||||
ROM_REGION(0x80000, "gfx1", ROMREGION_DISPOSE ) /* fg tiles */
|
ROM_REGION(0x80000, "gfx1", ROMREGION_DISPOSE ) /* fg tiles */
|
||||||
ROM_LOAD( "trj-101.96", 0x00000, 0x80000, CRC(f343eee4) SHA1(1ce95285631f7ec91fe3f6c3d62b13f565d3816a) )
|
ROM_LOAD( "trj-101.96", 0x00000, 0x80000, CRC(f343eee4) SHA1(1ce95285631f7ec91fe3f6c3d62b13f565d3816a) )
|
||||||
|
|
||||||
@ -520,8 +520,8 @@ ROM_START( vball2pj ) /* Japan version */
|
|||||||
//ROM_LOAD( "vball04.bin", 0x00000, 0x8000, CRC(534dfbd9) SHA1(d0cb37caf94fa85da4ebdfe15e7a78109084bf91) )
|
//ROM_LOAD( "vball04.bin", 0x00000, 0x8000, CRC(534dfbd9) SHA1(d0cb37caf94fa85da4ebdfe15e7a78109084bf91) )
|
||||||
|
|
||||||
/* the original has the image data stored in a special ceramic embedded package made by Toshiba
|
/* the original has the image data stored in a special ceramic embedded package made by Toshiba
|
||||||
with part number 'TOSHIBA TRJ-101' (which has been dumped using a custom made adapter)
|
with part number 'TOSHIBA TRJ-101' (which has been dumped using a custom made adapter)
|
||||||
there are a few bytes different between the bootleg and the original (the original is correct though!) */
|
there are a few bytes different between the bootleg and the original (the original is correct though!) */
|
||||||
ROM_REGION(0x80000, "gfx1", ROMREGION_DISPOSE ) /* fg tiles */
|
ROM_REGION(0x80000, "gfx1", ROMREGION_DISPOSE ) /* fg tiles */
|
||||||
ROM_LOAD( "trj-101.96", 0x00000, 0x80000, CRC(f343eee4) SHA1(1ce95285631f7ec91fe3f6c3d62b13f565d3816a) )
|
ROM_LOAD( "trj-101.96", 0x00000, 0x80000, CRC(f343eee4) SHA1(1ce95285631f7ec91fe3f6c3d62b13f565d3816a) )
|
||||||
|
|
||||||
|
@ -181,32 +181,16 @@ WRITE8_HANDLER( cm_background_col_w )
|
|||||||
|
|
||||||
/* cherry master writes
|
/* cherry master writes
|
||||||
|
|
||||||
00 (at start)
|
so it's probably
|
||||||
14 (win 1st round)
|
|
||||||
38 (win 2nd round)
|
|
||||||
4c etc.
|
|
||||||
20
|
|
||||||
5c
|
|
||||||
|
|
||||||
these are the following values in binary (sorted)
|
0ggg cc00
|
||||||
|
|
||||||
0000 0000
|
where g is which girl to display and c is the colour palette
|
||||||
0001 0100
|
|
||||||
0010 0000
|
|
||||||
0011 1000
|
|
||||||
0100 1100
|
|
||||||
0101 1100
|
|
||||||
|
|
||||||
so it's probably
|
(note, this doesn't apply to the amcoe games which have no girls, I'm unsure how the priority/positioning works)
|
||||||
|
|
||||||
0ggg cc00
|
|
||||||
|
|
||||||
where g is which girl to display and c is the colour palette
|
|
||||||
|
|
||||||
(note, this doesn't apply to the amcoe games which have no girls, I'm unsure how the priority/positioning works)
|
|
||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
cmaster_girl_num = (data >> 4)&0x7;
|
cmaster_girl_num = (data >> 4)&0x7;
|
||||||
cmaster_girl_pal = (data >> 2)&0x3;
|
cmaster_girl_pal = (data >> 2)&0x3;
|
||||||
|
|
||||||
|
@ -1086,7 +1086,7 @@ VIDEO_UPDATE( apache3 )
|
|||||||
|
|
||||||
bitmap_fill(bitmap,cliprect,screen->machine->pens[0]);
|
bitmap_fill(bitmap,cliprect,screen->machine->pens[0]);
|
||||||
draw_sky(screen->machine, bitmap, cliprect, 256, apache3_rotate_ctrl[1]);
|
draw_sky(screen->machine, bitmap, cliprect, 256, apache3_rotate_ctrl[1]);
|
||||||
// draw_ground(screen->machine, bitmap, cliprect);
|
// draw_ground(screen->machine, bitmap, cliprect);
|
||||||
draw_sprites(screen->machine, bitmap,cliprect,0, (tatsumi_sprite_control_ram[0x20]&0x1000) ? 0x1000 : 0);
|
draw_sprites(screen->machine, bitmap,cliprect,0, (tatsumi_sprite_control_ram[0x20]&0x1000) ? 0x1000 : 0);
|
||||||
tilemap_draw(bitmap,cliprect,tx_layer,0,0);
|
tilemap_draw(bitmap,cliprect,tx_layer,0,0);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -9,4 +9,4 @@
|
|||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
const char build_version[] = "0.129u4 ("__DATE__")";
|
const char build_version[] = "0.129u5 ("__DATE__")";
|
||||||
|
Loading…
Reference in New Issue
Block a user