Cleanups and version bump.

This commit is contained in:
Aaron Giles 2009-12-11 06:19:46 +00:00
parent dcd164adc7
commit 40bcc29e8a
128 changed files with 758 additions and 758 deletions

View File

@ -79,42 +79,42 @@
value of 0x14000 would map the bucket at 0x00000, 0x04000, 0x10000,
and 0x14000.
AM_ROM
Specifies that this bucket contains ROM data by attaching an
internal read handler. If this address space describes the first
address space for a device, and if there is a region whose name
matches the device's name, and if the bucket start/end range is
within the bounds of that region, then this bucket will automatically
map to the memory contained in that region.
AM_ROM
Specifies that this bucket contains ROM data by attaching an
internal read handler. If this address space describes the first
address space for a device, and if there is a region whose name
matches the device's name, and if the bucket start/end range is
within the bounds of that region, then this bucket will automatically
map to the memory contained in that region.
AM_RAM
AM_READONLY
AM_WRITEONLY
Specifies that this bucket contains RAM data by attaching internal
read and/or write handlers. Memory is automatically allocated to back
this area. AM_RAM maps both reads and writes, while AM_READONLY only
maps reads and AM_WRITEONLY only maps writes.
Specifies that this bucket contains RAM data by attaching internal
read and/or write handlers. Memory is automatically allocated to back
this area. AM_RAM maps both reads and writes, while AM_READONLY only
maps reads and AM_WRITEONLY only maps writes.
AM_NOP
AM_READNOP
AM_WRITENOP
Specifies that reads and/or writes in this bucket are unmapped, but
that accesses to them should not be logged. AM_NOP unmaps both reads
and writes, while AM_READNOP only unmaps reads, and AM_WRITENOP only
unmaps writes.
AM_NOP
AM_READNOP
AM_WRITENOP
Specifies that reads and/or writes in this bucket are unmapped, but
that accesses to them should not be logged. AM_NOP unmaps both reads
and writes, while AM_READNOP only unmaps reads, and AM_WRITENOP only
unmaps writes.
AM_UNMAP
Specifies that both reads and writes in thus bucket are unmapeed,
and that accesses to them should be logged. There is rarely a need
for this, as the entire address space is initialized to behave this
way by default.
AM_UNMAP
Specifies that both reads and writes in thus bucket are unmapeed,
and that accesses to them should be logged. There is rarely a need
for this, as the entire address space is initialized to behave this
way by default.
AM_READ_BANK(tag)
AM_WRITE_BANK(tag)
AM_READWRITE_BANK(tag)
Specifies that reads and/or writes in this bucket map to a memory
bank with the provided 'tag'. The actual memory this bank points to
can be later controlled via the same tag.
Specifies that reads and/or writes in this bucket map to a memory
bank with the provided 'tag'. The actual memory this bank points to
can be later controlled via the same tag.
AM_READ(read)
AM_WRITE(write)
@ -123,19 +123,19 @@
reads and writes in this bucket will trigger a call to the provided
functions.
AM_DEVREAD(tag, read)
AM_DEVWRITE(tag, read)
AM_DEVREADWRITE(tag, read)
Specifies a device-specific read and/or write handler for this
bucket, automatically bound to the device specified by the provided
'tag'.
AM_DEVREAD(tag, read)
AM_DEVWRITE(tag, read)
AM_DEVREADWRITE(tag, read)
Specifies a device-specific read and/or write handler for this
bucket, automatically bound to the device specified by the provided
'tag'.
AM_READ_PORT(tag)
AM_WRITE_PORT(tag)
AM_READWRITE_PORT(tag)
Specifies that read and/or write accesses in this bucket will map
to the I/O port with the provided 'tag'. An internal read/write
handler is set up to handle this mapping.
AM_READ_PORT(tag)
AM_WRITE_PORT(tag)
AM_READWRITE_PORT(tag)
Specifies that read and/or write accesses in this bucket will map
to the I/O port with the provided 'tag'. An internal read/write
handler is set up to handle this mapping.
AM_REGION(class, tag, offs)
Only useful if used in conjunction with AM_ROM, AM_RAM, or
@ -159,16 +159,16 @@
with the size, in bytes, of the current bucket.
AM_BASE_MEMBER(struct, basefield)
AM_SIZE_MEMBER(struct, sizefield)
Specifies a field within a given struct as where to store the base
or size of the current bucket. The struct is assumed to be hanging
off of the machine->driver_data pointer.
AM_SIZE_MEMBER(struct, sizefield)
Specifies a field within a given struct as where to store the base
or size of the current bucket. The struct is assumed to be hanging
off of the machine->driver_data pointer.
AM_BASE_GENERIC(basefield)
AM_SIZE_GENERIC(sizefield)
Specifies a field within the global generic_pointers struct as
where to store the base or size of the current bucket. The global
generic_pointer struct lives in machine->generic.
AM_BASE_GENERIC(basefield)
AM_SIZE_GENERIC(sizefield)
Specifies a field within the global generic_pointers struct as
where to store the base or size of the current bucket. The global
generic_pointer struct lives in machine->generic.
***************************************************************************/

