EasyManua.ls Logo

Sharp MZ-5500 - Page 71

Sharp MZ-5500
114 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10-5.
RS232C
sampIe
program
(l)
In
the
case
of
the
example-l
°The
file
name "ABC.LST"
is
transferred
on
CP/M-86.
Set
the
following
using
the
RSPARM
utility
for
both
transmit
and
receive
sides.
Fl:
1200
Baud
rate
F2: 8
Ward
length
F3:
None
Parity
F4:
2
Stop
bits
F5:
No
Send/receive
DR
monitoring
F6:
No
Send
CS
monitoring
F7:
No
Echo
back
F8:
No
Xon/Xoff
F9:
Exit
FIO:
Set
RS232C
parameter
and
exit
Also,
set
the
following
using
the
ASSIGN
utility.
Fl:
Console
IN
F2:
Console
OUT
F3:
Auxiliary
IN
F4:
Auxiliary
OUT
F5
:
List
Out
Input
device
Output
device
Key
Port
A
Port
B
Screen
Port
A
Port
B
Printer
ON
---
---
---
---
---
---
---
ON
ON
---
---
---
---
---
---
---
ON
---
---
---
ON
F9:
Exit
FI0:
Assign
and
exit
Now,
transfer
the
file
using
the
PIP
command.
eTransmit
side:
A>
PIP
AXO:=A:ABC.
LST
J
eReceive
side:
A>
PIP
A:
ABC.
LST=AXI:
~
NOTE:
With
this
PIP
command,
only
the
file
composed
of
the
ASCII
code
.
such
as
the
list
file
can
be
transferred.
To
transfer
the
binary
file
such
as
the
command
file,
the
transfer
program
must
be
created
by
the
user.
°Data
are
transferred
on BASIC-3.
eTransmit
side
10
CHANNEL
0,
9600,
"8N2"
20
X$="ABCDE"
30
SEND
X$;"@";
40
END
eReceive
side
10
CHANNEL
0,
9600,
"8N2"
20
RCV
X$,
0,
"@"
30
X$=LEFT$(X$,
LEN
X$-l)
40
DISP
X$
50
END

Related product manuals