Merge pull request #453 from mrdudz/waitvsync

waitvblank for cbm targets
This commit is contained in:
Oliver Schmidt
2017-07-18 15:38:27 +02:00
committed by GitHub
19 changed files with 142 additions and 26 deletions

View File

@@ -1,16 +1,18 @@
;
; void waitvblank (void);
; Written by Groepaz <groepaz@gmx.net>
;
; void waitvsync (void);
;
.include "gamate.inc"
.include "extzp.inc"
.forceimport ticktock
.export _waitvblank
.export _waitvsync
; FIXME: is this actually correct?
.proc _waitvblank
.proc _waitvsync
lda tickcount
@lp: cmp tickcount