mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-25 13:33:13 +00:00
refactor HGRActionCallback
This commit is contained in:
parent
87362071c1
commit
a2e8ae2332
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user