Download Print this page

IMS IMSAI 8080 User Manual page 378

Advertisement

T H E O R Y O F O P E R A T IO N
T h e
U C R I D r i v e r
t o
t h e
U C R I
B o a r d .
t o
b e
w r i t t e n
d a t a
b i t s ,
l e a s t
w h i c h
i s
a l w a y s
m i l l i s e c o n d s
d u r a t i o n .
a t
t h e
s t a r t
o f
" 0 0 " .
T h e
l a s t
D r i v e r
g e n e r a t e s
a
s h o r t
s i g n a l ,
b y
a
l o n g
s i g n a l ,
A l l
i n p u t
i s
p e r f o r m e d
f r o m
t a p e .
W h e n t h e
s e t s
s t a t u s
b i t
o f
t h e
2 0 0 0
H z
v a l u e
o f
e a c h
t h e
t i m e
b e t w e e n
w a i t s
f o r
a
s t o p
r e a d
t h e
f i r s t
a
s t o p
b i t
u n t i l
I n
u n b l o c k e d
m o d e ,
m e m o r y d i r e c t l y
I n
b l o c k e d
m o d e ,
a
t r a i l e r .
T h e
SYNC
32 BYTES
T h e
f i e l d s
a r e :
3 2
SYNC
p r o g r a m
S T X
A S t a r t - o f - T e x t
L E N G T H
T h e
D A T A
T h e
E T X
A n E n d - o f - T e x t
^
C H EC K
T h e
I t
i s
r e c o m m e n d e d
s y n c h r o n i z a t i o n .
u s e s
o n e
s u b r o u t i n e ,
W R IT B
e n c o d e s
o n
t a p e .
E a c h
b y t e
s i g n i f i c a n t
b i t
a
z e r o .
E a c h
A 2 0 0 0
e a c h
f r a m e
b y
p a r t
o f
e a c h
f r a m e
b y
o u t p u t t i n g
l a s t i n g
f o r
l e s s
l a s t i n g
f o r
b y
t h e
t a p e
i s
p l a y i n g ,
0 t o
i n d i c a t e
s i g n a l .
READB
d a t a
b i t
b y
c o m p a r i n g
s i g n a l s .
A f t e r
b i t .
A n a l t e r n a t i v e
s y n c
c h a r a c t e r
a
s y n c
h a s
b e e n
t h e
s p e c i f i e d
t o
t h e
t a p e
w i t h o u t
t h e
d a t a
i s
p r e c e d e d
d e t a i l e d
f o r m a t
H E A D E R
L E N G T H
S T X
1 BYTE
1 BYTE
S YN c h a r a c t e r s
i s
s y n c h r o n i z e d
c h a r a c t e r
l e n g t h
o f
t h e
d a t a
c o p i e d
f r o m
c h a r a c t e r
sum o f
a l l
d a t a
t h a t
b l o c k e d
U C R I S O F T W A R E ,
T h e o r y o f O p e r a t i o n
W R IT B ,
t o
o n e
b y t e
o f
i s
o u t p u t
a s
f i r s t ,
f o l l o w e d
b i t
i s
r e p r e s e n t e d
H z
s i g n a l
i s
g e n e r a t e d
a l t e r n a t e l y
o u t p u t t i n g
i s
a
n u l l
s i g n a l ,
a
" 1 0 " .
A z e r o
t h a n
h a l f
t h e
m o r e
t h a n
h a l f
t h e
s u b r o u t i n e
R E A D B ,
t h e
U C R I B o a r d
t h e
p r e s e n c e
o r
s a m p l e s
t h i s
b i t
t h e
d u r a t i o n
a s s e m b l i n g
a
e n t r y
a t
o f
e a c h
r e c o r d
a n d
f o u n d .
n u m b e r o f
b y t e s
f o r m a t t i n g .
b y
a
h e a d e r
o f
e a c h
b l o c k
D A TA
255 BYTES MAX
( 1 6
h e x ) .
U s e d
w i t h
t h e
( 0 2
h e x ) .
d a t a
f i e l d .
m e m o r y .
( 0 3
h e x ) .
b y t e s
p l u s
2 5 5 .
f o r m a t
b e
u s e d ,
REV.
p e r f o r m
a l l
o u t p u t
d a t a
i n t o
a
s i g n a l
a
s t r i n g
o f
e i g h t
b y
o n e
s t o p
b i t ,
b y
a
f r a m e
o f
b y
t h e
D r i v e r
a
" 1 1 "
a n d
w h i c h
t h e
i s
r e p r e s e n t e d
f r a m e ,
a n d
a
o n e
f r a m e .
w h i c h
r e a d s
a
s e t s
o r
r e ­
a b s e n c e ,
r e s p e c t i v e l y ,
a n d
d e t e r m i n e s
o f
e a c h
s i g n a l
c o m p l e t e
b y t e ,
READB
R E A D A i s
u s e d
t o
w i l l
n o t w a i t
i s
c o p i e d
f r o m
a n d
f o l l o w e d
i s
a s
f o l l o w s :
T R A IL E R
E T X
CHECK
1 * BYTE
2 BYTES
t o
m a k e
s u r e
t h e
d a t a .
i f
o n l y
t o
i n s u r e
1
6
a
b y
b y t e
t h e
w i t h
f o r
b y

Advertisement

loading