implemented BRK handling routine (not yet connected to IRQ)
This commit is contained in:
1 parent
44ca73be40
commit
03bc8b8e78
17 files changed
+51
-29
No files matched your search
@@ -1,19 +1,20 @@
|
||||
|
||||
setup_vicii:
|
||||
setup_vicii:
|
||||
|
||||
;; Set up default IO values (Compute's Mapping the 64 p215)
|
||||
lda #$1b ; Enable text mode
|
||||
sta $d011
|
||||
lda #$c8 ; 40 column etc
|
||||
sta $d016
|
||||
lda #$1B ; Enable text mode
|
||||
sta VIC_SCROLY
|
||||
lda #$C8 ; 40 column etc
|
||||
sta VIC_SCROLX
|
||||
|
||||
;; Compute's Mapping the 64, p156
|
||||
;; We use a different colour scheme of white text on all blue
|
||||
lda #$06
|
||||
sta $D020
|
||||
sta $D021
|
||||
sta VIC_EXTCOL
|
||||
sta VIC_BGCOL0
|
||||
|
||||
;; Turn off sprites
|
||||
;; (observed hanging around after running programs and resetting)
|
||||
;; Turn off sprites (observed hanging around after running programs and resetting)
|
||||
lda #$00
|
||||
sta $D015
|
||||
|
||||
sta VIC_SPENA
|
||||
|
||||
;;FALLTROUGH
|
||||
Reference in new issue
Block a user