+ All Categories
Home > Documents > The Transactor V3 06

The Transactor V3 06

Date post: 08-Apr-2018
Category:
Upload: cubemanpdx
View: 221 times
Download: 0 times
Share this document with a friend
68
8/7/2019 The Transactor V3 06 http://slidepdf.com/reader/full/the-transactor-v3-06 1/68 Q c o m m o d o r e T h T r a n s a c t o r C o m m o d o r e C a n a d a ' s T e c h / N e w s P e r i o d i c a l V O L U M E I s s u e # O u L a s t I s s u e ! V 7 e l l . . . t h i s i i t . . . t h e l a s t i s s u e o T h e T r a n s a c t o r . A f t e r c o n s i d e r i n g t h a l t e r n a t i v e s , w e ' v e d e c i d e d t d i s c o n t i n u e p u b l i c a t i o n a C o m m o d o r e C a n a d a i f a v o u r o C o m m o d o r e , T h e M i c r o c o m p u t e r M a g a z i n e , o u r U . S . c o u n t e r p a r t . A f t e r o n l y f e i s s u e s , t h U . S . h a v e e s t a b l i s h e d c i r c u l a t i o n o o v e r 1 0 , 0 0 0 ! W i t h t h a t m u c h p e n e t r a t i o n , w e b e l i e v e t h a t c o m b i n a t i o n o U . S . a n C a n a d i a n m a t e r i a l w i l l n o o n l y r e a c h m o r e C o m m o d o r e u s e r s , b u m a k e T h M i c r o c o m p u t e r M a g a z i n e t h b e s t r e s o u r c e f o P E T / C B M a n V I C i n f o r m a t i o n ! I ' l i k e t e x t e n d t h a n k s t a l c o n t r i b u t i n g w r i t e r s f o r a l l t h r e e v o l u m e s . P a r t i c u l a r r e g a r d s t J i L a w , D a v e B e r e z o w s k i , H e n r y T r o u p , T e E v e r s , K e v i n E r l e r , C h a r l e s M c C a r t h y , G o r d C a m p b e l l , a n S i e g D e l e u . E x t r a s p e c i a l t h a n k s g o u t D o n W h i t e , D a v e H o o k , a n J i B u t t e r f i e l d ; y o u r e x c e p t i o n a l b r a n d o e n t h u s i a s m a n u n d y i n g e f f o r t s a r f o u n d a l l t o o s e l d o m , b u t a p p r e c i a t e d b s m a n y . T h e s p i r i t o T h T r a n s a c t o r w i l l l i v e o n M a t e r i a l g e n e r a t e d w i t h i n C o m m o d o r e C a n a d a b y P a u l H i g g i n b o t t o m , J o e F e r r a r i , D o n n a G r e e n , D a v e B e r e z o w s k i , P e t e r V e l o c c i , a n m y s e l f , w i l l b s e n t s t a t e s i d e . A r t i c l e s s u b m i t t e d f r o m o u t s i d e w i l l , a a l w a y s , b g r a t e f u l l y a c c e p t e d . . . s k e e p ' e c o m i n g ! Y o u r f e e d b a c k t o g e t h e r w i t h o u i n p u t w i l l p r o d u c e r e s o n a t i n g s u p p o r t i n t e r f a c e , a m p l i f i e d b C o m m o d o r e , T h e M i c r o c o m p u t e r M a g a z i n e ! S i n c e r e l y Y o u r s , K a r l J H i l d o n E d i t o r , T h T r a n s a c t o r i s s u e s u b s c r i p t i o n i U . S . A . $ 1 0 . 0 0 ( p u b l i s h e d b i - m o n t h l y ) C a n a d a M e x i c o $ 2 5 . 0 0 U D l r s O u t s i d e N A m e r i c a $ 2 5 . 0 0 U D l r s O s e y o u r l o c a l C o m m o d o r e d e a l e r f o n e w s t a n d c o p y ! S e n d n a m e a n r e t u r n a d d r e s s w i t h c h e q u e o m / p a y a b l e t C o m m o d o r e B u s i n e s s M a c h i n e s , I n c . 8 M o o r e R o a d , K i n g o P r u s s i a , P A 1 9 4 0 6 A t t n : E d i t o r , C o m m o d o r e M a g a z i n e T h T r a n s a c t o r h a b e e n p r o d u c e d o t h C B 8 0 3 2 w i t h W o r d P r o a n t h N E S p i n w r i t e r .
Transcript
Page 1: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 1/68

Q c o m m o d o r eT h T r a n s a c t o r

C o m m o d o r e C a n a d a ' sT e c h / N e w s P e r i o d i c a l

V O L U M EI s s u e #

O u L a s t I s s u e !

V 7 e l l . . . t h i s i i t . . . t h e l a s t i s s u e o T h e T r a n s a c t o r .A f t e r c o n s i d e r i n g t h a l t e r n a t i v e s , w e ' v e d e c i d e d t d i s c o n t i n u e p u b l i c a t i o n a C o m m o d o r e C a n a d a i f a v o u r o C o m m o d o r e , T h e M i c r o c o m p u t e r M a g a z i n e , o u r U . S . c o u n t e r p a r t .

A f t e r o n l y f e i s s u e s , t h U . S . h a v e e s t a b l i s h e dc i r c u l a t i o n o o v e r 1 0 , 0 0 0 ! W i t h t h a t m u c h p e n e t r a t i o n , w eb e l i e v e t h a t c o m b i n a t i o n o U . S . a n C a n a d i a n m a t e r i a l w i l ln o o n l y r e a c h m o r e C o m m o d o r e u s e r s , b u m a k eT h M i c r o c o m p u t e r M a g a z i n e t h b e s t r e s o u r c e f o P E T / C B M a n V I C i n f o r m a t i o n !

I ' l i k e t e x t e n d t h a n k s t a l c o n t r i b u t i n g w r i t e r sf o r a l l t h r e e v o l u m e s . P a r t i c u l a r r e g a r d s t J i L a w ,D a v e B e r e z o w s k i , H e n r y T r o u p , T e E v e r s , K e v i n E r l e r ,C h a r l e s M c C a r t h y , G o r d C a m p b e l l , a n S i e g D e l e u . E x t r as p e c i a l t h a n k s g o u t D o n W h i t e , D a v e H o o k , a n J i B u t t e r f i e l d ; y o u r e x c e p t i o n a l b r a n d o e n t h u s i a s m a n u n d y i n g e f f o r t s a r f o u n d a l l t o o s e l d o m , b u t a p p r e c i a t e d b s m a n y .

T h e s p i r i t o T h T r a n s a c t o r w i l l l i v e o n M a t e r i a lg e n e r a t e d w i t h i n C o m m o d o r e C a n a d a b y P a u l H i g g i n b o t t o m , J o eF e r r a r i , D o n n a G r e e n , D a v e B e r e z o w s k i , P e t e r V e l o c c i , a n m y s e l f , w i l l b s e n t s t a t e s i d e . A r t i c l e s s u b m i t t e d f r o mo u t s i d e w i l l , a a l w a y s , b g r a t e f u l l y a c c e p t e d . . . s k e e p' e c o m i n g ! Y o u r f e e d b a c k t o g e t h e r w i t h o u i n p u t w i l l

p r o d u c e r e s o n a t i n g s u p p o r t i n t e r f a c e , a m p l i f i e d b C o m m o d o r e , T h e M i c r o c o m p u t e r M a g a z i n e !

S i n c e r e l y Y o u r s ,K a r l J H i l d o nE d i t o r , T h T r a n s a c t o r

i s s u e s u b s c r i p t i o n i U . S . A . $ 1 0 . 0 0( p u b l i s h e d b i - m o n t h l y ) C a n a d a M e x i c o $ 2 5 . 0 0 U D l r s

O u t s i d e N A m e r i c a $ 2 5 . 0 0 U D l r sO s e y o u r l o c a l C o m m o d o r e d e a l e r f o n e w s t a n d c o p y !

S e n d n a m e a n r e t u r n a d d r e s s w i t h c h e q u e o m / p a y a b l e t C o m m o d o r e B u s i n e s s M a c h i n e s , I n c .

8 M o o r e R o a d ,K i n g o P r u s s i a , P A 1 9 4 0 6A t t n : E d i t o r , C o m m o d o r e M a g a z i n e

T h T r a n s a c t o r h a b e e n p r o d u c e d o t h C B 8 0 3 2 w i t hW o r d P r o a n t h N E S p i n w r i t e r .

Page 2: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 2/68

I n d e x T r a n s a c t o r # B i t s P i e c e s . - . ' ;

F a s t e r T h a n S p e e d i n g C a t h o d e R a y .M o r e O n e - L i n e r sD e r i v i n g M a t h e m a t i c a l F u n c t i o n s . . G r a p h i c s T a b l e tC B A m p l i f i e rS u p e r P E T R S 2 3 2S o m e V I C M o t e sA t t e n t i o n C O H A L - 8 0 U s e r s !

P r e t t y P r i n t i n gC o m p i l e r C o m m e n t s 1 B A S I C L a b e l s R e - R e v i s i t e d 1 4 0 2 2 P r i n t e r N o t e s 2 T u r n i n g T h e S w i t c h ? . . A l l o w Y o u r P E T ! . 2 M a c h i n e L a n g u a g e A u t o - L o c a t i o n 3 1 9 8 1 P E B i b l i o g r a p h y 3 T w o T e r m i n a l P r o g r a m s : I E E E R S 2 3 2 . 4 B A S I C - A I D , S u p e r E d i t o r F o T h P E T . 5

Page 3: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 3/68

B i t s P i e c e sF a s t e r T h a n S p e e d i n g C a t h o d e R a y !

T h e s e n e x t o n e - l i n e r s c o m e f r o m R i c h a r d G r i f f i t h o T h u n d e r B a y , O n t a r i o .

1 P R I N T " [ C L R D D N I N O Y O U R N A M E A B E L I N C O L N ? " : G O T O 1 0T h s t r i n g i t h a b o v e s t a t e m e n t p r i n t s a n c l e a r s s f a s tt h a t t h e s c r e e n c a n ' t k e e p u p Y o u m i g h t e x p e c t t h e t e x t t • f l a s h 1 o a n o f f , B u t , a s t h e . t r a c e i s c a n n i n g t h s c r e e n , t h e t e x t a c t u a l l y p r i n t s , c l e a r s , a n d p r i n t s a g a i nb e f o r e t h t r a c e g e t s c h a n c e t o e r a s e . I t ' s h a r d t s a h o w m a n y , b u t B A S I C p r i n t s a n c l e a r s s e v e r a l t i m e s d u r i n gs i n g l e s c r e e n s c a n . T h e r e f o r e , t h t e x t a p p e a r s t b s t a t i o n a r y , a s i t h C l e a r S c r e e n c h a r a c t e r w a s n o e v e nt h e r e !

T h e n , t h e y b e c o m e ' u n - s y n c r o n i z e d 1 • A t h i s p o i n t , t h t e x t a p p e a r s t o b e d r a w n s l o w l y a c r o s s t h l i n e . T h t r a c ed r a w s p a r t o t h t e x t a n t h e n i t ' s t u r n e d o f a g a i n b t h C l e a r S c r e e n . T h e s a m e t h i n g h a p p e n s n e x t t i m e a r o u n d o n l yl i t t l e f a r t h e r t o t h e l e f t o r i g h t . I t ' s r a t h e r h a r d t e x p l a i n b u n o h a r d t i m a g i n e w h e n y o u ' r e l o o k i n g a i t

T r d i f f e r e n t c o m b i n a t i o n s b y a d d i n g o r e m o v i n g C L R s ,D N s , c h a r a c t e r s , c o m m a s a n s e m i c o l o n s . F o r a n i n t e r e s t i n ge f f e c t , a d l i n e 2 b s i m p l y d u p l i c a t i n g l i n e 1 ( r e m o v e t h G O T O 1 a n d a d d i t a t t h e e n d o l i n e 2 0 ) . T r y t h i s o n e t o o :

1 P R I N T " [ C L R 6 D N 1 I S Y O U R N A M E A B E L I N C O L N ? " ; : G O T O 1 0

6 D c u r s o r d o w n s . D i f f e r e n t m a c h i n e s p r o d u c e d i f f e r e n tr e s u l t s . T h e s e w e r e d o n e o f o r t y c o l u m n P E T s . 8 c o l u m nu s e r s w i l l h a v e t m o d i f y t h s t a t e m e n t s s l i g h t l y t o g e t t h r i g h t e f f e c t s i n c e t h e s c a n s p e e d i s o m e w h a t d i f f e r e n t .

R i c h a r d a l s o h a o n e - l i n e g a m e w h i c h s u r e l y c o u l d b e x p a n d e d ! I u s e s t h S H I F T k e y a c o n t r o l . T h f i r s tl i n e d o e s a l t h e w o r k , t h s e c o n d m e r e l y g e t s i g o i n g .

P O K E A + T , 8 1 : P R I N T S P C ( R N D ( T I ) * 3 6 ) " # # # " : T = T + P E E K ( 1 5 2 ) * 2 - l :I P E E K ( A + T ) = 3 2 T H E N

P R I N T " [ C L R 2 4 D N " T = A = 3 2 7 6 8

M o r e O n e - L i n e r sT h e s e o n e s f r o m D a v e B e r e z o w s k i o T h u n d e r B a y .

F O X = T 9 9 P O K E 3 2 7 6 8 + X r( P E E K ( 3 2 7 6 8 + X ) + 1 2 8 ) A N D 2 5 5 : N E X T

a = 3 2 7 6 8 : i = 0 : j = ' 3 8S = S G N ( J - I ) F O X = T S T E P P O K E A + X f 3

P O K E A + X + S f 8 N E X T X 1 = 9 - J = 3 9 - J G O T O

Page 4: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 4/68

D e r i v i n g M a t h e m a t i c a l F u n c t i o n sB A S I C h a s o m e t r i g n b m e t r i c f u n c t i o n s i m p l e m e n t e d b u

n o a l t h a t ' m a a s o m e t i m e b e r e q u i r e d . H e r e i h a n d yl i s t :S e c a n tC o s e c a n tC o t a n g e n tI n v e r s e S i n eI n v e r s e C o s i n eI n v e r s e S e c a n tI n v e r s e C o s e c a n tI n v e r s e C o t a n g e n tH y p e r b o l i c S i n eH y p e r b o l i c C o s i n eH y p e r b o l i c T a n g e n tH y p e r b o l i c S e c a n tH y p e r b o l i c C o s e c a n tH y p e r b o l i c C o t a n g e n tI n v e r s e H y p e r b o l i c S i n eI n v e r s e H y p e r b o l i c C o s i n eI n v e r s e H y p e r b o l i c T a n g e n tI n v e r s e H y p e r b o l i c S e c a n tI n v e r s e H y p e r b o l i c C o s e c a n t A R C C S C H ( X )I n v . H y p e r b o l i c C o t a n g e n t

S E C ( X ) I / C O S ( X )C S C ( X ) 1 / S I N ( X )C O T ( X ) 1 / T A N ( X )A R C S I N ( X ) A T N ( X / S Q R ( - X * X + 1 ) )A R C C O S ( X ) = - A T N ( X / S Q R ( - X * X + l ) )

+ 1 7 / 2A R C S E C ( X ) A T N ( X / S Q R ( X * X - 1 ) )A R C C S C ( X ) A T N ( X / S Q R ( X * X - 1 ) )

