2020-12-11 05:44:55 +00:00
|
|
|
; For Help press ^H
|
|
|
|
|
|
|
|
print_help:
|
|
|
|
bit KEYRESET ; clear keyboard
|
|
|
|
bit SET_TEXT
|
2020-12-11 06:24:47 +00:00
|
|
|
|
2020-12-15 04:53:15 +00:00
|
|
|
jsr normal_text
|
|
|
|
|
|
|
|
lda #' '|$80
|
|
|
|
sta clear_all_color+1
|
2020-12-11 06:24:47 +00:00
|
|
|
jsr clear_all
|
2020-12-11 05:44:55 +00:00
|
|
|
|
|
|
|
lda #<help_text
|
|
|
|
sta OUTL
|
|
|
|
lda #>help_text
|
|
|
|
sta OUTH
|
|
|
|
jsr move_and_print_list
|
|
|
|
|
|
|
|
jsr page_flip
|
|
|
|
|
|
|
|
wait_for_keypress:
|
|
|
|
lda KEYPRESS
|
|
|
|
bpl wait_for_keypress
|
|
|
|
bit KEYRESET
|
|
|
|
|
|
|
|
|
|
|
|
bit SET_GR
|
|
|
|
rts
|
|
|
|
|
|
|
|
help_text:
|
|
|
|
.byte 0, 5,"CONTROLS:",0
|
|
|
|
.byte 3, 6, "A OR <- : MOVE LEFT",0
|
|
|
|
.byte 3, 7, "D OR -> : MOVE RIGHT",0
|
2020-12-15 05:37:59 +00:00
|
|
|
.byte 3, 8, "W OR UP : ACTION, ENTER DOOR",0
|
2020-12-16 18:21:37 +00:00
|
|
|
.byte 3, 9, "SPACEBAR : JUMP",0
|
|
|
|
.byte 3,10, "RETURN : SHOOT LASER",0
|
2020-12-11 05:44:55 +00:00
|
|
|
.byte 3,12, "ESC : QUITS",0
|
2020-12-16 18:21:37 +00:00
|
|
|
.byte 3,13, "CONTROL-T : TOGGLE SOUND",0
|
|
|
|
.byte 3,14, "J : ENABLE JOYSTICK",0
|
2020-12-11 05:44:55 +00:00
|
|
|
.byte 255
|