Skip to content

Commit

Permalink
Cleanups and version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsgiles committed Jul 6, 2008
1 parent 5333a25 commit cc03405
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion src/emu/validity.c
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ static int validate_sound(int drivnum, const machine_config *config)

/*-------------------------------------------------
validate_devices - run per-device validity
checks
checks
-------------------------------------------------*/

static int validate_devices(int drivnum, const machine_config *config)
Expand Down
20 changes: 10 additions & 10 deletions src/mame/drivers/cps1.c
Original file line number Diff line number Diff line change
Expand Up @@ -3506,7 +3506,7 @@ static INPUT_PORTS_START( wofhfh )

PORT_MODIFY("DSWC")
PORT_DIPNAME( 0x03, 0x03, "Coin Slots" ) PORT_DIPLOCATION("SW(C):1,2")
// PORT_DIPSETTING( 0x00, "2 Players 1 Shooter" )
// PORT_DIPSETTING( 0x00, "2 Players 1 Shooter" )
PORT_DIPSETTING( 0x01, "2 Players 1 Shooter" )
PORT_DIPSETTING( 0x02, "3 Players 1 Shooter" )
PORT_DIPSETTING( 0x03, "3 Players 3 Shooters" )
Expand Down Expand Up @@ -3537,7 +3537,7 @@ static INPUT_PORTS_START( wofhfh )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3)
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3)
// PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(3)
// PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(3)
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN3 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START3 )
INPUT_PORTS_END
Expand Down Expand Up @@ -3738,18 +3738,18 @@ ADDRESS_MAP_END

static void m5205_int1(running_machine *machine, int data)
{
// MSM5205_data_w(0, sample_buffer1 & 0x0F);
// sample_buffer1 >>= 4;
// sample_select1 ^= 1;
// if (sample_select1 == 0)
// cpunum_set_input_line(machine, 1, INPUT_LINE_NMI, PULSE_LINE);
// MSM5205_data_w(0, sample_buffer1 & 0x0F);
// sample_buffer1 >>= 4;
// sample_select1 ^= 1;
// if (sample_select1 == 0)
// cpunum_set_input_line(machine, 1, INPUT_LINE_NMI, PULSE_LINE);
}

static void m5205_int2(running_machine *machine, int data)
{
// MSM5205_data_w(1, sample_buffer2 & 0x0F);
// sample_buffer2 >>= 4;
// sample_select2 ^= 1;
// MSM5205_data_w(1, sample_buffer2 & 0x0F);
// sample_buffer2 >>= 4;
// sample_select2 ^= 1;
}

static const struct MSM5205interface msm5205_interface1 =
Expand Down
22 changes: 11 additions & 11 deletions src/mame/drivers/hikaru.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,15 +284,15 @@ ADDRESS_MAP_END
static MACHINE_DRIVER_START( hikaru )
/* basic machine hardware */
MDRV_CPU_ADD_TAG("main", SH4, CPU_CLOCK)
// MDRV_CPU_CONFIG(sh4cpu_config)
// MDRV_CPU_CONFIG(sh4cpu_config)
MDRV_CPU_PROGRAM_MAP(hikaru_map,0)
// MDRV_CPU_IO_MAP(hikaru_port,0)
// MDRV_CPU_VBLANK_INT("main", hikaru,vblank)
// MDRV_CPU_IO_MAP(hikaru_port,0)
// MDRV_CPU_VBLANK_INT("main", hikaru,vblank)

// MDRV_MACHINE_START( hikaru )
// MDRV_MACHINE_RESET( hikaru )
// MDRV_MACHINE_START( hikaru )
// MDRV_MACHINE_RESET( hikaru )

// MDRV_NVRAM_HANDLER(hikaru_eeproms)
// MDRV_NVRAM_HANDLER(hikaru_eeproms)

