mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 06:25:17 +00:00
Removed revers as it doesn't influence clrscr, cclear, chline, cvline and does look pretty ugly on cputs because there's no opaque background.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5861 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -10,11 +10,10 @@ S_OBJS += _scrsize.o \
|
|||||||
cgetc.o \
|
cgetc.o \
|
||||||
chline.o \
|
chline.o \
|
||||||
clrscr.o \
|
clrscr.o \
|
||||||
color.o \
|
|
||||||
cputc.o \
|
cputc.o \
|
||||||
cursor.o \
|
cursor.o \
|
||||||
cvline.o \
|
cvline.o \
|
||||||
|
dummies.o \
|
||||||
gotoxy.o \
|
gotoxy.o \
|
||||||
kbhit.o \
|
kbhit.o \
|
||||||
revers.o \
|
|
||||||
where.o
|
where.o
|
||||||
|
@@ -6,13 +6,13 @@
|
|||||||
; unsigned char __fastcall__ textcolor (unsigned char color);
|
; unsigned char __fastcall__ textcolor (unsigned char color);
|
||||||
; unsigned char __fastcall__ bgcolor (unsigned char color);
|
; unsigned char __fastcall__ bgcolor (unsigned char color);
|
||||||
; unsigned char __fastcall__ bordercolor (unsigned char color);
|
; unsigned char __fastcall__ bordercolor (unsigned char color);
|
||||||
|
; unsigned char __fastcall__ revers (unsigned char onoff);
|
||||||
;
|
;
|
||||||
|
|
||||||
.export _textcolor, _bgcolor, _bordercolor
|
.export _textcolor, _bgcolor, _bordercolor, _revers
|
||||||
|
.import return0
|
||||||
|
|
||||||
; for GEOS 2.0 there is no color support, perhaps Wheels has it
|
_textcolor = return0
|
||||||
|
_bgcolor = return0
|
||||||
_textcolor:
|
_bordercolor = return0
|
||||||
_bgcolor:
|
_revers = return0
|
||||||
_bordercolor:
|
|
||||||
rts
|
|
@@ -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
|
|
Reference in New Issue
Block a user