mirror of
https://github.com/cc65/cc65.git
synced 2025-04-06 04:41:08 +00:00
parent
e5cebeda76
commit
b0220e5456
@ -82,8 +82,8 @@ tvmode: ; PAL/NTSC check here, result in A
|
||||
pha
|
||||
lda #IO_IN ; enable access to I/O
|
||||
sta CPU_DATA
|
||||
bit rasreg
|
||||
bpl tvmode ; wait for rasterline 127<x<256
|
||||
: bit rasreg
|
||||
bpl :- ; wait for rasterline 127<x<256
|
||||
lda #24 ; (rasterline now >=256!)
|
||||
modelp:
|
||||
cmp rasreg ; wait for rasterline = 24 (or 280 on PAL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user