diff options
author | B. Watson <yalhcru@gmail.com> | 2021-05-21 04:21:00 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-05-21 04:21:00 -0400 |
commit | a025fb40fdf3563de0d044fbf0e2598ec5f5b97b (patch) | |
tree | bd57abf08d83ee6c73b8e790f3f241968a04d3da | |
parent | 94dedf208eb60127e19e62445b0609eb6274d1b1 (diff) | |
download | taipan-a025fb40fdf3563de0d044fbf0e2598ec5f5b97b.tar.gz |
Remove conio/revers.s (move to console.s)
-rw-r--r-- | conio/Makefile | 4 | ||||
-rw-r--r-- | conio/revers.s | 33 | ||||
-rw-r--r-- | console.s | 6 |
3 files changed, 6 insertions, 37 deletions
diff --git a/conio/Makefile b/conio/Makefile index b3cd9a3..7e42b7c 100644 --- a/conio/Makefile +++ b/conio/Makefile @@ -1,9 +1,9 @@ all: conio.lib -OBJS=cgetc.o chline.o cputc.o cputs.o cvline.o revers.o +OBJS=cgetc.o chline.o cputc.o cputs.o cvline.o # unused, disabled: -# clrscr.o gotox.o gotoxy.o gotoy.o wherex.o wherey.o +# clrscr.o gotox.o gotoxy.o gotoy.o wherex.o wherey.o revers.o conio.lib: $(OBJS) ar65 a conio.lib *.o diff --git a/conio/revers.s b/conio/revers.s deleted file mode 100644 index a04a969..0000000 --- a/conio/revers.s +++ /dev/null @@ -1,33 +0,0 @@ -; -; Ullrich von Bassewitz, 07.08.1998 - -; modified version for taipan, which doesn't actually -; call revers() any more. only _revflag is needed, see -; rvs_on() and rvs_off() in console.s. - -; -; unsigned char revers (unsigned char onoff); -; - .include "atari.inc" - -; .export _revers - .export _revflag - -;_revers: -; ldx #$00 ; Assume revers off -; tay ; Test onoff -; beq L1 ; Jump if off -; ldx #$80 ; Load on value -;L1: ldy #$00 ; Assume old value is zero -; lda _revflag ; Load old value -; stx _revflag ; Set new value -; beq L2 ; Jump if old value zero -; iny ; Make old value = 1 -;L2: ldx #$00 ; Load high byte of result -; tya ; Load low byte, set CC -; rts - - .bss - -_revflag: - .res 1 @@ -13,9 +13,9 @@ .export _rvs_on, _rvs_off .export _prepare_report, _clear_msg_window .export _print_status_desc, _print_month + .export _revflag - .importzp tmp3 ; ditto - .import _revflag ; conio/revers.s + .importzp tmp3 .import bump_destptr ; these two are .importzp destptr ; from draw_lorcha.s .importzp sreg @@ -417,3 +417,5 @@ months: .byte $ce, $ef, $f6, $00 .byte $c4, $e5, $e3, $00 + .bss +_revflag: .res 1 |