implemented BRK handling routine (not yet connected to IRQ)

This commit is contained in:
FeralChild64 committed 2019-08-06 20:54:27 +02:00
1 parent 44ca73be40
commit 03bc8b8e78
17 files changed
+51 -29

No files matched your search

+3 -4
View File
@@ -1,21 +1,20 @@
;; Clear screen and initialise line link table
;; (Compute's Mapping the 64 p215-216)
clear_screen:
clear_screen:
;; Clear line link table
;; (Compute's Mapping the 64 p215)
lda #$00
ldy #24
clearscreen_l1:
clearscreen_l1:
sta screen_line_link_table,y
dey
bpl clearscreen_l1
;; Y now = #$FF
;; Clear screen RAM.
;; We should do this at HIBASE, which annoyingly
;; is no ZP, so we need to make a vector