From 5faf0c949468cf72d1dfd0e52369ab2d26760fd7 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 26 Apr 2021 15:37:02 -0400 Subject: Initial POC of in-game help --- timed_getch.s | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'timed_getch.s') diff --git a/timed_getch.s b/timed_getch.s index 6ea1bff..f4c8431 100644 --- a/timed_getch.s +++ b/timed_getch.s @@ -101,6 +101,14 @@ finish_agetc: @nr: pla + .ifdef GAME_HELP + .import _print_game_help + cmp #'?' + bne notquestion + jmp _print_game_help +notquestion: + .endif + ; special cases cmp #$9b ; enter key, return as-is beq ok -- cgit v1.2.3