trunk/src/mame/drivers/aristmk4.cpp
| r250278 | r250279 | |
| 1 | 1 | // license:BSD-3-Clause |
| 2 | 2 | // copyright-holders:Angelo Salese, Palindrome, FraSher, Roberto Fresca |
| 3 | | /* |
| 3 | /*********************************************************************************************************************************************** |
| 4 | |
| 4 | 5 | Driver: aristmk4 |
| 5 | 6 | |
| 6 | 7 | Manufacturer: Aristocrat Leisure Industries ( aka Ainsworth Nominees P.L. ) |
| r250278 | r250279 | |
| 9 | 10 | |
| 10 | 11 | original 86lions.c driver by Chris Hardy, Angelo Salese & Roberto Fresca |
| 11 | 12 | |
| 13 | |
| 12 | 14 | ***************** INITIALISATION ********************************************************************* |
| 13 | 15 | |
| 14 | 16 | Method 1 : |
| r250278 | r250279 | |
| 18 | 20 | * A value (displayed below) will appear next to RF/AMT on the right of the screen |
| 19 | 21 | * Key out both the Jackpot and Audit Keys |
| 20 | 22 | |
| 21 | | |
| 22 | 23 | This method works with the following games: |
| 23 | 24 | 3bagflnz 200 |
| 24 | 25 | 3bagflvt 200 |
| r250278 | r250279 | |
| 44 | 45 | Method 2 : |
| 45 | 46 | * Key in with the Jackpot Key followed by the Audit Key |
| 46 | 47 | * Press PB4, PB5 and PB6 keys simultaneously (Z+X+C keys by default) |
| 47 | | * This will enter the cashcade screen and increment $100 to the maximum |
| 48 | | * Press PLAY 2 LINES [listed as BET 2 on the screen] to increment the minimum cashcade value by $5 |
| 49 | | - (optionally, you can decrement with the PLAY 1 LINE [BET 1] button, but you must first increment the $5 to start with above or the game won't initialise) |
| 50 | | * A value (displayed below) will appear on the right as RF/AMT when you key in again (not visible until you key out and back in again with the Audit Key) |
| 48 | * This will enter the cashcade screen and increment $100 to the maximum. |
| 49 | * Press PLAY 2 LINES [listed as BET 2 on the screen] to increment the minimum cashcade value by $5. |
| 50 | - (optionally, you can decrement with the PLAY 1 LINE [BET 1] button, but you must first increment |
| 51 | the $5 to start with above or the game won't initialise) |
| 52 | * A value (displayed below) will appear on the right as RF/AMT when you key in again (not visible |
| 53 | until you key out and back in again with the Audit Key) |
| 51 | 54 | * Key out both the Jackpot and Audit Keys |
| 52 | 55 | |
| 53 | 56 | This method works with the following games: |
| 54 | 57 | topgear 500 |
| 55 | 58 | |
| 56 | 59 | Method 3 : |
| 57 | | * cgold2, fhunter and fhuntera ONLY: |
| 58 | | DIP labeled "5201-5" switch to ON |
| 59 | | This allows setup procedure to complete properly and game to play (if disabled, it acts as a 'freeze' switch and the games don't accept inputs). |
| 60 | * cgold2, fhunter and fhuntera ONLY: DIP labeled "5201-5" switch to ON |
| 61 | This allows setup procedure to complete properly and game to play (if disabled, it acts as a |
| 62 | 'freeze' switch and the games don't accept inputs). |
| 60 | 63 | * Key in with the Jackpot Key followed by the Audit Key. |
| 61 | 64 | * Press PB4, PB5 and PB6 keys simultaneously (Z+X+C keys by default) |
| 62 | 65 | * Press Service (default A) 4 times until you are in the Setup Screen, with Printer Pay Limit. |
| r250278 | r250279 | |
| 70 | 73 | fhunter |
| 71 | 74 | fhuntera |
| 72 | 75 | |
| 76 | |
| 77 | ********************************************************************************************************** |
| 78 | |
| 73 | 79 | Technical Notes: |
| 74 | 80 | |
| 75 | 81 | 68B09EP Motorola Processor |
| r250278 | r250279 | |
| 95 | 101 | The AY8910 named ay2 has writes to lamps and the light tower on Port A and B. these are implemented via the layout |
| 96 | 102 | |
| 97 | 103 | |
| 104 | ********************************************************************************************************** |
| 105 | |
| 106 | Updates.... |
| 107 | |
| 98 | 108 | 27/04/10 - FrasheR |
| 99 | 109 | 2 x Sound Chips connected to the 6522 VIA. |
| 100 | 110 | |
| r250278 | r250279 | |
| 121 | 131 | - day of week is incorrect |
| 122 | 132 | - day of month is incorrect ( code is using day instead of mday ). |
| 123 | 133 | - hours are not showing up correct in PM and 12 hour mode |
| 124 | | - rtc causes game to freeze if the game is left in audit mode with continuous writes to 0xA reg - 0x80 data ) |
| 134 | - rtc causes game to freeze if the game is left in audit mode with continuous writes |
| 135 | to 0xA reg - 0x80 data ) |
| 125 | 136 | |
| 126 | 137 | 9/7/2010 - Palindrome |
| 127 | 138 | Robot Test added |
| r250278 | r250279 | |
| 135 | 146 | |
| 136 | 147 | 12/12/2010 - Palindrome and Heihachi_73 |
| 137 | 148 | Updated source to 0.140u2 standards |
| 138 | | Disabled real time clock to stop games from hanging. This causes a graphics glitch on the month display but makes the games more reliable in audit mode. |
| 149 | Disabled real time clock to stop games from hanging. This causes a graphics glitch |
| 150 | on the month display but makes the games more reliable in audit mode. |
| 139 | 151 | Fixed ROM names |
| 140 | 152 | Added new game Arctic Wins |
| 141 | 153 | Added new game Caribbean Gold 2 (missing 2 gfx roms, still boots) |
| r250278 | r250279 | |
| 143 | 155 | Added new game Fortune Hunter (2 sets) |
| 144 | 156 | |
| 145 | 157 | 06/06/2011 - Heihachi_73 |
| 146 | | Added button panel artwork for all games, and renamed the in-game buttons to match the artwork and/or Robot Test description. |
| 158 | Added button panel artwork for all games, and renamed the in-game buttons to match |
| 159 | the artwork and/or Robot Test description. |
| 147 | 160 | Remapped Jackpot Key to 'L' |
| 148 | 161 | Remapped 'power fail' key to ',' (comma) |
| 149 | 162 | Remapped the video poker buttons; holds are now keys S,D,F,G,H |
| r250278 | r250279 | |
| 168 | 181 | |
| 169 | 182 | 21/02/2013 - Heihachi_73 |
| 170 | 183 | Added new game Caribbean Gold (cgold), however it is not a straight swap as it has slightly different input locations: |
| 171 | | - With unmodified 0.148 source, game complains about logic door being open, which is seemingly tied to the current coin input. |
| 172 | | - When HOPCO2 is toggled off/on quickly (default is on otherwise it will cause a note acceptor error), the note acceptor works, adding 4 credits ($1?) - this is seemingly a quarter slot (25c). Not sure if other notes are possible. |
| 173 | | - Same gameplay as Gone Troppo, one interesting thing about this game is that the KQJ symbols have actual faces instead of plain letters. |
| 184 | - With unmodified 0.148 source, game complains about logic door being open, |
| 185 | which is seemingly tied to the current coin input. |
| 186 | - When HOPCO2 is toggled off/on quickly (default is on otherwise it will |
| 187 | cause a note acceptor error), the note acceptor works, adding 4 credits ($1?). |
| 188 | This is seemingly a quarter slot (25c). Not sure if other notes are possible. |
| 189 | - Same gameplay as Gone Troppo, one interesting thing about this game is that |
| 190 | the KQJ symbols have actual faces instead of plain letters. |
| 174 | 191 | |
| 175 | 192 | 08/03/2013 - Heihachi_73 |
| 176 | 193 | Cleaned up comments and erroneous ROM names (e.g. graphics ROMs named after the program ROM). |
| 177 | | Caribbean Gold II - copied cgold graphics ROMs u8+u11 (aka u20+u45) to cgold2, game now playable. Tiles 0x64 and 0x65 are used to show the game's denomination (credit value), however cgold does not use these tiles (there are seemingly unused line/bet/number tiles in this location), this causes a minor glitch on the $/c sign. Tiles 0x277-0x288 also differ but are unused. |
| 194 | Caribbean Gold II - copied cgold graphics ROMs u8+u11 (aka u20+u45) to cgold2, game now playable. |
| 195 | Tiles 0x64 and 0x65 are used to show the game's denomination (credit value), however cgold does |
| 196 | not use these tiles (there are seemingly unused line/bet/number tiles in this location), this |
| 197 | causes a minor glitch on the $/c sign. Tiles 0x277-0x288 also differ but are unused. |
| 178 | 198 | Promoted Fortune Hunter and clone to working status, as they were in fact working for quite a while. |
| 179 | 199 | Fixed ROM names for kgbird/kgbirda; 5c and 10c variants were mixed up. |
| 180 | 200 | |
| r250278 | r250279 | |
| 189 | 209 | Need to confirm the title. |
| 190 | 210 | |
| 191 | 211 | |
| 192 | | **************************************************************************** |
| 212 | ************************************************************************************************************* |
| 193 | 213 | |
| 194 | | When the games first power on (or when reset), they will display a TILT message on the screen. This doesn't affect gameplay, and if there are no pending errors the game should coin up and/or play immediately. |
| 195 | | The tilt message will also appear when an error code is displayed, such as the main door being opened/closed, or a hardware error/fault (such as hopper empty, coin yoyo, printer errors; none of which should happen in MAME however). |
| 214 | When the games first power on (or when reset), they will display a TILT message on the screen. |
| 215 | This doesn't affect gameplay, and if there are no pending errors the game should coin up and/or play immediately. |
| 216 | |
| 217 | The tilt message will also appear when an error code is displayed, such as the main door being opened/closed, or |
| 218 | a hardware error/fault (such as hopper empty, coin yoyo, printer errors; none of which should happen in MAME however). |
| 219 | |
| 196 | 220 | The tilt message will disappear if you turn the Audit Key on and off, or after you start playing. |
| 197 | | Despite the name, there is no 'tilt' mechanism in the machine and there is nothing to worry about. The first Aristocrat system to have a tilt mechanism was the MK5, which will cause the machine to reset abruptly if the player is too rough (e.g. hitting the screen or bumping the machine). |
| 221 | Despite the name, there is no 'tilt' mechanism in the machine and there is nothing to worry about. |
| 222 | The first Aristocrat system to have a tilt mechanism was the MK5, which will cause the machine to reset abruptly |
| 223 | if the player is too rough (e.g. hitting the screen or bumping the machine). |
| 198 | 224 | |
| 199 | | These games do not feature a backup mechanism in case of power faults or system crashes requiring a reboot; if the player was in the middle of a spin or watching a win count up, any credits won on that spin will be voided. |
| 200 | | On the machine's artwork, this is reflected with text reading 'Malfunction voids all pays and plays', of which the text has also been carried onto later machines. The Aristocrat MK5 and later systems however feature backup mechanisms and will repeat the last game (including free game features and/or gamble selection) when powered on, to where the player had left off. |
| 225 | These games do not feature a backup mechanism in case of power faults or system crashes requiring a reboot; |
| 226 | if the player was in the middle of a spin or watching a win count up, any credits won on that spin will be voided. |
| 227 | On the machine's artwork, this is reflected with text reading 'Malfunction voids all pays and plays', of which |
| 228 | the text has also been carried onto later machines. The Aristocrat MK5 and later systems however feature backup |
| 229 | mechanisms and will repeat the last game (including free game features and/or gamble selection) when powered on, |
| 230 | to where the player had left off. |
| 201 | 231 | |
| 202 | | Gone Troppo and Caribbean Gold 1 and 2 require DIP SW7 to be set to off/off or else the second screen will be broken. This is possibly true to the original machine. |
| 232 | Gone Troppo and Caribbean Gold 1 and 2 require DIP SW7 to be set to off/off or else the second screen will be broken. |
| 233 | This is possibly true to the original machine. |
| 234 | |
| 203 | 235 | A similar thing happens with Top Gear, the drag cars' tyres will only be the correct colour (grey) if SW7 is off/off. |
| 204 | | In Wild One, the dollar sign on the Insert $2 graphic is the wrong colour on other settings as well. It only appears correct when SW7 is off/off. This is probably a bug in the original game, where the graphic designers have used the wrong palette for the background of the dollar sign. |
| 236 | |
| 237 | In Wild One, the dollar sign on the Insert $2 graphic is the wrong colour on other settings as well. It only appears |
| 238 | correct when SW7 is off/off. This is probably a bug in the original game, where the graphic designers have used the |
| 239 | wrong palette for the background of the dollar sign. |
| 240 | |
| 205 | 241 | From these findings, it is noted that the off/off setting may in fact be the default background setting of all games. |
| 206 | 242 | |
| 207 | 243 | cgold, gtroppo and topgear are non-multiplier, 5 payline games, therefore, you cannot bet higher than 5 credits on these machines. |
| 208 | 244 | |
| 209 | | cgold can be set to credit play or coin play by toggling SW1-5. If SW1-5 is on, game is in credit mode; if SW1-5 is off, wins and remaining credits will be automatically paid out as coins. |
| 245 | cgold can be set to credit play or coin play by toggling SW1-5. If SW1-5 is on, game is in credit mode; if SW1-5 is off, |
| 246 | wins and remaining credits will be automatically paid out as coins. |
| 210 | 247 | |
| 211 | | Non-US games can enable/disable the double up (gamble) option by toggling the SW1-8 switch. Turning SW1 off will enable the double up option (default); turning SW1-8 on will disable double up and enable auto-spin on some games (so far, only eforesta and 3bagflvt allow this; other games simply ignore the buttons). The games respond slightly faster between games with double up disabled. |
| 212 | | 3 Bags Full, Fortune Hunter, Caribbean Gold 1 and 2, Gone Troppo and Top Gear do not have a double up option, and US-based games ignore this switch setting (double up is always enabled on US games which support it). |
| 248 | Non-US games can enable/disable the double up (gamble) option by toggling the SW1-8 switch. Turning SW1 off will enable |
| 249 | the double up option (default); turning SW1-8 on will disable double up and enable auto-spin on some games (so far, only |
| 250 | eforesta and 3bagflvt allow this; other games simply ignore the buttons). The games respond slightly faster between games |
| 251 | with double up disabled. |
| 213 | 252 | |
| 253 | 3 Bags Full, Fortune Hunter, Caribbean Gold 1 and 2, Gone Troppo and Top Gear do not have a double up option, and US-based |
| 254 | games ignore this switch setting (double up is always enabled on US games which support it). |
| 255 | |
| 256 | |
| 214 | 257 | TODO: |
| 258 | |
| 215 | 259 | 1. ROMs need redumping for the following games: |
| 216 | 260 | - White Tiger has bad graphics ROMs. |
| 217 | 261 | - Caribbean Gold 2 is missing two graphics chips. |
| 218 | 262 | - Clockwise needs its program ROM redumped, original dump was 32K of 0xFF's. Graphics and video/sound ROM are OK. |
| 219 | | - PROM dumps needed for Top Gear (2CM33), Caribbean Gold (1CM12), Caribbean Gold 2 (unknown), Clockwise (2CM18) and Golden Poker (unknown). |
| 263 | - PROM dumps needed for Top Gear (2CM33), Caribbean Gold (1CM12), Caribbean Gold 2 (unknown), Clockwise (2CM18), |
| 264 | Golden Poker (unknown), and Fever Pitch (unknown). |
| 220 | 265 | |
| 221 | | 2. Video poker and Keno button panels needed. 06/06/11: Video poker panels done, however they need confirmation with a real machine. |
| 266 | 2. Video poker and Keno button panels needed. 06/06/11: Video poker panels done, however they need confirmation |
| 267 | with a real machine. |
| 222 | 268 | |
| 223 | 269 | 3. Extend the driver to use the keno keyboard input for keno games (no MK2.5/MKIV Keno games dumped yet as of 28/02/2010). |
| 224 | 270 | |
| r250278 | r250279 | |
| 236 | 282 | |
| 237 | 283 | 10. fix 86 Lions (pre-Aristocrat Mk-4 HW, without prom and dunno what else) |
| 238 | 284 | |
| 285 | |
| 239 | 286 | ***************** POKER GAMES ************************************************************************ |
| 240 | 287 | |
| 241 | 288 | Wild One & Golden Poker have a problem where the second branch condition is always true, see assembler below for |
| r250278 | r250279 | |
| 251 | 298 | |
| 252 | 299 | Bug in the 6845 crtc core ? Seems like some kind of logic there not working. |
| 253 | 300 | |
| 254 | | EDIT: it's a vblank check, BITA opcode checks bit 5 in A register and compares it with the contents of 0x1800 (that is vblank in |
| 255 | | mc6845_status_r). Checking if a bit goes low then high it usually means that is moaning for a vblank. ;-) |
| 256 | | But now there is a new question: what kind of mc6845 clone this HW uses? It's clearly not standard mc6845, since that version doesn't |
| 257 | | support vblank reading. The vblank bit can be read only on C6545-1, R6545-1, SY6545-1 and SY6845E subvariants, so it all lies to |
| 258 | | those. -AS |
| 301 | EDIT: it's a vblank check, BITA opcode checks bit 5 in A register and compares it with the contents of 0x1800 |
| 302 | (that is vblank in mc6845_status_r). Checking if a bit goes low then high it usually means that is moaning for |
| 303 | a vblank. ;-) |
| 304 | But now there is a new question: what kind of mc6845 clone this HW uses? It's clearly not standard mc6845, |
| 305 | since that version doesn't support vblank reading. The vblank bit can be read only on C6545-1, R6545-1, SY6545-1 |
| 306 | and SY6845E subvariants, so it all lies to those. -AS |
| 259 | 307 | |
| 308 | |
| 260 | 309 | ***********************************************************************************************************************************************/ |
| 261 | 310 | |
| 262 | 311 | #define MAIN_CLOCK XTAL_12MHz |
| r250278 | r250279 | |
| 2420 | 2469 | GAMEL( 1986, gtroppo, 0, aristmk4, topgear, aristmk4_state, aristmk4, ROT0, "Ainsworth Nominees P.L.", "Gone Troppo (1VXEC542, New Zealand)", 0, layout_topgear ) // possibly 20c, 1 coin = 1 credit |
| 2421 | 2470 | GAMEL( 1986, clkwise, 0, aristmk4, topgear, aristmk4_state, aristmk4, ROT0, "Ainsworth Nominees P.L.", "Clockwise (1VXEC534, New Zealand)", MACHINE_NOT_WORKING, layout_topgear ) // 20c, 1 coin = 1 credit |
| 2422 | 2471 | GAMEL( 1986, cgold, 0, aristmk4, topgear, aristmk4_state, aristmk4, ROT0, "Ainsworth Nominees P.L.", "Caribbean Gold (3VXEC449, USA)", 0, layout_topgear ) // 25c, 1 coin = 1 credit |
| 2423 | | GAMEL( 1986, fvrpitch, 0, aristmk4, kgbird, aristmk4_state, aristmk4, ROT0, "Ainsworth Nominees P.L.", "Fever Pitch? (2VXEC534, NSW, 90.36%)", 0, layout_kgbird ) // 5c, $1 = 20 credits |
| 2472 | GAMEL( 1986, fvrpitch, 0, aristmk4, cgold2, aristmk4_state, aristmk4, ROT0, "Ainsworth Nominees P.L.", "Fever Pitch? (2VXEC534, NSW, 90.36%)", 0, layout_cgold2 ) // 5c, $1 = 20 credits |