Cleanups and version bump.

This commit is contained in:
Aaron Giles 2010-03-04 08:28:27 +00:00
parent e73fdd89b9
commit 45bac81dd9
489 changed files with 1150 additions and 1150 deletions

View File

@ -149,7 +149,7 @@ struct _z80dma_t
UINT8 read_regs_follow[7];
UINT8 status;
UINT8 dma_enabled;
UINT16 addressA;
UINT16 addressB;
UINT16 count;
@ -378,14 +378,14 @@ static TIMER_CALLBACK( z80dma_timerproc )
{
z80dma->dma_enabled = 0; //FIXME: Correct?
z80dma->status = 0x19;
if(!(z80dma->rdy ^ READY_ACTIVE_HIGH(z80dma))) z80dma->status |= 0x02; // ready line status
if(TRANSFER_MODE(z80dma) == TM_TRANSFER) z80dma->status |= 0x10; // no match found
z80dma_update_status(device);
if (LOG) logerror("Z80DMA '%s' End of Block\n", device->tag.cstr());
if (INT_ON_END_OF_BLOCK(z80dma))
{
trigger_interrupt(device, INT_END_OF_BLOCK);
@ -721,14 +721,14 @@ static int z80dma_irq_ack(running_device *device)
if (z80dma->ip)
{
if (LOG) logerror("Z80DMA '%s' Interrupt Acknowledge\n", device->tag.cstr());
/* clear interrupt pending flag */
z80dma->ip = 0;
interrupt_check(z80dma);
/* set interrupt under service flag */
z80dma->ius = 1;
/* disable DMA */
z80dma->dma_enabled = 0;

View File

@ -4,7 +4,7 @@
Copyright Nicola Salmoria and the MAME Team.
Visit http://mamedev.org for licensing and usage restrictions.
***************************************************************************/
#include "emu.h"
@ -106,7 +106,7 @@ static void check_interrupts(running_device *device)
z80pio_t *z80pio = get_safe_token(device);
int state = CLEAR_LINE;
for (int index = PORT_A; index < PORT_COUNT; index++)
{
pio_port *port = &z80pio->port[index];
@ -333,7 +333,7 @@ WRITE8_DEVICE_HANDLER( z80pio_c_w )
case MASK: /* interrupt mask */
port->mask = data;
if (LOG) logerror("Z80PIO '%s' Port %c Mask: %02x\n", device->tag.cstr(), 'A' + index, data);
/* set interrupt enable */
port->ie = BIT(port->icw, 7);
check_interrupts(device);
@ -509,7 +509,7 @@ READ8_DEVICE_HANDLER( z80pio_pa_r )
{
z80pio_t *z80pio = get_safe_token(device);
pio_port *port = &z80pio->port[PORT_A];
UINT8 data = 0xff;
switch (port->mode)
@ -538,7 +538,7 @@ WRITE8_DEVICE_HANDLER( z80pio_pa_w )
{
z80pio_t *z80pio = get_safe_token(device);
pio_port *port = &z80pio->port[PORT_A];
if (port->mode == MODE_BIT_CONTROL)
{
/* latch data */
@ -555,7 +555,7 @@ READ8_DEVICE_HANDLER( z80pio_pb_r )
{
z80pio_t *z80pio = get_safe_token(device);
pio_port *port = &z80pio->port[PORT_B];
UINT8 data = 0xff;
switch (port->mode)
@ -580,7 +580,7 @@ WRITE8_DEVICE_HANDLER( z80pio_pb_w )
{
z80pio_t *z80pio = get_safe_token(device);
pio_port *port = &z80pio->port[PORT_B];
if (port->mode == MODE_BIT_CONTROL)
{
/* latch data */
@ -616,7 +616,7 @@ static void strobe(running_device *device, int index, int state)
else if (!port->stb && state) /* rising edge */
{
trigger_interrupt(device, index);
/* clear ready line */
set_rdy(device, index, 0);
}
@ -705,7 +705,7 @@ static int z80pio_irq_state(running_device *device)
z80pio_t *z80pio = get_safe_token(device);
int state = 0;
for (int index = PORT_A; index < PORT_COUNT; index++)
{
pio_port *port = &z80pio->port[index];

View File

@ -17,7 +17,7 @@
PA6 8 | | 33 PB6
PA5 9 | | 32 PB5
PA4 10 | Z8420 | 31 PB4
GND 11 | | 30 PB3
GND 11 | | 30 PB3
PA3 12 | | 29 PB2
PA2 13 | | 28 PB1
PA1 14 | | 27 PB0

View File

@ -506,7 +506,7 @@ void mos6560_raster_interrupt_gen( running_device *device )
/*-------------------------------------------------
mos6560_video_update - copy the VIC bitmap to
mos6560_video_update - copy the VIC bitmap to
main screen bitmap
-------------------------------------------------*/

View File

@ -88,7 +88,7 @@
Thanks to PlgDavid for providing samples which helped immensely here.
Added true clock divider emulation, so sn94624 and sn76494 run 8x faster than
the others, as in real life.
15/02/2010: Lord Nightmare & Michael Zapf (additional testing by PlgDavid)
Fix noise period when set to mirror channel 3 and channel 3 period is set to 0 (tested on hardware for noise, wave needs tests) - MZ
Fix phase of noise on sn94624 and sn76489; all chips use a standard XOR, the only inversion is the output itself - LN, Plgdavid

View File

@ -53,7 +53,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, k3_state(machine)); }
k3_state(running_machine &machine) { }
/* memory pointers */
UINT16 * spriteram_1;
UINT16 * spriteram_2;

View File

@ -49,7 +49,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, ace_state(machine)); }
ace_state(running_machine &machine) { }
/* video-related */
UINT8 * ram2;
UINT8 * scoreram;

View File

@ -158,7 +158,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, adp_state(machine)); }
adp_state(running_machine &machine) { }
/* misc */
UINT8 mux_data;
UINT8 register_active;

View File

@ -20,7 +20,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, albazc_state(machine)); }
albazc_state(running_machine &machine) { }
/* video-related */
UINT8 * spriteram1;
UINT8 * spriteram2;

View File

@ -67,7 +67,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, albazg_state(machine)); }
albazg_state(running_machine &machine) { }
/* memory pointers */
UINT8 * cus_ram;
UINT8 * videoram;

View File

@ -47,7 +47,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, astinvad_state(machine)); }
astinvad_state(running_machine &machine) { }
UINT8 * colorram;
UINT8 * videoram;
size_t videoram_size;

View File

@ -30,7 +30,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, astrocorp_state(machine)); }
astrocorp_state(running_machine &machine) { }
/* memory pointers */
UINT16 * spriteram;
UINT16 * paletteram;

View File

@ -52,7 +52,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, attckufo_state(machine)); }
attckufo_state(running_machine &machine) { }
/* memory pointers */
UINT8 * mainram;
UINT8 * tileram;

View File

@ -90,7 +90,7 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
y = spriteram[offs] & 0xffff;
flash = y & 0x1000;
if (flash && (video_screen_get_frame_number(machine->primary_screen) & 1))
if (flash && (video_screen_get_frame_number(machine->primary_screen) & 1))
continue;
x = spriteram[offs + 2] & 0xffff;
@ -98,7 +98,7 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
pri = (x & 0xc000); // 2 bits or 1?
switch (pri & 0xc000)
switch (pri & 0xc000)
{
case 0x0000: pri = 0; break; // numbers, people, cars when in the air, status display..
case 0x4000: pri = 0xf0;break; // cars most of the time
@ -244,7 +244,7 @@ static READ32_HANDLER(backfire_control3_r)
static WRITE32_DEVICE_HANDLER(backfire_eeprom_w)
{
logerror("%s:write eprom %08x (%08x) %08x\n",cpuexec_describe_context(device->machine),offset<<1,mem_mask,data);
if (ACCESSING_BITS_0_7)
if (ACCESSING_BITS_0_7)
{
eeprom_set_clock_line(device, BIT(data, 1) ? ASSERT_LINE : CLEAR_LINE);
eeprom_write_bit(device, BIT(data, 0));

View File

@ -61,7 +61,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, beaminv_state(machine)); }
beaminv_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
size_t videoram_size;

View File

@ -123,7 +123,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, bigfghtr_state(machine)); }
bigfghtr_state(running_machine &machine) { }
/* video-related */
UINT16 * text_videoram;
UINT16 * bg_videoram;

View File

@ -26,7 +26,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, boxer_state(machine)); }
boxer_state(running_machine &machine) { }
/* memory pointers */
UINT8 * tile_ram;
UINT8 * sprite_ram;

View File

@ -89,7 +89,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, calorie_state(machine)); }
calorie_state(running_machine &machine) { }
/* memory pointers */
UINT8 * fg_ram;
UINT8 * sprites;

View File

@ -14,7 +14,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, cball_state(machine)); }
cball_state(running_machine &machine) { }
/* memory pointers */
UINT8 * video_ram;

View File

@ -529,7 +529,7 @@ static DRIVER_INIT( twocrude )
int i, j;
/* Main cpu decrypt */
for (i = 0x00000; i < 0x80000; i += 2)
for (i = 0x00000; i < 0x80000; i += 2)
{
int h = i + NATIVE_ENDIAN_VALUE_LE_BE(1,0), l = i + NATIVE_ENDIAN_VALUE_LE_BE(0,1);
@ -543,9 +543,9 @@ static DRIVER_INIT( twocrude )
/* Rearrange the 'extra' sprite bank to be in the same format as main sprites */
RAM = memory_region(machine, "gfx3") + 0x080000;
PTR = memory_region(machine, "gfx3") + 0x140000;
for (i = 0; i < 0x20000; i += 64)
for (i = 0; i < 0x20000; i += 64)
{
for (j = 0; j < 16; j += 1)
for (j = 0; j < 16; j += 1)
{ /* Copy 16 lines down */
RAM[i + 0 + j * 2] = PTR[i / 2 + 0 + j]; /* Pixels 0-7 for each plane */
RAM[i + 1 + j * 2] = PTR[i / 2 + 0x10000 + j];
@ -553,7 +553,7 @@ static DRIVER_INIT( twocrude )
RAM[i + 0xa0001 + j * 2] = PTR[i / 2 + 0x30000 + j];
}
for (j = 0; j < 16; j += 1)
for (j = 0; j < 16; j += 1)
{ /* Copy 16 lines down */
RAM[i + 0x20 + j * 2] = PTR[i / 2 + 0x10 + j]; /* Pixels 8-15 for each plane */
RAM[i + 0x21 + j * 2] = PTR[i / 2 + 0x10010 + j];

View File

@ -57,7 +57,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, chanbara_state(machine)); }
chanbara_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
UINT8 * videoram2;

View File

@ -53,7 +53,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, chinsan_state(machine)); }
chinsan_state(running_machine &machine) { }
/* memory pointers */
UINT8 * video;

View File

@ -23,7 +23,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, clayshoo_state(machine)); }
clayshoo_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
size_t videoram_size;

