trunk/src/mame/drivers/coolridr.c
| r21281 | r21282 | |
| 2495 | 2495 | vector is 0x7f (so VBR+0x1fc) |
| 2496 | 2496 | level is 0xf |
| 2497 | 2497 | ... and indeed the Watchdog irq routine effectively clears this RAM buffer. What the manual doesn't say is that the Watchdog timer irq |
| 2498 | | presumably is an NMI if this is even possible ... |
| 2498 | presumably is treated as an NMI by the SH-2 CPU and not really a "normal" irq exception. |
| 2499 | For the record, here's the ITI code snippet: |
| 2500 | 06002DE4: 2F36 MOV.L R3,@-SP |
| 2501 | 06002DE6: E300 MOV #$00,R3 |
| 2502 | 06002DE8: 2F26 MOV.L R2,@-SP |
| 2503 | 06002DEA: D20B MOV.L @($2C,PC),R2 |
| 2504 | 06002DEC: 2230 MOV.B R3,@R2 ;writes 0 to the RAM buffer 0x60d8896 |
| 2505 | 06002DEE: 9305 MOV.W @($000A,PC),R3 |
| 2506 | 06002DF0: 9205 MOV.W @($000A,PC),R2 |
| 2507 | 06002DF2: 2231 MOV.W R3,@R2 ;writes 0x19, disables the watchdog timer |
| 2508 | 06002DF4: 62F6 MOV.L @SP+,R2 |
| 2509 | 06002DF6: 63F6 MOV.L @SP+,R3 |
| 2510 | 06002DF8: 002B RTE |
| 2511 | 06002DFA: 0009 NOP |
| 2512 | |
| 2499 | 2513 | */ |
| 2500 | 2514 | READ32_MEMBER(coolridr_state::coolridr_hack2_r) |
| 2501 | 2515 | { |