fix codestyle

This commit is contained in:
Konstantin
2025-06-08 23:20:21 +03:00
parent 34daf33d93
commit 41a82f7165
6 changed files with 38 additions and 11 deletions

View File

@@ -20,7 +20,8 @@ _cputc:
ldy #$00
sty CH
rts
notleft:cmp #$0A
notleft:
cmp #$0A
beq newline
putchar:
ldy CH
@@ -30,16 +31,19 @@ putchar:
bmi wch
sta (BASL),Y
iny
wch:sty CH
wch:
sty CH
cpy WNDWDTH
bcc noend
ldy #$00
sty CH
newline:inc CV
newline:
inc CV
lda CV
cmp WNDBTM
bcc :+
lda WNDTOP
sta CV
: jmp VTABZ
noend: rts
noend:
rts