import RDTIM symbol instead of hard-wiring it here
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
|
|
||||||
.export _waitvsync
|
.export _waitvsync
|
||||||
.importzp tmp1
|
.importzp tmp1
|
||||||
|
.import RDTIM
|
||||||
|
|
||||||
.proc _waitvsync: near
|
.proc _waitvsync: near
|
||||||
RDTIM = $FFDE ; Kernal API for reading the jiffy timer
|
|
||||||
jsr RDTIM
|
jsr RDTIM
|
||||||
sta tmp1
|
sta tmp1
|
||||||
keep_waiting:
|
keep_waiting:
|
||||||
|
|||||||
Reference in New Issue
Block a user