View File

@ -81,7 +81,7 @@ static READ16_HANDLER( cninja_irq_r )
{
cninja_state *state = (cninja_state *)space->machine->driver_data;
switch (offset)
switch (offset)
{
case 1: /* Raster IRQ scanline position */
@ -101,7 +101,7 @@ static WRITE16_HANDLER( cninja_irq_w )
{
cninja_state *state = (cninja_state *)space->machine->driver_data;
switch (offset)
switch (offset)
{
case 0:
/* IRQ enable:
@ -131,7 +131,7 @@ static WRITE16_HANDLER( cninja_irq_w )
static READ16_HANDLER( robocop2_prot_r )
{
switch (offset << 1)
switch (offset << 1)
{
case 0x41a: /* Player 1 & 2 input ports */
return input_port_read(space->machine, "IN0");
@ -754,7 +754,7 @@ static const ym2151_interface ym2151_interface2 =
static int cninja_bank_callback( const int bank )
{
if ((bank >> 4) & 0xf)
if ((bank >> 4) & 0xf)
return 0x0000; /* Only 2 banks */
return 0x1000;
}
@ -1933,16 +1933,16 @@ static void cninja_patch( running_machine *machine )
UINT16 *RAM = (UINT16 *)memory_region(machine, "maincpu");
int i;
for (i = 0; i < 0x80000 / 2; i++)
for (i = 0; i < 0x80000 / 2; i++)
{
int aword = RAM[i];
if (aword == 0x66ff || aword == 0x67ff)
if (aword == 0x66ff || aword == 0x67ff)
{
UINT16 doublecheck = RAM[i - 4];
/* Cmpi + btst controlling opcodes */
if (doublecheck == 0xc39 || doublecheck == 0x839)
if (doublecheck == 0xc39 || doublecheck == 0x839)
{
RAM[i] = 0x4e71;
RAM[i - 1] = 0x4e71;

View File

@ -35,7 +35,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, cntsteer_state(machine)); }
cntsteer_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
UINT8 * videoram2;

View File

@ -20,7 +20,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, cultures_state(machine)); }
cultures_state(running_machine &machine) { }
/* memory pointers */
UINT8 * bg0_videoram;
UINT8 * paletteram;

View File

@ -30,7 +30,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, dacholer_state(machine)); }
dacholer_state(running_machine &machine) { }
/* memory pointers */
UINT8 * bgvideoram;
UINT8 * fgvideoram;

View File

@ -179,7 +179,7 @@ static WRITE16_HANDLER( dassault_sound_w )
static READ16_HANDLER( dassault_irq_r )
{
dassault_state *state = (dassault_state *)space->machine->driver_data;
switch (offset)
switch (offset)
{
case 0: cpu_set_input_line(state->maincpu, 5, CLEAR_LINE); break;
case 1: cpu_set_input_line(state->subcpu, 6, CLEAR_LINE); break;

View File

@ -116,7 +116,7 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
y = spriteram[offs];
flash = y & 0x1000;
xsize = y & 0x0800;
if (flash && (video_screen_get_frame_number(machine->primary_screen) & 1))
if (flash && (video_screen_get_frame_number(machine->primary_screen) & 1))
continue;
x = spriteram[offs + 2];
@ -124,7 +124,7 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
pri = (x & 0xc000); // 2 bits or 1?
switch (pri & 0xc000)
switch (pri & 0xc000)
{
case 0x0000: pri = 0; break;
case 0x4000: pri = 0xf0; break;
@ -143,7 +143,7 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
y = 240 - y;
x = 304 - x;
if (x > 320)
if (x > 320)
continue;
sprite &= ~multi;
@ -163,7 +163,7 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
if (fy) fy = 0; else fy = 1;
mult = 16;
}
else
else
mult = -16;
mult2 = multi + 1;
@ -691,7 +691,7 @@ static MACHINE_START( dblewing )
state_save_register_global(machine, state->boss_3_data);
state_save_register_global(machine, state->boss_4_data);
state_save_register_global(machine, state->boss_5_data);
state_save_register_global(machine, state->boss_5sx_data);
state_save_register_global(machine, state->boss_5sx_data);
state_save_register_global(machine, state->boss_6_data);
state_save_register_global(machine, state->sound_irq);
}
@ -726,7 +726,7 @@ static MACHINE_RESET( dblewing )
state->boss_3_data = 0;
state->boss_4_data = 0;
state->boss_5_data = 0;
state->boss_5sx_data = 0;
state->boss_5sx_data = 0;
state->boss_6_data = 0;
state->sound_irq = 0;
}

View File

@ -62,7 +62,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, ddayjlc_state(machine)); }
ddayjlc_state(running_machine &machine) { }
/* memory pointers */
UINT8 * bgram;
UINT8 * mainram;

View File

@ -119,7 +119,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, ddealer_state(machine)); }
ddealer_state(running_machine &machine) { }
/* memory pointers */
UINT16 * mcu_shared_ram;
UINT16 * work_ram;

View File

@ -72,7 +72,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap,const rectan
y = spriteram[offs] & 0xffff;
flash = y & 0x1000;
if (flash && (video_screen_get_frame_number(machine->primary_screen) & 1))
if (flash && (video_screen_get_frame_number(machine->primary_screen) & 1))
continue;
x = spriteram[offs + 2] & 0xffff;
@ -80,7 +80,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap,const rectan
pri = (x & 0xc000); // 2 bits or 1?
switch (pri & 0xc000)
switch (pri & 0xc000)
{
case 0x0000: pri = 0; break;
case 0x4000: pri = 0xf0; break;
@ -99,7 +99,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap,const rectan
y = 240 - y;
x = 304 - x;
if (x > 320)
if (x > 320)
continue;
sprite &= ~multi;

View File

@ -15,7 +15,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, destroyr_state(machine)); }
destroyr_state(running_machine &machine) { }
/* memory pointers */
UINT8 * major_obj_ram;
UINT8 * minor_obj_ram;

View File

@ -49,7 +49,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, discoboy_state(machine)); }
discoboy_state(running_machine &machine) { }
/* memory pointers */
UINT8 * ram_1;
UINT8 * ram_2;

View File

@ -59,7 +59,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, diverboy_state(machine)); }
diverboy_state(running_machine &machine) { }
/* memory pointers */
UINT16 * spriteram;
// UINT16 * paletteram; // currently this uses generic palette handling

View File

@ -70,7 +70,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, dominob_state(machine)); }
dominob_state(running_machine &machine) { }
/* memory pointers */
UINT8 * spriteram;
UINT8 * videoram;

View File

@ -22,7 +22,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, dorachan_state(machine)); }
dorachan_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
size_t videoram_size;

View File

@ -30,7 +30,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, dotrikun_state(machine)); }
dotrikun_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
size_t videoram_size;

View File

@ -96,7 +96,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, dreamwld_state(machine)); }
dreamwld_state(running_machine &machine) { }
/* memory pointers */
UINT32 * bg_videoram;
UINT32 * bg2_videoram;

View File

@ -17,7 +17,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, drtomy_state(machine)); }
drtomy_state(running_machine &machine) { }
/* memory pointers */
UINT16 * spriteram;
UINT16 * videoram_bg;

View File

@ -64,7 +64,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, dunhuang_state(machine)); }
dunhuang_state(running_machine &machine) { }
/* memory pointers */
UINT16 * videoram;
UINT16 * videoram2;

View File

@ -284,7 +284,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, dwarfd_state(machine)); }
dwarfd_state(running_machine &machine) { }
/* memory pointers */
UINT8 * dw_ram;
UINT8 * videobuf;

View File

@ -43,7 +43,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, dynadice_state(machine)); }
dynadice_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
// UINT8 * nvram; // currently this uses generic nvram handling

View File

@ -6979,7 +6979,7 @@ GAME( 1989, drgpunch, 0, sprtmtch, sprtmtch, 0, ROT0, "Dynax",
GAME( 1989, sprtmtch, drgpunch, sprtmtch, sprtmtch, 0, ROT0, "Dynax (Fabtek license)", "Sports Match", 0 )
/* these 4 are Korean hacks / bootlegs of Dragon Punch / Sports Match */
GAME( 1994, maya, 0, sprtmtch, sprtmtch, maya, ROT0, "Promat", "Maya (set 1)", 0 ) // this set has backgrounds blacked out in attract
GAME( 1994, mayaa, maya, sprtmtch, sprtmtch, maya, ROT0, "Promat", "Maya (set 2)", 0 )
GAME( 1994, mayaa, maya, sprtmtch, sprtmtch, maya, ROT0, "Promat", "Maya (set 2)", 0 )
GAME( 199?, inca, 0, sprtmtch, sprtmtch, maya, ROT0, "<unknown>", "Inca", 0 )
GAME( 199?, blktouch, 0, sprtmtch, sprtmtch, blktouch, ROT0, "Yang Gi Co Ltd.", "Black Touch (Korea)", 0 )

View File

@ -51,7 +51,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, egghunt_state(machine)); }
egghunt_state(running_machine &machine) { }
/* memory pointers */
UINT8 * bgram;
UINT8 * atram;

View File

@ -14,7 +14,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, embargo_state(machine)); }
embargo_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
size_t videoram_size;

View File

@ -60,7 +60,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, enigma2_state(machine)); }
enigma2_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;

View File

@ -246,8 +246,8 @@ static INPUT_PORTS_START( exerion )
PORT_DIPSETTING( 0x02, "3" )
PORT_DIPSETTING( 0x03, "4" )
PORT_DIPSETTING( 0x04, "5" )
// PORT_DIPSETTING( 0x05, "5" ) /* duplicated setting */
// PORT_DIPSETTING( 0x06, "5" ) /* duplicated setting */
// PORT_DIPSETTING( 0x05, "5" ) /* duplicated setting */
// PORT_DIPSETTING( 0x06, "5" ) /* duplicated setting */
PORT_DIPSETTING( 0x07, "254 (Cheat)")
PORT_DIPNAME( 0x18, 0x00, DEF_STR( Bonus_Life ) )
PORT_DIPSETTING( 0x00, "10000" )

View File

@ -23,7 +23,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mosaicf2_state(machine)); }
mosaicf2_state(running_machine &machine) { }
/* memory pointers */
UINT32 * videoram;
};

View File

@ -17,7 +17,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, flyball_state(machine)); }
flyball_state(running_machine &machine) { }
/* memory pointers */
UINT8 * rombase;
UINT8 * playfield_ram;

View File

