Tandy 600 Programmer's Reference Manual page 201

Bios programmers
Hide thumbs Also See for 600:
Table of Contents

Advertisement

Appendix
C
PROGRAM
TRANSFER AND CONVERSION
All
programs
(applications or
device
drivers) written
in
8086 code
for
the
Tandy 600 must
reside
in
the
HH-DOS
file
system
as "pure
binary
fines."
In
other words,
these
files
must be
"core image",
or
in
HH*DOS
terms
they are
"Application
Memory
Image"
files.
Considering
the
existing
"software
tools"
for
the
Tandy
600,
this
presents
a major problem
for
the software developer:
How
to
get a
program which
was
written
on a
MS-DOS
machine
to
the
Tandy 600 and
into
HH-DOS's
file
system
in
the required
format?
A
simple
printer
filter
for
the
Tandy 600
solved
this
problem
in
the following
manner:
1)
Write the
code on
a
2000
following
the
rules of
HH-DOS's
device
drivers
as
explained
in
"16-Bit
Hand-held Operating
System Programmers
Reference
Guide",
February
25,
1985.
2)
Assemble and
link
using
MASM
and MS-LINK.
3)
Then
convert the
.EXE
file
to
binary using
MICRO-SOFT's
utility,
EXE2BIN.
4)
Convert the
binary
files
to
INTEL.HEX
file
with
16
byte records.
5)
Then
tranfer
the
.HEX
file
from
the
2000
to
the
Tandy 600
via
RS232.
The
comm
package
to
use on
2000
is
TELCOM
(DESKMATE). The
comm
package on
the
Tandy 600
is
also
TELCOM.
6)
At
this
point
the
.HEX
file
exists
in
the
HH-DOS's
file
system. Using
BASIC
on
the
Tandy
600,
modify
the
.HEX
to
binary
conversion
program
from OKI.
Convert
the
.HEX
file
to
binary using
this
BASIC
program (On
the
following
page).
7)
The INSTALL
utility
on
the
Tandy 600
is
then
used
to
make
the binary
file, i.e.
printer
filter,
resident.
195

Advertisement

Table of Contents
loading

Table of Contents