View File

@ -8,8 +8,8 @@
TODO:
- remove CDP1802 dependency
- sound base frequencies are TPA/TPB
- remove CDP1802 dependency
- sound base frequencies are TPA/TPB
- white noise
- scanline based update
- CMSEL output

View File

@ -1,19 +1,19 @@
/******************************************************************************************************
System H1 (c) 1994 Sega
System H1 (c) 1994 Sega
preliminary driver by David Haywood, Angelo Salese and Tomasz Slanina
special thanks to Guru for references and HW advices
preliminary driver by David Haywood, Angelo Salese and Tomasz Slanina
special thanks to Guru for references and HW advices
TODO:
- DMA is still a bit of a mystery;
- video emulation is pratically non-existant;
- SCSP;
- Many SH-1 ports needs investigations;
- IRQ generation
- Understand & remove the hacks at the bottom;
- IC1/IC10 are currently unused, might contain sprite data / music data for the SCSP / chars for the
text tilemap/blitter;
TODO:
- DMA is still a bit of a mystery;
- video emulation is pratically non-existant;
- SCSP;
- Many SH-1 ports needs investigations;
- IRQ generation
- Understand & remove the hacks at the bottom;
- IC1/IC10 are currently unused, might contain sprite data / music data for the SCSP / chars for the
text tilemap/blitter;
=======================================================================================================
@ -339,7 +339,7 @@ static WRITE32_HANDLER(sysh1_ioga_w)
}
#endif
/*
CMD = 03f4 PARAM = 0230 | ¦
CMD = 03f4 PARAM = 0230 | ?
CMD = ac90 PARAM = 0001 DATA = 00000000
CMD = ac90 PARAM = 0001 DATA = 00000059
CMD = ac90 PARAM = 0001 DATA = 00000000
@ -353,7 +353,7 @@ CMD = ac90 PARAM = 0001 DATA = 01200050
CMD = ac90 PARAM = 0001 DATA = 00000000
CMD = ac90 PARAM = 0001 DATA = 03f40230
CMD = 03f4 PARAM = 0170 | ¦
CMD = 03f4 PARAM = 0170 | ?
CMD = ac90 PARAM = 0001 DATA = 00000000
CMD = ac90 PARAM = 0001 DATA = 00000059
CMD = ac90 PARAM = 0001 DATA = 00000000
@ -440,7 +440,7 @@ static WRITE32_HANDLER( sysh1_txt_blit_w )
memory_write_dword(space,(clear_vram),0x00000000);
}
//else
// printf("CMD = %04x PARAM = %04x DATA = %08x\n",cmd,param,data);
// printf("CMD = %04x PARAM = %04x DATA = %08x\n",cmd,param,data);
break;
}
}
@ -654,7 +654,7 @@ static const gfx_layout test =
#endif
static GFXDECODE_START( coolridr )
// GFXDECODE_ENTRY( "maincpu_data", 0, tiles8x8_layout, 0, 16 )
// GFXDECODE_ENTRY( "maincpu_data", 0, tiles8x8_layout, 0, 16 )
GFXDECODE_ENTRY( "gfx_data", 0, tiles8x8_layout, 0, 16 )
GFXDECODE_ENTRY( "gfx5", 0, tiles8x8_layout, 0, 16 )
GFXDECODE_ENTRY( "ram_gfx", 0, tiles8x8_layout, 0, 16 )
@ -1009,12 +1009,12 @@ INPUT_PORTS_END
static INTERRUPT_GEN( system_h1 )
{
cpu_set_input_line(device, 4, HOLD_LINE);
/* switch(cpu_getiloops(device))
{
case 0: break;
/* switch(cpu_getiloops(device))
{
case 0: break;
case 1:cpu_set_input_line(device, 6, HOLD_LINE); break;
// case 2:cpu_set_input_line(device, 8, HOLD_LINE); break;
}*/
}*/
}
//IRQs 10,12 and 14 are valid on SH-1 instead
@ -1102,16 +1102,16 @@ ROM_START( coolridr )
ROM_LOAD32_WORD_SWAP( "mp17644.5", 0x1000002, 0x0200000, CRC(be2763c5) SHA1(1044b0a73e334337b0b9ac958df59480aedfb942) )
ROM_LOAD32_WORD_SWAP( "mp17649.10",0x1000000, 0x0200000, CRC(567fbc0a) SHA1(3999c99b26f13d97ac1c58de00a44049ee7775fd) )
/* ROMX_LOAD( "mp17640.1", 0x0000000, 0x0200000, CRC(5ecd98c7) SHA1(22027c1e9e6195d27f29a5779695d8597f68809e), ROM_SKIP(9) )
ROMX_LOAD( "mp17641.2", 0x0000001, 0x0200000, CRC(a59b0605) SHA1(c93f84fd58f1942b40b7a55058e02a18a3dec3af), ROM_SKIP(9) )
ROMX_LOAD( "mp17642.3", 0x0000002, 0x0200000, CRC(5f8a1827) SHA1(23179d751777436f2a4f652132001d5e425d8cd5), ROM_SKIP(9) )
ROMX_LOAD( "mp17643.4", 0x0000003, 0x0200000, CRC(44a05dd0) SHA1(32aa86f8761ec6ffceb63979c44828603c244e7d), ROM_SKIP(9) )
ROMX_LOAD( "mp17644.5", 0x0000004, 0x0200000, CRC(be2763c5) SHA1(1044b0a73e334337b0b9ac958df59480aedfb942), ROM_SKIP(9) )
ROMX_LOAD( "mp17645.6", 0x0000005, 0x0200000, CRC(00954173) SHA1(863f32565296448ef10992dc3c0480411eb2b193), ROM_SKIP(9) )
ROMX_LOAD( "mp17646.7", 0x0000006, 0x0200000, CRC(7ae4d92e) SHA1(8a0eaa5dce112289ac5d16ad5dc7f5895e71e87b), ROM_SKIP(9) )
ROMX_LOAD( "mp17647.8", 0x0000007, 0x0200000, CRC(082faee8) SHA1(c047b8475517f96f481c09471a77aa0d103631d6), ROM_SKIP(9) )
ROMX_LOAD( "mp17648.9", 0x0000008, 0x0200000, CRC(0791802f) SHA1(acad55bbd22c7e955a729c8abed9509fc6f10927), ROM_SKIP(9) )
ROMX_LOAD( "mp17649.10",0x0000009, 0x0200000, CRC(567fbc0a) SHA1(3999c99b26f13d97ac1c58de00a44049ee7775fd), ROM_SKIP(9) )*/
/* ROMX_LOAD( "mp17640.1", 0x0000000, 0x0200000, CRC(5ecd98c7) SHA1(22027c1e9e6195d27f29a5779695d8597f68809e), ROM_SKIP(9) )
ROMX_LOAD( "mp17641.2", 0x0000001, 0x0200000, CRC(a59b0605) SHA1(c93f84fd58f1942b40b7a55058e02a18a3dec3af), ROM_SKIP(9) )
ROMX_LOAD( "mp17642.3", 0x0000002, 0x0200000, CRC(5f8a1827) SHA1(23179d751777436f2a4f652132001d5e425d8cd5), ROM_SKIP(9) )
ROMX_LOAD( "mp17643.4", 0x0000003, 0x0200000, CRC(44a05dd0) SHA1(32aa86f8761ec6ffceb63979c44828603c244e7d), ROM_SKIP(9) )
ROMX_LOAD( "mp17644.5", 0x0000004, 0x0200000, CRC(be2763c5) SHA1(1044b0a73e334337b0b9ac958df59480aedfb942), ROM_SKIP(9) )
ROMX_LOAD( "mp17645.6", 0x0000005, 0x0200000, CRC(00954173) SHA1(863f32565296448ef10992dc3c0480411eb2b193), ROM_SKIP(9) )
ROMX_LOAD( "mp17646.7", 0x0000006, 0x0200000, CRC(7ae4d92e) SHA1(8a0eaa5dce112289ac5d16ad5dc7f5895e71e87b), ROM_SKIP(9) )
ROMX_LOAD( "mp17647.8", 0x0000007, 0x0200000, CRC(082faee8) SHA1(c047b8475517f96f481c09471a77aa0d103631d6), ROM_SKIP(9) )
ROMX_LOAD( "mp17648.9", 0x0000008, 0x0200000, CRC(0791802f) SHA1(acad55bbd22c7e955a729c8abed9509fc6f10927), ROM_SKIP(9) )
ROMX_LOAD( "mp17649.10",0x0000009, 0x0200000, CRC(567fbc0a) SHA1(3999c99b26f13d97ac1c58de00a44049ee7775fd), ROM_SKIP(9) )*/
ROM_END
/*TODO: there must be an irq line with custom vector located somewhere that writes to here...*/
@ -1135,7 +1135,7 @@ static READ32_HANDLER( coolridr_hack2_r )
static DRIVER_INIT( coolridr )
{
// memory_install_read32_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x60d88a4, 0x060d88a7, 0, 0, coolridr_hack1_r );
// memory_install_read32_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x60d88a4, 0x060d88a7, 0, 0, coolridr_hack1_r );
memory_install_read32_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x60d8894, 0x060d8897, 0, 0, coolridr_hack2_r );
}

