Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //-- Init --
- //------elr-
- //Initialize the C64 system.
- systemInit: {
- cld
- jsr nmiDisable
- :memoryMap("ram", "io", "ram")
- :setTimerInterrupt(TIMER_1A, OFF)
- :setTimerInterrupt(TIMER_1B, OFF)
- lda CIA_1.INTERRUPT_CTRL_REG
- jsr zp.init
- :stackFill($00)
- }
- //Initialize our routines.
- routinesInit: {
- :charBoxInit(windowChars)
- lda #0
- jsr song.init
- jmp playground
- windowChars:
- .byte 0, 1, 2, 3, 4, 5, 6
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement