home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
canada-remote-systems
/
geos
/
drivers
/
shelldc2.sda
/
PETASCII
(
.txt
)
< prev
next >
Wrap
GEOS ConVerT
|
2019-04-13
|
2KB
|
61 lines
PetASCII
PRG formatted GEOS file V1.0
Star NX-10
OP V2.0 or higherHELL
SHELLHEADER
BLASTER'S CONVERTER V2.5
PETASCII
PChanGC
Write Image V2.0
geoWrite V2.1
.Source code for text part of Shell Printer Drivers for Commodore type printers.
.include ShellZero
.psect
@TextAddr
@rStartTe
jsr OpenChannel
ldx #mBeginText
bne ContText
@rPrintTe
jsr OpenChannel
50$ ldy #0
lda (r0),y
beq ExitText
60$ inc r0
bne 70$
inc r0+1
70$ cmp #CR
beq 80$
cmp #LF
bne 90$
80$ ldx #mTextLineFeed
jsr SendMessage
bvc 50$
90$ cmp #$41
bcc 110$
cmp #$7b
bcs 110$
cmp #$60
beq 110$
100$ eor #$20
cmp #$7b
bcs 100$
110$ jsr SendByte
bvc 50$
@rStopTex
jsr OpenChannel
ldx #mEndText
@ContText
jsr SendMessage
@ExitText
jsr CloseChannel
ldx #0
HGEOS print PetASCII text file
Page: PAGE
Printed on: DATE At: TIME File: PetASCII
-----------------------
HGEOS print PetASCII text file
Page: PAGE
Printed on: DATE At: TIME File: PetASCII
-----------------------------------------------------------------------------------------------