Tandy WP-2 Service Manual page 132

Portable wordprocessor
Table of Contents

Advertisement

DEVROOM
ENTRY:
ENTER:
EXIT:
EXIT:
REGISTERS
PRESERVED
Get
device's
rest size.
01C1H
A
=
device
number
02H:
internal
RAM
disk
03H: IC
RAM
card
1
1H;
disk drive
Carry Flag
set
=
error
Carry
Flag
reset
=no
error
HL
=room
left
in
128-byle
unit
IXJY
AF,BC',DE',HL'
SEEK
=
ENTRY:
ENTER:
EXIT:
REGISTERS
PRESERVED
SEEK
FILE
POINTER
(only
for
RAM
disk
file
and IC
card
RAM
disk
file)
01BEH
HL
=fcb
pointer
DE
=seek
pos
from head
Carry
Flag
set
=
error
Carry
Flag
reset
=no
error
IX.IY
AF',BC',DE\HL'
WAIT =
ENTRY:
ENTER:
EXIT:
REGISTERS
PRESERVED
Wait
for
fix
time.
01A0H
A =
time
for
wait
in
1/100
sec unit
Nothing
BC,DE,HL,IX,IY
AF',BC\DE\HL'
RUNIC =
ENTRY:
ENTER:
EXIT:
REGISTERS
PRESERVED
Run
IC
card program.
01AFH
Nothing
Depends on
card
program.
Depends on
card program.
RUNFILE =
ENTRY:
ENTER:
EXIT:
REGISTERS
PRESERVED
Run
a
program
file
01B2H
HL
=
fcb pointer
File
header
is:
db
'PR'
;
id
dw
Size
dw
entry
dw
load
Nothing.
Depends
on program
program
size
entry of
program
load address.
If
0,
then
normal.
POFFCOUNTPOINTER =
ENTRY:
ENTER:
EXIT:
REGISTERS
PRESERVED
Get
Power
off
counter
pointer.
01B5H
Nothing.
HL
=pointer
to
power
off
counter
IX,IY
AF\BC\DE',HL"
SETBTYPE =
ENTRY:
ENTER:
EXIT:
REGISTERS
PRESERVED
Set battery
type.
01B8H
A =0
:Alkaline
1
:Ni-Cd
Nothing.
HL,IX,1Y
AF'.BCDE'.HL'
D-ll

Advertisement

Table of Contents
loading

Table of Contents