wait by atariki

This commit is contained in:
2023-01-22 22:46:47 -05:00
parent ab30227843
commit 41094db7dd
2 changed files with 8 additions and 1 deletions
+8 -1
View File
@@ -73,7 +73,14 @@
PLA
.ENDM
;-------------------------------------
.MACRO WAIT
.macro wait
bit VCOUNT
bmi *-3
bit VCOUNT
bpl *-3
.endm
;-------------------------------------
.MACRO WAITer
; WAIT
; waits one frame (1/50 s(PAL) or 1/60s(NTSC))
?ze LDA VCOUNT