initial import from old sources

This commit is contained in:
mrdudz
2016-02-28 22:35:46 +01:00
parent 25f4482641
commit eb96a90e5f
4 changed files with 93 additions and 0 deletions

16
libsrc/vic20/waitvblank.s Normal file
View File

@@ -0,0 +1,16 @@
.export _waitvblank
.include "vic20/vic20.inc"
_waitvblank:
lda PALFLAG
beq @ntsc
ldx #(312-8)/2
.byte $2c
@ntsc:
ldx #(262-8)/2
@l2:
cpx VIC_HLINE
bcs @l2
rts