@ -2601,7 +2601,7 @@ ROM_END
- 2x HY18CV85 (electrically-erasable PLD)
Some versions have Mexican Rockwell R65c02.
The game doesn't work with a regular 65c02 CPU.
The game doesn't work with a regular 65c02 CPU.
*/
ROM_START( magicrd2 ) /* Impera */
@ -2747,7 +2747,7 @@ ROM_END
| | | | | | | _________ ____ | | | | ___|
| |__| | | | | | E | | F | | | |__| ___|
| |__| |__| |_________| |____| |_______| ___|
| |
| |
|_____________________________________________________________________________________________|
@ -2821,7 +2821,7 @@ Surely selectable through a PLD.
ROM_START( jolyjokrb )
ROM_REGION( 0x18000, "maincpu", 0 ) /* Two slightly different programs. Using the 1st one...*/
ROM_LOAD( "unbekannt.bin", 0x8000, 0x10000, CRC(327fa3d7) SHA1(2435aada2377b2f8f01d059a7aba9bc7a8993537) ) /* 1st prg */
// ROM_LOAD( "unbekannt.bin", 0x0000, 0x10000, CRC(327fa3d7) SHA1(2435aada2377b2f8f01d059a7aba9bc7a8993537) ) /* 2nd prg */
// ROM_LOAD( "unbekannt.bin", 0x0000, 0x10000, CRC(327fa3d7) SHA1(2435aada2377b2f8f01d059a7aba9bc7a8993537) ) /* 2nd prg */
ROM_REGION( 0x20000, "gfx1", 0 )
ROM_LOAD( "ic25.bin", 0x00000, 0x10000, CRC(1bd067af) SHA1(9436fe085ba63c00a12ea80903470a84535e3dc1) )

View File

@ -50,7 +50,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, galaxi_state(machine)); }
galaxi_state(running_machine &machine) { }
/* memory pointers */
UINT16 * bg1_ram;
UINT16 * bg2_ram;

View File

@ -2886,7 +2886,7 @@ static DRIVER_INIT( thepitm )
/* move the interrupt enable from $b000 to $b001 */
memory_unmap_write(space, 0xb000, 0xb000, 0, 0x7f8);
memory_install_write8_handler(space, 0xb001, 0xb001, 0, 0x7f8, irq_enable_w);
/* disable the stars */
memory_unmap_write(space, 0xb004, 0xb004, 0, 0x07f8);

View File

@ -2109,7 +2109,7 @@ static INPUT_PORTS_START( aracnis )
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_8WAY
PORT_START("IN1") /* 0xa800 - needs verifying */
@ -5762,7 +5762,7 @@ ROM_END
The Pit (on Moon Quasar hardware)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dumped by Andrew Welburn
Dumped by Andrew Welburn
on the sunny morning of 2/03/10
http://www.andys-arcade.com
@ -5772,20 +5772,20 @@ http://www.andys-arcade.com
*************************************************
Nichibutsu Moon Quasar pcb largely unhacked, but
with an odd looking set of roms. One gfx rom
identifies itself as 'The Pit' so that is my only
with an odd looking set of roms. One gfx rom
identifies itself as 'The Pit' so that is my only
guess at what the game actually is.
Roms 1 through 8 read well in-circuit in the right
places in the memory map for moon cresta,
(through the fluke 9100) but the game does not
currently run. Roms dumped adn verified with no
Roms 1 through 8 read well in-circuit in the right
places in the memory map for moon cresta,
(through the fluke 9100) but the game does not
currently run. Roms dumped adn verified with no
anomolies.
Rom 9 was placed on the through-socket and has
pins 20 and 18 (/E and A11 respectively) tied to
pin 5 of 8E (A14/A15/MREQ demux). This demux has
some patches, the trace to pin 13 is cut, and is
pin 5 of 8E (A14/A15/MREQ demux). This demux has
some patches, the trace to pin 13 is cut, and is
instead wired to pin 3.
*/

View File

@ -40,7 +40,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, go2000_state(machine)); }
go2000_state(running_machine &machine) { }
/* memory pointers */
UINT16 * videoram;
UINT16 * videoram2;

View File

@ -41,7 +41,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, good_state(machine)); }
good_state(running_machine &machine) { }
/* memory pointers */
UINT16 * bg_tilemapram;
UINT16 * fg_tilemapram;

View File

@ -132,7 +132,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, gstream_state(machine)); }
gstream_state(running_machine &machine) { }
/* memory pointers */
UINT32 * vram;
UINT32 * workram;

View File

@ -51,7 +51,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, hotblock_state(machine)); }
hotblock_state(running_machine &machine) { }
/* memory pointers */
UINT8 * vram;
UINT8 * pal;

View File

@ -89,7 +89,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, imolagp_state(machine)); }
imolagp_state(running_machine &machine) { }
UINT8 *slave_workram; // used only ifdef HLE_COM
#ifdef HLE_COM

View File

@ -39,7 +39,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, jangou_state(machine)); }
jangou_state(running_machine &machine) { }
/* video-related */
UINT8 *blit_buffer;
UINT8 pen_data[0x10];

View File

@ -105,7 +105,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, jantotsu_state(machine)); }
jantotsu_state(running_machine &machine) { }
/* video-related */
UINT8 *bitmap;
UINT8 vram_bank, col_bank;

View File

@ -108,7 +108,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, jollyjgr_state(machine)); }
jollyjgr_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
UINT8 * colorram;

View File

@ -38,7 +38,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, jongkyo_state(machine)); }
jongkyo_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
UINT8 * videoram2;

View File

@ -378,7 +378,7 @@ static ADDRESS_MAP_START( slave_1986_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x7400, 0x74ff) AM_RAM AM_BASE_GENERIC(spriteram)
AM_RANGE(0x7600, 0x7600) AM_DEVWRITE("crtc", mc6845_address_w)
AM_RANGE(0x7601, 0x7601) AM_DEVREADWRITE("crtc", mc6845_register_r, mc6845_register_w)
// AM_RANGE(0x7800, 0x7803) AM_READ(test_r)
// AM_RANGE(0x7800, 0x7803) AM_READ(test_r)
AM_RANGE(0x7a00, 0x7a00) AM_RAM //buffer for the key matrix
AM_RANGE(0x7c00, 0x7c00) AM_READ_PORT("DSW")
ADDRESS_MAP_END
@ -1091,7 +1091,7 @@ ROM_START( kingdrbb ) // has 'Made in Taiwan' on the PCB.
ROM_REGION( 0x200, "proms", 0 )
ROM_COPY( "raw_prom", 0x1000, 0x000, 0x200 )
// ROM_COPY( "raw_prom", 0x3000, 0x200, 0x200 ) //identical to 0x1000 bank
// ROM_COPY( "raw_prom", 0x3000, 0x200, 0x200 ) //identical to 0x1000 bank
ROM_REGION( 0x4000, "pals", 0 ) // all read protected
ROM_LOAD( "palce16v.u101.bin", 0x0000, 0x117, CRC(c89d2f52) SHA1(f9d52d9c42ef95b7b85bbf6d09888ebdeac11fd3) )

View File

@ -51,7 +51,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, koikoi_state(machine)); }
koikoi_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;

View File

@ -26,7 +26,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, laserbas_state(machine)); }
laserbas_state(running_machine &machine) { }
/* video-related */
UINT8 *vram1;
UINT8 *vram2;

View File

@ -72,7 +72,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, lastfght_state(machine)); }
lastfght_state(running_machine &machine) { }
/* memory pointers */
UINT8 * colorram;
// UINT8 * nvram; // currently this uses generic nvram handling

View File

@ -35,18 +35,18 @@ static READ8_HANDLER( deco16_bank_r )
return ROM[offset];
/* Else the handler falls through to read the usual address */
if (offset < 0x400)
if (offset < 0x400)
return state->colorram[offset];
if (offset < 0x800)
if (offset < 0x800)
return state->videoram[offset - 0x400];
if (offset < 0x1000)
if (offset < 0x1000)
return state->spriteram[offset - 0x800];
if (offset < 0x2200)
{
logerror("%04x: Unmapped bank read %04x\n", cpu_get_pc(space->cpu), offset);
return 0;
if (offset < 0x2200)
{
logerror("%04x: Unmapped bank read %04x\n", cpu_get_pc(space->cpu), offset);
return 0;
}
if (offset < 0x2800)
if (offset < 0x2800)
return state->scratchram[offset - 0x2200];
logerror("%04x: Unmapped bank read %04x\n", cpu_get_pc(space->cpu), offset);
@ -86,20 +86,20 @@ static READ8_HANDLER( prosoccr_bank_r )
return ROM[offset];
/* Else the handler falls through to read the usual address */
if (offset < 0x400)
if (offset < 0x400)
return state->colorram[offset];
if (offset < 0x800)
if (offset < 0x800)
return state->videoram[offset - 0x400];
if (offset < 0xc00)
if (offset < 0xc00)
return state->colorram[offset - 0x800];
if (offset < 0x1000)
if (offset < 0x1000)
return state->spriteram[offset - 0xc00];
if (offset < 0x2200)
{
logerror("%04x: Unmapped bank read %04x\n", cpu_get_pc(space->cpu), offset);
return 0;
if (offset < 0x2200)
{
logerror("%04x: Unmapped bank read %04x\n", cpu_get_pc(space->cpu), offset);
return 0;
}
if (offset < 0x2800)
if (offset < 0x2800)
return state->scratchram[offset - 0x2200];
logerror("%04x: Unmapped bank read %04x\n", cpu_get_pc(space->cpu), offset);

View File

@ -88,9 +88,9 @@ TODO:
static TIMER_CALLBACK( nmi_callback )
{
lkage_state *state = (lkage_state *)machine->driver_data;
if (state->sound_nmi_enable)
if (state->sound_nmi_enable)
cpu_set_input_line(state->audiocpu, INPUT_LINE_NMI, PULSE_LINE);
else
else
state->pending_nmi = 1;
}
@ -112,7 +112,7 @@ static WRITE8_HANDLER( lkage_sh_nmi_enable_w )
state->sound_nmi_enable = 1;
if (state->pending_nmi)
{
{
/* probably wrong but commands may go lost otherwise */
cpu_set_input_line(state->audiocpu, INPUT_LINE_NMI, PULSE_LINE);
state->pending_nmi = 0;

View File

@ -101,7 +101,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, looping_state(machine)); }
looping_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
UINT8 * colorram;

View File

@ -809,16 +809,16 @@ ROM_END
/* coin inputs are inverted in storming */
static DRIVER_INIT( lsasquad )
{
static DRIVER_INIT( lsasquad )
{
lsasquad_state *state = (lsasquad_state *)machine->driver_data;
state->invertcoin = 0x00;
state->invertcoin = 0x00;
}
static DRIVER_INIT( storming )
{
static DRIVER_INIT( storming )
{
lsasquad_state *state = (lsasquad_state *)machine->driver_data;
state->invertcoin = 0x0c;
state->invertcoin = 0x0c;
}

View File

@ -145,7 +145,7 @@ static WRITE8_HANDLER( output_w )
/* correct? */
nmi_enable = data & 1;
// other values unknown
// printf("%02x\n",data);
// printf("%02x\n",data);
}
static READ8_HANDLER( test_r )
@ -257,7 +257,7 @@ static DRIVER_INIT( luckgrln )
#endif
// ??
// memory_set_bankptr(machine, "bank1",&rom[0x010000]);
// memory_set_bankptr(machine, "bank1",&rom[0x010000]);
}
ROM_START( luckgrln )

View File

@ -60,7 +60,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, m14_state(machine)); }
m14_state(running_machine &machine) { }
/* video-related */
tilemap_t *m14_tilemap;
UINT8 * video_ram;

