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, ; D000..E5F4 - persistent data structures (per-game cheat categories,
; gGlobalPrefsStore, gGamesListStore) ; gGlobalPrefsStore, gGamesListStore)
; ...unused... ; ...unused...
; EBEE..FFF9 - main program code ; EC15..FFF9 - main program code
; FFFA..FFFF - NMI, reset, IRQ vectors ; FFFA..FFFF - NMI, reset, IRQ vectors
; ;
; LC RAM BANK 2 ; LC RAM BANK 2

View File

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