mirror of
https://github.com/a2-4am/4cade.git
synced 2025-02-17 07:31:19 +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,
|
; 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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user