Home News Forum                            
 

Play your favorite classic games and more with the GameEx front end. Read more.

lucky74: MAME ROM Information.


History:

Lucky 74 (c) 1988 Wing.


Poker game for amusement only.


- SOURCES -


Game's ROM.




MAME Info:

0.126 [Roberto Fresca, Tomasz Slanina]


TEST MODE:

- To enter the test mode, press F2 and then reset. To exit, press F2 again and then reset.

- To enter the book-keeping mode, press BOOKS (key 0), and then press BOOKS again to change between pages. Press START (key 1) to exit the mode.


Bugs:

- lucky74, lucky74a: The colors in the initialization screen are stronger in the 32bit build. Firewave (ID 03346)


WIP:

- 0.146: Updated Lucky 74 to use modern I8255 implementation instead of the legacy one [Fabio Priuli].

- 0.127u7: Roberto Fresca improved the Lucky 74 button-lamps layout to be more realistic.

- 0.126u5: Improvements to Lucky74 driver [Roberto Fresca, Grull Osgo]: Reverse engineering of custom IC's 06B49P, 06B53P and 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 and M5205 emulation. Added pinouts and technical notes about custom IC's 06B49P, 06B53P and 09R81P. Added flip screen mode. Inverted the order of double-up difficult dipswitches. Changed 'Key In' to be active LOW instead of HIGH. 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. Changed description of 'Lucky 74 (small)' to 'Lucky 74 (bootleg, set 1)' and 'Lucky 74 (big)' to 'Lucky 74 (bootleg, set 2)'. Renamed (lucky74s) to (lucky74) and (lucky74b) to (lucky74a). Changed Z80 CPU1 clock speed to 3MHz. Added 3x SN76489 (3MHz) and MSM5205 (375000 Hz).

