Cleanups and version bump for 0.128u4.
This commit is contained in:
parent
c1374de9c3
commit
1d05ea6089
@ -5,15 +5,15 @@
|
||||
|
||||
/*
|
||||
|
||||
RCA COSMAC Series Microprocessors
|
||||
RCA COSMAC Series Microprocessors
|
||||
|
||||
Type Internal ROM Internal RAM Timer
|
||||
-----------------------------------------------------
|
||||
CDP1802 none none no
|
||||
CDP1803 ? ? ?
|
||||
CDP1804 2 KB 64 bytes yes
|
||||
CDP1805 none 64 bytes yes
|
||||
CDP1806 none none yes
|
||||
Type Internal ROM Internal RAM Timer
|
||||
-----------------------------------------------------
|
||||
CDP1802 none none no
|
||||
CDP1803 ? ? ?
|
||||
CDP1804 2 KB 64 bytes yes
|
||||
CDP1805 none 64 bytes yes
|
||||
CDP1806 none none yes
|
||||
|
||||
*/
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
Binary:
|
||||
|
||||
Data Flow: A -> T7:4
|
||||
RAM(B) -> T3:0
|
||||
RAM(B) -> T3:0
|
||||
|
||||
Description: Copy A, RAM to T
|
||||
|
||||
@ -38,7 +38,7 @@ INSTRUCTION( camt )
|
||||
Binary:
|
||||
|
||||
Data Flow: T7:4 -> RAM(B)
|
||||
T3:0 -> A
|
||||
T3:0 -> A
|
||||
|
||||
Description: Copy T to RAM, A
|
||||
|
||||
|
@ -13,8 +13,8 @@
|
||||
|
||||
TODO:
|
||||
|
||||
- COP413/COP414/COP415/COP405
|
||||
- get rid of LBIOps/InstLen
|
||||
- COP413/COP414/COP415/COP405
|
||||
- get rid of LBIOps/InstLen
|
||||
- run interrupt test suite
|
||||
- run production test suite
|
||||
- run microbus test suite
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
TODO:
|
||||
|
||||
- get rid of LBIOps/InstLen
|
||||
- get rid of LBIOps/InstLen
|
||||
- when is the microbus int cleared?
|
||||
- CKO sync input
|
||||
- save internal RAM when CKO is RAM power supply pin
|
||||
|
@ -13,11 +13,11 @@
|
||||
|
||||
TODO:
|
||||
|
||||
- rename this file to cop444.c
|
||||
- COP440/COP441/COP442 (new registers: 4-bit H, 8-bit R; some new opcodes, 2Kx8 ROM, 160x4 RAM)
|
||||
- COP404 emulation configuration inputs
|
||||
- RAM bus width
|
||||
- get rid of LBIOps/InstLen
|
||||
- rename this file to cop444.c
|
||||
- COP440/COP441/COP442 (new registers: 4-bit H, 8-bit R; some new opcodes, 2Kx8 ROM, 160x4 RAM)
|
||||
- COP404 emulation configuration inputs
|
||||
- RAM bus width
|
||||
- get rid of LBIOps/InstLen
|
||||
- when is the microbus int cleared?
|
||||
- CKO sync input
|
||||
- save internal RAM when CKO is RAM power supply pin
|
||||
|
@ -184,7 +184,7 @@ INLINE void fetch_effective_address( m68_state_t *m68_state );
|
||||
#define pW m68_state->w
|
||||
|
||||
/* #define pQ m68_state->q */
|
||||
/* #define pZ m68_state->z */
|
||||
/* #define pZ m68_state->z */
|
||||
|
||||
#define PPC m68_state->ppc.w.l
|
||||
#define PC m68_state->pc.w.l
|
||||
|
@ -110,7 +110,7 @@
|
||||
8042 256 2k (ROM)
|
||||
8742 256 2k (EPROM)
|
||||
|
||||
http://cpucharts.wallsoferyx.net/icmatrix0.html
|
||||
http://cpucharts.wallsoferyx.net/icmatrix0.html
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1622,7 +1622,7 @@ static void mips_state_register( const char *type, const device_config *device )
|
||||
static CPU_INIT( psxcpu )
|
||||
{
|
||||
psxcpu_state *psxcpu = device->token;
|
||||
// psxcpu->intf = (psxcpu_interface *) device->static_config;
|
||||
// psxcpu->intf = (psxcpu_interface *) device->static_config;
|
||||
|
||||
psxcpu->irq_callback = irqcallback;
|
||||
psxcpu->device = device;
|
||||
|
@ -8,13 +8,13 @@ static int y;
|
||||
|
||||
INLINE void ea (void)
|
||||
{
|
||||
/* while (1)
|
||||
{
|
||||
if (ib == 0)
|
||||
return;
|
||||
ib = (READ_PDP_18BIT (y) >> 12) & 1;
|
||||
y = READ_PDP_18BIT (y) & 07777;
|
||||
}*/
|
||||
/* while (1)
|
||||
{
|
||||
if (ib == 0)
|
||||
return;
|
||||
ib = (READ_PDP_18BIT (y) >> 12) & 1;
|
||||
y = READ_PDP_18BIT (y) & 07777;
|
||||
}*/
|
||||
}
|
||||
|
||||
#define IN if (ib) sprintf(buffer+strlen(buffer)," i")
|
||||
|
@ -1290,8 +1290,8 @@ WRITE16_HANDLER( tms34010_io_register_w )
|
||||
break;
|
||||
}
|
||||
|
||||
// if (LOG_CONTROL_REGS)
|
||||
// logerror("CPU#%d@%08X: %s = %04X (%d)\n", cpunum, cpu_get_pc(space->cpu), ioreg_name[offset], IOREG(tms, offset), video_screen_get_vpos(tms->screen));
|
||||
// if (LOG_CONTROL_REGS)
|
||||
// logerror("CPU#%d@%08X: %s = %04X (%d)\n", cpunum, cpu_get_pc(space->cpu), ioreg_name[offset], IOREG(tms, offset), video_screen_get_vpos(tms->screen));
|
||||
}
|
||||
|
||||
|
||||
@ -1327,8 +1327,8 @@ WRITE16_HANDLER( tms34020_io_register_w )
|
||||
oldreg = IOREG(tms, offset);
|
||||
IOREG(tms, offset) = data;
|
||||
|
||||
// if (LOG_CONTROL_REGS)
|
||||
// logerror("CPU#%d@%08X: %s = %04X (%d)\n", cpunum, cpu_get_pc(space->cpu), ioreg020_name[offset], IOREG(tms, offset), video_screen_get_vpos(tms->screen));
|
||||
// if (LOG_CONTROL_REGS)
|
||||
// logerror("CPU#%d@%08X: %s = %04X (%d)\n", cpunum, cpu_get_pc(space->cpu), ioreg020_name[offset], IOREG(tms, offset), video_screen_get_vpos(tms->screen));
|
||||
|
||||
switch (offset)
|
||||
{
|
||||
@ -1486,8 +1486,8 @@ READ16_HANDLER( tms34010_io_register_r )
|
||||
tms34010_state *tms = space->cpu->token;
|
||||
int result, total;
|
||||
|
||||
// if (LOG_CONTROL_REGS)
|
||||
// logerror("CPU#%d@%08X: read %s\n", cpunum, cpu_get_pc(space->cpu), ioreg_name[offset]);
|
||||
// if (LOG_CONTROL_REGS)
|
||||
// logerror("CPU#%d@%08X: read %s\n", cpunum, cpu_get_pc(space->cpu), ioreg_name[offset]);
|
||||
|
||||
switch (offset)
|
||||
{
|
||||
@ -1529,8 +1529,8 @@ READ16_HANDLER( tms34020_io_register_r )
|
||||
tms34010_state *tms = space->cpu->token;
|
||||
int result, total;
|
||||
|
||||
// if (LOG_CONTROL_REGS)
|
||||
// logerror("CPU#%d@%08X: read %s\n", cpunum, cpu_get_pc(space->cpu), ioreg_name[offset]);
|
||||
// if (LOG_CONTROL_REGS)
|
||||
// logerror("CPU#%d@%08X: read %s\n", cpunum, cpu_get_pc(space->cpu), ioreg_name[offset]);
|
||||
|
||||
switch (offset)
|
||||
{
|
||||
|
@ -78,8 +78,8 @@ struct _mc6845_interface
|
||||
mc6845_on_vsync_changed_func on_vsync_changed;
|
||||
|
||||
/* Called whenenever the update address changes
|
||||
* For vblank/hblank timing strobe indicates the physical update.
|
||||
* vblank/hblank timing not supported yet! */
|
||||
* For vblank/hblank timing strobe indicates the physical update.
|
||||
* vblank/hblank timing not supported yet! */
|
||||
|
||||
mc6845_on_update_addr_changed_func on_update_addr_changed;
|
||||
};
|
||||
|
@ -123,8 +123,8 @@ static UINT16 defender_sensor,shutter_sensor;
|
||||
|
||||
static READ16_HANDLER( drill_io_r )
|
||||
{
|
||||
// if(offset*2 == 0x4)
|
||||
// popmessage("PC=%08x %04x %04x %04x %04x %04x %04x %04x %04x",cpu_get_pc(space->cpu),iodata[0/2],iodata[2/2],iodata[4/2],iodata[6/2],iodata[8/2],iodata[0xa/2],iodata[0xc/2],iodata[0xe/2]);
|
||||
// if(offset*2 == 0x4)
|
||||
// popmessage("PC=%08x %04x %04x %04x %04x %04x %04x %04x %04x",cpu_get_pc(space->cpu),iodata[0/2],iodata[2/2],iodata[4/2],iodata[6/2],iodata[8/2],iodata[0xa/2],iodata[0xc/2],iodata[0xe/2]);
|
||||
|
||||
switch(offset)
|
||||
{
|
||||
@ -142,7 +142,7 @@ static READ16_HANDLER( drill_io_r )
|
||||
}
|
||||
case 0x4/2: return (defender_sensor) | (shutter_sensor);
|
||||
case 0xe/2: return input_port_read(space->machine, "IN2");//coins
|
||||
// default: printf("PC=%08x [%04x] -> %04x R\n",cpu_get_pc(space->cpu),offset*2,iodata[offset]);
|
||||
// default: printf("PC=%08x [%04x] -> %04x R\n",cpu_get_pc(space->cpu),offset*2,iodata[offset]);
|
||||
}
|
||||
|
||||
return 0xffff;
|
||||
@ -162,23 +162,23 @@ static WRITE16_HANDLER( drill_io_w )
|
||||
break;
|
||||
}
|
||||
|
||||
// if(data != 0 && offset != 8)
|
||||
// printf("PC=%08x [%04x] <- %04x W\n",cpu_get_pc(space->cpu),offset*2,data);
|
||||
// if(data != 0 && offset != 8)
|
||||
// printf("PC=%08x [%04x] <- %04x W\n",cpu_get_pc(space->cpu),offset*2,data);
|
||||
}
|
||||
|
||||
/*
|
||||
PORT_DIPNAME( 0x0100, 0x0000, DEF_STR( Unknown ) )//up sensor <- shutter
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0100, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0200, 0x0000, DEF_STR( Unknown ) )//down sensor
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0200, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0400, 0x0000, DEF_STR( Unknown ) )//left sensor <-defender
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0400, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0800, 0x0000, DEF_STR( Unknown ) )//right sensor
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0800, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0100, 0x0000, DEF_STR( Unknown ) )//up sensor <- shutter
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0100, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0200, 0x0000, DEF_STR( Unknown ) )//down sensor
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0200, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0400, 0x0000, DEF_STR( Unknown ) )//left sensor <-defender
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0400, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0800, 0x0000, DEF_STR( Unknown ) )//right sensor
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0800, DEF_STR( On ) )
|
||||
*/
|
||||
#ifdef UNUSED_FUNCTION
|
||||
static TIMER_CALLBACK( shutter_req )
|
||||
@ -450,7 +450,7 @@ static DRIVER_INIT( drill )
|
||||
// rearrange gfx roms to something we can decode, two of the roms form 4bpp of the graphics, the third forms another 2bpp but is in a different format
|
||||
UINT32 *src = (UINT32*)memory_region( machine, "gfx2" );
|
||||
UINT32 *dst = (UINT32*)memory_region( machine, "gfx1" );// + 0x400000;
|
||||
// UINT8 *rom = memory_region( machine, "main" );
|
||||
// UINT8 *rom = memory_region( machine, "main" );
|
||||
int i;
|
||||
|
||||
for (i=0; i< 0x400000/4; i++)
|
||||
@ -461,10 +461,10 @@ static DRIVER_INIT( drill )
|
||||
}
|
||||
|
||||
//enable some kind of debug mode (ignore errors)
|
||||
// rom[0x7fffb]=0;
|
||||
// rom[0x7fffc]=0;
|
||||
// rom[0x7fffd]=0;
|
||||
// rom[0x7fffe]=0;
|
||||
// rom[0x7fffb]=0;
|
||||
// rom[0x7fffc]=0;
|
||||
// rom[0x7fffd]=0;
|
||||
// rom[0x7fffe]=0;
|
||||
}
|
||||
|
||||
GAME( 1993, 2mindril, 0, drill, drill, drill, ROT0, "Taito", "Two Minute Drill", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS )
|
||||
|
@ -335,10 +335,10 @@ static PALETTE_INIT( cultures )
|
||||
b = ((c & 0x08) >> 1) | ((c & 0x80) >> 4) | i;
|
||||
|
||||
/*
|
||||
r = ((c & 0x0c) >> 0) | i;
|
||||
g = ((c & 0x30) >> 2) | i;
|
||||
b = ((c & 0xc0) >> 4) | i;
|
||||
*/
|
||||
r = ((c & 0x0c) >> 0) | i;
|
||||
g = ((c & 0x30) >> 2) | i;
|
||||
b = ((c & 0xc0) >> 4) | i;
|
||||
*/
|
||||
|
||||
x = ((c >> 4) & 0x0f);
|
||||
|
||||
|
@ -290,7 +290,7 @@ static READ16_HANDLER ( dlbewing_prot_r )
|
||||
case 0x532: return dblwings_580_data;
|
||||
}
|
||||
|
||||
// printf("dblewing prot r %08x, %04x, %04x\n",cpu_get_pc(space->cpu), offset*2, mem_mask);
|
||||
// printf("dblewing prot r %08x, %04x, %04x\n",cpu_get_pc(space->cpu), offset*2, mem_mask);
|
||||
|
||||
if ((offset*2)==0x0f8) return 0; // dblwings_080_data;
|
||||
if ((offset*2)==0x104) return 0;
|
||||
@ -309,8 +309,8 @@ static READ16_HANDLER ( dlbewing_prot_r )
|
||||
|
||||
static WRITE16_HANDLER( dblewing_prot_w )
|
||||
{
|
||||
// if(offset*2 != 0x380)
|
||||
// printf("dblewing prot w %08x, %04x, %04x %04x\n",cpu_get_pc(space->cpu), offset*2, mem_mask,data);
|
||||
// if(offset*2 != 0x380)
|
||||
// printf("dblewing prot w %08x, %04x, %04x %04x\n",cpu_get_pc(space->cpu), offset*2, mem_mask,data);
|
||||
|
||||
switch(offset*2)
|
||||
{
|
||||
@ -411,7 +411,7 @@ static WRITE16_HANDLER( dblewing_prot_w )
|
||||
return; // p2 inputs select screen OK
|
||||
}
|
||||
|
||||
// printf("dblewing prot w %08x, %04x, %04x %04x\n",cpu_get_pc(space->cpu), offset*2, mem_mask,data);
|
||||
// printf("dblewing prot w %08x, %04x, %04x %04x\n",cpu_get_pc(space->cpu), offset*2, mem_mask,data);
|
||||
|
||||
if ((offset*2)==0x008) { dblwings_008_data = data; return; }
|
||||
if ((offset*2)==0x080) { dblwings_080_data = data; return; } // p3 3rd boss?
|
||||
@ -434,10 +434,10 @@ static ADDRESS_MAP_START( dblewing_map, ADDRESS_SPACE_PROGRAM, 16 )
|
||||
|
||||
/* protection */
|
||||
// AM_RANGE(0x280104, 0x280105) AM_WRITE(SMH_NOP) // ??
|
||||
// AM_RANGE(0x2800ac, 0x2800ad) AM_READ_PORT("DSW") // dips
|
||||
// AM_RANGE(0x280298, 0x280299) AM_READ_PORT("SYSTEM") // vbl
|
||||
// AM_RANGE(0x280506, 0x280507) AM_READ_PORT("UNK")
|
||||
// AM_RANGE(0x2802B4, 0x2802B5) AM_READ_PORT("P1_P2") // inverted?
|
||||
// AM_RANGE(0x2800ac, 0x2800ad) AM_READ_PORT("DSW") // dips
|
||||
// AM_RANGE(0x280298, 0x280299) AM_READ_PORT("SYSTEM") // vbl
|
||||
// AM_RANGE(0x280506, 0x280507) AM_READ_PORT("UNK")
|
||||
// AM_RANGE(0x2802B4, 0x2802B5) AM_READ_PORT("P1_P2") // inverted?
|
||||
// AM_RANGE(0x280330, 0x280331) AM_READ(SMH_NOP) // sound?
|
||||
// AM_RANGE(0x280380, 0x280381) AM_WRITE(SMH_NOP) // sound
|
||||
|
||||
|
@ -116,7 +116,7 @@ static READ8_HANDLER( vga_hvretrace_r )
|
||||
h = video_screen_get_height(space->machine->primary_screen);
|
||||
w = video_screen_get_width(space->machine->primary_screen);
|
||||
|
||||
// popmessage("%d %d",h,w);
|
||||
// popmessage("%d %d",h,w);
|
||||
|
||||
if (video_screen_get_hpos(space->machine->primary_screen) > h)
|
||||
res|= 1;
|
||||
@ -365,7 +365,7 @@ static WRITE8_HANDLER( disk_iobank_w )
|
||||
*/
|
||||
int newbank = 0;
|
||||
|
||||
// printf("bank %d set to %02X\n", offset,data);
|
||||
// printf("bank %d set to %02X\n", offset,data);
|
||||
|
||||
if (data == 0xF0)
|
||||
{
|
||||
@ -383,7 +383,7 @@ static WRITE8_HANDLER( disk_iobank_w )
|
||||
newbank = 3;
|
||||
}
|
||||
|
||||
// printf("newbank = %d\n", newbank);
|
||||
// printf("newbank = %d\n", newbank);
|
||||
|
||||
if (newbank != bank)
|
||||
{
|
||||
@ -460,8 +460,8 @@ static READ8_DEVICE_HANDLER( port_c_r )
|
||||
static WRITE8_DEVICE_HANDLER( port_b_w )
|
||||
{
|
||||
port_b_data = data;
|
||||
// hc55516_digit_w(0, data);
|
||||
// popmessage("%02x",data);
|
||||
// hc55516_digit_w(0, data);
|
||||
// popmessage("%02x",data);
|
||||
}
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( wss_1_w )
|
||||
@ -511,7 +511,7 @@ static UINT8 status;
|
||||
static READ8_HANDLER( fdc765_status_r )
|
||||
{
|
||||
static UINT8 tmp,clr_status;
|
||||
// popmessage("Read FDC status @ PC=%05x",cpu_get_pc(space->cpu));
|
||||
// popmessage("Read FDC status @ PC=%05x",cpu_get_pc(space->cpu));
|
||||
tmp = status | 0x80;
|
||||
clr_status++;
|
||||
if(clr_status == 0x10)
|
||||
@ -680,7 +680,7 @@ static ADDRESS_MAP_START( filetto_io, ADDRESS_SPACE_IO, 8 )
|
||||
AM_RANGE(0x0070, 0x007f) AM_READWRITE(mc146818_port_r,mc146818_port_w)
|
||||
AM_RANGE(0x0080, 0x0087) AM_READWRITE(dma_page_select_r,dma_page_select_w)
|
||||
AM_RANGE(0x00a0, 0x00af) AM_DEVREADWRITE(PIC8259, "pic8259_2", pic8259_r, pic8259_w )
|
||||
// AM_RANGE(0x0200, 0x020f) AM_RAM //game port
|
||||
// AM_RANGE(0x0200, 0x020f) AM_RAM //game port
|
||||
AM_RANGE(0x0201, 0x0201) AM_READ_PORT("COIN") //game port
|
||||
AM_RANGE(0x0278, 0x027f) AM_RAM //printer (parallel) port latch
|
||||
AM_RANGE(0x02f8, 0x02ff) AM_RAM //Modem port
|
||||
|
@ -2,7 +2,7 @@
|
||||
Gals Panic 3
|
||||
(c) Kaneko 1995
|
||||
|
||||
Driver by David Haywood
|
||||
Driver by David Haywood
|
||||
|
||||
Original Skeleton driver by David Haywood
|
||||
Early Progress by Sebastien Volpe
|
||||
@ -233,8 +233,8 @@ static VIDEO_UPDATE(galpani3)
|
||||
else
|
||||
{
|
||||
/* this isn't right, but the registers have something to do with
|
||||
alpha / mixing, and bit 0x8000 of the palette is DEFINITELY alpha
|
||||
enable -- see fading in intro */
|
||||
alpha / mixing, and bit 0x8000 of the palette is DEFINITELY alpha
|
||||
enable -- see fading in intro */
|
||||
if (dat1 && galpani3_framebuffer1_enable)
|
||||
{
|
||||
UINT16 pen = dat1+0x4000;
|
||||
@ -298,28 +298,28 @@ static VIDEO_UPDATE(galpani3)
|
||||
}
|
||||
|
||||
/*
|
||||
else if (pridat==0x2f) // area outside of the girl
|
||||
{
|
||||
//dst[0] = mame_rand(screen->machine)&0x3fff;
|
||||
}
|
||||
else if (pridat==0x2f) // area outside of the girl
|
||||
{
|
||||
//dst[0] = mame_rand(screen->machine)&0x3fff;
|
||||
}
|
||||
|
||||
else if (pridat==0x00) // the initial line / box that gets drawn
|
||||
{
|
||||
//dst[0] = mame_rand(screen->machine)&0x3fff;
|
||||
}
|
||||
else if (pridat==0x30) // during the 'gals boxes' on the intro
|
||||
{
|
||||
//dst[0] = mame_rand(screen->machine)&0x3fff;
|
||||
}
|
||||
else if (pridat==0x0c) // 'nice' at end of level
|
||||
{
|
||||
//dst[0] = mame_rand(screen->machine)&0x3fff;
|
||||
}
|
||||
else
|
||||
{
|
||||
//printf("%02x, ",pridat);
|
||||
}
|
||||
*/
|
||||
else if (pridat==0x00) // the initial line / box that gets drawn
|
||||
{
|
||||
//dst[0] = mame_rand(screen->machine)&0x3fff;
|
||||
}
|
||||
else if (pridat==0x30) // during the 'gals boxes' on the intro
|
||||
{
|
||||
//dst[0] = mame_rand(screen->machine)&0x3fff;
|
||||
}
|
||||
else if (pridat==0x0c) // 'nice' at end of level
|
||||
{
|
||||
//dst[0] = mame_rand(screen->machine)&0x3fff;
|
||||
}
|
||||
else
|
||||
{
|
||||
//printf("%02x, ",pridat);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ static WRITE32_HANDLER( flash_reg_w )
|
||||
{
|
||||
case 0:
|
||||
//if((flash_regs[offset] & 0xff) != 0x60)
|
||||
// printf("%08x\n",flash_regs[offset]);
|
||||
// printf("%08x\n",flash_regs[offset]);
|
||||
break;
|
||||
case 1:
|
||||
break;
|
||||
@ -323,7 +323,7 @@ static WRITE32_HANDLER( lcd_control_w )
|
||||
|
||||
static READ32_HANDLER( io_port_r )
|
||||
{
|
||||
// printf("%08x\n",offset*4);
|
||||
// printf("%08x\n",offset*4);
|
||||
|
||||
switch(offset)
|
||||
{
|
||||
@ -349,7 +349,7 @@ static READ32_HANDLER( io_port_r )
|
||||
static WRITE32_HANDLER( io_port_w )
|
||||
{
|
||||
COMBINE_DATA(&io_port[offset]);
|
||||
// printf("[%08x] <- %08x\n",offset*4,data);
|
||||
// printf("[%08x] <- %08x\n",offset*4,data);
|
||||
}
|
||||
|
||||
|
||||
@ -483,7 +483,7 @@ static INTERRUPT_GEN( bballoon_interrupt )
|
||||
cpu_set_input_line(device, ARM7_IRQ_LINE, HOLD_LINE);
|
||||
//cpu_set_input_line(device, ARM7_FIRQ_LINE, HOLD_LINE);
|
||||
|
||||
// irq_en = 0;
|
||||
// irq_en = 0;
|
||||
}
|
||||
|
||||
static MACHINE_DRIVER_START( bballoon )
|
||||
@ -500,8 +500,8 @@ static MACHINE_DRIVER_START( bballoon )
|
||||
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
|
||||
MDRV_SCREEN_SIZE(320, 256)
|
||||
MDRV_SCREEN_VISIBLE_AREA(0, 320-1, 0, 256-1)
|
||||
// MDRV_SCREEN_SIZE(1024, 1024)
|
||||
// MDRV_SCREEN_VISIBLE_AREA(0, 1023, 0, 1023)
|
||||
// MDRV_SCREEN_SIZE(1024, 1024)
|
||||
// MDRV_SCREEN_VISIBLE_AREA(0, 1023, 0, 1023)
|
||||
|
||||
MDRV_PALETTE_LENGTH(256)
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
Jackie Chan in Fists of Fire
|
||||
(c) Kaneko 1995
|
||||
|
||||
Driver by David Haywood
|
||||
based on work by Sebastien Volpe
|
||||
Driver by David Haywood
|
||||
based on work by Sebastien Volpe
|
||||
|
||||
started: May 12 2004
|
||||
|
||||
@ -644,7 +644,7 @@ static INPUT_PORTS_START( jchan2 )
|
||||
|
||||
PORT_MODIFY("DSW")
|
||||
PORT_DIPUNUSED( 0x4000, IP_ACTIVE_LOW ) /* only read in the "test mode" ("Input Test" screen) */
|
||||
// PORT_DIPNAME( 0x8000, 0x8000, "Buttons Layout" ) /* impacts $20011e.l once! -> impacts reading of controls at 0x0002a9b2 */
|
||||
// PORT_DIPNAME( 0x8000, 0x8000, "Buttons Layout" ) /* impacts $20011e.l once! -> impacts reading of controls at 0x0002a9b2 */
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
@ -2569,7 +2569,7 @@ GAME( 1981, kickc, kick, mcr_90009, kickc, kick, ROT90,
|
||||
GAME( 1981, shollow, 0, mcr_90010, shollow, mcr_90010, ROT90, "Bally Midway", "Satan's Hollow (set 1)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1981, shollow2, shollow, mcr_90010, shollow, mcr_90010, ROT90, "Bally Midway", "Satan's Hollow (set 2)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, tron, 0, mcr_90010, tron, mcr_90010, ROT90, "Bally Midway", "Tron (8/9)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, tron2, tron, mcr_90010, tron, mcr_90010, ROT90, "Bally Midway", "Tron (6/25?)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, tron2, tron, mcr_90010, tron, mcr_90010, ROT90, "Bally Midway", "Tron (6/25)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, tron3, tron, mcr_90010, tron, mcr_90010, ROT90, "Bally Midway", "Tron (6/17)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, tron4, tron, mcr_90010, tron, mcr_90010, ROT90, "Bally Midway", "Tron (6/15)", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1982, domino, 0, mcr_90010, domino, mcr_90010, ROT0, "Bally Midway", "Domino Man", GAME_SUPPORTS_SAVE )
|
||||
|
@ -488,12 +488,12 @@ static INPUT_PORTS_START( minferno )
|
||||
PORT_DIPSETTING( 0x10, "20s" )
|
||||
PORT_DIPSETTING( 0x20, "40s" )
|
||||
PORT_DIPSETTING( 0x30, "60s" )
|
||||
/* PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unused ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unused ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( On ) ) */
|
||||
/* PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unused ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unused ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( On ) ) */
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
@ -167,10 +167,10 @@ static INPUT_PORTS_START( mnchmobl )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( 2C_1C ) )
|
||||
PORT_DIPSETTING( 0x16, DEF_STR( 3C_2C ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
|
||||
// PORT_DIPSETTING( 0x1e, DEF_STR( 1C_1C ) )
|
||||
// PORT_DIPSETTING( 0x1c, DEF_STR( 1C_1C ) )
|
||||
// PORT_DIPSETTING( 0x1a, DEF_STR( 1C_1C ) )
|
||||
// PORT_DIPSETTING( 0x18, DEF_STR( 1C_1C ) )
|
||||
// PORT_DIPSETTING( 0x1e, DEF_STR( 1C_1C ) )
|
||||
// PORT_DIPSETTING( 0x1c, DEF_STR( 1C_1C ) )
|
||||
// PORT_DIPSETTING( 0x1a, DEF_STR( 1C_1C ) )
|
||||
// PORT_DIPSETTING( 0x18, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x12, DEF_STR( 2C_3C ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_3C ) )
|
||||
@ -243,13 +243,13 @@ static INPUT_PORTS_START( mnchmobl )
|
||||
PORT_DIPSETTING( 0x82, "50k 150k" )
|
||||
PORT_DIPSETTING( 0xa2, "60k 160k" )
|
||||
PORT_DIPSETTING( 0xc2, "70k 170k" )
|
||||
// PORT_DIPSETTING( 0x13, "10k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0x33, "20k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0x53, "30k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0x73, "40k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0x93, "50k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0xb3, "60k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0xd3, "70k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0x13, "10k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0x33, "20k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0x53, "30k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0x73, "40k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0x93, "50k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0xb3, "60k" ) /* duplicated setting */
|
||||
// PORT_DIPSETTING( 0xd3, "70k" ) /* duplicated setting */
|
||||
PORT_DIPSETTING( 0x03, "10k" )
|
||||
PORT_DIPSETTING( 0x23, "20k" )
|
||||
PORT_DIPSETTING( 0x43, "30k" )
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Hardware: * R4650 (MIPS III with IDT special instructions) main CPU.
|
||||
133 MHz for Gorgon, 166 MHz for System 23 and Super System 23, and
|
||||
200 MHz for Super System 23 Evolution 2.
|
||||
200 MHz for Super System 23 Evolution 2.
|
||||
* H8/3002 MCU for sound/inputs
|
||||
* Custom polygon hardware
|
||||
* 1 text tilemap
|
||||
|
@ -1235,7 +1235,7 @@ static DRIVER_INIT( kram3 )
|
||||
The encryption algorithm is only partially understood.
|
||||
|
||||
We are currently using two incomplete 2048-nibble tables to get a address
|
||||
dependant xor.
|
||||
dependant xor.
|
||||
|
||||
One important thing to note is that for 6809 instructions that take two
|
||||
opcodes (that is, 10 xx and 11 xx) only the first opcode is encrypted, not the
|
||||
|
@ -168,7 +168,7 @@ static INPUT_PORTS_START( scotrsht )
|
||||
PORT_DIPSETTING( 0xb0, DEF_STR( 1C_5C ) )
|
||||
PORT_DIPSETTING( 0xa0, DEF_STR( 1C_6C ) )
|
||||
PORT_DIPSETTING( 0x90, DEF_STR( 1C_7C ) )
|
||||
// PORT_DIPSETTING( 0x00, "Disable All Coin Slots" )
|
||||
// PORT_DIPSETTING( 0x00, "Disable All Coin Slots" )
|
||||
|
||||
PORT_START("DSW2") /* $3100 -> $196f */
|
||||
PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
|
||||
|
@ -2506,14 +2506,14 @@ static MACHINE_START( stv )
|
||||
state_save_register_global_pointer(smpc_ram, 0x80);
|
||||
state_save_register_global_pointer(stv_scu, 0x100/4);
|
||||
state_save_register_global_pointer(scsp_regs, 0x1000/2);
|
||||
// state_save_register_global(stv_vblank);
|
||||
// state_save_register_global(stv_hblank);
|
||||
// state_save_register_global(stv_vblank);
|
||||
// state_save_register_global(stv_hblank);
|
||||
state_save_register_global(stv_enable_slave_sh2);
|
||||
state_save_register_global(NMI_reset);
|
||||
state_save_register_global(en_68k);
|
||||
state_save_register_global(timer_0);
|
||||
state_save_register_global(timer_1);
|
||||
// state_save_register_global(scanline);
|
||||
// state_save_register_global(scanline);
|
||||
state_save_register_global(IOSEL1);
|
||||
state_save_register_global(IOSEL2);
|
||||
state_save_register_global(EXLE1);
|
||||
@ -2608,8 +2608,8 @@ static TIMER_CALLBACK( hblank_in_irq )
|
||||
{
|
||||
int scanline = param;
|
||||
|
||||
// h = video_screen_get_height(machine->primary_screen);
|
||||
// w = video_screen_get_width(machine->primary_screen);
|
||||
// h = video_screen_get_height(machine->primary_screen);
|
||||
// w = video_screen_get_width(machine->primary_screen);
|
||||
|
||||
TIMER_0_IRQ;
|
||||
HBLANK_IN_IRQ;
|
||||
@ -2652,7 +2652,7 @@ static TIMER_CALLBACK( vblank_in_irq )
|
||||
/*V-Blank-OUT event*/
|
||||
static INTERRUPT_GEN( stv_interrupt )
|
||||
{
|
||||
// scanline = 0;
|
||||
// scanline = 0;
|
||||
h_sync = video_screen_get_height(device->machine->primary_screen)/2;//horz
|
||||
v_sync = video_screen_get_width(device->machine->primary_screen)-2;//vert
|
||||
|
||||
|
@ -2538,7 +2538,7 @@ ROM_START( pbobble2 )
|
||||
|
||||
ROM_REGION(0x2000, "extra", 0)
|
||||
ROM_LOAD("e10-21.bin", 0x000000, 0x117, CRC(458499b7) SHA1(0c49aaf75539587d1f5367b3dc72799003824544) )
|
||||
// ROM_LOAD("e10-21.jed", 0x000000, 0xc2b, CRC(8e9fa5d6) SHA1(5fb120d80f7ceee96a2fad863cf61a1f0b02877f) )
|
||||
// ROM_LOAD("e10-21.jed", 0x000000, 0xc2b, CRC(8e9fa5d6) SHA1(5fb120d80f7ceee96a2fad863cf61a1f0b02877f) )
|
||||
ROM_END
|
||||
|
||||
|
||||
|
@ -78,7 +78,7 @@ struct _naomibd_config
|
||||
MDRV_DEVICE_REMOVE(_tag, NAOMI_BOARD)
|
||||
|
||||
/*#define MDRV_NAOMIBD_TMU_MEMORY(_tmu, _tmumem) \
|
||||
MDRV_DEVICE_CONFIG_DATA32(naomibd_config, tmumem##_tmu, _tmumem)*/
|
||||
MDRV_DEVICE_CONFIG_DATA32(naomibd_config, tmumem##_tmu, _tmumem)*/
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -329,7 +329,7 @@ static void amiga_m68k_reset(const device_config *device)
|
||||
|
||||
MACHINE_RESET( amiga )
|
||||
{
|
||||
// const address_space *space = cpu_get_address_space(Machine->cpu[0], ADDRESS_SPACE_PROGRAM);
|
||||
// const address_space *space = cpu_get_address_space(Machine->cpu[0], ADDRESS_SPACE_PROGRAM);
|
||||
|
||||
/* set m68k reset function */
|
||||
cpu_set_info_fct(machine->cpu[0], CPUINFO_PTR_M68K_RESET_CALLBACK, (genf *)amiga_m68k_reset);
|
||||
|
@ -303,7 +303,7 @@ WRITE32_HANDLER( stv_vdp1_regs_w )
|
||||
/* needed by pblbeach, it doesn't clear local coordinates in its sprite list...*/
|
||||
//if ( !strcmp(space->machine->gamedrv->name, "pblbeach") )
|
||||
//{
|
||||
// stvvdp1_local_x = stvvdp1_local_y = 0;
|
||||
// stvvdp1_local_x = stvvdp1_local_y = 0;
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
@ -5440,15 +5440,15 @@ static void stv_vdp2_dynamic_res_change(running_machine *machine)
|
||||
case 6: horz_res = 640; vert_res = 480; break;
|
||||
case 7: horz_res = 704; vert_res = 480; break;
|
||||
}
|
||||
// horz_res+=1;
|
||||
// vert_res*=2;
|
||||
// horz_res+=1;
|
||||
// vert_res*=2;
|
||||
if(old_vres != vert_res || old_hres != horz_res)
|
||||
{
|
||||
timer_set(video_screen_get_time_until_pos(machine->primary_screen, 0, 0), NULL, 0, dyn_res_change);
|
||||
old_vres = vert_res;
|
||||
old_hres = horz_res;
|
||||
}
|
||||
// video_screen_set_visarea(machine->primary_screen, 0*8, horz_res-1,0*8, vert_res-1);
|
||||
// video_screen_set_visarea(machine->primary_screen, 0*8, horz_res-1,0*8, vert_res-1);
|
||||
//if(LOG_VDP2) popmessage("%04d %04d",horz_res-1,vert-1);
|
||||
}
|
||||
|
||||
|
@ -9,4 +9,4 @@
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
const char build_version[] = "0.128u3 ("__DATE__")";
|
||||
const char build_version[] = "0.128u4 ("__DATE__")";
|
||||
|
Loading…
Reference in New Issue
Block a user