View File

@ -40,7 +40,7 @@ struct _go2000_state
/* memory pointers */
UINT16 * videoram;
UINT16 * videoram2;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
/* devices */
const device_config *soundcpu;

View File

@ -42,7 +42,7 @@ struct _good_state
UINT16 * bg_tilemapram;
UINT16 * fg_tilemapram;
UINT16 * sprites;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
/* video-related */
tilemap *bg_tilemap,*fg_tilemap;

View File

@ -133,7 +133,7 @@ struct _gstream_state
UINT32 * vram;
UINT32 * workram;
UINT32 * paletteram;
// UINT32 * nvram; // currently this uses generic nvram handling
// UINT32 * nvram; // currently this uses generic nvram handling
/* video-related */
tilemap *tilemap1, *tilemap2, *tilemap3;

View File

@ -1088,10 +1088,10 @@ static ADDRESS_MAP_START( hng_map, ADDRESS_SPACE_PROGRAM, 32 )
AM_RANGE(0x60200000, 0x603fffff) AM_READWRITE(hng64_soundram_r, hng64_soundram_w) // uploads the v53 sound program here, elsewhere on ss64-2
// These are sound ports of some sort
// AM_RANGE(0x68000000, 0x68000003) AM_WRITENOP // ??
// AM_RANGE(0x68000004, 0x68000007) AM_READNOP // ??
// AM_RANGE(0x68000008, 0x6800000b) AM_WRITENOP // ??
// AM_RANGE(0x6f000000, 0x6f000003) AM_WRITENOP // halt / reset line for the sound CPU
// AM_RANGE(0x68000000, 0x68000003) AM_WRITENOP // ??
// AM_RANGE(0x68000004, 0x68000007) AM_READNOP // ??
// AM_RANGE(0x68000008, 0x6800000b) AM_WRITENOP // ??
// AM_RANGE(0x6f000000, 0x6f000003) AM_WRITENOP // halt / reset line for the sound CPU
// Communications
AM_RANGE(0xc0000000, 0xc0000fff) AM_READWRITE(hng64_com_r, hng64_com_w) AM_BASE(&hng64_com_ram)

