1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-20 17:20:49 +00:00

fix problem in _get_tv for GEOS CBM

Found by mkslack, see #2046
This commit is contained in:
Christian Groessler
2025-03-02 09:26:31 +01:00
parent e5cebeda76
commit b0220e5456
+2 -2
View File
@@ -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)