]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos-common/conio/_scrsize.s
Fixed several aspects of the GEOS CONIO implementation:
[cc65] / libsrc / geos-common / conio / _scrsize.s
index da6b2d33d466dcda3afe20fc31267fa2afb04b51..31d64e1f4c8d3fbcb984b6aec66f0358a76f4b8b 100644 (file)
@@ -24,18 +24,16 @@ initscrsize:
        .byte $2c
 L1:    lda #40                 ; 40 columns (more or less)
        sta xsize
-       lda #24                 ; something like that for Y size
+       lda #25                 ; something like that for Y size
 .else
        lda #70                 ; 70 columns (more or less)
        sta xsize
-       lda #23                 ; something like that for Y size
+       lda #24                 ; something like that for Y size
 .endif
        sta ysize
-       ldx #1
-       stx cursor_r
-       dex 
-       stx cursor_c
-       txa 
+       lda #0
+       sta cursor_c
+       sta cursor_r
        jmp _cursor             ; home and update cursor
 
 .code