View File

@ -127,7 +127,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, m63_state(machine)); }
m63_state(running_machine &machine) { }
UINT8 * videoram;
UINT8 * colorram;
UINT8 * spriteram;

View File

@ -64,7 +64,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, m79amb_state(machine)); }
m79amb_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
UINT8 * mask;
@ -301,12 +301,12 @@ static DRIVER_INIT( m79amb )
rom[i] = ~rom[i];
/* gun positions */
for (i = 0; i < 0x100; i++)
for (i = 0; i < 0x100; i++)
{
/* gun 1, start at left 18 */
for (j = 0; j < 0x20; j++)
for (j = 0; j < 0x20; j++)
{
if (i <= lut_cross[j])
if (i <= lut_cross[j])
{
state->lut_gun1[i] = lut_pos[j];
break;
@ -314,9 +314,9 @@ static DRIVER_INIT( m79amb )
}
/* gun 2, start at right 235 */
for (j = 0; j < 0x20; j++)
for (j = 0; j < 0x20; j++)
{
if (i >= (253 - lut_cross[j]))
if (i >= (253 - lut_cross[j]))
{
state->lut_gun2[i] = lut_pos[j];
break;

View File

@ -136,15 +136,15 @@ static WRITE8_HANDLER( macs_output_w )
{
case 0:
/*
--x- ---- sets RAM bank?
---- -x-- Cassette B slot
---- --x- Cassette A slot
*/
--x- ---- sets RAM bank?
---- -x-- Cassette B slot
---- --x- Cassette A slot
*/
if(macs_rev == 1)
{
/* FIXME: dunno if this RAM bank is right, DASM tracking made on the POST screens indicates that there's just one RAM bank,
but then MACS2 games locks up. */
but then MACS2 games locks up. */
memory_set_bankptr(space->machine, "bank3", &macs_ram1[((data&0x20)>>5)*0x1000+0x000] );
macs_cart_slot = (data & 0xc) >> 2;

View File

@ -103,7 +103,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, marinedt_state(machine)); }
marinedt_state(running_machine &machine) { }
/* memory pointers */
UINT8 * tx_tileram;
@ -163,9 +163,9 @@ static READ8_HANDLER( marinedt_obj1_x_r )
marinedt_state *state = (marinedt_state *)space->machine->driver_data;
UINT8 *RAM = memory_region(space->machine, "maincpu");
if (RAM[0x430e])
--state->cx;
else
if (RAM[0x430e])
--state->cx;
else
++state->cx;
//figure out why inc/dec based on 430e?
@ -181,7 +181,7 @@ static READ8_HANDLER( marinedt_obj1_yr_r )
marinedt_state *state = (marinedt_state *)space->machine->driver_data;
//has to be +1 if cx went over?
if (state->cx == 0x10)
if (state->cx == 0x10)
state->cyr++;
return state->cyr | (state->cyrh << 4);

View File

@ -19,10 +19,10 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mayumi_state(machine)); }
mayumi_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
// UINT8 * nvram; // this currently uses generic nvram handlers
// UINT8 * nvram; // this currently uses generic nvram handlers
/* video-related */
tilemap_t *tilemap;

View File

@ -54,7 +54,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mazerbla_state(machine)); }
mazerbla_state(running_machine &machine) { }
/* memory pointers */
UINT8 * cfb_ram;
UINT8 * videoram;
@ -69,7 +69,7 @@ public:
UINT8 bknd_col;
UINT8 port02_status;
UINT8 vbank; /* video page select signal, likely for double buffering ?*/
UINT8 vbank; /* video page select signal, likely for double buffering ?*/
UINT32 xpos, ypos, pix_xsize, pix_ysize;
UINT8 color1, color2, mode, plane;
UINT8 lookup_ram[0x100*4];

View File

@ -1647,7 +1647,7 @@ INPUT_PORTS_START(mk3ghw)
PORT_DIPSETTING( 0x05, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x04, DEF_STR( 1C_4C ) )
PORT_BIT( 0xf8, 0x00, IPT_UNUSED )
PORT_START("DSWB")
PORT_DIPUNKNOWN( 0x01, 0x00 )
PORT_DIPUNKNOWN( 0x02, 0x00 )

View File

@ -46,9 +46,9 @@ static WRITE8_DEVICE_HANDLER( megazone_port_b_w )
for (i = 0; i < 3; i++)
{
int C = 0;
if (data & 1)
if (data & 1)
C += 10000; /* 10000pF = 0.01uF */
if (data & 2)
if (data & 2)
C += 220000; /* 220000pF = 0.22uF */
data >>= 2;

View File

@ -71,7 +71,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, meijinsn_state(machine)); }
meijinsn_state(running_machine &machine) { }
/* memory pointers */
UINT16 * shared_ram;
UINT16 * videoram;
@ -116,7 +116,7 @@ static READ16_HANDLER( alpha_mcu_r )
state->credits = 0;
if ((input_port_read(space->machine, "COINS") & 0x3) == 3)
if ((input_port_read(space->machine, "COINS") & 0x3) == 3)
state->mcu_latch = 0;
if ((input_port_read(space->machine, "COINS") & 0x1) == 0 && !state->mcu_latch)

View File

@ -318,13 +318,13 @@ static INTERRUPT_GEN( meritm_interrupt )
static void meritm_vdp0_interrupt(running_machine *machine, int i)
{
/* this is not used as the v9938 interrupt callbacks are broken
interrupts seem to be fired quite randomly */
interrupts seem to be fired quite randomly */
}
static void meritm_vdp1_interrupt(running_machine *machine, int i)
{
/* this is not used as the v9938 interrupt callbacks are broken
interrupts seem to be fired quite randomly */
interrupts seem to be fired quite randomly */
}
static int layer0_enabled, layer1_enabled;
@ -819,18 +819,18 @@ static READ8_DEVICE_HANDLER(meritm_audio_pio_port_a_r)
{
/*
bit signal description
bit signal description
0 BANK0
1 BANK1
2 BANK2
3 /VINT1 V9938 #1 INT
4 /VINT2 V9938 #2 INT
5 BANK3
6
7
0 BANK0
1 BANK1
2 BANK2
3 /VINT1 V9938 #1 INT
4 /VINT2 V9938 #2 INT
5 BANK3
6
7
*/
*/
return meritm_vint;
};
@ -839,18 +839,18 @@ static READ8_DEVICE_HANDLER(meritm_audio_pio_port_b_r)
{
/*
bit description
bit description
0 J4 D0
1 J4 D1
2 J4 D2
3 J4 D3
4 J4 D4
5 J4 D5
6 J4 D6
7 J4 D7
0 J4 D0
1 J4 D1
2 J4 D2
3 J4 D3
4 J4 D4
5 J4 D5
6 J4 D6
7 J4 D7
*/
*/
return ds1204_r();
};
@ -859,18 +859,18 @@ static WRITE8_DEVICE_HANDLER(meritm_audio_pio_port_a_w)
{
/*
bit signal description
bit signal description
0 BANK0
1 BANK1
2 BANK2
3 /VINT1 V9938 #1 INT
4 /VINT2 V9938 #2 INT
5 BANK3
6
7
0 BANK0
1 BANK1
2 BANK2
3 /VINT1 V9938 #1 INT
4 /VINT2 V9938 #2 INT
5 BANK3
6
7
*/
*/
meritm_bank = (data & 7) | ((data >> 2) & 0x18);
//logerror("Writing BANK with %x (raw = %x)\n", meritm_bank, data);
@ -880,18 +880,18 @@ static WRITE8_DEVICE_HANDLER(meritm_audio_pio_port_b_w)
{
/*
bit description
bit description
0 J4 D0
1 J4 D1
2 J4 D2
3 J4 D3
4 J4 D4
5 J4 D5
6 J4 D6
7 J4 D7
0 J4 D0
1 J4 D1
2 J4 D2
3 J4 D3
4 J4 D4
5 J4 D5
6 J4 D6
7 J4 D7
*/
*/
ds1204_w((data & 0x4) >> 2, (data & 0x2) >> 1, data & 0x01);
};
@ -900,36 +900,36 @@ static WRITE8_DEVICE_HANDLER(meritm_io_pio_port_a_w)
{
/*
bit description
bit description
0 J3 PE0
1 J3 PE1
2 J3 PE2
3 J3 PE3
4 J3 PE4
5 J3 PE5
6 J3 PE6
7 J3 PE7
0 J3 PE0
1 J3 PE1
2 J3 PE2
3 J3 PE3
4 J3 PE4
5 J3 PE5
6 J3 PE6
7 J3 PE7
*/
*/
};
static WRITE8_DEVICE_HANDLER(meritm_io_pio_port_b_w)
{
/*
bit description
bit description
0 J3 PF0
1 J3 PF1
2 J3 PF2
3 J3 PF3
4 J3 PF4
5 J3 PF5
6 J3 PF6
7 J3 PF7
0 J3 PF0
1 J3 PF1
2 J3 PF2
3 J3 PF3
4 J3 PF4
5 J3 PF5
6 J3 PF6
7 J3 PF7
*/
*/
};
static Z80PIO_INTERFACE( meritm_audio_pio_intf )

View File

@ -13,7 +13,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mgolf_state(machine)); }
mgolf_state(running_machine &machine) { }
/* memory pointers */
UINT8* video_ram;

View File

@ -20,7 +20,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, minivadr_state(machine)); }
minivadr_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram;
size_t videoram_size;

View File

@ -76,16 +76,16 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
int x, y, sprite, colour, multi, fx, fy, inc, flash, mult;
sprite = spriteram[offs + 1];
if (!sprite)
if (!sprite)
continue;
y = spriteram[offs];
flash = y & 0x1000;
if (flash && (video_screen_get_frame_number(machine->primary_screen) & 1))
if (flash && (video_screen_get_frame_number(machine->primary_screen) & 1))
continue;
if (pri != ((y & 0x8000) >> 15))
if (pri != ((y & 0x8000) >> 15))
continue;
x = spriteram[offs + 2];
@ -103,7 +103,7 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
y = 240 - y;
x = 304 - x;
if (x > 320)
if (x > 320)
continue;
sprite &= ~multi;

View File

@ -21,7 +21,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mjsister_state(machine)); }
mjsister_state(running_machine &machine) { }
/* memory pointers */
UINT8 * videoram0, *videoram1;

View File

