![]() |
Startup routine |
| Prev: | Up: Map |
|
We jump here from the load routine at 32815.
|
|||||||
| 24288 | LD SP,23806 | Put the stack pointer somewhere safe | |||||
| 24291 | LD HL,32256 | Copy 32256-32767 into 32768-33279 | |||||
| 24294 | LD DE,32768 | ||||||
| 24297 | LD BC,512 | ||||||
| 24300 | LDIR | ||||||
| 24302 | LD HL,32255 | Move 24320-32255 up to 24576-32511 | |||||
| 24305 | LD DE,32511 | ||||||
| 24308 | LD BC,7936 | ||||||
| 24311 | LDDR | ||||||
| 24313 | EI | Enable interrupts | |||||
| 24314 | JP 26880 | Play the theme tune and enter demo mode | |||||
| Prev: | Up: Map |