home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
canada-remote-systems
/
geos
/
drivers
/
shelldc2.sda
/
PCHANSERIAL5
(
.txt
)
< prev
next >
Wrap
GEOS ConVerT
|
2019-04-13
|
2KB
|
64 lines
PChanSerial5
PRG formatted GEOS file V1.0
Star NX-10
OP V2.0 or higherIN.LNK
EPSON24PINGC.LNK
BLASTER'S CONVERTER V2.5
EP8PIN3PASS.LNK
OKIMATE20G
Write Image V2.0
geoWrite V2.1
.Source code for interface part of Shell Printer Driver for serial bus interfaces.
.include ShellZero
@nPrimary
@nSeconda
ry =$60+5
@InitForI
O ==$c25c
@DoneWith
IO ==$c25f
@SetDevic
e ==$c2b0
@Second
==$ff93
@CIOut
==$ffa8
@Unlisten
==$ffae
@Listen
==$ffb1
.psect
@XfaceAdd
ress:
@rOpenCha
nnel:
lda #4
jsr SetDevice ;Configure hardware for I/O.
jsr InitForIO
lda #0 ;Clear error indication.
sta STATUS
lda Primary ;DeviceNumber
jsr Listen
lda Secondary ;Get secondary address.
jmp Second
@rCloseCh
annel:
jsr Unlisten
lda Primary ;Get Device Number.
jsr Listen
lda #$e0 ;Get default secondary address.
jsr Second
jsr Unlisten
jmp DoneWithIO
@rSendByt
jmp CIOut
@ProgEnd
HGEOS Printer Serial Bus SA=5
Page: PAGE
Printed on: DATE At: TIME File: PChanSerial5
---------
HGEOS Printer Serial Bus SA=5
Page: PAGE
Printed on: DATE At: TIME File: PChanSerial5
----------------------------------------------------------------------------------------------