@ -4700,7 +4700,7 @@ ROM_START( lamachin ) /* Step 2.0 317-0242-COM security chip (837-13576-com se
ROM_LOAD64_WORD_SWAP( "mpr21461.11", 0x2800002, 0x400000, CRC(33d8f0da) SHA1(f77fd50b06a05c0809d3e90d70525ff67136908b) )
ROM_LOAD64_WORD_SWAP( "mpr21462.12", 0x2800000, 0x400000, CRC(03d22ee8) SHA1(cb0c80aefc2aa7127a5f882ecb61c29f2cd3eb4e) )
ROM_REGION( 0x2000000, "user3", 0 ) /* Video ROMs Part 1 */
ROM_LOAD_VROM( "mpr21467.26", 0x000002, 0x400000, CRC(73635100) SHA1(70850cbd39ac5ddc443c9c24ac24c554d1565b1a) )
ROM_LOAD_VROM( "mpr21468.27", 0x000000, 0x400000, CRC(462e5c81) SHA1(05eb1f580a9dcd1f59ccb2791e974325494e5910) )

View File

@ -11,7 +11,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mogura_state(machine)); }
mogura_state(running_machine &machine) { }
/* memory pointers */
UINT8 * tileram;
UINT8 * gfxram;

View File

@ -59,7 +59,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mole_state(machine)); }
mole_state(running_machine &machine) { }
/* memory pointers */
UINT16 * tileram;

View File

@ -114,7 +114,7 @@ static READ8_HANDLER( mrflea_interrupt_type_r )
*/
mrflea_state *state = (mrflea_state *)space->machine->driver_data;
if (state->status & 0x08 )
if (state->status & 0x08 )
return 0x00; /* process command */
return 0x01; /* music/sound update? */

View File

@ -48,9 +48,9 @@ static INTERRUPT_GEN( mnchmobl_interrupt )
munchmo_state *state = (munchmo_state *)device->machine->driver_data;
state->which = !state->which;
if (state->which)
if (state->which)
cpu_set_input_line(device, 0, HOLD_LINE);
else if (state->nmi_enable)
else if (state->nmi_enable)
cpu_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
}

View File

@ -52,7 +52,7 @@ public:
static void *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mwarr_state(machine)); }
mwarr_state(running_machine &machine) { }
/* memory pointers */
UINT16 *bg_videoram, *mlow_videoram, *mhigh_videoram, *tx_videoram, *sprites_buffer;
UINT16 *bg_scrollram, *mlow_scrollram, *mhigh_scrollram, *vidattrram;

View File

@ -37,7 +37,7 @@ Soul Calibur (SOC11/VER.A2) (C) Namco, 1998 COH-700 SYS
Soul Calibur (SOC11/VER.B) (C) Namco, 1998 COH-700 SYSTEM12 MOTHER(B) SYSTEM12 M5F2 KC020
Soul Calibur (SOC11/VER.C) (C) Namco, 1998 COH-700 SYSTEM12 MOTHER(B) SYSTEM12 M5F4 KC020
Soul Calibur (SOC13/VER.B) (C) Namco, 1998 COH-700 SYSTEM12 MOTHER(B) SYSTEM12 M5F4 KC020
Soul Calibur (SOC14/VER.B) (C) Namco, 1998 COH-700 SYSTEM12 MOTHER(B) SYSTEM12 M5F4 KC020
Soul Calibur (SOC14/VER.B) (C) Namco, 1998 COH-700 SYSTEM12 MOTHER(B) SYSTEM12 M5F4 KC020
Soul Calibur (SOC14/VER.C) (C) Namco, 1998 COH-700 SYSTEM12 MOTHER JO 11-04-98 none
Super World Stadium '98 (SS81/VER.A) (C) Namco, 1998 COH-700 SYSTEM12 MOTHER(B) SYSTEM12 M4F6 KC025
Super World Stadium '99 (SS91/VER.A3) (C) Namco, 1999 COH-700 SYSTEM12 MOTHER(B) SYSTEM12 M5F4 KC043
@ -1998,8 +1998,8 @@ ROM_END
ROM_START( soulclbrb )
ROM_REGION32_LE( 0x00400000, "user1", 0 ) /* main prg */
ROM_LOAD16_BYTE( "soc14verb.2l", 0x000000, 0x200000, CRC(6af5c5f6) SHA1(51d1e7d78d95cfc765cd219ed07b405cd920044b) )
ROM_LOAD16_BYTE( "soc14verb.2p", 0x000001, 0x200000, CRC(23e7a4c4) SHA1(a97f36cafdeff9e26fbd24e54ab8ac8080763761) )
ROM_LOAD16_BYTE( "soc14verb.2l", 0x000000, 0x200000, CRC(6af5c5f6) SHA1(51d1e7d78d95cfc765cd219ed07b405cd920044b) )
ROM_LOAD16_BYTE( "soc14verb.2p", 0x000001, 0x200000, CRC(23e7a4c4) SHA1(a97f36cafdeff9e26fbd24e54ab8ac8080763761) )
ROM_REGION32_LE( 0x2000000, "user2", 0 ) /* main data */
ROM_LOAD( "soc1rom0.7", 0x0000000, 0x800000, CRC(cdc47b55) SHA1(315ea6b819de5c4883aa400f1b9f4172637757bf) )

View File

