System Functions
The following is built-in commands
of
the
T h e
has 39 kinds of s y s t e m f u n c t i o n s .
The user
c a n s e t n e c e s s a r y p a r a m e t e r s i n t h e r e g i s t e r o r i n t h e b u f f e r ,
and
c a l l s
t h e B D O S o f t h e
So inside the BDOS, the job
b e i n g e x e c u t e d b y t h e g i v e n p a r a m e t e r , a n d t h e s t a t e b e i n g
r e t u r n e d t o
t h e u s e r ’ s p r o g r a m a u t o m a t i c a l l y .
The operations
a r e g e n e r a l l y d i v i d e d i n t o t w o c l a s s e s .
O n e i s f o r t h e I / O
d e v i c e , t h e o t h e r i s f o r t h e d i s k o p e r a t i o n .
ERA
E r a s e s p e c i f i e d f i l e s .
DIR
L i s t f i l e n a m e s i n t h e d i r e c t o r y .
REN
R e n a m e t h e s p e c i f i e d f i l e .
SAVE
Save memory contents
in a
file.
F o l l o w i n g a r e t h e I/O D e v i c e O p e r a t i o n .
TYPE
T y p e t h e c o n t e n t s o f
a
f i l e o n t h e
d i s k .
1.
Read
a Console Character
Write a Console Character
Read a Sequential Tape Character
Write a Sequential Tape Character
W r i t e a L i s t D e v i c e C h a r a c t e r
G e t o r S e t I/O Status
P r i n t C o n s o l e B u f f e r
Read Console Buffer
Interrogate Console Ready
T h e f o l l o w i n g i s t r a n s i e n t c o m m a n d s o f t h e
2.
3 .
STAT
ASM
LOAD
DDT
PIP
ED
SUBMIT
DUMP
MOVCPM
XSUB
4.
6 .
7.
8 .
F O R M A T
FSYSGEN
S Y S T E M
PROMW
FUNC
9.
The FDOS operations that perform disk I/O are.
P l e a s e r e f e r t o o u r
OPERATING SYSTEM MANUAL' for
detail o f t h e a b o v e c o m m a n d s .
Details for the commands with
sign
are
available
In this
1.
2.
3 .
Disk System Reset
D r i v e S e l e c t i o n
F i l e C r e a t i o n
File Open
F i l e C l o s e
Directory Search
F i l e D e l e t e
File Rename
Random or Sequential Read
Random or Sequential Write
manual.
4.
5.
6.
7.
8 .
9 .
10.