( S G N ( X ) - l * 1 T / 2A R C C O T ( X ) A T N ( X ) + t i / 2S I N H ( X ) ( E X P ( X ) - E X P ( - X ) ) / 2C O S H ( X ) ( E X P ( X ) + E X P ( - X ) ) / 2T A N H ( X ) E X P ( - X ) / ( E X P ( X )

+ E X P ( - X ) ) * 2 + 1S E C H ( X ) 2 / ( E X P ( X ) + E X P ( - X )C S C H ( X ) 2 / ( E X P ( X ) - E X P ( - X )C O T H ( X ) E X P ( - X ) / ( E X P ( X )

- E X P ( - X ) ) * 2 + 1A R C S I N H ( X ) L O G ( X + S Q R ( X * X + 1 ) )A R C C O S H ( X ) L O G ( X + S Q R ( X * X - 1 ) )A R C T A N H ( X ) L O G ( ( 1 + X ) / ( 1 - X ) ) / 2A R C S E C H ( X ) L O G ( ( S Q R ( - X * X + 1 )

+ 1 / X ) )L O G ( ( S G N ( X )* S Q R ( X * X + 1 / X ) )

A R C C O T H ( X )

G r a p h i c s T a b l e tL o o k i n g f o g r a p h i c s t a b l e t ? K U R T A s e e m s t h a v e t h

a n s w e r . I h a s ^ a n 1 / 2 " 1 1 s u r f a c e w i t h l o r a d i a t i o nf o d i s k e t t e p r o t e c t i o n . P e o p e r a t e d w i t h 1 0 t o 2 0 0 p o i n t sp e s q u a r e i n c h . K U R T A s u p p l i e s a l t h s o f t w a r e a n i n t e r f a c e s m a k i n g i c o m p l e t e l y c o m p a t i b l e w i t h P E T / C B M s .F o m o r e i n f o r m a t i o n , c o n t a c t :

I t h U . S .

K U R T A C o r p .2 0 S R i v e r D r T e m p e f A r i z o n a8 5 2 8 16 0 2 9 6 8 8 7 0 9

I C a n a d a :T C C o m m u n i c a t i o n s1 1 5 8 V i c t o r i a S t N K i t c h e n e r r O n t a r i oN 2 3 C 5 1 7 4 4 5 0 7 1

Page 5: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 5/68

C B A m p l i f i e rT h i s t i d y l i t t l e c i r c u i t c a f r o m T e d E v e r s o T o r o n t o .

C o n n e c t i t o t h e U s e r P o r t C B 2 l i n e , g r o u n d , a n d o n e o t h 1 v o l t p i n s i n s i d e t h m a c h i n e , a n d y o u ' v e g o t C B 2 s o u n d( w i t h o p t i o n a l h e a d p h o n e s j a c k t o p r e v e n t r a g i n g p a r e n t s ,t e a c h e r s a n d w i v e s ) .

4 7 D Kc s

G N

Page 6: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 6/68

A t t e n t i o n S u p e r P E T R S 2 3 2 I n t e r f a c e r s lH e r e a r e t h e p i n c o n n e c t i o n s f o t h R S 2 3 2 P o r t o t h

S u p e r P E T :1 o o o o o o o o o o o o ,o o o o o o o o o o o o

2 1 P i

2

D e s c r i p t i o nP r o t e c t i v e G r o u n dT r a n s m i t t e d D a t aR e c e i v e d D a t aR e q u e s t T o S e n dC l e a r T S e n dD a t a S e R e a d yS i g n a l G r o u n dD a t a C a r r i e r D e t e c tD a t a T e r m i n a l R e a d y

M n e m o n i c

T X R X R T C T D S D C D T

C o m m e n t s

O u t p u tI n p u tO u t p u tI n p u tI n p u tI n p u tO u t p u t

T h D a t a S e ( M o d e m ) c o n t r o l s i n p u t s f C T S f D S R f a n D C a r e x p e c t e d t o p e r a t e i t h n o r m a l w a y . I t h d e v i c e y o c o n n e c t t o t h S u p e r P E T s e r i a l p o r t d o e s n o c o n t r o l t h e s ep i n s , y o s h o u l d c o n n e c t p i n s a n t p i 2 0 a n p i t p i w i t h i n t h e c o n n e c t o r a t t a c h e d t o t h e S u p e r P E T b o a r d .W i t h t h e s e c o n n e c t i o n s s o m e d e v i c e s m a t h e n b o p e r a t e d w i t h

4 - w i r e c a b l e u s i n g o n l y T X D , R X D a n d t h e g r o u n d s .A n o t h e r n o t e t S u p e r P E T u s e r s , C O B O L s h o u l d b

a v a i l a b l e a r o u n d t h e e n d o J u l y ' 8 2 . I t w i l l b m a d ea v a i l b l e F R E E t a l e x i s t i n g S u p e r P E T o w n e r s a n d i n c l u d e dw i t h a n n e w S u p e r P E T d e l i v e r i e s . F o m o r e d e t a i l s , c o n t a c ty o u r l o c a l d e a l e r s o m e t i m e i J u l y .

S o m e V I N o t e sV i c - 2 0 o w n e r s t h a t w i s h t c o n n e c t t c o l o u r m o n i t o r s

w i l l n e e d s o m e e x t r a c a b l e s . Y o c o u l d w i r e t h e m u y o u r s e l v e s ; f o p i c o n n e c t i o n s , s e t h V I 2 P r o g r a m m e r sR e f e r e n c e G u i d e , p p . 2 8 2 . R e m e m b e r , t h c o n n e c t o r s s h o w n h e r ea r a y o u l o o k a t h e m f r o m t h b a c k o t h V I C . T h ec o r r e s p o n d i n g p i n s o n t h e j a c k s w i l l b " m i r r o r i m a g e "l o o k i n g i n t o t h j a c k .

Y o c a n b u y t h n e c e s s a r y c a b l e s a a n R a d i o S h a c k .F i r s t y o u ' l l n e e d " Y A d a p t e r ( P a r t # 4 2 - 2 3 9 4 ) ; p i E u r o p e a n p l u g t p h o n o j a c k s . T h i s o n g o e s o t h a u d i o / v i d e o c o n n e c t o r . I t ' s n o v e r y l o n g , s y o u ' l l a l s on e e d t h 1 . 8 m s h i e l d e d s t e r e o c a b l e ( 4 2 - 2 3 5 2 ) . M o s t c o l o u rm o n i t o r s u s f e m a l e B N C c o n n e c t o r f o v i d e o i n I t h i sc a s e y o u ' l l n e e d t h A R C H E R f e m a l e R C A p h o n o t m a l e B N a d a p t e r ( 2 7 8 - 2 5 4 ) .

Page 7: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 7/68

W Y A d a p t e r C o n n e c t i o n sB l a c k V i d e o l o G r e y A u d i oW h i t e V i d e o H i g hR e + 5 V R e g u l a t e d @ 1 0 m A . m a x *

T h l » 8 m e x t e n s i o n h a b l a c k a n d g r e y c o n n e c t o r s a e a c h e n d .U s e b l a c k f o v i d e o a n d g r e y f o a u d i o .

a t t e n t i o n C O M A L 8 U s e r s !W e ' r e c o l l e c t i n g l i s t o b u g s i C O M A L - 8 0 . I y o u ' v e

b e e n u s i n g C O M A L , y o u ' v e p r o b a b l y f o u n d s o m e . T w t h a t c r a s ht h m a c h i n e a r D i v i s i o n b Z e r o a n d D e v i c e N o t P r e s e n t * I y o h a v e a n y m o r e , p l e a s e s e n d t h e m t o u s a n d w e ' l l p a s s t h e mo n H o p e f u l l y v e r s i o n 0 0 . 1 2 w i l l h a v e t h e m a l c o r r e c t e d .S e n d a n c o m m e n t s t o

C O M A L 8 F e e d b a c kC o m m o d o r e B u s i n e s s M a c h i n e s3 3 7 0 P h a r m a c y A v e .A g i n c o u r t , O n t a r i oM 1 2 K

' T h e I n c r e a s e i C o m p u t e r C r i m e I F r i g h t e n i n g . '

Page 8: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 8/68

P r e t t y P r i n t i n g ^ _ J i B u t t e r f i e l d , T o r o n t oW h e n y o u a r e p r o d u c i n g o u t p u t s i t ' s g o o d t m a k e i n e a t .T h c o m p u t e r i t h e r e t h e l p i t h u m a n r e a d e r s r a n d t h m o r ey o c a d t i m p r o v e . t h e i n f o r m a t i o n , t h b e t t e r j o y o u ' l lb d o i n g *P r i n t i n g i C o l u m n sB e g i n n e r s o f t e n a r r a n g e v a l u e s i c o l u m n s b y u s i n g t h s c r e e nt a b u l a t i o n f u n c t i o n s : p u t t i n g c o m m a i n t o t h P R I N Ts t a t e m e n t f o u s i n g t h T A B f u n c t i o n . T h e s e m e t h o d s w o r k rb u t h e y h a v e p i t f a l l : t h e y w o n ' t b e h a v e p r o p e r l y i t h o u t p u t g o e s t o t h e r d e v i c e s * T h e p r o b l e m i t h a t t h c o m p u t e r a l w a y s k n o w s e x a c t l y w h e r e t h s c r e e n c u r s o r i s b u i n e v e r k n o w s o n w h a t c o l u m n t h e x t e r n a l d e v i c e s a r l o c a t e d . I d o e s n ' t e v e n t r t k e e p t r a c k ; s T A o c o m m a d i r e c t e d t o t h e p r i n t e r o o t h e r d e v i c e w o n ' t b e h a v ep r o p e r l y .I t ' s m y f e e l i n g t h a t a l m o s t e v e r y t h i n g t h a t g o e s t h s c r e e nc a n b e u s e f u l l y d i r e c t e d t t h p r i n t e r , o w r i t t e n t d i s kf i l e w i t h v i e w t t r a n s f e r r i n g t t h p r i n t e r l a t e r . O n c ey o h a v e r e p o r t l o o k i n g n i c e o n t h s c r e e n , y o u d o n ' t w a n tt h a v e t r e p r o g r a m t o g e t i l o o k i n g n i c e i p r i n t . S . . s t a y a w a y f r o m T A a n c o m m a s t h e r e ' s b e t t e r w a y .R e d i r e c t i n g O u t p u tW h i l e I ' o t h s u b j e c t o s w i t c h i n g o u t p u t f r o m t h s c r e e nt t h p r i n t e r , I ' l i k e t s h a r e l i t t l e c o d i n g t r i c k w i t hy o u . M o s t p r o g r a m m e r s k n o w t h a t y o u c a n d i r e c t o u t p u t t p r i n t e r b y p e r f o r m i n g a O P E N t d e v i c e n u m b e r ( t h ep r i n t e r ) a n t h e n u s i n g P R I N T * . . • T h a t f s f i n e f o f i n i s h e d "p r o g r a m , b u y o c a w a s t e l o o p a p e r w h i l e y o u ' r ec h e c k i n g o u p r o g r a m i y o u d o e v e r y t h i n g t t h p r i n t e r .H e r e ' s t h t r i c k : W e c a n O P E N t d e v i c e n u m b e r ( t h es c r e e n ) a n P R I N T * t o t h e s c r e e n , c h e c k i n g o u p r o g r a m a n f i x i n g i t u p . W h e n i t ' s r e a d y t g o , a l l w n e e d t d i t c h a n g e t h O P E N s t a t e m e n t s t h a t i n a m e s d e v i c e n u m b e r 4 a n o u t p u t g o e s t o t h e p r i n t e r . W s a v e t i m e a n p a p e r .L e t ' s t r i t w c o d e :

1 0 O P E N 1 , 1 1 F O J = T 1 1 2 P R I N T # 1 , J ; S Q R ( J )1 3 N E X T1 4 C L O S E

W h e n w e r u t h i s p r o g r a m , o u t p u t i d e l i v e r e d t t h s c r e e n .I e v e r y t h i n g l o o k s g o o d , w e c a n n o w c h a n g e l i n e 1 0 0 t oO P E N 1 , . . a n o u t p u t i r e d i r e c t e d .I t ' s n o t r e a l l y t r i c k ; i t ' s g o o d c o d i n g . W e c o u l d a l l o wt h u s e r t s p e c i f y w h a t o u t p u t h w a n t e d b c o d i n g s o m e t h i n gl i k e : 1 0 0 I N P U T M D E V I C E N U M B E R " ; : O P E N 1 , s t h a t t h u s e rc o u l d t y p e i o t s e l e c t t h e t y p e o o u t p u t h w a n t s .

Page 9: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 9/68

N e a t n e s s C o u n t s

I I f s t e r n l y d i s c o u r a g i n g T A a n t h e c o m m a , h o w c a y o a r r a n g e t h i n g s i c o l u m n s ? A f e w s i m p l e a n s w e r s , b u t f i r s ts o m e g r o u n d r u l e s . T h e b e s t w a t a r r a n g e s t u f f i c o l u m n si t m a k e s u r e t h a t e a c h " f i e l d " i a l w a y s t h s a m e l e n g t h ;t h a t w a y , e a c h i t e m w i l l b p r i n t e d n e a t l y i t h e s a m e p l a c ea c r o s s t h p a g e .H o c a w r e c h o p t w n u m b e r s a d i f f e r e n t a a n - 3 2 7 6 8 s t h a t t h e y o c c u p y t h e s a m e s p a c e ? F o t h a t m a t t e r , h o w c a n w t a k e t w o n a m e s a d i f f e r e n t a B U T T E R P I E L D a n N a n m a k et h e m t h s a m e l e n g t h ?L e t ' s t a k e t h n a m e s f i r s t . T h e s e " s t r i n g s 1 1 c o u l d b n e a t l yc h o p p e d d o w n t f i x e d l e n g t h b y m e a n s o t h e L E F T $ (f u n c t i o n . . i t h e y w e r e l o n g e n o u g h . F o r e x a m p l e , w e c o u l ds l i c e o u t t h e f i r s t e i g h t c h a r a c t e r s o s t r i n g X w i t hL E F T $ ( X $ , 8 ) ; b u t i w o n ' t w o r k i X i l e s s t h a n e i g h tc h a r a c t e r s l o n g i n t h e f i r s t p l a c e . S p a a t t e n t i o n w m u s t f i r s t p a d o u t * t h n a m e b a d d i n g s p a c e s t t h e n d .S t i c k i n g e x t r a c h a r a c t e r s o n t o t h e n o s t r i n g i c a l l e d" c o n c a t e n a t i o n 1 * p r o n o u n c e d w i t h e m p h a s i s o n t h e c a t a n i d o n e w i t h p l u s s i g n . I w h a s h o r t n a m e l i k e M a n dw a n t e d t o t a c k e i g h t s p a c e s o n t h e e n d , w e ' d d i b w r i t i n gW M " + " w h i c h w o u l d c r e a t e n e s t r i n g n i n ec h a r a c t e r s l o n g . n a m e l i k e B U T T E R F I E L D t r e a t e d t h s a m ew a w o u l d e n u n i n e t e e n c h a r a c t e r s l o n g , b u t h i s d o e s n ' tm a t t e r : w e ' r e g o i n g t c h o p t h e m b o t h d o w n t t h e s a m el e n g t h w i t h L E F T $ ( .L e t ' s p u i a l t o g e t h e r . I t h n a m e i h e l d i v a r i a b l eN $ w e c o d e P R I N T L E F T $ ( N $ + " " , 8 ) ; w i t h s e m i c o l o n a t h e e n d . F i r s t w e c o n c a t e n a t e , a d d i n g t h e s p a c e s ; t h e n w c h o p ( o " t r u n c a t e " ) c u t t i n g t f i x e d l e n g t h ; f i n a l l y w p r i n t . B o t h l o n g a n s h o r t n a m e s w i l l b p r i n t e d a e x a c t l ye i g h t c h a r a c t e r s ; t h n e x t t h i n g w e p r i n t w i l l b n e a t l yl i n e d u b e h i n d i t W m i g h t w a n t t m a k e t h f i e l d m o r et h a n e i g h t c h a r a c t e r s l o n g , s i n c e s p l e n d i d n a m e l i k eB U T T E R F I E L D w o u l d e n u p c h o p p e d t B U T T E R F I i w d i n c r e a s e t h l e n g t h w m u s t r e m e m b e r t a d m o r e s p a c e s , o c o u r s e .

T h a b o v e p r o c e d u r e i c a l l e d L e f t J u s t i f i c a t i o n , s i n c e t h s t r i n g s a r l i n e d u ' n e a t l y o n t h l e f t w i t h s p a c e s f i l l i n go u t h r i g h t h a n d s i d e . W c a g o t h e o t h e r w a a n p r o d u c eR i g h t J u s t i f i c a t i o n w i t h s m a l l a d j u s t m e n t : t r P R I N T R I G H T S ( " I f + N $ , 8 ) ; a n y o u ' l l s e h o t h e l e f ts i d e f i l l s w i t h s p a c e s a n n a m e s l i n e u p o n t h e r i g h t . T h i si t h k i n d o a l i g n m e n t y o w i l l w a n t w i t h n u m b e r s ; w e ' l ld e a l w i t h t h a t i m o m e n t . R e m e m b e r t h a t i y o d o n ' t a l l o we n o u g h s p a c e y o u ' l l e n u w i t h c h o p p e d - o f f n a m e s l i k eT E R F I E L D , a n t h e r e ' s n j u s t i f i c a t i o n f o t h a t . . .I t h n u m b e r s y o u a r e u s i n g a r i n t e g e r s , y o u ' l l u s u a l l yw a n t t l i n e t h e m u w i t h r i g h t j u s t i f i c a t i o n . O n c e a g a i n ,t h i s i e a s y t d o n c e y o u k n o w t h f u n c t i o n t h a t c h a n g e s

Page 10: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 10/68

n u m b e r s t s t r i n g s . I f . y o u r v a l u e i h e l d i v a r i a b l e X w c a n c h a n g e i t s t r i n g w i t h S T R $ ( X ) ; n o w e c a n d t h r i g h t j u s t i f i c a t i o n w i t h P R I N T R I G H T $ ( M M + S T R $ ( X ) , 6 ) ;e v e r y t h i n g w i l l ' w o r k o u t n e a t l y . S t u d y t h i s s t a t e m e n t a n s e e h o w b u i l d s u p i n t o n e a t l y j u s t i f i e d s t r i n g o l e n g t hs i x .I y o u r n u m b e r s c o n t a i n f r a c t i o n a l v a l u e s f y o u m a y w a n t t t r t l i n e u p t h e d e c i m a l p o i n t s . T h a t ' s m u c h m o r ec h a l l e n g i n g . P e r h a p s y o u * d l i k e t t r y o u r h a n d a i t V i e 1 1 1 t a c k l e i h e r e a n o t h e r t i m e .

F O R T H E P E T / C B Ml f V I C I U l f • « . M C l t l n * r » » M l n l » r * c l l v « X m r > » u m m m f o v o u rf C T / C B H b l c r o . V X C X L . V l d » o X n t . r . c t l v . C » » »X n t » r » > r » t l v . L » n « u » . » 1 f » • • » * > t I m m r n a r c h i e s » ■ » » • l » n * u » s » t h » t l . t » v o u a u l c k l w c r » » t . l n t . r » e t l

a p ' h i c * a l r i o t r o k l t l o

d l » r - l * w c » » - » b l l l t M » . c c . f t f t t C » h » • v w l

L e a d a n d « a v » v o u r V X C X L . w o i r i k i t e a % » » t t »N l n v i n U r a c l i vV X C I t - » r » » k o u l > S p » c » U « r A n t i A i r c r » f t U . T . O .C t t i K l » l d o » c o ^ » r o C o » p r » h . n « l v » u f t » r ' » » • n c l o » » d ^ r o « r » M

w i t h c o » r - l . t «

i V X C X i . c m * i . o P € T / C » H » i c r o w i t h » i » » » t 8 K o k » » o r w . B ^ . c l f i * *M h « i > o r d t r i n i . 6 S 0 2 l l k t l n a o t t t * V I C I i . I n U r p r

V I C I C f o r r T T / C » » 1 o C A 3 K T T E ( w / n l n * » r » r » M ) « 3 • ♦ V I C I L . U « * r ' « K a n u a l ( r » f u n d a b l a w l t n » o f t w a r » ) . . . . . . . . . » 1 0 . . . . . . . t l 2F t M C M 1 N C L A N C U A C C C U I D C * * \

P 0 B o x 7 2 1 1l B G r t n d R a p i d * . M i c h i g a n 4 9 6 1 0

r r l r » » l i « r l w o » * o + \ . » — . f l t c hO r » » f - t M * » t b r r » » » l a v i * r r » s » » » l c ) . l n c l w o * c a r d

* U • * • < } » t » i r » t l o » d » t *

Page 11: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 11/68

C o m p i l e r C o m m e n t s j i m B u t t e r f i e l d f T o r o n t od o n ' t w a n t t b e c o m e i n v o l v e d i t h G r e a t D e b a t e a b o u t

c o m p i l e r s . O n t h e o t h e r h a n d , i t ' s a l m o s t i r r e s i s t a b l e t d i v e i a n d a d d f e w f o o t n o t e s . Y o u 1 1 1 f i n d n p r o d u c tr e v i e w s h e r e . J u s t l i t t l e t a l k a b o u t w h a t f s i n v o l v e d .F o r B A S I C ?S o m e l a n g u a g e s w e r e d e s i g n e d f o c o m p i l e r s . I f a c t , t h c o m p i l e r w a d e s i g n e d f i r s t , a n d w h a t e v e r i t u r n e d o u t y o uh a t t y p e i e n d e d u p a t h l a n g u a g e . F O R T R A N s t a r t e dm o r e o l e s s t h i s w a y . T o p u t c o m p i l e r s i p e r s p e c t i v e , w eh a v e t o d o l i t t l e h i s t o r i c a l w o r k .O n c e r l o n g a g o f t h e r e w e r e n i n t e r a c t i v e c o m p u t e r s . Y o up u n c h e d u d e c k o c a r d s a n i y o w e r e l u c k y a o p e r a t o rw o u l d r u t h e m s o m e t i m e t h a t w e e k . M o s t o t h e r e s u l t s c a m eb a c k s a y i n g s o m e t h i n g l i k e S Y N T A X E R R O R ( d o e s t h a t s o u n df a m i l i a r ? ) . T h e r e w a s n p o i n t i h a v i n g a n i n t e r p r e t e rl a n g u a g e ; y o u w o u l d n ' t b t h e r e t w a t c h i h a p p e n . W e h a dF O R T R A N a n C O B O L a n o t h e r s . . .T h f i r s t F O R T R A N s , f o e x a m p l e f w e r e t r i c k y . I y o u s e dv a r i a b l e c a l l e d D I G I T f i w o u l d t u r n o u t t b f l o a t i n g - p o i n t n u m b e r ; o t h o t h e r h a n d v a r i a b l e c a l l e dN U M B E R w o u l d b f i x e d - p o i n t . H e a v e n h e l p y o u i y o t y p e dT O T A L = T O T A L + 1 ; y o u ' d g e ? M I X E D M O D E e r r o r n o t i c e a n h a v et r e c o d e T O T A L = T O T A L + 1 . 0 t o f i x i t T o i n p u t o o u t p u t y o un e e d e d t g i v e m o r e t h a n t h c o m m a n d : a e x t r a l i n e c a l l e dF O R M A T w a s n e e d e d f w r i t t e n i a d v a n c e d g i b b e r i s h . H o n e s t .M a n y o t h e s e p r o b l e m s h a v e b e e n f i x e d u p o v e r t h e y e a r sy o d i k n o w t h a t t h e r e w a s m o r e t h a n o n F O R T R A N , d i d n ' ty o u ? b u t h s t y l e r e m a i n s . T h e p r o g r a m m e r s h a v e t a d a p tt o t h e m a c h i n e , a n i n t e r a c t i v e i s t i l l a a l i e n c o n c e p t .A n N o w , B A S I C . .A l o n g c a m e B A S I C . I t ' s l o o s e l a n g u a g e : y o u d o n ' t h a v e t d i m e n s i o n s o m e a r r a y s ; s t r i n g s w a n d e r a l o v e r ; s o m e t i m e s y o uc a n h a v e F O a n N E X T i t e m s t h a t d o n ' t m a t c h ( b a d p r a c t i c e ,b u i c a n b e d o n e ) . . a n i n t e r a c t i v e u s e r s l o v e i t W h a t ' s t h p r o b l e m ? T h i n g s t h a t a r e n o t c l e a r l y d e f i n e d b B A S I C . L e t ' s l o o k a f e o f t h e m .S t r i n g s m a b t h w o r s t t h i n g t h a t c o m p i l e r h a t d e a lw i t h . B A S I C d o e s n ' t t e l l t h c o m p i l e r h o b i a n s t r i n g i l i k e l y t o b e e v e r . I N P U T X g i v e s n h i n t a s t o t h s i z eo s t r i n g X $ T h p o o r c o m p i l e r h a g r i m c h o i c e : a l l o wm a x i m u m s p a c e f o a l s t r i n g s a n w a s t e l o o m e m o r y ; o b o u n c e t h s t r i n g s a r o u n d a t h e y c h a n g e . T h e f i r s ta l t e r n a t i v e c o s t s y o p r o g r a m s i z e ; y o w r i t e t h i s l i t t l ep r o g r a m t h a t s a y s D I A $ ( 1 0 0 0 ) a n d t h e c o m p i l e r i m m e d i a t e yr e p o r t s O U T O M E M O R Y s i n c e i t r i e s t a l l o c a t e 2 5 5 0 0 0 b y t e sf o t h e a r r a y . T h e s e c o n d a l t e r n a t i v e c o s t s y o u t i m e ; n om a t t e r w h a t y o u c a l l i t s o m e s o r t o g a r b a g e c o l l e c t i o n w i l lh a v e t t a k e p l a c e . A n d t h e n p e o p l e c o m p l a i n b e c a u s e t h e ye x p e c t c o m p i l e r s t p r o d u c e f a s t f a s t c o d e .

1

Page 12: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 12/68

A t f i r s t g l a n c e w t h i n k t h a t t h w h o l e o b j e c t o c o m p i l i n gi t g e s p e e d . B u w e d o n ' t g i v e t h c o m p i l e r e n o u g hi n f o r m a t i o n t w o r k u a r e a - l l y f a s t p r o g r a m . I t ' s o b v i o u st h a t F O J = l T O 1 c a r u f a s t e r i w t r e a t a s a ni n t e g e r . U n f o r t u n a t e l y f w e ' r e n o a l l o w e d t c o d e F O J % . . .s o t h e c o m p i l e r w i l l h a v e t f i g u r e i o u f o i t s e l f . A n dw h a t w i l l i d w i t h F O R J = A T B ? U n t i l A i c o m p u t e d , w c a n n o t k n o w i i t ' s i n t e g e r o n o t .I t ' s o b v i o u s t u s W w r o t e t h p r o g r a m . B u t t h d u m bc o m p i l e r c a n ' t r e a d o u m i n d s ; a n d B A S I C d o e s n ' t g i v e e n o u g he x p l i c i t i n f o r m a t i o n t d t h j o b .O n l a s t e x a m p l e . I t ' s o n e o f t h a n n o y i n g t h i n g s a b o u tB A S I C t h a t w e s o m e t i m e s h a v e t c o d e t h i n g s l i k eG E T # 1 , X $ I X $ = w " T H E N X $ = C H R $ ( 0 ) m o s t l y t c o v e r f a i l i n g si B A S I C i t s e l f . I w e r e h a n d - c o d i n g i n t o m a c h i n el a n g u a g e , c o u l d r e p l a c e t h w h o l e t h i n g w i t h o n i n s t r u c t i o n , b e c a u s e k n o w , t h a t M a c h i n e L a n g u a g e d o e s n ' th a v e t h H f a u l t M t h a t ' s i B A S I C . B u p o o r c o m p i l e r c a n ' tk n o w t h a t . I s e e s t h G E i n s t r u c t i o n a n c o d e s i t . . . a n di m u s t a d d t o t h e c o d i n g t g e n e r a t e t h B A S I C " f a u l t " i i w a n t s t b c o m p a t i b l e . T h e n i m u s t p r o c e e d t t h I s t a t e m e n t a n w o r k t h r o u g h t h c o d i n g t o f i x t h a t s a m e f a u l t .T h C h o i c e s .T h c o m p i l e r d e s i g n e r h a c h o i c e . H c a n c o d e f o 9 9 c o m p a t i b i l i t y , t r a c k i n g e v e r y t h i n g t h a t B A S I C d o e s q u i t ee x a c t l y ( i n c l u d i n g t h f a u l t s ) . I d o i n g s o h e ' l l c r e a t ep a c k a g e i w h i o h a l m o s t a n y t h i n g w i l l c o m p i l e s u c e s s f u l l y .B u t h c o m p i l e d m a c h i n e l a n g u a g e w i l l b d o i n g m o s t o f t h et h i n g s t h a t B A S I C d o e s , a n w o n ' t b m u c h f a s t e r t h a n B A S I C .O t h o t h e r h a n d f t h d e s i g n e r c a n a s k t h e u s e r t m a k ec h a n g e s t o h i s p r o g r a m b e f o r e c o m p i l a t i o n t h a t w i l l h e l p t h p r o c e s s . H m a a l s o h a v e t h i n g s t h a t c o m p i l e f r o m B A S I C i

n o n - s t a n d a r d m a n n e r . H m a y m a k e a r b i t r a r y d e c i s i o n s o B A S I C s t r u c t u r e s a l F O R l o o p v a r i a b l e s w i l l b f i x e d - p o i n t , f o e x a m p l e . A n t h c o m p i l e r m a y q u e s t i o n t h u s e r d u r i n g c o m p i l a t i o n : H o w l a r g e i s t r i n g M $ l i k e l y t b e ? C a n b f i x e d - p o i n t ? T h e u s e r h a s t w o r k h a r d e r , b u t h e n p r o d u c t r u n s f a s t e r .E i t h e r w a y , t h e c o m p i l e d p r o g r a m i n o l i k e l y t b s m a l l e ri s i z e t h a n i t B A S I C s o u r c e . I t ' s d i f f i c u l t t c o d e 1 0 I F J > 5 T H E N P R I N T " J I S W ; J i l e s s t h a n t h 1 b y t e s t h a t B A S I Cu s e s . A n d g o o d c o m p i l e r s a d e x t r a a r i t h m e t i c f i x e d - p o i n ta d d i t i o n , f o e x a m p l e t h a t t a k e s u o v e r h e a d s p a c e .W h C o m p i l e ?I t ' s y o u r c h o i c e . I y o u h a v e p r o g r a m t h a t r u n s f o f i v eh o u r s , y o u w i l l p r o b a b l y b d e l i g h t e d w i t h p a l t r yf o u r - t o - o n e c o m p i l e r s p e e d u p . I y o u w a n t p r o t e c t i o n a g a i n s tl i s t i n g , c o m p i l e r w i l l d o g o o d j o b o f i n s t a n to b f u s c a t i o n .D o n ' t l o s e p e r s p e c t i v e . p r o g r a m , t h a t s p e n d s m o s t o i t t i m e w a i t i n g f o a o p e r a t o r o f o p r i n t e r w o n ' t s p e e d u pm u c h u n d e r c o m p i l a t i o n .

Page 13: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 13/68

M a c h i n e L a n u a g e P r o g r a m m e r s w i l l b h a p p y t k n o w t h a t t h e ya r n o y e o b s o l e t e . C o m p i l e r s c a d u s e f u l j o b . B u u n t i l t h e y g e t t h e b r a i n s e q u i v a l e n t t h u m a n 1 s j u d g m e n t ,t h e y w o n ' t r e p l a c e h a n d c o d i n g .

- 1 3 -

Page 14: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 14/68

C h a r l e s A M c C a r t h yg p a u l m h j tB A S I C L a b e l s R e - R e v i s i t e d

I T r a n s a c t o r V o l . 2 N o 1 ( B e s t O T h e T r a n s a c t o rV o l . 2 p p • 1 7 2 - 1 7 7 ) , J H o o g s t r a a t p r e s e n t e d p r o g r a m t h a tm a k e s m a j o r c o n t r i b u t i o n t o t h e d e v e l o p m e n t a n m a i n t e n a n c eo P E B A S I C p r o g r a m s : B A S I C G O T O a n G O S U B t a r g e t s m a b m e a n i n g f u l w o r d s . ( v e r s i o n f o B A S I C 4 . a p p e a r s i T r a n s a c t o r V o l . 3 N o 1 )

F o n u m b e r o r e a s o n s , f o u n d i a d v i s a b l e t s l i g h t l y r e - w o r k h i s p r o g r a m . T h p r i n c i p a l d i f f e r e n c e s a n t h r e a s o n s f o t h - c h a n g e s a r e :1 b u g i n v o l v i n g s t a c k h a n d l i n g h a s b e e n c o r r e c t e d . I

t h o r i g i n a l v e r s i o n , a i n t e r r u p t t h a t o c c u r s d u r i n gl i n e s 1 2 4 0 - 1 2 7 0 ( o t h a s s e m b l y l i s t i n g i V o l . 2 w i l lr e m o v e f l a g f r o m t h s t a c k . T h r e s u l t i t h a t B A S I CG O S U B # L a b e l c o m m a n d w i l l b i n t e r p r e t e d a G O T O# L a b e l . T h i s h a p p e n s r a n d o m l y , o t h a v e r a g e a b o u t o n c ee v e r y o n t t w t h o u s a n d t i m e s t h a t G O S U B # L a b e l i e n c o u n t e r e d .

2 T h o r i g i n a l p r o g r a m m a k e s f r e e u s o t h . a n . r e g i s t e r s , a n d i p a r t i c u l a r , d e s t r o y s . e a c h t i m e t h C H R G E T r o u t i n e a $ 0 0 7 0 i c a l l e d . a l o a t h e t o u s et h e s e r e g i s t e r s u n t i l a b s o l u t e l y s u r e t h a t i t i s s a f e t od s o T h u s t h p r e s e n t v e r s i o n r e t u r n s w i t h . a n . u n c h a n g e d e x c e p t i t h o s e c a s e s t h a t a c e r t a i n a b o u t .

3 w a n t e d t m a k e t h i s p r o g r a m a v a i l a b l e t o u l o c a l P E Tu s e r s g r o u p . T h c o d e s h o u l d b r e l o c a t a b l e , w h i c h i e a s y : t h e o n l y p o s i t i o n d e p e n d e n t c o d e i t h o r i g i n a lv e r s i o n i t h e c a l l t t h s u b r o u t i n e C O R R E C T w h i c h t e s t sf o t e r m i n a t o r t # L a b e l , a n t h i s c a e q u a l l y w e l lb d o n e i n l i n e . M o r e i m p o r t a n t l y f f o t h o s e w h o d w i s ht p o s i t i o n t h i s c o d e i t h s e c o n d c a s s e t t e b u f f e r , t h l o c a t i o n s # 0 3 E 0 - $ 0 3 F 9 s h o u l d b l e f t f r e e f o T o o l k i t .D e s p i t e m y b e s t e f f o r t s a t i g h t e n i n g u t h e c o d e r t h eo n l y w a c o u l d m a k e i f i i $ 0 3 3 A - 0 3 D F w a t a b a n d o nt h i n i t i a l i z a t i o n r o u t i n e H O O K U P . H O O K U P m a y e i t h e r b p l a c e d f o l l o w i n g t h p r e s e n t v e r s i o n , i w h i c h c a s eS Y 9 9 m a b d o n e b e f o r e T o o l k i t i a c t i v a t e d , o r i tm a b p l a c e d i y o u r B A S I C p r o g r a m h i d d e n i R E s t a t e m e n t ( f o r d e t a i l s s e F V a n D u i n e n r T r a n s a c t o r V o l .2 N o P r o g r a m P l u s i t h s e c t i o n W i t h i n B A S I C )

4 A t t h e s t a r t o t a r g e t l i n e ( B A S I C l i n e t h a t b e g i n sw i t h # L a b e l ) c o m m a s e e m s i n a p r o p r i a t e a t e r m i n a t o rb e c a u s e t h e c a l l t S K P S T T w i l l s k i p o v e r t h c o m m a t t h f o l l o w i n g c o l o n o e n d - o f - l i n e n u l l b y t e . T h u s t h p r e s e n t v e r s i o n d o e s n o t t e s t f o c o m m a a t e r m i n a t o rh e r e .

1

Page 15: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 15/68

5 T h p r o g r a m l o o k s a t h r e t u r n a d d r e s s o n t h e s t a c k t d e c i d e w h a t a c t i o n i s h o u l d t a k e . T h e s e a d d r e s s e s a r $ C 8 3 E ( T H E N ) , $ C 7 A C ( G O T O ) , $ C 7 8 F ( G O S U B ) f a n S C 8 6 9 ( O N . . ) . T h o r i g i n a l v e r s i o n , a n d t h i s o n e a l s o ,c h e c k o n l y t h l o b y t e o t h i s a d d r e s s . a u n e a s ya b o u t t h i s , s t h v e r s i o n t h a t n o u s f o m y s e l ft e s t s t h h i g h b y t e a l s o ( i l i v e s i h i g h m e m o r y w h e r es p a c e i n o s i m p r o t a n t ) . v e r y m u c h d o u b t t h a t s u c hc a u t i o n i n e e d e d , b u t w a n t e v e n l e s s t o f i n d o u t t h a ti i s

T h f o l l o w i n g l i s t i n g w a m a d e f r o m w o r k i n g c o d e ,p r i n t e d o u b y S u p e r m o n ( T h a n k y o J i m ! ) . h a v e a d d e dl a b e l s a n c o m m e n t s a n h a v e t r i e d t f o l l o w M r H o o g s t r a a t s 9o r i g i n a l .C h a r l e s A M c C a r t h y1 3 5 9 W I d a h o A v S t P a u l , M N 5 5 1 0 8( 6 1 2 ) 6 4 6 8 6 7

t 1 * - 1 B A S I C 4 . u s e r s t a k e n o t e ! ). 0 3 3 A 4 E C J M P $ C 7 E B

L A B E L S. 0 3 3 D. 0 3 3 P0 3 4 1

0 3 4 30 3 4 40 3 4 50 3 4 70 3 4 90 3 4 B0 3 4 D0 4 0 3 5 1

. 0 3 5 20 3 5 3

E D E 8 4 A E F A C F 6 A 4

7 0 7

F 3 0 7 2 0

7 0

I N B N I N T X P H L D C P B E L D C M B E P L T A J M

$ 7 $ 0 3 4 3$

# $ F F$ 3 $ 0 3 5 1( $ 7 8 , X )# $ 2 3$ 0 3 5 6

$ 0 0 7 6

; U N D E F ' D S T A T E M E N T E R R O R; ( * - $ B 8 6 E ) I s s u e d w h e n; s e a r c h e d f o t L a b e l i n o ; f o u n d . P l a c e d h e r e s a ; i n a d v e r t e n t S Y S 8 2 6 d o e s n ' t; c a u s e c r a s h

; P e r f o r m T X P T R i n c f o r; C H R G E T; S a v e . o s t a c k; T e s t i m m e d i a t e m o d e; G e x i t i s ; R u n m o d e : c h e c k f o ■ # ; N o t e ( 7 8 , F F ) = ( 7 7 , 0 0 ); G t e s t i f o u n d; e l s e e x i t t C H R G O T a f t e r; r e s t o r i n g .

1

Page 16: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 16/68

C H K L A B. 0 3 5 6 6

0 3 5 7 A 0 3 5 8 6 0 3 5 9 C 0 3 5 B F 0 3 5 D C 0 3 5 P P O0 3 6 1 C 90 3 6 3 P 0 3 6 5 4 0 3 6 6 C 0 3 6 8 D 0 3 6 A 6 0 3 6 B 6 80 3 6 C 2 0 3 6 F C 0 3 7 1 D 0 3 7 3 4

P L ; r e s t o r e . T A P L ; L o w b y t e o c a l l i n g a d d r .

S C M # $ 3 E ; ( * - # $ C 1 )1 B E $ 0 3 7 7 ; d T H E N ( C a r r y s e t )A C C M P # $ A C ; { * - # $ 2 P )1 B E $ 0 3 7 7 ; d G O T O ( C a r r y s e t )8 C M # $ 8 F ; ( * - * $ 1 2 )1 B E $ 0 3 7 6 ; d G O S U B

P H ; L o w b y t e t o s t a c k i c a s e6 C M # $ 6 9 ; n o t h i n g t o d o . . . ( * - # $ E C )6 B N $ 0 3 D 8 ; t h e n g o S K P S T T a n d e x i t

P L ; d O N . . P u l l r t a d d r o f P L ; s t a c k

7 0 J S $ 0 0 7 0 ; a d v a n c e T X T P T R t c o m m a2 C M # $ 2 C f o l l o w i n g # L a b e lP B N $ 0 3 6 C5 C J M $ C 8 5 P ; ( * - $ B 8 E 2 ) e x i t t O N . R E T

; T H E N / G O T O v s G O S U B i n f o r m a t i o n i s a v e d i c a r r y b i 0 3 7 6 1 80 3 7 7 6 0 3 7 8 0

C L P L P H

; G O S U B e n t r y; f i n i s h p u l l i n g r t a d d r e s s; S a v e w h i c h ( P L A d o e s n ' t

a f f e c t C a r r y ); A t h i s p o i n t , f r e e u s m a b m a d e o . a n . S E T L A D

m a k e s n o u s e o f . a n . Y a n S K P S T T n e e d s n e i t h e r o e n t r y ,b u t u s e s b o t h .F L A B E L. 0 3 7 9

0 3 7 B. 0 3 7 D. 0 3 7 FN X S T A T. 0 3 8 1. 0 8 . 0 8 . 0 8 . 0 3 8 8. 0 3 8 A. 0 3 8 C

0 8 . 0 3 8 F. 0 3 9 1. 0 3 9 3. 0 9 . 0 3 9 6. 0 3 9 8. 0 3 9 9

A A A F

A B 1 8 6 8 8 8 6 8 C B F A 8

2 2 0 0

0 5 5 0 5 5 0 5

5 A

L D L D L D B E

L D L D C L S T A D S T T X S T A D S T I N L D B E T A D E

$ 2 $ 2 # $ 0 0$ 0 8

# $ 0 0( $ 5 C ) , Y$ 5 # $ 0 4$ 5 $ 5 # $ 0 0$ 5 ( $ 5 C ) , Y$ 0 3 3 A

; I n i t B A S I C t e x t p t r t ; s e a r c h f o l i n e s t a r t i n g; w i t h # L a b e l . H b y t e i . ; L b y t e i .

; P t r t p r e s e n t l i n e i $ 5 ; P t r + 4 p o i n t s t t e x t f o ; t h i s l i n e

Y - ; c h k f o r n u l l l i n k , e n d p r o g; i s o t L a b e l n o t f o u n d; s a v e n e x t l i n e h b y i . ; . Y = 0

- 1

Page 17: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 17/68

M A T C H. 0 3 9 A. 0 3 9 C. 0 3 9 E. 0 3 A 0. 0 3 A 2. 0 3 A 4. 0 3 A 6. 0 3 A 8. 0 3 A A. 0 3 A B. 0 3 A D. 0 3 A P. 0 3 B 1. 0 3 B 3. 0 3 B 5. 0 3 B 7. 0 3 B 9. 0 3 B B

B P C P C P D D C D B P C P C P C D

5 O 3 O 2 O 7 D E 7 O 2 0 3 0 2 C

L D B E C M B E C M B E C M B N I N B N L D B E C M B E C M B E C M B N

( $ 5 A ) , Y$ 0 A # $ 3 A$ 0 3 A D# $ 2 0$ 0 3 A D( $ 7 7 ) , Y$ 0 8 $ 0 9 ( $ 7 7 ) , Y$ 0 B f $ 2 C$ 0 B # $ 3 A$ 0 B # $ 2 0$ 0 8

; T e s t f o r # L a b e l t e r m i n a t o r; n u l l ( e n d o f l i n e ); c o l o n ( e n d o f s t a t e m e n t )

; N t e r m i n a t o r — t e s t a g a i n s t; g i v e n I L a b e l — t o N X S T A T i ; n o t t h i s o n e . M a t c h s o f a r; t e s t n e s t c h a r a c t e r *; f o r c e d b r a n c h; T e r m i n a t o r f o u n d t h i s l i n e; t e s t g i v e n # L a b e l f o t e r m .; t e r m i n a t r s a r e n u l l , c o m m a ,; c o l o n ,; b l a n k .; N t e r m i n a t r , t r y n e x t l i n e

; M a t c h f o u n d . W e t r a n s f e r B A S I C e x e c u t i o n t t h a p p r o p r i a t el i n e o B A S I C t e x t w i t h J S R S E T L A D , t h e n s k i p o v e r t o t h e# L a b e l t h a t b e g i n s t h i s l i n e u s i n g J S R S K P S T T , a n d r e s u m en o r m a l e x e c u t i o n . F i r s t , h o w e v e r , i w h a v e G O S U B , w m u s t p r e p a r e t h e s t a c k f o t h e v e n t u a l R E T U R N s t a t e m e n t .

0 3 B D 2 0 3 B E B 0 3 C 0 A 0 3 C 2 4 0 3 C 3 A 50 3 C 5 4 0 3 C 6 A 0 3 C 8 4 0 3 C 9 A 0 3 C B 4 0 3 C C A 0 3 C E 4 0 3 C F A 90 3 D 1 4 0 3 D 2 A 0 3 D 4 4 80 3 D 5 2 0 3 D 8 2 0 3 D B 4

1 7 7 3

3 8

C C C C 0 C 7 6 0 0

H O O K U P. 0 3 D E A 9 4 C. 0 3 E 0 8 7 . 0 3 E 2 A 9 4 . 0 3 E 4 8 7 . 0 3 E 6 A 9 0 . 0 3 E 8 8 7 . 0 3 E A 6

P L B C $ 0 3 D 5L D $ P H L D $ 7 P H L D $ 3 P H L D $ 3 P H L D # $ 8 DP H L D # $ C 6P H L D # $ C 3P H J S $ C 7 C DJ S $ C 8 0 0J S $ 0 0 7 6

L D # $ 4 CS T $ 7 L D # $ 3 DS T $ 7 L D # $ 0 3S T $ 7 R T

; R e c a l l T H E N / G O T O v G O S U B; C a r r y s e f o T H E N / G O T O; C a r r y c l e a r , s o p u ; r t n d a t a o s t a c k

; ( * - # $ B 7 ); ( * - # $ 4 9 ); J S R S E T L A D ( * - $ B 8 5 0 ); J S R S K P S T T ( * $ B 8 8 3 ); J M P t C H R G O T a n r e t u r n

; S Y S h e r e t e n g a g e ( 9 9 0 )

1

Page 18: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 18/68

E d i t o r ' s N o t eH e r e a r e t w o B A S I C l o a d e r s f o t h i s n e w e s t r e n d i t i o n o t h B A S I C L a b e l S u p p o r t I n t e r f a c e ; o n f o B A S I C 2 , 0 a n d t h eo t h e r f o r B A S I C 4 . 0 . F o r t h o s e u s i n g d i s k w i t h B A S I C 4 y o u ' l l n e e d t m o v e t h e r o u t i n e . B A S I C 4 . d i s k c o m m a n d s u s p a r t s o t h e ' 2 n d c a s s e t t e b u f f e r ( 8 2 6 - 1 0 1 7 ) a n w i l l c l o b b e ri g o o d ! Y o u c o u l d m o v e i u p h i g h i m e m o r y a n s e a l i o f f , , b u t h e 1 s t c a s s e t t e b u f f e r ( 6 3 4 - 8 2 5 ) w i l l d o n i c e l y( u n l e s s y o u ' r e u s i n g c a s s e t t e # t o o ) . T o s e t u p t h e r o u t i n eh e r e , s i m p l y c h a n g e A D = 8 2 6 t A D = 6 3 4 . I t h i s c a s e , t h ea c t i v a t i n g S Y S w i l l c h a n g e f r o m S Y 9 9 t o S Y S 7 9 8 .

9 R E * * B A S I C L A B E L S U P P O R T I N T E R F A C E D E M O * * 1 0 F O R I = 1 T O 31 1 O G O S U B # S U B l r # S U B 2 , # S U B 31 2 N E X T1 G O T O # A L L D O N E1 4 1 5 # S U B 1 : P R I N T W S U B R O U T I N E " ; I : R E T U R N1 6 2 0 # S U B 22 1 P R I N T I f S U B R O U T l f ; I2 2 R E T U R N3 0 3 1 # S U B 3 P R I N T 1 1 S U B R O U T3 2 R E T U R N5 0 5 1 # A L L D O N E P R I N T " E N D A L L D O N E

1

Page 19: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 19/68

9 0 R E B A S I C 4 . L A B E L S U P P O R T I N T E R F A C E9 1 9 2 9 3 9 4 9 5 9 6 9 7 9 8 9 9 1 0 1 11 0 2 21 0 3 31 0 4 41 0 5 51 0 6 61 0 7 71 0 8 81 0 9 91 1 1 01 1 2 11 1 3 21 1 4 31 1 5 41 1 6 51 1 7 61 1 7 7

A D = 8 2 6C H = 0F O R J = A DR E A DP O K EN E X TP R I N T C H

T O A D + 1 7 6C H = C H + X

R E * * C H E C K S U M S H O U L DE N

D A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T AD A T A

7 1 6 2 4 2 0 2 0

4 9 9 1

2 0 2 4 1 7 1 6

7 7 9

n o 2 5 5 ,1 0 4 ,

2 6 2 3 6 ,2 4 9 ,1 6 0 ,1 0 5 ,2 0 0 ,2 0 1 ,2 1 5 ,

8 2 1 5 4 3 2

1 3 3 ,

1 8 4 ,2 2 8 ,1 7 0 ,2 0 1 ,2 0 8 ,

7 6 o 4

1 7 7 ,5 8

2 0 0 ,2 0 1 ,1 6 5 ,

7 2 8 0

1 1 2 ,

2 3 5 7 4

1 1 2 2 2 4 1 3

9 2 4 2 0

5 1 2 1 6 1 8 1 6

R E R E R E

R E E Q U A L

1 1 9 ,2 4 0 ,1 1 8 ,2 4 0 ,1 0 4 ,1 8 4 ,

4 9 0

2 4 0 ,1 1 2 3 7 ,

2 4 0 ,7 2

1 4 1 ,3 2 6 1

D I S K U S E R S C H A N G ER E S E T C H E C K S U MA C C U M U L A T E S U

P R I N T C H E C K S U M2 1 9 5 2

2 0 8 ,6 o

2 2 1 0 4 ,

2 4 1 6 0 ,1 3 8 ,1 6 2 ,2 0 1 ,1 7 7 ,

4 1 6 5 ,

7 2 1 3 1 ,1 3 3 ,

* *

2 1 6 1 ,1 0 4 ,2 0 1 ,

3 2 1 0 4 ,

o 1 3 3 ,1 7 0 ,

3 2 1 1 9 ,2 0 1 ,1 1 9 ,1 6 9 ,1 8 4 ,1 1 3 ,

2 3 0 ,1 2 0 ,1 7 0 ,

1 8 1 1 2 ,

8 1 7 7 ,

9 3 1 3 6 ,2 4 0 ,2 4 0 ,

3 2 7 2

1 8 3 ,7 6

1 6 9 ,

1 2 2 0 1 0 2 4 1 6

9 1 0 1 7

1 1

2 0 1 6

7 1 1

T A D

1 3 8 ,3 5

2 0 1 ,1 7

2 0 1 ,4 0 2 4

o 9 0

2 0 9 ,2 0 1 ,1 9 6 ,

5 5 1 6 9 ,

0 1 3 3 ,

6 3

7 2 4 1 9

7 4

1 6 1 3 1 3 2 4 1 1

4 4 7 7

1 6 1 1

9 0 R E M B A S I C 2 . L A B E L S U P P O R T I N T E R F A C E9 1 A D = 8 2 69 2 C H = 0 R E M R E S E T C H E C K S U M9 3 F O J = A D T O A D + 1 7 69 4 R E A D C H = C H + X R E A C C U M U L A T E S U 9 5 P O K E J , 9 6 N E X T9 7 P R I N T C H R E M P R I N T C H E C K S U M

C H E C K S U M S H O U L D E Q U A L 2 2 1 2 7 * * 9 8 R E * * 9 9 E N 1 0 1 1 D A T A 7 6 2 3 5 , 1 9 9 , 2 3 0 , 1 1 9 , 2 0 8 , 2 2 3 0 ,1 0 2 2 D A T A 1 6 2 , 2 5 5 , 2 2 8 , 5 5 2 4 0 , 6 1 6 1 , 1 2 0 ,1 0 3 3 D A T A 5 1 0 4 , 1 7 0 , 7 6 1 1 8 ,1 0 4 4 D A T A 2 4 0 , 2 6 , 2 0 1 , 1 7 2 , 2 4 0 ,1 0 5 5 D A T A 2 0 1 , 1 0 5 , 2 0 8 , 1 1 0 , 1 0 4 , 1 0 4 ,1 0 6 6 D A T A 2 0 8 , 2 4 9 ,1 0 7 7 D A T A 4 1 1 6 0 ,1 8 D A T A1 0 9 9 D A T A

7 6 9 5 2 0 0 ,0 2 4 0 , 4 1 6 0 ,

0 1 0 4 , 1 7 0 ,2 2 2 0 1 , 1 4 3 ,

3 2 1 1 2 ,2 4 1 0 4 ,

0 9 2 1 0 5 , 4 1 3 3 , 9 0 1 3 8 , 1 3 3 ,

8 1 7 7 ,

9 3 9 1 2 0 0 , 1 7 7 , 9 2 2 4 0 , 1 6 2 , 1 7 0 , 1 3 6 ,1 1 1 0 D A T A 1 5 2 0 1 , 5 8 2 4 0 , 1 1 2 0 1 , 3 2 2 4 0 ,

1 1 2 1 D A T A 2 0 8 , 2 1 5 , 2 0 0 , 2 0 8 , 2 3 7 , 1 7 7 , 1 1 9 , 2 4 0 ,1 1 3 2 D A T A 2 4 0 ,1 1 4 3 D A T A 1 7 6 ,1 1 5 4 D A T A 1 6 5 ,1 1 6 5 D A T A 7 2 1 1 D A T A

8 2 0 1 , 5 8 , 2 4 0 , 4 2 0 1 , 3 2 2 1 , 1 6 5 , 1 2 0 , 7 2 , 1 6 5 , 1 1 9 , 7 2 5 4 7 2 1 6 9 , 1 4 1 , 7 2 1 6 9 , 1 9 8 ,

3 2 1 1 7 7 D A T A

3 2 2 0 5 , 1 9 9 ,7 6 1 3 3 , 1 1 2 ; ' 1 6 9 ,9

0 2 0 0 , 7 6 ,6 1 1 3 3 , 1 1 3 , 1 6 9 ,

1 2 0 ,2 0 1 ,1 0 4 ,2 4 0 ,

0 1 6 5 ,

9 2 1 0 5 ,1 7 7 ,1 1

1 2 2 0 8 ,1 6 5 ,

7 2 1 1 8 ,

3

1 3 8 , 7 23 5 2 4

2 0 1 , 6 1 7 7

2 0 1 , 4 4 0 1 6 2 4 1 3

0 1 3 9 0 2 4 2 0 9 , 1 1

2 0 1 , 4 1 9 6 , 4

5 5 7 1 6 9 , 1 9 5

0 1 6 1 3 3 , 1 1

1

Page 20: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 20/68

4 0 2 2 P r i n t e r N o t e s

F i r s t I ' l i k e t m e n t i o n " t h a t n e w R O M i a v a i l a b l ef o t h 2 0 2 2 p r i n t e r . T h 9 0 1 4 7 2 - f i l r e p l a c e s t h o r i g i n a l 0 R O M a n d t h e s u b s e q u e n t 0 4 R e c a l l , t h e 0 f o r c e d c a r r i a g et r a v e l f o e a c h l i n e f e e d a n d t h e 0 w o u l d o c c a s i o n a l l y l o c ki n t o l o w e r c a s e . T h e 0 f i x e s a l l p r e v i o u s b u g s , b u d u t 2 0 2 2 m e c h a n i c s i c a n f t g i v e b i - d i r e c t i o n a l p r i n t . F o d e t a i l s o t h 0 7 c o n t a c t y o u r n e a r e s t C o m m o d o r e d e a l e r .

N o w o n t o t h e 4 0 2 2 . F a s t e r , s l e e k e r , q u i e t e r , n i c e rc h a r a c t e r s e t , p l u s a l l t h e f e a t u r e s o t h e 2 0 2 2 m a k e t h 4 0 2 2 b a r g a i n a o n l y $ 9 9 5 C a n a d i a n * T h 4 0 2 2 £ h a s i n c er e p l a c e d t h e 4 0 2 2 . I h a a l t h f e a t u r e s o i t p r e d e c e s s o r w i t h b i - d i r e c t i o n a l p r i n t c a p a b i l i t y a d d e d . T h i sn e R O f o 4 0 2 2 s i a v a i l a b l e f o r e t r o f i t t i n g .

T h m a n u a l h a f e m i n o r o v e r s i g h t s w h i c h w e ' l l c l e a ru n o w :

1 P a g e 3 s t a t e s , " . . . 1 4 4 s t e p s p e r i n c h , s d e c l a r e dv a l u e o 1 p r o d u c e s l i n e s p e i n c h . 1 9 I s h o u l d r e a d ," . . . 1 9 5 s t e p s p e r i n c h , . . . 2 8 p r o d u c e s l i n e s p e i n c h . 1 1

2 P a g e 3 a l s o s a y s , " P R I N T # 6 , C H R $ ( 1 4 4 ) p r o d u c e s l i n e ss p a c e d o n e i n c h a p a r t . " S e c o n d a r y a d d r e s s d o e s n o a c c e p t v a l u e s o v e r 1 2 7 . T h e r e f o r e C H R $ ( 1 2 7 ) w i l l r e s u l ti m a x i m u m l i n e s p a c i n g ( a p p r o x . 1 / i n c h ) .

3 N e x t i s a y s , " d e f a u l t v a l u e i s 2 4 f o t h s t a n d a r dl i n e s p e i n c h . " C h a n g e t h i s t 3 6

H e r e a r e s o m e l i n e s p a c i n g v a l u e s f o s e c o n d a r y a d d r e s s( l p i = l i n e s p e i n c h ) :

C o m m e n t s; c h a r a c t e r s w i l l o v e r l a p; c h a r a c t e r s s t i l l o v e r l a p

; c h a r a c t e r s s t o p o v e r l a p p i n g

C H R S V a l u e

1 1 2 2 3 6 6 9

R e s u l t1 9

2 1 6 . 61 4 . 21

l p l p l p l p l p l p l p l p l p l p

T h e o n l y o t h e r d i f f e r e n c e w e ' v e f o u n d o c c u r s w h e n" s k i p p i n g " f r o m o n f o r m a t t e d f i e l d t o t h n e x t . L i k e t h 2 0 2 2 r t h e 4 0 2 2 ( P ) s u p p o r t s ' p r i n t i n g d a t a a c c o r d i n g t p r e v i o u s l y d e f i n e d f o r m a t ' . I o r d e r t " s k i p " f r o m o n f i e l d t t h b e g i n n i n g o t h n e x t , i w a n e c e s s a r y t o s e n d

C H R $ ( 2 9 ) , o ' C u r s o r - R i g h t ' . T h i s s t i l l a p p l i e s t o a l p h af i e l d s , b u t w h e n s e n d i n g n u m e r i c s t s e c o n d a r y a d d r e s s o t h 4 0 2 2 , t h s k i p c h a r a c t e r i n l o n g e r n e e d e d . I s e e m s

2

Page 21: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 21/68

t a g s t t h e e n d o n u m e r i c s a n n u m e r i c v a r i a b l e s w h e no u t p u t . F o r e x a m p l e :

2 0 2 2 : P R I N T # 1 , A ; C H R $ ( 2 9 ) ; B ; C H R $ ( 2 9 ) ; 4 0 2 2 : P R I N T # 1 , A ; B ; C

I t h e x t r a c u r s o r - r i g h t s a r s e n t t t h 4 0 2 2 , t h p r i n t e rw i l l s k i p t w o f i e l d s i n s t e a d o j u s t o n e *

2

Page 22: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 22/68

T u r n i n g T h e S w i t c h ? . . . A l l o v ; Y o u r P E T ! K e v i n E r l e r ,E d s o n A l t a *

»

A f t e r s p e n d i n g u p w a r d s o $ 3 0 0 0 o n y o u r h o m e c o m p u t e r fy o u ' l l f i n d y o u r s e l f w i t h b r i l l i a n t m a c h i n e t h a t c a p e r f o r m f a b u l o u s f e a t s o t h i n k i n g , p l a y m a s t e r c h e s s t p e r f e c t i o n , b a l a n c e y o u r b u d g e t , a n d c a l c u l a t e t h e c o s t o h e a t i n g y o u r h o m e , b u t , p h y s i c a l l y , c a i D a n y t h i n g ?W h a t t U s e :

T h p r o b l e m o c o m p u t e r c o n t r o l h a s b e e n a d d r e s s e d w i t hs o l u t i o n s r a n g i n g f r o m t h c o m p l e x A . C . c o n d u c t e d c o n t r o ls i g n a l s t o t h e s i m p l e ( a n d c u m b e r s o m e ) r e l a y s w i t c h i n gs y s t e m s . c h o s e t h e f o r m e r , h o w e v e r , a m e a n a i s o u n d s ,i i a c t u a l l y q u i t e s i m p l e . T h e i n t e r f a c e t h a t f o l l o w si m p l e m e n t s a a l r e a d y d e v e l o p e d , a n d r e a d i l y a c c e s s i b l ed e v i c e c a l l e d t h B S R - X 1 0 h o m e c o n t r o l s y s t e m . T h e s y s t e mX - 1 0 f e a t u r e s c o n t r o l o s i x t e e n d i f f e r e n t e l e c t r i c a la p p l i a n c e s u s i n g t h d i f f e r e n t m o d u l e s . T h e c o n t r o l c a n b r e m o t e ( t h r o u g h t h c o m m a n d c o n s o l e ) o l o c a l ( b u s i n g t h a p p l i a n c e ' s a c t u a l s w i t c h ) . L i g h t s h a v e a d d i t i o n a l a b i l i t yt h a v e t h e i r i n t e n s i t y v a r i e d . T h e B S R - X 1 0 s y s t e m i a v a i l a b l e f o a p p r o x i m a t e l y $ 4 ( p l u s m o d u l e s ) •

T h X - 1 0 ' s k e y b o a r d ( f i g u r e 1 i v e r y s t r a i g h t f o r w a r d .T h n u m b e r o t h a p p l i a n c e o l a m p i e n t e r e d , f o l l o w e d b t h c o m m a n d ( o n , o f f , b r i g h t , o r d i m ) T h t w o t h e r k e y sa r e t o a l l o w a l l o f t h e d e v i c e s a t t a c h e d t t h s y s t e m t o b et u r n e d o o o f ( i e . A L O N A L O F F ) . T h v a r i a b l ei n t e n s i t y o t h l i g h t s i d e t e r m i n e d b y t h a m o u n t o t i m et h B R I G H T o D I M s w i t c h i h e l d d o w n . T h e v a s t i n c r e a s e o t h c o m p u t e r ' s r e a l m o c o n t r o l c a b e a s i l y i m a g i n e d i t h c o m p u t e r c o u l d g r a s p c o n t r o l o t h e s e f e b u t t o n s .H o w T o D o I t

T e c h n i c a l l y , t h u n i t i b u i l t a r o u n d c h i p c a l l e d t h 5 4 2 - C , w h i c h s u p p o r t s b m a t r i x k e y b o a r d . T h e c h i pf i r s t p u t s - v o l t p u l s e o t h e f i r s t s t r o b e l i n e , a n s c a n s f o t h e s a m e p u l s e o t h e i g h t i n p u t l i n e s . I f i td o e s n ' t s e o n e , t h u n i t w i l l c a r r y o w i t h t h s e c o n ds t r o b e l i n e , a n s o n T h e r a t e a w h i c h i s t r o b e s t h e s el i n e s i a b o u t 3 7 8 0 t i m e s p e s e c o n d , a n t h i n p u t o n t h ea p p r o p r i a t e p i n m u s t b p r e s e n t a t h a t e x a c t m o m e n t . A i e a s i l y s e e n , t h i s i n c r e d i b l e s p e e d c a p r o v i d e s l i g h tp r o b l e m s . T o v e r c o m e t h i s h u g e t i m i n g p r o b l e m , o n c o u l d g t e i t h e r s o f t w a r e o h a r d w a r e . W h i l e s o f t w a r e w o u l d p r e s e n tu w i t h v e r y c o m p l i c a t e d p r o g r a m m i n g t a s k s a w e l l a s t h en e e d f o p r o g r a m t h a t w o u l d h a v e t r u c o n s t a n t l y , t h h a r d w a r e a p p r o a c h p r o v e d q u i t e s i m p l e . B u s i n g 7 4 L S 1 5 3m u l t i p l e x i n g c h i p , t h e t h r e e s t r o b e l i n e s c o u l d b f e i n t oi t a n d t h e c o m p u t e r c o u l d s e l e c t w h i c h o t h t h r e e c o u l d b g a t e d t h r o u g h t t h o u t p u t p i n ( b u s o t w b i t b i n a r yi n p u t ) . W i t h t h i s d o n e , t h o u t p u t w o u l d t h e n b p u l s e d a t h e r a t e a s t h s e l e c t e d s t r o b e l i n e . T h i s o u t p u t c o u l d t h e nb u s e d a s a e n a b l e l i n e t t l i n e b i n a r y d e c o d e r( 7 4 L S 1 3 8 ) . V 7 i t h a l t h i s , t h e d a t a f r o m t h c o m p u t e r c o u l d

b e f e d r i g h t i n t o t h X - 1 0 . S i m p l e , r i g h t ? R i g h t , b u w e ' r es t i l l n o t q u i t e f i n i s h e d .

2

Page 23: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 23/68

F o r t h e a v e r a g e p e r s o n t h a t i s n ' t r e a l l y i n t e r e s t e d i h o t h h a r d w a r e w o r k s , a l t h a t h a b e e n d o n e t t h i s p o i n ti t h f o r m u l a t i o n o v e r y s i m p l e t w p i e c e i n t e r f a c e . N t h i n k i n g r e q u i r e d . . . a l e a s t n o y e t * R e a d o n . * .T h P o w e r :

T h p r o b l e m i t h a t t h e B S R s y s t e m o p e r a t e s o n e g a t i v el o g i c , w h i l e t h c o m p u t e r o p e r a t e s o p o s i t i v e l o g i c .B a s i c a l l y r t h t w p o w e r s u p p l i e s a r i n c o m p a t i b l e .

T h e S o l u t i o n : w e i s o l a t e t h B S s y s t e m f r o m t h e p o w e rl i n e , a n t h e n t i e t h e g r o u n d s i d e o i t c h i p * s p o w e r i n t ot h c o m p u t e r p o w e r s u p p l y . T h e o n l y a d d i t i o n a l p a r t r e q u i r e di a i s o l a t i o n t r a n s f o r m e r , t h c h e a p e s t o w h i c h i s h a v e r t r a n s f o r m e r l i k e t h e o n i y o u r b a t h r o o m ( a v a i l a b l ea y o u r l o c a l h a r d w a r e s t o r e ) . C u o f f t h e p l u g f r o m t h B S s y s t e m a n s p l i c e i t p o w e r c o r d i n t o o n e s i d e o t h i s o l a t i o n t r a n s f o r m e r . N o w , a f t e r r e m o v i n g t h e c o v e r f r o mt h X - 1 0 ( i w i l l o n l y c o m e o f p a r t w a y ) , c u t t h p l a s t i ci n s e r t t h a t h o l d s t h p o w e r c o r d i p l a c e ( r e m o v e i t o t a l l y ) , a n d t a k e o u t h s c r e w s t h a t h o l d t h b o t t o m P b o a r d i p l a c e . R e m o v i n g t h i s b o a r d , l o c a t e t h t w p r i n t e dc i r c u i t s t r i p s a i n d i c a t e d i f i g u r e 3 a n v e r y c a r e f u l l ys c r a t c h o u t t h e s e t w l i n e s w i t h s m a l l k n i f e . M a k e s u r et h e r e i n c o n n e c t i o n a f t e r y o u 1 r e d o n e . N e x t , s o l d e rp i e c e o w i r e ( a b o u t t h r e e f e e t ) t o e a c h o f t h e p o i n t s s h o w ni f i g u r e 3 A l s o s o l d e r t h i r d w i r e o n t o t h i n d i c a t e dj u m p e r i f i g u r e 2 T h i s w i r e c o n n e c t s t + v o l t s i t h c o m p u t e r s c u t a n a p p r o p r i a t e l e n g t h . R e p l a c e t h e P C b o a r di n t h e B S s y s t e m , a l l o w i n g a l t h r e e w i r e s t e x i t o u t h s a m e h o l e a s t h e p o w e r c o r d . R u t h e f i r s t t w o w i r e s o v e r t t h i s o l a t i o n t r a n s f o r m e r , a n s p l i c e t h e m ( o n e t e a c h s i d e )a l o n g w i t h a n A * C . c o r d t o t h e u n u s e d s i d e . W i t h a l t h i sa s s e m b l e d i s h o u l d l o o k s o m e t h i n g l i k e f i g u r e 4

F i n i s h e d ?

T h e h a r d p a r t i o v e r . N o w , w i t h m i n u t e s w o r k , w e c a ns l a p t o g e t h e r t h i n t e r f a c e i f i g u r e 5 T h n u m b e r s o n t h ef a r i g h t h a n d s i d e a r t h p i n u m b e r s o t h e 5 4 2 - C .P e r h a p s t h e a s i e s t w a y t c o n n e c t t h i n t e r f a c e t o t h e X - 1 0i t r e m o v e t h t o P b o a r d f r o m t h X - 1 0 , a n d s o l d e r t h w i r e s d i r e c t l y o n t o t h e c h i p . Y o a r n o w c o m p l e t e l yf i n i s h e d w i t h t h h a r d w a r e !

f e q u i c k n o t e s , t h i s d e v i c e i m e a n t t c o n n e c t t t h U s e r P o r t ( i e . t h e 6 5 2 2 V I A ) n o d i r e c t l y t t h C P U .T h e k e y b o a r d o t h B S w i l l n o f u n c t i o n w i t h t h i n t e r f a c ea t t a c h e d , h o w e v e r , b e l i e v e t h r e m o t e c o n t r o l u n i ta v a i l a b l e f o c e r t a i n B S R s w o u l d . A l t h o u g h i w o u l d b q u i t ee a s y t b u i l d t h i s i n t e r f a c e o e p o x y p e r f b o a r d f j u s t u s e d

b r e a d b o a r d ( a v a i l a b l e a n e l e c t r o n i c s h o p ) . F i n a l l y ,q u i c k r u n d o w n o t h p a r t s r e q u i r e d :

B S R - X 1 0 ( m o d e l # 0 1 4 3 1 1 ) a p p r o x . $ 4 4 L S 1 3 a p p r o x .

7 4 L S 1 5 3 a p p r o x . $ I s o l a t i o n t r a n s f o r m e r a p p r o x .

T o t a l a p p r o x . $ 4

Page 24: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 24/68

T h e S o f t w a r e :

A l o t h s o f t w a r e r e q u i r e d t o p e r a t e t h s y s t e m i b a s e d o s o m e s i m p l e n u m b e r s ' w h i c h r e p r e s e n t t h e d i f f e r e n tk e y s o t h X - 1 0 ' f s k e y b o a r d . T h e f o l l o w i n g t a b l e l i s t s t h e s en e c e s s a r y c o d e s :

C o d e K e y C o d e

1 1

1 0 3

1 1 4

1 0 4

1 0 9 3

1 2

1 1 1 1 1 O O F D I B R I G H TA L O A L O F

5 1 1

5 1 2

6 8 8 9 7 7 8

F i r s t , p l u g i y o u r B S s y s t e m o t u r n o y o u r c o m p u t e r .I t h e r e ' s n s m o k e t h e n y o u ' v e d o n e e v e r y t h i n g r i g h t .

N e x t r s e t u p t h e D a t a D i r e c t i o n R e g i s t e r ( D D R A ) o f t h e6 5 2 2 t o a l o u t p u t s e x c e p t P A 0 a n d P A 1 : P O K E 5 9 4 5 9 r 2 5 2

N o w , o u f i r s t c o m m a n d c a n b e e n t e r e d w i t h t h e s es t i p u l a t i o n s :

C o m m a n d s a r i s s u e d t o t h e D A T A O U T P U T R E G I S T E R , 5 9 4 7 1D i r e c t l y a f t e r c o m m a n d i i s s u e d , i s h o u l d b t u r n e d o f

c o m m a n d i t u r n e d o f w i t h : P O K E 5 9 4 7 1 , 1 2 A f t e r c o m m a n d i t u r n e d o f f , a n o t h e r o n s h o u l d n o t b ei s s u e d f o a l e a s t 0 . s e c o n d s

F o e x a m p l e , t t u r n a l a p p l i a n c e s o f f , t h i s c o m m a n dc o u l d b e e n t e r e d d i r e c t l y f r o m t h k e y b o a r d :

P O K E 5 9 4 7 1 , 8 P O K E 5 9 4 7 1 , 1 2 8F o s e q u e n c e o t w o c o m m a n d s :P O K E 5 9 4 7 1 , 1 0 P O K E 5 9 4 7 1 , 1 2 F O T 2 0 N E X T P O K E 5 9 4 7 1 , 8 P O K E 5 9 4 7 1 , 1 2 T h a b o v e w o u l d t u r n d e v i c e # o n T t i d y t h i n g s u

f o p r o g r a m , t h f o l l o w i n g s u b r o u t i n e c o u l d b c a l l e d a f t e re a c h c o m m a n d i s s e n t :

1 0 0 0 0 P O K E 5 9 4 7 1 , 1 2 8 : F O R T 2 0 N E X T R E T U R NO n f i n a l n o t e ; w h e n u s i n g t h ' D I M 1 o r ' B R I G H T '

c o m m a n d s , c e r t a i n d e l a y i n e c e s s a r y b e f o r e t h c o m m a n d i t u r n e d o f f :

P O K E 5 9 4 7 1 , 9 F O 1 T O 4 0 0 N E X T P O K E 5 9 4 7 1 , 1 2 8T h i s m a d i y o u r l i g h t a b o u t h a l f , e x p e r i m e n t a

r e q u i r e d .2

Page 25: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 25/68

B u t W a i t !

I m a g i n e w a k i n g u t d i l i g h t w h i c h i s l o w l y g a i n i n gi t p r o p e r f o r m * T h e r a d i o c o m e s o w i t h t h m o r n i n g n e w s ( p r e - d e t e r m i n e d t i m e i y o u r p r o g r a m ) , a n d o w n s t a i r s y o u rc o f f e e i a l m o s t r e a d y * A s y o l e a v e y o u r r o o m , t h e l i g h tw i n k s o u a n d t h e r o o m y o e n t e r i s u d d e n l y c o m p l e t e l y l i t .S i t t i n g d o w n t c a t c h t h w e a t h e r o T V a l l t h a t i n e c e s s a r y i w h i s p e r , " T V , p l e a s e " . I t f s o n

S o u n d l i k e f a n t a s y , i i s n ' t s h a r d . A c t u a l l y , w i t ht h s y s t e m y o h a v e j u s t b u i l t , t h f i r s t h a l f i a l r e a d yp o s s i b l e . W i t h t h a d d i t i o n o c o u p l e o p h o t o - c e l l s , a n

s p e e c h r e c o g n i t i o n u n i t , s o i t h r e s t . F r o m h e r e t h p o s s i b i l i t i e s a r e , o c o u r s e , e n d l e s s .

E d i t o r ' s N o t e

C o n g r a t u l a t i o n s K e v i n o a e x c e l l e n t i d e a A N i m p l e m e n t a t i o n . c o u p l e f o o t n o t e s t h a t d e s e r v e m e n t i o n : T h eB S s y s t e m d o e s n ' t c o n n e c t d i r e c t l y t y o u r l i g h t s a n a p p l i a n c e s , b u r a t h e r t h r o u g h m o d u l e s t h a t p l u g i n t o t h w a l l . T h e a p p l i a n c e t h e n p l u g s i t t h m o d u l e w h i c h i s e r v i c e d b h i g h f r e q u e n c y s i g n a l p l a c e d o y o u r h o u s ew i r e s b t h m a i n c o m m a n d u n i t . S e v e r a l d i f f e r e n t t y p e s o m o d u l e s a r a v a i l a b l e f o r e g u l a r w a l l s o c k e t s , l i g h ts w i t c h e s a n a p p l i a n c e s . T h B S R s y s t e m i a v a i l a b l e a a n E a t o n s h a r d w a r e d e p a r t m e n t .S e c o n d l y , u n i t k n o w n a t h C o g n i v o x w i l l d o v o i c er e c o g n i t i o n A N s p e e c h s y n t h e s i s o u t o 3 2 w o r d s a n d / o rp h r a s e s . F o m o r e i n f o r m a t i o n , c o n t a c t V o i c t e k , P O B o x 3 8 8 ,G o l e t a C A 9 3 1 1 6 . O c a l l 8 0 6 8 1 8 5 4 .

J • »

J Z i l l : C Z * " ' " •~ " ■ " '

C O M W ' A U O

: ° ! : . k ? \ u l

2

Page 26: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 26/68

o

Page 27: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 27/68

i g : : £ ? L J ^ ~ ~ z . r - — - — • " • • ■ '

Page 28: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 28/68

o

c

Page 29: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 29/68

i i i i

C

i /

U

' . O

S O .

2

Page 30: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 30/68

M a c h i n e L a n g a u g e A u t o - L o c a t i o n J i i n B u t t e r f i e l d ,T o r o n t o

W h e n p r o g r a m l i k e S u p e r m o n o T i n y m o n l o a d s i n t o i t c o m p u t e r a n d R U i g i v e n , i b u i l d s c o p y o t h " r e a l "p r o g r a m i h i g h m e m o r y . T h e r e ' s n e e d t d t h i s :d i f f e r e n t c o m p u t e r s h a v e d i f f e r e n t m e m o r y s i z e s , a n w w a n tt o f i n d t h e t o p o m e m o r y w h e r e v e r i i s M o r e : t h ec o m p u t e r m i g h t a l r e a d y h a v e s o m e t h i n g e l s e n e a r t h e t o o m e m o r y ( s u c h a w e d g e p r o g r a m ) a n d w w a n t t h n e p r o g r a mt f i n e a t l y b e l o w i t T h i s c a l l s f o r a n a u t o - l o c a t i o n p r o g r a m . T h o b j e c t p r o g r a mm u s t b p a c k e d i n t o h i g h m e m o r y . T h i s i o f t e n m o r e t h a nj u s t m o v i n g t h e p r o g r a m , s i n c e s o m e t h i n g s m a y n e e d t o b ec h a n g e d w i t h t h m o v e . I y o u h a v e p r o g r a m t h a t u s e s o n l yb r a n c h e s n o j u m p s , n i n - p r o g r a m s u b r o u t i n e s , n t a b l e sy o m a b a b l e t g e a w a y w i t h s i m p l e m o v e o p e r a t i o n .B u t a n y i n s t r u c t i o n t h a t u s e s a i n - p r o g r a m a b s o l u t e a d d r e s s :

j u m p s , s u b r o u t i n e c a l l s , a n t a b l e s w i l l n e e d t b a d j u s t e d .W n e e d t b u i l d r e l o c a t a b l e p r o g r a m m o d u l e . S o m e t h i n gt h a t s a y s , " T h i s b y t e i n o r m a l s w m a j u s t m o v e i t b u t h a t p a i r o b y t e s i a a d d r e s s a n m u s t b r e c a l c u l a t e d f o t h n e w l o c a t i o n " .G r o u n d R u l e s .W n e e d s c h e m e w h i c h m a r k s a d d r e s s e s s t h a t t h p r o p e ra r i t h m e t i c m a b p e r f o r m e d . T h e r e 1 s o n r e q u i r m e n t a t h o y o w r i t e t h p r o g r a m : i m a b s u m m a r i z e d a " a l la d d r e s s e s m u s t b i o n p i e c e " . .T h e r u l e m a k e s s e n s e : i w o u l d b d i f f i c u l t t p e r f o r ma r i t h m e t i c o a a d d r e s s w h o s e t w b y t e s w e r e s c a t t e r e d i d i f f e r e n t p a r t s o t h p r o g r a m . F o u s e r s w i t h a s s e m b l e r s ,t h r u l e t r a n s l a t e s t o n e v e r u s e t h e o f u n c t i o n s f o h i g h a n l o w b y t e .S i w w a n t e d t p l a c e t h a d d r e s s o T A B L E i n t o i n d i r e c ta d d r e s s I N D A D , w w o u l d a v o i d c o d i n g : L D A # < T A B L ES T I N D A D L D # > T A B L E S T A I N D A D + 1 . I n s t e a d , w e ' d d e f i n et h t a b l e a d d r e s s i m e m o r y w i t h T A B L A D . W O R D T A B L E a n p e r f o r m t h a b o v e s e t u p w i t h L D A T A B L A D S T A I N D A DL D T A B L A D + 1 S T A I N D A D + 1 . W e ' v e u s e d f o u r m o r e b y t e s b u g a i n e d m a j o r b e n e f i t : t h t w b y t e s r e p r e s e n t i n g t h a d d r e s s o T A B L E a r e n o w s t o r e d t o g e t h e r ( a T A B L A D ) a n v / c a a d j u s t t h i s a d d r e s s e a s i l y w h e n w w i s h t r e l o c a t e .T h M e t h o d .T h w a w b u i l d r e l o c a t a b l e m o d u l e i q u i t e e a s y . A n t i m e w e s e e a n a d d r e s s t h a t w i l l n e e d r e l o c a t i o n , w e p l a c ez e r o a b o v e i t A w r e p a c k t h p r o g r a m ( f r o m t h e t o d o w n )t h z e r o w i l l s i g n a l t h a t r e l o c a t a b l e a d d r e s s f o l l o w s .

3

Page 31: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 31/68

T h a t ' s a l v e r y w e l l , b u t w h a t d w d w i t h r e a l z e r o s ?T h e r e w i l l b e m a n y z e r o s i t h p r o g r a m i t s e l f , a n w e d o n ' tw a n t t h e m t t r i g g e r f a l s e r e l o c a t i o n c a l c u l a t i o n . I t h i sc a s e , w c h a n g e t h z e r o t t w z e r o s i t h r e l o c a t a b l ep a c k a g e . T h r e l o c a t i o n p r o g r a m w i l l s p o t t h i s a n d c h a n g e i b a c k t s i n g l e z e r o *I o r d e r t d a r i t h m e t i c o n t h e a d d r e s s e s , w n e e d t k n o ww h e r e t h e y a r p o i n t e d i t h e f i r s t p l a c e . T r e l o c a t e f r o m$ 1 0 0 0 t o $ 4 0 0 0 , f o r e x a m p l e , w n e e d t o a d d $ 3 0 0 0 ; b u w m u s t k n o w t h a t w e a r s t a r t i n g f r o m $ 1 0 0 0 , u s e t h ef o l l o w i n g c o n v e n t i o n : a d d r e s s e s a r w r i t t e n s t h a t t h t o o f t h e p r o g r a m p l u s o n i $ 0 0 0 0 t h a t i s t h l a s t b y t e o t h r e l o c a t a b l e p r o g r a m i s $ F P P P . T h e p r o g r a m c a n ' t r e a l l yg t h e r e , s i n c e t h a t ' s R O s p a c e , b u i m a k e s t h a r i t h m e t i ce a s y . W e c a n l o o k a a a d d r e s s i t h r e l o c a t i o n p a c k a g e a

s i g n e d n u m b e r : a d d r e s s $ F F C 0 c a n b v i e w e d a " 6 b y t e sf r o m t h t o o t h p r o g r a m 1 1 . I o u r e a l t o p - o f - p r o g r a mt u r n e d o u t t o b $ 8 0 0 0 , w h i c h w o u l d b c o r r e c t f o 3 2 m a c h i n e , w e w o u l d t r a n s l a t e t h e s e q u e n c e 2 C O F F 0 t 2 0 C O 7 . . n o t e t h a t t h z e r o d i s a p p e a r s ; i t ' s t h er e l o c a t i o n f l a g . H o w d i d w e g e t h n e w a d d r e s s $ 7 F C 0 ? B ya d d i n g t h r e l o c a t i o n a d d r e s s , $ F F C 0 , t o t h e t o p - o f - p r o g r a m ,$ 8 0 0 0 .G e n e r a t i n g t h R e l o c a t a b l e P r o g r a m .H o w d o w e m a n u f a c t u r e t h i s p a c k a g e w i t h z e r o s a d d e d a n da d d r e s s e s r e c a l c u l a t e d , r e a d y f o r e l o c a t i o n ? W i t h a a s s e m b l e r i t ' s q u i t e e a s y .F i r s t , w a s s e m b l e t w o v e r s i o n s o t h p r o g r a m a t w d i f f e r e n t l o c a t i o n s . T h a t ' s e a s y e n o u g h t o d o : w j u s tc h a n g e t h * s t a t e m e n t a t t h e s t a r t o o u s o u r c e c o d e .T h e n w r u s i m p l e c o m p a r e p r o g r a m w h i c h c o m p a r e s t h t w o b j e c t p r o g r a m s w e h a v e a s s e m b l e d , s t a r t i n g f r o m t h t o p .E a c h m a t c h i n g b y t e i c o p i e d i n t o t h r e l o c a t i o n a r e au n c h a n g e d ; i i t ' s z e r o , a e x t r a z e r o i a d d e d . I t h b y t e s d o n ' t m a t c h , w e h a v e r e l o c a t a b l e a d d r e s s : i t h i sc a s e , w i n s e r t t h z e r o p l u s t h r e c a l c u l a t e d a d d r e s s i n t ot h r e l o c a t i o n p a c k a g e . I t ' s a e a s y j o b : m " r e l o c a t eb u i l d e r " i B A S I C p r o g r a m o a b o u t d o z e n l i n e s .S t o p p i n g .A s w e w o r k d o w n f r o m t h e t o p w e n e e d t d e t e c t w h e n w e h a v er e a c h e d t h e e n d o t h p r o g r a m : t h i s i t r u e o b o t h t h r e l o c a t e b u i l d e r a n d t h e r e l o c a t i n g p r o g r a m i t s e l f . T h e r ea r m a n y e a s y w a y s o d o i n g i t T h e p r o g r a m c a n t e s t t o s e ei t h l a s t a d d r e s s h a b e e n r e a c h e d . A l t e r n a t i v e l y , w c a p u s o m e s o r t o f " f l a g " i n t o t h c o d i n g i t s e l f t d e t e c t t h e n d . I T I N Y M O N , u s v a l u e $ B w h i c h i n e v e r u s e d i t h p r o g r a m a s i m p l e d e t e c t i o n . m o r e c o m p l e t e m e t h o dm i g h t b e t o u s z e r o w i t h v a l u e o s t o r e d b e l o w i t I t f s u p t o y o u : w h a t e v e r w o r k s i s O K .

3

Page 32: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 32/68

V I M o t e .

I t h e V I C , w h a v e o n m o r e p r o b l e m t s o l v e . W e c a f i n dt h e t o p o m e m o r y ( l o c a t i o n s $ 3 a n $ 3 8 ) b u o u p r o g r a mm i g h t f a l l i n t o d i f f e r e n t m e m o r y s p a c e , d e p e n d i n g o w h a t ' sp l u g g e d i n U s p o i n t e r s t f i n d y o u r o w p r o g r a m ( t r y $ 2 a n $ 2 E ) a n e v e r y t h i n g s h o u l d w o r k o u n i c e l y .S u m m a r y .Y o u c a n p i c k a p a r t t h c o d e o S U P E R M O N o T I N Y M O N a n s e h o i t ' s d o n e * Y o c a d e v e l o p y o u r o w n p r o g r a m s . B u i y o u n d e r s t a n d t h p r i n c i p l e s o r e l o c a t i n g p r o g r a mp a c k a g e , y o u c a n d e v e l o p s i g n i f i c a n t l y m o r e u s e f u l p r o g r a m sw h i c h w i l l a d a p t t w i d e r v a r i e t y o m a c h i n ec o n f i g u r a t i o n s .

E d i t o r ' s N o t e

T h m a c h i n e c o d e d i s s a s s e m b l y t f o l l o w i J i m B u t t e r f i e l d sr e l o c a t o r m o d i f i e d s l i g h t l y b y D a v e H o o k f o u s w i t h h i V i c l o a d e r f o P E T / C B M s ( s e e T r a n s a c t o r # 5 V o l 3 ) . D a v ee l i m i n a t e d t h J M P s a n d J S R s i J i m ' s o r i g i n a l u t i l i t y s t h a t t h r e l o c a t o r c a b r e l o c a t e d . F o V i c l o a d e r , i s t a r t s a $ 0 6 4 0 , b u t y o u c a n m o v e i a n y w h e r e ; h i g h e r i y o w a n t m o r e B A S I C u n d e r n e a t h i t o l o w e r f o l a r g e r o b j e c tp r o g r a m s .

N o t i c e t h a t t h r e l o c a t o r s t a r t s w i t h t h e n o t h o b j e c tp r o g r a m s i n c e t h i s w i l l b t h f i r s t b y t e t o b e p a c k e d i n t oh i g h m e m o r y . T h i s i c o n v e n i e n t l y p o i n t e d a b t h e S t a r t o V a r i a b l e s p o i n t e r m i n u s 1 w h i c h i s e t o n c o m p l e t i o n o f t h eL O A D ( p r o v i d e d i t i s . S a v e d p r o p e r l y ) .

3

Page 33: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 33/68

0 4 0 0 - 0 6 3 F0 6 4 0 A 2 0 6 4 2 8 I 0 6 4 4 A 2 0 6 4 6 8 2 0 6 4 8 A 3 0 6 4 A 8 2 0 6 4 C A 3 0 6 4 E 8 2 0 6 5 0 A 0 0 6 5 2 A I 0 6 5 4 D 0 0 6 5 6 C 2 0 6 5 8 C 6 I F0 6 5 A B l I F0 6 5 C D O 3 C0 6 5 E A I 0 6 6 0 D 0 0 6 6 2 C 2 0 6 6 4 C I 0 6 6 6 B I 0 6 6 8 F 2 0 6 6 A 8 2 0 6 6 C A 5 I F0 6 6 E D 0 0 6 7 0 C 2 0 6 7 2 C 6 I F0 6 7 4 B l I 0 6 7 6 1 0 6 7 7 6 5 2 0 6 7 9 A 0 6 7 A A 2 0 6 7 C 6 5 2 20 6 7 E 4 0 6 7 F A 3 0 6 8 1 D 0 0 8 C 3 0 6 8 5 C 3 0 8 6 0 6 8 8 9 3 0 6 8 A 8 0 6 8 B 4 0 6 8 C A 5 3 0 6 8 E D 0 0 6 9 0 C 6 3 50 6 9 2 C 6 3 40 6 9 4 6 0 6 9 5 9 3 0 9 1 0 6 9 8 9 B 0 6 9 A C B 0 6 9 C D O E D0 6 9 E A 0 6 A 0 8 3 0 6 A 2 A 5 3 0 6 A 4 8 5 3 10 6 A 6 6 C 3 0 6 A 9 B 0 6 A A .

B A S I C p o r t i o n ( t i t l e , s y s a d d r e s s , e t c )L D $ 2 S T $ 1 L D $ 2 S T $ 2 L D $ 3 S T $ 2 L D # 3 S T $ 2 L D # $ 0 0L D $ 1 B N $ 0 6 5 8D E $ 2 D E $ 1 L D ( $ 1 F ) , YB N $ 0 6 9 AL D $ 1 B N $ 0 6 6 4D E $ 2 D E $ 1 L D ( $ 1 F ) , YB E Q $ 0 6 8 BS T $ 2 L D $ 1 B N $ 0 6 7 2D E $ 2 D E $ 1 L D A ( $ 1 F ) , YC L A D $ 2 T A L D $ 2 A D $ 2 P H L D $ 3 B N $ 0 8 D E $ 3 D E $ 3 P L S T ( $ 3 4 ) , YT X P H L D $ 3 B N $ 0 9 D E $ 3 D E $ 3 P L S T ( $ 3 4 ) , YC L B C $ 0 6 5 0C M # $ B FB N $ 0 6 8 BL D $ 3 S T $ 3 L D $ 3 S T $ 3

0 J M ( $ 0 0 3 4 )

; s t o r e c o p y o ; S t a r t o V a r i a b l e s; p o i n t e r ( l a s t b y t e o ; o b j e c t p r o g r a m 1 ) ; s t o r e c o p y o ; T o p o M e m o r y; p o i n t e r ( M e m T o p ); z e r o i s e i n d e x• d e c p o i n t e r t o l a s t; b y t e o f o b j e c t p r o g .; ( l s t b y t e t b ; p a c k e d ); g e t o b j . p r o g , b y t e; n o t 0 g o t o $ 0 6 9 A; i 0 d e p o i n t e r

; a n d g e t n e x t b y t e; 0 y e s , t r u e z e r o; n o , r e l o c a t a b l e a d d r; s t o r e h i g h b y t e i ; $ 2 3 . d e p o i n t e r; a n d; g e t n e x t b y t er e c a l c u l a t e l a d d r; u s i n g M e m T o p l ; r e s u l t i . r e c a l c u l a t e h a d d r; u s i n g M e m T o p h ; r e s u l t o n s t a c k; d e c M e m T o p

; r e t r i e v e h a d d r; p a c k a ( $ M e m t o p ) , Y = 0; r e t r i e v e l a d d r; s a v e o n s t a c k; d e c M e m T o p

r e t r i e v e b y t e; p a c k a ( $ M e m T o p ) . Y = 0; r a t h e r t h a n; J M ; l a s t b y t e ?; n o , g o t o $ 0 6 8 B; y e s , s e ; B o t t o m o S t r i n g s; M e m T o p; p o i n t e r; j m p t p r o g r a m; e n d d e t e c t o r o o b p r o g; s t a r t o o b j e c t p r o g

3

Page 34: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 34/68

1 9 8 1 P E B i b l i o g r a p h y D o n W h i t eO t t a w a 6 5 0 2 U s e r G r o u p

T h f o l l o v ; i n g i s b i b l i o g r a p h y o P E r e l a t e d a r t i c l e sp u b l i s h e d i 1 9 8 1 i ' C r e a t i v e C o m p u t i n g 1 , ' K i l o b a u dM i c r o c o m p u t i n g 1 a n d ' C O M P U T E ! 1 .

C r e a t i v e C o m p u t i n g 1 9 8 1J a n u a r yP a g e 2 K P E P e e v e s - K e w C o m p u t e r s F r o m C o m m o d o r e

1 5 P e r s o n a l E l e c t r o n i c T r a n s a c t i o n s -

F e b r u a r y1 M u s i c E d i t o r s f o P e r s o n a l C o m p u t e r s

1 5 P e r s o n a l E l e c t r o n i c T r a n s a c t i o n sM a r c h

2 W o r d p r o v s C M C7 P E T L i z z a r d ( G a m e L i s t i n g )

1 6 R e a d i n g L e v e l : D e t e r m i n a t i o n E v a l u a t i o n ( L i s t i n g )A p r i l

2 2 P e r s o n a l E l e c t r o n i c T r a n s a c t i o n sM a

9 B r e a k E v e n A n a l y s i s W i t h V i s i c a l c2 0 P e r s o n a l E l e c t r o n i c T r a n s a c t i o n s

J u n e

J u l y

2 T h e T N W 2 0 0 03 F a n t a s y G a m e s3 C o m p u t e r W a r f a r e8 S o f t w a r e T e c h n i q u e s o D i g i t a l M u s i c S y n t h e s i s P

5 T h P a p e r M a t e1 4 S o f t w a r e T e c h n i q u e s o D i g i t a l M u s i c S y n t h e s i s P

A u g u s t2 T h L a s t O n

1 2 T r e e ( G a m e L i s t i n g )1 4 P E N u c l e a r P o w e r P l a n t ( G a m e L i s t i n g )

S e p t e m b e r B u y e r ' s G u i d e4 C o m m o d o r e V I C - 2 0

3

Page 35: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 35/68

O c t o b e r

5 E d u c a t i o n a l S o f t w a r e a n B o o k s1 6 B o m b p r o o f i n g t h e P E T I N P U T S t a t e m e n t

N o v e m b e r6 D y n a c o m p B r i d g e C h a l l e n g e r

1 9 P E S c r e e n L i n e L e n g t hD e c e m b e r

7 V a l d e z : A S u p e r t a n k e r S i m u l a t i o n2 4 H e l p i n g S t u d e n t s T h i n k A b o u t M a r r i a g e E d u c a t i o n

K i l o b a u d M i c r o c o m p u t i n g 1 9 8 1J a n u a r y

1 P E T - P o u r r i N e P E M o n i t o r4 R e a l - T i m e S p e c t r u m A n a l y s e r7 S c r a m b l e ( G a m e L i s t i n g )

1 8 S e c o n d C a s s e t t e I n t e r f a c e ( H a r d w a r e M o d i f i c a t i o n )F e b r u a r y

1 P E T - P o u r r i J i n s a m5 L o n d o n C o m p u t e r C l u b H u g e S u c c e s s7 P o r t r a i t O D y n a m i c F r e n c h C o m p a n y

M a r c hP E T - P o u r r i H a n d y U t i l i t i e s

1 4 P E S h o r t h a n d C o m p l e a tA p r i l

1 P E T - P o u r r i V I C - 2 0 D e b u t sM a

1 P E T - P o u r r i C o n v e r s i n g I A s s e m b l y L a n g u a g e1 7 9 A P I E T a s t e r ' s R e p o r t1 9 S o u l f u l S o f t w a r e S o u n d s ( L i s t i n g )2 0 F i n d T h a t P r o g r a m ! ( L i s t i n g )

J u n e

J u l y

1 P E T - P o u r r i R O P a c k a g e s F r o m S k y l e s9 O n c e U p o n T i m e ( L i s t i n g )

1 7 E x p a n d P E M e m o r y ( L i s t i n g )

1 P E T - P o u r r i 8 0 3 ' 2 D a t a H a n d l e r s1 0 O n e - T w o P u n c h F o C B M / P E T G r a p h i c s1 6 G e O T h P E I n s t r u m e n t B u ( L i s t i n g )

3

Page 36: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 36/68

A u g u s t1 P E T - P o u r r i C o m m o d o r e C o l o r s N C

1 5 W h a t ' s T h D i f f e r e n c e * ( L i s t i n g )S e p t e m b e r

1 P E T - P o u r r i C B U t i l i t i e sO c t o b e r

1 P E T - P o u r r i C o m m o d o r e ' s B i P u s h1 9 P E T G o e s T T h P o l l s ( L i s t i n g )

N o v e m b e r1 P E T - P o u r r i V I E x p a n d s I t H o r i z o n s5 P o p p i n g A n P u s h i n g P e r m u t a t i o n s I B A S I C

D e c e m b e r1 P E T - P o u r r i W o r d P r o E n h a n c e m e n t6 P u t t i n g T h J o y B a c k I n t o P r o g r a m m i n g ( L i s t i n g )

1 1 B A S I C A s s e m b l e r F o r T h e P E T ( L i s t i n g )1 P u t T o T h e T e s t B C o m p u t e r

C O M P U T E

J a n u a r y3 T h e M y s t e r i o u s U n p r e d i c t a b l e R N P 3 C U R S O R C l a s s i f i c a t i o n s R e v i s i t e d4 O D D S E N D S . . r e P E c a s s e t t e t a p e9 T h S c r e e n S q u e e z e F i F o C B 8 0 0 09 H o r r a y F o S Y

1 0 M a c h i n e L a n g u a g e : S c a n n i n g T h S t a c k1 0 8 T h e P E T R e v e a l e d L i b r a r y O P E S u b r o u t i n e s1 1 V i s i b l e M u s i c M o n i t o r1 1 D i s k - O - P r o1 1 D e t e c t i n g L o a d i n g P r o b l e m s C o r r e c t i n g A l i g n m e n t1 1 S p o o l i n g F o P E W i t h 2 0 4 0 D i s k D r i v e1 1 V a r i a b l e D u m p F o N e R O M P E T s1 2 T h 3 2 K B u g1 2 A n I d e a l M a c h i n e L a n g u a g e S a v e F o T h e P E T1 2 P E T M e t r o n o m e1 2 P E I E E E B u s : S t a n d i n g R o o m O n l y ?1 2 P E T / C B M I E E E B u s E r r o r

F e b r u a r y1 L E L i n e - O r i e n t e d T e x t E d i t o r

S i m u l a t e d P R I N T U S I N GT h M y s t e r i o u s U n p r e d i c t a b l e R N P

5 B a s i c M a t h F o F u P r o f i t6 P E S p e l l i n g L e s s o n s Y o u r S t u d e n t C a P r e p a r e9 C o n t o u r P l o t t i n g

1 0 R e l o c a t e1 0 M i x i n g M a t c h i n g C o m m o d o r e D i s k S y s t e m s1 0 M e m o r y C a l e n d a r

3

Page 37: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 37/68

1 1 C r a s h P r e v e n t i o n O T h P E T , .1 1 M a c h i n e L a n g u a g e P r i n t e r C o m m a n d1 1 8 O D D S E N D S O P E T / C B M F i l e s1 2 T h r e e P E T T r i c k s1 2 P A S C A L O T h P E 1 2 T h P E D I S K1 2 A D i s k O p e r a t i n g S y s t e m F o r T h e C G R S P E D I S K

M a r c h2 T a k i n g T h P l u n g e - M a c h i n e L a n g u a g e P r o g r a m m i n g4 G e t t i n g T h M o s t F r o m Y o u r P E T C a s s e t t e D e c k4 T h M y s t e r i o u s U n p r e d i c t a b l e R N P 5 C A P r o g r a m C a l l e d L I N E A R E Q U A T I O N9 K e y p r i n t R e v i s i t e d9 L e a r n i n g A b o u t G a r b a g e C o l l e c t i o n

1 0 2 P E T M a c h i n e L a n g u a g e G r a p h i c s1 1 D i s k F i l e R e c o v e r y P r o g r a m1 2 4 P E T E x e c H e l l o1 3 F l e x i b l e I n p u t S u b r o u t i n e1 3 U n i v e r s a l T a p e A p p e n d f o P E T / C B M

A

M a

2 C o m m o d o r e V I C - 2 0 : A F i r s t L o o k3 H o T B V I E x p e r t4 T h M y s t e r i o u s U n p r e d i c t a b l e R N P 5 M i c r o s W i t h T h H a n d i c a p p e d5 M a t r i x R o w O p e r a t i o n s

1 1 P a r t i t i o n a n d L o a d1 2 R e l a t i v e F i l e M e c h a n i c s1 2 C O P L O T1 R O E x p a n s i o n F o T h C o m m o d o r e P E 1 3 W o r k i n g W i t h B A S I C 4 . 1 P a p e r m a t e V J o r d P r o c e s s o r1 4 D i s s e c t i n g C . W . M o s e r ' s A S S M / T E D 1 . 1 4 P E F i l e I / O a n d M a c h i n e L a n g u a g e1 4 H o T G e S t a r t e d I M a c h i n e C o d e A n d N o t G

C r a z y W i t h A R o u t i n e F o T w J o y s t i c k s1 5 M a c h i n e L A n g u a g e : T h e W o n d e r f u l W e d g e

2 T h M y s t e r i o u s U n p r e d i c t a b l e R N P 3 L a n d O T h L o s t C a s s e t t e F i l i n g S y s t e m4 E P I D E M I C5 N a m i n g C o m p o u n d s9 F a s t V i s i b l e M e m o r y D u m p

1 1 G e t t i n g T o T h e M a c h i n e L a n g u a g e P r o g r a m1 1 T h i r t e e n L i n e B A S I C D e l e t e1 1 C a l c u l a t e d B a G r a p h R o u t i n e s O T h P E 1 2 T h R e v i s e d P E T / C B M P e r s o n a l C o m p u t e r G u i d e1 2 U n - C o m p a c t o r1 2 U s i n g T h H a r d w a r e I n t e r r u p t V e c t o r O T h P E 1 2 8 P E T A A I E E E - 4 ' 8 8 L o g i c A n a l y s e r1 3 R u n n i n g 4 C o l u m n P r o g r a m s O C B 8 0 3 2

3

Page 38: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 38/68

J u n eR A K / R O M s - : A N e S t y l e ' O f M e m o r y ?

2 M a p p i n g M o d i f y i n g U n k n o w n M a c h i n e L a n g u a g e5 I d e a l - G a s L a 9 R e l o c a t i o n O B A S I C P r o g r a m s O T h e P E T9 M e m o r y P a r t i t i o n O B A S I C W o r k s p a c e1 0 M a c h i n e L a n g u a g e C o d e F o r A p p e n d i n g D i s k F i l e s

1 0 C u a d r a - P E T : M u l t i t a s k i n g O Y o u r P E 1 0 P E T / C B M D i s k F o r m a t s1 1 I n t e r f a c i n g W i t h T h e U s e r O Y o u r P E P r o g r a m s1 1 K e e p i n g T a b s O Y o u r P r i n t e r1 2 A s s e m b l e r I B A S I C F o T h P E 1 2 U n c r a s h i n g1 3 N o t e s O T h e P E T S A V E C o m m a n d1 3 O p t i m i z e d D a t a S y s t e m P H - 0 0 1 2 1 1 4 R A A d a p t o r1 3 D i s c o v e r i n g T a p e F i l e N a m e s1 3 P e t b u g1 3 M a c h i n e L a n g u a g e U t i l i t y P a

J u l y1 4 S a v i n g M P r o g r a m s o P E T T a p e H e a d e r s1 4 C o m m o d o r e R O M S y s t e m s : T e r m i n o l o g y1 5 S C R E E N E R : 4 S c r e e n U t i l i t y R o u t i n e s1 5 M a c h i n e L a n g u a g e : C o m p a r i s o n S h o p p i n g1 5 U s i n g T A B f S P a n d L E N

A u g u s t3 M i n i m i z e C o d e A n M a x i m i z e . S p e e d5 A d d A P r o g r a m m a b l e S o u n d G e n e r a t o r

1 0 T h e C B M " F a t 4 0 " - B o o n O B a n e ?1 0 D i g i t a l A r r a y m e n t1 2 K e y w o r d1 2 C B M / P E T L o a d i n g , C h a i n i n g , a n O v e r l a y i n g1 2 C o n v e r t i n g P E B A S I C P r o g r a m s T A S C I I F i l e s

A u g u s t H o m e E d u c a t i o n a l C o m p u t i n gE x p l o r i n g T h R a i n b o w M a c h i n eV I A s A S u p e r C a l c u l a t o r

1 C u s t o m C h a r a c t e r s F o T h e V I C1 T h C o n f u s i n g Q u o t e

S e p t e m b e r3 T h C o l u m n C a l c u l a t o r3 P E T , A t a r i , A p p l e : O n S p e a k i n g T e r m s

1 0 T h U n w e d g e - T a p e A p p e n d A n R e n u m b e r1 0 S T P - 4 8 8 S m a r t T e r m i n a l P r o g r a m1 1 4 . G a r b a g e C o l l e c t i o n : A S m a l l B u 1 2 U s i n g T h M o n i t o r O T h e P E T1 2 O d d s A n d E n d s : R e l a t i v e F i l e s o B A S I C 3 . 1 2 2 0 4 0 D i s k P r o g r a m L i s t i n g1 2 8 A l l A b o u t L O A D i n g P E C a s s e t t e s1 3 G r a p h P l o t t i n g R o u t i n e1 3 L i n e l i s t

3

Page 39: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 39/68

O c t o b e r2 V I C - 2 0 N e w s3 V a r i o u s V I C M e m o r y L o c a t i o n s3 U p d a t e F l o a t i n g C o l o r , F l o a t i n g S c r e e n4 M o r e M a c h i n e L a n g u a g e F o B e g i n n e r s6 U n d e l e t a b l e L i n e s

1 2 P r a c t i c a l P E P r i n t i n g P r i m e r1 3 A F a t F o r t y B u 1 T r a i n Y o u r P E T T o R u V I C P r o g r a m s1 4 C o n v e r t i n g T F a t - 4 01 4 H i g h R e s o l u t i o n B a G r a p h s F o T h P E 1 4 W a k i n g U p T h e P E S c r e e n1 4 I n t e r f a c i n g B S R X - 1 0 A R e m o t e C o n t r o l S y s t e m1 5 U s i n g N o n - P i n - F e e d F o r m s I T r a c t o r P r i n t e r1 5 W h Y o u S h o u l d U s e P E E K ( 1 5 5 ) I n s t e a d O G E

N o v e f i i b e r

2 F l o w e r S a l e P r o g r a m2 S u p e r P E T ' s S u p e r S o f t w a r e3 S u p e r P E T : P r e v i e w5 B i t s , B y t e s A n B a s i c B o o l e

1 3 P O W E R1 4 T h e P E T S p e a k s1 4 M a c h i n e L a n g u a g e : M o n i t o r i n g P r o g r e s s1 4 D i r e c t o r y F o 3 * 1 4 I n v e r s i o n P a r t i t i o n i n g1 5 A P e r s o n a l N e w s S e r v i c e1 5 F O R / N E X T G O S U B / R E T U R N , A n d T h e S t a c k

D e c e m b e rS u b s c r i p t R e a p S o r t

5 M a z e G e n e r a t o r1 3 A L o o k A S u p e r P E T1 S U P E R M O N1 4 P E T P E C o m m u n i c a t i o n O v e r T h U s e r P o r t1 5 R e p l a c i n g T h e I N P U T * C o m m a n d1 5 T y p i n g F o r e i g n L a n g u a g e T e x t W i t h T h e C B M P r i n t e r1 5 T h r e e R e v i e w s : S u p e r c h i p f S p a c e m a k e r , S o r t1 6 M a c h i n e L a n g u a g e : J u m b o N u m b e r s1 6 F i l e R e c o v e r y1 6 L o o n e y L i n e N u m b e r s1 M i n e M a z e1 7 C O M A L : A n o t h e r L a n g u a g e

3

Page 40: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 40/68

T w o T e r m i n a l P r o g r a m s ; I E E E a n d R S 2 3 2R e c a l l i T r a n s a c t o r # v ; m e n t i o n e d S t e v e P u n t e r s 1

B u l l e t i n B o a r d S y s t e m i M i s B i s s a u g a , O n t a r i o , C o m m o d o r e i n o d i s t r i b u t i n g S t e v e s 1 B B a p a c k a g e a n w e ' v e s i n c ed e l i v e r e d a b o u t 1 5 t o d a t e . A l t h o u g h a l l 1 5 m a n o b s e u a p u b l i c s y s t e m s , a n y t h a t a r w i l l b l i s t e d w i t h t h e i rp h o n e n u m b e r s o S t e v e s b o a r d ( s e e T r a n s a c t o r # f o o p e r a t i n g h o u r s ) .

S t e v e h a s a l s o w r i t t e n t w o t e r m i n a l p r o g r a m s f o u s w i t h P E T / C B M s a n t h i s B B S s o f t w a r e . A l t h o u g h a n A S C I It e r m i n a l c a n a c c e s s t h e s y s t e m , o n l y t h e s e t w o p r o g r a m s a r c a p a b l e o f u p / d o w n l o a d i n g f i l . e s t o / f r o m t h i s B B S . P r o g r a m s ,S E a n W o r d P r o f i l e s a r a l l ' t r a n s m i t t e d f l a w l e s s l y u s i n gs p e c i a l c h e c k s u m p r o t o c a l . O n c e y o u f v e s e n t p r o g r a m t t h B B S , o t h e r s c a t h e n d o w n l o a d i w i t h o n o t h e s e p r o g r a m s .L i k e w i s e , y o u c a r e c e i v e p r o g r a m s t h a t o t h e r s h a v es u b m i t t e d .

T h e t w o t e r m i n a l p r o g r a m s a r i d e n t i c a l i o p e r a t i o n .T h o n y o c h o o s e w i l l d e p e n d o w h a t t y p e o m o d e m ( 3 0 0b a u d ) y o u h a v e ; " T E R M I N A L . J x x " i f o r u s e w i t h I E E E m o d e m s( C o m m o d o r e 8 0 1 0 , L i v e r m o r e S t a r ) ; M T E R M I N A L . £ x x f l i s f o u s

w i t h R S 2 3 2 m o d e m s ( N o v a t i o n C a t , G e n e r a l D a t a C o m m , e t c . ) .T h e s e f i l e s c o n t a i n t h B A S I C p a r t o f t h e p r o g r a m s . T h n u m b e r w x x " d e n o t e s t h v e r s i o n n u m b e r . T h e o n e s l i s t e d h e r ea r v e r s i o n 1 1 A n e w v e r s i o n s a r r e l e a s e d ( a n d S t e v ea s s u r e s m e t h e r e w i l l b e y o c a o b t a i n t h e m f r o m t h B B u s i n g o n e o t h e s e .

E a c h p r o g r a m h a c o r r e s p o n d i n g m a c h i n e l a n g u a g es u b r o u t i n e s t h a t a r L O A D e d b t h B A S I C p a r t . " t e r m . i e e e "a n " t e r m . r s 2 3 2 " a r P R f i l e s t h a t w i l l b g e n e r a t e d f o y o b t h p r o g r a m s l i s t e d . T h e s e a r a l s o a v a i l a b l e f o d o w n l o a d i n g f r o m t h e B B S , b u a r l i s t e d t h e r e s o m e w h a td i f f e r e n t l y . " t e r m . i e e e " w i l l b l i s t e d a " T E R M . I l l " a n " t e r m . r s 2 3 2 " w i l l b " T E R M . R l l " . O n c e a g a i n , t h e " 1 1 "r e p r e s e n t s t h v e r s i o n n u m b e r . Y o u m a y b a s k i n g , l f V 7 h y t h d i f f e r e n t f i l e n a m e s a n w h d o e s o n e s h o w v e r s i o n n u m b e ra n t h o t h e r n o t ? " . A n e w e d i t i o n o t h B A S I C d o e s n o n e c e s s a r i l y m e a n n e m a c h i n e l a n g u a g e p a r t , a n v i c e v e r s a .F o i n s t a n c e , T E R M . 1 1 2 m a y b r e l e a s e d f o u s w i t h t h e x i s t i n g T E R M I N A L . 1 1 1 . . W h e n y o g e i t s i m p l y r e n a m e" T E R M . 1 1 2 " t o " t e r m . i e e e " a n d a w a y y o g o t h i s w a y n e d i t t i n g i n e c e s s a r y f o T E R M I N A L . I l l .

T h e r e a r t w a d d i t i o n a l f i l e s a s s o c i a t e d w i t h t h R S 2 3 2t e r m i n a l s o f t w a r e . " r s 3 " a n " r s 4 " a r m a c h i n e l a n g u a g es u b r o u t i n e s t h a t d r i v e t h P a r a l l e l U s e r P o r t a a R S 2 3 2P o r t . T h B A S I C p a r t ( T E R M I N A L . R l l ) w i l l l o a d o n e o t h e s ea u t o m a t i c a l l y ; " r s 3 " f o r B A S I C 2 . m a c h i n e s a n d " r s 4 " f o B A S I C 4 . 0 . T h e s e p r o g r a m s d o n ' t p r o d u c e ' t r u e 1 R S 2 3 2 , o n l ys i m u l a t e d R S 2 3 2 . T h e r e f o r e , R S 2 3 2 m o d e m u s e r s w i l l n e e ds p e c i a l c a b l e t c o n n e c t t h e i r m o d e m s t t h U s e r P o r t . F o r

d e s c r i p t i o n o t h i s c a b l e , s e H e n r y T r o u p s 1 a r t i c l ef o l l o w i n q t h i s o n e .

- 4

Page 41: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 41/68

I s u m m a r y , y o u 1 1 1 n e e d t e n t e r t h e s e p r o g r a m s :I E E E M o d e m U s e r s » R S 2 3 2 M o d e m U s e r sT E R M I N A L . I l l T E R M I N A L . R l lt e r m . i e e e t e r m . r s 2 3 2

r s 3 ( f o r B A S I C 2 . 0 )r s 4 ( f o r B A S I C 4 . 0 )D o n ' t f o r g e t r t h o s e m n e m o n i c s i n s i d e s q u a r e b r a c k e t s

s h o u l d b r e p l a c e d b y t h e i r r e s p e c t i v e c h a r a c t e r s a n m a k es u r e y o u S A V E e v e r y t h i n g b e f o r e t r y i n g i t T h p r o g r a m s t h a ta r m o s t l y D A T A s t a t e m e n t s g e n e r a t e t h e P R G f i l e s t h a t a r l o a d e d b y t h e B A S I C p r o g r a m s . B e f o r e t h e a c t u a l r u n r p u R E M s i f r o n t o f t h e O P E N a n P R I N T * c o m m a n d s ( l i n e s 5 0 5 4 0 ) a n p e r f o r m t e s t r u t s e i t h c h e c k s u m s w i l lm a t c h u p

P r o g r a m F e a t u r e sT h e s e T e r m i n a l p r o g r a m s h a v e s e v e r a l f e a t u r e s t h a t m a k e

t h e m i d e a l f o c o m m u n i c a t i n g w i t h o t h e r c o m p u t e r s y s t e m s a w e l l a t h B B S .

O r u n n i n g t h T E R M I N A L , p r o g r a m , t h a p p r o p r i a t em a c h i n e c o d e s u p p o r t f i l e ( s ) w i l l l o a d r a n d m e n u w i l l b d i s p l a y e d * P r e s s t h n u m b e r o t h d e s i r e d o p t i o n . O p t i o nw i l l a l w a y s b " T e r m i n a l M o d e " . T h i s e n g a g e s t h m o d e m a n g e t s y o s t a r t e d . N o w m a k e y o u r c a l l . W h e n y o u h e a r t h t o n e , p l a c e y o u r h a n d s e t i t h m o d e m ( u n l e s s y o h a v ed i r e c t c o n n e c t m o d e m ) a n d t h c a r r i e r l i g h t s h o u l d c o m e o n U s u a l l y y o h a v e t h i R E T U R N o n c e o t w i c e t g e r e s p o n s e . Y o u ' r e n o w r e a d y t " t e l e - c o m p u t e " !

A a n t i m e i T e r m i n a l M o d e y o u c a n u s t h e " H O M E " k e yt d i s p l a y t h m e n u . T h i s d o e s n o m e a n y o u ' l l b d i s c o n n e c t e d ; p r e s s a g a i n f o T e r m i n a l M o d e a n d c o n t i n u ew h e r e y o l e f t o f f .C o n t r o l K e v

T h ' R V S ' h a b e e n i m p l e m e n t e d a ' C o n t r o l K e y * . O n d i f f e r e n c e f r o m a A S C I I t e r m i n a l c o n t r o l . k e y i t h a t i m u s tb r e l e a s e d b e f o r e t y p i n g t h C o n t r o l C h a r a c t e r .

D u m p t D i s kI y o w i s h t d u m p t e x t t d i s k f i l e , s e l e c t t h O p e n

D i s k F i l e o p t i o n . T h e T e r m i n a l p r o g r a m w i l l a s y o f o f i l e n a m e w h i c h w i l l b O P E N e d o d r i v e u n l e s s o t h e r w i s es p e c i f i e d . O n c e b a c k t T e r m i n a l M o d e r h i t t i n g " C U R S O R - D O W N "e n g a g e s t h d i s k l o g ; . . " C U R S O R - U P " h a l t s d i s k l o g ; a n h i t t i n g" H O M E " c l o s e s t h f i l e ' s a n d r e t u r n s t h m e n u .

- 4

Page 42: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 42/68

P r i n t D i s k F i l eS u p p l y t h n a m e o a S E f i l e a n d t h e c o n t e n t s w i l l b

s e n t t o d e v i c e . # 4 ,C h a n g e O p e r a t i n g M o d e s

H e r e y o c a n t u r n L i n e F e e d s o o o f f , a n c h a n g e t h p a r i t y o t r a n s m i s s i o n .R e c e i v e / T r a n s m i t P r o g r a m s

A m e n t i o n e d e a r l i e r , t o s e n d o r e c e i v e p r o g r a m s fW o r d P r o f i l e s o S E Q f i l e s t o f r o m t h B B S , y o u 1 1 1 n e e d t u s e o n e o t h e s e o p t i o n s * O c o u r s e , w i t h o t h e r t i m e s h a r i n gs y s t e m s t h e s e f u n c t i o n s w i l l h a v e n u s e s i n c e t h e y w o n ' t b u s i n g S t e v e s 1 c h e c k s u m p r o t o c a l . O t h B B h o w e v e r , t h L O A D o S A V E c o m m a n d s w i l l a s y o f o t h e f i l e n a m e , a c c e s sc o d e , e t c . , a n d w i l l t h e n d i s p l a y :

W a i t i n g F o S T A R T S i g n a l !( o ' A f o A B O R T )

T h S T A R T s i g n a l i t h s e q u e n c e o " H O M E " f o l l o w e d b y t h d e s i r e d o p t i o n i e T r a n s m i t o R e c e i v e . T h e T e r m i n a l p r o g r a mw i l l a s k f o r f i l e n a m e a n d t h e t r a n s f e r b e g i n s . W h e nf i n i s h e d , y o u ' l l b r e t u r n e d t t h B B f o y o u r n e x t a c t i o n .

W h e n y o u t r L O A D o S A V E o n t h e B B S , y o u ' l l f i r s t b a s k e d f o ' P r o g r a m A c c e s s C o d e 1 . T h i s i m o r e o l e s sr e m i n d e r t h a t y o m u s t h a v e t h p r o p e r t e r m i n a l s o f t w a r e f o u p / d o w n l o a d i n g . T h e u n i v e r s a l P r o g r a m A c c e s s C o d e f o p u b l i cB u l l e t i n B o a r d s ( u s i n g S t e v e P u n t e r s ' s o f t w a r e ) i " E E Z O O " .I y o g i v e t h c o d e a n d a t t e m p t t r a n s f e r w i t h o u t o n o t h e s e t e r m i n a l p r o g r a m s f t h B B w i l l a b o r t s h o r t l ya f t e r w a r d s ♦

T h a t ' s a b o u t i t T e l e - c o m p u t i n g i o n t h e r i s e i n N o r t hA m e r i c a . W i t h t h i s t e r m i n a l p r o g r a m , y o u ' l l b a b l e t c o m m u n i c a t e w i t h a n t e x t o r i e n t e d s y s t e m s . P i c t u r e o r i e n t e ds y s t e m s s u c h a T e l i d o n r e q u i r e t o t a l l y d i f f e r e n t t y p e o t e r m i n a l s o f t w a r e , b u t h i s a l s o r e q u i r e s h a r d w a r e w i t hh i g h l y a d v a n c e d c o l o u r g r a p h i c s a n s e n d i n g d a t a t T e l i d o ni e v e n m o r e d i f f i c u l t ( a n d e x p e n s i v e ) F o n o t h o u g h ,s y s t e m s l i k e T h e S o u r c e a n C o m p u S e r v e a r a q u i r i n g n e w u s e r sd a i l y ! G i v e t h e m t r t o o , b u t w i t h t h i s p r o g r a m a n t h B B S , y o u c a n g e t e r m i n a l p r o g r a m u p d a t e s F R E E f o t h c o s to p h o n e c a l l !

4

Page 43: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 43/68

                           

                                      

                                                             

                                           

                                                        

                                 

                                        

                  

                                                     

                                       

       

           

        

      

       

        

       

       

        

          

        

           

        

                  

                     

 

                                       

        

                                                    

                                   

                                   

  

                                                            

                   

                                                        

                                                            

                                                  

                       

                     

                                

                  

                                                      

                           

        

    

                         

        

          

      

                     

        

           

           

             

           

                       

                           

          

                                          

                    

                                          

                    

           

             

          

                  

                      

                

                                 

           

      

                      

                                                

                                

                                  

                             

                                                               

       

      

       

     

     

     

     

      

      

 

 

       

         

        

        

        

         

          

           

    

           

                                

                         

                       

                         

                                      

                                         

   

                                           

                                      

                      

                                

                

                       

             

                                                      

                                                   

                                                   

                              

          

                       

                         

                                                     

                                                 

                                                      

          

                             

                         

        

                          

                                                    

                                

                                  

                                                                     

                                     

                                  

               

                         

                             

                                                 

                            

                         

                                   

                     

                              

                         

               

                                    

            

            

                       

                       

                                

                             

               

                     

                                          

                 

                         

                      

                    

Page 44: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 44/68

o o i n n N v o o o o v m n N i n m n v o o c T ^ K t r o v o \ o v o r « N « v o o o s o o v m O H t o v o i A i n v n ^ A nC M , - * H r t N C M C M C M C M C M i - C _ C C ~ - C M C M C r - 4 i - 4 C M C M i - C . - C

c m c m c o c • * c ^ « ^ o ^ I ^ ^ J ^ J ^ ^ ^ ^ ^ o r ^ i ^ ^ o ^ » r * ^ O k c m c o v o s o < v s o s s o s o s o f > s o * r r c r s o c o * o s o c m^ ^ C M f M . ~ C M C M ~ 4 C M » H « - C C . - C » - » - 4 • _ ( , H C M « - C M i H « - » - C M C M f - C M C M » - ^

n N O M N H H i n v N N v o o N N f f i o o n N n H n r t h W H N r t r t O e « - 4 C M o r ^ r ^ c * o > r o r o O k r » r o r » ^ t c m c m i n c m o ? * r f t v n « o >r r r o - « • » r > r » H n n v o H i r i H c M < v r » h « n n o o ^ n c m s o c m r * < o * h c m • - s o r o r o s o r o s o r o r » o s ^ f M H N N H . - 4 - « f - 4 C - C M C M C ~ r - 4 - 4 * * - 1 N M H N H ^ C M S O C M O J r t ( M f * > O N H p » H « V » U > N n O » < C O . - C O C M r > » f - 4 S « - C * O ? r 4 S S O C O S © C C S . f i C C i n . H C O C Mr o s o c o c m r * r » c m < v * - r f i r r » « r < ~ s s c ^ m c r o r o c M s o v i - i o k c i r v * t ^ * o v o i o i o i * i * > « * c c * > c m^ ^ t r M ^ H ^ H C M C * 1 C M . • - C < C M ^ 4 i - ^ C C C r * ^ 4 i C C M C M - . - C M C M

H v o v o v i n \ o c s r » n o > * v ( n o o h M f t r N n » o 9 N o « H H r t H H h H N O H O H \ O f I v o N o i n H r J » n v i n - v r i n v o k e ©e t o c m c m c m c r t e t o v o i n c m i n r * c o * c m - t w c m o o n c d h o v v o h n ( 0 v o n « o « « h w n \ o « m o w o. - f ^ ^ ^ ^ i - i C • - « i - l C • - C r - l f M H C C C M C M - * - 4 - 1 - 4 - 4 C M C M C M

J 5 ^ 2 ^ g 2 2 ^ ^ ^ C 2 ^ ^ ^ ^ ^ o c o r ^ c M ^ ^ c n r o ^ o o c M ^ o c M r n ^ f M o r o c M o o c o o o « r r ^ - 4 C M C M o m m k o t n c M C M m « r o ^ C M r » m r ^ c M H n m n o ^ r t o m m t o n i n n ^ n * r t o * * * c ^ ^ ^ M ^ ^ ^ ^ c i c m ^ 4 C M C M r 4 - 4 C M ^ 4 ^ - * - 4 ^ - 1 C M C M ^ 4 ^ 4 C ^ C M C M C C i - ^ r - ^ « » s o c s r > c m c * ^ r c o ^ 4 t t o c m ^ I c m » i ^ « k o T c m o T c m o t e o c m c m r n % o J « i n r n k o c ^ ^ ^ Cc M r » r t N H n « o o o o t A N H M < i t n < r n i A r » N « * 4 r « « r w n H ^ o n n o > « - 4 s o r o < - 4 m H t o H « n v » n i f t r o N n t o i ^ ^ ^ f S ^ ^ ^ M o , C C ^ C M C M C f ^ C r - C M C M C M . H C M

r s o ^ 4 - » r c s * c m r o e c c * h * * o % ^ c M r n r ^ e o c ^ J o T e i o * c o o c m c o o o r ^ c o o c n r 7 ^ r o i n ^ < - 4 i H ^ 4 o T o t c M i n r o o T c Mc m s o c m o o ~ 4 c m ^ 4 r t r e r ^ s o * - h » » ^ o o r n o ^ 4 * r s o ^ > m o n v m « o « « o < O H n n f ^ - l r - 4 C M » - ^ i - 4 i - 4 C M * H - 4 v i • - C M - 4 # - C M f H C M C » - 4 1 - 4 C < - C M < H i H ^ i -

a E c

c o c oC U C Oo a

C e

> r - » l T C

O C U C Z

a j c o c oe x e x e x

o » t - « c m O i - i « « - i - » r i n r - »• - C H i - 4 I - 4 C M C M

r m t - 4 1 - 4 C r - » » - » ^ i - 4 » - 4 i - H - C f -

s c s o * r - © » s c o » o c o c o s v © c m « - » c o c c c r * T i * - i ^ r H H O H « n n « r * s o * oC C C H r - t r - C H r - r - r -

r t N H ^ - « * - i C C - H - I r - C

C C C

C

3 C e

C * -

e

C t

C

C

( O C C S C O

C C

-

u

*

C e

v e

C

e c

0 t

x t z

l _

e c

C u C

c e x c o

- C H

H

Page 45: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 45/68

r C f r H r H r H C M r H r H C M r r

S © C M * O C M C M P » S O O m C M C M ^n s o ^ p » c n o m * r r H r H C M C M r H

m c s r H C M m c M o m o c o © p » c m c c n m c m < H H H N C i - C M C M C M H H H H H C M r H C M r H C M r H r H r H r H

r H m r H * H P » C M * > O D © O O O C M C O < r C O C O O C M ON H H \ O H * O r H O C M s O f C C C C C M r H r H w

O ^ H C M r O r H S O C M C M C M m o O C M C M C Ms w n n h o o s o r H s o • * r H < ♦ « o r - r ( s M « - C C M C M I N C M C M

m O C M fr o r H C M r C C M C *

r r - l r - l r r r C M C M f - © r H P ^ m o o c M s o - » * c c m c m < « p < * c M ^C M C M r H C M C » i H » - « r H r r H r H

' 0 O O ' 0 N N r t N C 0 o W ' » i f t « H n » < 0 O H• » ^ « w * « o t n r » w o o t n c i i n r « o t n r * « k i H t n

r - r - l i - 4 » - < r r - C C M r H C M C M C M r P C n m O O C M r H C M O O r H C M C M4 H C

c * - c o c m c r • s o o r * c n r ^ m s o r t* H C M C M C M r - C M r H C M « H r H r H C i H C M C M i H C

p » C O Q f f t O H ( M N n < 0 ' t n v 0 S 0 h C 0 0 t O O H N n « « t n V 0 M 0 ( D 0 ) O H N M ( n V l A « D « M 9 0 t O O H r 4 n V « l A \ 0 N (C M C M C M C M C M C M C M C M C M C M C M C M t t C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M t t

v N O N l f l ^ Ns o s r o s e s

C r H C M C M r H r H C ^ ^ i » r * 1 * 0 # " H i » o ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ̂ ^ ^ ^ ^ ^ * ^ ^ " ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ r H C M C M C M r H r H r H C M r H C M r H r H r H C M r H r H r H r r r H C M r H r

   

                         

                                   

             

  

    

  

    

  

                        

            

                                                                                                                         

                                           

  

                               

   

     

                                                                  

   

   

   

   

 

 

   

     

                              

   

  

     

              

   

   

   o o o a o o o o o o o o o o o o o o o o o o o o o o

H E g O O 0 S C 0 C O 0 0 C O C O C O 0 0 n O 9 O t 9 O O O O O O O O O O O O O O O H H H N N^ H ^ ^ V r ^ H C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M

- 4 5 -

Page 46: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 46/68

                        

                                                   

                                                  

                                       

                                                          

                                           

                                        

                                         

                                        

                  

                                     

                                       

        

           

        

      

       

        

       

       

        

          

        

           

        

                  

                     

 

                                       

        

                                                    

                                   

                                   

                                                               

                    

                                                        

                                                            

                                                  

                       

                     

                               

                  

                                                      

                           

     

   

               

      

       

     

     

     

     

      

      

 

 

       

    

     

    

   

   

      

     

     

           

   

   

   

       

     

          

      

                     

        

           

           

       

             

           

                       

                           

          

                                          

                    

                                          

                    

          

             

          

                  

                    

                 

                      

           

      

                      

                                                

                                 

                                  

                          

     

                                                                 

                                  

                           

                       

                          

                                      

                                         

                                                 

                                               

                                          

                      

   

                                      

                       

             

                                                     

                                                 

                                                     

                              

         

                           

                          

                                                      

                                                 

                                                    

          

                            

                          

        

                          

                                                    

                                    

                                  

  

                                                                   

                                         

                                  

               

                          

                             

                                                     

                                

                          

  

                                

                     

                              

                          

               

                                    

            

            

                       

                       

                                

                             

               

                     

                                          

                 

                         

                                 

                    

Page 47: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 47/68

c i o c M ^o M n m m © + \ m t o m f > « e « r » r * v £ 2 2 2 ^ 2 2 ^ 1 2r - » H C M C * C r . - C C M C M C M * * * • * * C M C M * - ~ 4 * 4 C M C M C

e M * « r t r t « o n N o * * H \ o t * - i m m o ^ ^ m t o m m m c M m c M i o ^ m ™ ~ * 2 2 £ ^ Z 2 *C M i - l C C M ^ H C M C M C M • - • « - 4 - * C M « - C C C i - 4 » - 4 • - ! » H » H i - l . - 4 * 4 * 4

> o o o c M ^ * H ^ J « c M r n r ^ c o ^ » H O v e o » o ^ e * c M « c o r ^ » e o e * m i H m t n i H ^ ^ ^ o » o » c M i n m e * C M £ C M * H » i n w e n i n c M C M C M mn o ^ c m v o * « M e « e i < ^ » t o t o * - m ^ S C ^ ^ ^ ^ ^ ^ C C C ^^ C C M ^ 4 C C M ^ i - C M ^ C M ^ i H i « C C M * 4 ~ 4 ~ 4 C C C ~

^ I C M C M C M « H i i C M C M C i - • ■ C M C M « C t r C • - » - * • - < C

O , H i n \ o v * o ^ c M * o o M « H m # H s o c ^ * o o » o » c M C M C ^ ^ f n o i n f * o r « ^ c « « m c > ^ c M c o ^ f 2 ^ ^« H H V i A N « « o h h o ^ r * v o > c M i n ^ o ^ o ^ r » o o i o i o \ o c n m > o ^ r r » » i o r * i o c n i o \ D C M r * v o f * » r » c o r » i o * ^ ^ r ^^ C M C M ^ C M ^ H ^ C M C C ^ 4 » H C • - C M ^ 4 C M ~ i - C C * * C M C r - l i - 4 i r - « i

r t o o r n c M r n p H m ^ i ^ c n M C M m r n e o w r o c S o r ^ r ^ c *t o H i A H c m ^ t i ^ h \ o o o i n o o n i n c \ o ^ c m i ^ s o m N H W r t M W c n s o ^ ^ o m r * o > \ o n c o o v o v c M i o t n » n c o» H . - M C M i - 4 - 4 - i ~ * r H C M C M C M C M ^ « r # - » i M C M » - I C M « H ^ 4 i H i H * - I C M « - ! • - • C M C M

J T o o ^ e o t n c M r n o ^ o r ? « n a h c J T r * i - J i o • - c e n c m ^ 4 « o « o e o i n c c m 1 - i ^ c m c m m ^ r n c ? o « n ^ 4 i n f n t ^ < « 9 C M \ D * o o c v o c m r o e n c m i © * r p - o » « » # r « ^ * i * i o « * o i o c n c n 2 2 2 J ^ 4 C M C i H C M * * C M • - C « - » - C M C M ^ 4 « - l « - 4 » - C M C M C M # i - C

* V c ^ r ^ r ^ « n ^ c \ c ^ J * * * * * * e ^ * r ^ 1 0 c m ^ ^ 1 c m « » c o « - t * t f i « ^ ^ ^ ^ ^ ^ ^ J ^ ^ o ^ f ^ ? ? ^ ^ - ^^ » 4 C M * 4 * * C M ~ C H M C 4 H H C M C M * C C M C M * * * * * * • - ♦ C * C r • - i H * * C M i C *

i i i i l i i l i i i i i i i i i l i i i i i i i i i i i i i l i i i i i i i i i i i i i i i i l i i i i i i i i

* - C C C

C u C J

( C

g g C

C C C " Z » c 2 ° < C C J C • - • 3C u C O r >

C c o c :

c C

C c

c

c

c c c c

C • - C C u * :

c u C f r C

• - C C v

s s

C C C

* - C T X v o

I o 5

C C c

H « 0 ) H « O H « H H ( M i n 9 » 0 t h n V 0 H i n C C W O ( N O O » O 0 0 V r « H N N

* i f t N « o i f t o i n e o o M O » H » » n n n r i H H i nr - c m r ^ r s o t H N O H V H H V N O N N nZ v o r » \ o o o \ r « > o e o v o o c o m 0 c m c o c M ^ r - * r u > i - 4 ^ r H H O H V« « - ■ • - C # -

i H * H i H c m c i o i h • - i H \ o cC C M » H * - * * C M

h o o v o \ f i o o o i o o t o o o v• r r - C M « H • -

■ - • « - ♦ ^ C • -

0 0 0 0

z z z e e c < m x O h i _C O C O U C U X O C O C C t O k J C C C O ZC C C C C C O U C u C C C U Z U C U C C t Oo o o o o o o o o o o oO H ( N O H ( O O m O O O O C O O O O O O O O H H H H H H H H H H H H N N N N N N N N N N N t M N n n n n r o n

4

Page 48: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 48/68

r ^ v o c © r t « o r t « n r n o o C M C M v r ^ c M C M r ^ ^ © r n o m r O i H C M H O D r r r on h v o r - o » c r o < * o r - » t o » - r * * * c o c m v o » h o » c m c m m r - t i - « « » - • - # H C M C M f H C M C M * - I C M C M i i - i - # - » H f t t -

i - «

m m o c

f f

C

• -

r » o r * c M

f

* o r * o »

C M C * C r - » C M

C C M * - 4

r -

o

« - 4 C M

C © < C O C

C M C M « - * C M

r t c M t t o

C M C M i - 4

f C M C M

O H o n o h N N c n o o m m N i n i A OC C M C M C M f t f t f t f t f C # - C M f t

C M C M C M f t C M C M C M

N O 1 -

H O N WC 4 f t f

Q O D Q Q a O Q O Q O O D O O O O O O Q Q D D O Q O Q Q Q D O Q O D D O O O O Q O Q Q a D Q Q Q Q O Q Q O Q D

l

* - 4 C M C C

C C C i - C M — I C r -

C M C M C M C C r -

^ C 4 C M r ~ « • -

C , - , « -

Q Q Q O Q O Q Q Q O Q D a D D D Q O Q O Q Q Q Q O Q Q O D Q Q Q O Q O Q Q Q Q O Q O D O Q D Q Q Q O Q Q D D Q Q Qc c o o o o c o o o o c c c

Page 49: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 49/68

C C . _ C f H f H

J , O H N O H n i A O O i n « O H H H N Ho o n » « f * n o * v * n r t n n v h t v « n n n • H ' r ^ m v tC M C M ~ 4 ~ i , , H C M i H f H C M C N « H f H C # H r - « ^ « i H f H i H r

C f

C

r

S S c n c n ^ r

C M f H

C M C M

2 3

c o c n m v o t n m rC M f H * H C M

e r » m * t o r• H

N n n t o t n • C M f H C

C M C M C M * H C M

* H C M f

M m m c M v o r of H

N f « H C M

• H r - r - t o

f H C M *

c m r * t o c oC

f H » H

f f f

H S R 3 S S

t » > r * t o r * t of f H f H f H

C M C M f

C

0 C •

S S P o S S ! n S S. H f H f C

* » t > t o i a r e t o r *, _ , h r H . H r H

t o r » o n n v p f • H C M » - *

* • r p o c o o * r t N H O i o *f H f H C f H C M f

C O C M O

( O h o

H C 0 «

C M 0 0 0 0•

f H C M f H f H f H f H f H

i n c Mr r * v o c o v

e n o c M » o » Hr t o t i f t » ff H C M • -

e t

0 f

C

r

t

t o r n• r

c m t oi > c n e

« — 1 r - 4

v

»

f H f H

r * f C

■ 4 » H

s n t

C

C

v

*

f H C M

3 i n e n v o ^ i v o i r» r » e n r > i

C «

f H f H

5 S v v o r > >

f H f H

t

v t

• «

r t • H C M f H

e o o o c m

1 4 5 ,

f C

© r * r »C M . H

O C M i H

o c M C M m c M r a » o < *t O f n t o r o r > r n t o t o

f C M r H

r -

r * v . H f t

e r

t o C M f H r H

c e n e © e

e n t o e nt r t

r

C

• H c n v« f H f H

r - c oi - r

o e n r * f o c n o r * r " » t o m t ot H C M f H f H f H

• f H f H ^

O l f l O O h H H O Oe

t O ^ t O t O O C M C M m O O C Mv m o n c n o ^ r ^ r r * » o r -C M f H C M C M # H

C M f H r - f H i H C M

0 e

f

i H » H » C M » H » H i H « M

Q O Q O O O O O O O Q Q O O Q O Q Q O O O Q o o o o o o o o oC M O O O t O O T C M O O O t O V C M O a O t O ^ C M O O O v O ^m v m t o r ^ o o o o c n O f H C M C M r o « r t n t o t o r > o o c n © o i H C M m w i n t o r > - o o o o o n o i H C M C M c o ^ t n t o

» - C c c c o c o

c c ° C

C C C O C O C

C O C CC C O O .

C • Z

C

c

C C C

r -

U e - • C u t o t t « n H O \ r » m »t " » h c m ^ Z C X O 0      f H e n v r » o o r f v v

_ ■ v o e n ^ C O 0 O f — f H C M C

o o c m c c r - v c m v oC M f H f % C M C M C f f

o o r c o v o * c f f

^ . H ^ c M r n 3 i n . > . o r b , H c n t o r ^ o o ^ C M « t o t o t o i ^ t o i ^ r ' < » i H O O c M• f H C M C r H f H f H i H f H f H t f f t f t

- . , - C a C

< s r « c o v o v c M o o o ^ c M o a o v o ^ c M O i n e n o c M C M i H f H C M C M i n c M v of C C M C M * - C C f H ^ H C M C » H C M

— t C M f t < > r * ) f H c n r ^ i n f * > » H c n i n c n i n e n o o o > H v o i n o o c M o o

e o f v r c o c o c v r r » r r * v o r * o

O ^ - C M C M C M C M » H f H f H f ^ f H f H f H f - « i - ^ f - l

C v » n r » i n n H O > r » » n n c n M n t f > H C » r * o v o N o r « < O N N i - i n N nv i - c n « v e r - e r - r * o c v o v o v o v o » r » * r

r j c

U U U b s O U K U J K U Z Q O Q O Q Q Q Q O D Q Q Q Q Q O Q Q O Q O O O Q Q Q Q Q OC C C C C C O C J b u C C C U Z U O u C C C O

Page 50: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 50/68

C M i - 4 i - 4 C M i - ^ 4 C M • - r + r - 4 C M C M i - « i - 4 C

C M f t C N H r H ^ 4 C M r * C r r - C

o e o s o o t n c M O^ r > v o o m N w H O

c M ^ « t H i - « C

m O H C D N O V C M - *r r - r

r - r - l r - l r - r - 4 r - l C

r - 4 r - l

; r ~ s s s so c o c o r t o v or - C r - l r - l

r - C r -

^ r - i r - i

> H f t r v t n v o r

C O V O C M r ^ rr - C f

r - C

- i - C

r -

H r l H

C r -

O C O C M O .H N H ic e n v o i

r -

r - r ^ C M

C

^

C

, _ , . 1 , ^ r - r

o v n o n h r )r - r - C r - l r - l i - l

r r - C r -

H H H No o o t o n n

r -

r - r l r - r -

C M r t r -

{

C /

c t C

a t w C * - i b

c c

E C O C OC . C O

c

C O C Oc c c c

C E > e E

E

C

t » - C

t C 0

E - « C C v

V t c o o c e

C H -

f - 4 i - t » - <

( f H N N N • -

Page 51: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 51/68

T h U s e r P o r t t o R S - 2 3 2 C a h i o H e n r y T r o u p , T o r o n t oT h e R S 2 3 2 v e r s i o n o t h B B T E R M I N A L p r o g r a m s w o r k s t h

P a r a l l e l U s e r P o r t a a n R S 2 3 2 P o r t . H o w e v e r , s p e c i a lc a b l e i n e c e s s a r y t i n t e r f a c e ' R S 2 3 2 m o d e m s .C o m p o n e n t s L i s t :

U s e r P o r t c o n n e c t o rR S - 2 3 2 ( T y p e D c o n n e c t o r6 2 o h m r e s i s t o r6 8 0 o h m r e s i s t o r

o h r e s i s t o rD i o d e

T h e U s e r p o r t c o n n e c t i o n s a r e a l l t o t h e l o w e r l e v e l :p i n s ( g r o u n d ) , ( C A 1 ) , C ( P A O ) , a n ( P A 7 ) a r u s e d . O t h R S - 2 3 2 e n d , p i n s ( S i g n a l G r o u n d ) , ( T r a n s m i t t e d D a t a ) fa n ( R e c e i v e d D a t a ) a r e u s e d .

F r o m p i A t p i 7 B e t w e e n p i n s A a n B 6 8 o h r e s i s t o r . I p a r a l l e l ,d i o d e , w i t h t h a n o d e t p i A P i B t P i L F r o m p i C t h r o u g h o h r e s i s t o r , t p i 2 F r o m p i L t h r o u g h 6 2 o h r e s i s t o r , t p i 3

T h a t ' s a l l f o r t h w i r i n g .E x p l a n a t i o n o T h e o r y

T h i s c i r c u i t w i l l d r i v e o n l y T T L - l e v e l R S - 2 3 2 h a r d w a r e .T h e d i o d e p r o t e c t s t h p a r a l l e l p o r t f r o m n e g a t i v e

s w i n g s o t h r e c e i v e d d a t a l i n e . T h 6 2 a n 6 8 o h r e s i s t o r s f o r m v o l t a g e d i v i d e r , s u f f i c i e n t t p r o t e c t t h C A 1 p i n . T h r e s i s t o r p r o v i d e s l o a d , a n p r o t e c t i o na g a i n s t m i s - c o n n e c t e d R S - 2 3 2 c a b l e s .

R e c e i v e d d a t a c a u s e s t r a n s i t i o n o n P A 7 , a n d a ni n t e r r u p t o C A 1 . T r a n s m i t t e d d a t a i s e n t t h r o u g h P A O .

F o a n f u r t h e r d e t a i l s , p h o n e H e n r y T r o u p a t 4 1 66 2 4 - 3 4 1 9 .

5

Page 52: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 52/68

B A S I C - A I D ,S u p e r E d i t o r F o r T h e P E T

F A r t h u r C o c h r a n eB e e c h I s l a n d , S . C .

F o t h o s e w h o m a y n o t . k n o w w h a t B a s i c - A i d i s w i l ls t a r t w i t h l i t t l e b a c k g r o u n d . B a s i c - A i d i B A S I C p r o g r a md e v e l o p m e n t t o o l f o t h P E T a n d w a s o r g i n a l l y w r i t t e n b B i l l S e i l e r a n i v e r y m u c h l i k e t h T o o l k i t , I h a t h f o l l o w i n g c o m m a n d s :A i H e l p f u n c t i o n w h e n B A S I C p r o g r a m e r r o r o c c u r s .A u t o A u t o l i n e n u m b e r s f o p r o g r a m e n t r y .B r e a k B r e a k t o t h T I m a c h i n e l a n g u a g e m o n i t o r i t h

P E T .C h a n g e S e a r c h f o r a n o l s t r i n g a n d r e p l a c e i w i t h n e

s t r i n g i B A S I C p r o g r a m .D e l e t e D e l e t e r a n g e o l i j i e s f r o m B A S I C p r o g r a m .F i n d F i n d s t r i n g i B A S I C p r o g r a m a n d p r i n t t h l i n e s

w h e r e i o c c u r s .K i l l D i s a b l e B a s i c - A i d f r o m u s e .N u m b e r R e n u m b e r B A S I C p r o g r a m c o r r e c t i n g a l G O T O s a n

G O S U B s .R e p e a t E n a b l e r e p e a t k e y s .T r a c e E n a b l e t h t r a c e f u n c t i o n , w h i c h p r i n t s t h l i n e

n u m b e r a n d t o k e n i w i n d o w w h e n p r o g r a m i r u n .T h p r o g r a m w a 2 p r o g r a m w h i c h l o a d e d i n t o t h t o

4 o 3 2 P E T a n d w o r k e d o n l y o U p g r a d e B A S I C ( B A S I C 2 ) T h e n e x t v e r s i o n o B a s i c - A i d t h a t k n o w a b o u t w a v e r s i o nf r o m C o m m o d o r e C a n a d a . T h i s v e r s i o n w a s u p g r a d e d f o B A S I C4 . a n a d d e d t h f o l l o w i n g c o m m a n d s :F l i s t L i s t B A S I C p r o g r a m d i r e c t l y f r o m t h d i s k t o t h e

s c r e e n .H e C o n v e r t H E X t o d e c i m a l a n d d e c i m a l t H E X .L o w e r P u t t h e P E i n t o l o w e r c a s e .M e r g e M e r g e p r o g r a m f r o m t h d i s k w i t h t h e o n e i

m e m o r y .R e a d R e a d s e q u e n t i a l f i l e d i r e c t l y f r o m t h d i s k t o t h e

s c r e e n .S t a r t P r i n t t h l o a d i n g a d d r e s s o p r o g r a m o t h e d i s k .U p p e r P u t t h e P E T i n t o u p p e r c a s e .

T h e n e x t v e r s i o n o B a s i c - A i d t h a t c a m e a c r o s s h a t h e s e c o m m a n d s a n f u n c t i o n s a d d e d :D u m p D u m p t h v a r i a b l e s d e f i n e d i t h p r o g r a m .C r D u m p t h s c r e e n t t h p r i n t e r .P a c k R e m o v e t h e x t r a s p a c e s a n d R E M ' s f r o m B A S I C

p r o g r a m .D o A l s o t h D O S u p p o r t c o m m a n d s ( @ > / T w e r e

i n c l u d e d .T h a b i l i t y t p r i n t t h s c r e e n w i t h [ S H I F T - E S C ] a n t

e s c a p e f r o m t h q u o t e / i n s e r t m o d e w i t h w e r e a l s o a d d e d .M a d d i t i o n s t B a s i c - A i d h a v e b e e n t h f o l l o w i n g

c o m m a n d s a n f u n c t i o n s ;S i z e G i v e t h e s i z e o p r o g r a m i m e m o r y o o t h e d i s k .S p o o l S e n d f i l e f r o m t h d i s k d i r e c t l y t o t h e p r i n t e r .U n - n e w R e s t o r e p r o g r a m a f t e r N E W .

Page 53: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 53/68

T h a b i l i t y t s c r o l l t h B A S I C p r o g r a m w i t h t h c u r s o rc o n t r o l k e y s w a s a d d e d • T h e s c r o l l f e a t u r e w a s a d o p t e d f r o mc o d e f o v e r s i o n o t h C B M a s s e m b l e r e d i t o r b y B i l lS e i l e r *

M a n y b u g s w e r e a l s o f i x e d * w o u l d l i k e t o t h a n k J i B u t t e r f i e l d f o t h A I D 4 p r o g r a m w h i c h a l l o w e d m e t f i r e n u m b e r b u g i B a s i c - A i d * T h e D O S c o m m a n d s a l s o h a b u g sw h i c h w e r e f i x e d * A l s o w h e n u p g r a d e d t B A S I C 4 * t h t r a c ew o u l d n o f u n c t i o n b e c a u s e c o m p a r e w a s n o w i n c o r r e c t * T h s c r e e n d u m p w a s m o d i f i e d t a l l o w p r i n t i n g t a A S C I Ip r i n t e r *

B a s i c - A i d i v e r y p o w e r f u l B A S I C p r o g r a m d e v e l o p m e n ta i d , b u h o d o e s i c o m p a r e t o t h e r s a v a i l a b l e f o P E T / C B M s ?

B a s i c - A i d h a m o r e f e a t u r e s t h a n t h T o o l k i t a n i m o r eu s e f u l t h a n T o o l k i t a l o n e *

T h D i s k - O - P r o h a s s o m e u s e f u l f e a t u r e s * T h m o s ti m p o r t a n t i t h a d d i t i o n o B A S I C 4 * c o m m a n d s t U p g r a d eB A S I C * A l s o t h P r i n t U s i n g c o m m a n d f o f o r m a t t e d o u t p u t i u s e f u l . T h e D i s k - O - P r o w i l l f u n c t i o n w i t h T o o l k i t i o n i p r e s e n t . A d i s a d v a n t a g e i t h a t t h D i s k - O - P r o m u s t b i p l a c e f o t h e s e c o m m a n d s t o w o r k i p r o g r a m a n d i s l o w sB A S I C d o w n . S e C o m p u t e i s s u e # p a g e 1 1 2 f o c o m p l e t er e v i e w .

T h C o m m a n d - 0 a d d s t h P r i n t U s i n g c o m m a n d , t h T o o l k i tc o m m a n d s , a n d o t h e r s t B A S I C 4 . 0 . T h R e n u m b e r c o m m a n d i i m p r o v e d t a l l o w r e n u m b e r i n g i l i n e r a n g e i n s t e a d o t h w h o l e p r o g r a m a n t h T r a c e f u n c t i o n h a s b e e n i m p r o v e d t s h o w t h w h o l e l i n e t h a t i b e i n g t r a c e d . B u a g a i n t h C o m m a n d - 0 m u s t b e n a b l e d f o t h P r i n t U s i n g c o m m a n d a n o t h e r s t w o r k i p r o g r a m .

P o w e r h a s o m e d i f f e r e n t c o m m a n d s a l s o , a n d , l i k e t h o t h e r s , c o m e s o R O s o n o u s e r R A i t a k e n a w a y . I h a t h i m p r o v e d R e n u m b e r c o m m a n d a n v e r y p o w e r f u l T r a c ef u n c t i o n . I h a S e a r c h a n R e p l a c e c o m m a n d w i t h t h o p t i o n f o d o n ' t c a r e c h a r a c t e r s i t h s e a r c h s t r i n g . P o w e ra l s o h a i n s t a n t k e y w o r d s a n i n s t a n t s u b r o u t i n e s o p t i o n sw h i c h c a b e u s e f u l . T h X E c o m m a n d i v e r y p o w e r f u l a n h a m a n y o p t i o n s , s u c h a m e r g i n g . a p r o g r a m f r o m d i s k . P o w e rh a t h o p t i o n f o o t h e r c o m m a n d s t b a d d e d t i t F o f u l l r e v i e w o P o w e r s e e t h e O v e r v i e w i C o m p u t e i s s u e # 1 p a g e 1 3 6 .

S i y o h a v e P E w h i c h s u p e r - e d i t o r i f o y o u ? T h a n s w e r w i l l d e p e n d o t h B A S I C y o u r P E T h a a n d t h e f e a t u r e sy o u w a n t s u p e r - e d i t o r t o h a v e . U p g r a d e B A S I C u s e r s c a c h o o s e f r o m t h T o o l k i t w i t h D i s k - O - P r o , P o w e r , o B a s i c - A i d . B a s i c 4 . u s e r s c a n c h o o s e t h T o o l k i t ,C o m m a n d - 0 , P o w e r , o B a s i c - A i d . E a c h s u p e r - e d i t o r h a s o m ef e a t u r e s n o i n c l u d e d i t h e o t h e r s . T h e u s e r s h o u l d g e a l t h i n f o r m a t i o n o e a c h a n d e c i d e f o h i m s e l f . I t h i se v a l u a t i o n B a s i c - A i d h a s t r o n g s e l l i n g p o i n t i t h a t i i i n t h e p u b l i c d o m a i n a n i s F R E E . T h e r e a r o t h e rs u p e r - e d i t o r s n o m e n t i o n e d h e r e b u t h e s e a r e t h e o n e s m o s ts e e n i a d a n t h o n e s t h a u t h o r i f a m i l i a r w i t h .

Page 54: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 54/68

N o t e t h a t O r i g i n a l B A S I C u s e r s a r l i m i t e d t T o o l k i to n l y * B e c a u s e o f ' v a s t z e r o p a g e c h a n g e s b e t w e e n B A S I C 1 . a n B A S I C 2 . 0 , a n t h f a c t t h a t O r i g i n a l B A S I C w i l l n o w o r kw i t h t h C o m m o d o r e d i s k , B a s i c - A i d a i s t a n d s n o w i l l n o ta s s e m b l e f o O r i g i n a l B A S I C *

B e c a u s e t h V I C - 2 0 h a s B A S I C 2 . 0 r i w i l l b e p o s s i b l e t m o d i f y B a s i c - A i d f o V I u s e , h o w e v e r y o u ' l l n e e d m o r e m e m o r yt h a n a " o f f - t h e - s h e l f 1 1 V I C . T h m o d i f i c a t i o n w i l l i n v o l v ec h e c k i n g t h s u b r o u t i n e c a l l s a n m o d i f i n g t h s c r o l l f o t h s c r e e n s i z e , b u b e l i e v e V I C P r o g r a m m e r s A i c a r t r i d g e i a l r e a d y a v a i l a b l e . I a n y o n e i s u c c e s s f u l i n t h em o d i f i c a t i o n o t h i s p u b l i c d o m a i n v e r s i o n , t h e y s h o u l d b s u r e t p u b l i s h t h r e s u l t s f o o t h e r s .

B u w h e r e d o y o u g e t B a s i c - A i d ? P E u s e r g r o u p i t h b e s t s o u r c e . T w u s e r g r o u p s w h i c h c a p r o v i d e B a s i c - A i d a r A T U G a n d T P U G ( a d d r e s s e s b e l o w ) T h e y s h o u l d a l s o h a v es o u r c e c o d e i C a r l H o s e r ' s M A E a s s e m b l e r f o r m a t a n p r o g r a m t h a t w i l l c o n v e r t t h i s t C o m m o d o r e a s s e m b l e r f o r m a t .B a s i c - A i d c a n b e a s s e m b l e d a n b u r n e d i n t o a n E P R O M a n p l u g g e d i n t o o n e o f t h e e m p t y s o c k e t s i t h P E T s o i t i sa v a i l a b l e w i t h S Y a n d o e s n o h a v e t o b e l o a d e d f r o m d i s ke a c h t i m e t h e P E i r e s e t o p o w e r e d u p

w o u l d a l s o l i k e t t h a n k J i S t r a s m a o A T U G f o h i h e l p a n c o m m e n t s o t h w o r k d i o B a s i c - A i d .

h o p e t h a t y o w i l l p a s s B a s i c - A i d o t y o u r f r i e n d s .T h i s p r o g r a m i i t h p u b l i c d o m a i n a n d s h o u l d b p a s s e da r o u n d f r e e l y . I a n y o n e f i n d s b u g s o h a c o m m e n t s p l e a s ec o n t a c t m a b o u t t h e m .

F A r t h u r C o c h r a n e H o m e 8 0 8 2 1 9 0 21 4 0 2 S a n d B a r F e r r y R B u s . 8 0 7 2 5 3 6 5 2B e e c h I s l a n d , S C U S 2 9 8 4 1A T U G ( A S M / T E D U s e r s G r o u p ) T P U G ( T o r o n t o P E T U s e r s G r o u p )c / B r e n t A n d e r s o n c / C h r i s B e n n e t t2 0 S C e n t u r y 3 8 L a w r e n c e A v e . W e s tR a n t o u l , 1 1 6 1 8 6 6 T o r o n t o , O n t a r i oU S C a n a d a M 5 1 B 2 1 7 - 8 9 3 - 4 5 7 7 4 1 6 - 7 8 2 - 9 2 5 2E d i t o r ' N o t eT h e t w o B A S I C l o a d e r s t h a t f o l l o w a r B a s i c - A i d f o t h e 8 0 3 2a n f o t h e f a t 4 0 3 2 . B o t h u s C o m m o d o r e f o r m a t f o p r i n t e ro u t p u t . V e r s i o n s f o B A S I C 2 . 0 , 9 B A S I C 4 . m a c h i n e s a n dA S C I I p r i n t e r o u t p u t a r a l a v a i l a b l e f r o m e i t h e r o t h a b o v e u s e r g r o u p s .B o t h p r o g r a m s w e r e g e n e r a t e d u s i n g t h D A T A L i n e G e n e r a t o rf r o m T r a n s a c t o r 1 V o l . 3 p g . 1 2 . T h S Y S c a l l i l i n e 1 0 0 0w i l l e n g a g e B a s i c - A i d . F o d i r e c t l o a d v e r s i o n , u s t h m o n i t o r S a v e :

. " B a s i c - A i d . b i n " , O x , 7 0 0 0 , 7 F F Fw h e r e x = f o d i s k , o f o c a s s e t t e . A f t e r l o a d i n g t h i s ,u s e t h e s a m e S Y S t e n g a g e , b u t f o l l o w w i t h N E W e l s e F R E ( 0 )

Page 55: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 55/68

A f t e r e n t e r i n g o n o t h e s e l o a d e r s y o u ' l l p r o b a b l y s e D A T A s t a t e m e n t s i y o u r s l e e p ! Y o m i g h t h a v e f r i e n d r e a dt h e m o u w h i l e y o u t y p e . T h i s w i l l r e d u c e e n t e r i n g t i m ec o n s i d e r a b l y . H o w e v e r , w i t h o v e r 4 0 0 0 d a t a e l e m e n t s , t h p o s s i b i l i t y o e r r o r i s t i l l . h i g h . T m a k e l i f e l i t t l ee a s i e r , a d t h i s s h o r t c h e c k s u m p r o g r a m t o t h e b e g i n n i n g o t h l o a d e r :

1 F O 1 = T 1 2 L = 5 2 I 1 = 1 0 T H E N L = 4 03 C H = 04 F O J = T L * 5 R E A D C H = C H + X6 N E X T7 P R I N T " C H E C K S U M F O B L O C K " ; I ; "8 N E X T E N

I s h o u l d p r o d u c e t h e s e r e s u l t s :

: R E M 1 P A G E S O D A T A: R E M L A S T P A G E S H O R T E R: R E M R E S E T C H E C K S U M: R E M # L I N E S * P E R L I N E: R E M A C C U M U L A T E

• ; C H

C h e c k s u m -

C H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U M

f o F O F O F O F O F O F O F O F O F O F O

f l O 3 2 B a s i c - A i dB L O C KB L O C KB L O C KB L O C KB L O C KB L O C KB L O C KB L O C KB L O C KB L O C K

5 3 3 0 65 1 6 5 24 8 8 1 85 1 8 2 1

5 4 8 2 9 25 4 7 7 05 5 3 8 15 2 8 8 85 5 3 9 3

1 3 4 9 3 5

C h e c k s u m - f o r - f a 4 0 3 2 B a s i c - A i dC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U MC H E C K S U M

F O F O F O F O F O F O F O F O F O F O

B L O C KB L O C KB L O C KB L O C KB L O C KB L O C KB L O C KB L O C KB L O C KB L O C K

5 3 9 4 85 1 4 1 74 8 8 1 45 1 8 1 94 8 2 0 85 4 5 4 65 4 5 4 65 1 7 9 85 5 5 2 5

1 = 3 4 9 3 9

- 5

Page 56: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 56/68

                  

            

                

             

   

                                   

       

                                 

   

   

       

    

      

                

                    

                  

                   

              

    

           

      

    

                                        

   

    

                

         

                                      

        

                                  

                           

            

              

           

              

        

 

   

  

       

      

    

    

  

        

 

   

        

 

      

  

      

 

               

                         

             

                      

        

      

  

               

                    

           

                            

  

        

        

  

     

   

 

        

                           

           

                                 

                                      

         

                 

      

       

     

    

   

           

                                  

              

         

      

                  

 

            

          

                            

                     

                 

                  

       

            

          

                          

         

                               

                                       

                     

      

                             

                  

            

       

                        

                

                     

                   

      

     

                         

             

       

               

      

                         

               

                       

                                      

                                      

                           

          

          

         

                                        

    

   

   

       

           

     

                                 

            

        

   

      

               

                                     

   

                                  

         

                     

     

                                  

               

 

                     

                    

                 

 

                

         

         

                     

  

          

   

                                       

                   

                    

                     

        

          

          

                     

                 

           

                         

    

                              

  

                                    

        

                 

   

 

     

 

                                          

          

                       

               

        

                                         

                                         

   

      

         

                        

           

   

          

                        

   

                     

             

                               

     

                    

                 

                    

                

                   

                          

            

  

                      

          

                             

Page 57: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 57/68

        

                                 

         

         

                     

               

                      

                                    

          

      

     

          

     

                                  

        

                                       

                          

             

         

         

                   

             

                   

           

      

                  

                                        

                 

       

           

                           

          

            

      

                            

    

                                   

  

                            

       

      

            

                

                      

                   

                                 

                 

   

                     

                   

                    

            

    

              

   

                  

              

     

       

                              

             

            

                         

                  

             

     

                                    

                                

     

                       

            

                                   

          

                

    

                                   

    

       

                          

     

  

       

   

  

      

     

  

     

    

                       

             

       

                         

      

         

        

                   

  

   

   

                   

   

   

 

         

                              

        

                    

               

       

                

          

          

                     

                

        

      

   

          

             

          

                            

        

      

   

  

 

        

    

   

  

    

                                        

  

                                     

      

               

                  

      

 

      

  

     

          

     

                                 

        

                                    

                               

        

   

   

               

            

               

                        

             

            

                                      

                                        

       

          

   

          

   

   

   

                 

       

                                       

               

              

                      

       

        

                                        

            

                              

            

     

      

                                  

    

       

                             

                 

                      

   

     

   

  

      

   

      

     

 

       

    

                                    

                                        

                  

                

   

           

                       

                 

                 

        

  

  

  

 

       

        

  

 

       

         

Page 58: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 58/68

m e c \ O N c » < s o ^ r > o > o r v o ( S v n N \ o a > V H r H H ^ n r N r p o o ( n v o H Nc o ^ - i o o f o c o r - ) r - i o r » o i r o . - n r o r » c m c * o m c m r ^ c * v r v o v o « > o * c M r « i n r H f o r o © ^ i n r r o v o c , _ C S , _ , _ < ♦ _ - » r i - l r - l N H r H C M r H C M r H r H r H C M r H r H r H C M i H C M C M • — ! • — • I

c ^ o w ^ ' O N O ^ r ^ r * » A N o w * r * < ^ o » N O » n H i f t o t o o ^ N o ( f t N c o n N f o o r « v o o o N r ^ o o > ^ i ' » N N ^ i O f o r i n r - r ^ ' c m c « 4 C M r * r * C ' » 0 ' o i r - 4 0 r o ^ % o . ' * * < N v o r * p o c > i \ o ^ > n o i > « ^ l f O N o r n < f t v D W ) r s » f l v o ^ r < » N n o J n n v o N r » o n c m i r r C C M r H C r H r - l r H r H C M r H , - | * H r H ( M H N H N C M r H C M C M r H r ^ r - l i H r H r H r H C M r - i - « i - l C

v ^ v o N r o H ( o o o i n v o c o o o r ) i n r ) O v o ( O O r o o o v o N N C ^ o o t n v o t O N c v m o ^ i f t n n c o * r r » i n o o m v o r o i - c o r o c m r r r * t o r - c m v o f ^ v r r > r * C M r H « H ( M H N H N r H r H C r H r H N M M H r r H r H r H ( S C M r H 0 - t - 4 t - 4 C p \

c M r H C M r H r H C r r ^ C * — I i - * - N ( r H r H C C r r r r r H r H C M r H < r C r H r H r H r H

n C \ O N » n W N V 0 O N V 9 N C n N N O r » 0 0 N V O O N V O 0 ^ r » C 0 O O n H N ' 9 l r 0 ^ l O ^ ' H f ^ C 0 p » H ^ ' V 0 O V N N N ^ 1 I t i n H i n f o v o O H r ^ w w o O n n N N c o j n m v H m H v n N N W m m m o ^ c m t o ^ o \ r o « * r » v s o n i n nC ( S M H H H C < - r H C M C M r H r H r H r H C M C M C M r H r H C M C M r H * - r - r - i - C M r H r H C M r H r H

r n o o r o o r o H O O i A r o v o o n N r o v o o ^ i n^ r o H r o ( M r m * ^ o o o o ^ T o r o r o v o ^ c n o N m o ^ w O H r n n n C r H r H C M r H r C M C M r H C M C r H C M C M r H r H r C * - t r H C M r - r r - i i - i

r r ( n v o n r n o o r o N v o M V O r H o n r t N N O o n M » / > O f o n N O nr c m c m c m r H r o c m * H H O h ^ N v o n v o o v n H h h n M ^ r c v < n r H r r r o \ o c o r o r r r i - r H r 4 t - C r H r H r - r r - t ' r H r H C * r H r H r H r H r C r H r H r H C M r H C M r H r r r r r r H C N C M r H r H r H

A ( O r o t ^ HO M N H ^ o i w o r o r ^ r o H A A ^ r o H i n o ^ r o o v o t h r o v c v o r * * • r H t o < o o r o o o ( o ^ r ^ c C C r r r r H r H r H r r r r r H r H r H C M r r H C M C C M C M r H r H C M r H C M r r r H r H r H r r H r H r H C M C M

< < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < << < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < , _ Q Q C Q Q Q Q Q O Q Q D O O O Q Q Q Q Q Q Q Q O Q D Q Q Q Q Q Q D Q Q Q Q O Q O Q Q Q O Q Q Q Q D Q Q Qt N O Q 3 V 0 V N O C 0 V O ^ > N O t 0 V 0 V ( S O C 0 V 0 « T N O C i O ' < » ' N O 0 0 U ) ' » ( S O O V 0 ^ ( S | O C 0 V 0 ^ N O 0 0 V 0 ' T ( M O O V 0 V ( V J^ ^ n w v n ^ o ^ a o o c A O H N ^ l ^ * ) ^ ^ n v o v o ^ » < ^ o o H ( > ^ n w l n v o ^ c o e o < ^ O H N ( ^ ^ r > v l f t v o \ o ^ O ( ^ o o H N nv ^ v v ^ 5 r v ^ v v i f t i n i n i n i n i f l i n j n i n i n i n i n v o v o v o o v o v D v o v o o v o v o v o v o f ^ p * r * r * r ^ r ^ r * ^ r ^ r » r ^ r * w m c o c o cH H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H

^ C N _ C M C M C — H N H C M r C r - O ^ C • - - C r C M C M C M r - C r r - C M r H

.

< V

£ £

r H r H

r n r ^ r

- c C

* i r

T C V r r - r - C

» c m v o i nr

v r - * C r C

r - C

r H r H r H C

r H c m v o v o r * c m r C M r H r H r H r H r H r H

C r -

r - C r - r r

r o o o c i r C r C M r H r C

i v v » r - C r -

H N O V C f l T Or - r H C M r - C r

^ C C r - r -

c m v o n r H r H C

s S c t ;i t — <

^ r

C r -

r ^ O i n p » ' V O r O O % O f O O O C M r H ^ > r r > C M r H r HC r H C M C C r H r H r H r - r - i r - i

^ S S S ^ S S S ^ ^ g S S r H S S S c S S S

r H C M C C r - C C M r H r - C r r

C M C M C M C M C , - H r H C M r H C

S 5 ^ 2 S S S S ? o S S c ^ ^ S S S ! 2 S Sf n { N ^ r g ^ r n c o c M C M r ^ f n r H O ' < T i n ^ v o r H C i nr - C N H H C M H C M H C M C M H H H N H H

a

t - Q Q Q Q C i Q Q Q Q Q O Q Q C C j Q Q Q C J Q Q Q C l Q Q Q Q C Q C i Q Q D C l Q O Q O Q Q Q Q Q O O Q D Q Q C C i O c

O C O C O

5

Page 59: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 59/68

r + r A ^ H , - l r H r H r H C M r C C r H H O 1 H i H i H r - C C r r - f r r r H C M C M* * « * « . » * • » * * * * • » * * * « » * * « * . « » * * * • » * * * » « . » . « . * * * * » . * » « > * * * * * « » * • » * * * % « . C

i n o o n c s o N ^ o v o ^ ^ ^ i o ^ v o N C N v o r ^ o N O v t s o o c o c o n v o i A O H r ^ o r ^ i O N N O H C S o t s o o o o N v o r ^ c o o o o « * N O f n N H H v n i n t n N » n o H h < r i n i n c o v h i - h o * * r o v o c \ o r o r o m H v o H H O f i f t f t H H H mC M C M C M H » - 4 i - 4 i - < S i H » i H C M r C i # - H C C r H r H r r O H

^ v o v c o r o r M v o r o o o o o o ^ c n r H r nr r - f M C M r r r r H r H C M r C r r H C M C C H H H H C r - C r - C i - 4 i - 4 i - 4 r - l r r - l r - l r r - 4 r - l I

v o N i o o i n N ( N i n v o v D H o r o o N O O ( > ) c o o v o i n \ o o o r v i Nr & * c \ v r O r n r ^ i - i o r « c > \ o r r - m v r - • * r m r - 4 r - 4 s o c m o v r H r o c m ^ * m ^ c r ^ H r ) H ^ w i n o \ H n n c

4 C C r r r H r H C i ̂ t ^ r ̂ C M r H r H r H C r r C C C r C r H r H C C f - C r r

C ^ C C M r H r H r H r H r H r H C r H r H t ̂ t ^ t ^ r H r - C r C C M r H r H r H r H C M r H r H r H C M C 2 % * * • » • » % * • » * • » * . * * • * C

h o r N N ( ) o o r ^ 4 ( i v o ( s ^ ^ r o ^ > ^ l ^ ) ( S H C D o o ^ ^ ) l n oo ^ O H n n r - ^ v c m r » r r o v o H H r ) o r n r o A H H r o « \ o o ^ H t n ^ r o n n o H H r o f o vC M r H C M r C M C M r H r H r H f H r H r C t - t - t H C M r H C M r H C M r ̂ C M C M r H r C 1

H r n o o r ^ o n N V H « o o N o o i n N C O c o « N h \ D H C O r o ( > i » v o i n o c o r o o ^ e o o o ^ o e o o v o o o wC M C M r H r H C M r H r H C M r H C M r H r H C M C M C M r H C M r H C M r H t ~ f i r H t - t * - * C M C M C r r H C M r C M f t

C 3 C M r H C M C M ^ C M C M r ^ O \ D C M V 0 C M C D C M C M \ O O O C A C O V 0 C £ p ^ o ^ C ^ \ O \ O r ^ O i r 4 C M C S ^ V O i n r t Oo n ^ O H ^ o n N v o o t o N v o i n n ^ ^ ^ H i n H O O ^ r c A e A V H r o n o r o H r h h W h ^ r O H W O r C f t r H r r H C M C r H r H C M C M r H r H r H C r C ( H H N H H H H r - C r - < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < << < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < * D Q Q Q O Q Q O Q Q Q Q Q Q Q Q D Q O Q D D Q Q Q Q O v Q Q Q Q Q Q Q Q D Q Q Q Q Q Q Q Q Q O Q Q Q Q Q C O « ( N O C 9 O ^ N O 0 0 V 0 < l N O 0 0 v 0 ^ > N O O V 0 ^ r < O C 0 \ 0 V N O 0 0 V 0 ^ > N O 0 0 \ 0 ^ N O C 0 V 0 ^ > N O O V 0 n i N O C D V D ^i n v o f ^ o e o w o H N N n v u i v o v o p ^ c o c ^ o o H N r * > ^ ' ^ i i n v o r ^ o o » o \ o H N N r n « 9 ' i n v o v o ^ c o f l > o o H N n ' » v i r t v oN N N N N N n n n r ^ r n n r o r ^ n r ^ r o r o v v v ^ ^ n ' v ^ ^ v ^ ^ v t n t n i n i n i n i A i n i n i n t n i n i n v o v o v o v o v D v o v o v o v oC M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C M C 4 C M C M C M C M C M C M C M C M C M C M C S C M C M

H r - C H H N H r i - r v D r H C M r H C M r H r r H r H C M r H r H r H C M C M r H r -

o n ^ ^ < J ^ n r l o nh C o r ^ n n n n n c o c or H C M r r H C M C M C M r r H r H C M C M

r o r o c M C M ^ O f o r * c o n o v o n n n nr H C M r C r H r H C M r H r H C M

H O C h c s o o H v o o i n i n T n o i n o ^ r t o o N N N N N H H H C M H C M H

C C M H H

H 0

r o r o v o v o o r o c M G \ r ^ o o r h o ^ N w o T r o c v r o H C M i n H O o v o o c M r C M H C M C M H C M C M H H C M C M H H C M H C M C M C H H C M C M H H H C H

< S 2 S 2 < S < S S S S S S S S S < S S S S £ S S S S 3 S S < S S S S < <Q O Q Q Q Q Q Q Q Q Q O Q Q Q D D Q Q ' Q D Q Q Q Q Q C \ Q Q Q Q D Q D D Q O Q Q Q Q Q Q Q Q Q Q O Q Q Q QO C C D O O C O O C O O O

- 5 9 -

Page 60: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 60/68

H o C o c M o r o o o c M o i H C M r o i n H O C M C M ™ — o ^ r r o o r o o o r - r r r r r o r o r H H ^ n ^ h t o n n o t D H o x n o r t o c s v v o o v n n v oC M C M N H N H H r - ( C r • - r - 4 i - H C M C M C M r C M C M C M r H C M C C V

H O N l A O h N M O l A V O N N H O O C t H V « 0 t n i A N O V 0 a v O 0 N Or - r o v * r v o r o r H v r o c o r - r r c i n H V O i » o o n o \ o v o ^ n v o o o n o \ \ O HH H N N r r H r H r H r - l r - l r - I C M C M C M C r H r H C M C M C M r H r C r C M r H C M r - C M r - » C M N

o H H N « r N i v o i n o H H C O ( D H v o o o N c o v o o N i n H r ^ r o ( * ) n c M N ( n o < o ^ t n u > o v D r < > c o H n N n < 7 i n v o C o r - c M r - > r r v o n n o e o t n n m r - r H o * c m r * t o r o r o r o r o i n c o o M f l o o ^ n r » v o r r - I C M C M C M C M r H r - r - r H C M C M r H r H C r C M r H r - r r H r H r C M C M r H C M r H C M C M r - r

C H H N H N N O < s o w o o o ^ H O O H O r t o n H O n H o u ) O N i

r * ' a * r r * r r c m i n ^ v r H r o ^ 3 r r » » - r H a * * ^ m > i n r o c m r o o o r o o r r c * q f * r o C Jr H r H C M r H r H r H r H C M C C C r r H C M C r H C M r H C M C M r H r H r H r H C M C M C M r r H r H C M r H r C M C M

r ) n r o o o i n r tC M C M r H r H C M r H r H C M ^ - r H C M C M r H r r r C C o o o r .

r r H r H r H r r H r H r H C M C M C M r HN f N O Ho r o o c oC M C M r C

< < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <H H ^ E H H H H ^ ^ H H E ^ H H E H | H E H | H E H ^ E H | H E H t l | HO O O Q C a o O O C O O O O Q C O O Q O Q O Q Q Q C O O O O Q O O O O O Q Q O O O O O O Q O O Q O O Q Q C

r n n n n n n

r - C N r r H r H C M r H r H < N r H r C

< S H r C r H r H i - H r - I C M C C M C M C M r H C r n r ^ n n v o r C C r - r r - r - i r - t C

I I

i o h c t \ c * » * » o % H ^ c ^ r o H H O o v o r * c r v v o H r ^ V D H r o r o r o H ^ > v o r o H v o r o r o ^ ' © v o ^ r o o ^ r o c f t v r o r o r oC M r H r - C H ( M H C M H H C M C M C M C M C M H H C M C M H l

r H r H r - t i — Ii — C M r H

* ~ r r * r r - g o o v o r C M C M H C C M C M r H ^ _

v o c T k O i n r o o r o c M O v o r o v or - r H C N C M C M r H C M C N r -

c n r o r o m C M v o r — < n ^ r o i n r * r o i n v o c y » c n o H O O o v o r > » r or - C C H C C M H H r - H C i - H C M H r H H t O

r n r H » r ^ ^ ^ C T » r o i n ^ r H v o v o r o r o o O r H r ^ r o r o c M o r * - v o o v o v o r * r o r ^ r o c M r » r o o r - ' T ^ v o r ^ r H r or - r - C M r H r H r - ( C M r H r H C M r H r H r H C H H r C

c r r t j » t * i o c v © r u " v v o r or H ( M r H H C M r H r - i r - i r - i H C M C M r H . - H r > J

Q C Q O Q C Q Q Q Q C Q Q O Q O Q Q Q Q Q Q Q Q Q Q C V . Q D O Q O Q Q Q Q Q Q O O Q Q Q D D O O Q Q O C Qo c \ o \ o \ o o o o c

- 6

Page 61: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 61/68

C C C C C C C r H r H

r ̂ r H C C C C C

c M r c M i n o o r H O o c M C M ^ r H o i n o O i H V D r H O ^ o c M v o c M O ^ r r o o i n r v o c M t n r i n c M t n om c r * > © v ^ r ^ v r ^ r o c M r o c M ^ v o r o m r H r o n v a > ^ « r ^ c m r H i n i n o \ e n c r o v v o r r H i - l C M r H r H C M C M C M r - C M r H C M r H r H C C M r H C M C M r H r H C r H C M C C M r H r H t ̂ i t - t r - i r C C M r H i

O O r C ^ r^ m r * c m c * > r o r o c m m c v o v o oC i - i r - i C M r H r i - l r H

r C r C C f

r v r C M r H C M C M r C r H i H * - C M C M r H w H w H r H » H C M< < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <O O O O O O O C Q O O Q O O O O O Q O O Q Q O O O O O ^ O O O Q O Q O O O O O O O Q O Q O Q Q Q O D Q O

H H ( S M N o o n H c o n r * i r t r o ^ 1* - r - » C M f M r H f V J H H r - r H

o « a c r \ t * r r r C M O J r - C r H C M r H r C M C M C r C C M C M C M C M C M r H C M C r C r H C M

i r n r o o

c e ^ o r c n r o i n c m r r q C M ^ H H C M N H H N

o H o N v o ^ n r r n n i n i f t N < o ( n nc m c o i n v d r o o r H r o v o v o r ) r » e o v o c o r o c r © c r r r c o r c

C M C M r - ^ r r H r H * - r H C M r H r H r H r H r H r H r C M C M r H C M C M C M r H C M C M H H C M H

H H N N H N N H N H N r H C M C N C M r H C Mn n ^ n o o n ^ Jm n c o i n r o r o o c o r o c s v oH H r r - i r H r H C M r H r H r H

W H r o ( N n n r ^ ^ N r o ^ ^ c o v N N O ( s nr v o c m r c m r o r " c o c r r c c o c m r v o c m r o c s

r H C M r H r H C M r H C M C M r H C r r r H r H C M r r H r H C M r H C M r H r H r H C N C M r H r H C M r H

O r - r H r H C M C M r H r - r H r H r H r H r H r H

n N o o r ^r ^ C M C M m C M O O r H C O r H V O O r ^ C MH r r H r H r H r r H f H r H r

r O V O ^ C f t f ^ O M T »r H r H r H r H r H

N r o H N ^ ( n o n o N n ^ o o N ^ ( S N H o n v o i n i n ^ o n n ( Nm c m r o r ^ i i c v c s i i c m c « c « « r o r o c m r » c c c c - r r H C M r C M C M C r r r C M r H C M r H C M r H r H C M C M C M r H r r C C M C M C M r H C M C C M r H C M r H C M C S C M r

a G Q Q Q D Q Q Q O Q Q D a Q Q Q Q Q Q D Q Q Q Q Q Q O D Q Q D Q O Q P D Q Q Q Q Q Q Q Q Q D O Q C i C i Q

- 6

Page 62: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 62/68

C C r

C M C M r H r H » H

C M C M r - r r r - r

C C r r - r H r H r - t r - i r -

0

o v o H o* H r H C M C M r H C M C M T T r »f r O l O r r - r H C M C C C

C r H r H r H r H C r - C r r -

o r r - « r H C M C M C M r r - r - l r - l r - l r H . ' - l

< < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <Q O C 0 Q O 0 0 O Q O O O 0 O 0 O 0 0 O 0 0 0 0 0 O Q O O O 0 O O 0 O Q Q 0 Q O O

c r o o m i n v o ^ s - T r m r H r - o n o n i - v o r » v o r * " > i . r - r H M r - t r - 4 f t f t r - r H f M r M f M M M M M C ^ C > t f 4 C 4 f i r - 4 r - 4 f i \ n

H P I N

• — » r - 4

i n v c

f i f t f

i r

r - -

r

I I

r M M

f r -

r r

r

" - i S S r Hf r - M M M M

V V

f > V O f * " J

r C M C M C

f M C M r H

^ S r H

r M

r M

M r -

^ p * C C > C Mf * * > f

• - M

C f O M r - f M

r - f M

i t - • - C

i -

i i

f

f

C

r -

r - t r - l

f f

r v • - r -

C

V

O

M M f

f

S S S m 1

r - i r - i r - t

C M C O r H V r -

M

i n r ^f

r -

i M

C M f Or -

0

r -

f

v

r -

v

f O O >r - v or - f

r -

r -

r H i n mr -

C V " C

r - f

r - t r - t

r - i i — r

f

( N i n o o h ' V H v o M i - l i - » M r r H r H r H r H M r M r H M M r H M » H M M r r - t r - 4 r H r H M r < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <Q O Q Q Q Q Q O O Q Q D Q O Q Q Q Q O O Q Q Q Q Q Q Q O Q Q Q O Q Q Q Q Q Q Q Q Q Q O Q Q D Q a Q O Q Q

6

Page 63: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 63/68

i r > n n r - c m c o o t n n N r » n v o h v o v o c o < n N M n H f o r o o ^ m r o r o v o c < N r H r - f H * H r H i - l r - * r - « « f - N ( r - C M r H C r H r H i C r - r » - C M r H C M C M r H » H C M

i l n o c o H N o o » ^ l o o r t ( ^ ^ M O ^ v o c o ^ l ^ o o \ ^ v c > l ^ l ^ O f o ^ ^ n r H t p r s * r r - f * ^ r r o c m r e v v o r * i n v o ■ * r * c m r c m r o r v o c m r - c u c m i r H C M C M r H C M r H » H r - 4 r - 4 C i - r H r H r H C M r H C M r H C M C r C M C M r H r H r r r r r H C M r r H r H C M

I

o l n l n l n ^ o \ \ o N l n H r 1 0 0 l n v o o o o o ^ l t n ^ i o \ D ( O o n o O O o ^ i c * i < d r o r o c o i n i n * r r * i i v r o r H r o r o c c o r o r - r o r r » c m v o r o * v o r oC M r H r H C M r H r H C M r H C M r H C M r H r H C M r H r H r H C M C M C M r H r H r H r - r H C M r H C M r H r H r H r H C M r H l

o c M O o t o ^ o o ^ ^ ^ i n o o ^ r o r o v o o i n o c ^ c M r H O O c o c M r H i n r o t n o % v o ^ < o t n o A C M O o H i n c o i n c M o v o oc o c o r o c d c m i n v c o c m v © © c o r * c o r * « o c o \ r v v o r H c < r * v o c m v c o v or C M r H C M r H r H C r r C r H r H r H C M C r H r H C C M r H r H r r r r C r H C M r C r H r H r r

C • . * • > * * « . • . . > « > • . * « . * * % » . « . * « . « . • > * . . . » % • . . » . » . > . > » * . « . * * * « . « * * * * » . * « . * « . * % * . % . >C M r O C n O C M t n C ^ C M V O O C M V O C M O \ C M C M O r ^ C O C M ^ O O C M ^ O C ^ | ^ C O O O r O r H C M V r O ^ O ^ f H C O C O r ^ r H ^ V O O « T C M C M C M ^ ' C C r H i n C O V O < » r r * O V C C O C O C C C C * r H C O r * C C C ^ f O S C M C ' O O C ^ l r ^ r V O r H t n mr H C M C M C M r H r H r H C M r H r C C M r H r H r H r H C M C C M r H n H C M C r H r H r H r H r H C M r H ( H C M r r H r H Z

^ V C O V O C M ^ C M V O r O C M O f O f O C M C M C M O C n r O V O O C O C O r O O C O r H O v n c O O O C O C M C O V O O ^ i n ^ C O O C O i n C M i H C M C M r ^ C M C M C n( M i n V H » O h h C O ^ C O r H f O C C ^ r H C O * 9 C O C O C O V ^ C V O C M C O * V O ^ f C O i H C O C O C r t C r H r H C M r H r C M C M r H C M C r H C M C M r H r H r H C M r H r H r H C M r r H r H r

^ c M o s r ^ o ^ t ' r ^ r o v o c o r o r o f O C M r H r H C O r o o v o c M ^ i ' r o c o i n o o v o r o v o c n r ^ r H O c o r o c M C M c n o c o c o r o m o r o r o c M O C O m o f O « - r c M C M ^ r o c M r H r o c M v H H o r ^ ^ N v o r o ^ o i n r o H i ^ r s r t N c r i o \ o \ r H r ^ r o ^ r o v o c o r o r o r o r ^ O r H C A r or H r H r H C M r H r H r t - r H r H r C w r r H r H r C M r H r H r H r H C r C r r r r r r H r H C C r H r H r H

^ H H O ^ e n r H c n r H i n c c m c m r o < c m e n c o r i r r c n o r H i n ^ r c M C M C M O ^ r o ^ r m r o^ r H i n o ^ o o v o r r r o v e n v o r r r H r o ^ r r o c r o c o r o v c C M C M r H r H r H r H r r r r H r H r H r H r H r H C M r H r H C M C M C M C M r H r H C M r H C M r r r H r H r H r H r r H r H C M C M

< < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < , _ Q Q Q C Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q C D Q Q Q Q O Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q O Q Q Q Q Q 0 ^ r C M O C 0 V 0 ^ C M O 0 0 v o ^ > C M^ i n s o v o r ^ c ^

n i n i n j ^ i n t n i n t n i n i n i n v o v o v o v o v o v o v f i v o v o v o v o v o v o r ^ r ^ r ^ f ^ r ^ f

L n c o n N M O v v o n f o ^ r r o• N n n n n n o ^ r r * » v o r o o r o c M O o o H o v i n n i n h ' f n i n n o n i n H n o m r »H N H H N C M C i - ^ - ( N — « ( N r H C M • - C r H C M » H r H C M r H C M C M C M r H C r - i r - i C M r H C i - l i - H

*

n N v o v o i N r o o n O f o m r o H N O v o v f o n v o J p o r ot - C • - r H C M C M r H r r H r H r H r H C M r H C M r H r H C M r H r H C M r C M r H r H r - C M C M r H C M C C r H r H r 2 I I

c * 9 > C M i n r H r C O V O r C O C O

. H r r H C M ^ - « < N ^ H ^ H ^ ^ r H # - t ^ l r H C r r r r r r H C M r H r C M C M C M r H r H r H r r H r H C M r H r H C M ^

n r ^ v r t ^ c n v o ^ e o a j v o r o r o n n H O O ^ i n o r ^ o o N O H N ^ w o ^ v w ^ N v o n o c o n H N c o w e o i n o N c ^ N O N No n v H H h ^ o o O f s n n n H O C V f o ^ i n ^ c M o \ o \ * o i n ' C h n f o n ^ o r » o n O N ' » r o * n c s n r o C »C ^ - i C C M r H r H r H t - r H r H r - r C M r H r H r H C M r H r H C M C M C M r C M C M r H r H C M r H r H e

n v D r o ( M O q v o r o N H V D N O O n ( n n n u ) o n mr - 1 i - l i - H c H C M r H C M C M » - t ' r H r H r H r H C M r H r H C r C > r r H C M C M C M C M C M C r r C r r H C M r H C M I

i o < ^ o c o o O l n ( ^ l < ^ c s v o l n H C ^ l C ^ r ^ ^ ^ n H H n | a v o c o ^ n v ^ c o o ^ \ o o o c o0 H 0 V 0 O n V 0 n \ 0 i V O ^ C O i H C O V O C O C T \ © « « r r O V O ^ r H r H O O O © * T C O C M , H C M r O O f ' < > O O r " . © C M^ - I ^ H r M « - « f M r H C M < - l i - H ^ - 1 # - r H C M r H C r H C M C M i - I C M r C M r H r H r H r H C M C M i - l C M r H C M r H r C M r H r H C M r H C

^ * h C V D ^ N o u ^ n H O O ( ^ J v o ^ J o ^ J c ^ J < 9 0 C 3 H O ^ ^ o o o c o H l n H ^ J ^ ' ^ ^ H n r s H N H n c o ( ^ J ^ l ^ n H 0 ^ 1 l n ' T v o H O ^ n ^ - o n n i > » n H N O ( M n c o n ( S m v o o v o H ' 9 " o > n ' 3 1 ( n r ) N ' » ( < > H i n » n i f > i n H i n n v o o n o ^ l r ' n v o r s H O O v oO C r r r C r H C M r r H r H r H C M r H r H r H C M r H r C C r r H C M r H C r C M C M r H r H r H C M r H r Hr *

c c o n v o H N o o v o N * N H n o w i n t i v o n H O N H O O o r > o < n o o > t o « * ) O O O N O N n ® i n h ^ H N V H N c o o H hC M V D r * r » c o © r * » < > a r * * r O r H r H ^ r m v o c M ^ T ^ ' v o r H ^ T r o r M r M C M ^ c M r o o N N ^ o O f O v m r o H c ^ ^ ' w r o H i r O f • - r H r H r r C r H H N H c M r H r H C C M C M C M r r r H C M r H r H C M

6

Page 64: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 64/68

H v r o N N i n ^ o » \ o » N N » o » n f t H o > H O O^ s o c m ^ • p » i « f n o \ n w n n n v o ^ r o n n h « H H i n o o o « H H O O ( n o » r r - H • - H C M i H C M f s i , _ C • - » r - » i i - N H N H H f » - r H r H C C

C m o o n ® o N ^ o v o v ^ ( M n v v D c M C M v o r ^ v o t t o ^ c M o a o t t r o v o i n t O r H r ^ o r ^ t n c M C M v o r H C M O c M C O c o c M v o r ^ c D c o c oC M C M C r H r H r H , - | • - ! r - l C r - * r - C M r H C M r H t r - l i - l r C i C r • - « r - l r r - i C r r - r

c c o c o c c o o r o v d \ o c i n i n c » r H r H C C r H r H r H r - r H r H C r C r H r H C M C r C M r H r H r r C M r H r C r C t ~ r - i i

0 ^ O | ^ ^ i n V 0 O 0 \ i n » N W C 0 0 0 i n \ 0 V D C D e 0 H O f 0 V 0 O O N » N C 0 O V 0 i n V 0 » N Nr ^ r o v o r ^ H t n v D O H ^ ' H n n H H v o N O ^ H n N ^ ' r o ^ ' N ^ H m H ^ A m o t r i n t nc

r o r r r H r H i H v o v o r o v o c o r o o i C A r i ^ r o o i * ? V N ^ n v o H N O r o ^ r o i o n o t o Hr H C M C M r - r r H ^ \ r - r C M r H r H r H r H r - l r - l r H C M f H C M C M r H r - » H C M r H r H r - C M C M

N D < s o r ^ o o i r N ( s o o h ^ a N N v o c o c o r 4 r ( s c o t n H r o ^ N N c o u r w o f t o v o » t n m r o i H ^ r \ o c m r - r o v o H H n o n n c » H H n v \ o o v o H i n v n n n o H r - « r o < n « « rr - C r - C M r H C M C M r H r - r H r 4 r r H C M r H r » H C M r H C M r C r H C M C M r H r H C M 0

H n ^ o o H V H N n f o c o c h o v o ^ v D n N ^ H c o o N e o i n N O O o o ^ N r ^ O H O O r n N ^ o i n o c o n f t e o c o v o w c o o o a * i n c m r o r * o ^ n r o f o o ^ N v o v o H r ^ r ^ o ^ N o o o o o v D f ^ r i r t H r o r ^ c ^ r i o o o i n r ^ v o v o ^ r ^ v o o ^ h ^ hC M C M r - l r - 4 C r r - C M r H C M r H i - I C M C M C M r H C M r H C M r H r H r - l r H H C M C M C M r H r H r H C M r H C M r -

O , H O ^ O \ V O V O r C A C M C M O ^ V O i n r O O O r H ^o H m n N v o r o o \ o N v o m n v w H » n H O o ^ o \ o > v i - » M n o « * ) H f H H O ^ V h v n n ^ oC r - i r - 1 r r H C M C M r H i - C M C M r H r - r C M r H C M f i w \ C M t - i f - t - r H C M r H< < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <

o q q o q q o q q o q q q q q q q q q q q q q o q q C

0 ^ M O 0 0 o v < N » O O « ) V N O 0 & V 0 V N O 0 C V 0c \ O H N r ^ I n * l n ^ o v o ^ o c ^ o o H ^ l n ' V ' l T l n oc m c m c c c m c m c o r o r o r o r o r o r o r o r o r o p o r o ^ r * ^ a * ^ s * ^ ^ s * < ^ » ^ 9 * ^ * i n \ n i / v o i n i n i n i n i n i n i n i n v o v o i o v o v o v o v o v o v oC M C M C M C S C M C M C M C N C M C M C M C M C M C M C M C M C M C M C M C M C M r a C M C M C M C M C M r M C M r v i r ^ C M C M C M r ^ C M C M C M C ^

r ^ r ^ c o H t D o ^ H N- 4 r H r H C M r H r H C M r H r

v D T O v o o > v o v o r o r or C M r H r H r ~ C H H H N C

C

r - i r - 4 r - i r - i C r - r - H r H r - r - H C H C C M C M H H H C M C M H H C M H C M r H i - H C M r H C M

r H C M H , _ C C M C M C M C M r H C M C M C M H H t

C C M ( N • — r o r o r

r o r o v o r o r o r o r o v O T V O V O r o o i r r H r H ^ - ^ - i ^ - i ^ - 4 C M C M C M L IC C

o c c M C M i n H O o m o \ o c M i n c o c M i n c » o c o c M C T » " Q ' r o o o r ^ c M C M ' ( T i n o H v o o c » c M r * - r > - T ' ' r *r o v o c m c m v i r * c m r o v o ^ * * v t — o % c % " c i n ^ r ^ * # — • • — • r H r H v o o

r C M H H H C M r H H r l H H H H H C r H r H C M H C M H H C M H H H

C M r H C M C M r H C M C M f - H f - H f M C M i - H H C M r - 4 t - t r C M C M H C r H H C M C M r H r H r H C M< < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < << < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <Q Q Q Q Q Q Q Q O Q Q Q Q Q Q O Q Q Q O D Q Q Q Q Q Q Q O O Q O O Q Q Q O Q O O Q Q Q O Q Q Q Q O O Q Q

6

Page 65: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 65/68

, H O H C n© * * c o o m o c H H n ^ h n n n o m H o n w v C M C M C M C r H C M i H r H - i - C « - C M C M f H f f r C M C M C M r H r H C M C M C M r C C i H C M i - C

* * s v * f p i H r o N f o v o r ^ ^ n o r i ^ o v o H H n r o i n N f n o v D ^ O M M O C O t f j t o o v o ^ N P ^ w v o t ^ n v r 1 * i r - « C M C M C M « - r C , r r H r H C f C f i _ C f H r H C M r H f C M r H C M C M r H C r H C M i H i r H C M i

I

h N O O C O Q ^ H V O O N l f l O ^ ^ N N O i n ^ O N N H O C n C f t H ^ ^ e O i n i n N O V O f f t O i O O N O N N O V V O V r i H O l A V O O N V r r o < * v v r n v o c o r - f N . r o c m i n r o r * r ^ v o o ^ o v o v o c c o \ v o r m r » c o ^ © c o i n r * * *( H f H C M C M » - i H r - l r - 4 • — • • — • r H C M C M C M C M i H r H C C M C M f H r H C M r - C M r H C M t - C r - C M C M f e

r ^ ^ r m r * ^ * « r n v H r ^ v o \ d ^ l ( n v o < > i A ^ l ^ l o v D H H H H H N r o o ( n i « ) ( o t o o t n ( n ^ l o < o c o r ^ o o i n o c r r - » H r H C M r 4 i - » - i H C M r H C M C M C M C M C M r H C M C M C C f - C r - C M C M C M f - 4 f - 4 t H f H C M

r o r o v o r o r o o o o m H r o m r ^ r - i o ^ m c M f ^ f o r o c n m r o m o o o o M n o o ^ n r ^ v o c sN r - f f C N r - C i H C M f » H f H f H f H f H C M C M f H C M f C C f H C M S

c c * • o r o ^ * r - i r « F > m c M i n o ^ r o \ o i H r o « r m r O f H f H O r - i c n ^ ^ ^ v o i n c n ^ c M r n c o c o o ^ f n c o c o ^ r ^ f o c MC M f H C M r - t f H C M r - i H t H « H C C C M C M f f C M C M f H C M f H C M C M * H f H # H f H C M C M C M t H r H f H C M « r - C M C M C M h

o o r * o » ® < n f o o v o N n c o o M s o H v o ^ v o N o c n ' J l c h « i n c M H N v o o i n c f t O \ i n h o o v N H n h r o o H v o o i n ^ c M O O< r - r - i O H r o n » r o c * m m « r f c m c m f - r - i v u c o n ^ n h v \ o v o s v m h V D r t v o o c M i n ^ r o r o a » c cC C « H i H C M r - i H C M t H r - C M C M f H i C r - » f H C M C M t H f H f H f H r - f H # H f H C M C M C M r H C M C M f

H o o o r o H A ( n H O N H ( S o o o r i r o h i n H O A O t i n N N ( n H H h ( > i o r o r i n o v o N H o« r i r m v m i m r » c o ^ * * ^ ^ c ^ v f H C D m ^ J * r o \ ^ r h » m r - i s o m o r * o ^ v o

i » H r - l C N J ^ I f H f H f H C M r H C M C M C M f f H C M f H C M C M r C C C « C f f f f C r - < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <O Q Q Q Q O Q D Q O Q Q D O Q Q Q Q Q O Q Q Q Q Q D D Q D Q Q Q Q Q D Q O O Q a Q Q Q Q Q Q Q Q Q Q Q Q C O O O V t S O C O v o ^ Nc o o o H N N n ^ i n v

^ l a ^ o o o ^ v o ^ o o ^ v o N v o n v o ^ ^ < ^ ^ < ^ o ^ l v o N O N ^ ^ o ^ n o O l n l n n o o ^ ^ o ^ H ^ o f ^ v o v C D ^ J n c o c o v o ^ ^ ^ ^ v o ^O v o o \ c o c o v o f O H i n i n n ^ l « H V D i * ) H r i » h V O < ^ n o i f i r * ' n r o H Hf C r - i H i H f H i H C S C M C M C M f H C M f H r - O H H N H f

C f H i H i H C M f H i H f H i H C M C I

i

( C O r H C M i n r H V O C O C r H i n C O C U " f - V O C O ^ T f »C M r H r r H r H r H r H r H r H r H

^ O C M t n V O C M r H

C

r H C M r C M r H r H r

r H r H r H r C r H C S H H H

r o o o v o r H i n v o v o r r r r H r H C C M r H r H r

o o o c o o o o o o > D ^ c \ ^ o

6

Page 66: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 66/68

c i c o c o r o r i c c m a \ c m c m c m c o c m - a - w r o v o c M T T c o « o p * c o o * T c o p * © C M v o " < M v o © " © i n c o c M O M n v o e o r o o © v o o * c o T c o r i r H r H r H C C M C M C M r H r H C M C M r C r r H C M C r r C M r H C M r H r H r H r H r r r H C M C

c o c M v r o r * * c M c o o r o c o c M c o c o c o o c M r H C M r o o ^ T p " * r o v o r o v o i n r o i r o o > c o o \ o > c M T i n r o o v © T v v o c o ^ , _ c H C M r H r H C M r H r H r H r H C M C S r H r H r C C r r C M r H C M C M r H r H r

r C M C M r H C r r H r H C M r H r H r H r H r H C M r H r H C C r H r H C M r H C C C r r H r H r H r H r H C M C M r H r H L

T C O ^ T r H C O r O c O C C O f * r r f r H V O i P r O V O r H C M C M i n T C O r O O r O P C O T C O C A p - T C O O C O C M C O O V O C C C M r H C r H C M C M r H r H r - r H C M C M C M C M r H C M C M r H C M C M r H r H C r H r H r H C M r H

C M r H C r H r H C i r H r C r r r H r H C r r C r H C M C M r H C C M C M C M r H r H r H r H r H r H C r r H r H r H Z J

C M C M C M r » O \ T r H P * r H f o 6 S d S C V © C C M V O T C A T T T O C O C O C O P - O T V OC M r H r H C M r H C M r C C M r H r H C M C M r H r H r H i - l r H r H C M r C M C M r H C M C M C M r r C , r H r H C

H H H M ^ ^ b ^ o i o N ( n ' ^ ^ n ^ n N 6 v D N n N n ^ . O f a ^ D ^ ^ v o « l n n ^ ^ ^ l ' ^ r n o c o c o r *r r H C M C M C M C M C M C M r H r H r H r H r H r H r H C M C M r H C M C r r r H r H C M C r H C M C M r H r r » r H r r H C M r H r H r

C f © T C V C O O \ C O C M C C M r H O \ p * V O r H C O C O C O C M 9 I r C r H P * C O C M C O C O C O C O O C O C M C O C O C O C O C O C O. H r H C r H r H C M r H C M r H C M r r r H C M r C C C C C M r H r C C C C r r < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < / < < < < < <Q Q Q Q Q Q Q Q Q Q O Q Q Q Q C Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q O l

c o v o ^ r c m c c / v oC A C \ C 7 C T C C ^ / O N

C O C O * 7 ^ T * Q " ^ ^ * ^ ^ ^ 3 ^ " ^ * * Q * * Q * * Q * * ^ * * * 4 * 4 ^ * 9 ^ " * * ^ 0 * ^ * " * ^ ^ ^ " "

C M C M C S r H C M r H r H C M r H C M r H r H C M r H r H C M C M C M C M C r H C M r H C M r H r - I C M r H r H r - C r - C C i — t > — tC

r - r C M C M r H C r H C M r H C M r r C r H C M C M r H r H C r r H r H r H r H r H r H C M C M r H C M C M r H r H r H f H r - i r - \ r - lI I

T n v O r H ^ T T r H p » ' * * ' " * C O i n C n C M C M C O r o c O C y > < 0 * C M C M O r H C n r H C n r O C O C O f O © r H C O f O p ^ T O O r O C O O r o r O ' O 'C r - r - r H r H C M r H C M C M r H r H C M C r H C M i - H C M C M C M r H C M r C M r H C M r H r H C M C M r i H C M r *

C M r Hr H r H C M C M r H C M C M r H C M r H C M i H r H C M r H C M C M r H C M r H r H r H r H f — 1 » — I r H r H r H r H C M C M r H C M r H C M r r -

f M C O r H r o r H v o o r - c M c M r o r - v o m O r o f O c o ^ • r H C M C O - ^ r r s j v or H r H r H i - H r H r H r H r H C M C M r H C M C M r H r H r H C M r H r H C M r H C r H r H C M r Z £

r H C M C C M r H r H r H r H r H C M r H C M r H r - C M C M C r , - C M r H

I r H r H C M r H C M C M C M r H r H r H C M C M r H r H r H C M r - r H C M C M r H C M r H r H r H r H C M C M r H C M C M C r H C M r H

I C M C M r H r H r H C M r H C M C M C M r H C M r H r H C M r H r H r H r H r H C M r H C M C M r H r H C M C M r H r H r H r r H r H r H r - i w - i r ^ i< < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <Q Q C Q Q Q Q Q a Q D Q Q O Q O O Q O Q Q Q Q Q Q Q Q Q O Q O D O Q Q O O Q Q Q Q C i Q Q Q Q Q Q a Q Q Q

r « p f » - r > * r ^ . p ^ . r > » f » » C O C O C O C C C C C O C O C C O C O C O C

- 6

Page 67: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 67/68

C > C

v o ^ i n c M r H ^ c M C * o D C M v o c * r i n t c M © c n ov © c o v o c > * r v v r r v r v o v o c o c o c o v c v o c o c v

« - C M r H i - l r - l

f * ) t f tC C M C M C

C i i i - • - i H C M i - f

r - l i - I C M C M C M i H i H i - I C

C M r H r H r H r H r H

C r r H C M r H r H r H

c r n v o c o m i n o > i n c M i n r, _ | , - ( r - f C r - C

^ o o r n r o ^ or - C M r H r H r H r H r H C M C r

O Q Q Q Q Q Q Q Q Q Q P Q Q Q Q Q Q Q Q Q Q Q O Q O Q D O Q O D O Q D Q Q O Q Q C

c M r H C r oC M C M C M C M r H r H r < < < < < < < < < < < < < < < < < < <

o n ^ N c n n o w n n H < y r ^ r i n r o c m r c m v o i - o \ r H r H c m i n c m v o c m i n c m c m r o r o c m c m c m r r v r - r H ( S r H C M r H r H C M r H C r H r H r H r r H C M r - C r H ( N r H r - C S r H r H C M r r ( H N r H r H C M r H r

r H r H C M C C M C MN O ( n o H N o r 4 t o n n v o c i r o D O f O « > r O h r rr H C M C M C M r H r H C M C M r H r H r H r H C M C M r - i r - i r - i r - r - C r - C M r H r H

r H r H r H r H C M C M C M C M C M r H r H r - r H C M C M C M C

o ^ H H r ^ o r o o r r r m n c c M v o f O r Hr H r H C M C M C M C M C M C M C M C M O * r - c M r - i C M C M r H r H r H C M r H C M C Mo r n r O OC M C M C M C M r H T

( M i n o o r v o H H n nr r r H r H C M r - C M C M r H C M C r - C M r H C C r - C M r H r H C M r H r H C C M C M C r

H H H N i n N rt t ^ - c n o n i n v o w n n r - r ^ o \ a \ r - r o r o o r o rr H r H r H C M C M C M C M r - r - i r - i r - r - r H C M r H C M r C M C M r - C M C M C M C M C M C M < N r - C r - r H r H

f o v o n n f ) H r o n o v o » / ) \ o o < ) i n r i n o J o r H f o © i n i n v o• C M C M r r r r H C M C M C M r H C M r - r C M C M C M C M C M r H C M r - C C M C M C M C M r H C M C M C r r - C C < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <

- 6 7 -

Page 68: The Transactor V3 06

8/7/2019 The Transactor V3 06

http://slidepdf.com/reader/full/the-transactor-v3-06 68/68


Recommended