]> git.sur5r.net Git - cc65/commitdiff
Removed revers as it doesn't influence clrscr, cclear, chline, cvline and does look...
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 19 Oct 2012 07:11:04 +0000 (07:11 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 19 Oct 2012 07:11:04 +0000 (07:11 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5861 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos-common/conio/Makefile
libsrc/geos-common/conio/color.s [deleted file]
libsrc/geos-common/conio/dummies.s [new file with mode: 0644]
libsrc/geos-common/conio/revers.s [deleted file]

index 10675454117c9b0651ca5ba8917fc17594ea7124..228364759dfe2f6405ef16bcb0f9455ec6a98f4a 100644 (file)
@@ -10,11 +10,10 @@ S_OBJS +=   _scrsize.o      \
                cgetc.o         \
                chline.o        \
                clrscr.o        \
-               color.o         \
                cputc.o         \
                cursor.o        \
                cvline.o        \
+               dummies.o       \
                gotoxy.o        \
                kbhit.o         \
-               revers.o        \
                where.o
diff --git a/libsrc/geos-common/conio/color.s b/libsrc/geos-common/conio/color.s
deleted file mode 100644 (file)
index fbf86e9..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-;
-; Maciej 'YTM/Elysium' Witkowiak
-;
-; 27.10.2001
-
-; unsigned char __fastcall__ textcolor (unsigned char color);
-; unsigned char __fastcall__ bgcolor (unsigned char color);
-; unsigned char __fastcall__ bordercolor (unsigned char color);
-;
-
-           .export _textcolor, _bgcolor, _bordercolor
-
-; for GEOS 2.0 there is no color support, perhaps Wheels has it
-
-_textcolor:
-_bgcolor:
-_bordercolor:
-       rts
diff --git a/libsrc/geos-common/conio/dummies.s b/libsrc/geos-common/conio/dummies.s
new file mode 100644 (file)
index 0000000..ac49410
--- /dev/null
@@ -0,0 +1,18 @@
+;
+; Maciej 'YTM/Elysium' Witkowiak
+;
+; 27.10.2001
+
+; unsigned char __fastcall__ textcolor (unsigned char color);
+; unsigned char __fastcall__ bgcolor (unsigned char color);
+; unsigned char __fastcall__ bordercolor (unsigned char color);
+; unsigned char __fastcall__ revers (unsigned char onoff);
+;
+
+           .export _textcolor, _bgcolor, _bordercolor, _revers
+           .import return0
+
+_textcolor     = return0
+_bgcolor       = return0
+_bordercolor   = return0
+_revers                = return0
diff --git a/libsrc/geos-common/conio/revers.s b/libsrc/geos-common/conio/revers.s
deleted file mode 100644 (file)
index 320ed6a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-;
-; Maciej 'YTM/Elysium' Witkowiak
-;
-; 27.10.2001
-
-; unsigned char revers (unsigned char onoff);
-
-           .export _revers
-           .importzp tmp1
-
-           .include "geossym.inc"
-           .include "const.inc"
-
-_revers:
-       tax
-       bne L0                  ; turn on
-       lda #0
-       .byte $2c
-L0:    lda #SET_REVERSE
-       sta tmp1
-
-       lda currentMode
-       tax
-       and #SET_REVERSE
-       tay                     ; store old value
-       txa
-       and #%11011111          ; mask out
-       ora tmp1                ; set new value
-       sta currentMode
-
-       ldx #0
-       tya
-       beq L1
-       lda #1
-L1:    rts