![]() |
Startup routine |
| Prev: | Up: Map |
|
We jump here from the load routine at 802F.
|
||||||||
| 5EE0 | LD SP,$5CFE | Put the stack pointer somewhere safe | ||||||
| 5EE3 | LD HL,$7E00 | Copy 7E00-7FFF into 8000-81FF | ||||||
| 5EE6 | LD DE,$8000 | |||||||
| 5EE9 | LD BC,$0200 | |||||||
| 5EEC | LDIR | |||||||
| 5EEE | LD HL,$7DFF | Move 5F00-7DFF up to 6000-7EFF | ||||||
| 5EF1 | LD DE,$7EFF | |||||||
| 5EF4 | LD BC,$1F00 | |||||||
| 5EF7 | LDDR | |||||||
| 5EF9 | EI | Enable interrupts | ||||||
| 5EFA | JP $6900 | Play the theme tune and enter demo mode | ||||||
| Prev: | Up: Map |