Levels with 80 characters per line work properly

This commit is contained in:
Pecusx
2024-12-05 20:43:33 +01:00
parent 4d4395e02e
commit ba875c91cd
3 changed files with 13 additions and 0 deletions
BIN
View File
Binary file not shown.
+13
View File
@@ -1633,6 +1633,8 @@ SmallBrick
lda xpos
cmp #screenWidth
bne drawBricksLoop
; if screenwidth is reached we skip all buffer characters up to EOL.
jsr skipToEOL
EndOfLine
inc ypos
lda ypos
@@ -1649,6 +1651,17 @@ LevelDataError
; errer in data - set level to o (internal) and draw level
mva #0 LevelType
jmp level000
skipToEOL
ldy #0
lda (inlevel),y
beq skipped ; if end of data
inw inlevel
cmp #EOL ; Atari LF
beq skipped
cmp #LF_PC ; PC LF
bne skipToEOL ; next data character
skipped
rts
.endp
;--------------------------------------------------
.proc RmtSongSelect
BIN
View File
Binary file not shown.