rm debug code
This commit is contained in:
parent
64492a5f6b
commit
eb2fb061a0
@ -145,9 +145,6 @@ x_ge_60: ; x >= $60
|
|||||||
lda CHARS_NOMOD,x
|
lda CHARS_NOMOD,x
|
||||||
bra check_char
|
bra check_char
|
||||||
check_release: ; x >= $90
|
check_release: ; x >= $90
|
||||||
; DEBUG
|
|
||||||
lda #'9'
|
|
||||||
sta char
|
|
||||||
cpx #kb::K_BREAK
|
cpx #kb::K_BREAK
|
||||||
bne _rts
|
bne _rts
|
||||||
lda #$ff
|
lda #$ff
|
||||||
@ -235,9 +232,6 @@ update_leds:
|
|||||||
.proc break_key
|
.proc break_key
|
||||||
; rmb kb::PREVIOUS::BREAK, kb::previous_scancode
|
; rmb kb::PREVIOUS::BREAK, kb::previous_scancode
|
||||||
stz previous_scancode
|
stz previous_scancode
|
||||||
; DEBUG
|
|
||||||
lda #'F'
|
|
||||||
sta char
|
|
||||||
|
|
||||||
; check mod keys
|
; check mod keys
|
||||||
cpx #kb::K::LEFTSHIFT
|
cpx #kb::K::LEFTSHIFT
|
||||||
|
42
test.s65
42
test.s65
@ -1,26 +1,22 @@
|
|||||||
.include "other/file.h65"
|
; .include "other/file.h65"
|
||||||
|
|
||||||
.zeropage
|
|
||||||
var1: .res 1
|
|
||||||
char: .res 1
|
|
||||||
|
|
||||||
.code
|
.segment "TEST"
|
||||||
.proc my_subroutine
|
; .proc my_subroutine
|
||||||
pha
|
; pha
|
||||||
bbr4 var1,@bit_4_set
|
; bbr4 var1,@bit_4_set
|
||||||
bit var1
|
; bit var1
|
||||||
; macro packs are supported
|
; ; macro packs are supported
|
||||||
jmi other_routine
|
; jmi other_routine
|
||||||
lda #'a'
|
; lda #'a'
|
||||||
sta char
|
; sta char
|
||||||
bra @end
|
; bra @end
|
||||||
@bit_4_set:
|
; @bit_4_set:
|
||||||
; custom macros can be highlighted
|
; ; custom macros can be highlighted
|
||||||
Printf STR_FMT,char,var1
|
; Printf STR_FMT,char,var1
|
||||||
@end:
|
; @end:
|
||||||
pla
|
; pla
|
||||||
rts
|
; rts
|
||||||
.endproc
|
; .endproc
|
||||||
|
|
||||||
.rodata
|
; STR_FMT: .asciiz "%c: num=%x"
|
||||||
STR_FMT: .asciiz "%c: num=%x"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user