mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-24 18:32:15 +00:00
42 lines
899 B
Plaintext
42 lines
899 B
Plaintext
;license:MIT
|
|
;(c) 2018-9 by 4am
|
|
;
|
|
; hi-res font drawing routines
|
|
;
|
|
; Glue functions that handle bank switching and calling the real font drawing routines
|
|
; that live in LC RAM 2 now.
|
|
;
|
|
; Public functions
|
|
; - DrawPage
|
|
; - Draw40Chars
|
|
; - DrawCenteredString
|
|
; - DrawString
|
|
; - DrawBuffer
|
|
;
|
|
|
|
; /!\ execution falls through from ui.attract.hgr/HGRActionCallback
|
|
DrawString
|
|
jsr SwitchToBank2
|
|
jsr DrawStringInternal
|
|
jmp SwitchToBank1
|
|
|
|
DrawPage
|
|
jsr SwitchToBank2
|
|
jsr DrawPageInternal
|
|
jmp SwitchToBank1
|
|
|
|
Draw40Chars
|
|
jsr SwitchToBank2
|
|
jsr Draw40CharsInternal
|
|
jmp SwitchToBank1
|
|
|
|
DrawCenteredString
|
|
jsr SwitchToBank2
|
|
jsr DrawCenteredStringInternal
|
|
jmp SwitchToBank1
|
|
|
|
DrawBuffer
|
|
jsr SwitchToBank2
|
|
jsr DrawBufferInternal
|
|
jmp SwitchToBank1
|