diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-12-06 17:54:42 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-12-06 17:54:42 +0000 |
commit | d92a2e0c4e5060315ebce8bb26997227940f1662 (patch) | |
tree | 759499aac683a34dd4c3c5cf12406a0ead96e483 /src/mame | |
parent | 4c1762ee26e8ebdcb0b7b22aa191ee4b087ec52b (diff) |
Cleanups/version bump/added missing drivers.mame0128u5
Diffstat (limited to 'src/mame')
-rw-r--r-- | src/mame/drivers/brasil.c | 22 | ||||
-rw-r--r-- | src/mame/drivers/btime.c | 8 | ||||
-rw-r--r-- | src/mame/drivers/coolridr.c | 14 | ||||
-rw-r--r-- | src/mame/drivers/deshoros.c | 8 | ||||
-rw-r--r-- | src/mame/drivers/fantland.c | 8 | ||||
-rw-r--r-- | src/mame/drivers/funworld.c | 20 | ||||
-rw-r--r-- | src/mame/drivers/gal3.c | 74 | ||||
-rw-r--r-- | src/mame/drivers/goldnpkr.c | 52 | ||||
-rw-r--r-- | src/mame/drivers/goldstar.c | 8 | ||||
-rw-r--r-- | src/mame/drivers/ilpag.c | 16 | ||||
-rw-r--r-- | src/mame/drivers/mil4000.c | 18 | ||||
-rw-r--r-- | src/mame/drivers/plygonet.c | 6 | ||||
-rw-r--r-- | src/mame/drivers/rallyx.c | 6 | ||||
-rw-r--r-- | src/mame/drivers/wc90b.c | 8 | ||||
-rw-r--r-- | src/mame/mamedriv.c | 3 | ||||
-rw-r--r-- | src/mame/video/sengokmj.c | 2 | ||||
-rw-r--r-- | src/mame/video/stvvdp2.c | 2 |
17 files changed, 139 insertions, 136 deletions
diff --git a/src/mame/drivers/brasil.c b/src/mame/drivers/brasil.c index 6d6d828edd4..b38b8387948 100644 --- a/src/mame/drivers/brasil.c +++ b/src/mame/drivers/brasil.c @@ -123,7 +123,7 @@ static WRITE16_HANDLER( blit_status_w ) memory_set_bankptr(space->machine, 1, &ROM[bankaddress]); -// popmessage("%04x",data); +// popmessage("%04x",data); } /* New Magic Card */ @@ -147,7 +147,7 @@ static WRITE16_HANDLER( vidpokr2_blit_status_w ) memory_set_bankptr(space->machine, 1, &ROM[bankaddress]); -// popmessage("%04x",data); +// popmessage("%04x",data); } static WRITE16_HANDLER( paletteram_io_w ) @@ -203,26 +203,26 @@ static UINT16 t1,t3; static READ16_HANDLER( read1_r ) { -// return mame_rand(space->machine); +// return mame_rand(space->machine); return input_port_read(space->machine, "IN0"); } static READ16_HANDLER( read2_r ) { -// return mame_rand(space->machine); +// return mame_rand(space->machine); return input_port_read(space->machine, "IN1"); } static READ16_HANDLER( read3_r ) { -// return mame_rand(space->machine); +// return mame_rand(space->machine); return input_port_read(space->machine, "IN2"); } static WRITE16_HANDLER( write1_w ) { t1 = data; -// popmessage("%04x %04x",t1,t3); +// popmessage("%04x %04x",t1,t3); } static WRITE16_HANDLER( write2_w ) @@ -239,7 +239,7 @@ static WRITE16_HANDLER( write2_w ) static WRITE16_HANDLER( write3_w ) { t3 = data; -// popmessage("%04x %04x",t1,t3); +// popmessage("%04x %04x",t1,t3); } static ADDRESS_MAP_START( brasil_map, ADDRESS_SPACE_PROGRAM, 16 ) @@ -258,8 +258,8 @@ static ADDRESS_MAP_START( brasil_io, ADDRESS_SPACE_IO, 16 ) AM_RANGE(0x0008, 0x0009) AM_READ( read1_r ) AM_RANGE(0x000a, 0x000b) AM_READ( read2_r ) AM_RANGE(0x000e, 0x000f) AM_READ( read3_r ) -// AM_RANGE(0x000e, 0x000f) AM_WRITE -// AM_RANGE(0xffa2, 0xffa3) AM_WRITE +// AM_RANGE(0x000e, 0x000f) AM_WRITE +// AM_RANGE(0xffa2, 0xffa3) AM_WRITE ADDRESS_MAP_END static ADDRESS_MAP_START( vidpokr2_map, ADDRESS_SPACE_PROGRAM, 16 ) @@ -281,8 +281,8 @@ static ADDRESS_MAP_START( vidpokr2_io, ADDRESS_SPACE_IO, 16 ) AM_RANGE(0x000c, 0x000d) AM_READ( vidpokr2_vblank_r ) AM_RANGE(0x000e, 0x000f) AM_READ( read3_r ) AM_RANGE(0x0010, 0x0015) AM_WRITE( paletteram_io_w ) -// AM_RANGE(0x000e, 0x000f) AM_WRITE -// AM_RANGE(0xffa2, 0xffa3) AM_WRITE +// AM_RANGE(0x000e, 0x000f) AM_WRITE +// AM_RANGE(0xffa2, 0xffa3) AM_WRITE ADDRESS_MAP_END static INPUT_PORTS_START( brasil ) diff --git a/src/mame/drivers/btime.c b/src/mame/drivers/btime.c index 6c153908f5c..09432f1e545 100644 --- a/src/mame/drivers/btime.c +++ b/src/mame/drivers/btime.c @@ -178,7 +178,7 @@ static WRITE8_HANDLER( tisland_w ) else if (offset == 0x4003) audio_command_w(space,0,data); else if (offset == 0x4004) bnj_scroll1_w(space,0,data); else if (offset == 0x4005) bnj_scroll2_w(space,0,data); -// else if (offset == 0x8000) btime_video_control_w(space,0,data); +// else if (offset == 0x8000) btime_video_control_w(space,0,data); else logerror("CPU '%s' PC %04x: warning - write %02x to unmapped memory address %04x\n",space->cpu->tag,cpu_get_pc(space->cpu),data,offset); @@ -1789,9 +1789,9 @@ static DRIVER_INIT( tisland ) UINT8 *rom = memory_region(machine, "main"); /* At location 0xa2b6 there's a strange RLA followed by a BPL that reads from an - unmapped area that causes the game to fail in several circumstances.On the Cassette - version the RLA (33) is in reality a BIT (24),so I'm guessing that there's something - wrong going on in the encryption scheme.*/ + unmapped area that causes the game to fail in several circumstances.On the Cassette + version the RLA (33) is in reality a BIT (24),so I'm guessing that there's something + wrong going on in the encryption scheme.*/ memset(&rom[0xa2b6],0x24,1); init_rom1(machine); diff --git a/src/mame/drivers/coolridr.c b/src/mame/drivers/coolridr.c index 1049572b261..15b47606f23 100644 --- a/src/mame/drivers/coolridr.c +++ b/src/mame/drivers/coolridr.c @@ -5,7 +5,7 @@ preliminary 22 Aug 2004 - Basic skeleton driver, loads some roms doesn't run the right code yet 2 Dec 2008 - Added an hack for the SH-2,fixed some irqs and some memory maps/ram sharing. - Got to the point that area 0x03e00000 on the SH-2 loads some DMA-style tables. + Got to the point that area 0x03e00000 on the SH-2 loads some DMA-style tables. Known Games on this Platform Cool Riders @@ -144,7 +144,7 @@ static ADDRESS_MAP_START( system_h1_map, ADDRESS_SPACE_PROGRAM, 32 ) AM_RANGE(0x03e10000, 0x03e11fff) AM_RAM AM_BASE(&framebuffer_data)/*Buffer data should go here*/ AM_RANGE(0x03f00000, 0x03f0ffff) AM_RAM AM_SHARE(3) /*Communication area RAM*/ -// AM_RANGE(0x04000000, 0x0400001f) AM_RAM /*???*/ +// AM_RANGE(0x04000000, 0x0400001f) AM_RAM /*???*/ AM_RANGE(0x04000000, 0x0400ffff) AM_RAM /*dunno what it is,might be palette RAM*/ AM_RANGE(0x06000000, 0x060fffff) AM_RAM AM_BASE(&sysh1_workram_h) AM_RANGE(0x20000000, 0x200fffff) AM_ROM AM_SHARE(1) @@ -217,10 +217,10 @@ GFXDECODE_END // IRQs 4 & 6 are valid on SH-2 static INTERRUPT_GEN( system_h1 ) { -// if (cpu_getiloops(device)) -// cpu_set_input_line(device, 4, HOLD_LINE); -// else -// cpu_set_input_line(device, 6, HOLD_LINE); +// if (cpu_getiloops(device)) +// cpu_set_input_line(device, 4, HOLD_LINE); +// else +// cpu_set_input_line(device, 6, HOLD_LINE); } //IRQs 10,12 and 14 are valid on SH-1 instead @@ -237,7 +237,7 @@ static INTERRUPT_GEN( system_h1_sub ) static MACHINE_RESET ( coolridr ) { -// cpu_set_input_line(machine->cpu[0], INPUT_LINE_HALT, ASSERT_LINE); +// cpu_set_input_line(machine->cpu[0], INPUT_LINE_HALT, ASSERT_LINE); cpu_set_input_line(machine->cpu[1], INPUT_LINE_HALT, ASSERT_LINE); } diff --git a/src/mame/drivers/deshoros.c b/src/mame/drivers/deshoros.c index 37c06df1a03..5ae34770001 100644 --- a/src/mame/drivers/deshoros.c +++ b/src/mame/drivers/deshoros.c @@ -70,7 +70,7 @@ static READ8_HANDLER( io_r ) case 0x0a: return io_ram[offset]; //"buzzer" 0 read case 0x0b: return io_ram[offset]; //"buzzer" 1 read } -// printf("R -> [%02x]\n",offset); +// printf("R -> [%02x]\n",offset); return io_ram[offset]; } @@ -83,12 +83,12 @@ static WRITE8_HANDLER( io_w ) case 0x02: update_led_array(data); return; case 0x05: coin_lockout_w(0,io_ram[offset] & 1);return; case 0x06: /*Printer IRQ enable*/ return; -// case 0x0a: "buzzer" 0 write -// case 0x0b: "buzzer" 1 write +// case 0x0a: "buzzer" 0 write +// case 0x0b: "buzzer" 1 write case 0x0c: answer_bankswitch(space->machine,data&0x03); return; //data & 0x10 enabled too,dunno if it is worth to shift the data... } io_ram[offset] = data; -// printf("%02x -> [%02x]\n",data,offset); +// printf("%02x -> [%02x]\n",data,offset); } static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 8 ) diff --git a/src/mame/drivers/fantland.c b/src/mame/drivers/fantland.c index dbdadaaaa59..2f6a21a2f27 100644 --- a/src/mame/drivers/fantland.c +++ b/src/mame/drivers/fantland.c @@ -367,10 +367,10 @@ static void borntofi_adpcm_int(const device_config *device, int voice) } } -static void borntofi_adpcm_int_0(const device_config *device) { borntofi_adpcm_int(device, 0); } -static void borntofi_adpcm_int_1(const device_config *device) { borntofi_adpcm_int(device, 1); } -static void borntofi_adpcm_int_2(const device_config *device) { borntofi_adpcm_int(device, 2); } -static void borntofi_adpcm_int_3(const device_config *device) { borntofi_adpcm_int(device, 3); } +static void borntofi_adpcm_int_0(const device_config *device) { borntofi_adpcm_int(device, 0); } +static void borntofi_adpcm_int_1(const device_config *device) { borntofi_adpcm_int(device, 1); } +static void borntofi_adpcm_int_2(const device_config *device) { borntofi_adpcm_int(device, 2); } +static void borntofi_adpcm_int_3(const device_config *device) { borntofi_adpcm_int(device, 3); } static ADDRESS_MAP_START( borntofi_sound_map, ADDRESS_SPACE_PROGRAM, 8 ) diff --git a/src/mame/drivers/funworld.c b/src/mame/drivers/funworld.c index 0d5ef4f9409..0e974e985b9 100644 --- a/src/mame/drivers/funworld.c +++ b/src/mame/drivers/funworld.c @@ -1108,7 +1108,7 @@ static ADDRESS_MAP_START( saloon_map, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x1000, 0x1000) AM_READ(input_port_2_r) AM_RANGE(0x1800, 0x1800) AM_READWRITE(ay8910_read_port_0_r, ay8910_control_port_0_w) AM_RANGE(0x1801, 0x1801) AM_WRITE(ay8910_write_port_0_w) -// AM_RANGE(0x2000, 0x2000) AM_READNOP /* some unknown reads... maybe a DSW */ +// AM_RANGE(0x2000, 0x2000) AM_READNOP /* some unknown reads... maybe a DSW */ AM_RANGE(0x6000, 0x6fff) AM_RAM_WRITE(funworld_videoram_w) AM_BASE(&videoram) AM_RANGE(0x7000, 0x7fff) AM_RAM_WRITE(funworld_colorram_w) AM_BASE(&colorram) AM_RANGE(0x8000, 0xffff) AM_ROM @@ -1118,12 +1118,12 @@ ADDRESS_MAP_END Unknown R/W ----------- - 0800 RW ;input? - 081a W ;unknown (W 0x20) - 081b W ;unknown (W 0x20 & 0x30) - 0810 W ;unknown - 0a01 RW ;input? - 1000 RW ;input? (W 0xff & 0xfd) + 0800 RW ;input? + 081a W ;unknown (W 0x20) + 081b W ;unknown (W 0x20 & 0x30) + 0810 W ;unknown + 0a01 RW ;input? + 1000 RW ;input? (W 0xff & 0xfd) */ @@ -2733,7 +2733,7 @@ static DRIVER_INIT( saloon ) int i, a; /***************************** - * Program ROM decryption * + * Program ROM decryption * *****************************/ /* data lines swap: 76543210 -> 76543012 */ @@ -2759,7 +2759,7 @@ static DRIVER_INIT( saloon ) /****************************** - * Graphics ROM decryption * + * Graphics ROM decryption * ******************************/ buffer = malloc_or_die(sizeg); @@ -2777,7 +2777,7 @@ static DRIVER_INIT( saloon ) /**************************** - * Color PROM decryption * + * Color PROM decryption * ****************************/ /* data lines swap: 76543210 -> 23546710 */ diff --git a/src/mame/drivers/gal3.c b/src/mame/drivers/gal3.c index 2839ceaa09e..f568f9227f8 100644 --- a/src/mame/drivers/gal3.c +++ b/src/mame/drivers/gal3.c @@ -151,12 +151,12 @@ screened : 8623961202 CPU020 Etched : (8623963202) -label loc. Device Filename +label loc. Device Filename -------------------------------------------------------- -GLC1-MST-PRG0E 6B 27c4001 PRG0E -GLC1-MST-PRG1E 10B 27c4001 PRG1E -GLC1-MST-PRG2E 14B 27c4001 PRG2E -GLC1-MST-PRG3E 18B 27c4001 PRG3E +GLC1-MST-PRG0E 6B 27c4001 PRG0E +GLC1-MST-PRG1E 10B 27c4001 PRG1E +GLC1-MST-PRG2E 14B 27c4001 PRG2E +GLC1-MST-PRG3E 18B 27c4001 PRG3E ************************************************************************************************** SLAVE CPU PCB @@ -167,12 +167,12 @@ screened : 8623961202 CPU020 Etched : (8623963202) -label loc. Device Filename +label loc. Device Filename -------------------------------------------------------- -GLC-SLV-PRG0 6B 27c010A PRG0.bin -GLC-SLV-PRG1 10B 27c010A PRG1.bin -GLC-SLV-PRG2 14B 27c010A PRG2.bin -GLC-SLV-PRG3 18B 27c010A PRG3.bin +GLC-SLV-PRG0 6B 27c010A PRG0.bin +GLC-SLV-PRG1 10B 27c010A PRG1.bin +GLC-SLV-PRG2 14B 27c010A PRG2.bin +GLC-SLV-PRG3 18B 27c010A PRG3.bin ************************************************************************************************** DSP PCB @@ -184,11 +184,11 @@ screened : 8623961703 DSP Etched : (8623963703) TSK-A -label loc. Device Filename +label loc. Device Filename -------------------------------------------------------- -GLC1-DSP-PTOH 2F 27c040 PTOH.BIN -GLC1-DSP-PTOU 2K 27c040 PTOU.BIN -GLC1-DSP-PTOL 2N 27c040 PTOL.BIN +GLC1-DSP-PTOH 2F 27c040 PTOH.BIN +GLC1-DSP-PTOU 2K 27c040 PTOU.BIN +GLC1-DSP-PTOL 2N 27c040 PTOL.BIN ************************************************************************************************** OBJ PCB @@ -199,12 +199,12 @@ screened : 8623962002 Etched : (8623964002) -label loc. Device Filename +label loc. Device Filename -------------------------------------------------------- -GLC1-OBJ-OBJ0 9T 27c040 OBJ0.BIN -GLC1-OBJ-OBJ2 9W 27c4000 OBJ2.BIN -GLC1-OBJ-OBJ1 9Y 27c040 OBJ1.BIN -GLC1-OBJ-OBJ3 9Z 27c4000 OBJ0.BIN +GLC1-OBJ-OBJ0 9T 27c040 OBJ0.BIN +GLC1-OBJ-OBJ2 9W 27c4000 OBJ2.BIN +GLC1-OBJ-OBJ1 9Y 27c040 OBJ1.BIN +GLC1-OBJ-OBJ3 9Z 27c4000 OBJ0.BIN ************************************************************************************************** PSN PCB @@ -216,11 +216,11 @@ screened : V1079603 Etched : (V1079703) -label loc. Device Filename +label loc. Device Filename -------------------------------------------------------- -GLC-PSN-VOL IC100 27c010A VOL.bin -GLC-PSN-PRG0B IC22 27c010A PRG0B.bin -GLC-PSN-PRG0B IC23 27c010A PRG1B.bin +GLC-PSN-VOL IC100 27c010A VOL.bin +GLC-PSN-PRG0B IC22 27c010A PRG0B.bin +GLC-PSN-PRG0B IC23 27c010A PRG1B.bin PCB markings: @@ -231,10 +231,10 @@ Etched : (V107970701) TSK-A RS PCB ************************************************************************************************** -label loc. Device Filename +label loc. Device Filename -------------------------------------------------------- -GLC-RS-PRGLB 18B 27c010 PRGLB.BIN -GLC-RS-PRGUB 19B 27c010 PRGUB.BIN +GLC-RS-PRGLB 18B 27c010 PRGLB.BIN +GLC-RS-PRGUB 19B 27c010 PRGUB.BIN ************************************************************************************************** SOUND PCB @@ -246,18 +246,18 @@ screened : V107965101 Etched : (V107975101) -label loc. Device Filename +label loc. Device Filename -------------------------------------------------------- -GLC1-SND-VOI0 13A 27c040 VOI0.BIN -GLC1-SND-VOI2 13C 27c040 VOI2.BIN -GLC1-SND-VOI8 10G 27c040 VOI8.BIN -GLC1-SND-VOI9 11/12G 27c040 VOI9.BIN -GLC1-SND-VOI10 13G 27c040 VOI10.BIN -GLC1-SND-VOI11 14G 27c040 VOI11.BIN - -GLC1-SND-PRG0 1H 27c1000 PRG0.BIN -GLC1-SND-PRG1 2H 27c1000 PRG1.BIN -GLC1-SND-DATA1 4/5H 27c1000 DATA1.BIN +GLC1-SND-VOI0 13A 27c040 VOI0.BIN +GLC1-SND-VOI2 13C 27c040 VOI2.BIN +GLC1-SND-VOI8 10G 27c040 VOI8.BIN +GLC1-SND-VOI9 11/12G 27c040 VOI9.BIN +GLC1-SND-VOI10 13G 27c040 VOI10.BIN +GLC1-SND-VOI11 14G 27c040 VOI11.BIN + +GLC1-SND-PRG0 1H 27c1000 PRG0.BIN +GLC1-SND-PRG1 2H 27c1000 PRG1.BIN +GLC1-SND-DATA1 4/5H 27c1000 DATA1.BIN */ diff --git a/src/mame/drivers/goldnpkr.c b/src/mame/drivers/goldnpkr.c index 8b53f426a8c..5039ff60de6 100644 --- a/src/mame/drivers/goldnpkr.c +++ b/src/mame/drivers/goldnpkr.c @@ -181,7 +181,7 @@ take your credits, the 3 witches start to roll their own numbers like a slot machine. There is an attempt for each winning hand. the bonus ends when you win a prize, or when all attempts are done. - + * Super Loco 93 @@ -221,7 +221,7 @@ The rest is similar to Witch Card, but with 3 big numbers instead of witches. Once you lose or take your credits, the big numbers start to run 'alla' slot game, giving 1 attempt by each time you won a double-up - hand. + hand. - Settings: @@ -632,7 +632,7 @@ static TILE_GET_INFO( get_bg_tile_info ) int attr = colorram[tile_index]; int code = ((attr & 1) << 8) | videoram[tile_index]; - int bank = (attr & 0x02) >> 1; /* bit 1 switch the gfx banks */ + int bank = (attr & 0x02) >> 1; /* bit 1 switch the gfx banks */ int color = (attr & 0x3c) >> 2; /* bits 2-3-4-5 for color */ SET_TILE_INFO(bank, code, color, 0); @@ -669,7 +669,7 @@ static PALETTE_INIT( goldnpkr ) int bit0, bit1, bit2, r, g, b, inten, intenmin, intenmax; intenmin = 0xe0; -// intenmin = 0xc2; /* 2.5 Volts (75.757575% of the whole range) */ +// intenmin = 0xc2; /* 2.5 Volts (75.757575% of the whole range) */ intenmax = 0xff; /* 3.3 Volts (the whole range) */ /* intensity component */ @@ -766,7 +766,7 @@ static READ8_HANDLER( goldnpkr_mux_port_r ) static READ8_HANDLER( pottnpkr_mux_port_r ) { UINT8 pa_0_4 = 0xff, pa_7; /* Temporary place holder for bits 0 to 4 & 7 */ - + switch( mux_data & 0xf0 ) /* bits 4-7 */ { case 0x10: return input_port_read(space->machine, "IN0-0"); @@ -776,7 +776,7 @@ static READ8_HANDLER( pottnpkr_mux_port_r ) } pa_7 = (pia0_PA_data >> 7) & 1; /* To do: bit PA5 to pin CB1 */ -// popmessage ("mux_port_r: %x ",((pa_0_4 & 0x3f) | (pa_7 << 6) | (pa_7 << 7))) ; /* Equates PA6 to PA7 */ +// popmessage ("mux_port_r: %x ",((pa_0_4 & 0x3f) | (pa_7 << 6) | (pa_7 << 7))) ; /* Equates PA6 to PA7 */ return ( (pa_0_4 & 0x3f) | (pa_7 << 6) | (pa_7 << 7) ) ; } @@ -834,7 +834,7 @@ static WRITE8_HANDLER( lamps_a_w ) output_set_lamp_value(3, 1 - ((data >> 3) & 1)); /* Lamp 3 */ output_set_lamp_value(4, 1 - ((data >> 4) & 1)); /* Lamp 4 */ -// popmessage("written : %02X", data); +// popmessage("written : %02X", data); coin_counter_w(0, data & 0x40); /* counter1 */ coin_counter_w(1, data & 0x80); /* counter2 */ coin_counter_w(2, data & 0x20); /* counter3 */ @@ -901,7 +901,7 @@ static ADDRESS_MAP_START( witchcrd_map, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x1000, 0x13ff) AM_RAM_WRITE(goldnpkr_videoram_w) AM_BASE(&videoram) AM_RANGE(0x1800, 0x1bff) AM_RAM_WRITE(goldnpkr_colorram_w) AM_BASE(&colorram) AM_RANGE(0x2000, 0x2000) AM_READ_PORT("SW2") -// AM_RANGE(0x2108, 0x210b) AM_NOP /* unknown 40-pin device */ +// AM_RANGE(0x2108, 0x210b) AM_NOP /* unknown 40-pin device */ AM_RANGE(0x4000, 0x7fff) AM_ROM ADDRESS_MAP_END @@ -2157,9 +2157,9 @@ static const discrete_dac_r1_ladder dac_goldnpkr_ladder = CAP_U(1.7) /* filtering cap tied to ground */ -// 12, /* voltage Bias resistor is tied to */ -// RES_K(330), /* additional resistor tied to vBias */ -// 0, /* resistor tied to ground */ +// 12, /* voltage Bias resistor is tied to */ +// RES_K(330), /* additional resistor tied to vBias */ +// 0, /* resistor tied to ground */ }; static DISCRETE_SOUND_START( goldnpkr ) @@ -2714,9 +2714,9 @@ ROM_END /* checksum routine at $5f3e - protect $4000+ & $7ff9. - (see cmp at $5f6b) - balanced at $7ff8. + protect $4000+ & $7ff9. + (see cmp at $5f6b) + balanced at $7ff8. */ ROM_START( maverik ) ROM_REGION( 0x10000, "main", 0 ) /* maverik: Maverik (ind arg, fixed, changed logo) */ @@ -2773,9 +2773,9 @@ ROM_END /******************************* bsuerte sets **************************/ /* checksum routine at $5827 - protect $4000+ & $7ff9. - (see cmp at $584a) - balanced at $7ff8. + protect $4000+ & $7ff9. + (see cmp at $584a) + balanced at $7ff8. */ ROM_START( bsuerte ) ROM_REGION( 0x10000, "main", 0 ) /* bs_chica.256: good BS set... (checksum) */ @@ -3169,19 +3169,19 @@ static DRIVER_INIT( pottnpkr ) } /* - Golden Poker H/W sets: + Golden Poker H/W sets: newname oldname gameplay music settings testmode - =================================================================== + =================================================================== pmpoker pmpoker fast minimal hack matrix/grill goldnpkr goldnpkr fast y.doodle excellent matrix/grill goldnpkb goldnpkb normal minimal normal matrix/grill - Potten's Poker H/W sets: + Potten's Poker H/W sets: newname oldname gameplay music settings testmode - =================================================================== + =================================================================== pottnpkr goldnpkc fast y.doodle normal only grid potnpkra jokerpkr normal normal normal only skill potnpkrb pottnpkb slow y.doodle normal only grid @@ -3190,10 +3190,10 @@ static DRIVER_INIT( pottnpkr ) potnpkre -------- slow y.doodle normal matrix/grill - Witch Card H/W sets: + Witch Card H/W sets: newname oldname gameplay music settings testmode - =================================================================== + =================================================================== bsuerte -------- normal minimal only 1-10 matrix/grill bsuertea -------- normal minimal only 1-10 matrix/grill goodluck -------- fast y.doodle normal matrix/grill @@ -3209,10 +3209,10 @@ static DRIVER_INIT( royale ) { /* $60bb, NOPing the ORA #$F0 (after read the PIA1 port B */ -// UINT8 *ROM = memory_region(machine, "main"); +// UINT8 *ROM = memory_region(machine, "main"); -// ROM[0x60bb] = 0xea; -// ROM[0x60bc] = 0xea; +// ROM[0x60bb] = 0xea; +// ROM[0x60bc] = 0xea; pia_config(0, &pottnpkr_pia0_intf); pia_config(1, &pottnpkr_pia1_intf); diff --git a/src/mame/drivers/goldstar.c b/src/mame/drivers/goldstar.c index d487430c111..bdb9335ded3 100644 --- a/src/mame/drivers/goldstar.c +++ b/src/mame/drivers/goldstar.c @@ -500,9 +500,9 @@ ROM_END Cherry I Gold -Anno 1998 +Anno 1998 Produttore -N.revisione W4BON (rev.1) +N.revisione W4BON (rev.1) CPU @@ -536,9 +536,9 @@ Note Cherry Gold (Cherry 10) -Anno 1997 +Anno 1997 Produttore -N.revisione W4BON (rev.1) +N.revisione W4BON (rev.1) CPU diff --git a/src/mame/drivers/ilpag.c b/src/mame/drivers/ilpag.c index 617ae8095b0..1f2f84cb7b3 100644 --- a/src/mame/drivers/ilpag.c +++ b/src/mame/drivers/ilpag.c @@ -57,11 +57,11 @@ VIDEO_START(ilpag) VIDEO_UPDATE(ilpag) { int x,y; -// static int counter = 0; +// static int counter = 0; int count; UINT8 *blit_rom = memory_region(screen->machine, "blit_data"); -// printf("counter %04x\n", counter); +// printf("counter %04x\n", counter); blit_rom = blit_buffer; @@ -81,7 +81,7 @@ VIDEO_UPDATE(ilpag) count++; } } -// counter++; +// counter++; return 0; } @@ -140,7 +140,7 @@ static WRITE16_HANDLER( blit_copy_w ) blit_dst_ypos = ((blit_dst_ram_loword[0] & 0xff00)>>8)*2; // ff00 = ypos? -// blit_dst_xpos|= (blit_dst_ram_hiword[0] & 0xffff)<<16; +// blit_dst_xpos|= (blit_dst_ram_hiword[0] & 0xffff)<<16; y_size = 8;// blit_romaddr[0] & 0x00ff; x_size = 14;//blit_romaddr[0] & 0xff00 >> 8; @@ -204,8 +204,8 @@ static ADDRESS_MAP_START( ilpag_map, ADDRESS_SPACE_PROGRAM, 16 ) AM_RANGE(0x100000, 0x1fffff) AM_ROM AM_REGION("blit_data", 0) AM_RANGE(0x200000, 0x20ffff) AM_RAM -// AM_RANGE(0x800000, 0x800001) AM_READ(unk_latch_1_r) -// AM_RANGE(0x880000, 0x880001) AM_READ(unk_latch_2_r) +// AM_RANGE(0x800000, 0x800001) AM_READ(unk_latch_1_r) +// AM_RANGE(0x880000, 0x880001) AM_READ(unk_latch_2_r) AM_RANGE(0x225000, 0x225fff) AM_RAM // NVRAM? AM_RANGE(0x900000, 0x900005) AM_WRITE( paletteram_io_w ) @@ -218,9 +218,9 @@ static ADDRESS_MAP_START( ilpag_map, ADDRESS_SPACE_PROGRAM, 16 ) AM_RANGE(0x9e0000, 0x9e0001) AM_READ(blitter_status_r) AM_RANGE(0xc00180, 0xc00181) AM_READ_PORT("IN2") -// AM_RANGE(0xc00200, 0xc00201) AM_WRITE(unk_latch_1_w) +// AM_RANGE(0xc00200, 0xc00201) AM_WRITE(unk_latch_1_w) AM_RANGE(0xc00380, 0xc00381) AM_READ_PORT("IN3") -// AM_RANGE(0xc002d0, 0xc002d1) AM_WRITE(unk_latch_2_w) +// AM_RANGE(0xc002d0, 0xc002d1) AM_WRITE(unk_latch_2_w) ADDRESS_MAP_END diff --git a/src/mame/drivers/mil4000.c b/src/mame/drivers/mil4000.c index 14c04e1aa04..6abb0bf4480 100644 --- a/src/mame/drivers/mil4000.c +++ b/src/mame/drivers/mil4000.c @@ -181,14 +181,14 @@ static WRITE16_HANDLER( sc3_vram_w ) /*end of video stuff*/ /* - --x- ---- ---- ---- Coin Counter - ---- ---- -x-- ---- Prize - ---- ---- --x- ---- Start - ---- ---- ---x ---- Hold 5 - ---- ---- ---- x--- Hold 4 - ---- ---- ---- -x-- Hold 3 - ---- ---- ---- --x- Hold 2 - ---- ---- ---- ---x Hold 1 + --x- ---- ---- ---- Coin Counter + ---- ---- -x-- ---- Prize + ---- ---- --x- ---- Start + ---- ---- ---x ---- Hold 5 + ---- ---- ---- x--- Hold 4 + ---- ---- ---- -x-- Hold 3 + ---- ---- ---- --x- Hold 2 + ---- ---- ---- ---x Hold 1 */ static WRITE16_HANDLER( output_w ) { @@ -197,7 +197,7 @@ static WRITE16_HANDLER( output_w ) for(i=0;i<3;i++) coin_counter_w(i,data & 0x2000); -// popmessage("%04x\n",data); +// popmessage("%04x\n",data); } static ADDRESS_MAP_START( mil4000_map, ADDRESS_SPACE_PROGRAM, 16 ) diff --git a/src/mame/drivers/plygonet.c b/src/mame/drivers/plygonet.c index 8088d86385c..13fd037fd48 100644 --- a/src/mame/drivers/plygonet.c +++ b/src/mame/drivers/plygonet.c @@ -43,7 +43,7 @@ 440000-47ffff = PSVR 480000-4bffff = IO 4c0000-4fffff = SYS - 500000-53ffff = DSP + 500000-53ffff = DSP 540000-57ffff = FIX 580000-5bffff = OP1 5c0000-5fffff = UNUSED @@ -72,8 +72,8 @@ 500000-503fff = HCOM - 16kB common RAM 504000-504fff = CONTROL - DSP/Host Control - D10? = COMBNK - Switch between 68k and DSP access to common RAM - D08? = RESN - Reset DSP + D10? = COMBNK - Switch between 68k and DSP access to common RAM + D08? = RESN - Reset DSP 506000-506fff = HEN - DSP/Host interface */ diff --git a/src/mame/drivers/rallyx.c b/src/mame/drivers/rallyx.c index 3319e6de719..d9c655490cb 100644 --- a/src/mame/drivers/rallyx.c +++ b/src/mame/drivers/rallyx.c @@ -1219,9 +1219,9 @@ ROM_START( locoboot ) ROM_LOAD( "g.119", 0x3000, 0x1000, CRC(3feb762e) SHA1(94ee68549752fac3c67582d968d3f5e3f1380eef) ) /* no other roms were present in this set, - but it appears to work best with the cottong roms, - and the program roms appear to be a hack of that - */ + but it appears to work best with the cottong roms, + and the program roms appear to be a hack of that + */ ROM_REGION( 0x10000, "tpsound", 0 ) ROM_LOAD( "c7", 0x0000, 0x1000, CRC(3d83f6d3) SHA1(e10ed6b6ce7280697c1bc9dbe6c6e6018e1d8be4) ) diff --git a/src/mame/drivers/wc90b.c b/src/mame/drivers/wc90b.c index b38360ab7ce..7bc82ac4ef4 100644 --- a/src/mame/drivers/wc90b.c +++ b/src/mame/drivers/wc90b.c @@ -479,10 +479,10 @@ ROM_START( wc90b2 ) ROM_CONTINUE( 0x10000, 0x8000 ) /* banked at 8000-bfff */ ROM_REGION( 0x010000, "gfx1", ROMREGION_DISPOSE ) -// ROM_LOAD( "18.bin", 0x000000, 0x04000, CRC(0c054481) SHA1(eebab099a4db5fbf13522ecd67bfa741e16e40d4) ) /* maybe bad dump: double size */ -// ROM_LOAD( "19.bin", 0x004000, 0x04000, CRC(ebb3eb48) SHA1(9cb133e02004bc04a9d7016b8cf5f6865e3ccf26) ) /* maybe bad dump: double size */ -// ROM_LOAD( "20.bin", 0x008000, 0x04000, CRC(c0232af8) SHA1(5bbab00403a47feae153e179c04212021036b8a7) ) /* maybe bad dump: double size */ -// ROM_LOAD( "21.bin", 0x00c000, 0x04000, CRC(a36e17fb) SHA1(45e4df4b4a22658f6dad21853e87fae734698fbd) ) /* maybe bad dump: double size */ +// ROM_LOAD( "18.bin", 0x000000, 0x04000, CRC(0c054481) SHA1(eebab099a4db5fbf13522ecd67bfa741e16e40d4) ) /* maybe bad dump: double size */ +// ROM_LOAD( "19.bin", 0x004000, 0x04000, CRC(ebb3eb48) SHA1(9cb133e02004bc04a9d7016b8cf5f6865e3ccf26) ) /* maybe bad dump: double size */ +// ROM_LOAD( "20.bin", 0x008000, 0x04000, CRC(c0232af8) SHA1(5bbab00403a47feae153e179c04212021036b8a7) ) /* maybe bad dump: double size */ +// ROM_LOAD( "21.bin", 0x00c000, 0x04000, CRC(a36e17fb) SHA1(45e4df4b4a22658f6dad21853e87fae734698fbd) ) /* maybe bad dump: double size */ ROM_LOAD( "a06.bin", 0x000000, 0x04000, BAD_DUMP SHA1(b839b4eafe8bf6f9e841e19fee1bdb64a66f3448) ) /* roms from parent */ ROM_LOAD( "a08.bin", 0x004000, 0x04000, BAD_DUMP SHA1(468c8c24af1f6f244228b66df04cb0ea81c1875e) ) /* roms from parent */ ROM_LOAD( "a10.bin", 0x008000, 0x04000, BAD_DUMP SHA1(4b10ee3fc17bb63cda51b2a978d066b6a140a551) ) /* roms from parent */ diff --git a/src/mame/mamedriv.c b/src/mame/mamedriv.c index fb4e92346a8..59d8b12a77a 100644 --- a/src/mame/mamedriv.c +++ b/src/mame/mamedriv.c @@ -597,6 +597,7 @@ const game_driver * const drivers[] = DRIVER( locomotn ) /* GX359 (c) 1982 Konami + Centuri license */ DRIVER( gutangtn ) /* GX359 (c) 1982 Konami + Sega license */ DRIVER( cottong ) /* bootleg */ + DRIVER( locoboot ) /* bootleg */ DRIVER( commsega ) /* (c) 1983 Sega */ /* the following ones all have a custom I/O chip */ DRIVER( bosco ) /* (c) 1981 */ @@ -7389,6 +7390,8 @@ Other Sun games DRIVER( goldstar ) /* (c) 198? IGS */ DRIVER( goldstbl ) /* (c) 198? IGS */ DRIVER( moonlght ) /* bootleg */ + DRIVER( chry10 ) /* bootleg */ + DRIVER( chryigld ) /* bootleg */ DRIVER( cpoker ) /* (c) 1993? IGS */ DRIVER( cpokert ) /* (c) 1993? Tuning */ DRIVER( csk227it ) /* (c) 198? IGS */ diff --git a/src/mame/video/sengokmj.c b/src/mame/video/sengokmj.c index 74d453fe7a6..c961e98c77b 100644 --- a/src/mame/video/sengokmj.c +++ b/src/mame/video/sengokmj.c @@ -140,6 +140,6 @@ VIDEO_UPDATE( sengokmj ) if(!(sengokmj_layer_en & 8)) tilemap_draw(bitmap,cliprect,tx_tilemap,0,0); -// popmessage("%04x",sengokmj_layer_en); +// popmessage("%04x",sengokmj_layer_en); return 0; } diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c index 9ef15170bbc..c833e958c24 100644 --- a/src/mame/video/stvvdp2.c +++ b/src/mame/video/stvvdp2.c @@ -5443,7 +5443,7 @@ static TIMER_CALLBACK( dyn_res_change ) visarea.max_y = vert_res-1; vblank_period = get_vblank_duration(machine); -// popmessage("%d",vblank_period); +// popmessage("%d",vblank_period); // hblank_period = get_hblank_duration(machine->primary_screen); video_screen_configure(machine->primary_screen, horz_res*2, (vert_res+vblank_period), &visarea, video_screen_get_frame_period(machine->primary_screen).attoseconds ); } |