riven: clean up some of the hgr -> gr transitions

This commit is contained in:
Vince Weaver 2024-07-17 13:31:09 -04:00
parent 3089f8a840
commit d3f5124899
2 changed files with 18 additions and 6 deletions

View File

@ -21,11 +21,17 @@ movie_cove_start:
; Setup graphics
;===================
; clear lores before we flip to it
lda #0
sta DRAW_PAGE
jsr clear_gr_all
bit SET_GR
bit LORES
bit PAGE1
jsr GR
; jsr GR
bit FULLGR
lda #0

View File

@ -32,7 +32,7 @@ entry_smc:
lda LEVEL_OVER
bmi change_disk
jmp main_game_loop
bpl main_game_loop ; bra
;====================================
@ -54,9 +54,9 @@ load_file:
lda LENGTH_ARRAY,X
sta load_length
jsr load_new
jmp load_new ; tail call
rts
; rts
;===================================================
;===================================================
@ -96,10 +96,16 @@ change_disk:
; switch to GR and print DNI number too
jsr GR
jsr HOME
; jsr GR
; jsr HOME
lda #0
sta DRAW_PAGE
jsr clear_gr_all
jsr clear_bottom
bit LORES
bit TEXTGR
lda #<insert_disk_string
sta OUTL