mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +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:
parent
c8215a37df
commit
f3605c162b
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user