refactor HGRActionCallback

This commit is contained in:
4am 2019-09-21 18:15:33 -04:00
parent 87362071c1
commit a2e8ae2332
2 changed files with 9 additions and 8 deletions

View File

@ -9,7 +9,7 @@
; D000..E5F4 - persistent data structures (per-game cheat categories,
; gGlobalPrefsStore, gGamesListStore)
; ...unused...
; EBEE..FFF9 - main program code
; EC15..FFF9 - main program code
; FFFA..FFFF - NMI, reset, IRQ vectors
;
; LC RAM BANK 2

View File

@ -106,14 +106,18 @@ HGRSingle
!word $4000
; display game name in the bottom-left corner
ldx #0
stx HTAB
ldx #39
lda #0
- sta UILine1,x
dex
bpl -
sta HTAB
ldx #22
stx VTAB
ldy #0
tay
lda (SAVE),y
tax
+LDADDR @topline
+LDADDR UILine1
sec
jsr DrawBuffer
ldx #3
@ -139,9 +143,6 @@ HGRSingle
+LDADDR $6000
jmp ExecuteTransitionAndWait
@topline
!byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
!byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
@toprightcorner
!byte 0,0,7
@rightline