View File

@ -184,7 +184,7 @@ static WRITE8_HANDLER( blitter_process_w )
int xcount, ycount;
/* printf("%02x %02x %02x %02x %02x %02x\n", state->blit_data[0], state->blit_data[1], state->blit_data[2],
state->blit_data[3], state->blit_data[4], state->blit_data[5]); */
state->blit_data[3], state->blit_data[4], state->blit_data[5]); */
w = (state->blit_data[4] & 0xff) + 1;
h = (state->blit_data[5] & 0xff) + 1;
src = ((state->blit_data[1] << 8)|(state->blit_data[0] << 0));

View File

@ -790,7 +790,7 @@ static MACHINE_RESET( karnov )
state->i8751_coin_pending = 0;
state->i8751_command_queue = 0;
state->i8751_level = 0;
// state->latch = 0;
// state->latch = 0;
state->flipscreen = 0;
state->scroll[0] = 0;

View File

@ -173,17 +173,17 @@ INPUT_PORTS_END
static WRITE8_DEVICE_HANDLER(dummy1_w)
{
// printf("%02x 1\n", data);
// printf("%02x 1\n", data);
}
static WRITE8_DEVICE_HANDLER(dummy2_w)
{
// printf("%02x 2\n", data);
// printf("%02x 2\n", data);
}
static WRITE8_DEVICE_HANDLER(dummy3_w)
{
// printf("%02x 3\n", data);
// printf("%02x 3\n", data);
}

View File

