All
and more about Sharp
PC
-1
500
at http:/lwww.PC-1500.info
1.
Determining
printing
character
size
and
direction
•
Spec
ifyi
ng
printing character size
Pr
int character size
(I
~
'9)
mu
st
be
sio
red
in
the character si
ze
memory (79F4H).
• Sp
ec
ify
in
g p
ri
nting direction
Pr
int directi
on
(0
~
,3)
mu
st
be stored
in
the
pr
int dir
ec
ti
on m
em
ory (79F2H).
2.
Restoration
of
array
and
two-character
variable
• Array variable
and
two-ch
aracter
var
ia
ble t
hat
cleared
by
means of
RU
N
op
er
ation
or
CLE
AR
command
can
be restored
by
operating the variable pointer (7899H,
789AH)
.
Number
of
bytes
dominat
ed by
the
arra
y variable
and
two-character vari
ab
le
should
be
deducted from the last address
of
the
fr
ee
area. then store it in the variable pointer.
•
Ho
w to st
ore
Assume n
ow
"
x"
is the
number
tha
t
~
h e
by
te
count
of
array
and two-character
va
riable
deducted from the l
as
t
add
ress
of
the
free area.
(/
= x / 256
b = x -
256*a
Wh
ere,
a: High order two digits when x is di
sp
layed in hexadecimal
fi
gure.
b:
Low
order
two digits when x is displayed in hexadecimal figure.
Wh
ereas, store a in the variable pointer 7899H and
bi
n 789AH.
• Last
addre
ss
of
the free area
System
configurat
ion
Address
PC
-15
00
only
4800H
PC
-1
50
0 +
CE
-1
51
5800H
PC
-1
50
0 +
CE-
155
6000H
PC-
1
50
0 +
CE-159
4800H
•
Number
of
bytes used for the
array
and two-character varia
bl
e
Numeric
arra
y variabl
e:
7 bytes + 8 bytes * si.
zc
of array
No
nn
ume
ric
arra
y vari
ab
le:
7 bytes + character length * si
ze
of
a
rray
(
Cha
rac
ter si
ze
is normally
16
c
hara
cter
s.
)
Numeric two-character v
ar
i
ab
le:
7 bytes + 8 bytes
C
hara
cter t
wo
-c
hara
cter
va
riabl
e:
7 b
ytes+
16
bytes
3.
Knowing
the
use
of
CE-150
150
Because the syst
em
program
ROM
of
the
CE
-1
50 resides in t
he
CE-
150,
rFH
wi
ll
be read
when
a
MEO
addr
e
ss
range
of
AOOOH
thru B
FFF
H is accessed with the
CE
- I
SO
not
conn
ected to the
PC
-1500. If connect
ed.
the
co
ntents
of
AOOOH
will
fe
tch
CO
H.
NOTE:
PV
mus
t be reset.
Do
not sell this PDF !! !