diff --git a/programs/ps2_keyboard_text_handler.s65 b/programs/ps2_keyboard_text_handler.s65 index d2d6cd2..5e732cc 100644 --- a/programs/ps2_keyboard_text_handler.s65 +++ b/programs/ps2_keyboard_text_handler.s65 @@ -145,9 +145,6 @@ x_ge_60: ; x >= $60 lda CHARS_NOMOD,x bra check_char check_release: ; x >= $90 - ; DEBUG - lda #'9' - sta char cpx #kb::K_BREAK bne _rts lda #$ff @@ -235,9 +232,6 @@ update_leds: .proc break_key ; rmb kb::PREVIOUS::BREAK, kb::previous_scancode stz previous_scancode - ; DEBUG - lda #'F' - sta char ; check mod keys cpx #kb::K::LEFTSHIFT diff --git a/test.s65 b/test.s65 index 5799c87..e863888 100644 --- a/test.s65 +++ b/test.s65 @@ -1,26 +1,22 @@ -.include "other/file.h65" +; .include "other/file.h65" -.zeropage -var1: .res 1 -char: .res 1 -.code -.proc my_subroutine - pha - bbr4 var1,@bit_4_set - bit var1 - ; macro packs are supported - jmi other_routine - lda #'a' - sta char - bra @end -@bit_4_set: - ; custom macros can be highlighted - Printf STR_FMT,char,var1 -@end: - pla - rts -.endproc +.segment "TEST" +; .proc my_subroutine +; pha +; bbr4 var1,@bit_4_set +; bit var1 +; ; macro packs are supported +; jmi other_routine +; lda #'a' +; sta char +; bra @end +; @bit_4_set: +; ; custom macros can be highlighted +; Printf STR_FMT,char,var1 +; @end: +; pla +; rts +; .endproc -.rodata -STR_FMT: .asciiz "%c: num=%x" +; STR_FMT: .asciiz "%c: num=%x"