@ -71,7 +71,7 @@ struct _lastfght_state
{
/* memory pointers */
UINT8 * colorram;
// UINT8 * nvram; // currently this uses generic nvram handling
// UINT8 * nvram; // currently this uses generic nvram handling
/* video-related */
bitmap_t *bitmap[2];

View File

@ -631,10 +631,10 @@ static MACHINE_DRIVER_START( lazercmd )
/* basic machine hardware */
MDRV_CPU_ADD("maincpu", S2650,MASTER_CLOCK/12) /* 672 kHz? */
/* Main Clock is 8MHz divided by 12
but memory and IO access is only possible
within the line and frame blanking period
thus requiring an extra loading of approx 3-5 */
/* Main Clock is 8MHz divided by 12
but memory and IO access is only possible
within the line and frame blanking period
thus requiring an extra loading of approx 3-5 */
MDRV_CPU_PROGRAM_MAP(lazercmd_map)
MDRV_CPU_IO_MAP(lazercmd_portmap)
MDRV_CPU_VBLANK_INT_HACK(lazercmd_timer, 128) /* 7680 Hz */
@ -672,10 +672,10 @@ static MACHINE_DRIVER_START( medlanes )
/* basic machine hardware */
MDRV_CPU_ADD("maincpu", S2650,MASTER_CLOCK/12) /* 666 kHz */
/* Main Clock is 8MHz divided by 12
but memory and IO access is only possible
within the line and frame blanking period
thus requiring an extra loading of approx 3-5 */
/* Main Clock is 8MHz divided by 12
but memory and IO access is only possible
within the line and frame blanking period
thus requiring an extra loading of approx 3-5 */
MDRV_CPU_PROGRAM_MAP(medlanes_map)
MDRV_CPU_IO_MAP(lazercmd_portmap)
MDRV_CPU_VBLANK_INT_HACK(lazercmd_timer, 128) /* 7680 Hz */
@ -713,10 +713,10 @@ static MACHINE_DRIVER_START( bbonk )
/* basic machine hardware */
MDRV_CPU_ADD("maincpu", S2650,MASTER_CLOCK/12) /* 666 kHz */
/* Main Clock is 8MHz divided by 12
but memory and IO access is only possible
within the line and frame blanking period
thus requiring an extra loading of approx 3-5 */
/* Main Clock is 8MHz divided by 12
but memory and IO access is only possible
within the line and frame blanking period
thus requiring an extra loading of approx 3-5 */
MDRV_CPU_PROGRAM_MAP(bbonk_map)
MDRV_CPU_IO_MAP(lazercmd_portmap)
MDRV_CPU_VBLANK_INT_HACK(bbonk_timer, 128) /* 7680 Hz */

View File

@ -963,10 +963,10 @@ static INPUT_PORTS_START( tron3 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
// PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
// PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL
// PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL
// PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
// PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
// PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL
// PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL
// PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
PORT_START("SSIO.IP3") /* DIPSW @ B3 */
PORT_DIPNAME( 0x01, 0x00, "Coin Meters" ) PORT_DIPLOCATION("SW1:1")
@ -982,14 +982,14 @@ static INPUT_PORTS_START( tron3 )
PORT_DIPUNUSED_DIPLOC( 0x10, 0x00, "SW1:5" )
PORT_DIPUNUSED_DIPLOC( 0x20, 0x00, "SW1:6" )
PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "SW1:7" )
// PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
// PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
// According to the manual, SW1 is a bank of *10* switches (9 is unused and 10 is freeze)
// Where are the values for the other two bits read?
PORT_START("SSIO.IP4") /* J6 1-8 */
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
// PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_REVERSE PORT_COCKTAIL
// PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_REVERSE PORT_COCKTAIL
PORT_START("SSIO.DIP")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )

View File

@ -635,7 +635,7 @@ static WRITE8_DEVICE_HANDLER( mainlamps_w )
output_set_lamp_value(6, (data >> 6) & 1); /* HOLD 5 lamp */
output_set_lamp_value(7, (data >> 7) & 1); /* CANCEL lamp */
// popmessage("lamps: %02x", data);
// popmessage("lamps: %02x", data);
}
static WRITE8_DEVICE_HANDLER( soundlamps_w )
@ -2132,7 +2132,7 @@ ROM_END
2) Press HOLD1 to reset meters, HOLD2 for readout,
or follow the next steps to adjust percentage.
Press DEAL to exit.
Press DEAL to exit.
2) Keep pressed HI & LO buttons.
3) Press HOLD5 (readout) button.

View File

@ -1,7 +1,7 @@
/***************************************************************************
Raster Elite Tickee Tickats hardware
+ variations
+ variations
driver by Aaron Giles
@ -294,7 +294,7 @@ static WRITE16_HANDLER( tickee_control_w )
/*************************************
*
* Unknowns
* Unknowns
*
*************************************/
@ -329,7 +329,7 @@ static WRITE16_HANDLER( rapidfir_control_w )
/*************************************
*
* Sound
* Sound
*
*************************************/

View File

