trunk/src/mame/drivers/mole.c
| r30782 | r30783 | |
| 153 | 153 | /* Following are all known examples of Mole Attack |
| 154 | 154 | ** code reading from the protection circuitry: |
| 155 | 155 | ** |
| 156 | | ** 5b0b: |
| 156 | ** 5b09: |
| 157 | 157 | ** ram[0x0361] = (ram[0x885+ram[0x8a5])&ram[0x886] |
| 158 | 158 | ** ram[0x0363] = ram[0x886] |
| 159 | 159 | ** |
| 160 | | ** 53c9: |
| 160 | ** 53c7: |
| 161 | 161 | ** ram[0xe0] = ram[0x800]+ram[0x802]+ram[0x804] |
| 162 | 162 | ** ram[0xea] = ram[0x828] |
| 163 | 163 | ** |
| r30782 | r30783 | |
| 175 | 175 | { |
| 176 | 176 | case 0x08: return 0xb0; /* random mole placement */ |
| 177 | 177 | case 0x26: |
| 178 | | if (space.device().safe_pc() == 0x53d7) |
| 178 | if (space.device().safe_pc() == 0x53d5) |
| 179 | 179 | { |
| 180 | 180 | return 0x06; /* bonus round */ |
| 181 | 181 | } |
| 182 | 182 | else |
| 183 | | { // pc == 0x515b, 0x5162 |
| 183 | { // pc == 0x5159, 0x5160 |
| 184 | 184 | return 0xc6; /* game start */ |
| 185 | 185 | } |
| 186 | 186 | case 0x86: return 0x91; /* game over */ |