names refactor
This commit is contained in:
parent
c9b8fbba52
commit
40c49b6809
6
colors.S
6
colors.S
@ -3,9 +3,9 @@
|
||||
.section ".rodata","a"
|
||||
screendata_tmpl:
|
||||
.global screendata_tmpl
|
||||
.byte _off
|
||||
.byte _white
|
||||
.byte _off
|
||||
.byte _blue
|
||||
.byte _green
|
||||
.byte _red
|
||||
screendataend_tmpl:
|
||||
.byte 0xff
|
||||
|
||||
|
8
main.S
8
main.S
@ -41,6 +41,12 @@
|
||||
.macro clear_output_enable
|
||||
bic #BIT1, &P1OUT
|
||||
.endm
|
||||
.macro set_debug
|
||||
bis #BIT2, &P1OUT
|
||||
.endm
|
||||
.macro clear_debug
|
||||
bic #BIT2, &P1OUT
|
||||
.endm
|
||||
|
||||
.section ".data"
|
||||
screendata:
|
||||
@ -171,7 +177,7 @@ mainloop_wait_for_isr_2:
|
||||
mainloop_data_done:
|
||||
;; signal all data processed, isr finish
|
||||
bis #SIGNAL_ALL_DATA_DONE, SIGNAL_REGISTER
|
||||
bis #BIT2, &P1OUT
|
||||
set_debug
|
||||
;; continue
|
||||
jmp mainloop
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user