/* video hardware */
MDRV_SCREEN_ADD("main", RASTER)
Expand All @@ -307,11 +307,11 @@ static MACHINE_DRIVER_START( hikaru )
MDRV_VIDEO_START(hikaru)
MDRV_VIDEO_UPDATE(hikaru)

// MDRV_SPEAKER_STANDARD_STEREO("left", "right")
// MDRV_SOUND_ADD(AICA, 0)
// MDRV_SOUND_CONFIG(aica_interface)
// MDRV_SOUND_ROUTE(0, "left", 2.0)
// MDRV_SOUND_ROUTE(0, "right", 2.0)
// MDRV_SPEAKER_STANDARD_STEREO("left", "right")
// MDRV_SOUND_ADD(AICA, 0)
// MDRV_SOUND_CONFIG(aica_interface)
// MDRV_SOUND_ROUTE(0, "left", 2.0)
// MDRV_SOUND_ROUTE(0, "right", 2.0)
MACHINE_DRIVER_END


Expand Down
30 changes: 15 additions & 15 deletions src/mame/drivers/lucky74.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
There are 2 extra marks on the black CPU box:
Silkscreened: 'B 0L2'
Silkscreened: 'B 0L2'
Sticker: 'WE8703 1992.10'
'LUCKY 74-7'
'LUCKY 74-7'
PCB is original from WING Co.Ltd.
Expand All @@ -75,7 +75,7 @@
and therefore to a resistor network that derives to the RGB connector.
220
220
(E6)24s10-12 -+- 74174-02 ---/\/\/\----+
(E7)24s10-12 _| |
470 |
Expand All @@ -93,7 +93,7 @@
|
_
220
220
(D6)24s10-12 -+- 74174-02 ---/\/\/\----+
(D7)24s10-12 _| |
470 |
Expand All @@ -111,7 +111,7 @@
|
_
220
220
(C6)24s10-12 -+- 74174-02 ---/\/\/\----+
(C7)24s10-12 _| |
470 |
Expand All @@ -135,7 +135,7 @@
As we can see here, same pin of different PROMs are connected together in parallel.
We need to check the pin 13 (/G1) and pin 14 (/G2) from each PROM to see if they are
connected to the same signal, and futhermore check if one or the other is tied to GND.
connected to the same signal, and futhermore check if one or the other is tied to GND.
To reproduce the states, we need to create a double-sized palette and fill the first
half with the values created through state 1, then fill the second half with proper
Expand All @@ -162,9 +162,9 @@
This game was one of the 'classics'.
Lucky 74 is a strip poker game with anime theme. It has a nice double-up feature, and
the objective is obviously to win hands till you can see the girl naked, like other
the objective is obviously to win hands till you can see the girl naked, like other
strip poker games.
Expand Down Expand Up @@ -477,8 +477,8 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( lucky74_portmap, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x00, 0x00) AM_READ(testport_rw)
// AM_RANGE(0x00, 0x05) AM_WRITE(???)
// AM_RANGE(0xff, 0xff) AM_READWRITE(???)
// AM_RANGE(0x00, 0x05) AM_WRITE(???)
// AM_RANGE(0xff, 0xff) AM_READWRITE(???)
ADDRESS_MAP_END

/* I/O byte R/W
Expand Down Expand Up @@ -511,7 +511,7 @@ ADDRESS_MAP_END
*** log ***
cpu #0 (PC=00000105): unmapped I/O byte write to 000000FF = 04
cpu #0 (PC=00000107): unmapped I/O byte read from 000000FF
cpu #0 (PC=00000111): unmapped I/O byte write to 000000FF = FB
Expand Down Expand Up @@ -572,7 +572,7 @@ static INPUT_PORTS_START( lucky74 )

/* Player buttons are the same for players 1 & 2.
Test mode shows them as dupes. Maybe are multiplexed?
*/
*/
PORT_START_TAG("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z) /* 'A' in test mode */
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X) /* 'B' in test mode */
Expand Down Expand Up @@ -860,7 +860,7 @@ static MACHINE_DRIVER_START( lucky74 )
MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
MDRV_SCREEN_SIZE(64*8, 32*8)
MDRV_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 1*8, 30*8-1) /* allow to show the top of bg gfx */
MDRV_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 1*8, 30*8-1) /* allow to show the top of bg gfx */

