Improvements to Lucky74.c driver:

- Reverse engineering of custom IC's 06B49P, 06B53P & 09R81P.
 - Mapped the missing 3x SN76489.
 - Measured and traced all clocks on the board.
 - Measured and fixed the interrupt system.
 - Implemented timings/clocks from custom 06B49P.
 - Added sound support. All regular game sounds/musics are working.
 - Implemented the ADPCM samples system through 09R81P + M5205 emulation.
 - Added pinouts and technical notes about custom IC's 06B49P, 06B53P & 09R81P.
 - Added flip screen mode.
 - Inverted the order of double-up difficult DIP switches.
   (Seems to be the opposite of the indicated in the instruction sheet).
 - Changed 'Key In' to be active LOW instead of HIGH (checked in the PCB).
 - Complete memory map and ports scheme.
 - Created handlers for USART port and co-processor communication.
 - Renamed the sets accordingly.
 - Updated all notes.
 - Cleaned-up the driver.

Please co-credit Grull Osgo.
This commit is contained in:
Roberto Fresca 2008-08-09 15:57:31 +00:00
parent 1ee5dc58da
commit 5a587d796e
3 changed files with 598 additions and 163 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8170,8 +8170,8 @@ Other Sun games
DRIVER( vcombat ) /* (c) 1993 VR8 Inc. */
DRIVER( shadfgtr ) /* (c) 1989 Sega? */
DRIVER( blackt96 ) /* (c) 1996 D.G.R.M. of Korea */
DRIVER( lucky74s ) /* (c) 1988 Wing */
DRIVER( lucky74b ) /* (c) 1988 Wing */
DRIVER( lucky74 ) /* (c) 1988 Wing Co., Ltd */
DRIVER( lucky74a ) /* (c) 1988 Wing Co., Ltd */
/* H8/3048 italian gambling games */
DRIVER( laperla ) /* (c) 2002 Nazionale Elettronica */

View File

@ -11,8 +11,8 @@
Games running on this hardware:
* Lucky 74 (small), 1988, Wing Co.,Ltd.
* Lucky 74 (big), 1988, Wing Co.,Ltd.
* Lucky 74 (bootleg, set 1), 1988, Wing Co.,Ltd.
* Lucky 74 (bootleg, set 2), 1988, Wing Co.,Ltd.
*****************************************************************************************
@ -80,12 +80,10 @@
_
Regarding the abobe diagram, there are 2 different states controlled by some bit.
Each state drives a different palette that will be assigned to each graphics bank.
Regarding the abobe diagram, there are 2 different states controlled by both 06B53P.
Each state arrange a different palette that will be assigned to each graphics bank.
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.
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
@ -127,11 +125,6 @@ WRITE8_HANDLER( bg_colorram_w )
tilemap_mark_tile_dirty(bg_tilemap, offset);
}
//WRITE8_HANDLER( flip_scrn_w )
//{
// flip_screen_set(data & 0x40);
//}
PALETTE_INIT( lucky74 )
/*