Instruction manual

KIM and SYM Format
Cassette Tapes
on
APPLE II
Steven
M.
Welch
309
S.
Sunset
Longmont, CO
80501
Now you can swap programs and data between your
APPLE and any AIM, gYM
or
KIM via cassette
110.
LARGELY
COPIED
FROM
THE
SYNERTEK
MANUAL,
AND
REPRODUCED
HERE
WITH
THE
PERMISSION
or
SYNERTEK
SYSTEMS
CORP.
<STARTING
AT
PAGE
8
Of
THE
AUDIO
CASSTTE INTERFACE
PROGRAM)
START
I
---ENTRY-
PARAMETERS
SET
BEfORE
CALL
S8S
I---IN
CASE
WE
TAKE
KIM
BRANCH
MODE
I---TEST
BIT 7
Of
MODE
(I-SYM,IEKIM)
DUMPTI
'KIM-DO
128
SYNS
MARK
(THIS
COULD
BE
SHORTER)
S8
18
TIMES
•••
SiS
I
•••
ONE
SEC
<21
DELAYS
PER
SEC)
DELAY
J~~~BENIGH
PAUSE,
SYM
USES
KIM
CHA~
Many KIM and SYM owners have
graduated
to
bigger and
better
6502
systems" as
their
needs and
financial
situations
changed.
If
you are one
of
these people, and find
that
your
KIM
is
sitting
in
the
corner
gathering
dust
because your APPLE is so much
easier
to
work
with, read on.
With
this
program,
you can use
your
APPLE as a
"host
com-
puter"
for
assembly
language program
development and then
"down
load"
the
finished
program
into
your
single
board
computer
(SBG).
Just
like the big
boys!
Not
only
will
you make
better
use
of
your
several hundred
dollar
investment, but
you
will
also
have the
bonus
of
a new set
of
computer
jargon
to
bore
your
friends.
The
value
of
developing
assembly
language
programs
in
this
fashion can-
not
be
fully
appreciated
until
you use
the
APPLE to develop a sizeable program for
the SYM
or
KIM. The
many
miseries
of
hand
assembling
magically
disappear.
The
constant
verbal self-abuse which
generally
accompanies
calculator
keyboard
entry
and
debugging
quickly
becomes a fading memory. Have you
ever
forgotten
to
initialize
a loop
counter
only
to
realize it
300
bytes
of
hand
assembly
later?
The program
listed
here was pro-
duced
to
fill a need; a need to develop a
large program
on
a SYM. I
estimate
that
we
have saved an
absolute
minimum
of
2 man-months in
the
development
of
a
1500
byte
program by
using
the
APPLE
for entry,
debugging
and assembling.
Also, having a real
assembler
easily
available to us,
we
have
written
better
code and have
not
needed the
numerous
patches and kludges
which
inevitably
crop up when one writes large
programs
in
machine
code. At
the
University
of
Colorado
at
Boulder, where I am
employed,
we
are
developing
a
microprocessor-controlled
Charge
Coupled Photo Diode [CCPDj spec-
trographic
detector
for
the
Sommers-
Bausch Observatory using a SYM-1 com-
puter.
Although
this
is
a very nice SBC,
it
lacks certain features which are
highly
desireable in a
computer
that
will be us-
ed
for program development, e.g., fast The
"big
boys"
get around the lack
mass
storage, an assembler,
text
editor,
of
these features
by
purchasing [usually
ASCII keyboard, and
display
device.
It
for
$10-20,000), a
Microprocessor
seemed to us
that
the
controlling
pro- Development System. While our obser-
gram was
going
to
take
a great deal
of
vatery
didn't
have the ten
or
twenty
thou-
time
to devise
without
these several con- sand
dollars
to
throwaway,
we did have
veniences. access
to
an
APPLE
II
computer
belong-
;SYM
AND
KIM
FORHAT
CASSETTE TAPE
OUTPUT
fOR
APPLE
11
J
J
J
J
J
J
JBY
STEVE
WELCH~
13
JUNE
79~
3S9 S SUNSET,
LONGMONT,
CO
Besel,USA
J
MOST
SV
COKMENTS
ARE
INDICATED
BY
---
J
.DEF
TAPOUT-SC,2S
J---
USE APPLE
GAME
PADDLE
ANNUNCIATOR
10
fOR TAPE
RECORDER
;---
ON-OFf
CONTROL.
RECORDER
ON
IS
LOW
.DEF
TAPEOY-SC859
;---PUT
S
HERE
TO
TURN
ON
~'DEF
TAPEO
f-SCIl
58
j---PUT
I liERE
TO
TURN
OFF
~DEF
TM1588-S47
I---PROB
SliOULD
BE
TWEAKED
~DEF
TIME99-SIA
j---FOR
DELAY
ROUTINE
·'-DEF
EOT-se4
-'-DEF
SYN-S
16
''-DEF
BUFADL-SE7
;---ARBlTRARY
PLACE
ON
ZERO
PAGE
~DEF
BUFAOH-SES
~DEF
CHAR-SEA
J
J ---PROGRAM
STARTS
HEaE. LINE
391
Of
SYM
CODE,
LOC
B£8 7
J
.DEF
BEGIN-SIS8S
;---MUST
START
IN
MIDDLE
Of
PAGE
.LOC BEGIN
I---OUT
OF
THE
WAY
OF
MOST
SYM
PROGS
J---
INITILIZE
IS88
2S
BBII
SY"OUTI
JSR
IS83
A8
81
LOYI
UI85
2C
Eell
BIT
IS88
II
8D
BPL
J---
WRITE
8
SECOND
11I8A
A2
18
LDXI
IlI8C
A8
15
MARK8AI
LDYI
118E
2S
9511
MARK8BI
JSR
1191
88
DEY
I
S92
08
FA
SHE
MARK8B
11194
CA
DLK
1195
08
FS BIlE
MARK8A
J---
WRITE
256
SYMS,
FOR
SYNC
IS97
A9
16
DUMPTI. LDAI
SYM
1899
21
8711
JSR
OUTCTX
1.9C
88
DEY
1190
1lfI
F8 BIlE
DUMPT
I
;
---
WRITE
START
CHARACTER
119Y
A9
2A
LDAI
'.'
18AI
28
8711
JSR
OUTCTX
,---
VRITE ID
IIA4
AD
DFII
LOA
10
11
..
7
21
3BII
",SR
OUTBTX
December, 1979
MICRO
--
The 6502
Journal
19:51