]> git.sur5r.net Git - cc65/blobdiff - libsrc/plus4/conio.s
Merge pull request #24 from greg-king5/oric
[cc65] / libsrc / plus4 / conio.s
index 11d5307f6b66c5692a2680bea4da5b6e2583f021..feca30c6898dfc1ca9500b0e29333d11405076c8 100644 (file)
@@ -4,38 +4,7 @@
 ; Low level stuff for screen output/console input
 ;
 
-       .export         initconio, doneconio
-       .exportzp       CURS_X, CURS_Y
-       .import         xsize, ysize
+        .exportzp       CURS_X, CURS_Y
 
-       .include        "plus4.inc"
-       .include        "../cbm/cbm.inc"
-
-.code
-
-initconio:
-       jsr     SCREEN
-       stx     xsize
-       sty     ysize
-       ldy     #15
-L1:    lda     fnkeys,y
-       sta     FKEY_SPACE,y
-       dey
-       bpl     L1
-       rts
-
-
-doneconio:
-       ldx     #$39            ; Copy the original function keys
-L2:    lda     FKEY_ORIG,x
-       sta     FKEY_SPACE,x
-       dex
-       bpl     L2
-       rts
-
-; Function key table, readonly
-
-.rodata
-fnkeys:        .byte   $01, $01, $01, $01, $01, $01, $01, $01
-       .byte   133, 137, 134, 138, 135, 139, 136, 140
+        .include        "plus4.inc"