fix some bugs

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-19 21:03:53 +09:30
1 parent 85d6c10832
commit aab7b98c27
2 files changed
+5 -7

No files matched your search

@@ -15,12 +15,13 @@ set_pointer_to_current_screen_line:
sptcsl_l2:
;; XXX - Should we read the columns per line from
;; somewhere?
lda #<40
ldy #<40
;; Double line length if line is linked
bit screen_line_link_table,x
lda screen_line_link_table,x
bpl sptcsl_l1
asl
ldy #<80
sptcsl_l1:
tya
clc
adc current_screen_line_ptr+0
lda current_screen_line_ptr+1