- 9th August 2008: Roberto Fresca - Lucky 74, take 3 (reverse-engineering the custom IC's): Well... A lot of improvements to the driver were made. The color system now is based on the resistors weights, interrupts were measured and fixed, and much more... Also a week ago, we (with Grull Osgo) got the regular sounds working after implement the missing 3x SN76489. Respect to the custom IC's, we almost finish the reverse engineering. The samples system (09R81P + OKI M5205) is now implemented and working properly. Now Lucky 74 can talk! The custom IC's - 06B49P: This IC is a programmable clock divisor. It provides every frequency needed for all devices from this hardware, plus V-Sync, H-Sync and (V+H)-Sync (composite) frequencies. All generated clocks are proportional to the Clock In (12MHz). There are not fixed or harcoded frequencies. 06B53P: This IC is a custom video controller. The PCB has two of them. Each one handle one graphics bank, the respective video (and color) RAM, and switch the dual-state color circuitry to generate its own palette. 09R81P: This custom IC is a kind of samples system controller, driving the OKI M5205. The IC is connected to Z80 through ports 0x00 to 0x05. Transmit the status (/busy) to port 0x00 (bit 0). Load the sample start offset from ports 0x00 & 0x01 and the ending offset from ports 0x03 & 0x04, then trigger the sample when the bit 0 of port 0x05 is activated. More to come...

- 0.126u3: Changes to Lucky74 driver [Roberto Fresca]: Pre-defined CPU and SND clocks. Switched the color system to RESNET calculations. Completed the remaining dipswitches. Added lamps support. Created a layout to show them. Changes on the interrupt system (need to be verified on the PCB). Renamed the graphics regions to more descriptive names. Corrected the manufacturer's name. Splitted the driver to driver + video. Updated technical notes. Added dipswitches 'Auto Hold', 'Ceiling Bonus Point', 'Percentage', 'Panties', 'Minimum Bet', 'Woman's figure in Main Game', 'Type of Poker', 'Kinds of Poker', 'Hopper Coin SW', 'Coin Payment', 'Hopper Capacity', 'Woman's figure in D-UP game', 'Double-Up game', 'Stop by 6th Double-Up' and 'Double-Up difficulty'.

- 0.126: Roberto Fresca added Lucky 74 (small) (Wing Co.Ltd. 1988) and clone (big). New driver for Lucky 74 [Roberto Fresca, Tomasz Slanina]: Set the proper screen size. Decoded graphics. Decoded the dual-state color circuitry. Mapped the NVRAM, VRAM1-1, VRAM1-2, VRAM2-1 and VRAM2-2 properly. Emulated 2x PPI 8255 devices. Mapped the 4x dipswitches banks. Added DIP locations to all dipswitches. Added dipswitches 'Bet Max', 'Limit', 'Jackpot' and 'Pay Table'. Added the Memory Reset Switch. Added the 2nd video & color RAM. Added a 2nd tilemap for background graphics. Simplified the graphics banks. Fixed colors for foreground graphics. Fixed visible area to show the top of background graphics. Finally fixed colors for background graphics. Added all coinage dipswitches. Mapped all remaining inputs (service and player buttons). Added pulse time limitation to coins A, B & C. Switched to use 4x 8255 in replace of 2x 82c255 for I/O. Created a handler to feed the Z80 port0 requests. Promoted lucky74s to 'working' state. Added an alternate set, but the program ROM looks like incomplete, protected or just a bad dump. Parent/clone relationship. Added technical notes. Hooked interrupts. Hooked the AY8910 and therefore the NMI trigger. Changed the input "Key In" to active high.

- 6th July 2008: Roberto Fresca - Lucky 74 is now playable... Anyway, still need a lot of work (sound, copro, resnet, etc...). Next step is to switch the dual-state color system to RESNET...

- 4th July 2008: Roberto Fresca - Well... I spent a lot of time working on this one. Manufactured by Wing Co. Ltd, Lucky 74 was a kind of legend at least on this side of the world. The hardware looks interesting: A black CPU box based on Z80, NPC SM7831 co-processor, 2x 82C255 (equivalent to 4x 8255) for I/O, a YM-2149F and OKI M5205 for sound, and a USART IC for serial/parallel communication. The color circuitry is based on different states and assign a different palette for each graphics bank. Two video RAMs handling fore & background graphics respectively that will be merged in the final blitter. In fact, the game is very addictive and has good graphics. Only the attract mode is working for now, and sound need to be hooked/fixed. A lot of thanks to Tomasz Slanina, that fixed the lack of interrupts at very begining, and Grull Osgo, that provided a complete dump, PCB pictures, bipolar PROMs connection info, and then vanished in the ether... (maybe the known curse of this game reached him). Here some shots...


Romset: 386 kb / 16 files / 146.5 zip




MAME XML Output:

       <game name="lucky74" sourcefile="lucky74.c">
              <description>Lucky 74 (bootleg, set 1)</description>
              <year>1988</year>
              <manufacturer>Wing Co., Ltd.</manufacturer>
              <rom name="luckychi.00" size="65536" crc="3b906f0e" sha1="1f9abd168c60b0d22fa6c7391bfdf5f3aabd66ef" region="maincpu" offset="0"/>
              <rom name="luckychi.12" size="32768" crc="ff934c20" sha1="07cd2225dfc0e5b74be2e1b379c6b180e37660db" region="fgtiles" offset="0"/>
              <rom name="luckychi.11" size="32768" crc="2fd6fb8a" sha1="1a910e0a2e6db22a8d9a65d7b932f9ca39601e9c" region="fgtiles" offset="8000"/>
              <rom name="luckychi.13" size="32768" crc="c70a6da3" sha1="195772ef649e21a5c54c5871e7b858967b6ebee8" region="fgtiles" offset="10000"/>
              <rom name="luckychi.14" size="32768" crc="b5813b67" sha1="cce38e33a5218d6839d956174807d88e7c070d5a" region="fgtiles" offset="18000"/>
              <rom name="luckychi.17" size="32768" crc="010ffa4a" sha1="8856d61b71e951509073bc359851f47c39c4274d" region="bgtiles" offset="0"/>
              <rom name="luckychi.16" size="32768" crc="15104810" sha1="586df734740209e2a05932e31d2a301d330e8cbd" region="bgtiles" offset="8000"/>
              <rom name="luckychi.18" size="32768" crc="f2d45e76" sha1="46df7bf98434c836fd38539575a35bf67c9ec2c6" region="bgtiles" offset="10000"/>
              <rom name="luckychi.19" size="32768" crc="6b0196f3" sha1="277049279dcfcf07189dbdb20935c2a71b2f6061" region="bgtiles" offset="18000"/>
              <rom name="luckyson.15" size="65536" crc="b896c87f" sha1="985e625a937abd6353218f0cace14d3adec4c1bf" region="adpcm" offset="0"/>
              <rom name="luckyprom.e6" size="256" crc="ae793fef" sha1="e4e2d2dccabad7d756811fb2d5e123bf30f106f3" region="proms" offset="0"/>
              <rom name="luckyprom.e7" size="256" crc="7c772d0c" sha1="9c99daa01ca56c7ebd48945505fcbae184998b13" region="proms" offset="100"/>
              <rom name="luckyprom.d6" size="256" crc="61716584" sha1="7a3e17f47ce173d79c12b2394edb8f32b7509e39" region="proms" offset="200"/>
              <rom name="luckyprom.d7" size="256" crc="4003bc8f" sha1="f830203c22a4f94b8b9f0b24e287204a742a8322" region="proms" offset="300"/>
              <rom name="luckyprom.c6" size="256" crc="a8d2b3db" sha1="7b346797bedc627fb2d49f19b18860a81c69e122" region="proms" offset="400"/>
              <rom name="luckyprom.c7" size="256" crc="e62fd192" sha1="86a189df2e2ccef6bd2a4e6d969e777fbba8cdf7" region="proms" offset="500"/>
              <chip type="cpu" tag="maincpu" name="Z80" clock="3000000"/>
              <chip type="audio" tag="mono" name="Speaker"/>
              <chip type="audio" tag="sn1" name="SN76489" clock="3000000"/>
              <chip type="audio" tag="sn2" name="SN76489" clock="3000000"/>
              <chip type="audio" tag="sn3" name="SN76489" clock="3000000"/>
              <chip type="audio" tag="aysnd" name="AY-3-8910A" clock="1500000"/>
              <chip type="audio" tag="msm" name="MSM5205" clock="375000"/>
              <display tag="screen" type="raster" rotate="0" width="512" height="232" refresh="60.000000" />
              <sound channels="1"/>
              <input players="1" coins="3" service="yes">
                     <control type="gambling"/>
              </input>
              <dipswitch name="Auto Hold" tag="DSW1" mask="1">
                     <dipvalue name="No" value="0"/>
                     <dipvalue name="Yes" value="1" default="yes"/>
              </dipswitch>
              <dipswitch name="Jackpot" tag="DSW1" mask="2">
                     <dipvalue name="Bet x 100" value="2" default="yes"/>
                     <dipvalue name="Bet x 150" value="0"/>
              </dipswitch>
              <dipswitch name="Ceiling Bonus Point" tag="DSW1" mask="4">
                     <dipvalue name="Bet x 40" value="4" default="yes"/>
                     <dipvalue name="Bet x 50" value="0"/>
              </dipswitch>
              <dipswitch name="Percentage" tag="DSW1" mask="120">
                     <dipvalue name="90%" value="0"/>
                     <dipvalue name="87%" value="8"/>
                     <dipvalue name="84%" value="16"/>
                     <dipvalue name="81%" value="24"/>
                     <dipvalue name="78%" value="32"/>
                     <dipvalue name="75%" value="40"/>
                     <dipvalue name="72%" value="48"/>
                     <dipvalue name="69%" value="56"/>
                     <dipvalue name="66%" value="64" default="yes"/>
                     <dipvalue name="63%" value="72"/>
                     <dipvalue name="60%" value="80"/>
                     <dipvalue name="57%" value="88"/>
                     <dipvalue name="54%" value="96"/>
                     <dipvalue name="51%" value="104"/>
                     <dipvalue name="48%" value="112"/>
                     <dipvalue name="45%" value="120"/>
              </dipswitch>
              <dipswitch name="Panties" tag="DSW1" mask="128">
                     <dipvalue name="Without" value="0"/>
                     <dipvalue name="With" value="128" default="yes"/>
              </dipswitch>
              <dipswitch name="Coinage A, B &amp; Remote" tag="DSW2" mask="15">
                     <dipvalue name="A: 20 Coins/1 Credit; B: 4 Coins/1 Credit; R: 2 Pulses/1 Credit " value="0"/>
                     <dipvalue name="A: 15 Coins/1 Credit; B: 3 Coins/1 Credit; R: 15 Pulses/10 Credits" value="1"/>
                     <dipvalue name="A: 10 Coins/1 Credit; B: 2 Coins/1 Credit; R: 1 Pulse/1 Credit " value="2"/>
                     <dipvalue name="A: 4 Coins/1 Credit; B: 5 Coins/5 Credits; R: 4 Pulses/10 Credits " value="3"/>
                     <dipvalue name="A: 3 Coins/2 Credits; B: 3 Coins/10 Credits; R: 3 Pulses/20 Credits " value="4"/>
                     <dipvalue name="A: 3 Coins/1 Credit; B: 3 Coins/5 Credits; R: 3 Pulses/10 Credits " value="5"/>
                     <dipvalue name="A: 2 Coins/1 Credit; B: 2 Coins/5 Credits; R: 1 Pulse/5 Credits " value="6"/>
                     <dipvalue name="A: 5 Coins/1 Credit; B: 1 Coin/1 Credit; R: 1 Pulse/2 Credits " value="7"/>
                     <dipvalue name="A: 5 Coins/2 Credits; B: 1 Coin/2 Credits; R: 1 Pulse/4 Credits " value="8"/>
                     <dipvalue name="A: 5 Coins/3 Credits; B: 1 Coin/3 Credits; R: 1 Pulse/6 Credits " value="9"/>
                     <dipvalue name="A: 5 Coins/4 Credits; B: 1 Coin/4 Credits; R: 1 Pulse/8 Credits " value="10"/>
                     <dipvalue name="A: 1 Coin/1 Credit; B: 1 Coin/5 Credits; R: 1 Pulse/10 Credits " value="11"/>
                     <dipvalue name="A: 5 Coins/6 Credits; B: 1 Coin/6 Credits; R: 1 Pulse/12 Credits " value="12"/>
                     <dipvalue name="A: 1 Coin/2 Credits; B: 1 Coin/10 Credits; R: 1 Pulse/20 Credits " value="13"/>
                     <dipvalue name="A: 1 Coin/5 Credits; B: 1 Coin/25 Credits; R: 1 Pulse/50 Credits " value="14"/>
                     <dipvalue name="A: 1 Coin/10 Credits; B: 1 Coin/50 Credits; R: 1 Pulse/100 Credits " value="15" default="yes"/>
              </dipswitch>
              <dipswitch name="Coinage C" tag="DSW2" mask="240">
                     <dipvalue name="10 Coins/1 Credit" value="0"/>
                     <dipvalue name="5 Coins/1 Credit" value="16"/>
                     <dipvalue name="4 Coins/1 Credit" value="48"/>
                     <dipvalue name="3 Coins/1 Credit" value="64"/>
                     <dipvalue name="5 Coins/2 Credits" value="32"/>
                     <dipvalue name="2 Coins/1 Credit" value="80"/>
                     <dipvalue name="1 Coin/1 Credit" value="112"/>
                     <dipvalue name="2 Coins/3 Credits" value="96"/>
                     <dipvalue name="1 Coin/2 Credits" value="128"/>
                     <dipvalue name="1 Coin/3 Credits" value="144"/>
                     <dipvalue name="1 Coin/5 Credits" value="160"/>
                     <dipvalue name="1 Coin/10 Credits" value="176"/>
                     <dipvalue name="1 Coin/20 Credits" value="192"/>
                     <dipvalue name="1 Coin/25 Credits" value="208"/>
                     <dipvalue name="1 Coin/40 Credits" value="224"/>
                     <dipvalue name="1 Coin/50 Credits" value="240" default="yes"/>
              </dipswitch>
              <dipswitch name="Bet Max" tag="DSW3" mask="1">
                     <dipvalue name="20" value="1"/>
                     <dipvalue name="40" value="0" default="yes"/>
              </dipswitch>
              <dipswitch name="Minimum Bet" tag="DSW3" mask="6">
                     <dipvalue name="1" value="6" default="yes"/>
                     <dipvalue name="5" value="4"/>
                     <dipvalue name="8" value="2"/>
                     <dipvalue name="10" value="0"/>
              </dipswitch>
              <dipswitch name="Limit" tag="DSW3" mask="24">
                     <dipvalue name="No Limit" value="24" default="yes"/>
                     <dipvalue name="10000" value="16"/>
                     <dipvalue name="15000" value="8"/>
                     <dipvalue name="20000" value="0"/>
              </dipswitch>
              <dipswitch name="Woman's figure in Main Game" tag="DSW3" mask="32">
                     <dipvalue name="No" value="0"/>
                     <dipvalue name="Yes" value="32" default="yes"/>
              </dipswitch>
              <dipswitch name="Type of Poker" tag="DSW3" mask="64">
                     <dipvalue name="A - Without Wild Card" value="64" default="yes"/>
                     <dipvalue name="B - Joker Wild Poker" value="0"/>
              </dipswitch>
              <dipswitch name="Kinds of Poker" tag="DSW3" mask="128">
                     <dipvalue name="A - Hold" value="128" default="yes"/>
                     <dipvalue name="B - Discard" value="0"/>
              </dipswitch>
              <dipswitch name="Hopper Coin SW" tag="DSW4" mask="1">
                     <dipvalue name="Active Low" value="1" default="yes"/>
                     <dipvalue name="Active High" value="0"/>
              </dipswitch>
              <dipswitch name="Coin Payment" tag="DSW4" mask="2">
                     <dipvalue name="Auto" value="0"/>
                     <dipvalue name="Auto by PAYOUT SW" value="2" default="yes"/>
              </dipswitch>
              <dipswitch name="Hopper Capacity" tag="DSW4" mask="4">
                     <dipvalue name="700" value="4"/>
                     <dipvalue name="Unlimited" value="0" default="yes"/>
              </dipswitch>
              <dipswitch name="Woman's figure in D-UP game" tag="DSW4" mask="8">
                     <dipvalue name="No" value="0"/>
                     <dipvalue name="Yes" value="8" default="yes"/>
              </dipswitch>
              <dipswitch name="Double-Up game" tag="DSW4" mask="16">
                     <dipvalue name="No" value="0"/>
                     <dipvalue name="Yes" value="16" default="yes"/>
              </dipswitch>
              <dipswitch name="Stop by 6th Double-Up" tag="DSW4" mask="32">
                     <dipvalue name="No" value="0"/>
                     <dipvalue name="Yes" value="32" default="yes"/>
              </dipswitch>
              <dipswitch name="Double-Up difficulty" tag="DSW4" mask="192">
                     <dipvalue name="Hardest" value="0"/>
                     <dipvalue name="Hard" value="64"/>
                     <dipvalue name="Normal" value="128"/>
                     <dipvalue name="Easy" value="192" default="yes"/>
              </dipswitch>
              <driver status="good" emulation="good" color="good" sound="good" graphic="good" savestate="unsupported" palettesize="512"/>
       </game>
 
 


emumovies.com      Retro bytes Portal           Bookmark and Share

 
Developed by: Spesoft  Headsoft     Terms of use     Privacy    Advertise