Minor optimization and new macro: waitRTC (not used yet)

This commit is contained in:
Pecusx
2023-01-15 20:47:10 +01:00
parent e9ec39005f
commit 9ec78928f1
6 changed files with 14 additions and 2 deletions
+6
View File
@@ -91,6 +91,12 @@
bcs ?WFRAME
?nowait
.ENDM
;-------------------------------------
.macro waitRTC
lda RTCLOK+1
?wa cmp RTCLOK+1
beq ?wa
.endm
;-------------------------------------
.macro negw
; negate the given word (0-a)
+6
View File
@@ -90,6 +90,12 @@
bcs ?WFRAME
?nowait
.ENDM
;-------------------------------------
.macro waitRTC
lda RTCLOK+2
?wa cmp RTCLOK+2
beq ?wa
.endm
;-------------------------------------
.macro negw
; negate the given word (0-a)