1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Fixed a bug in LF handling for the CBM machines

git-svn-id: svn://svn.cc65.org/cc65/trunk@156 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-07-16 20:24:10 +00:00
parent c8215a37df
commit f3605c162b
5 changed files with 16 additions and 16 deletions

View File

@ -6,7 +6,7 @@
;
.export _cputcxy, _cputc, cputdirect, putchar
.export advance, newline, plot
.export plot
.import popa, _gotoxy
.import xsize, revers
@ -54,16 +54,16 @@ advance:
iny
cpy xsize
bne L9
ldy #0 ; new line
newline:
ldy #0 ; new line
clc
lda xsize
adc SCREEN_PTR
sta SCREEN_PTR
bcc L4
inc SCREEN_PTR+1
L4: clc
lda xsize
clc
L4: lda xsize
adc CRAM_PTR
sta CRAM_PTR
bcc L5

View File

@ -6,7 +6,7 @@
;
.export _cputcxy, _cputc, cputdirect, putchar
.export advance, newline, plot
.export plot
.import popa, _gotoxy
.import xsize, revers
@ -54,16 +54,16 @@ advance:
iny
cpy xsize
bne L9
ldy #0 ; new line
newline:
ldy #0 ; new line
clc
lda xsize
adc SCREEN_PTR
sta SCREEN_PTR
bcc L4
inc SCREEN_PTR+1
L4: clc
lda xsize
clc
L4: lda xsize
adc CRAM_PTR
sta CRAM_PTR
bcc L5

View File

@ -6,7 +6,7 @@
;
.export _cputcxy, _cputc, cputdirect, putchar
.export advance, newline, plot
.export plot
.exportzp CURS_X, CURS_Y
.import _gotoxy
.import popa
@ -57,8 +57,8 @@ advance:
iny
cpy xsize
bne L9
ldy #0 ; new line
newline:
ldy #0 ; new line
clc
lda xsize
adc CharPtr

View File

@ -6,7 +6,7 @@
;
.export _cputcxy, _cputc, cputdirect, putchar
.export advance, newline, plot
.export plot
.import popa, _gotoxy
.import xsize, revers
@ -54,8 +54,8 @@ advance:
iny
cpy xsize
bne L9
ldy #0 ; new line
newline:
ldy #0 ; new line
clc
lda xsize
adc SCREEN_PTR

View File

@ -6,7 +6,7 @@
;
.export _cputcxy, _cputc, cputdirect, putchar
.export advance, newline, plot
.export plot
.import popa, _gotoxy
.import xsize, revers
@ -54,16 +54,16 @@ advance:
iny
cpy xsize
bne L9
ldy #0 ; new line
newline:
ldy #0 ; new line
clc
lda xsize
adc SCREEN_PTR
sta SCREEN_PTR
bcc L4
inc SCREEN_PTR+1
L4: clc
lda xsize
clc
L4: lda xsize
adc CRAM_PTR
sta CRAM_PTR
bcc L5