Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !Free = $60 ; Three bytes, same as in INIT.
- level###:
- LDA $14 ;\
- AND #$40 ;| Condition goes here; currently will alternate every 64 frames.
- BNE reset ;/
- LDA #$AB ;\ CGADSUB settings.
- STA $40 ;/
- REP #$20
- LDA #$FFFF ;\ Make everything black.
- STA $0701 ;/
- SEP #$20
- return:
- RTS
- reset:
- REP #$20
- LDA !Free ;\ Restore BG color.
- STA $0701 ;/
- SEP #$20
- LDA !Free+2 ;\ Restore CGADSUB.
- STA $40 ;/
- RTS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement