dos33fsprogs/duke/status_bar.s

32 lines
531 B
ArmAsm
Raw Normal View History

2020-11-27 02:35:16 +00:00
; Draw Status Bar
update_status_bar:
rts
draw_status_bar:
2020-12-09 04:48:38 +00:00
jsr inverse_text
2020-11-27 02:35:16 +00:00
lda #<help_string
sta OUTL
lda #>help_string
sta OUTH
jsr move_and_print
2020-12-09 04:48:38 +00:00
jsr normal_text
2020-11-27 02:35:16 +00:00
jsr move_and_print
jsr move_and_print
jsr inverse_text
jsr move_and_print
rts
help_string:
2020-12-09 04:48:38 +00:00
.byte 3,20," PRESS ^H FOR HELP ",0
2020-11-27 02:35:16 +00:00
score_string:
; 012456789012345678901234567890123456789
.byte 0,22,"SCORE HEALTH FIREPOWER INVENTORY",0
.byte 0,23,"00010 XXXXXXXX =-=- ",0
.byte 7,23," ",0