Previous 199869 Revisions Next

r30783 Monday 2nd June, 2014 at 19:33:50 UTC by hap
fix regression: http://mametesters.org/view.php?id=5598
[src/mame/drivers]mole.c

trunk/src/mame/drivers/mole.c
r30782r30783
153153   /*  Following are all known examples of Mole Attack
154154   **  code reading from the protection circuitry:
155155   **
156   **  5b0b:
156   **  5b09:
157157   **  ram[0x0361] = (ram[0x885+ram[0x8a5])&ram[0x886]
158158   **  ram[0x0363] = ram[0x886]
159159   **
160   **  53c9:
160   **  53c7:
161161   **  ram[0xe0] = ram[0x800]+ram[0x802]+ram[0x804]
162162   **  ram[0xea] = ram[0x828]
163163   **
r30782r30783
175175   {
176176   case 0x08: return 0xb0; /* random mole placement */
177177   case 0x26:
178      if (space.device().safe_pc() == 0x53d7)
178      if (space.device().safe_pc() == 0x53d5)
179179      {
180180         return 0x06; /* bonus round */
181181      }
182182      else
183      { // pc == 0x515b, 0x5162
183      { // pc == 0x5159, 0x5160
184184         return 0xc6; /* game start */
185185      }
186186   case 0x86: return 0x91; /* game over */

Previous 199869 Revisions Next


© 1997-2024 The MAME Team