tfv: missing rts meant random VLINs when printing to screen

This commit is contained in:
Vince Weaver 2017-11-26 22:05:52 -05:00
parent 4d86457d96
commit 5898db1ac0
2 changed files with 10 additions and 9 deletions

View File

@ -245,19 +245,18 @@ landing_loop:
rts ; finish flying
must_land_on_grass:
lda #10
sta CH ; HTAB 11
sta CH ; HTAB 11
lda #21
sta CV ; VTAB 22
lda #21
sta CV ; VTAB 22
lda #>(grass_string)
sta OUTH
lda #<(grass_string)
sta OUTL
lda #>(grass_string)
sta OUTH
lda #<(grass_string)
sta OUTL
jsr print_both_pages ; "NEED TO LAND ON GRASS!"
jsr print_both_pages ; "NEED TO LAND ON GRASS!"
check_help:
cmp #('H')

View File

@ -522,6 +522,8 @@ print_both_pages:
pla
sta DRAW_PAGE
rts ; oops forgot this initially
; explains the weird vertical stripes on the screen
;=========================================
; vlin