@ -121,11 +121,11 @@ static WRITE8_HANDLER( prot_w )
static ADDRESS_MAP_START( wink_io, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x00, 0x1f) AM_RAM_WRITE(paletteram_xxxxBBBBRRRRGGGG_le_w) AM_BASE_GENERIC(paletteram) //0x10-0x1f is likely to be something else
// AM_RANGE(0x20, 0x20) AM_WRITENOP //??? seems unused..
// AM_RANGE(0x20, 0x20) AM_WRITENOP //??? seems unused..
AM_RANGE(0x21, 0x21) AM_WRITE(player_mux_w) //??? no mux on the pcb.
AM_RANGE(0x22, 0x22) AM_WRITE(tile_banking_w)
// AM_RANGE(0x23, 0x23) AM_WRITENOP //?
// AM_RANGE(0x24, 0x24) AM_WRITENOP //cab Knocker like in q-bert!
// AM_RANGE(0x23, 0x23) AM_WRITENOP //?
// AM_RANGE(0x24, 0x24) AM_WRITENOP //cab Knocker like in q-bert!
AM_RANGE(0x25, 0x27) AM_WRITE(wink_coin_counter_w)
AM_RANGE(0x40, 0x40) AM_WRITE(soundlatch_w)
AM_RANGE(0x60, 0x60) AM_WRITE(sound_irq_w)
@ -133,7 +133,7 @@ static ADDRESS_MAP_START( wink_io, ADDRESS_SPACE_IO, 8 )
AM_RANGE(0xa0, 0xa0) AM_READ(player_inputs_r)
AM_RANGE(0xa4, 0xa4) AM_READ_PORT("DSW1") //dipswitch bank2
AM_RANGE(0xa8, 0xa8) AM_READ_PORT("DSW2") //dipswitch bank1
// AM_RANGE(0xac, 0xac) AM_WRITENOP //protection - loads video xor unit (written only once at startup)
// AM_RANGE(0xac, 0xac) AM_WRITENOP //protection - loads video xor unit (written only once at startup)
AM_RANGE(0xb0, 0xb0) AM_READ_PORT("DSW3") //unused inputs
AM_RANGE(0xb4, 0xb4) AM_READ_PORT("DSW4") //dipswitch bank3
AM_RANGE(0xc0, 0xdf) AM_WRITE(prot_w) //load load protection-buffer from upper address bus

View File

@ -11,7 +11,7 @@ struct _aerofgt_state
UINT16 * spriteram2;
UINT16 * spriteram3;
UINT16 * tx_tilemap_ram;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
size_t spriteram1_size;
size_t spriteram2_size;
size_t spriteram3_size;

View File

@ -11,7 +11,7 @@ struct _amspdwy_state
UINT8 * videoram;
UINT8 * spriteram;
UINT8 * colorram;
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram; // currently this uses generic palette handling
size_t spriteram_size;
/* video-related */

View File

@ -17,7 +17,7 @@ struct _buggychl_state
UINT8 * scrollh; // buggychl
UINT8 * charram; // buggychl
UINT8 * video_ctrl; // 40love
// UINT8 * paletteram; // currently this uses generic palette handling (buggychl & msisaac)
// UINT8 * paletteram; // currently this uses generic palette handling (buggychl & msisaac)
UINT8 * mcu_ram; // 40love (undokai)
UINT8 * playfield_ram; // bking
size_t videoram_size;

View File

@ -13,7 +13,7 @@ struct _fromance_state
/* memory pointers (used by pipedrm) */
UINT8 * videoram;
UINT8 * spriteram;
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram; // currently this uses generic palette handling
size_t videoram_size;
size_t spriteram_size;

View File

@ -12,7 +12,7 @@ struct _gaelco_state
UINT16 * spriteram;
UINT16 * vregs;
UINT16 * screen;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
/* video-related */
tilemap *tilemap[2];

View File

@ -14,7 +14,7 @@ struct _galspnbl_state
UINT16 * colorram;
UINT16 * scroll;
UINT16 * spriteram;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
size_t spriteram_size;
/* devices */

View File

@ -6,7 +6,7 @@ struct _gcpinbal_state
UINT16 * tilemapram;
UINT16 * ioc_ram;
UINT16 * spriteram;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
size_t spriteram_size;
/* video-related */

View File

@ -12,7 +12,7 @@ struct _ginganin_state
UINT16 * txtram;
UINT16 * vregs;
UINT16 * spriteram;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
size_t spriteram_size;
/* video-related */

View File

@ -11,7 +11,7 @@ struct _glass_state
UINT16 * videoram;
UINT16 * vregs;
UINT16 * spriteram;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
/* video-related */
tilemap *pant[2];

