1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-26 13:18:31 +00:00

fixed code a bit so it compiles again :)

This commit is contained in:
mrdudz
2017-06-17 02:26:54 +02:00
parent eb96a90e5f
commit 035621aa95
4 changed files with 22 additions and 42 deletions
+4 -11
View File
@@ -1,20 +1,13 @@
.export _waitvblank
.include "c128/c128.inc"
.include "c128.inc"
_waitvblank:
lda PALFLAG
beq @ntsc
ldx #(312-24)-256
.byte $2c
@ntsc:
ldx #(262-4)-256
@l1:
lda VIC_CTRL1
and #$80
beq @l1
bpl @l1
@l2:
cpx VIC_HLINE
bcs @l2
lda VIC_CTRL1
bmi @l2
rts