@ -1168,7 +1168,7 @@ static READ16_HANDLER(s23_c417_16_r)
case 0: return 0x8e | (video_screen_get_vblank(space->machine->primary_screen) ? 0x8000 : 0);
case 1: return c417_adr;
case 4:
// logerror("c417_r %04x = %04x (%08x, %08x)\n", c417_adr, c417_ram[c417_adr], cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
// logerror("c417_r %04x = %04x (%08x, %08x)\n", c417_adr, c417_ram[c417_adr], cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
return c417_ram[c417_adr];
}
@ -1200,7 +1200,7 @@ static READ32_HANDLER(s23_c417_32_r)
data |= s23_c417_16_r(space, offset*2, mem_mask >> 16) << 16;
if (ACCESSING_BITS_0_15)
data |= s23_c417_16_r(space, offset*2+1, mem_mask);
return data;
return data;
}
static WRITE32_HANDLER(s23_c417_32_w)
@ -1213,7 +1213,7 @@ static WRITE32_HANDLER(s23_c417_32_w)
static READ16_HANDLER(s23_c412_ram_r)
{
// logerror("c412_ram_r %06x (%08x, %08x)\n", offset, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
// logerror("c412_ram_r %06x (%08x, %08x)\n", offset, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
if(offset < 0x100000)
return c412_sdram_a[offset & 0xfffff];
else if(offset < 0x200000)
@ -1228,7 +1228,7 @@ static READ16_HANDLER(s23_c412_ram_r)
static WRITE16_HANDLER(s23_c412_ram_w)
{
// logerror("c412_ram_w %06x = %04x (%08x, %08x)\n", offset, data, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
// logerror("c412_ram_w %06x = %04x (%08x, %08x)\n", offset, data, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
if(offset < 0x100000)
COMBINE_DATA(c412_sdram_a + (offset & 0xfffff));
else if(offset < 0x200000)
@ -1270,7 +1270,7 @@ static READ32_HANDLER(s23_c412_32_r)
data |= s23_c412_16_r(space, offset*2, mem_mask >> 16) << 16;
if (ACCESSING_BITS_0_15)
data |= s23_c412_16_r(space, offset*2+1, mem_mask);
return data;
return data;
}
static WRITE32_HANDLER(s23_c412_32_w)
@ -1284,7 +1284,7 @@ static WRITE32_HANDLER(s23_c412_32_w)
static READ16_HANDLER(s23_c421_ram_r)
{
// logerror("c421_ram_r %06x (%08x, %08x)\n", offset, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
// logerror("c421_ram_r %06x (%08x, %08x)\n", offset, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
if(offset < 0x40000)
return c421_dram_a[offset & 0x3ffff];
else if(offset < 0x80000)
@ -1297,7 +1297,7 @@ static READ16_HANDLER(s23_c421_ram_r)
static WRITE16_HANDLER(s23_c421_ram_w)
{
// logerror("c421_ram_w %06x = %04x (%08x, %08x)\n", offset, data, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
// logerror("c421_ram_w %06x = %04x (%08x, %08x)\n", offset, data, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
if(offset < 0x40000)
COMBINE_DATA(c421_dram_a + (offset & 0x3ffff));
else if(offset < 0x80000)
@ -1337,7 +1337,7 @@ static READ32_HANDLER(s23_c421_32_r)
data |= s23_c421_16_r(space, offset*2, mem_mask >> 16) << 16;
if (ACCESSING_BITS_0_15)
data |= s23_c421_16_r(space, offset*2+1, mem_mask);
return data;
return data;
}
static WRITE32_HANDLER(s23_c421_32_w)
@ -1379,7 +1379,7 @@ static WRITE16_HANDLER(s23_ctl_16_w)
break;
default:
logerror("ctl_w %x, %04x @ %04x (%08x, %08x)\n", offset, data, mem_mask, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
logerror("ctl_w %x, %04x @ %04x (%08x, %08x)\n", offset, data, mem_mask, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
}
}
@ -1398,7 +1398,7 @@ static READ16_HANDLER(s23_ctl_16_r)
return res;
}
}
logerror("ctl_r %x @ %04x (%08x, %08x)\n", offset, mem_mask, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
logerror("ctl_r %x @ %04x (%08x, %08x)\n", offset, mem_mask, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
return 0xffff;
}
@ -1417,7 +1417,7 @@ static READ32_HANDLER(s23_ctl_32_r)
data |= s23_ctl_16_r(space, offset*2, mem_mask >> 16) << 16;
if (ACCESSING_BITS_0_15)
data |= s23_ctl_16_r(space, offset*2+1, mem_mask);
return data;
return data;
}
@ -1425,7 +1425,7 @@ static WRITE16_HANDLER(s23_c361_16_w)
{
switch(offset) {
default:
logerror("c361_w %x, %04x @ %04x (%08x, %08x)\n", offset, data, mem_mask, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
logerror("c361_w %x, %04x @ %04x (%08x, %08x)\n", offset, data, mem_mask, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
}
}
@ -1435,7 +1435,7 @@ static READ16_HANDLER(s23_c361_16_r)
case 5: return video_screen_get_vpos(space->machine->primary_screen);
case 6: return video_screen_get_vblank(space->machine->primary_screen);
}
logerror("c361_r %x @ %04x (%08x, %08x)\n", offset, mem_mask, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
logerror("c361_r %x @ %04x (%08x, %08x)\n", offset, mem_mask, cpu_get_pc(space->cpu), (unsigned int)cpu_get_reg(space->cpu, MIPS3_R31));
return 0xffff;
}
@ -1454,7 +1454,7 @@ static READ32_HANDLER(s23_c361_32_r)
data |= s23_c361_16_r(space, offset*2, mem_mask >> 16) << 16;
if (ACCESSING_BITS_0_15)
data |= s23_c361_16_r(space, offset*2+1, mem_mask);
return data;
return data;
}
static INTERRUPT_GEN(s23_interrupt)
@ -1490,10 +1490,10 @@ static READ32_HANDLER( gorgon_magic_r )
return 0xffffffff; // must be non-zero (rapidrvr @ 8000229C)
}
/*
Final Furlong has a bug: it forgets to halt the H8/3002 before it zeros out the shared RAM
which contains the H8's stack and other working set. This crashes MAME due to the PC going
off into the weeds, so we intercept
/*
Final Furlong has a bug: it forgets to halt the H8/3002 before it zeros out the shared RAM
which contains the H8's stack and other working set. This crashes MAME due to the PC going
off into the weeds, so we intercept
*/
static READ32_HANDLER( gorgon_sharedram_r )
@ -1765,7 +1765,7 @@ static INPUT_PORTS_START( ss23 )
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // this is the "coin acceptor connected" signal
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_SERVICE1 )
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_BUTTON3 )
@ -1862,7 +1862,7 @@ static READ8_HANDLER(iob_r)
static ADDRESS_MAP_START( s23iobrdmap, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0000, 0x1fff) AM_ROM AM_REGION("ioboard", 0)
AM_RANGE(0x6000, 0x6000) AM_READ_PORT("TC2P0") // 0-1 = coin 0-3 = coin connect, 0-5 = test 0-6 = down select, 0-7 = up select, 0-8 = enter
AM_RANGE(0x6001, 0x6001) AM_READ_PORT("TC2P1") // 1-1 = gun trigger 1-2 = foot pedal
AM_RANGE(0x6001, 0x6001) AM_READ_PORT("TC2P1") // 1-1 = gun trigger 1-2 = foot pedal
AM_RANGE(0x6002, 0x6003) AM_READ( iob_r )
AM_RANGE(0x7000, 0x700f) AM_READ( iob_r )
@ -1892,7 +1892,7 @@ static DRIVER_INIT(ss23)
s23_tssio_port_4 = 0;
s23_porta = 0, s23_rtcstate = 0;
if ((!strcmp(machine->gamedrv->name, "motoxgo")) ||
if ((!strcmp(machine->gamedrv->name, "motoxgo")) ||
(!strcmp(machine->gamedrv->name, "panicprk")) ||
(!strcmp(machine->gamedrv->name, "rapidrvr")) ||
(!strcmp(machine->gamedrv->name, "finlflng")) ||
@ -2091,7 +2091,7 @@ ROM_START( rapidrvr )
ROM_LOAD16_WORD_SWAP( "rd3verc.ic3", 0x000000, 0x080000, CRC(6e26fbaf) SHA1(4ab6637d22f0d26f7e1d10e9c80059c56f64303d) )
ROM_REGION( 0x40000, "ioboard", 0 ) /* I/O board HD643334 H8/3334 MCU code */
ROM_LOAD( "asca1_io-a.ic2", 0x000000, 0x040000, CRC(77cdf69a) SHA1(497af1059f85c07bea2dd0d303481623f6019dcf) )
ROM_LOAD( "asca1_io-a.ic2", 0x000000, 0x040000, CRC(77cdf69a) SHA1(497af1059f85c07bea2dd0d303481623f6019dcf) )
ROM_REGION32_BE( 0x800000, "data", 0 ) /* data */
ROM_LOAD16_BYTE( "rd1mtah.3j", 0x000000, 0x400000, CRC(d8fa0f3d) SHA1(0d5bdb3a2e7be1dffe11b74baa2c10bfe011ae92) )
@ -2153,7 +2153,7 @@ ROM_START( finlflng )
ROM_LOAD16_WORD_SWAP( "ff2vera.ic3", 0x000000, 0x080000, CRC(ab681078) SHA1(ec8367404458a54893ab6bea29c8a2ba3272b816) )
ROM_REGION( 0x40000, "ioboard", 0 ) /* I/O board HD643334 H8/3334 MCU code */
ROM_LOAD( "asca1_io-a.ic2", 0x000000, 0x040000, CRC(77cdf69a) SHA1(497af1059f85c07bea2dd0d303481623f6019dcf) )
ROM_LOAD( "asca1_io-a.ic2", 0x000000, 0x040000, CRC(77cdf69a) SHA1(497af1059f85c07bea2dd0d303481623f6019dcf) )
ROM_REGION32_BE( 0x800000, "data", 0 ) /* data */
ROM_LOAD16_BYTE( "ff2mtah.3j", 0x000000, 0x400000, CRC(161003cd) SHA1(04409333a4776b17700fc6d1aa06a39560132e03) )

View File

@ -3029,7 +3029,7 @@ ROM_START( gram2000 )
ROM_LOAD32_WORD("mpr-23376.ic36", 0xa000002, 0x0800000, CRC(e09cb473) SHA1(c3ec980f1a56142a0e06bae9594d6038acf0690d) ) //ic 21
ROM_COPY( "user1", 0x1400000, 0x0800000, 0x0800000 ) // mirror data so IC1 check can pass
//ROM_COPY( "user1", 0x1000000, 0x0400000, 0x0c00000 ) // or does it mirror the start of 17/18 from 0x0400000 upwards like this, check on real hw
//ROM_COPY( "user1", 0x1000000, 0x0400000, 0x0c00000 ) // or does it mirror the start of 17/18 from 0x0400000 upwards like this, check on real hw
ROM_END
ROM_START( crackndj )
@ -4491,7 +4491,7 @@ ROM_START( gundmgd )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5069-COM)
//(sticker 253-5509-5069)
ROM_LOAD("317-5069-com.pic", 0x00, 0x4000, CRC(44d0b242) SHA1(cac31c2ed317e2b44ee93d762188aacea2398949) )
ROM_LOAD("317-5069-com.pic", 0x00, 0x4000, CRC(44d0b242) SHA1(cac31c2ed317e2b44ee93d762188aacea2398949) )
ROM_END
@ -4511,7 +4511,7 @@ ROM_START( sfz3ugd )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5072-COM)
//(sticker 253-5509-5072)
ROM_LOAD("317-5072-com.pic", 0x00, 0x4000, CRC(3238ba01) SHA1(07c28f17c19eaa652295bbf2d3a96aa27c3748ae) )
ROM_LOAD("317-5072-com.pic", 0x00, 0x4000, CRC(3238ba01) SHA1(07c28f17c19eaa652295bbf2d3a96aa27c3748ae) )
ROM_END
ROM_START( cvsgd )
@ -4529,7 +4529,7 @@ ROM_START( cvsgd )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5076-JPN)
//(sticker 253-5509-5076J)
ROM_LOAD("317-5076-jpn.pic", 0x00, 0x4000, CRC(7c125b10) SHA1(557675e33bb45e4969560bbfd61f48d1784a728d) )
ROM_LOAD("317-5076-jpn.pic", 0x00, 0x4000, CRC(7c125b10) SHA1(557675e33bb45e4969560bbfd61f48d1784a728d) )
ROM_END
@ -4544,11 +4544,11 @@ ROM_START( gundmxgd )
ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
//ROM_LOAD("317-5079-com.data", 0x00, 0x50, CRC(e6abe978) SHA1(700e610d84e517793a22d6cabd1aef9c3b8bc092) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5079-COM)
//(sticker 253-5509-5079)
ROM_LOAD("317-5079-com.pic", 0x00, 0x4000, CRC(8f9fb55d) SHA1(ca93814ae7a4e99762dd1c2a743e21402b143811) )
ROM_LOAD("317-5079-com.pic", 0x00, 0x4000, CRC(8f9fb55d) SHA1(ca93814ae7a4e99762dd1c2a743e21402b143811) )
ROM_END
@ -4567,7 +4567,7 @@ ROM_START( cvs2gd )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5078-COM)
//(sticker 253-5509-5078)
ROM_LOAD("317-5078-com.pic", 0x00, 0x4000, CRC(e7bb621d) SHA1(0882d0e12ca4fb81dda2268cd12724a10278c220) )
ROM_LOAD("317-5078-com.pic", 0x00, 0x4000, CRC(e7bb621d) SHA1(0882d0e12ca4fb81dda2268cd12724a10278c220) )
ROM_END
ROM_START( ikaruga )
@ -4585,7 +4585,7 @@ ROM_START( ikaruga )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5081-JPN)
//(sticker 253-5509-5081J)
ROM_LOAD("317-5081-jpn.pic", 0x00, 0x4000, CRC(72ca4579) SHA1(8a46e92fc4a32016438ea877807928b51b3f3861) )
ROM_LOAD("317-5081-jpn.pic", 0x00, 0x4000, CRC(72ca4579) SHA1(8a46e92fc4a32016438ea877807928b51b3f3861) )
ROM_END
@ -4599,9 +4599,9 @@ ROM_START( ggxx )
DISK_IMAGE_READONLY( "gdl-0011", 0, SHA1(b7328eb2c588d55284bdcea0fe89bb8e629a8669) )
ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
// ROM_LOAD("317-5082-com.data", 0x00, 0x50, CRC(fa31209d) SHA1(bb18e6412a02510832f7200a06a3179ef1695ef2) )
// ROM_REGION( 0x9a49, "pichex", ROMREGION_ERASE)
// ROM_LOAD("gdl-0011.hex", 0x00, 0x0009a49, CRC(36361df8) SHA1(86aa50c9b3debd49c7b67f1c9bfd052c0fefc593) ) // actual decap results for ggxx in ascii/hex form
// ROM_LOAD("317-5082-com.data", 0x00, 0x50, CRC(fa31209d) SHA1(bb18e6412a02510832f7200a06a3179ef1695ef2) )
// ROM_REGION( 0x9a49, "pichex", ROMREGION_ERASE)
// ROM_LOAD("gdl-0011.hex", 0x00, 0x0009a49, CRC(36361df8) SHA1(86aa50c9b3debd49c7b67f1c9bfd052c0fefc593) ) // actual decap results for ggxx in ascii/hex form
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5082-COM)
@ -4625,8 +4625,8 @@ ROM_START( moeru )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5084-JPN)
//(sticker 253-5509-5084J)
ROM_LOAD("317-5084-jpn.pic", 0x00, 0x4000, CRC(db7dac1e) SHA1(b6f7afe9d9d2681005c1abcd4fde24867e65d1e4) )
ROM_LOAD("317-5084-jpn.pic", 0x00, 0x4000, CRC(db7dac1e) SHA1(b6f7afe9d9d2681005c1abcd4fde24867e65d1e4) )
ROM_END
@ -4645,7 +4645,7 @@ ROM_START( chocomk )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5085-JPN)
//(sticker 253-5509-5085J)
ROM_LOAD("317-5085-jpn.pic", 0x00, 0x4000, CRC(677fd544) SHA1(cccd4931bfe3fbcfcde6722088961ddf29a45e89) )
ROM_LOAD("317-5085-jpn.pic", 0x00, 0x4000, CRC(677fd544) SHA1(cccd4931bfe3fbcfcde6722088961ddf29a45e89) )
ROM_END
@ -4664,7 +4664,7 @@ ROM_START( quizqgd )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5090-JPN)
//(sticker 253-5509-5090J)
ROM_LOAD("317-5090-jpn.pic", 0x00, 0x4000, CRC(141cced2) SHA1(c7fe2fc61be3585e95a2ce4c6d4373ea71e920de) )
ROM_LOAD("317-5090-jpn.pic", 0x00, 0x4000, CRC(141cced2) SHA1(c7fe2fc61be3585e95a2ce4c6d4373ea71e920de) )
ROM_END
ROM_START( azumanga )
@ -4697,7 +4697,7 @@ ROM_START( ggxxrl )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5092-JPN)
//(sticker 253-5509-5092J)
ROM_LOAD("317-5092-jpn.pic", 0x00, 0x4000, CRC(7ad7b541) SHA1(45c1e3da030add3bb07797ee7f22003224ae3f7f) )
ROM_LOAD("317-5092-jpn.pic", 0x00, 0x4000, CRC(7ad7b541) SHA1(45c1e3da030add3bb07797ee7f22003224ae3f7f) )
ROM_END
@ -4716,7 +4716,7 @@ ROM_START( tetkiwam )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5093-JPN)
//(sticker 253-5509-5093J)
ROM_LOAD("317-5093-jpn.pic", 0x00, 0x4000, CRC(a61e1e2a) SHA1(ccbec76da6454d4d2384a2adb3f8b62aa1fece24) )
ROM_LOAD("317-5093-jpn.pic", 0x00, 0x4000, CRC(a61e1e2a) SHA1(ccbec76da6454d4d2384a2adb3f8b62aa1fece24) )
ROM_END
@ -4735,7 +4735,7 @@ ROM_START( shikgam2 )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5095-JPN)
//(sticker 253-5509-5095J)
ROM_LOAD("317-5095-jpn.pic", 0x00, 0x4000, CRC(7c25cb5c) SHA1(02797e890030ddf2df470e85ebd6c539f6621e53) )
ROM_LOAD("317-5095-jpn.pic", 0x00, 0x4000, CRC(7c25cb5c) SHA1(02797e890030ddf2df470e85ebd6c539f6621e53) )
ROM_END
@ -4754,7 +4754,7 @@ ROM_START( usagui )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5096-JPN)
//(sticker 253-5509-5096J)
ROM_LOAD("317-5096-jpn.pic", 0x00, 0x4000, CRC(2d16887b) SHA1(32d11691c3d1242b16bc3fbcc0f1157bb16436e0) )
ROM_LOAD("317-5096-jpn.pic", 0x00, 0x4000, CRC(2d16887b) SHA1(32d11691c3d1242b16bc3fbcc0f1157bb16436e0) )
ROM_END
@ -4793,7 +4793,7 @@ ROM_START( psyvar2 )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C621A (317-5100-JPN)
//(sticker 253-5509-5100J)
ROM_LOAD("317-5100-jpn.pic", 0x00, 0x4000, CRC(f37a1dbe) SHA1(a0b43069c9ecd5633418404344b7750db5371ac4) )
ROM_LOAD("317-5100-jpn.pic", 0x00, 0x4000, CRC(f37a1dbe) SHA1(a0b43069c9ecd5633418404344b7750db5371ac4) )
ROM_END
@ -4833,7 +4833,7 @@ ROM_START( trizeal )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C621A (317-5103-JPN)
//(sticker 253-5509-5103J)
ROM_LOAD("317-5103-jpn.pic", 0x00, 0x4000, CRC(93feaff4) SHA1(0b362e9794c83b43e23a3d7299ff0b69f4740481) )
ROM_LOAD("317-5103-jpn.pic", 0x00, 0x4000, CRC(93feaff4) SHA1(0b362e9794c83b43e23a3d7299ff0b69f4740481) )
ROM_END
@ -4848,11 +4848,11 @@ ROM_START( meltybld )
ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
//ROM_LOAD("317-5104-jpn.data", 0x00, 0x50, CRC(fedc8305) SHA1(c535545937213f726f25e6aa8eb3746a794e9100) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5104-JPN)
//(sticker 253-5509-5104J)
ROM_LOAD("317-5104-jpn.pic", 0x00, 0x4000, CRC(afa5e709) SHA1(c107f6c5b7574f2c7e7ac6ed1fcc37edabdc95e8) )
ROM_LOAD("317-5104-jpn.pic", 0x00, 0x4000, CRC(afa5e709) SHA1(c107f6c5b7574f2c7e7ac6ed1fcc37edabdc95e8) )
ROM_END
@ -4871,7 +4871,7 @@ ROM_START( senko )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5107-JPN)
//(sticker 253-5509-5107J)
ROM_LOAD("317-5107-jpn.pic", 0x00, 0x4000, CRC(6bc3fad0) SHA1(6d5196265232f4c0715a97acc84d6f7376056894) )
ROM_LOAD("317-5107-jpn.pic", 0x00, 0x4000, CRC(6bc3fad0) SHA1(6d5196265232f4c0715a97acc84d6f7376056894) )
ROM_END
ROM_START( senkoo )
@ -4889,7 +4889,7 @@ ROM_START( senkoo )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5107-JPN)
//(sticker 253-5509-5107J)
ROM_LOAD("317-5107-jpn.pic", 0x00, 0x4000, CRC(6bc3fad0) SHA1(6d5196265232f4c0715a97acc84d6f7376056894) )
ROM_LOAD("317-5107-jpn.pic", 0x00, 0x4000, CRC(6bc3fad0) SHA1(6d5196265232f4c0715a97acc84d6f7376056894) )
ROM_END
@ -4908,7 +4908,7 @@ ROM_START( ss2005 )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5108-JPN)
//(sticker 253-5509-5108J)
ROM_LOAD("317-5108-jpn.pic", 0x00, 0x4000, CRC(4fa7dede) SHA1(f9011e951378364a12512d398f76be174dccce69) )
ROM_LOAD("317-5108-jpn.pic", 0x00, 0x4000, CRC(4fa7dede) SHA1(f9011e951378364a12512d398f76be174dccce69) )
ROM_END
@ -4927,7 +4927,7 @@ ROM_START( radirgy )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C621A (317-5110-JPN)
//(sticker 253-5509-5110J)
ROM_LOAD("317-5110-jpn.pic", 0x00, 0x4000, CRC(829d06e2) SHA1(c53d791e82cc75f2bcd49575185c89d448fed672) )
ROM_LOAD("317-5110-jpn.pic", 0x00, 0x4000, CRC(829d06e2) SHA1(c53d791e82cc75f2bcd49575185c89d448fed672) )
ROM_END
@ -4942,12 +4942,12 @@ ROM_START( ggxxsla )
ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
//ROM_LOAD("317-5111-jpn.data", 0x00, 0x50, CRC(a517c70d) SHA1(5f9798941355fb9abce511508c860653d6369e72) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C621A (317-5111-JPN)
//(sticker 253-5509-5111J)
ROM_LOAD("317-5111-jpn.pic", 0x00, 0x4000, CRC(96bcbd42) SHA1(af4efdf2a02920af9885d104091da0584fca988c) )
ROM_LOAD("317-5111-jpn.pic", 0x00, 0x4000, CRC(96bcbd42) SHA1(af4efdf2a02920af9885d104091da0584fca988c) )
ROM_END
@ -4966,7 +4966,7 @@ ROM_START( kurucham )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C621A (317-5115-JPN)
//(sticker 253-5509-5115J)
ROM_LOAD("317-5115-jpn.pic", 0x00, 0x4000, CRC(e5435e85) SHA1(9d5b25de82284e5fcab2cbf7fb73669d1130648a) )
ROM_LOAD("317-5115-jpn.pic", 0x00, 0x4000, CRC(e5435e85) SHA1(9d5b25de82284e5fcab2cbf7fb73669d1130648a) )
ROM_END
@ -4985,7 +4985,7 @@ ROM_START( undefeat )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5117-JPN)
//(sticker 253-5509-5117J)
ROM_LOAD("317-5117-jpn.pic", 0x00, 0x4000, CRC(61e65ca8) SHA1(f1a242d3dd1af0df084dd1568320f6b4c51d9e20) )
ROM_LOAD("317-5117-jpn.pic", 0x00, 0x4000, CRC(61e65ca8) SHA1(f1a242d3dd1af0df084dd1568320f6b4c51d9e20) )
ROM_END
@ -5004,7 +5004,7 @@ ROM_START( meltyb )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5124-JPN)
//(sticker 253-5509-5124J)
ROM_LOAD("317-5124-jpn.pic", 0x00, 0x4000, CRC(ad162bfa) SHA1(0e9740ba65a724eb7cd70fb897e5cd9ac17aa55c) )
ROM_LOAD("317-5124-jpn.pic", 0x00, 0x4000, CRC(ad162bfa) SHA1(0e9740ba65a724eb7cd70fb897e5cd9ac17aa55c) )
ROM_END
ROM_START( meltyba )
@ -5022,7 +5022,7 @@ ROM_START( meltyba )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5124-JPN)
//(sticker 253-5509-5124J)
ROM_LOAD("317-5124-jpn.pic", 0x00, 0x4000, CRC(ad162bfa) SHA1(0e9740ba65a724eb7cd70fb897e5cd9ac17aa55c) )
ROM_LOAD("317-5124-jpn.pic", 0x00, 0x4000, CRC(ad162bfa) SHA1(0e9740ba65a724eb7cd70fb897e5cd9ac17aa55c) )
ROM_END
@ -5041,7 +5041,7 @@ ROM_START( trgheart )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5121-JPN)
//(sticker 253-5509-5121J)
ROM_LOAD("317-5121-jpn.pic", 0x00, 0x4000, CRC(cdb9b179) SHA1(8f7d1e9a99ad90344449c6ebb623e2968f611ec0) )
ROM_LOAD("317-5121-jpn.pic", 0x00, 0x4000, CRC(cdb9b179) SHA1(8f7d1e9a99ad90344449c6ebb623e2968f611ec0) )
ROM_END
@ -5061,7 +5061,7 @@ ROM_START( jingystm )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-5122-JPN)
//(sticker 253-5509-5122J)
ROM_LOAD("317-5122-jpn.pic", 0x00, 0x4000, CRC(88983220) SHA1(410ee292794c44d2249778c8b6adda023286eb04) )
ROM_LOAD("317-5122-jpn.pic", 0x00, 0x4000, CRC(88983220) SHA1(410ee292794c44d2249778c8b6adda023286eb04) )
ROM_END
@ -5076,7 +5076,7 @@ ROM_START( karous )
ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
//ROM_LOAD("317-5125-com.data", 0x00, 0x50, CRC(9d37b5e3) SHA1(e1d3cdc2ed82c864c9ff54d9399a80b70ba150c5) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C621A (317-5125-COM)
//(sticker 253-5509-5125)
@ -5158,7 +5158,7 @@ ROM_START( sprtjam )
//ROM_LOAD("317-0300-com.data", 0x00, 0x50, CRC(9a08413f) SHA1(d57649dcc3af578d55a93dd7a3f41da62d580f54) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
ROM_LOAD("317-0300-com.pic", 0x00, 0x4000, CRC(19a97214) SHA1(bcee1af2c16daabc7a0f723e1f9281a7c95600c6) )
ROM_LOAD("317-0300-com.pic", 0x00, 0x4000, CRC(19a97214) SHA1(bcee1af2c16daabc7a0f723e1f9281a7c95600c6) )
ROM_END
@ -5232,7 +5232,7 @@ ROM_START( monkeyba )
ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
//ROM_LOAD("317-0307-com.data", 0x00, 0x50, CRC(448bedc7) SHA1(092dbe5e28890d3ee40d62ca8cbf225c3ce90304) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
ROM_LOAD("317-0307-com.pic", 0x00, 0x4000, CRC(4046de19) SHA1(8adda9f223e926148b36744bbbaa89557544a229) )
ROM_END
@ -5280,7 +5280,7 @@ ROM_START( dygolf )
ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
//ROM_LOAD("317-0308-com.data", 0x00, 0x50, CRC(56f63af0) SHA1(3c453226fc53d2f700b3634db3ef8ce206d94392) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-0308-COM)
//(sticker 253-5508-0308)
@ -5414,7 +5414,7 @@ ROM_START( lupinsho )
ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
//ROM_LOAD("317-0332-j.data", 0x00, 0x50, CRC(31f2b632) SHA1(bbf253bfe831308a7e7fde3a4a28e5bcd2fbb273) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
ROM_LOAD("317-0332-j.pic", 0x00, 0x4000, CRC(f71cb2fc) SHA1(281b3b3b03edf9a39e380976de528b7c9674de53) )
ROM_END
@ -5436,7 +5436,7 @@ ROM_START( luptype )
//PIC16C622A (317-0332-JPN)
//(sticker 253-5508-0332J)
ROM_LOAD("317-0332-jpn.pic", 0x00, 0x4000, CRC(43e78ecf) SHA1(bbe4b036e965fbba6ab79c88cba4ea8f0ea3f9fc) )
ROM_END
/*
@ -5472,7 +5472,7 @@ ROM_START( mok )
ROM_REGION( 0x50, "picreturn", ROMREGION_ERASE)
//ROM_LOAD("317-0333-com.data", 0x00, 0x50, CRC(0c07970f) SHA1(8882dd2f8ed522790ea78eed80cfa9442f88f67b) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
ROM_LOAD("317-0333-com.pic", 0x00, 0x4000, CRC(15fb7792) SHA1(03932ba9b1738d5ab75b2a465cc3254e75f59f63) )
@ -5495,7 +5495,7 @@ ROM_START( ngdup23a )
//PIC16C622A (317-0314-COM)
//(sticker 253-5508-0314)
ROM_LOAD("317-0314-com.pic", 0x00, 0x4000, CRC(fa0b6c70) SHA1(c29936cb18e1dd592563b1104281f031e3b12fc2) )
ROM_END
ROM_START( ngdup23c )
@ -5532,7 +5532,7 @@ ROM_START( puyofev )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C621A (317-0375-COM)
//(sticker 253-5508-0375)
ROM_LOAD("317-0375-com.pic", 0x00, 0x4000, CRC(52b56b52) SHA1(221590efbb09824621714cb163bda51a921d7d54) )
ROM_LOAD("317-0375-com.pic", 0x00, 0x4000, CRC(52b56b52) SHA1(221590efbb09824621714cb163bda51a921d7d54) )
ROM_END
@ -5715,7 +5715,7 @@ ROM_START( vf4cart )
ROM_END
/*
Tests IC1 like gram2000 if actel_id is 0xffff, see ROM_COPY
Tests IC1 like gram2000 if actel_id is 0xffff, see ROM_COPY
*/
ROM_START( vf4evoct )
NAOMI2_BIOS
@ -6014,7 +6014,7 @@ ROM_START( initd )
//ROM_REGION( 0x9a49, "pichex", ROMREGION_ERASE) // actual pic dump (in hex/ascii mode) from decap
//ROM_LOAD("gds-0020b.hex", 0x00, 0x0009a49, CRC(80d9fe04) SHA1(7a6fe325ce2e12e9270205d32f549aaf66505de5) )
ROM_REGION( 0x4000, "pic", ROMREGION_ERASEFF)
//PIC16C622A (317-0331-JPN)
//(sticker 253-5508-0331J)

