Fixed several aspects of the GEOS CONIO implementation:

- cputc was drawing at the wrong position, therefore one line had to be removed as a workaround.
- chline, cvline were drawing one pixel to large lines.
- cclear was drawing an in both directions one pixel to big rect.
- the cursor was drawn at wrong times at wrong places in a wrong size.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5874 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2012-10-23 19:42:57 +00:00
parent 9930379665
commit 46f1085e2d
11 changed files with 59 additions and 80 deletions

View File

@@ -25,7 +25,7 @@ _cvline:
tax
lda cursor_x ; x position
clc
adc #4 ; in the middle of cell
adc #3 ; in the middle of cell
sta r4L
lda cursor_x+1
adc #0
@@ -36,10 +36,12 @@ _cvline:
clc
adc cursor_r
sta cursor_r
asl a
asl a
asl a
clc ; one pixel less
sbc #0
sta r3H
asl r3H
asl r3H
asl r3H
lda #%11111111 ; pattern
jsr VerticalLine
jsr fixcursor