From 40c49b6809eb8d34df7be5ec1105a52142a7be96 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 27 Feb 2024 19:09:50 +0100 Subject: [PATCH] names refactor --- colors.S | 6 +++--- main.S | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/colors.S b/colors.S index e18aa20..a575272 100644 --- a/colors.S +++ b/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 diff --git a/main.S b/main.S index 1659b13..6bd1e64 100644 --- a/main.S +++ b/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