From cc03405ca251b2afcabba347d42457d29315ad1d Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 6 Jul 2008 23:19:23 +0000 Subject: [PATCH] Cleanups and version bump. --- src/emu/validity.c | 2 +- src/mame/drivers/cps1.c | 20 ++++++++++---------- src/mame/drivers/hikaru.c | 22 +++++++++++----------- src/mame/drivers/lucky74.c | 30 +++++++++++++++--------------- src/mame/drivers/namcos21.c | 24 ++++++++++++------------ src/mame/video/thepit.c | 6 +++--- src/version.c | 2 +- 7 files changed, 53 insertions(+), 53 deletions(-) diff --git a/src/emu/validity.c b/src/emu/validity.c index 08b14f1e856fa..7d03c42a0e325 100644 --- a/src/emu/validity.c +++ b/src/emu/validity.c @@ -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) diff --git a/src/mame/drivers/cps1.c b/src/mame/drivers/cps1.c index c22ec8c27952d..0f93cd3bef93e 100644 --- a/src/mame/drivers/cps1.c +++ b/src/mame/drivers/cps1.c @@ -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" ) @@ -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 @@ -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 = diff --git a/src/mame/drivers/hikaru.c b/src/mame/drivers/hikaru.c index ac8b2ccd5f34a..b7ff34fe68abb 100644 --- a/src/mame/drivers/hikaru.c +++ b/src/mame/drivers/hikaru.c @@ -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) @@ -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 diff --git a/src/mame/drivers/lucky74.c b/src/mame/drivers/lucky74.c index ffd103e103d56..ad7954b5a1324 100644 --- a/src/mame/drivers/lucky74.c +++ b/src/mame/drivers/lucky74.c @@ -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. @@ -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 | @@ -93,7 +93,7 @@ | _ - 220 + 220 (D6)24s10-12 -+- 74174-02 ---/\/\/\----+ (D7)24s10-12 _| | 470 | @@ -111,7 +111,7 @@ | _ - 220 + 220 (C6)24s10-12 -+- 74174-02 ---/\/\/\----+ (C7)24s10-12 _| | 470 | @@ -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 @@ -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. @@ -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 @@ -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 @@ -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 */ @@ -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) @@ -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) diff --git a/src/mame/drivers/namcos21.c b/src/mame/drivers/namcos21.c index 809ad4d3c3dc9..e55a72b5cb799 100644 --- a/src/mame/drivers/namcos21.c +++ b/src/mame/drivers/namcos21.c @@ -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 diff --git a/src/mame/video/thepit.c b/src/mame/video/thepit.c index 34ace50b590bf..75f7e4bb5dd2b 100644 --- a/src/mame/video/thepit.c +++ b/src/mame/video/thepit.c @@ -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; @@ -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; @@ -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); diff --git a/src/version.c b/src/version.c index ca39e76359e68..4ae153d2a04a5 100644 --- a/src/version.c +++ b/src/version.c @@ -9,4 +9,4 @@ ***************************************************************************/ -const char build_version[] = "0.125u9 ("__DATE__")"; +const char build_version[] = "0.126 ("__DATE__")";