View File

@ -67,12 +67,12 @@ static INTERRUPT_GEN( konamigt_interrupt )
if (cpu_getiloops(device) == 0)
{
if ((state->irq_on) && (state->gx400_irq1_cnt++ & 1))
if ((state->irq_on) && (state->gx400_irq1_cnt++ & 1))
cpu_set_input_line(device, 1, HOLD_LINE);
}
else
{
if (state->irq2_on)
if (state->irq2_on)
cpu_set_input_line(device, 2, HOLD_LINE);
}
}
@ -84,17 +84,17 @@ static INTERRUPT_GEN( gx400_interrupt )
switch (cpu_getiloops(device))
{
case 0:
if (state->irq2_on)
if (state->irq2_on)
cpu_set_input_line(device, 2, HOLD_LINE);
break;
case 1:
if ((state->irq1_on) && (state->gx400_irq1_cnt++ & 1))
if ((state->irq1_on) && (state->gx400_irq1_cnt++ & 1))
cpu_set_input_line(device, 1, HOLD_LINE);
break;
case 2:
if (state->irq4_on)
if (state->irq4_on)
cpu_set_input_line(device, 4, HOLD_LINE);
break;
}
@ -212,10 +212,10 @@ static READ16_HANDLER( konamigt_input_word_r )
// if (BIT(data, 4)) ret |= 0x0800; // turbo/gear?
// if (BIT(data, 7)) ret |= 0x0400; // turbo?
if (BIT(data, 5))
if (BIT(data, 5))
ret |= 0x0300; // brake (0-3)
if (BIT(data, 6))
if (BIT(data, 6))
ret |= 0xf000; // accel (0-f)
ret |= data2 & 0x7f; // steering wheel, not exactly sure if DIAL works ok.
@ -227,7 +227,7 @@ static WRITE16_HANDLER( selected_ip_word_w )
{
nemesis_state *state = (nemesis_state *)space->machine->driver_data;
if (ACCESSING_BITS_0_7)
if (ACCESSING_BITS_0_7)
state->selected_ip = data & 0xff; // latch the value
}