View File

@ -10,9 +10,9 @@ struct _gng_state
/* memory pointers */
UINT8 * bgvideoram;
UINT8 * fgvideoram;
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram2; // currently this uses generic palette handling
// UINT8 * spriteram; // currently this uses generic buffered spriteram
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram2; // currently this uses generic palette handling
// UINT8 * spriteram; // currently this uses generic buffered spriteram
/* video-related */
tilemap *bg_tilemap, *fg_tilemap;

View File

@ -12,8 +12,8 @@ struct _goal92_state
UINT16 * fg_data;
UINT16 * tx_data;
UINT16 * scrollram;
// UINT16 * paletteram; // this currently use generic palette handling
// UINT16 * spriteram; // this currently use generic buffered spriteram
// UINT16 * paletteram; // this currently use generic palette handling
// UINT16 * spriteram; // this currently use generic buffered spriteram
/* video-related */
tilemap *bg_layer, *fg_layer, *tx_layer;

View File

@ -11,7 +11,7 @@ struct _gotcha_state
UINT16 * fgvideoram;
UINT16 * bgvideoram;
UINT16 * spriteram;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
size_t spriteram_size;
/* video-related */

View File

@ -10,7 +10,7 @@ struct _gumbo_state
/* memory pointers */
UINT16 * bg_videoram;
UINT16 * fg_videoram;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
/* video-related */
tilemap *bg_tilemap;

View File

@ -10,7 +10,7 @@ struct _himesiki_state
/* memory pointers */
UINT8 * bg_ram;
UINT8 * spriteram;
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram; // currently this uses generic palette handling
/* video-related */
tilemap *bg_tilemap;

View File

@ -8,7 +8,7 @@ struct _inufuku_state
UINT16 * tx_videoram;
UINT16 * spriteram1;
UINT16 * spriteram2;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
size_t spriteram1_size;
/* video-related */

View File

@ -11,7 +11,7 @@ struct _jack_state
UINT8 * videoram;
UINT8 * colorram;
UINT8 * spriteram;
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram; // currently this uses generic palette handling
size_t spriteram_size;
/* video-related */

View File

@ -11,7 +11,7 @@ struct _karnov_state
UINT16 * videoram;
UINT16 * ram;
UINT16 * pf_data;
// UINT16 * spriteram; // currently this uses generic buffered spriteram
// UINT16 * spriteram; // currently this uses generic buffered spriteram
/* video-related */
bitmap_t *bitmap_f;

View File

@ -13,7 +13,7 @@ struct _kickgoal_state
UINT16 * bg2ram;
UINT16 * scrram;
UINT16 * spriteram;
// UINT16 * paletteram; // currently this uses generic palette handling
// UINT16 * paletteram; // currently this uses generic palette handling
size_t spriteram_size;
/* video-related */

View File

@ -11,8 +11,8 @@ struct _ladyfrog_state
UINT8 * videoram;
UINT8 * spriteram;
UINT8 * scrlram;
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram2; // currently this uses generic palette handling
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram2; // currently this uses generic palette handling
size_t videoram_size;
/* video-related */

View File

@ -11,7 +11,7 @@ struct _lastduel_state
UINT16 * vram;
UINT16 * scroll1;
UINT16 * scroll2;
// UINT16 * spriteram; // this currently uses generic buffered spriteram
// UINT16 * spriteram; // this currently uses generic buffered spriteram
UINT16 * paletteram;
/* video-related */

View File

@ -8,8 +8,8 @@ struct _lemmings_state
UINT16 * vram_data;
UINT16 * control_data;
UINT16 * paletteram;
// UINT16 * spriteram; // this currently uses generic buffered spriteram
// UINT16 * spriteram2; // this currently uses generic buffered spriteram
// UINT16 * spriteram; // this currently uses generic buffered spriteram
// UINT16 * spriteram2; // this currently uses generic buffered spriteram
/* video-related */
bitmap_t *bitmap0;

View File

@ -6,9 +6,9 @@ struct _lwings_state
UINT8 * fgvideoram;
UINT8 * bg1videoram;
UINT8 * soundlatch2;
// UINT8 * spriteram; // currently this uses generic buffered spriteram
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram2; // currently this uses generic palette handling
// UINT8 * spriteram; // currently this uses generic buffered spriteram
// UINT8 * paletteram; // currently this uses generic palette handling
// UINT8 * paletteram2; // currently this uses generic palette handling
/* video-related */
tilemap *fg_tilemap, *bg1_tilemap, *bg2_tilemap;

View File

