rm debug code

This commit is contained in:
matthias@arch 2024-01-14 04:26:58 +01:00
parent 64492a5f6b
commit eb2fb061a0
2 changed files with 19 additions and 29 deletions

View File

@ -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

View File

@ -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"