| Dynamite Dan | Routines |
| Prev: 5E4E | Up: Map | Next: 5E71 |
|
|
||||
| 5E52 | DI | Turn off interrupts | ||
| 5E53 | LD HL,$0000 | SP should be EA48. This is set up in the BASIC | ||
| 5E56 | ADD HL,SP | |||
| 5E57 | LD ($5DF2),HL | Remember this value | ||
| 5E5A | LD SP,$5E95 | Set the stack pointer to a set of pre-loaded values at 5E95 | ||
| 5E5D | LD H,$5E | Push 5E48 on the stack | ||
| 5E5F | PUSH HL | |||
| 5E60 | LD HL,$5E68 | Skip some code | ||
| 5E63 | JP (HL) | |||
| 5E68 | LD A,$12 | Change the top value on the stack to 5E12 | ||
| 5E6A | LD ($5E93),A | |||
| 5E6D | POP HL | Store it in HL (as the start of the block to decrypt) and DE (as a copy of it) | ||
| 5E6E | PUSH HL | |||
| 5E6F | POP DE | |||
| 5E70 | RET | Take the top value off the stack (5E76) and jump to it | ||
| Prev: 5E4E | Up: Map | Next: 5E71 |