@ -32,7 +32,7 @@ struct _timeplt_state
UINT8 * radarattr; // jungler
UINT8 * radarx; // jungler
UINT8 * radary; // jungler
// UINT8 * namco_soundregs; // rallyx - these are dealt with in emu/sound/namco.c
// UINT8 * namco_soundregs; // rallyx - these are dealt with in emu/sound/namco.c
size_t videoram_size; // tutankham, junofrst
size_t spriteram_size; // rocnrope

View File

@ -18,7 +18,7 @@ struct _trackfld_state
UINT8 * scroll2; // trackfld
UINT8 * spriteram;
UINT8 * spriteram2;
// UINT8 * nvram; // currently this uses generic nvram handling (trackfld & hyperspt)
// UINT8 * nvram; // currently this uses generic nvram handling (trackfld & hyperspt)
size_t spriteram_size;
UINT8 * palettebank; // sbasketb
UINT8 * spriteram_select; // sbasketb

View File

@ -1,6 +1,6 @@
/*************************************************************************
Yun Sung 8 Bit Games
Yun Sung 8 Bit Games
*************************************************************************/

View File

@ -1031,7 +1031,7 @@ static void hng64_tilemap_draw_roz_primask(running_machine* machine, bitmap_t *d
/* skip if disabled */
//if (!tmap->enable)
// return;
// return;
profiler_mark_start(PROFILER_TILEMAP_DRAW_ROZ);
/* configure the blit parameters */
@ -1745,7 +1745,7 @@ static void draw3d(running_machine *machine, bitmap_t *bitmap, const rectangle *
UINT32 address[4];
UINT32 megaOffset;
float eyeCoords[4]; // objectCoords transformed by the modelViewMatrix
// float clipCoords[4]; // eyeCoords transformed by the projectionMatrix
// float clipCoords[4]; // eyeCoords transformed by the projectionMatrix
float ndCoords[4]; // normalized device coordinates/clipCoordinates (x/w, y/w, z/w)
float windowCoords[4]; // mapped ndCoordinates to screen space
float cullRay[4];
@ -1753,9 +1753,9 @@ static void draw3d(running_machine *machine, bitmap_t *bitmap, const rectangle *
// Debug...
// mame_printf_debug("Element %.2d (%d) : %.8x %.8x %.8x %.8x %.8x %.8x %.8x %.8x\n", i/0x08, j,
// (UINT32)hng64_dls[j][i+0], (UINT32)hng64_dls[j][i+1],
// (UINT32)hng64_dls[j][i+2], (UINT32)hng64_dls[j][i+3],
// (UINT32)hng64_dls[j][i+2], (UINT32)hng64_dls[j][i+3],
// (UINT32)hng64_dls[j][i+4], (UINT32)hng64_dls[j][i+5],
// (UINT32)hng64_dls[j][i+6], (UINT32)hng64_dls[j][i+7]);
// (UINT32)hng64_dls[j][i+6], (UINT32)hng64_dls[j][i+7]);
// Depending on what the initial flags are, do sumthin'...
switch((workingList[i+0] & 0xffff0000) >> 16)
@ -2348,10 +2348,10 @@ static float uToF(UINT16 input)
retVal = (float)((INT16)input) / 32768.0f;
return retVal;
/* if ((INT16)input < 0)
retVal = (float)((INT16)input) / 32768.0f;
else
retVal = (float)((INT16)input) / 32767.0f; */
/* if ((INT16)input < 0)
retVal = (float)((INT16)input) / 32768.0f;
else
retVal = (float)((INT16)input) / 32767.0f; */
}
#ifdef UNUSED_FUNCTION

View File

@ -424,7 +424,7 @@ static void draw_sprites_bootleg(running_machine *machine, bitmap_t *bitmap, con
int offs;
// UINT16 *spritelist = (UINT16 *)(machine->generic.spriteram.u32 + 0x1800/4);
// UINT16 *spritelist = (UINT16 *)(machine->generic.spriteram.u32 + 0x1800/4);
UINT16 *spritelist = (UINT16 *)(spritebuf2 + 0x1800/4);
UINT8 *TILES = memory_region(machine, "spritelut"); // Sprites LUT
@ -458,7 +458,7 @@ static void draw_sprites_bootleg(running_machine *machine, bitmap_t *bitmap, con
sprite = spritelist[ BYTE_XOR_BE(offs) ];
sprite %= 0x300;
// source = &psikyo_bootleg_spritebuffer[ sprite*8/4 ];
// source = &psikyo_bootleg_spritebuffer[ sprite*8/4 ];
source = &spritebuf2[ sprite*8/4 ];
/* Draw this sprite */

View File

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