home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er
/
64ER_CD.iso
/
s85xx
/
s8504b.d64
/
write.src
< prev
next >
Wrap
Text File
|
1995-03-30
|
670b
|
28 lines
; "WRITE" RICHARD L. RYLANDER
; 12/30/84
; REVISED 1/19/85 - ORIGIN MOVED TO $CFE5 (53221.)
;
; PUT TEXT CHARACTERS ON GRAPHIC SCREEN
; (UNDER BASIC ROM) IN VARIOUS STYLES
;
*=$CFE5 ; PUT CODE AFTER DOS 5.1
WRITE LDA $01 ; SWITCH OUT BASIC ROM
AND #$FE
STA $01
LDY #7
LOOP LDA ($FD),Y ; READ CHARACTER BYTE
AND ($FB),Y ; MODIFY W/SCREEN BYTE
STA ($FB),Y ; STORE IN SCREEN
;
; POKE NEW LOGICAL OPERATOR TO REPLACE
; 'AND' (53231.) FOR DIFFERENT STYLES
; ORA=17. BIT (NOP)=36. AND=49. EOR=81.
;
DEY
BPL LOOP
LDA $01 ; RESTORE BASIC ROM
ORA #1
STA $01
RTS
.END