mirror of
https://github.com/pkali/Avery_Breakout.git
synced 2026-05-20 22:33:55 +02:00
Levels with 80 characters per line work properly
This commit is contained in:
@@ -1633,6 +1633,8 @@ SmallBrick
|
|||||||
lda xpos
|
lda xpos
|
||||||
cmp #screenWidth
|
cmp #screenWidth
|
||||||
bne drawBricksLoop
|
bne drawBricksLoop
|
||||||
|
; if screenwidth is reached we skip all buffer characters up to EOL.
|
||||||
|
jsr skipToEOL
|
||||||
EndOfLine
|
EndOfLine
|
||||||
inc ypos
|
inc ypos
|
||||||
lda ypos
|
lda ypos
|
||||||
@@ -1649,6 +1651,17 @@ LevelDataError
|
|||||||
; errer in data - set level to o (internal) and draw level
|
; errer in data - set level to o (internal) and draw level
|
||||||
mva #0 LevelType
|
mva #0 LevelType
|
||||||
jmp level000
|
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
|
.endp
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
.proc RmtSongSelect
|
.proc RmtSongSelect
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user