mirror of
https://github.com/cc65/cc65.git
synced 2025-04-06 20:37:16 +00:00
Implemented line wrap.
According to https://github.com/cc65/wiki/wiki/Direct-console-IO it is undefined what happens when the end of the sceen is reached. But it is _not_ undefined what happens when the end of the line is reached. So implement the usual thing - which was easy enough to do after all.
This commit is contained in:
parent
f8c6c58373
commit
1644bcdf03
@ -50,6 +50,7 @@ cputdirect:
|
||||
lda CH
|
||||
cmp WNDWDTH
|
||||
bcc :+
|
||||
jsr newline
|
||||
left: lda #$00 ; Goto left edge of screen
|
||||
sta CH
|
||||
: rts
|
||||
|
Loading…
x
Reference in New Issue
Block a user