2024-03-12 06:09:15 +00:00
|
|
|
; For Help press H
|
2024-03-09 18:36:33 +00:00
|
|
|
|
|
|
|
print_help:
|
|
|
|
bit KEYRESET ; clear keyboard
|
|
|
|
bit SET_TEXT
|
|
|
|
|
|
|
|
jsr normal_text
|
|
|
|
|
|
|
|
lda #' '|$80
|
|
|
|
sta clear_all_color+1
|
|
|
|
jsr clear_all
|
|
|
|
|
|
|
|
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
|
2024-03-30 05:13:10 +00:00
|
|
|
.byte 3, 8, "Q : JUMP LEFT",0
|
|
|
|
.byte 3, 9, "E : JUMP RIGHT",0
|
2024-04-06 05:35:17 +00:00
|
|
|
.byte 3,10, "Z : FINE LEFT",0
|
|
|
|
.byte 3,11, "C : FINE RIGHT",0
|
|
|
|
.byte 3,12, "M : FIRE LASERGUN",0
|
|
|
|
.byte 3,13, "P : POGO",0
|
|
|
|
.byte 3,15, "SPACEBAR : ACTION/JUMP",0
|
|
|
|
.byte 3,16, "RETURN : STATUS BAR",0
|
|
|
|
.byte 3,17, "ESC : QUITS",0
|
|
|
|
.byte 3,18, "CONTROL-T : TOGGLE SOUND",0
|
|
|
|
.byte 3,19, "J : ENABLE JOYSTICK",0
|
2024-03-09 18:36:33 +00:00
|
|
|
.byte 255
|