Prev: FCDB Up: Map Next: FD02
FCE2: RESET, hardware reset starts here
FCE2 A2 FF LDX #$FF set X for stack
FCE4 78 SEI disable the interrupts
FCE5 9A TXS clear stack
FCE6 D8 CLD clear decimal mode
FCE7 20 02 FD JSR $FD02 scan for autostart ROM at $8000
FCEA D0 03 BNE $FCEF if not there continue startup
FCEC 6C 00 80 JMP ($8000) else call ROM start code
FCEF 8E 16 D0 STX $D016 read the horizontal fine scroll and control register
FCF2 20 A3 FD JSR $FDA3 initialise SID, CIA and IRQ
FCF5 20 50 FD JSR $FD50 RAM test and find RAM end
FCF8 20 15 FD JSR $FD15 restore default I/O vectors
FCFB 20 5B FF JSR $FF5B initialise VIC and screen editor
FCFE 58 CLI enable the interrupts
FCFF 6C 00 A0 JMP ($A000) execute BASIC
Prev: FCDB Up: Map Next: FD02