View File

@ -135,9 +135,9 @@ static WRITE8_HANDLER( nsc_true_blitter_w )
// lowest bit of src controls flipping / draw direction?
flipx = (state->true_blit[0] & 1);
if (!flipx)
if (!flipx)
src += (w * h) - 1;
else
else
src -= (w * h) - 1;
{
@ -158,9 +158,9 @@ static WRITE8_HANDLER( nsc_true_blitter_w )
if ((dat & 0xff) != 0)
plot_nightgal_gfx_pixel(space->machine, dat, drawx, drawy);
if (!flipx)
if (!flipx)
count--;
else
else
count++;
}
}
@ -191,9 +191,9 @@ static WRITE8_HANDLER( sexygal_nsc_true_blitter_w )
// lowest bit of src controls flipping / draw direction?
flipx = (state->true_blit[0] & 1);
if (!flipx)
if (!flipx)
src += (w * h) - 1;
else
else
src -= (w * h) - 1;
{
@ -214,9 +214,9 @@ static WRITE8_HANDLER( sexygal_nsc_true_blitter_w )
if ((dat & 0xff) != 0)
plot_nightgal_gfx_pixel(space->machine, dat, drawx, drawy);
if (!flipx)
if (!flipx)
count--;
else
else
count++;
}
}
@ -758,7 +758,7 @@ static MACHINE_RESET( nightgal )
state->nsc_latch = 0;
state->z80_latch = 0;
state->mux_data = 0;
memset(state->blit_raw_data, 0, ARRAY_LENGTH(state->blit_raw_data));
memset(state->true_blit, 0, ARRAY_LENGTH(state->true_blit));
memset(state->pen_data, 0, ARRAY_LENGTH(state->pen_data));

View File

@ -826,7 +826,7 @@ INPUT_PORTS_END
INLINE void get_tile_info( running_machine *machine, tile_data *tileinfo, int tile_index, UINT16 *vram, int color )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
SET_TILE_INFO(0, vram[tile_index] | (state->gfx_bank << 16), color, 0);
}
@ -835,7 +835,7 @@ static TILE_GET_INFO( bg_get_tile_info ) { nmg5_state *state = (nmg5_state *)mac
static VIDEO_START( nmg5 )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
state->bg_tilemap = tilemap_create(machine, bg_get_tile_info, tilemap_scan_rows, 8, 8, 64, 64);
state->fg_tilemap = tilemap_create(machine, fg_get_tile_info, tilemap_scan_rows, 8, 8, 64, 64);
@ -844,7 +844,7 @@ static VIDEO_START( nmg5 )
static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
UINT16 *spriteram = state->spriteram;
int offs;
@ -880,7 +880,7 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect
static void draw_bitmap( running_machine *machine, bitmap_t *bitmap )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
int yyy = 256;
int xxx = 512 / 4;
UINT16 x, y, count;
@ -999,7 +999,7 @@ GFXDECODE_END
static void soundirq( running_device *device, int state )
{
nmg5_state *driver_state = (nmg5_state *)device->machine->driver_data;
nmg5_state *driver_state = (nmg5_state *)device->machine->driver_data;
cpu_set_input_line(driver_state->soundcpu, 0, state);
}
@ -1010,7 +1010,7 @@ static const ym3812_interface ym3812_intf =
static MACHINE_START( nmg5 )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
state->maincpu = devtag_get_device(machine, "maincpu");
state->soundcpu = devtag_get_device(machine, "soundcpu");
@ -1022,7 +1022,7 @@ static MACHINE_START( nmg5 )
static MACHINE_RESET( nmg5 )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
/* some games don't set the priority register so it should be hard-coded to a normal layout */
state->priority_reg = 7;
@ -1528,25 +1528,25 @@ ROM_END
static DRIVER_INIT( prot_val_00 )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
state->prot_val = 0x00;
}
static DRIVER_INIT( prot_val_10 )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
state->prot_val = 0x10;
}
static DRIVER_INIT( prot_val_20 )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
state->prot_val = 0x20;
}
static DRIVER_INIT( prot_val_40 )
{
nmg5_state *state = (nmg5_state *)machine->driver_data;
nmg5_state *state = (nmg5_state *)machine->driver_data;
state->prot_val = 0x40;
}

View File

@ -235,9 +235,9 @@ static MACHINE_RESET( ta7630 )
static TIMER_CALLBACK( nmi_callback )
{
nycaptor_state *state = (nycaptor_state *)machine->driver_data;
if (state->sound_nmi_enable)
if (state->sound_nmi_enable)
cpu_set_input_line(state->audiocpu, INPUT_LINE_NMI, PULSE_LINE);
else
else
state->pending_nmi = 1;
}

Some files were not shown because too many files have changed in this diff Show More