MDRV_GFXDECODE(lucky74)

Expand All @@ -869,10 +869,10 @@ static MACHINE_DRIVER_START( lucky74 )

MDRV_VIDEO_START(lucky74)
MDRV_VIDEO_UPDATE(lucky74)

/* sound hardware */
MDRV_SPEAKER_STANDARD_MONO("mono")

MDRV_SOUND_ADD(AY8910, MASTER_CLOCK/8) /* YM2149F */
MDRV_SOUND_CONFIG(ay8910_interface)
MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
Expand Down
24 changes: 12 additions & 12 deletions src/mame/drivers/namcos21.c
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/**
2008/06/11, by Naibo(translated to English by Mameplus team):
Driver's Eyes works,
-the communication work between CPU and 3D DSP should be limited to the master M68000,
if the address mapping is done in the shared memory, master CPU would be disturbed by the slave one.
Driver's Eyes works,
-the communication work between CPU and 3D DSP should be limited to the master M68000,
if the address mapping is done in the shared memory, master CPU would be disturbed by the slave one.
-DIP Switches
DIP3 ON for Screen on the left
DIP4 ON for Screen on the right
should not toggle on both
-DIP Switches
DIP3 ON for Screen on the left
DIP4 ON for Screen on the right
should not toggle on both
-The left, center and right screens have separate programs and boards, each would work independantly.
About projection angles of left and right screen, the angle is correct on "DRIVER'S EYES" title screen, however in the tracks of demo mode it doesn't seem correct.
-The left, center and right screens have separate programs and boards, each would work independantly.
About projection angles of left and right screen, the angle is correct on "DRIVER'S EYES" title screen, however in the tracks of demo mode it doesn't seem correct.
-On demo screen, should fog effects be turned off?
-On demo screen, should fog effects be turned off?
-The game also features a pretty nice 2D sprite layer, which still doesn't show up yet.
it is known that the CPU does constantly feed the 2D video memory some meaningful and logical data.
-The game also features a pretty nice 2D sprite layer, which still doesn't show up yet.
it is known that the CPU does constantly feed the 2D video memory some meaningful and logical data.
Namco System 21
Expand Down
6 changes: 3 additions & 3 deletions src/mame/video/thepit.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ WRITE8_HANDLER( thepit_colorram_w )
WRITE8_HANDLER( thepit_flip_screen_x_w )
{
int flip;

thepit_flip_screen_x = data & 0x01;

flip = thepit_flip_screen_x ? TILEMAP_FLIPX : 0;
Expand All @@ -203,7 +203,7 @@ WRITE8_HANDLER( thepit_flip_screen_x_w )
WRITE8_HANDLER( thepit_flip_screen_y_w )
{
int flip;

thepit_flip_screen_y = data & 0x01;

flip = thepit_flip_screen_x ? TILEMAP_FLIPX : 0;
Expand Down Expand Up @@ -307,7 +307,7 @@ VIDEO_UPDATE( thepit )
{
int xshift = thepit_flip_screen_x ? 128 : 0;
int yshift = thepit_flip_screen_y ? -8 : 0;

tilemap_set_scrollx(thepit_tilemap, offs, xshift);
tilemap_set_scrollx(thepit_solid_tilemap, offs, xshift);

Expand Down
2 changes: 1 addition & 1 deletion src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
***************************************************************************/

const char build_version[] = "0.125u9 ("__DATE__")";
const char build_version[] = "0.126 ("__DATE__")";

0 comments on commit cc03405

Please sign in to comment.