84
8/7/2019 The Transactor V4 03 http://slidepdf.com/reader/full/the-transactor-v4-03 1/84 T h T e c h / N e w s J o u r n a l F o C o m m o d o r e C o m p u t e r s V o l . 4 A p r i l 1 9 8 3 W E Q / C E . U B f l S I C L I N E L f l B E L L E R S C R E E N C E N T E R I N G I s s u e 0 $ 2 . 9 5 R f l i n i n C R f l R . E D J T Q R C f l T S T R f l P D L f l T Q R C f l T f l L Q G E X T f i f l P Q L f l T Q R R J - R E S S C R E E N D U M P E R M D I I J N G T R C E . U C R f l R f l C T E R S E B J T T E R F I E L D : M O R E N Q T E S / Q I E B I T S O S I S Q J N D

The Transactor V4 03

Embed Size (px)

Citation preview

Page 1: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 1/84

T h T e c h / N e w s J o u r n a l F o C o m m o d o r e C o m p u t e r s V o l . 4 A p r i l 1 9 8 3

W E Q / C E . UB f l S I C L I N EL f l B E L L E R

S C R E E NC E N T E R I N G

I s s u e 0 $ 2 . 9 5

R f l i n i nC R f l R . E D J T Q R

C f l T S T R f l P D L f l T Q RC f l T f l L Q G

E X T f i f l P Q L f l T Q R

R J - R E S S C R E E ND U M P E R

M D I I J N G T R C E . U

C R f l R f l C T E R S E

B J T T E R F I E L D : M O R E N Q T E S / Q I E B I T S O S I S Q J N D

Page 2: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 2/84

T S t e A v a i e

R T

1 0 6 1 0 B A Y V I E W ( B a y v i e w P l a z a )R I C H M O N D H I L L , O N T A R I O , C A N A D A L 4 3 N

( 4 1 6 ) 8 8 4 - 4 1 6 5

C 6 4 - L I N KT h S m a r t 6 R T

M a n y m o r e 6 4

1 1 I I 1 1 1 I I

. i . i .

1 1 1 1 I I f f l d

S p o o l i n gt

P r i n t e r

C a r t r i d g eE x p a n s i o n S l o t

S e r i a lA u d i o I /

S w i t c h R V i d e o P o r t C a s s e t t e P o r t

C 6 4 - L I N KI E E E

( 2 0 3 1 )( 8 0 5 0 )

D i s k s( 4 0 4 0 )( 8 2 5 0 )

( 9 0 9 0 )

V L 1 6I E E E P r i n t e r s

( 4 0 2 2 ) ( 8 0 2 3 )( 8 3 0 0 )

e t c .

1 5 4 1 D r i v eA n

1 5 2 5 P r i n t e ro 1 5 1 5 P r i n t e r

o V L C a b l et P a r a l l e l

P r i n t e r

( f u t u r e )C a r t r i d g e

M o t h e r B o a r d

l E E E t o P a r a l l e lI n t e r f a c eP a r a l l e lD e v i c e s

I E E E t S e r i a lI n t e r f a c eT r u e S e r i a l

D e v i c e s

o V L C a b l et S t a n d a r d

o d e m

C P / M

P O W E RA n

P A

O t h e rC a r t r i d g e s

G i v e T h e s e E x p a n d e dC a p a b i l i t i e s T Y o u r 6

T h a b i l i t y t o t r a n s f e r d a t a f r o m a n t y p e o d e v i c e t a n o t h e r ( I E E E , S e r i a l ,P a r a l l e l )

B A S I C 4 . w h i c h a l l o w s y o t r u m o r e P E B A S I C p r o g r a m s a n d g i v e s y o e x t e n d e d d i s k a n I / c o m m a n d s .

T h a b i l i t y t o h a v e s e v e r a l 6 4 o l i n e t o g e t h e r s h a r i n g c o m m o n I E E Ed e v i c e s s u c h a d i s k s o r p r i n t e r s w i t h S p o o l i n g C a p a b i l i t y .

B u i l t - i n m a c h i n e l a n g u a g e m o n i t o r

■ b u i l t - i n t e r m i n a l o m o d e m p r o g r a m w h i c h a l l o w s t h e s y s t e m t c o m m u n ic a t e t h r o u g h m o d e m t m a n y b u l l e t i n b o a r d s y s t e m s a n o t h e r c o m p u t e rm a i n f r a m e s .

C o m p a t i b i l i t y w i t h C P / M .

C o n t a c t y o u r l o c a l C o m m o d o r e d e a l e r o R T C .

C o p y r i g h t s a n T r a d e m a r k sC 6 i a c o p y r i g h t o 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 . C 6 4 - L I N K i c o p y r i g h t o R i c h v a l e T e l ec o m m u n i c a t i o n s . C P / M i r e g i s t e r e d t r a d e m a r k o D i g i t a l R e s e a r c h . P O W E R i a t r a d e m a r k o P r f e s s i o n a l S o f t w a r e . P A i c o p y r i g h t o B r a dT e m p l e t o n .

Page 3: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 3/84

T r a n s a c t o tE d i t o r i a lN e w s B R KB i t s a n P i e c e s 1 8C o m p u K i n k s 2 T r a n s b l o o p o r s 2 6T h W o r d P r o B o o k o T r i c k s 2 T h M A N A G E R C o l u m n 3 T P U G L i b r a r y F i l e n a m e s 3 S w e e t S i x t e e n 3 V I 2 S c r e e n C e n t e r i n g 3 C a t s t r a p o l a t o r 3 M a k i n g F r i e n d s W i t h S I D , P a r t 4 C o m m o d o r e 6 C h a r a c t e r S e t s 4 P r o g r a m m a b l e C h a r a c t e r E d i t o r . . . . 5 C o m m o d o r e 6 4 H i - R e s D u m p e r 5 B A S I C L i n e L a b e l i n g 5 C o m m o d o r e 6 4 T i n y - A i d 6 01 9 8 2 M a g a z i n e B i b l i o g r a p h y 6

A d v e r t i s i n g S e c t i o n 7 A d v e r t i s i n g I n d e x 8

T h T r a n s a c t o r A p r i l 1 9 8 3

Page 4: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 4/84

E d i t o rK a r l J H H i l d o n

A d v e r t i s i n g M a n a g e rK e l l y G e o r g e4 1 6 8 2 6 1 6 6 2C o n t r i b u t i n g W r i t e r sD a v e B e r e z o w s k iJ i B u t t e r f i e l dG o r d C a m p b e l lM i k e D o n e g a nD o n n a G r e e nP a u l H i g g i n b o t t o mD a v e H o o kE i k e K a i s e rP e t e r L e a rB i l l M a c L e a nJ o h n S t o v e k e nD o W h i t e

P r o d u c t i o nA t t i c T y p e s e t t i n g L t d .P r i n t i n gS q u i r e C a r t e r L t d .

A r t w o r k C o v e r A r J o h n M o s t a c c i

P r o g r a m L i s t i n g s I T h T r a n s a c t o rA l p r o g r a m s l i s t e d i T h T r a n s a c t o r w i l l a p p e a r a t h e y w o u l d o y o u r s c r e e n i U p p e r / L o w e r c a s em o d e . T c l a r i f y t w p o t e n t i a l c h a r a c t e r m i x - u p s , z e r o e s w i l l a p p e a r a ' 0 a n t h l e t t e r " o w i l l o c o u r s eb i l o w e r c a s e . S e c o n d l y , t h e l o w e r c a s e L ( T h a f l a t t o a o p p o s e d t t h n u m b e r w h i c h h a a a n g l e d t o p .M a n y p r o g r a m s w i l l c o n t a i n r e v e r s e v i d e o c h a r a c t e r s t h a t r e p r e s e n t c u r s o r m o v e m e n t s , c o l o u r s , o rf u n c t i o n k e y s . T h e s e w i l l a l s o b s h o w n e x a c t l y a s t h e y w o u l d a p p e a r o y o u r s c r e e n , b u t h e y ' r e l i s t e dh e r e f o r e f e r e n c e .O c c a s i o n a l l y p r o g r a m s w i l l c o n t a i n l i n e s t h a t s h o w c o n s e c u t i v e s p a c e s . O f t e n t h n u m b e r o s p a c e s y o i n s e r t w i l l n o b c r i t i c a l t c o r r e c t o p e r a t i o n o t h p r o g r a m . W h e n i i s t h e r e q u i r e d n u m b e r o s p a c e sw i l l b s h o w n . F o e x a m p l e :

p r i n t " f l u s h r i g h t " w o u l d b s h o w n a p r i n t " [ s p a c e l O J f l u s h r i g h t "

C u r s o r C h a r a c t e r s F o r P E C B V I 6 D o w nu R i g h t f L e f t [ L f t ]R V R V O f f - I

I n s e r tD e l e t e -C l e a r S c r n | ~ H o m eS T O P

C o l o u r C h a r a c t e r s F o V I 6 B l a c k -W h i t eR e C y a n - [ C y n ]P u r p l e [ P u r ]G r e e n f B l u e -Y e l l o w - [ Y e l ]

O r a n g eB r o w nL t R e G r e yG r e yL t G r e e nL t B l u e -G r e y [ G r 3 ]

F u n c t i o n K e y s F o V I 6 F l F 2 F 3 F 4

F 5 F 6 F 7 F 8

T h T r a n s a c t o r i p u b l i s h e d b i - m o n t h l y , t i m e s p e r y e a r , b C a n a d i a n M i c r o D i s t r i b u t o r s , L i m i t e d . I i i n w a c o n n e c t e d w i t h 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 L t d . o C o m m o d o r e I n c o r p o r a t e d . C o m m o d o r ea n C o m m o d o r e p r o d u c t n a m e s ( P E T , C B M , V I C , M A X , 6 4 ) a r e r e g i s t e r e d t r a d e m a r k s o C o m m o d o r e I n c .V o l u m e S u b s c r i p t i o n s : C a n a d a $ 1 C d

U . S . A . $ 1 U S A l l o t h e r $ 1 U S

S e c o n d C l a s s M a i lP e r m i t P e n d i n g

B a c k i s s u e s a r e s t i l l a v a i l a b l e f o V o l u m e s 1 , 2 , 3 B e s t o V o l u m e 1 $ 1 C d n . , U . S . A . $ 1 U S . , a l o t h e r$ 1 U S B e s t o V o l u m e 2 $ 1 C d n . , U . S . A $ 1 U S . , a l o t h e r $ 1 U S V o l u m e 3 $ 1 C d n . , U . S . A $ 1 U S . ,a l o t h e r $ 1 U S V o l u m e q u a n t i t y o r d e r s : s u b t r a c t 3 5 o o r d e r s o 1 o m o r e .S e n d a l s u b s c r i p t i o n s t o T h T r a n s a c t o r , S u b s c r i p t i o n s D e p a r t m e n t , 5 0 S t e e l e s A v e n u e , M i l t o n ,O n t a r i o , C a n a d a , L 9 3 P 7 , A 1 8 7 7 2 7 7 .W a n t t a d v e r t i s e a p r o d u c t o r s e r v i c e ? C a l l o r w r i t e f o m o r e i n f o r m a t i o n .E d i t o r i a l c o n t r i b u t i o n s a r a l w a y s w e l c o m e a n w i l l a p p e a r i t h i s s u e i m m e d i a t e l y f o l l o w i n g r e c e i p t .P r e f e r r e d m e d i a i 2 0 3 1 , 4 0 4 0 , 8 0 5 0 , o 8 2 5 0 d i s k e t t e s w i t h W o r d P r o , W o r d C r a f t , S u p e r s c r i p t , o r S E t e x tf i l e s . P r o g r a m l i s t i n g s o v e r 2 5 l i n e s s h o u l d b e p r o v i d e d o d i s k o t a p e . M a n u s c r i p t s s h o u l d b et y p e w r i t t e n , d o u b l e s p a c e d , w i t h s p e c i a l c h a r a c t e r s o r f o r m a t s c l e a r l y m a r k e d . P h o t o s o a u t h o r s o e q u i p m e n t , a n i l l u s t r a t i o n s w i l l b i n c l u d e d w i t h a r t i c l e s d e p e n d i n g o n q u a l i t y . D i s k e t t e s , t a p e s a n d / o rp h o t o s w i l l b r e t u r n e d o r e q u e s t .A l m a t e r i a l a c c e p t e d b e c o m e s t h e p r o p e r t y o T h T r a n s a c t o r , u n t i l i i p u b l i s h e d . O n c e r e l e a s e d ,A u t h o r s m a r e - s u b m i t a r t i c l e s t o o t h e r p u b l i c a t i o n s a t h e i r o w d i s c r e t i o n . O t h e r m a g a z i n e s , o a n n a t u r e , a r e i n v i t e d t c o p y m a t e r i a l f r o m T h T r a n s a c t o r , p r o v i d e d t h a t c r e d i t i g i v e n t t h A u t h o r ( w h e na p p l i c a b l e ) A N T h T r a n s a c t o r .T h o p i n i o n s e x p r e s s e d i c o n t r i b u t e d a r t i c l e s a r n o n e c e s s a r i l y t h o s e o T h T r a n s a c t o r . A l t h o u g ha c c u r a c y i m a j o r o b j e c t i v e , T h T r a n s a c t o r c a n n o t a s s u m e l i a b i l i t y f o e r r o r s i n a r t i c l e s o p r o g r a m s .

T h T r a n s a c t o r A p r i l 1 9 8 3

Page 5: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 5/84

M a k e E x t r a C A $ H f r o m T h T r a n s a c t o rA o t h i s i s s u e , T h T r a n s a c t o r w i l l p a f o a l m a t e r i a la c c e p t e d f o p u b l i c a t i o n . T s t a r t , t h r a t e s w i l l b $ 2 p e t y p e s e t p a g e u t m a x i m u m o $ 6 0 .

A T h T r a n s a c t o r g r o w s , s w i l l o u r r e m u n e r a t i o n , a n o c o u r s e t h m a x i m u m w i l l b l i f t e d . H o w e v e r , r e s e a r c h o a t t e n t i o n s p a n s h o w s t h a t d w e l l i n g o o n s u b j e c t t o l o n gc a a c t u a l l y b w o r s e t h a t n o l o n g e n o u g h . A l t h o u g h y o s h o u l d a t t e m p t t i n c l u d e e v e r y d e t a i l , s h o r t a r t i c l e t h a tg e t s r e a d i b e t t e r t h a n l o n g o n t h a t d o e s n ' t .

I g e n e r a l , a r t i c l e s s h o u l d s p a n n o m o r e t h a n a b o u tt y p e w r i t t e n p a g e s i n c l u d i n g p r o g r a m l i s t i n g s . W i t h s m u c hm a t e r i a l b e i n g r e l e a s e d , l o n g d r a w n - o u t p r o g r a m s r a r e l yg e e n t e r e d p o t e n t i a l e r r o r ( p u b l i s h e r o r d u r i n g e n t r y ) a n t h f a c t t h a t t h e y c a b o b t a i n e d f r o m m o s t u s e r c l u b s ,m a k e t h e m a l m o s t u n w o r t h y o p u b l i c a t i o n . Y o h a v e t a d m i t , p r i n t i n g a p r o g r a m 1 5 , 0 0 0 t i m e s i s o m e w h a t w a s t ef u i o n l y h a n d f u l o r e a d e r s b o t h e r w i t h i t N a t u r a l l y ,t h e r e w i l l b p r o g r a m s o g r e a t v a l u e t m a n y r e a d e r s t h a td e s e r v e e x t r a s p a c e , a n t h e y w i l l b c o n s i d e r e d . B u t , a sr u l e , t r y t k e e p p r o g r a m s t 1 8 l i n e s ( p a g e s ) o l e s s .

O t h e o t h e r h a n d w h a v e s h o r t a r t i c l e s a n d / o r p r o g r a m sw h i c h n e a r l y a l w a y s g e t r e a d . c a n ' t h e l p b u t r e a d o n p a r a g r a p h b l u r b r e g a r d l e s s o t h s u b j e c t . S u b r o u t i n e s , s h o r tu t i l i t i e s , a n e s p e c i a l l y " o n e - l i n e r s " a n n o v e l t y p r o g r a m so f t e n g e e n t e r e d m e r e l y b e c a u s e o t h t i m e i d o e s n ' t t a k e .F u r t h e r , e r r o r s a r e a s y t s p o t a n d i m p r o v e m e n t s a r e a s i l ys l i p p e d i w i t h o u t m u c k i n g u s o m e o t h e r p a r t o f t h p r o g r a m y o u m a n o i m m e d i a t e l y n o t i c e .

M a k e M L a u g h , A n y t i m e .

A r y o a a r t i s t ? O h o ' b o u t a s t a t e - o f - t h e - a r t c o m ed i a n ? O b o t h ? I y o u h a v e c a r t o o n d e a l i n g w i t h s o m ea s p e c t o c o m p u t i n g , T h T r a n s a c t o r w i l l p a y o f o t h e m !T h e y c a b s i n g l e f r a m e s w i t h c a p t i o n s , m u l t i - f r a m e w i t hd i a l o g u e , o f o a n y o n e i n t e r e s t e d , a c o n t i n u i n g s e r i e s l i k e" T h e A d v e n t u r e s o R o d n e y R a m b i t , a n H i F e a r l e s s C o p a n i o n , C h i p S i l i c o n " . W e ' l l l e a v e i u t y o u r i m a g i n a t i o n ,b u i i t ' s g o o d f o a l a u g h , i t ' s g o o d f o c a s h !

E a c h s i n g l e f r a m e w i t h c a p t i o n i w o r t h $ 1 0 . S e n d i t h r e e a o n c e a n d g e $ 4 0 . Q u a l i t y i i m p o r t a n t t h o u g h . I y o u rc a p t i o n i o n t h a t ' l l " b r i n g t h e h o u s e d o w n " b u y o u ra r t w o r k m a k e s i h a r d t a v o i d i n s u l t i n g y o u , w e ' l l s t i l l p a y o f o t h e m b u a h a l f t h e r e g u l a r r a t e . W e ' l l u s t h o t h e rh a l f t p a p r o f e s s i o n a l c a r t o o n i s t , a n b o t h y o u a n d t h a r t i s t w i l l b c r e d i t e d . W h e n T h T r a n s a c t o r g r o w s i n s i z e , s w i l l t h c a r t o o n s e c t i o n , h o p e f u l l y t a r o u n d o p a g e s f u l le a c h i s s u e . t h i n k y o u ' l l a g r e e , t h e r e ' s n o t h i n g b e t t e r t h a ng o o d h o w l b e f o r e g e t t i n g d o w n t b u s i n e s s !

W e ' r e s t i l l w o r k i n g o n a l t h d e t a i l s a n w r i t e r s p a c k a g ew i l l b a v a i l a b l e s o o n t h a t w i l l b s e n t t a l o u p r e v i o u sw r i t e r s a n a n y o n e e l s e o r e q u e s t . T h p a c k a g e w i l l i c l u d e c o n t r a c t , t e c h n i c a l s p e c s ( i e . f o c a r t o o n s i z e s ) , a n c o u p o n g o o d f o f r e e s u b s c r i p t i o n o r r e n e w a l . I y o u h a v es u b m i s s i o n r e a d y n o w , s e n d i i a n y w a y s a n w e ' l l u s t h b l o w e r t g e i t o u c h .

P e r p e t u a l i m p r o v e m e n t p l a n p h a s e t w n o e n g a g e d !

T h T r a n s a c t o r A p r i l 1 9 8 3

Page 6: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 6/84

N e w s B R

T h T r a n s a c t o r h u e s P r e s s R e l e a s e s .

R e f e r e n c e I s s u e P o s t p o n e d

I o u l a s t i s s u e ( J a n u a r y 1 9 8 3 ) w a n n o u n c e d t h a t t h i s i s s u ew o u l d b t h R e f e r e n c e I s s u e c o n t a i n i n g h a n d y c h a r t s a n t a b l e s a n o t h e r u s e f u l m a t e r i a l o t h k i n d t h a t g e t s f r q u e n t p e r u s a l . H o w e v e r , w h a d h o p e d t h a t C o m m o d o r e ' sn e t h i r d g e n e r a t i o n m a c h i n e s ( t h e a n d B / B X ) w o u l d b r e l e a s e d i t i m e f o u t i n c l u d e t h e i r m e m o r y m a p s , e t c .S u c h w a n o t t h e c a s e s o w e ' v e d e c i d e d t h o l d o f u n t i l t h i sc a n b e o b t a i n e d . T h e s e a n o t h e r n e C B m a c h i n e s a r j u s t a b o u t r e a d y f o m a r k e t s o t h e R e f e r e n c e I s s u e s h o u l d b a l o n g s o o n ( I s s u e 0 o 0 5 ) .

O n a r t i c l e p l a n n e d f o t h R e f e r e n c e I s s u e w a D o W h i t e ' s1 9 8 2 P E B i b l i o g r a p h y , l i s t i n g C o m m o d o r e r e l a t e d m a t e r i a li o t h e r m a g a z i n e s p u b l i s h e d i 1 9 8 2 . T r e l e a s e t h i s a n l a t e r w o u l d b s o m e w h a t u n t i m e l y s w e ' v e i n c l u d e d i h e r ei I s s u e 0 3

O T h L o c a l S c e n e . . .

N e C o m p u t e r O r i e n t e d B o o k S t o r eO p e n s i T o r o n t o

T h C o m p u t e r B o o k S u p p l y C e n t r e , T o r o n t o ' s f i r s t s p e c i a li z e d c o m p u t e r b o o k r e t a i l s t o r e , h e l d t h e i r G r a n d O p e n i n gM a r c h 3 0 T h e y c a r r y a w i d e r a n g e o t i t l e s , f r o m i n t r o d u c

t o r y t u t o r i a l s t a d v a n c e d p r o g r a m m i n g , a n t h e y i n v i t es p e c i a l o r d e r s f o o b s c u r e , h a r d - t o - f i n d p u b l i c a t i o n s . A r e a d y t h e y o f f e r m o r e t h a n 4 0 m a g a z i n e s p l u s o t h e r c o p u t e r s u p p l i e s i n c l u d i n g d i s k e t t e s , p r i n t e r p a p e r a n c o n t i n u o u s f o r m s / l a b e l s , p r i n t w h e e l s , r i b b o n s , a n m o r e .

T h C o m p u t e r B o o k S u p p l y C e n t r e2 5 E g l i n t o n A v e n u e W e s t( s o u t h s i d e , j u s t e a s t o A v e n u e R o a d )4 1 6 4 8 9 3 6 2 5O p e n M o n - S a t 1 a t p

F r 1 a t p

C o m p u t i n g N O W !

F r o m t h e p u b l i s h e r s E T ( E l e c t r o n i c s T o d a y I n t ' l ) c o m e sn e m a g a z i n e c a l l e d C o m p u t i n g N O W ! . T h e m a g a z i n ed e a l s w i t h a l b r a n d s o m i c r o s a n o t h e r f a c e t s o f t h m i c r oi n d u s t r y .

S u b s c r i p t i o n s a r e $ 1 8 . 9 5 w i t h t h e o p t i o n c a n c e l a a n t i m ew i t h r e f u n d o u n u s e d p o r t i o n . W r i t e t o

C o m p u t i n g N O W !2 O v e r l e a B l v d . U n i t 6T o r o n t o , O n t a r i oM 4 9 Z

T h T r a n s a c t o r A p r i l 1 9 8 3

Page 7: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 7/84

T V O v e r w h e l m i n g .

L a s t s e a s o n T V O n t a r i o c h a l l e n g e d O n t a r i a n s t f o r g o t r a d it i o n a l p a s s i v e v i e w i n g a n g e i n v o l v e d w i t h b o l d n e t e l e v i s i o n e x p e r i e n c e o n t h a t c o m b i n e d p r i n t a n e l e ct r o n i c m e d i a .

T h a t c h a l l e n g e w a m e h e a d o n

T e t h o u s a n d r e g i s t r a n t s ( a m a n y a T V c o u l d a c c o m m od a t e ) i t h T V A c a d e m y o C o m p u t e r s i E d u c a t i o n a r n o l e a r n i n g h o t o p e r a t e c o m p u t e r , u n d e r s t a n d h o i f u n c t i o n s , a n d e v e l o p s i m p l e c o m p u t e r p r o g r a m s i t h c o m f o r t o t h e i r o w h o m e s .

T o m e e t t h o v e r w h e l m i n g r e s p o n s e a n a c c o m m o d a t er e g i s t r a n t o v e r f l o w , T V w i l l r e p e a t t h i s s t e p - b y - s t e p o r i e nt a t i o n c o u r s e i m i c r o c o m p u t e r s M o n d a y a n T u e s d a yn i g h t s a 8 : 0 0 p E D f o r s i x w e e k s b e g i n n i n g M a 2 ( t h eo r i g i n a l c o u r s e w a 1 w e e k s l o n g o n W e d n e s d a y s )

T h T V A c a d e m y o C o m p u t e r s i E d u c a t i o n c o n s i s t s o B i t s a n B y t e s ( 1 2 - p a r t T s e r i e s s t a r r i n g B i l l y V a a n L u b a G o y ) , s t u d y g u i d e s , v a r i e t y o r e a d i n g s , m u l t i p l ec h o i c e q u e s t i o n a i r e s , p e r s o n a l i z e d c o r r e s p o n d e n c e , t o p i c a ln e w s l e t t e r s , a n c o n t r i b u t i o n s f r o m n e t w o r k o f l o c a le x p e r t s .

E a c h h a l f - h o u r b r o a d c a s t i B i t s a n B y t e s i f o l l o w e d b T h A c a d e m y w i t h J a c k L i v e s l e y : O C o m p u t e r s a 8 : 3 0 p m H o s t J a c k L i v e s l e y ' s r e s i d e n t g u e s t e x p e r t f o t h s e r i e s i n o n e o t h e r t h a n t h e v e r p r e s e n t a n w e l l - k n o w n w r i t e r ,p r o g r a m m e r , l e c t u r e r , s e l f - u n p r o c l a i m e d p h i l o s o p h e r , j e t -- s e t w o r l d t r a v e l l e r , a n T h T r a n s a c t o r c e n t e r f o l d o t h y e a r . J i B u t t e r f i e l d , S u p e r G u r u . [ j u s t h a t o e d i t t h a tp a r t ] ,

f e o $ 5 9 . 0 0 g i v e s a r e g i s t r a n t a h a n d s - o n m a n u a l - s t a n d - a l o n e a i f o p e o p l e w i t h a c c e s s t c e r t a i n t y p e s o P E T , A p p l e , o T R S - 8 0 m i c r o c o m p u t e r s a n s e v e r a l s a p l e s o c o m p u t e r p r o g r a m s t g u i d e t h e m t h r o u g h t h o p e r a t i o n a n u s o c o m p u t e r , ( w i t h o u t t h e m a n u a l ,$ 5 3 . 0 0 )

B o t h h o u r - l o n g M o n d a y a n T u e s d a y n i g h t p r e s e n t a t i o n sw i l l b r e p e a t e d t h e f o l l o w i n g S a t u r d a y b e g i n n i n g M a f r o m 2 : 3 0 t 4 : 3 0 .

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

h a t h p l e a s u r e o a t t e n d i n g t a p i n g w i t h J i a T V s t u d i o s i T o r o n t o . V e r y i m p r e s s e d . T h c o n t e n t i w e l lt h o u g h t o u a n t h s h o w g e t s t h f u l l t r e a t m e n t . T V

r e s e a r c h s t a f f a n o t h e r t e c h n i c a l c o n s u l t a n t s f o t h s h o wa r p r e s e n t d u r i n g t a p i n g f o a n l a s t m i n u t e d e t a i l s ; c o n t r o lr o o m t e c h n i c i a n s a r w e l l o r g a n i z e d a n p r e c i s e ; m a k e - u ps t a f f a r s t a n d i n g b j u s t o f c a m e r a ; a n t h c a m e r a c r e w i b a n g o n C o m b i n e d w i t h t h d e v o t e d s t a r s o f t h s h o w , f e l ta n a t m o s p h e r e o g e n u i n e c o n c e r n f o q u a l i t y .

O c o u r s e , t h e s h o w i n o i n t e n d e d f o v e t e r a n s o e v e n t h m o d e r a t e l y e x p e r i e n c e d u s e r . B u f o t h o s e j u s t g e t t i n g i n t om i c r o s a n p r o g r a m m i n g , i t ' s a e x c e l l e n t s t a r t .

O t h s e a T V O .

T h T r a n s a c t o r A p r i l 1 9 8 3

Page 8: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 8/84

E v e n t s E x h i b i t i o n s F i r s t A n n u a l C o m p u t e r F a i r

S e c o n d A n n u a l T P U G C o n f e r e n c e

T h T o r o n t o P E U s e r s G r o u p i h o l d i n g i t s e c o n d a n n u a lc l u b c o n f e r e n c e a t h G e o r g e B r o w n C a s a L o m a C a m p u s i T o r o n t o ( s a m e l o c a t i o n a s l a s t y e a r ) . S h o w d a t e s a r e M a 1 4 t h a n 1 5 t h , S a t u r d a y f r o m 1 a t 6 : 0 0 a n S u n d a yf r o m 1 t 4 : 3 0 .

A c t i v i t i e s i n c l u d e a d i s k c o p y i n g m a r a t h o n ( 1 5 0 0 + p r g r a m s ) w h e r e a t t e n d e e s c a l e a v e b l a n k d i s k s a v a r i o u sc o p y s t a t i o n s a n c o l l e c t t h e m a l a t e r t i m e . C o n c u r r e n ts e m i n a r s b y i n v i t e d s p e a k e r s s u c h a J i S t r a s m a , F r a n kC o v i t z a n C l i f f A s h c r a f t o m u s i c , W i l l i C u s c h e o K M P a s c a l , G r e g Y o b , L o m e W r i g h t ( M I C R O M a g a z i n e ) , a n J i B u t t e r f i e l d w i l l h o l d m a c h i n e l a n g u a g e w o r k s h o p . S e v e r a le x h i b i t o r s o h a r d w a r e , s o f t w a r e , a n a c c e s s o r i e s w i l l b p r e s e n t , a n a t r a d e r s c o r n e r f o u s e d e q u i p m e n t w i l l s u r e l ya t t r a c t s o m e a t t e n t i o n .

L a s t y e a r s c o n f e r e n c e w a i n d e e d a s u c c e s s , b u n o w , w i t hs o m e a c c r u e d e x p e r i e n c e , t h i s y e a r s ' e v e n t s h o u l d b e e v e nm o r e e n j o y a b l e . Y o u r e d i t o r w i l l b t h e r e , h o w e v e r , d o n ' tk n o w y e i f I ' l l b p a r t i c i p a t i n g o r j u s t a o b s e r v e r . F o m o r ei n f o r m a t i o n c o n t a c t :

C h r i s B e n n e t tT P U G C o r r e s p o n d i n g S e c r e t a r y ,3 8 L a w r e n c e A v e n u e W e s tT o r o n t o , O n t a r i oM 5 M 1 B 9 4 1 7 8 9 2 5 2

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

T h a b o v e n u m b e r a c t u a l l y b e l o n g s t T P U G ' s n e b u s in e s s o f f i c e . B a c k i t h w i n t e r o 7 8 T P U G h e l d i t s f i r s tm e e t i n g i t h b a s e m e n t p a r t y r o o m o t h c o n d o m i n i u m o f o u n d e r L y m a n D u g g a n 2 p e o p l e a t t e n d e d . N o w i t ho v e r 5 0 0 0 m e m b e r s w o r l d w i d e , T P U G h a f u l l - t i m e T O R -P E a n b u s i n e s s s t a f f , P d e p a r t m e n t , a n r e g u l a rb u s i n e s s m e e t i n g s w h e r e m e m b e r s a r i n v i t e d t a t t e n d . I s h o u l d n ' t b l o n g b e f o r e e x e c u t i v e e l e c t i o n s a r s c h e d u l e d ,b u t w i t h e v e r y o n e d o i n g s u c h f i n e j o b , c a n ' t i m a g i n ea n y o n e b e i n g r e p l a c e d .

T P U G i n o t h l a r g e s t c o m p u t e r c l u b i t h w o r l d - y e a r l ym e m b e r s h i p s a r $ 3 f o t h o s e a t t e n d i n g r e g u l a r m e e t i n g s ,$ 2 f o s t u d e n t s . A s s o c i a t e m e m b e r s h i p s a r a v a i l a b l e f o t h o s e n o a t t e n d i n g m e e t i n g s a $ 2 0 , o v e r s e a s $ 3 0 . G r e a tv a l u e f o m o n e y . W h e n s u b m i t t i n g a p p l i c a t i o n s , T P U G a s k st h a t y o i n c l u d e f i r s t A N l a s t n a m e , a n p o s t a l c o d ec l e a r l y i d e n t i f i e d , [ s a m e h e r e . E d . ]

T h C o m p u t e r F a i r , C a n a d a ' s f i r s t n a t i o n a l m i c r o c o m p u t e rs h o w , i b e i n g h e l d J u n e 2 3 r d t 2 6 t h 1 9 8 3 a t h e I n t e r n at i o n a l C e n t e r i T o r o n t o .

A l f a c e t s o f t h i s r a p i d l y d e v e l o p i n g i n d u s t r y w i l l b p r e s e n t :d e s i g n e r s , m a n u f a c t u r e r s , r e t a i l e r s , u s e r s , a n m o r e . H a r dw a r e , s o f t w a r e a n a p p l i c a t i o n s w i l l b f e a t u r e d i b o t h t h e x h i b i t a n s e m i n a r a r e a s .

I a d d i t i o n , f o t h f i r s t t i m e i a n c o m p u t e r s h o w , e d u c at i o n , t r a i n i n g a n c a r e e r o p p o r t u n i t i e s w i l l b a i n t e g r a lf e a t u r e .

" C o m p u t e r C a r e e r O p p o r t u n i t i e s " g i v e s y o t h e o p p o r t u n i t yt p r e s e n t y o u r i n s t i t u t e t t h e p u b l i c a n e n c o u r a g e t h e m t s p e a k t y o u r r e p r e s e n t a t i v e s f a c e t f a c e , d i s c u s s c u r r i c ul u m , a n o b t a i n l i t e r a t u r e a b o u t y o u r c o u r s e s .

A e x p e c t e d 5 0 , 0 0 0 v i s i t o r s b u s i n e s s p r o f e s s i o n a l s , d o t o r s , t e a c h e r s , s t u d e n t s , e n t r e p r e n e u r s , a n g e n e r a l l y i n t e re s t e d c o n s u m e r s w i l l a t t e n d t h e f o u r - d a y e v e n t t a b s o r bi n f o r m a t i o n , a n c a p t u r e t h e e x c i t e m e n t o f t h i s n e a n q u i c k l y e x p a n d i n g i n d u s t r y a n p o t e n t i a l j o b m a r k e t .

A s p a c e i l i m i t e d , w a d v i s e y o t r e s e r v e e a r l y . A l r e a d yt h e r e a r o v e r 1 0 e x h i b i t o r s r e g i s t e r e d , a l i t h m i c r of i e l d .

S h o w h o u r s a r e 1 0 a m t 1 0 : 3 0 p m T h u r s d a y t S a t u r d a y ,S u n d a y 1 1 t o 6 A d m i s s i o n i $ 5 s t u d e n t s a n s e n i o r s $ 3 F o m o r e i n f o r m a t i o n , c o n t a c t :

G a i l P a r kC o m p u t e r C a r e e r O p p o r t u n i t i e s2 2 8 2 Q u e e n S t r e e t E a s tT o r o n t o , O n t a r i oM 4 E 1 G 6 4 1 6 6 9 0 9 6 6 6

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

w o u l d n ' t m i s s t h i s s h o w f o a n y t h i n g ! I p r o m i s e s t b m o r e c o m p a c t t h a n C C a n n o w a d i n g t h r o u g h t o n s o m a i n f r a m e s , p h o t o c o p i e r s , a n o t h e r j u n k . T h i s i t h f i r s t o w h a t l o o k s l i k e t h m o s t p r o s p e c t i v e a n n u a l m i c r o s h o w i C a n a d a . F o r t h o s e o u t s i d e T o r o n t o , t h I n t e r n a t i o n a l C e n t e ri r i g h t n e a r t h a i r p o r t a n t h e r e ' s l o t s o f f r e e p a r k i n g a n n i g h t t i m e e n t e r t a i n m e n t . N e x t y e a r ' s f a i r i s l a t e d f o M a y .

T h T r a n s a c t o r A p r i l 1 9 8 3

Page 9: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 9/84

M i d n i t e X P r e s s C o n f e r e n c e S e F o J u n e

T h M i d n i t e X P r e s s ( f o r m e r l y M i d n i t e S o f t w a r e G a z e t t e / T h P A P E R ) i h o l d i n g w e e k l o n g C o m m o d o r e c o m p u t e rc o n f e r e n c e a L i n c o l n C o l l e g e . J i B u t t e r f i e l d , J i S t r a s m a ,y o u r s t r u l y , a n s e v e r a l o t h e r " f a m o u s " p e r s o n a l i t i e s w i l l b t h e r e t c o n d u c t v a r i o u s s e m i n a r s .

M i d n i t e w o u l d l i k e t o h e a r f r o m t h o s e p l a n n i n g t a t t e n dt h a t c a b r i n g e x t r a e q u i p m e n t . T h e y ' r e a l s o o f f e r i n gr e g i s t r a t i o n o p t i o n t h a t i n c l u d e s a 2 o 6 4 F o d e t a i l s :

M i d n i t e C o n f e r e n c e1 2 8 0 R i c h l a n d A v e n u eL i n c o l n , I 6 2 6 5 6 2 1 7 3 2 7 0 3

W a t e r l o o U n i v e r s i t y S e m i n a r / W o r k s h o p s

W A T S O F T P r o d u c t s I n c . h a b e e n o f f e r i n g v a r i e t y o s e m i n a r / w o r k s h o p s i n c l u d i n g h a r d w a r e d e s i g n , i n t e r f a c i n gt e c h n i q u e s , s t r u c t u r e d p r o g r a m m i n g a n d p r o g r a m d e s i g n ,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 g , a n s o f t w a r e p o r t a b i l i t y .E a c h w o r k s h o p i c o n s e c u t i v e d a y s o i n t e n s i v e s t u d yc o n d u c t e d b y W a t e r l o o P r o f e s s o r s a n d / o r r e s e a r c h s t a f f a o W ' C o m p u t e r S y s t e m s G r o u p . T h c o u r s e s w o u l d b o p a r t i c u l a r i n t e r e s t t C o m p u t e r S c i e n c e , M a t h , B u s i n e s s , a n T e c h n o l o g y t e a c h e r s , b u o t h e r p r o f e s s i o n a l s w o u l d m o s tc e r t a i n l y b e n e f i t .

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

G r e g G a r r i s o nS e m i n a r C o - o r d i n a t o rW A T S O F T P r o d u c t s I n c .1 5 U n i v e r s i t y A v e n u e W e s tW a t e r l o o , O n t a r i oN 2 L 3 E 9 5 1 9 8 8 6 3 7 0 0T e l e x 0 6 - 9 5 5 4 5 8

C o m p u t e r s i E d u c a t i o n ' 8

C ' 8 i t h t h i r d a n n u a l c o n f e r e n c e a n s u m m e r i n s t i t u t ef o e d u c a t o r s . D a t e s a r J u n e 2 0 t h t h r o u g h t J u l y 1 5 t h ,1 9 8 3 , a R u t g e r s S t a t e U n i v e r s i t y o N e J e r s e y .

T h i s y e a r ' s t h e m e i " N e c e s s a r y D i r e c t i o n f o C o m p u t e rE d u c a t i o n : N a v i g a t i o n a l A i d s f o t h 8 0 ' s " . T h f o c u s o t h c o n f e r e n c e c e n t e r s o m i c r o c o m p u t e r s a n o t h e r n e i n f o rm a t i o n t e c h n o l o g i e s a n t h e i r i m p a c t o e d u c a t i o n a e l

m e n t a r y , s e c o n d a r y , a n c o l l e g e l e v e l s .

A m o n g t h p a r t i c i p a n t s a r J i B u t t e r f i e l d , D a v i d H . A h l ,L u d w i g B r a u n , T r u d y V a B u s k i r k , D o W h i t e w o o d , W e G r a h a m , a n a b o u t 6 o t h e r s . B a s e d o p a s t c o n f e r e n c e s ,a t t e n d a n c e t h i s y e a r i e x p e c t e d a r o u n d 2 0 0 0 .

F o l i s t o f d e t a i l s w r i t e o c a l l :

D r M i t c h e l l E B a t o f fD i r e c t o r C ' 8 I n s t i t u t e f o P r o f e s s i o n a l D e v e l o p m e n t2 4 5 N a s s a u S t r e e t , S u i t eP r i n c e t o n , N e J e r s e y0 8 5 4 0 6 0 9 9 2 4 8 3 3 3

T E R C S u m m e r C o m p u t e r S e m i n a r s

T E R C ( T e c h n i c a l E d u c a t i o n R e s e a r c h C e n t e r s ) a n n o u n c e si t s e c o n d a n n u a l S u m m e r 1 9 8 3 W o r k s h o p S e r i e s , M i c r oc o m p u t e r s i E d u c a t i o n , t b h e l d a t h T E R C o f f i c e s i nC a m b r i d g e , M A T h e s e f o u r - d a y w o r k s h o p s w i l l p r o v i d ei n t e n s i v e t r a i n i n g i a v a r i e t y o t o p i c s f o t e a c h e r s a n a d m i n i s t r a t o r s a a l l e v e l s .

T h s c h e d u l e f o t h s u m m e r s e r i e s i s

J u n e 2 0 - 2 3 M i c r o c o m p u t e r s i t h S c i e n c e L a J u l y 5 - S o f t w a r e D e v e l o p m e n t W o r k s h o pJ u l y 1 1 - 2 2 S p e c i a l S u m m e r I n s t i t u t e ( s e e b e l o w )J u l y 2 5 - 2 8 L o g oA u g u s t 1 - S i m u l a t i o n sA u g u s t 8 - 1 1 P a s c a lA u g u s t 1 5 - 1 8 L o g o

T h S u m m e r I n s t i t u t e i M a t h , S c i e n c e , a n C o m p u t e rL i t e r a c y w i l l b h e l d a T r i n i t y C o l l e g e i t h G r e e n M o u nt a i n s o V e r m o n t . T h i s w o r k s h o p i o f f e r e d a s o n o t w w e e k s e s s i o n . T o p i c s i n c l u d e :

W e e k 1 J u l y 1 1 - 1 5M i c r o s i E l e m e n t a r y M a t h S c i e n c eL o g oB A S I CC o m p u t e r L i t e r a c y A w a r e n e s s

W e e k 2 J u l y 1 9 - 2 2M i c r o s i A l g e b r a G e o m e t r yM i c r o s i T r i g o n o m e t r y C a l c u l u sM a t h S c i e n c e S o f t w a r e T o o l sM i c r o s i N a t u r a l S c i e n c e sM i c r o s i t h e P h y s i c a l S c i e n c e s

T h e T r o n s o c t o r

Page 10: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 10/84

M o r n i n g a n d a f t e r n o o n s e s s i o n s o f f e r m a x i m u m p a r t i c i p a n ts c h e d u l e f l e x i b i l i t y . E n r o l l m e n t i l i m i t e d s e a r l y r e g i s t r at i o n i a d v i s e d . S p e c i a l o u t d o o r a c t i v i t i e s i n b e a u t i f u l V e m o n t a r e a v a i l a b l e f o s p o u s e s , c h i l d r e n , a n p a r t i c i p a n t s .F o m o r e :

T E R CE l i o t S t r e e tC a m b r i d g e , M 0 2 1 3 8 6 1 7 5 4 7 3 8 9 0

T h A f t e r m a r k e t

C o m p u S e r v e S u b s c r i p t i o n s

C o m p u S e r v e , o n e o N o r t h A m e r i c a ' s l e a d i n g l a r g e - s c a l et i m e s h a r e n e t w o r k s , i n o s e l l i n g a c c e s s t t h s e r v i c et h r o u g h c o m p u t e r r e t a i l e r s a n m a j o r r e t a i l c h a i n s .

C I ( C o m p u S e r v e m f o r m a t i o n . S e r v i c e ) c a n b e u s e d b a l p e r s o n a l c o m p u t e r s a n d m o s t c o m p u t e r t e r m i n a l s . T h s e r v i c e o f f e r s s h o p p i n g a n b a n k i n g a h o m e , e l e c t r o n i cm a i l , r e a l t i m e c o m m u n i c a t i o n s , c u r r e n t a n h i s t o r i c a l s t o c km a r k e t a n d c o m m o d i t i e s i n f o r m a t i o n , n e w s a n w e a t h e rr e p o r t s , g a m e s , b u l l e t i n b o a r d s , p r i v a t e u s e r g r o u p s , a n r e m o t e c o m p u t i n g c a p a b i l i t i e s . I e v e n h a a e n t i r e s e c t i o nd e v o t e d t C o m m o d o r e u s e r s , a c c e s s e d w i t h t h " C B M "c o m m a n d .

T h C I S t a r t e r K i c o m e s i t h r e e - r i n g b i n d e r , w i t h u s e rI n u m b e r a n p a s s w o r d f o r f i v e f r e e h o u r s o c o n n e c t t i m e .

C I U s e r G u i d e , a c c e s s i n s t r u c t i o n s , g l o s s a r y o c o m p u t e rt e r m s , a i n t r o d u c t o r y s u b s c r i p t i o n t T o d a y m a g a z i n e ,f r e q u e n t l y a s k e d q u e s t i o n s a n a n s w e r s a b o u t C I S , a n r a t ei n f o r m a t i o n a r a l s o i n c l u d e d w i t h t h k i t . S u g g e s t e d r e t a i lp r i c e i $ 3 9 . 9 5 . S e e y o u r C o m m o d o r e d e a l e r o r c o n t a c t :

C o m p u S e r v e I n c .5 0 0 0 A r l i n g t o n C e n t r e B l v d .C o l u m b u s , O 4 3 2 2 0 6 1 4 4 5 7 8 6 0 0

L C S l e e v e s F r o m P e r i p h l e xL C ( l i g h t C o n t r o l S y s t e m ) S l e e v e s a r u n i q u e n e p r o du c f r o m P e r i p h l e x I n c . T h e s e s l e e v e s a r e m a n u f a c t u r e df r o m b l a c k n y l o n m i c r o - m o n o f i l a m e n t f i b r e s w o v e n i a e x t r e m e l y r e g u l a r s q u a r e w e a v e p a t t e r n . T h r e s u l t i n g c o l -u m n a t i n g g r i d p r o v i d e s p e r f e c t l y s q u a r e a p e r t u r e s t h r o u g hw h i c h l i g h t p a s s e s . T h n y l o n f i b r e s a b s o r b a p p r o x i m a t e l y5 0 o t h l i g h t . T h r e s u l t i r e d u c e d g l a r e b r e f l e c t e d

l i g h t c r e a t i n g a a t m o s p h e r e w i t h g r e a t e r v i s u a l c o m f o r to v e r l o n g p e r i o d s .

T h s l e e v e s s l i p o v e r f l o r e s c e n t l i g h t t u b e s o a n s i z e . B f i t t i n g s o m e b u l b s w i t h t h e s l e e v e s a n l e a v i n g o t h e r su n c o v e r e d , v i r t u a l l y a n l i g h t i n g e n v i r o n m e n t c a n b ea c h i e v e d . F o r m o r e c o n t a c t :

P e r i p h l e x I n c .3 2 M i l n e r A v e n u e S u i t e 4 0 S c a r b o r o u g h , O n t a r i oM 1 B 2 V 7 4 1 2 9 3 8 0 0

W A T S O F T C A A u t h o r i n g P r o g r a m

A n o t h e r p r o d u c t o W A T S O F T I n c . i " P E T C A N " C A a u t h o r i n g p r o g r a m d e s i g n e d t r e m o v e t h p r o g r a m m i n ga s p e c t f r o m w r i t i n g C A l e s s o n s . P E T C A N p r o m p t s t h a u t h o r w i t h s e r i e s o c h o i c e s a n d , w i t h t h a n s w e r s t t h e s e c h o i c e s , d e t e r m i n e s t h s t r u c t u r e o t h l e s s o n . I i " u s e r - f r i e n d l y " p r o g r a m , d e s i g n e d s t h a t t h c o m p u t e rn o v i c e i n o o v e r w h e l m e d , a n d t h e x p e r i e n c e d a u t h o r i n o b o g g e d d o w n w i t h l e n g t h y e x p l a n a t i o n s a n p r o c ed u r e s .

O n o P E T C A N ' s m a i n f e a t u r e s i c o m p l e x a n s w e r c h e c ki n t h r o u g h w o r d c o m p a r i s o n s , w i t h u t e i g h t p o s s i b l ec o m p a r i s o n s f o e a c h q u e s t i o n p r e s e n t e d . U s e r a n s w e r s c a b c o m p a r e d a g a i n s t a n t i c i p a t e d c o r r e c t O i n c o r r e c t r s p o n s e s .

B r a n c h i n g i a n o t h e r f e a t u r e , a l l o w i n g f o f l e x i b l e i n d i v i d ua l i z e d l e s s o n s . B r a n c h i n g c a b e i n v o k e d b a s e d o p e r f o r ma n c e , n u m b e r o a t t e m p t s , a s p e c i f i c a n s w e r ( r i g h t o w r o n g ) ,a n u s e r c o n t r o l l e d b r a n c h i n g t a l l o w t h e u s e r f o r w a r d o b a c k w a r d m o v e m e n t t h r o u g h t h l e s s o n .

P E T C A N i a v a i l a b l e n o f o t h 4 0 3 2 a n 8 0 3 2 . I n d i v i d u a lc o p i e s a r e $ 8 5 . S c h o o l B o a r d s , e t c . , c a o b t a i n l i c e n s i n g f o 1 0 c o p i e s w i t h 1 0 m a n u a l s f o $ 4 8 5 . F o i n f o r m a t i o n :

S a r a h W r i g h tU n i v e r s i t y o W a t e r l o oL a n g u a g e L a b o r a t o r y D e p a r t m e n tW a t e r l o o , O n t a r i oN 2 L 3 G 1 5 1 9 8 8 5 1 2 1 1 e x 2 7 3 5

T h T r a n s a c t o r

Page 11: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 11/84

B u l l e t i n B o a r d S y s t e m V e r s i o n 2 . 0 3

A p r i l 8 m a r k e d t h s e c o n d b i r t h d a y o T h P S I - W o r d P r oB u l l e t i n o u o M i s s i s s a u g a O n t a r i o . W a n t t s e u l o c a lB u l l e t i n B o a r d S y s t e m ? O m a y b e y o a l r e a d y h a v e . E i t h e rw a y , S t e v e P u n t e r ' s l a t e s t v e r s i o n o h i B B s o f t w a r e i n o a v a i l a b l e .

N e f e a t u r e s i n c l u d e r e v i s e d 4 p a g e m a n u a l , e x p a n d e du s e r f i l e r e c o r d s a n f a c i l i t i e s t e d i t a n d e l e t e u s e r r e c o r d s ,c o m p r e s s t r e m o v e i n a c t i v e u s e r s , s y s t e m f i l e e d i t i n g f a c i l it i e s , m e s s a g e f o r w a r d i n g , f o r w a r d a n b a c k w a r d m e s s a g er e a d i n g , s u m m a r y a n o v e r v i e w f r o m a n m e s s a g e , l i s tm e s s a g e f r o m a n u s e r , t i m e f u n c t i o n , a n p r i v a t e m e s s a g e sa r n o s t r i c t l y p r i v a t e .

A w e l l , n e v e r s i o n s o b o t h t h I E E E a n d R S 2 3 2 v e r s i o n so S t e v e ' s t e r m i n a l p r o g r a m s a r i n c l u d e d o t h d i s k . T h e s ea r a l s o a v a i l a b l e o t h T P U G C o m m u n i c a t i o n D i s k # f o a n u s e r t h a t w i s h e s c o p y . A n A S C I I t e r m i n a l p r o g r a mc a b e u s e d t c o n n e c t w i t h t h B B S . L i k e w i s e , S t e v e ' ss o f t w a r e c a n b e u s e d t a c c e s s a n r e m o t e A S C I I i n s t a l l at i o n , b u o n l y t h i s p r o g r a m c a n b e u s e d t U p / D o w n l o a dp r o g r a m s f r o m t h B B S . D o c u m e n t a t i o n f o t h t e r m i n a ls o f t w a r e i c o n t a i n e d w i t h i n t h B B m a n u a l , a n d e a l e r sa r i n v i t e d t c o p y t h i s s e c t i o n f o t h e i r c u s t o m e r s .

T h e B B S p a c k a g e i $ 2 0 0 . U p d a t e s o t h B B s o f t w a r e a r n l o n g e r b e i n g h a n d l e d b y C o m m o d o r e . A n y o n e w i s h i n gc o p y o v e r s i o n 2 . 0 3 ( o l a t e r r e l e a s e s a s t h e y b e c o m ea v a i l a b l e ) s h o u l d f i r s t f i n d t h e i r p r o o f o p u r c h a s e a n s e r i a ln u m b e r , a n c o n t a c t :

S t e v e P u n t e r1 3 4 3 T y n b u r n C r e s .M i s s i s s a u g a , O n t a r i oL 4 1 P

L a O f f i c e A c c o u n t i n g S o f t w a r e

B P M i c r o s y s t e m s i c o n s u l t a t i o n w i t h t h L a S o c i e t y o U p p e r C a n a d a h a v e d e v e l o p e d l a o f f i c e a c c o u n t i n gp a c k a g e t h a t c o n t a i n s t r u s t a c c o u n t i n g s y s t e m , g e n e r a la c c o u n t i n g s y s t e m , w o r k i p r o g r e s s s y s t e m , b i l l i n g , p a r o l l , a c c o u n t s r e c e i v a b l e / p a y a b l e , t i m e d o c k e t i n g , a n w i l lh a n d l e 3 0 0 0 c l i e n t s w i t h o v e r 5 0 0 0 p o s t i n g e n t r i e s p e m o n t h .

T h p a c k a g e f e a t u r e s e a s e - o f - u s e , m i n i m a l o p e r a t o r t r a i ni n g , o w n e r a n o p e r a t o r m a n u a l s w i t h s t e p - b y - s t e p a n s e t - u p i n s t r u c t i o n s , a n d p a s s w o r d p r o t e c t i o n t p r e v e n tu n a u t h o r i z e d r e c o r d s a c c e s s . T h o p e r a t o r i o n l y r e q u i r e d

f o d a t a e n t r y a n t h c o m p u t e r w i l l a u t o m a t i c a l l y p e r f o r mm a n y o t h a c c o u n t i n g a n r e p o r t i n g f u n c t i o n s w i t h o u ts u p e r v i s i o n . F o m o r e i n f o , c o n t a c t :

D o u g M a r k sB P M i c r o s y s t e m s L t d .7 0 P r o g r e s s D r i v e U n i t 1 7S c a r b o r o u g h , O n t a r i o4 1 4 3 3 2 0 0

J o C o s t i n g S y s t e m

T h J o C o s t i n g S y s t e m i d e s i g n e d t a i i m a n a g i n g t h c o s t o f m a t e r i a l s a n l a b o u r , a n c o n t r o l l i n g c o s t s a t h e yc h a n g e . F e a t u r e s i n c l u d e ( b a s e d o n 8 0 5 0 d i s k d r i v e ) :

t r a c k i n g a n t y p e o j o u n l i m i t e d n u m b e r o j o b s ( u s i n g m u l t i p l e d i s k s )u t 1 0 w o r k c a t e g o r i e s p e d i s kb u d g e t t a c t u a l r e p o r tp a i d t a c c r u e d r e p o r tn u m e r i c o a l p h a n u m e r i c i t e m l i s t i n ge x t e n s i v e e r r o r c h e c k i n gm i n i m a l d a t a e n t r yc o n t r o l t o t a l s a n t r a n s a c t i o n l i s t i n gu t 1 j o b s p e d i s k w i t h 5 0 0 b u d g e t e d i t e m s p e j o

A v a i l a b l e f r o m a l C o m m o d o r e d e a l e r s , o r c o n t a c t D o u gM a r k s a B P ( s e e p r e v i o u s i t e m ) .

O n t a r i o M e d i c a l P a c k a g e

A e f f i c i e n t , p o w e r f u l m e d i c a l p a c k a g e t h a t c a n h a n d l ev i r t u a l l y a n O n t a r i o p r a c t i c e w i t h p h y s i c i a n s i o o u o O H I P .

T h s y s t e m c a n a c c o m m o d a t e o v e r 4 0 0 0 p a t i e n t r e c o r d sa n m a i n t a i n a l p e r t i n e n t p a t i e n t d a t a i n c l u d i n g O H I Pn u m b e r , s t a t u s , a n b a l a n c e . T h p r o g r a m s u p p o r t s o v e r1 0 c o d e s f o t h r e e f e s c h e d u l e s ( O H I P , W C B , a n O M A ) ,h a n d l e s b a s i c a n t i m e u n i t s f o a s s i s t i n g a n a n a e s t h e s i a ,a n h a n d l e s p r e m i u m c h a r g e s . O H I P b i l l i n g i c o m p l e t e l ya u t o m a t e d , p r i n t s J a n J l i s t s , e x c e p t i o n r e p o r t s , a n a l t i e s d i r e c t l y i n t o t h a c c o u n t i n g s y s t e m t p r o v i d e d a i l ys u m m a r i e s , m o n t h l y P & s t a t e m e n t s , a m o n g o t h e r t h i n g s .

O t h e r f e a t u r e s i n c l u d e p r i n t i n g d a i l y d o c t o r a n a s s i s t a n ts c h e d u l e s , k e e p i n g m e d i c a l p r o f i l e s o p a t i e n t s w i t h a l l e rg i e s , c o n t i n u i n g m e d i c a t i o n , a n o t h e r m e d i c a l p r o b l e m s ,a n a l s o d e t a i l s u p c o m i n g a p p o i n t m e n t s a n r e c a l l s , a n o u t l i n e s h o m u c h n o t i c e p a t i e n t s n e e d i a a p p o i n t m e n tm u s t b c h a n g e d . C o n t a c t B P I f o m o r e i n f o .

T h T r a n s a c t o r A p r i l 1 9 8 3

Page 12: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 12/84

P A F o T h C o m m o d o r e 6 M a i l P r o

P A ( P e r s o n a l A s s e m b l y L a n g u a g e ) f o t h C 6 4 , a s w e l l a sC B 8 0 0 0 a n d 4 0 0 0 s e r i e s , i B r a d T e m p l e t o n ' sf u l l - f e a t u r e d 6 5 0 2 a s s e m b l e r . U s i n g o n l y 4 o m e m o r y ,P A s o u r c e p r o g r a m s a r c o n v e n i e n t l y e n t e r e d j u s t l i k eB A S I C u s i n g t h s t a n d a r d B A S I C e d i t o r a n h e l p e r p r o d u c t sl i k e P O W E R c a b u s e d . P A w o r k s e n t i r e l y i m e m o r ya s s e m b l i n g p r o g r a m s t 1 b y t e s o m a c h i n e c o d e i u n d e r1 0 s e c o n d s . I a d d i t i o n t M O s t a n d a r d a s s e m b l e r s y n t a x ,f r e e f o r m a t i n p u t , a n f u l l y f o r m a t t e d l i s t i n g s , P A h a s p e c i a l f e a t u r e s f o s y m b o l r e a s s i g n m e n t , s o u r c e f i l e c h a i ni n f o l a r g e p r o g r a m s , c o n d i t i o n a l a s s e m b l y , s a v i n g a n l o a d i n g s y m b o l t a b l e s f r o m d i s k a n u s e r c u s t o m i z a t i o n o o p e r a t i o n s , c o d e o u t p u t , l i s t i n g s a n e x p r e s s i o n t e r m s .

P A a l s o f e a t u r e s a r e c u r s i v e e x p r e s s i o n e v a l u l a t o r w i t he i g h t d i f f e r e n t o p e r a t o r s a n n i n e d i f f e r e n t o p e r a n d f o r m a t si n c l u d i n g d e c i m a l , h e x , a n c h a r a c t e r . P A p r o d u c e d p r g r a m s c a n b e a u t o m a t i c a l l y r e l o c a t e d a n y w h e r e i m e m o r y .

P A i t s e l f i s r e l o c a t a b l e a n v e r s i o n s f o t h 8 0 0 0 a n d 4 0 0 0s e r i e s c a e a s i l y b b u r n e d i n t o E P R O M S f o p e r m a n e n ti n s t a l l a t i o n . S e v e r a l s u p p o r t p r o g r a m s a r i n c l u d e t h a t a l l o ws o u r c e f i l e s i o t h e r f o r m a t s t b c o n v e r t e d t P A f o r m a t ,a n a u n - a s s e m b l e r t h a t c o n v e r t s m a c h i n e c o d e f i l e s b a c kt P A s o u r c e c o d e . P A L c o m e s o d i s k e t t e c o m p l e t e w i t hd o c u m e n t a t i o n . P r i c e : $ 9 9 . 9 5 ( d o c u m e n t a t i o n i e x c e l l e n t ,l i k e P A g r e a t b u E d . ) F o m o r e , c o n t a c t :

P r o - L i n e S o f t w a r e L t d .7 5 T h e Q u e e n s w a y E a s t , U n i t 8M i s s i s s a u g a , O n t a r i oL 4 4 C 4 1 2 7 6 3 5 0

S p e l l P r o : W o r d P r o S p e l l i n g C h e c k e r

T h S p e l l P r o s p e l l i n g c h e c k e r v e r i f i e s t h s p e l l i n g o l e t t e r sa n d d o c u m e n t s a m a c h i n e l a n g u a g e s p e e d s . D e s i g n e d b yJ i B u t t e r f i e l d f o u s w i t h C o m m o d o r e 8 0 0 0 s e r i e s c o p u t e r s w i t h W o r d P r o ( C 6 4 v e r s i o n d u s o o n ) , S p e l l P r o ' sd i c t i o n a r y i e a s i l y u p d a t e a b l e t o v e r 8 0 , 0 0 0 w o r d s o a 8 0 5 0 d i s k e t t e . c u s t o m d i c t i o n a r y w i t h l e g a l , m e d i c a l , o ro t h e r s p e c i a l i z e d v o c a b u l a r y i c r e a t e d b a d d i n g w o r d sf r o m e x i s t i n g W o r d P r o w i t h t h t o u c h o k e y .

M e n u - d r i v e n a n u s e r f r i e n d l y , S p e l l P r o c a b l e a r n e d i l e s s t h a n 3 m i n u t e s . B r a p i d l y e l i m i n a t i n g m i s s p e l l i n g s ,S p e l l P r o g r e a t l y r e d u c e s c l e r i c a l t i m e s p e n t o c o r r e c t i o n s ,( n o t o n l y t h a t , b u s p e l l i n g c h e c k e r s a l l o w f o c a r e f r e ek e y b o a r d i n g E d . ) I n f o r m a t i o n ? C o n t a c t P r o - L i n e a b o v e .

M a i l P r o , a l s o k n o w n a W o r d P r o M a i l L i s t , i S t e v e P u n t e r ' se x c i t i n g n e m u l t i - f e a t u r e d d a t a - b a s e l i k e p r o g r a m f o C o m m o d o r e 8 0 0 0 s e r i e s c o m p u t e r s .

M a i l P r o i u s e r f r i e n d l y a n i d e a l f o s t o r i n g a n p r i n t i n gm a i l i n g l a b e l s , c l u b l i s t s , p e r s o n n e l r e c o r d s , h o b b y l i s t s ,p r o d u c t d e s c r i p t i o n s , p r i c e l i s t s , a n s o o n . F i l e s a r e a s i l yu s e r d e f i n e d a n u p d a t e d . I f a c t , W o r d P r o f i l e s c a n b e u s e dt a u t o m a t i c a l l y u p d a t e M a i l P r o f i l e s , a n M a i l P r o f i l e s c a b u s e d w i t h W o r d P r o t c u s t o m i z e r e p o r t s a n l e t t e r s .

P r i n t e d o u t p u t i c o m p l e t e l y u s e r d e f i n e a b l e a n d u p t 1 o u t p u t f o r m a t s c a n b e s t o r e d f o r l a t e r u s e . S i n c e r e c o r d s a r m a i n t a i n e d i s o r t e d c o n d i t i o n , p r i n t i n g i a n s e q u e n c ei r a p i d w i t h n s o r t i n g d e l a y s .

O a 8 0 5 0 d i s k , M a i l P r o c a s t o r e u t 2 0 4 0 r e c o r d s p e rf i l e w i t h i n d i v i d u a l r e c o r d s c o n t a i n i n g u t 2 f i e l d s . O n c ea g a i n , c a l l P r o - L i n e f o r i n f o .

C 6 4 - L i n k R e l o c a t o r

T h C 6 4 - L i n k f o r m R i c h v a l e T e l e c o m m u n i c a t i o n s c o m e sw i t h a r e l o c a t o r p r o g r a m f o m o v i n g t h L i n k s o f t w a r e ( i e .t h I E E E r o u t i n e s , B A S I C 4 . c o m m a n d s , e t c . ) i n t o h i g h e rR A s t h a t t h c a r t r i d g e a r e a R A c a b r e c l a i m e d . F o c e r t a i n p r o g r a m s ( e g . W o r d P r o 6 4 ) , t h r e l o c a t o r m u s t b u s e d t m o v e t h L i n k s o f t w a r e o u t o t h w a y .

I w a d i s c o v e r e d , h o w e v e r , t h a t e v e n a f t e r u s i n g t h e r e l o c at o r , W o r d P r o 6 w a s t i l l i n o p e r a t i v e . n e v e r s i o n o t h r e l o c a t o r i n o a v a i l a b l e t h a t e l i m i n a t e s t h i s p r o b l e m . T g e c o p y , s e n d $ 1 f o d i s k o $ f o t a p e , o p h o n eR i c h v a l e w i t h y o u r V i s a / M a s t e r C a r d n u m b e r ( s e e i n s i d ef r o n t c o v e r ) .

C 6 S c r a t c h p a d , B a s i c A i d , T e r m s o f t

S c r a t c h P a d , t h R T f r e e - f o r m a t d a t a b a s e l i k e p r o g r a m ,w i l l b a v a i l a b l e f o t h C o m m o d o r e 6 t h i s s u m m e r . M o r ed e t a i l s i l a t e r i s s u e . P r i c e d u n d e r $ 1 0 0 .

R i c h v a l e i a l s o r e l e a s i n g T e r m i n a l p a c k a g e f o a r o u n d $ 5 a n f u l l f l e d g e d B a s i c A i a $ 4 0 .

T h T r a n s a c t o r 1 A p r i l 1 9 8 3

Page 13: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 13/84

C 6 M a n a g e m e n t A c c o u n t i n g S o f t w a r e T h C o m m a n d e r

i n f o D e s i g n s h a m o d i f i e d t h e i r 8 0 0 0 s e r i e s a c c o u n t i n g p a c ka g f o u s o t h C o m m o d o r e 6 4 G e n e r a l L e d g e r , A R A P p a y r o l l , a n i n v e n t o r y m o d u l e s a r a l p r i c e d a $ 1 9 9 U e a c h .

I n f o D e s i g n s6 9 0 5 T e l e g r a p h R o a dB i r m i n g h a m , M I4 8 0 1 0 3 1 3 5 4 0 4 0 1 0

C 6 F a r m A c c o u n t i n g P a c k a g e

C y b e r i a I n c . n o o f f e r s t h e i r C y b e r - F a r m e r p a c k a g e o t h C o m m o d o r e 6 4 C y b e r - F a r m e r h a b e e n i u s b m a n yf a r m e r s i t h m i d w e s t f o o v e r y e a r s . R e t a i l p r i c e i $ 1 9 5 ,a v a i l a b l e f r o m C o m m o d o r e d e a l e r s o r d i r e c t l y f r o m :

C y b e r i a I n c .2 3 3 0 L i n c o l n W a A m e s , I o w a5 0 0 1 0 5 1 5 2 9 2 7 6 3 4

C 6 P r o g r a m s f r o m C o m p u t e r m a t

C o m p u t e r M a t a n n o u n c e s t h r e e n e p r o g r a m p a k s f o t h C o m m o d o r e 6 4

T h A r c a d e P a i n c l u d e s A l i e n I n v a s i o n w i t h 2 p l a y l e v e l sf o 1 - p l a y e r s . H e a d - O n p i t s y o a g a i n s t t h e c o m p u t e r c a i m a z e r a c e a g a i n s t t i m e . P r o t e c t c i t i e s f r o m d e s t r u c t i o ni T a r g e t C o m m a n d . C a s s e t t e $ 2 4 . 9 5 , d i s k $ 2 9 . 9 5 .

T h G a m e P a i n c l u d e s D r a g o n C h a s e , m a z e e s c a p eg a m e , F l i p - I t , t h c o m p u t e r v e r s i o n o 2 0 y e a r o l s t r a t e g y g a m e [ . . c o u l d t h i s b " G O " f o t h 6 4 ? - E d . ] , a n D e f l e c t . C a s s e t t e $ 1 5 . 9 5

T h e E d u - P a k c o n t a i n s p r o g r a m s . R u l e r p u t s y o i c o n t r o lo c o u n t r y f o a l o n g a y o l a s t . M i c r o l e t s a s p i r i n g y o u n ge n t r e p r e n e u r s t r t h e i r h a n d a r u n n i n g c o m p u t e r m a n uf a c t u r i n g p l a n t . D u n g e o n o M a t h a c o s i m a t h p r o b l e m st r e a s u r e h u n t g a m e , a n G e o g r a p h y l e t s y o u m a t c h c i t i e sa r o u n d t h U a n t h w o r l d . C a s s e t t e $ 2 4 . 9 5 . F o m o r ec o n t a c t :

T h C o m m a n d e r i 4 R O f o u s e w i t h C o m m o d o r e2 0 0 0 , 4 0 0 0 , a n d 8 0 0 0 s e r i e s m i c r o c o m p u t e r s w i t h B A S I C4 . 0 . I c o n t a i n s a b o u t 2 0 c o m m a n d s f o e n h a n c i n g B A S I Ca n p r o g r a m d e v e l o p m e n t . A l c o m m a n d s c a b e u s e d i p r o g r a m s o d i r e c t m o d e .

S e v e r a l c o m m a n d s a l l o w f o d y n a m i c m o d i f i c a t i o n o B A S I Ct e x t w i t h o u t d e s t r o y i n g v a r i a b l e t a b l e s . T h e s e a r I n s e r t , f o ri n s e r t i n g s u b r o u t i n e s i n t o t e x t , A p p e n d , f o a p p e n d i n g c o d e ,a n D e l e t e , f o r e m o v i n g l i n e s . E a c h c a s p e c i f y a l i n en u m b e r f o l l o w i n g t h c o m m a n d t c o n t i n u e e x e c u t i o n d u i n p r o g r a m r u n s .

P r i n t U s i n g a n d I m a g e a r h a n d y p r i n t e r f o r m a t c o m m a n d s .T h C o m m a n d e r a l s o h a a e n h a n c e d k e y b o a r d G E T , a na r r a y r e - d i m e n s i o n i n g c o m m a n d , s t r i n g i n p u t u t 2 5 c h a r a c t e r s , a r r a y ( o m a t r i x ) i n p u t , o u t p u t a n m a n i p u l a t i n gu t i l i t i e s , a n m o r e .

T h C o m m a n d e r c o m e s c o m p l e t e w i t h R O M , m a n u a l , a n d e m o d i s k f o $ 7 0 . 0 0 . W h e n o r d e r i n g p l e a s e s p e c i f y w h i c hs o c k e t ( $ A 0 0 0 o $ 9 0 0 0 ) t h R O w i l l l i v e a t a n y o u r d i s ku n i t t y p e ( i e , 4 0 4 0 , 8 0 5 0 , e t c ) . F o d e t a i l s c a l l :

C o m m a n d e r S y s t e m s I n c .4 5 0 5 J a c k s o n S t r e e tH o l l y w o o d , F 3 3 0 2 1 3 0 9 6 5 1 8 3

C o m m o d o r e 6 C O M A LI 1 9 8 1 C O M A L ( C O M n o n A l g o r i t h m i c L a n g u a g e ) w a c r e a t e d i D e n m a r k b y B o r g e C h r i s t e n s e n f o e d u c a t i o n a lp u r p o s e s . S i n c e t h e n t h l a n g u a g e h a b e c o m e p o p u l a rw o r l d w i d e . C O M A L c o m b i n e s t h s i m p l i c i t y o B A S I C w i t ht h p o w e r f u l s t r u c t u r e s o P A S C A L . F e a t u r e s i n c l u d e :

i f - t h e n - e l s e - e n d i fw h i l e - e n d w h i l er e p e a t - u n t i lc a s e - w h e n - o t h e r w i s e - e n d c a s ef o r - e n d f o r ( n e x t )l o o p - e n d l o o pi m p r o v e d s t r i n g h a n d l i n g a n f i l e a c c e s s

C o m p u t e r M a tP O B o x l 6 6 4 - P RL a k e H a v a s u , A 8 6 4 0 3 6 0 2 8 5 5 3 3 5 7

C O M A L c h e c k s t h s y n t a x o y o u r p r o g r a m l i n e s a t h e y a r e n t e r e d a n d , i s e v e r a l c a s e s , i m u c h f a s t e r t h a n B A S I C .T h e r e ' s e v e n C O M A L U s e r G r o u p a n d n e w s l e t t e r . F o m o r e i n f o r m a t i o n , c o n t a c t e i t h e r :

T h T r a n s a c t o r 1 A p r i l 1 9 8 3

Page 14: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 14/84

C O M A L I n t e r e s t G r o u p5 0 C o n k l i n P l a c eM a d i s o n , W I 5 3 7 0 3

T h C O M A L C a t a l y s t ( n e w s l e t t e r )1 0 C o n v e n t i o n C e n t e r D r S u i t e 9 0 L a s V e g a s , N V 8 9 1 0 9

S e v e r a l v e r s i o n s o C O M A L e x i s t . C B 8 0 9 6 C O M A L a n v e r s i o n f o t h M a d i s o n Z - R A M b o a r d c a n b o b t a i n e d f r o mC 1 ( a b o v e ) . I n s t r u t e k , c o m p a n y i D e n m a r k , d i s t r i b u t e sC O M A L b o a r d t h a t f i t s y o u r 8 0 3 2 . O p o w e r - u p t h m c h i n e i r e c o n f i g u r e d t " C O M A L m a c h i n e " ( w i t h B A S I Ca v a i l a b l e o c o m m a n d ) . T h b o a r d a l s o c o m b i n e s h i - r e sg r a p h i c s w i t h t w f u l l v i r t u a l s c r e e n s .

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

A l a s t r e p o r t C O M A L 6 i u a n r u n n i n g a n s h o u l d b ea v a i l a b l e o d i s k a n c a r t r i d g e b t h i s s u m m e r , b u n w o r do e x a c t d a t e s o r p r i c e . R u m o u r h a i t h a t C o m m o d o r e m a i n c l u d e i o u t i l i t y d i s k w i t h e a c h C 6 4 / 1 5 4 1 s i n c e C O M A Li p u b l i c d o m a i n s o f t w a r e . r e c e i v e d c o p y o t h n e C O M A L H a n d b o o k ( $ 1 8 . 9 5 U f r o m C 1 G ) w h i c h l o o k s v e r yw e l l d o n e , ( b t h w a y , C O M A L c a n b e o b t a i n e d o d i s kf r o m C I f o $ 1 U h a n d l i n g f e e , o s e n d $ 2 9 . 9 5 a n g e t h e d i s k a n t h h a n d b o o k ) I m o p i n i o n , C O M A L i t h f i r s t s t r u c t u r e d l a n g u a g e o n s h o u l d l e a r n , a n t h f i r s th i g h - l e v e l l a n g u a g e y o u n g s t u d e n t s s h o u l d b e i n s t r u c t e d i n M o s t u n i v e r s i t i e s f r o w n o t h u s o G O T O s a n o t h e rs i m p l i s t i c , n o n - s t r u c t u r e d f o r m a t s . O n c e s o m e o n e l e a r n s al a n g u a g e l i k e B A S I C , i t ' s e a s y t g e s t u c k i r u t t h a t ' sp o t e n t i a l l y u n - e s c a p a b l e . W e ' l l b d i s c u s s i n g t h e h i s t o r y ,c o n c e p t , a n d i r e c t i o n o C O M A L i a u p c o m i n g i s s u e .W a t c h f o i t

f l o p p y a r e l o a d e d i n t o t h e x p a n s i o n u n i t a n s u b s e q u e n tf i l e r e t r i e v a l o c c u r s a l i g h t n i n g s p e e d s d i r e c t l y f r o m R A M .

N d e t a i l s o p r i c e , b u w a i t ' t i l l a l e a s t J u n e b e f o r e s w a m pi n t h e m w i t h c a l l s .

P o w e r - L i n e P r o t e c t i o n

S e v e r e A P o w e r - L i n e s p i k e s , s u r g e s , a n h a s h a r p r e v al e n t i m a n y m i c r o c o m p u t e r i n s t a l l a t i o n s . P r o g r a m e x e c ut i o n i p l a g u e d w i t h u n e x p l a i n e d c r a s h e s , m e m o r y l o s s , o o t h e r g l i t c h e s . D i s k s , p r i n t e r s , a n p r o c e s s o r o f t e n i n t e r a c t ,a g g r a v a t i n g t h p r o b l e m .

E l e c t r o n i c S p e c i a l i s t s r e c e n t l y a n n o u n c e d M o d e l 1 S O - 1 1 i d e s i g n e d t p r o t e c t s o f t w a r e f r o m t h e s e s e v e r e e l e c t r i c a lp r o b l e m s . C o m p l e m e n t i n g t h p o p u l a r S u p e r - I s o l a t o r l i n e ,t h M o d e l I S O — 1 1 f e a t u r e s t w i n d i v i d u a l l y d u a l - P i f i l t e r e dA s o c k e t b a n k s ( s o c k e t s t o t a l ) . H e a v y - d u t y s p i k e / s u r g es u p p r e s s i o n i i n c o r p o r a t e d i t h e d e s i g n . E q u i p m e n t i n t e ra c t i o n s a r e l i m i n a t e d , d i s r u p t i v e o d a m a g i n g s p i k e s a n h a s h a r c o n t r o l l e d , a n d p r o g r a m s o p e r a t e w i t h o u t i n t e r f e re n c e . P r i c e i $ 1 1 5 . 9 5 :

E l e c t r o n i c S p e c i a l i s t s1 7 S o u t h M a i n S t r e e tP B o 3 8 N a t i c k , M 0 1 7 6 0 6 1 6 5 1 5 3 2

C 6 4 T o R S 2 3 2 I n t e r f a c e C a b l e

C o n n e c t i c u t m i c r o c o m p u t e r I n c . i n t r o d u c e s t h e A D 6 4 1 0 ,a i n t e r f a c e c a b l e f o t h C o m m o d o r e 6 t R S 2 3 2 .

H a r d w a r e N e w s

M e m o r y E x p a n s i o n F o r T h e C 6 4

N m i s t a k e . R i c h v a l e T e l e c o m m u n i c a t i o n s i d e v e l o p i n gm e m o r y e x p a n s i o n b o a r d f o t h C o m m o d o r e 6 f o r e l e a s es o m e t i m e a r o u n d J u l y 8 3 T h b o a r d c a n b e f i t t e d w i t hv a r i o u s a m o u n t s o m e m o r y a n a o p t i o n a l 6 8 0 0 0 c p u .

W i t h t h m a x i m u m m e m o r y c o n f i g u r a t i o n 5 1 2 K o n c a w r i t e B A S I C p r o g r a m s t h a t f i l l a l 5 1 2 K ! s p e c i a l B A S I C i s u p p l i e d t h a t s w a p s o u t t h e r e s i d e n t B A S I C i t h 6 4 B A S I C4 . c o m m a n d s a r i n c l u d e d w i t h t r u e B A S I C 4 . g a r b a g ec o l l e c t i o n !

A n o t h e r a p p l i c a t i o n i t h R A D i s k . T h e n t i r e c o n t e n t s o

T h c a b l e p l u g s i n t o t h R S 2 3 2 P o r t ( i e . U s e r P o r t ) a n p r o v i d e s v o l t a g e c o n v e r s i o n t d r i v e s t a n d a r d R S 2 3 2p r i n t e r s , t e r m i n a l s , a n m a i n f r a m e s .

T h T r a n s a c t o r 1 2 A p r i l 1 9 8 3

Page 15: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 15/84

T h u n i t i c o m p l e t e w i t h s i f e e t o c a b l e , a n a l e l e c t r o n i c sa r c o m p l e t e l y e n c l o s e d . P o w e r i r e c e i v e d f r o m t h c o p u t e r . T h e r e i n s p e c i a l s o f t w a r e n e e d e d s e c o n d a r ya d d r e s s # d o e s t h r e s t .

C o n n e c t i c u t m i c r o c o m p u t e r3 D e M a D r i v eB r o o k f i e l d , C 0 6 8 0 4 2 0 3 7 7 5 4 5 9 5

B a c k P a c k B a t t e r y B a c k u p

B a c k P a c k , a b a t t e r y b a c k u p s y s t e m f o P E T / C B M s a n f l o p p y d i s k d r i v e s , w i l l p r e v e n t l o s s o d a t a i t h e v e n t o p o w e r f a i l u r e . B a c k P a c k s u p p l i e s m i n i m u m o 1 m i n u t e sr e s e r v e p o w e r t 3 2 o m e m o r y , t h v i d e o s c r e e n , a n t a p ed r i v e . T h u n i t i e a s i l y i n s t a l l e d r i g h t i n s i d e t h c a b i n e t .R e c h a r g i n g o c c u r s d u r i n g n o r m a l e q u i p m e n t o p e r a t i o n a n h a a i n t e g r a l o n / o f f s w i t c h .

F r o m c o m p l e t e d i s c h a r g e , B a c k P a c k t a k e s 1 6 h o u r s t r e a c hf u l l c h a r g e , a n h a l i f e e x p e c t a n c y o t h r e e t f i v e y e a r s .M o d e l s a r e a v a i l a b l e f o a l d u a l d r i v e d i s k s , 4 0 0 0 / 8 0 0 0s e r i e s c o m p u t e r s , a n t h C 2 c a s s e t t e d e c k . F o f u r t h e ri n f o :

J e f f B u t l e rE l e c t r o n i c T e c h n o l o g y C o r p .P B o O l d N C 4 2A p e x , N C a r o l i n a2 7 5 0 2 9 1 9 3 6 4 2 0 0

V I 2 0 / C 6 4 S t r i n g y F l o p p y

E x a t r o n h a a n n o u n c e d t h E S F - 2 0 / 6 4 S t r i n g F l o p p y d r i v ef o u s w i t h t h V I 2 o C o m m o d o r e 6 4 T h u n i t h a s e r i a l b u a n c o n n e c t s t t h c o m p u t e r j u s t a s 1 5 4 1 d i s kd r i v e w o u l d . T h d i f f e r e n c e o c o u r s e i t h e s t o r a g e m e d i a ;m i n i a t u r e t a p e c a r t r i d g e c o n t a i n i n g a e n d l e s s l o o p o m a n e t i c t a p e .

F e a t u r e s i n c l u d e r e l i a b i l i t y , s p e e d , c o m p a c t s i z e a n c o p a t i b i l i t y w i t h s o f t w a r e ( i e . B A S I C t e x t A N B A S I C R O M s ) .T h d r i v e o p e r a t e s a i n c h e s o t a p e p e s e c o n d a n h a c a p a c i t y o u t 6 4 p e t a p e c a r t r i d g e . P r e v i o u s l y s t o r e dd a t a i e a s i l y t r a n s f e r a b l e t t h e c a r t r i d g e s u s i n g s i m p l eB A S I C c o m m a n d s .

R e t a i l p r i c e i a b o u t $ 1 9 9 . A d d i t i o n a l t a p e s a r a b o u t $ e a c h . F o m o r e :

E x a t r o n1 8 C o m m e r c i a l S t r e e t

S u n n y v a l e , C 9 4 0 8 6 4 0 7 3 7 1 1 1o u t s i d e C 8 0 0 5 3 8 8 5 5 9

I E E E - 4 8 8 D a t a A q u i s i t i o n M o d u l e

C o n n e c t i c u t m i c r o c o m p u t e r a n n o u n c e s n e 6 c h a n n e ld i g i t a l l i n e i n p u t m o d u l e f o u s w i t h I E E E - 4 8 8 b u c o m p a ti b l e e q u i p m e n t . I i t h f i r s t p r o d u c t i t h B U S S t e r s e r i e s o fI / m o d u l e s .T h B U S S t e r A 6 D i g i t a l I n p u t M o d u l e a c c e p t s c o m m a n d sf r o m a n h o s t c o m p u t e r t h r o u g h i t I E E E p o r t , r e a d s a n s t o r e d a t a f r o m u t 6 d i g i t a l T T l e v e l l i n e s a n t h e ns e n d s t h i s i n f o r m a t i o n b a c k t t h c o m p u t e r . B U S S t e rm o d u l e e c o n o m i c a l l y i n c r e a s e s t h e i n t e r f a c i n g c a p a b i l i t yw h i l e r e d u c i n g i t w o r k l o a d .

T h A 6 i e a s i l y p r o g r a m m e d t h r o u g h B A S I C c o m m a n d sf r o m t h c o n t r o l l i n g c o m p u t e r . T h b u i l t - i n t i m e r a n b u f f e ra l l o w d a t a s a m p l i n g a n c o l l e c t i o n t o c c u r w h i l e t h e h o s t i o c c u p i e d w i t h o t h e r t a s k s .

T h B U S S t e r A 6 s e l l s f o $ 4 9 5 . 0 0 i n c l u d i n g c a s e a n p o w e rs u p p l y . F u r t h e r i n f o a v a i l a b l e f r o m :

J o a n n e A k i nC o n n e c t i c u t m i c r o c o m p u t e r3 D e M a D r i v eB r o o k f i e l d , C 0 6 8 0 4 2 0 3 7 7 4 5 9 5

T h T r a n s a c t o r 1 A p r i l 1 9 8 3

Page 16: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 16/84

C o m m o d o r e N e w s F r e e P r o g r a m P a c k w i t h 1 5 4 1 D i s k D r i v e s

V I 2 V o t e d C o m p u t e r o t h Y e a r

V a n c o u v e r A i n t e r n a t i o n a l c o m p e t i t i o n r u b y s e v e np e r s o n a l c o m p u t e r m a g s h a r e c e n t l y v o t e d t h V I 2 " H o m e C o m p u t e r o t h e Y e a r " . J u d g i n g w a h e l d i L o n d o n ,E n g l a n d .

C o m p e t i t i o n s p o n s o r s w e r e D a t a b u s ( H o l l a n d ) , M i c r o s y st e m s ( F r a n c e ) , B i ( I t a l y ) , P r a c t i c a l C o m p u t i n g ( E n g l a n d ) ,C h i p ( S p a i n ) , P e r s o n a l C o m p u t i n g ( U S A ) , a n C H I P ( G e rm a n y ) . S e c o n d a n d t h i r d p l a c e w e n t t t h S i n c l a i r Z X 8 1 a n dS p e c t r u m . R u n n e r s u p w e r e t h A t a r i 4 0 a n t h T R C o l o u r .

C o m m o d o r e a n Z i l o g A n n o u n c e A g r e e m e n t

I r v i n g G o u l d , C h a i r m a n o t h B o a r d o C o m m o d o r e I n t e rn a t i o n a l a n n o u n c e d F e b r u a r y 2 n t h a t C B h a s i g n e dd e f i n i t i v e a g r e e m e n t w i t h Z i l o g I n c . , a a f f i l i a t e o t h E x x o nC o r p o r a t i o n .

" T h e a g r e e m e n t r e f e r s t a e x c h a n g e o t e c h n o l o g y b t w e e n C o m m o d o r e a n Z i l o g , w i t h C o m m o d o r e l i c e n s e d t m a n u f a c t u r e Z i l o g ' s Z 8 0 0 0 1 6 - b i t m i c r o p r o c e s s o r a n r l a t e d f a m i l y o p e r i p h e r a l s u p p o r t c i r c u i t s f o u s i C o m m od o r e m i c r o c o m p u t e r s y s t e m s , w h i l e C o m m o d o r e w i l ls u p p l y Z i l o g w i t h m a s k s e t s a n m a n u f a c t u r i n g r i g h t s t os e l e c t e d c u s t o m c i r c u i t s u s e d i c u r r e n t a n f u t u r e C o m m od o r e m i c r o c o m p u t e r s y s t e m s " s a i d G o u l d .

" C o m m o d o r e ' s f i n a n c i a l b u s i n e s s c o m m i t m e n t t Z i l o g i s i g n i f i c a n t a n i n v o l v e s s i m i l a r c o m m i t m e n t b Z i l o g t h a tc o u l d u t i l i z e a s u b s t a n t i a l p o r t i o n o Z i l o g ' s p r o d u c t i o nf a c i l i t i e s d e v o t e d t t h m a n u f a c t u r e o l a r g e s c a l e i n t e g r a t e dc i r c u i t s f o e x c l u s i v e u s i C o m m o d o r e m i c r o c o m p u t e rs y s t e m s " , h s a i d .

T h i s a g r e e m e n t i i n t e n d e d t g i v e C B s u b s t a n t i a li n c r e a s e i s e m i c o n d u c t o r m a n u f a c t u r i n g c a p a c i t y t o w a r dm e e t i n g i t l a r g e s c a l e i n t e g r a t e d c i r c u i t n e e d s , w h i l e r e d u ci n g t h e t i m e a n i n v e s t m e n t r e q u i r e d i C o m m o d o r e w e r e t e x p a n d i t o w s e m i c o n d u c t o r m a n u f a c t u r i n g c a p a c i t y ." N o t w i t h s t a n d i n g t h i s , " G o u l d a d d e d , " o u r o w s e m i c o nd u c t o r f a c i l i t i e s ' c a p a c i t y i i t h p r o c e s s o b e i n g i n c r e a s e d1 0 0 % a p a r t o p r o g r a m t b e c o m p l e t e d o v e r t h n e x tt w e l v e m o n t h s . "

1 5 4 1 D i s k D r i v e p u r c h a s e r s w i l l n o r e c e i v e C o m m o d o r e6 p r o g r a m p a c k a n c h a r g e . Y o g e m a n u a l w i t h s h o r td e s c r i p t i o n s o o v e r 3 p u b l i c d o m a i n p r o g r a m s i n c l u d i n gs o m e g a m e s , s o u n d / g r a p h i c s d e m o s , a n d u t i l i t i e s .

C 6 P r o g r a m m e r s R e f e r e n c e G u i d e

T h C o m m o d o r e 6 P . R . G . i n o a v a i l a b l e f r o m C o m m od o r e d e a l e r s . I y o p l a n t d a n y t h i n g s e r i o u s a n h a v e n ' ta l r e a d y g o o n e , G E O N E ! A b o u t 5 0 p a g e s a n g r e a t v a l u ef o m o n e y .

C o n v e r t P E P r o g r a m s t C 6 P r o g r a m s

" C o n v e r t i n g P E P r o g r a m s f o t h C o m m o d o r e 6 4 i m a n u a l d e t a i l i n g p o t e n t i a l s o f t w a r e i n c o m p a t i b i l i t y p r o bl e m s b e t w e e n t h t w m a c h i n e s . M o s t p r o g r a m s a r e p o r t ab l f r o m t h P E t t h 6 4 b u o t h e r s w i l l r e q u i r e m a j o rs u r g e r y . T h i s o c o u r s e r e f e r s t P E E K , P O K E a n W A I Ts t a t e m e n t s , a n S Y U S R c o m m a n d s w h i c h i n v a r i a b l yi n d i c a t e t h p r e s e n c e o m a c h i n e c o d e . T o p i c s c o v e r e di n c l u d e U p p e r / L o w e r c a s e a n g r a p h i c s d i s p l a y s , o u t p u t t t h e s c r e e n , c l e a r i n g t h e k e y b o a r d b u f f e r , d i s a b l i n g R U N /S T O P , a n d m a m o r e . S e y o u r d e a l e r f o r t h i s a n t h 6 P R G .

N e C o m m o d o r e C o l o u r M o n i t o rC o m m o d o r e 1 7 0 1 C o l o u r M o n i t o r s s h o u l d b a v a i l a b l e f r o md e a l e r s n o a $ 5 3 9 . 9 5 C d n . T h u n i t h a 1 4 s c r e e n ,d i f f e r e n t p i c t u r e c o n t r o l s , a n o f f e r s o u t s t a n d i n g r e s o l u t i o n ,s u p e r b c o l o u r c l a r i t y , a n b u i l t - i n s p e a k e r . I a l s o h a s e p a r a t e l u m i n a n c e a n d c h r o m a i n p u t s w h i c h m a k e i p e r f e c t c o m p a n i o n f o t h 6 4 ( h a c h a n c e t s e o n a C o m m o d o r e a n e v e n t h r e d s a n y e l l o w s c o m e t h r o u g hc l e a r e x c e l l e n t v a l u e $ 5 3 9 C d n . E d . )

C 6 K e y b o a r d U p d a t e

P a u l H i g g i n b o t t o m o C o m m o d o r e C a n a d a i n e a r i n g c o p l e t i o n o f h i s k e y b o a r d s y n t h e s i z e r p a c k a g e f o t h C 6 4 . H s a y s , " T h e k e y b o a r d u n i t w i l l n o h a v e 4 9 k e y s ( o c t a v e s ) ,a o p p o s e d t 3 a o r i g i n a l l y p l a n n e d . A l s o , t h k e y b o a r di t s e l f w i l l h o u s e a 8 k e y b o a r d k e r n a l " R O M , c o n t a i n i n gr o u t i n e s s u c h a s e v o i c e , c l e a r v o i c e , s e f r e q u e n c y , e t c .T h R O w i l l m a i n t o t h n o r m a l c a r t r i d g e s l o t a r e a o p o w e r - u p a n o f f e r s t a n d a r d j u m p t a b l e f o t h o s e w h

T h T r a n s a c t o r 1 A p r i l 1 9 8 3

Page 17: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 17/84

w a n t t w r i t e t h e i r o w s o f t w a r e w i t h o u t l o o r e - i n v e n ti n g t h e w h e e l . F u l l d o c u m e n t a t i o n o t h R O r o u t i n e s w i l lb s u p p l i e d . "

[ I ' v e b e e n f o l l o w i n g p r o g r e s s o t h i s p r o j e c t s i n c e P a u lb e g a n w o r k o n i t F o a b o u t $ 1 8 0 0 C d n , w h i c h i n c l u d e s aC 6 4 , t h k e y b o a r d u n i t a n c a r t r i d g e ( a b o u t $ 2 0 0 C d n ! ) , am o n i t o r , a n d i s k d r i v e , y o c a h a v e s t a g e - q u a l i t ys y n t h e s i z e r t h a t ' s v i r t u a l l y u n t o u c h a b l e , e v e n b s y n t h e s i ze r s c o s t i n g t w i c e a m u c h . p l a n t g e o n e a n d c a n ' t e v e np l a y t h e s u c k e r ! E d . ]

N e C o m m o d o r e P r i n t e r s

T h 6 4 0 0 , 4 0 2 3 , a n 1 5 2 6 a r C o m m o d o r e ' s l a t e s t a d d i t i o n st o t h e i r p r i n t e r l i n e .

T h 6 4 0 0 i l e t t e r q u a l i t y p r i n t e r ( d a i s y w h e e l ) m a n u f a ct u r e d b T E C . T h i s w i l l r e p l a c e C o m m o d o r e ' s p r e v i o u s l e t t e rq u a l i t y p r i n t e r m a d e b D i a b l o , t h 8 3 0 0 P . T h 6 4 0 0 h a a I E E E i n t e r f a c e a n i f u l l y c o m p a t i b l e w i t h P E A S C I I .F e a t u r e s i n c l u d e b i - d i r e c t i o n a l p r i n t , p a p e r o u s w i t c h , s e t o p , s e l e f t , p i t c h c o n t r o l , u n d e r s c o r e , b o l d a n s h a d o wp r i n t , r e v e r s e s c r o l l i n g , a n a u t o m a t i c h a m m e r s t r i k e i n t e ns i t y ( d e t e r m i n e d b t h s u r f a c e a r e a o t h c h a r a c t e r ) . P r i c ea r o u n d $ 2 8 0 0 .

T h 4 0 2 3 r e p l a c e s t h 4 0 2 2 . B o t h a r v i r t u a l l y t h s a m ep r i n t e r , e x c e p t t h i s t i m e C o m m o d o r e ' s d o n e i r i g h t . T h 4 0 2 3 h a a b 8 d o t m a t r i x t h a t w i l l o f f e r a c c u r a t er e p r e s e n t a t i o n s o e v e r y g r a p h i c c h a r a c t e r ! P r i n t i n g i b i - d ir e c t i o n a l a b o u t 6 c p s - w i t h f r i c t i o n o t r a c t o r f e e d .

T h 1 5 2 6 i e x a c t l y t h e s a m e p r i n t e r , b u t w i t h s e r i a li n t e r f a c e c o m p a t i b l e w i t h t h V I 2 a n C o m m o d o r e 6 4 S e e y o u r l o c a l d e a l e r f o d e t a i l s o p r i c e a n a v a i l a b i l i t y .

C o m m o d o r e 6 L O G O a n d P I L O T

C o m m o d o r e h a c o n t r a c t e d w i t h t h o r i g i n a l a u t h o r s o t h i sf a v o r i t e g r a p h i c s l a n g u a g e t p u i o t h C o m m o d o r e 6 4 T h a d a p t i o n w i l l b c o m p l e t e a n s i m i l a r t t h A p p l eL O G O , w i t h e x t e n s i o n s t h a t t a k e a d v a n t a g e o t h 6 4 ' s s p r i t eg r a p h i c s c a p a b i l i t i e s .

K e f e a t u r e s : g r a p h i c s d e f i n i t i o n a n m o v e m e n t , t e x t d i sp l a y , m u l t i - l e v e l g r a p h i c c h a r a c t e r d i s p l a y , c o m p l e t e s c r e e ne d i t i n g , a n d c o m p r e h e n s i v e d o c u m e n t a t i o n .

P I L O T c o n t a i n s a l t h " C o m m o n P I L O T " s t a n d a r d f e a t u r e s ,p l u s e x t e n s i o n s . M o s t P I L O T p r o g r a m s a l r e a d y a v a i l a b l e f o

o t h e r m a c h i n e s s h o u l d r u o t h i s v e r s i o n w i t h l i t t l e o n m o d i f i c a t i o n . I n t e r f a c e i n s t r u c t i o n s a r e a l s o i n c l u d e d f o c o n n e c t i o n t V i d e o d i s k / t a p e p l a y e r s .

B o t h l a n g u a g e s a r a v a i l a b l e f r o m C o m m o d o r e d e a l e r s f o s o m e w h e r e i t h n e i g h b o r h o o d o $ 1 5 0 C d n .

C o m m o d o r e S o f t w a r e N e w s

I B I S C A P r o g r a m D e v e l o p e r

I B I S I n t e r a c t i v e B a s i c I n s t r u c t i o n a l S t r u c t u r e i n e w l yr e l e a s e d p r o g r a m t h a t w r i t e s e d u c a t i o n a l s o f t w a r e i B A S I Cf o C o m m o d o r e c o m p u t e r s [ n o t u n l i k e P E T C A N s e e a r l i e rn o t e . E d . ]

I B I S c a r e d u c e p r o g r a m d e v e l o p m e n t t i m e b 1 t 2 t i m e s b e c a u s e i a l l o w s p e o p l e w h m a h a v e n o k n o w l e d g eo B A S I C t p r o d u c e C A l e s s o n s t h a t r u f i r s t t i m e . O n r a t h e r i n t e r e s t i n g f e a t u r e i t h a t I B I S a c t u a l l y c r e a t e s aB A S I C p r o g r a m t h a t c a b m o d i f i e d u s i n g t h B A S I CE d i t o r .

I B I S r u n s o a n C o m m o d o r e c o m p u t e r w i t h 3 2 a n B A S I C 4 . 0 . I c o m e s w i t h c a s s e t t e p o r t p r o t e c t i o n k e a n f u l l d o c u m e n t a t i o n . C o m m o d o r e 6 v e r s i o n i a l s o b e i n gc o n s i d e r e d .

C o m m o d o r e C o m p u t e r E d u c a t o r S y s t e m s

T h e C o m p u t e r E d u c a t o r S y s t e m s w e r e d e s i g n e d t a s s i s ts t u d e n t s a v a r i o u s g r a d e l e v e l s b p r o v i d i n g a f u n a n s t i m u l a t i n g l e a r n i n g s e r i e s t h e l p t h e m b e c o m e m o r ei n v o l v e d i e d u c a t i o n , h o w e v e r , m a n y a d u l t s w o u l d a l s ol e a r n f r o m t h e s e p r o g r a m s .

F o u r m a i n c a t e g o r i e s a r e c o v e r e d : S c i e n c e , L a n g u a g e , S o c i a lS c i e n c e , a n M a t h e m a t i c s . T h S c i e n c e s e r i e s i a i m e d a g r a d e s t 1 w i t h s e c t i o n s o e l e m e n t a r y l i f e s c i e n c e s , a n i n t r o d u c t o r y p h y s i c s a n c h e m i s t r y . T h L a n g u a g e s e r i e sd e a l s w i t h g r a m m a r , s p e l l i n g , a n v o c a b u l a r y s k i l l s i E g l i s h a n F r e n c h . T h S o c i a l S c i e n c e s e r i e s c o v e r s h i s t o r y( N A m e r i c a n , a n c i e n t , a n m i d d l e a g e s ) , a n w o r l d g e o g r ap h w i t h e m p h a s i s o n C a n a d a a n N A m e r i c a . T h M a t hs e r i e s i n c l u d e s l e v e l s f r o m g r a d e s t h r o u g h 1 1 s i m p l ea r i t h m e t i c t h r o u g h a l g e b r a a n g e o m e t r y .

E a c h s e c t i o n o e a c h s e r i e s c o m e i p a c k s o s i t a p e s w i t hm a n u a l s f o $ 6 9 . 9 5 p e p a c k ( s u g g e s t e d r e t a i l ) . S e y o u rd e a l e r f o d e t a i l s .

T h T r a n s a c t o r 1 A p r i l 1 9 8 3

Page 18: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 18/84

C o m m o d o r e 6 4 " E a s y S o f t w a r e "

T h " E a s y S o f t w a r e S e r i e s " a v a i l a b l e f r o m C B o p r e v i o u sp r o d u c t l i n e s i n o a v a i l a b l e f o t h 6 4 A m o n g t h p r g r a m s i t h s e r i e s a r e :

E a s y s c r i p t 6 4 ( w o r d p r o c e s s o r )E a s y C a l c 6 4 ( s p r e a d s h e e t )E a s y P l o t 6 4 ( g r a p h i c s p l o t t e r )E a s y F i l e 6 4 ( d a t a b a s e )E a s y M a i l 6 4 ( m a i l l i s t )E a s y S c h e d u l e 6 4E a s y F i n a n c e 6 4

A l p r o g r a m s c o m e o 5 V i n c h f l o p p i e s w i t h d o c u m e n t at i o n f o e a c h . F o m o r e i n f o r m a t i o n , c o n t a c t a n C o m m od o r e d e a l e r .

O n l a s t n o t e . . t h " C a n " B s e r i e s m a c h i n e s w i l li n c l u d e m a c h i n e l a n g u a g e m o n i t o r ( w h i c h t e n d s t s u g e s t r i g h t t h e r e t h a t t h p r e v i o u s l y m e n t i o n e d p r o b l e m h a i n d e e d b e e n e l i m i n a t e d ) . T m a k e r o o m f o t h M L M , t h t a p e I / r o u t i n e s h a t b r e m o v e d , b u a r p r o v i d e d f o t h r o u g h a i n t e r n a l v e c t o r . S i m p l y s t a t e d , t h m a c h i n e s w i l lc o m e w i t h a c a s s e t t e d e c k p o r t t h a t i n o n - f u n c t i o n a l u n t i le x t r a s o f t w a r e i l o a d e d . T h i s u t i l i t y w i l l b i n c l u d e d w i t ht h u n i t , h o w e v e r m o s t u s e r s o e i t h e r m a c h i n e w i l l p r o b ab l o p e r a t e w i t h d i s k d r i v e s .

S X - 1 0 0 N o w S X - 6 4

T h e S X - 1 0 0 w i l l n o b k n o w n a t h S X - 6 4 . R e c a l l , t h S X - 1 0 0 w a t h C o m m o d o r e 6 4 1 5 4 1 d i s k , a n a i n c hc o l o u r m o n i t o r . . a l i o n e b o x l i k e t h O s b o u r n e 1 P r i c ei a r o u n d $ 1 5 0 0 b u s t i l l n r e l e a s e d a t e a v a i l a b l e .

S k u t t l e B i t s

P I 2 8 C h a n g e d t C 1 2 8

F o n a p p a r e n t r e a s o n , C o m m o d o r e h a s d e c i d e d t c h a n g et h n a m e o t h ( a y e p u b l i c l y u n r e l e a s e d ) P 2 m a c h i n et t h e " C l 2 8 T h i s i t h l o p r o f i l e m a c h i n e w i t h n u m e r i cp a d , 1 2 8 K R A M , 6 5 0 9 p r o c e s s o r ( w h i c h i N O 6 8 0 9s t e r e o t y p e f o t h o s e t h a t n o t i c e d t h e p a r t * s i m i l a r i t y ) , a n d n os c r e e n . T h " B a n " B X " m o d e l n u m b e r s r e m a i n u c h a n g e d .

S o m e i n d u s t r y c o n c e r n h a b e e n e x p r e s s e d a b o u t t h " p r o -g r a m a b i l i t y " o t h " C a n " B / B X " m o d e l s i m a c h i n el a n g u a g e . B o t h c o m p u t e r s a l l o w f o s c a d s o B A S I C t h r o u g ha e l a b o r a t e s y s t e m o b a n k - s w i t c h i n g . H o w e v e r , m a c h i n el a n g u a g e p r o g r a m s l a r g e r t h a n s i n g l e b a n k m i g h t h a v et r o u b l e c o p i n g w i t h t h e m s e l v e s , ( r a t h e r s t r a n g e s t a t e m e n tt m a k e , a g r e e ) A l a s t r e p o r t , C o m m o d o r e w i l l b i n c l u di n R O c o d e t h a t w i l l e l i m i n a t e a n p o t e n t i a l p r o b l e m , b u h e r e ' s t h e d e t a i l s t h a t p r o m p t e d t h d o u b t .

I s e e m s t h a t 6 5 0 9 a r c h i t e c t u r e d i d n ' t a l l o w f o c a l l i n g a n r e t u r n i n g f r o m s u b r o u t i n e s t h a t l i v e d i o t h e r b a n k s b e s i d e st h b a n k c o n t a i n i n g t h c a l l i n g i n s t r u c t i o n . T h i n k a b o u t i t I b a n k ( f o r e x a m p l e ) c o n t a i n s a c a l l t s u b r o u t i n e t h a t l i v e si b a n k 1 b a n k m u s t f i r s t b e s w i t c h e d i n N o t h J S i n s t r u c t i o n i b a n k h a b e e n s w i t c h e d o u t . W h e n t h c o d ei b a n k c o m e s t a R T S , e x e c u t i o n m u s t s o m e h o w g e b a c k t b a n k F i n f o r m a t i o n w h i c h i n o n o r m a l l y s t a c k e db t h 6 8 0 9 . T h k e r n a l r o u t i n e s t h a t h a n d l e t h i s s i t u a t i o na r e x a m i n e d i d e t a i l b y J i m B u t t e r f i e l d n e x t i s s u e .

N e A p p r o v e d P r o d u c t s P r o g r a m

C o m m o d o r e i a b o u t t c o m p l e t e a n a p p r o v e d p r o d u c t sp o l i c y t h a t w i l l g o v e r n a d p l a c e d i C B p u b l i c a t i o n s ( i e .C o m m o d o r e M a g a z i n e a n P o w e r / P l a y ) . S p e c i f i c a l l y , a d s u b m i t t e d t e i t h e r m a g a z i n e w o n ' t b a c c e p t e d u n l e s s t h p r o d u c t i o f f i c i a l l y a p p r o v e d . H e r e ' s a e x c e r p t f r o mp r e l i m i n a r y a n n o u n c e m e n t :

" . W a r e n ' t e n f o r c i n g t h i s p a r t i c u l a r p o l i c y [ F e b 1 1 /8 3 u n t i l t h d e t a i l s o f t h p r o g r a m h a v e b e e n w o r k e do u t , b u w w a n t t g i v e y o u a n i d e a o w h a t i c o m i n g .

T h p r o g r a m w i l l s e r v e b o t h o u r r e a d e r s a n o u a d v e r t i s e r s . S i n c e m a n y o o u r e a d e r s a r n e t t h w o r l d o c o m p u t i n g , a n s i n c e t h a c c e p t a n c e o a d i C o m m o d o r e - s p o n s o r e d p u b l i c a t i o n i d f a c t oe n d o r s e m e n t , w w a n t t b s u r e o e a c h p r o d u c t .

M o r e i m p o r t a n t , t h i s e f f o r t r e p r e s e n t s g e n u i n e c o m i t m e n t o n C o m m o d o r e ' s p a r t t t h i r d - p a r t y v e d o r s . A m o n g t h d e t a i l s b e i n g d i s c u s s e d f o t h p r o g r a m a r f i n a n c i a l a n d e s i g n a s s i s t a n c e f o a d v e rt i s i n g t h p r o d u c t s ( i a n m a g a z i n e , n o j u s t o u o w n ) , t e c h n i c a l s u p p o r t a n p r o d u c t t e s t i n g , s p e c i a ls h o w s o p e n t a p p r o v e d p r o d u c t s o n l y , a n p r o d u ct i o n o f a a p p r o v e d p r o d u c t s c a t a l o g f o i n c l u s i o n i C o m m o d o r e ' s p r o d u c t p a c k a g i n g . "

F r o m t h s o u n d o t h i n g s , C o m m o d o r e h a t a k e n o n m o r es t e p t o w a r d s g e t t i n g t h e i r a c t t o g e t h e r g o o d s i g n . B u c a n ' t h e l p c h u c k l i n g o v e r t h i s a d d i t i o n a l b i o i n f o t h a t c a m ei w i t h t h s a m e l o t . . .

T h T r a n s a c t o r 1 A p r i l 1 9 8 3

Page 19: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 19/84

" R e : U s i n g C o m m o d o r e t r a d e m a r k s i y o u r a d

I o r d e r t p r o t e c t t h i n t e g r i t y o f o u c o m p a n y ' st r a d e m a r k s , w e n f o r c e t h f o l l o w i n g t r a d e m a r k r e g ul a t i o n s f o a l a d v e r t i s i n g i o u u s e r m a g a z i n e s :

1 A l C o m m o d o r e p r o d u c t s m e n t i o n e d b n a m e m u s tb e a r e i t h e r o a i m m e d i a t e l y f o l l o w i n g t h e f i r s tm e n t i o n o t h n a m e . T h p r e s e n t t r a d e m a r k s t a t u s o fo u p r o d u c t s i s

P E T ®S u p e r P E T ®

C B M ® V I 2 0 C o m m o d o r e 6 4 ®

2 P r o d u c t n a m e s m u s t b s p e l l e d c o r r e c t l y . P l e a s en o t e t h a t t h V I 2 h a s p a c e b u n h y p h e n a n t h C o m m o d o r e 6 i c a l l e d o n l y t h a t n o C B 6 o C - 6 4 o a n s u c h v a r i a t i o n .

A n a t h a t d o e s n o m e e t t h e s e r e q u i r e m e n t s c a n n o tb r u i o u m a g a z i n e s , s o p l e a s e c h e c k o v e r y o u ra d c a r e f u l l y b e f o r e s e n d i n g t h e m i n . "

P o i n t * i t h b i I ' r e f e r r i n g t o a g r e e w i t h t h i s p o l i c y a sf a a a c o n t e n t a p p e a r a n c e i c o n c e r n e d i p r o v i d e s f o s o m e f o r m o c o n t i n u i t y . B u a l w a y s t h o u g h t t h a t n i c kn a m e s w e r e s i g n o p o p u l a r i t y , s o m e t h i n g m a n u f a c t u r e rw o u l d n a t u r a l l y w e l c o m e . F o e x a m p l e , I ' m s u r e t h a t" C h e v y " w a n o i n v e n t e d b G M F u r t h e r , s e v e r a l a f t e r m a r -k e v e n d o r s h a v e a l r e a d y i n c o r p o r a t e d v a r i a t i o n s i n t o t h e i rt r a d e n a m e s ( e g . C 6 4 - L i n k ) . I ' s u r e C o m m o d o r e s ' i n t e n tw a n o t c a u s e a n d i s c o m f o r t , a n b e s i d e s , p o i n t * t e c h n i c a l l y e x e m p t s t h i s s i t u a t i o n b e c a u s e i d o e s n o t a c t ua l l y m e n t i o n p u r e C o m m o d o r e p r o d u c t b n a m e . N d o u b t , g o o d j u d g e m e n t w i l l b e m p l o y e d b e f o r e p o l i c yd e t a i l s a r r e l e a s e d .

a l s o h o p e C o m m o d o r e w o n ' t o b j e c t t a u t h o r s u s i n gp r o d u c t n a m e v a r i a t i o n s i p u b l i s h e d a r t i c l e s ( t h e a n o u n c e m e n t s u g g e s t s t h e y w o n ' t ) . R e f e r r i n g t " t h e 2 0 a n " t h e 6 4 i a e a s y w a o b r e a k i n g m o n o t o n y . F r o m n o o " T h e T " w i l l p o s t C o m m o d o r e t r a d e m a r k s t a t u s o o u o w p o l i c y p a g e . B u t y p e s e t t i n g t h o s e s u p e r s c r i p t e d T M o e v e r y o c c u r e n c e c o u l d g e t b a r o y a l p a i n i t h r e g i s t e r . h o p e t h e y w o n ' t m i n d i o m i t t h e m .

a l s o h o p e t h e y w o n ' t m i n d t h i s n e x t z i n g e r , b e c a u s e l e t ' sf a c e i t i w c a n ' t l a u g h a o u r s e l v e s , w h c a w l a u g h a t T h f o l l o w i n g c l i p p i n g s w e r e t a k e n f r o m r e c e n t C o m m o d o r ei n f o r m a t i o n r e l e a s e s .

C O M M O D O R E S E N D S U N I Q U E C H R I S T M A SG R E E T I N G S T C 6 D E A L E R S

S o m e o y o p r o b a b l y t h i n k s h o u l d h a v e p u a l t h i s i n a e d i t o r i a l . B u w h e n y o u ' r e a b l a b b e r m o u t h l i k e m e e d i t o r i a ls p a c e b e c o m e s s o m e w h a t p r e c i o u s .

I l o o k s l i k e w e ' r e g o i n g t h a v e t w o s e t s o f s t a n d a r d p r o d u c tn a m e s ; o n e f o a d v e r t i s e r s a n a n o t h e r f o g e n e r a l l o g o m ac h y a n d c o n f a b u l a t i o n . H e r e ' s h o a f f e c t i o n a t e l y r e f e r t m f a v o r i t e m i c r o c o m p u t e r s . .

T h M a

T h 2

T h 6

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

A n n o w , b a c k t o u p r o g r a m . . .

T h T r a n s a c t o r 1 A p r i l 1 9 8 3

Page 20: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 20/84

B i t s a n P i e c e s

K a l e i d o s c o p e

T h i s p r o g r a m w a d u u f r o m t h d e p t h s o m c a s s e t t et a p e c o l l e c t i o n . T h p r o g r a m i a b o u t y e a r s o l s d o n ' tk n o w w h w r o t e i t a l t h o u g h I ' b d e l i g h t e d t f i n d o u t .

1 0 p r i n t " 0 " ; : c1 1 f o t r e a d c h ( j ) : n e x t1 2 d a t a 1 6 0 , 1 2 7 , 1 0 2 , 6 4 , 9 1 , 9 3 , 5 8 , 3 21 3 s 3 2 7 6 8 c o l s 8 I i n e s 2 1 4 m i n t ( c o / 2 - l ) : l l i / c o c c o - 0 . 0 0 0 11 5 f o t 5 1 6 f o i t m 1 7 f o t m 1 8 0 k =1 9 0 c c h ( ( j * 3 / ( i 3 i * h / 1 2 ) a n d 7 )2 0 s = s c o * i n t ( l c * i )2 1 0 s 2 = s c o * i n t ( l c * k )2 2 0 s 3 s c o * i n t ( l c * ( c k - i ) )2 3 s s c o * i n t ( l c * ( c k - k ) )2 4 0 p o k e s 2 p o k e c o - i s 2 2 5 0 p o k e s 4 p o k e c o - i s 4 2 6 0 p o k e s 3 , c p o k e c o - k s 3 2 7 0 p o k e s l , c p o k e c o - k s l , c2 8 n e x t j , i ,2 9 g o t o 1 5

T h p r o g r a m w a m o d i f i e d t w o r k o a l C o m m o d o r em a c h i n e s s i d o e s n ' t m a k e u s o c o l o u r o t h V I C a n d6 4 B e f o r e R U N n i n g , c h a n g e t h v a r i a b l e s i l i n e 1 3 t s u i t .S i t h s c r e e n s t a r t a d d r e s s , t h e o t h e r t w a r e r a t h e ro b v i o u s .

T g e c o l o u r w o u l d n ' t b e h a r d t h o u g h . A l y o w o u l d n e e di a n o t h e r v a r i a b l e , s a C f o C o l o u r T a b l e , s e e q u a l t i t ' ss t a r t a d d r e s s . T h e n j u s t c o p y l i n e s 2 0 t 2 7 i n t o a l t h " i b e t w e e n " l i n e n u m b e r s ( i e . 2 0 2 7 5 ) a n s u b s t i t u t e C f o S C t C L a n C t C f o S t S 4 T h v a r i a b l e C i c o l o u r t h a t w o u l d b g e n e r a t e d r a n d o m l y , o u s i n g a n o t h e rc r y p t i c s t a t e m e n t l i k e l i n e 1 9 0 . R i g h t n o l i n e 1 9 0 c h o o s e sc h a r a c t e r f r o m t h C a r r a y w h i c h i s e u w i t h t h s c r e e np o k e v a l u e s o g r a p h i c s . C h a n g e t h e s e i y o w i s h , b u l i k e w i s e , a n o t h e r a r r a y ( e g . C L ( 0 - 7 ) ) c o u l d b s e u t c o n t a i n t h p o k e v a l u e s o s o m e s c r e e n c o l o u r s f r o m w h i c h

n e l i n e 1 9 w o u l d s e l e c t . O c o u r s e i l i n e 1 9 w e r es t e r e o t y p e d f r o m l i n e 1 9 0 , e a c h c h a r a c t e r w o u l d g e t h s a m e c o l o u r i a l o c c u r e n c e s . T r c h a n g i n g s o m e I ' a n J ' a r o u n d .

V I 2 u s e r s a n C o m m o d o r e 6 u s e r s w i t h K e r n a l w i l ln e e d t a d t h i s l i n e :

C 6 4 : 1 0 p o k e 5 3 2 8 1 , 1 V 2 1 0 p o k e 3 6 8 7 9 , p e e k ( 3 6 8 7 9 ) a n 1 5 o r 2 0

T h T r a n s a c t o r 1 8 A p r i l 1 9 8 3

Page 21: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 21/84

T h i s c h a n g e s t h b a c k g r o u n d c o l o u r s t h a t t h p o k e s t t h s c r e e n w i l l s h o w u p W i t h t h 2 ( a n d 6 4 K e r n a l 2 ) c l e a rs c r e e n w r i t e s t h w h o l e c o l o u r n y b b l e t a b l e w i t h t h b a c kg r o u n d c o l o u r v a l u e . T h u s p o k e t t h s c r e e n o n l y p u t sc h a r a c t e r i s c r e e n m e m o r y t h a t ' s t h s a m e c o l o u r a t h b a c k g r o u n d , m a k i n g i " i n v i s i b l e " . T h i s w i l l b e a v e r t e d i s i m u l t a n e o u s c o l o u r s e l e c t i o n i a d d e d , h o w e v e r , c h a n g i n gt h b a c k g r o u n d c o l o u r d y n a m i c a l l y m i g h t a l s o b i n t e r e s ti n g .

A i s t h p r o g r a m ' s a b o u t a f a s t a i t ' s g o n n a b i B A S I C . I y o h a v e c o m p i l e r a n y o u ' v e g o n o t h i n g b e t t e r t d o F i n a l l y , a n d a z z l i n g n e v e r s i o n s w o u l d b m o s t w e l c o m ei a f u t u r e i s s u e !

4 . D i s k A p p e n d

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

1 p r i n t b a s i c 4 . 0 d i s k a p p e n d2 p r i n t t h i s r o u t i n e w i l l a l l o w s u b r o u t i n e3 p r i n t s a v e d a s p r o g r a m f i l e o d i s k t b 4 p r i n t a p p e n d e d t p r o g r a m i m e m o r y . " p r i n t5 p r i n t t h s u b r o u t i n e m u s t b e g i n w i t h l i n e6 p r i n t n u m b e r g r e a t e r t h a n t h l a s t l i n e o f7 p r i n t b a s i c t e x t i m e m o r y p r i n t8 p r i n t a c t i v a t e w i t h " 9 r e a d a r e r e p l a c e w i t h a ? ? ? f o r p e r m a n e n t p l a c em e n t1 0 f o t 5 r e a d x p o k e a j n e x t1 1 p r i n t " s y s " a d c h r $ ( 3 4 ) " f i l e n a m e " c h r $ ( 3 4 ) " , 8 "1 2 r e r o u t i n e i f u l l y r e l o c a t a b l e1 3 r e f i r s t d a t a e l e m e n t i s t a r t a d d r e s s ( a d )1 4 r e r e m o v e 1 0 0 0 i a i s e w i t h i n p r o g r a m1 0 0 0 d a t a 6 3 1 0 1 0 d a t a 1 6 9 , 0 , 1 3 3 , 1 5 7 , 3 2 , 1 2 5 , 2 4 4 , 1 6 91 0 2 01 0 3 01 0 4 01 0 5 01 0 6 01 0 7 01 0 8 0

d a t ad a t ad a t ad a t ad a t ad a t ad a t a

9 6 0

3 2 3 2 4 2

0 2 4

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

1 6 4 ,7 3

1 6 5 ,3 2

1 3 3 ,3 2

2 0 9 ,2 4 4 ,2 1 1 ,1 9 2 ,2 5 1 ,1 4 0 ,

2 0 8 ,3 2 3 2

2 4 1 ,1 6 5 ,2 4 3 ,

3 7 1 6 5 , 2 4 4

6 7 , 2 4 15 6 1 6 4 3 2 3 7 6 2

L a t e l y I ' v e h a q u i t e b i o u s f o i t F o e x a m p l e w h e ny o u w a n t t r e n u m b e r o n l y p a r t o p r o g r a m a n d d o n ' t h a v ea s e l e c t i v e r e n u m b e r u t i l i t y . F i r s t y o r e n u m b e r t h p a r t y o w a n t r e n u m b e r e d , t h e n y o b r i n g i t h r e s t w i t h D i s k A p -p e n d .

T h v e r s i o n a b o v e w o r k s o B A S I C 4 . o n l y , h o w e v e r i t h e r e ' s e n o u g h d e m a n d w e ' l l r e - c u t i f o t h o t h e r s . A f t e r

r u n n i n g i o n c e , t e n d t s a v e a d i r e c t l o a d c o p y f r o m t h M L M . T h i s w a i c a n b e l o a d e d b a c k u s i n g t h e m o n i t o rw i t h o u t d i s t u r b i n g t h e c o n t e n t s o m e m o r y .

C r a s h Y o u r C o m m o d o r e 6 4

d a s t a r d l y p e r p e t r a t i o n i n d e e d f o s u c h f i n e u p s t a n d i n gc o m p u t e r . B u l e t ' s d i a n y w a y s ( N y a h a a h ) . W h i l el o o k i n g f o t h p r o b l e m w i t h t h C 6 P O S Y p u b l i s h e dl a s t i s s u e ( s e e t h T r a n s b l o o p o r s s e c t i o n t h i s i s s u e f o m o r e )s t u m b l e d a c r o s s m o s t i n t e r e s t i n g c r a s h , h o w e v e r i s e e m st o n l y w o r k o 6 4 w i t h t h e r a c i n g s t r i p e s :

p o k e 7 8 3 , s y 4 2 6 2 2

N o h i s o m e n u m b e r k e y s . T h a t ' s i t . k e e p g o i n g . N e a te h ? ( N e a t u h f o U . S . r e a d e r s ) . A n w h i t h t e x t o t h s c r e e n ( i e . f r o m a b o v e ) n o d i s t u r b e d b a l t h v e r t i z o n t a ls c r o l l i n g ? H m m . E v e n t u a l l y i l o c k s u c o m p l e t e l y b u n h a r m d o n e . J u s t p o w e r d o w n , u p a n y o u ' r e b a c k t n o r m a l( y o u r m a c h i n e t h a t i s ) . A n m o r e o u t h e r e ?

C 6 T C o l o u r A d j u s t

D o L e k e i o V a n c o u v e r , B . C . , h a t h i s u s e f u l n o t e f o t h o s en o s a t i s f i e d w i t h t h e c o l o u r o u t p u t o t h e i r C 6 t t e l e v is i o n s e t .

F i r s t p o w e r d o w n y o u r 6 4 O p e n t h c a s i n g a n d o n t h P b o a r d , a r o u n d t h e g e n e r a l v i c i n i t y o f t h R e t u r n k e y , y o u ' l lf i n d m e t a l " b o x " ( y o u c a n ' t m i s s i t ) . L i f t t h l i o f t h i s b o x ,b e i n g c a r e f u l n o t w i p e o f t h a t w h i t e g u n k t h a t ' s o t h b o t t o m o t h l i a n t h t o o f t h a t 4 p i c h i p . T h i s s t u f fa c t s a h e a t t r a n s f e r f r o m t h e c h i p t t h l i d .

I n s i d e t h b o a r t w w h i t e n y l o n a d j u s t m e n t p o t s . T h o n o t h l e f t i t h C h r o m a o u t p u t a d j u s t , a n t h o n e o n t h r i g h t i t h C l o c k r a t e a d j u s t . T u r n y o u r 6 b a c k o a n d , o c o u r s e , c o n n e c t i t y o u r T V B e f o r e c h a n g i n g t h e s e p o t s ,t a k e b l a c k f e l t p e n a n d m a r k e a c h o n s y o c a r e t u r n t t h o r i g i n a l p o s i t i o n s s h o u l d y o g e c a r r i e d a w a y . A l s o ,y o u ' l l n e e d s o m e s t u f f o t h s c r e e n t m a k e t h a d j u s t m e n tb y S e t a b l a c k b a c k g r o u n d w i t h P O K E 5 3 2 8 1 , 0 a n t y p es o m e l i n e s o j i b b e r i s h o t h e s c r e e n u s i n g t h e c o l o u r sa v a i l a b l e f r o m t h k e y b o a r d ( i e . C T R L W H T , R E D , C Y N ,e t c . ) . O n c e t h a t ' s s e t u y o u ' r e r e a d y f o t h i m p o r t a n t p a r t .

U s i n g s m a l l s c r e w d r i v e r ( p r e f e r a b l y p l a s t i c i n c a s e i g e t sd r o p p e d ) , t u r n t h e C h r o m a l e v e l d o w n ( c o u n t e r - c l o c k w i s e )u n t i l y o u r T j u s t l o o s e s t h e c o l o u r s i g n a l . I d e a l l y i w i l l" f l i c k e r " b e t w e e n c o l o u r a n n c o l o u r . N o a d j u s t t h

T h T r a n s a c t o r 1 A p r i l 1 9 8 3

Page 22: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 22/84

C l o c k p o s t h a t c o l o u r i r e g a i n e d a n s t a b l e . T h i s w i l l b e i t h e r c l o c k w i s e o c o u n t e r - c l o c k w i s e t u r n , b u a l i s h o u l d n e e d i j u s t " t w e e k " . L o o k g o o d ? R e - a s s e m b l e t h m a c h i n e , m a k i n g s u r e t h e m e t a l l i g o e s o t h r i g h t w a y ,a n y o u ' r e d o n e .

O c o u r s e y o m a n o g e i l o o k i n g a n b e t t e r t h a n i w a s . I s o y o c a n a l w a y s r e - s e t b o t h a d j u s t m e n t s t o t h e i r o r i g i n a lp o s i t i o n s . I y o u r m a c h i n e i s t i l l u n d e r w a r r a n t y , y o m a w a n t t t a k e t h i s n o t e a n d y o u r 6 d o w n t y o u r d e a l e r a n h a v e t h e m d i t

C R l e s s C M

H o m a n y o y o a r m a k i n g s e q u e n t i a l l i s t i n g s o p r g r a m s t y o u r d i s k d r i v e ? I y o a r e , y o p r o b a b l y d s o m e t h i n g l i k e :

o p e n 8 8 , 8 , 0 : p r o g f i l e , s , w "a n l i s t

p r i n t # 8 c l o s e

T h i s p u t s l i s t i n g t o t h e d i s k j u s t a i f i t w e r e t t h p r i n t e r .Y o m i g h t u s t h i s f i l e a s o m e l a t e r t i m e w i t h t e r m i n a lp r o g r a m , e t c . B u h a v e y o n o t i c e d a e x t r a c a r r i a g e r e t u r na l w a y s s e e m s t c r e e p i a t h b e g i n n i n g o t h f i l e ? I t h i sb o t h e r s y o u , r e a d o n I n o t , f o r g e t m e n t i o n e d i t

T h C M c o m m a n d w o r k s s o m e w h a t l i k e P R I N T * . W i t h o u tp u n c t u a t i o n C g e t s s e n t a f t e r w a r d s . I n f u t u r e , t r r e p l a ci n t h C M w i t h C M 8 , T h i s s u p p r e s s e s t h a t e x t r ap r e c e d i n g C R . A n j u s t r e m i n d e r , c h o o s i n g f i l e n u m b e r1 2 o r g r e a t e r c a u s e s L i n e F e e d t b s e n t a f t e r e a c hC a r r i a g e R e t u r n .

F o s o m e r e a s o n t h e c o m m a c a n n o t b e o m i t t e d . D o e s t h i ss u g g e s t t h e r e m a b o t h e r c o m b i n a t i o n s ?

S u n n y S i d e U p !

I s e e m s a l m o s t c r i m i n a l w h a t t h e y ' r e c h a r g i n g f o d i s k e t t e st h e s e d a y s . T h m a t e r i a l c a n ' t c o s t m o r e t h a n a b o u tq u a r t e r , a n t h e y p r o b a b l y m a k e a b o u t t h o u s a n d e v e r ym i n u t e . S w h a t d o w d o W c l e v e r l y h a c k o u t a n o t c h o t h o p p o s i t e s i d e o t h j a c k e t , f l i p t h e m o v e r , a n p r e s t o !O n d o u b l e s i d e d d i s k e t t e .

B u c o n s i d e r t h i s . d i s k e t t e a l w a y s s p i n s i o n d i r e c t i o n ,e v e n d o u b l e s i d e d d i s k s , w h i c h a r e n o t i n t e n d e d t b f l i p p e d b u r a t h e r f o u s e w i t h d o u b l e h e a d d r i v e u n i t s .

W h e n d i r t a n d u s t p a r t i c l e s m a n a g e t l a n d o t h e d i s ks u r f a c e , t h d r i v e s p i n s i i n t o t h i n n e r l i n i n g o t h j a c k e t .U s u a l l y i c o l l e c t s t h e r e a n d o e s n ' t b o t h e r u t o m u c h . I t h d i s k i f l i p p e d o v e r , r o t a t i o n w i l l n o b i t h e o p p o s i t ed i r e c t i o n . A l t h a t c r u d w i l l n o b r e l e a s e d f r o m t h l i n i n go b o t h s i d e s o y o u r d i s k . Y U K !

h o p e I ' m n o t s o u n d i n g l i k e a d i s k e t t e s a l e s m a n . s u p p o s ew j u s t h a v e t p u u w i t h p r i c e s u n t i l e n o u g h c o m p e t i t i o nb r i n g s t h e m d o w n . . k i n d o " f a c t o d a t a l i f e " ( o o h , p o o r ) .

T h i s t i a n o t h e r s w i l l b e p u b l i s h e d i a a l e n c o m p a s s i n gg e n e r a l c a r e a r t i c l e p l a n n e d f o l a t e r i s s u e . W e ' r e s t i l lc o l l e c t i n g m o r e s i y o u h a v e a n y h e l p f u l a d v i c e f o o t h e r s ,s e n d i i a n w e ' l l b s u r e t i n c l u d e i t

W a s t e S p a c e

T h f o l l o w i n g i f o t h o s e w h l i k e t d e f i n e y o u r v a r i a b l e sa t h b e g i n n i n g o p r o g r a m . I y o u ' r e t h e t y p e t h a t l e t s a l y o u r v a r i a b l e s b d e f i n e d a e x e c u t i o n s e e s t h e m , y o c o u l db i f o s o m e p e c u l i a r r e s u l t s .

W h e n B A S I C " s e e s " a v a r i a b l e , t h v a r i a b l e n a m e a n i n f o r m a t i o n r e l a t e d t i g e t s s t u f f e d i n t o t h s i m p l e v a r i ab l e s t a b l e t h a t s i t s i m m e d i a t e l y a b o v e y o u r p r o g r a m t e x t .E a c h n e v a r i a b l e s e e n c a u s e s t h t a b l e t g r o w b b y t e s ,w h i c h c a n n o t b e r e c l a i m e d s h o r t o d o i n g C L R . B u o n l yf l o a t i n g p o i n t v a r i a b l e s m a k e u s o a l 7 b y t e s . S t r i n gv a r i a b l e s u s e o n l y t h f i r s t 5 t h l a s t a r w a s t e d , a n i n t e g e r v a r i a b l e s u s o n l y t h f i r s t 4 M i c r o S o f t d i d i t h i s w a t r e d u c e R O c o d e a n d a l s o t m a k e s e a r c h i n g t h r o u g h t h t a b l e a l i t t l e q u i c k e r .

d o n ' t s u g g e s t y o a c t u a l l y t r t u s e t h e s e b y t e s u n l e s sy o u ' r e s e r i o u s l y s t r a p p e d f o m e m o r y a n a n o t h e r b y t e s t s t o r e s o m e v a l u e i a b s o l u t e l y u n a f f o r d a b l e . T h i s w a s m e a n tm o r e a r e f r e s h e r o t h s i m p l e v a r i a b l e s t a b l e t h a na n y t h i n g e l s e . H o w e v e r i y o u d o n e e d t h e s e b y t e s , h e r e ' sh o t g a b o u t i t

F i r s t y o M U S T d e f i n e s o m e v a r i a b l e s a t h s t a r t o y o u rl i s t i n g t h a t y o w i l l b u s i n g l a t e r o n T h e s e v a r i a b l e s m u s tb e i t h e r s t r i n g o r i n t e g e r t y p e , b u d e p e n d i n g o n h o w m a n yy o c h o o s e t p r e - d e f i n e w i l l d e c i d e h o m u c h w a s t e s p a c ey o u ' l l h a v e t p l a y w i t h l a t e r . I y o u ' r e u s i n g J . B . ' s S t r i n gT h i n g , s t o p r i g h t h e r e . J i u s e s t h l a s t t w b y t e s o t h f i r s tv a r i a b l e d e f i n i t i o n , a n d a s s u m e s t h e s e w i l l s t a r t w i t h 0 W a t c h o u f o t h i s w i t h s o m e o t h e r u t i l i t i e s t o o .

2 A p r i l 1 9 8 3

Page 23: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 23/84

M o v i n g S t r i n g s

T d e m o n s t r a t e t h a b o v e , b o r r o w e d p a r t o f a " f u n c t i o ni n p u t " i d e a w a t o s s i n g a r o u n d . m o r e o t h a t i m i n u t e .

L i n e 1 0 d e f i n e s s o m e v a r i a b l e s . A y o c a s e e , w e ' l l o n l yb a b l e t u s t h w a s t e s p a c e f r o m A a n B % t h t h i r dt a b l e e n t r y , C m u s t n o b d i s t u r b e d !

T s a v e s p a c e , t h p o k e / p e e k a d d r e s s i c a l c u l a t e d i f u n c t i o n . F A t a k e s t h e a d d r e s s s t o r e d i t h S t a r t o V a r i a b l e s p o i n t e r a n a d d s t i ( e q u i v a l e n t o " i n d i r e c ti n d e x e d " i m a c h i n e c o d e ) .

1 0 0 a $ = " " : b % = 0 : c 3 . 1 1 d e f a d ( y ) p e e k ( 4 2 ) p e e k ( 4 3 ) * 2 5 6

5 0 i n p u t s o m e f u n c t i o n " ; f u $5 1 0 a $ = f u 5 2 0 g o s u b 1 0 0 05 3 r e g t o p l o t r o u t i n e , e t c .

1 0 0 0 p o k e f n a d ( 5 ) , p e e k ( 4 8 )1 0 1 0 p o k e f n a d ( 6 ) , p e e k ( 4 9 )1 0 2 0 p o k e 4 8 p e e k ( f n a d ( 2 ) ) - l1 0 3 0 p o k e 4 9 , 21 0 4 0 p o k e f n a d ( 1 2 ) , p e e k ( 4 7 )1 0 5 0 p o k e 4 7 1 0 6 0 a $ a 1 0 7 0 p o k e 2 * 2 5 6 p e e k ( f n a d ( 2 ) )1 0 8 0 p o k e 4 7 p e e k ( f n a d ( 1 2 ) )1 0 9 0 p o k e 4 8 p e e k ( f n a d ( 5 ) )1 1 0 0 p o k e 4 9 p e e k ( f n a d ( 6 ) )1 1 1 0 a $ " 1 1 2 0 r e s y t t o k e n i z e r o u t i n e ,1 1 3 0 r e t u r n

: r e m s a v e b o t t o m o : r e m s t r i n g s p o i n t e r: r e m m o v e p o i n t e r t : r e m b a s i c i n p u t b u f r: r e m s a v e T o o A r r y s: r e m m o v e p o i n t e r b e l o w: r e m $ 0 2 0 0 r e b u i l d a

: r e m m a r k s b u f r e n : r e m r e s t o r e T o o A r y s: r e m r e s t o r e s t r i n g: r e m b o p o i n t e r: r e m n u l l a

a n d / o r e v a l e x p r e s s i o n

L i n e 5 0 i n p u t s F U ( s o r r y a b o u t m c h o i c e o v a r i a b l e s b u F N w o u l d c a u s e ? S y n t a x e r r o r , a n d y o u h a v e t a d m i t , i p r o b a b l y w o u l d n ' t b e u s e d e l s e w h e r e ) . F U i t r a n s f e r r e d t A b e c a u s e A m u s t b n u l l e d l a t e r o n

W i t h a r g u m e n t o 5 t h r e s u l t o f F A i t h e f f e c t i v ea d d r e s s a w h i c h w s t o r e t h B o t t o m o S t r i n g s p o i n t e r . T s t o r e i n f o i w a s t e s p a c e , s i m p l y p a s s a 1 ( 7 a n 1 3

7 ) t o F A D

N o t h S t r i n g M o v e p a r t . L i n e s 1 0 2 0 a n 1 0 3 0 a l t e r t h B o t t o m o S t r i n g s p o i n t e r t p o i n t a t h B A S I C i n p u t b u f f e r .T h b u f f e r s t a r t s a $ 0 2 0 0 ( d e c 5 1 2 ) , b u t h p o i n t e r i s e t $ 0 2 0 0 p l u s t h e l e n g t h o A $ w h i c h w g e f r o m P E E K F A D ( 2 ) ( n o t e : t h i s b e t t e r n o t b > 8 0 ) . B e f o r e A i r e b u i l t , t h

T o o A r r a y s P o i n t e r m u s t b s e l o w e r t h a n t h B o t t o m o S t r i n g s p o i n t e r s o t h a t g a r b a g e c o l l e c t i o n i n o i n v o k e dw h i c h w o u l d r u i n e v e r y t h i n g . L i n e 1 0 6 0 m e r e l y c a u s e s A t b t r a n s f e r r e d t t h B A S I C i n p u t b u f f e r , a n l i n e 1 0 7 0m a r k s t h e n o v a l i d b u f f e r c o n t e n t s w i t h 0

A f t e r m e n d i n g a l t h e a s s a u l t e d p o i n t e r s , a g a i n u s i n g F A t a c c e s s v a l u e s s t o r e d i w a s t e s p a c e , A i s e t t o n u l l s t h a t g a r b a g e c o l l e c t i o n d o e s n ' t c l o b b e r a n y t h i n g i m p o r t a n td o w n i l o w e r m e m o r y . C o n t i n u i n g , t h p r o g r a m m i g h tc o n t i n u e t u s t h c o n t e n t s o t h e i n p u t b u f f e r . S p e c i f i c a l l y ,t h s t r i n g c o u l d b t o k e n i z e d a n e v a l u a t e d f o u s w i t hp l o t t e r s u b r o u t i n e , t r i g o n o m e t r y p r o g r a m , e t c .

h a v e n ' t a c t u a l l y t e s t e d t h i s , b u t t h e i d e a w a t d e m o ns t r a t e u s i n g w a s t e s p a c e . F o o n t h i n g , t h c o n t e n t s o t h B A S I C i n p u t b u f f e r m a r e q u i r e c o n v e r s i o n t s c r e e nc o d e s b e f o r e t o k e n i z a t i o n i c a l l e d . F o a n o t h e r , t h b u f f e ri t s e l f m a g e c l o b b e r e d b y s u b s e q u e n t B A S I C o p e r a t i o n s( i e . P O K E , F N S Y S , e t c . ) . I s o m e o n e d e c i d e s t t a c k l e t h " f u n c t i o n i n p u t " u t i l i t y , i m a r e q u i r e m a c h i n e c o d e f o e v e r y t h i n g p a s t t h e i n p u t s t a t e m e n t . H o w e v e r , I ' b m o s ti n t e r e s t e d i A N r e s u l t s !

B u t t e r w a r e

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

S t r i n g T h i n g 6 i t h C o m m o d o r e 6 v e r s i o n o U n i v e r s a lS t r i n g T h i n g , p u b l i s h e d i T r a n s a c t o r 0 1 V o l u m e 4 T h i su t i l i t y w i l l i n p u t s t r i n g s f r o m t h d i s k u t 2 5 c h a r a c t e r s i l e n g t h , t e r m i n a t i n g o n l y o c a r r i a g e r e t u r n . h a n d y w h e nc o m m a s a n c o l o n s i f i l e s a r e i n t e r f e r i n g w i t h i n p u t .R e m e m b e r , t h e v a r i a b l e t h a t r e c e i v e s t h i n p u t m u s t b t h f i r s t o n d e f i n e d i t h s i m p l e v a r i a b l e s t a b l e . A l s o , t h f i l en u m b e r u s e d t o p e n t h e i n p u t f i l e m u s t b n u m b e r 1 . ( i e .O P E N 1 , 8 , e t c . )

S t r i n g T h i n g h a o t h e r i n t e r e s t i n g a p p l i c a t i o n s . T h t e s t f o C c a b c h a n g e d t v i r t u a l l y a n c h a r a c t e r ( s e e C a t s t r a p o -l a t o r t h i s i s s u e ) . I n p u t i a l s o c o n t r o l l e d b t h e l e n g t h o t h b u f f e r s t r i n g ( A b e l o w ) . I l i n e s 1 1 a n 1 2 a r r e m o v e d ,i n p u t w i l l b t h r o t t l e d t 1 c h a r a c t e r s m a x i m u m ( l e n ( a $ ) ) .L o c a t i o n 1 4 s t o r e s t h n u m b e r o c h a r a c t e r s r e c e i v e d f r o mt h m o s t r e c e n t i n p u t ( n o t e l i n e s 4 3 0 , 4 4 0 ) .

c a n ' t b s u r e , b u q u i c k l o o k a t h m a c h i n e l a n g u a g e p a r ti n d i c a t e s t h a t i w i l l w o r k o t h V I 2 w i t h o u t m o d i f i c at i o n .

T h T r a n s a c t o r 2 A p r i l 1 9 8 3

Page 24: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 24/84

5 r e * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *6 0 r e m * * s t r i n g t h i n g 6 * 7 r e m * * j i b u t t e r f i e l d * 8 r e * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *9 r e i n p u t s t r i n g m u s t b f i r s t v a r i a b l e1 0 a a b c d e f g h i j k l m n o p q "1 1 a a a a a a 1 2 0 a $ a a a 1 3 r e a b o v e s e t s s t r i n g f o m a ( 2 5 5 )2 0 d a t a 1 6 0 , 2 , 1 7 7 , 4 5 , 1 5 3 , 1 3 7 , 0 , 2 0 02 1 d a t a 1 9 2 , 6 , 2 0 8 , 2 4 6 , 1 6 2 , 1 3 2 , 1 9 82 2 d a t a 2 5 5 , 3 2 , 2 2 8 , 2 5 5 , 2 0 1 , 1 3 , 2 4 0 , 1 2 3 d a t a 1 6 4 , 1 4 2 , 1 4 5 , 1 4 0 , 2 0 0 , 1 3 2 , 1 4 2 , 1 9 2 4 d a t a 1 3 9 , 2 4 0 , 4 , 1 6 5 , 1 4 4 , 2 4 0 , 2 3 4 , 7 2 5 d a t a 2 0 4 , 2 5 2 6 f o 8 9 t 9 3 r e a d c c 2 7 p o k e j n e x t2 8 i c h < > 6 1 2 0 t h e n s t o p 3 0 s t o p4 0 0 o p e n 1 , 8 , 2 , " f i l e "4 1 r e n e x t s y s a m e a s ' i n p u t * , a $ '4 2 s y 8 9 4 2 r e s i z e o f i n p u t ( c o u l d b 0 4 3 0 1 p e e k ( 1 4 2 )4 4 p r i n t l e f t $ ( a $ , l )4 5 i s O g o t o 4 2 4 6 c l o s e

T a p e m a k e r

T a p e m a k e r w i l l a c c u r a t e l y m a k e a t a p e f r o m a n P R f i l e o d i s k . N o y o m i g h t s a y , " . b u t a l h a v e t d i D L O A Dt h p r o g r a m a n d S A V E i o t a p e f o t h s a m e r e s u l t s " . N o s o N o a l p r o g r a m s l o a d t t h s t a r t o B A S I C t e x t s p a c e .S o m e l o a d t t h c a s s e t t e b u f f e r a n o t h e r s l o a d a b o v e t h s t a r t o B A S I C . T a p e m a k e r w i l l h a n d l e t h e s e c o r r e c t l y .

A n t h e r e ' s m o r e ! T a p e m a k e r w i l l a l s o m a k e t a p e s o P R f i l e s t h a t s t a r t a b o v e a d d r e s s $ 8 0 0 0 . T h t a p e r o u t i n e s i R O d o n ' t a l l o w t h i s , e v e n i y o u s e t h e m a c h i n e l a n g u a g em o n i t o r . N o y o a s k , " . w h a t w o u l d p o s s i b l y w a n t t s a v e o t a p e t h a t l i e s a b o v e h e x 8 0 0 0 ? "

T a p e m a k e r i E X T R E M E L Y p o s i t i o n d e p e n d e n t . O n t o m a n y o t o f e s p a c e s a n w h a m m o ! S i o r d e r t p u b l i s hi a n e l i m i n a t e a n p o t e n t i a l f o e n t r y e r r o r , w e ' v e t a k e nt h e n t i r e p r o g r a m a n p u i i D A T A s t a t e m e n t s . S i n c e y o n e e d d i s k d r i v e t u s T a p e m a k e r , t h t w l i s t i n g s t h a tf o l l o w a c t u a l l y g e n e r a t e a n e p r o g r a m o y o u r d i s k . I n f a c t ,d o n ' t w a s t e t i m e m a k i n g t h e m t o p r e t t y . . o n c e t h l i s t i n gh a b e e n e n t e r e d a n R U N , y o c a d i s c a r d i t . y o w o n ' tn e e d i a g a i n .

1 0 f o t 3 4 r e a d c c n e x t1 1 0 i f c h < > 3 2 0 5 3 t h e n s t o p1 2 o p e n 8 , 8 , 8 , @ 0 : t a p e m a k e r 4 . 0 , p , w1 3 r e s t o r e f o t 3 4 r e a d1 4 p r i n t * 8 , c h r $ ( x ) ; : n e x t : c l o s e e n

1 - 1 4 ,6 5 3 2 3 2 8 4

1 5 d a t a1 6 d a t a1 7 d a t a1 8 d a t a1 9 d a t a2 0 d a t a2 1 d a t a2 2 d a t a2 3 d a t a2 4 d a t a2 5 d a t a2 6 d a t a2 7 d a t a2 8 d a t a2 9 d a t a3 0 d a t a3 1 d a t a 1 3 2 ,3 2 d a t a 1 3 9 ,3 3 d a t a 3 6 3 4 d a t a3 5 d a t a3 6 d a t a3 7 d a t a3 8 d a t a 1 3 9 , 1 9 8 ,3 9 d a t a 4 8 , 1 3 7 ,4 0 d a t a 4 , 1 7 0 ,

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

6 9

4 9 4 9

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

0 1 1 7 ,5 6 , 4 4 ,4 4 8 0

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

7 7 3 2 7 3 8 2 6 4 3 2 3 4

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

4 1 3 0 ,5 1 , 4 4 ,3 4 0 1 4 4 ,

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

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

0 1 5 1 ,

7 9 8 6 5 6 4 0 3 2

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

4 , 1 1 0 , 0 , 1 6 04 9 4 4 , 5 6 , 4

3 4 3 3 3 3 4 3

5 6

0 1 6 8 0 6 7 3 6

4 1 6 4 9 5

4 1 , 1 7 8 , 5

6 5 3 2 7 7 7 0

7 3 5 0 3 2 3 2 3 4

3 4 6 9 3 2 6 6 6 9

0 5 6

0 5 8 1 3 3 ,7 9 , 7 0 ,7 9 , 7 8 ,5 9 , 7 8 ,

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

8 2 3 6 5 0 8 6 4 9

3 2 3 2

5 6 0 , 1 5 1 , 5 6

4 1 d a t a 5 1 5 8 1 3 9 , 1 9 8 , 4 0 4 2 d a t a 1 7 9 , 1 7 7 , 5 6 5 4 , 1 3 7 ,4 3 d a t a 4 8 0 , 2 2 9 , 4 1 8 0 ,4 4 d a t a 5 0 5 4 5 3 0 , 2 3 9 ,4 5 d a t a 1 6 0 , 5 0 , 5 8 , 1 6 0 , 4 9 ,4 6 d a t a 1 6 2 , 2 3 2 1 9 8 , 2 5 5 ,4 7 0 d a t a 1 3 3 , 2 5 1 , 1 3 3 , 2 0 1 ,4 8 d a t a 2 5 2 , 1 3 3 , 2 0 2 , 1 6 9 ,

4 1 4 0 ,6 9 3 6

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

3 4 8 6

0 1 9 2 ,5 4 4 4 3 6

4 8 0 , 2 1 95 0 5 4 4 8 6 , 3 6 , 4 13 2 4 9 5

0 1 5 8 , 4 4 1 9 0 ,0 , 0 ,

3 2 , 2 2 8 , 2 5 53 2 , 2 2 8 , 2 5 5 , 1 3 39 8 1 6 2 , 5 1 3

4 9 d a t a 9 0 , 1 3 4 , 9 1 3 2 , 2 2 8 , 2 5 5 , 1 6 0 ,5 0 d a t a 1 4 5 , 9 0 , 2 3 0 , 9 0 , 2 0 8 , 2 , 2 3 0 , 9 5 1 d a t a 2 3 0 , 2 0 1 , 2 0 8 , 2 , 2 3 0 , 2 0 2 , 1 6 5 , 1 5 5 2 d a t a 2 4 0 , 2 3 3 , 3 2 , 2 0 4 , 2 5 5 , 1 6 0 , 0 , 1 3 25 3 d a t a 1 5 0 , 2 0 0 , 1 3 2 , 2 1 2 , 2 0 0 , 1 7 7 , 4 2 1 3 5 4 d a t a 2 0 9 , 2 0 0 , 1 7 7 , 4 2 , 1 3 3 , 2 1 8 , 2 0 0 , 1 7 5 5 d a t a 4 2 , 1 3 3 , 2 1 9 , 3 2 , 1 4 9 , 2 4 6 , 3 2 , 1 4 05 6 d a t a 2 4 8 , 1 7 3 , 5 8 3 3 2 2 5 , 2 4 6 , 1 6 95 7 d a t a 9 8 , 1 6 2 , 5 , 1 3 3 , 2 5 1 , 1 3 4 , 2 5 2 , 1 6 55 8 0 d a t a 9 0 , 1 3 3 , 2 0 1 , 1 6 5 , 9 1 , 1 3 3 , 2 0 2 , 7 5 9 d a t a 2 0 6 , 2 4

N o L O A D T a p e m a k e r u s i n g t h a p p r o p r i a t e f i l e n a m e .L I S T w i l l s h o w y o t h B A S I C p a r t b u b e y o n d t h i s i

T h T r a n s a c t o r 2 A p r i l 1 9 8 3

Page 25: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 25/84

w h o l e m e s s o m a c h i n e l a n g u a g e . D N O m a k e c h a n g e s .A l t e r i n g t h e B A S I C c o d e w i l l s h i f t t h m a c h i n e l a n g u a g e a n t h S Y c o m m a n d w i l l p r o b a b l y c r a s h y o u r c o m p u t e r .C h a n g i n g t h S Y c o m m a n d w o n ' t h e l p e i t h e r ' c a u s e t h m a c h i n e c o d e i p o s i t i o n d e p e n d e n t t o o !

W h e n T a p e m a k e r i r u n , i w i l l p r o m p t f o t h f i l e n a m e o t h p r o g r a m y o u w i s h t m a k e t a p e o f a n t h e n i a s k s" p e t o r v i e ? " . T h i s r e f e r s t t h n a m e y o j u s t e n t e r e d , n o tt h m a c h i n e i w i l l b l o a d e d i n t o . T h a t i s i y o u ' r e m a k i n gt a p e o P E p r o g r a m , e n t e r ' p ' . E n t e r i t h f i l e n a m e y o e n t e r e d b e l o n g s t V I o 6 4 p r o g r a m , O i y o w a n t t h t a p e t b " d i r e c t l o a d " f i l e s u c h a w i t h m a c h i n e l a n g u a g ep r o g r a m s . T h e n s i m p l y f o l l o w t h i n s t r u c t i o n s t c o m e .

U n i v e r s a l D i s k C h a n g e

D i s k C h a n g e a l l o w s y o t t e m p o r a r i l y c h a n g e t h d e v i c en u m b e r o a n C o m m o d o r e d i s k u n i t ; 2 0 4 0 , 4 0 4 0 , 2 0 3 1 ,8 0 5 0 , 8 2 5 0 , 1 5 4 0 , a n 1 5 4 1 .

1 0 d a t a 1 2 5 0 1 1 9 , 01 1 i n p u t o l d e v i c e n u m b e r " ; d 1 2 0 i f d o < 8 o r d o > 1 5 t h e n 1 1 1 5 i n p u t n e d e v i c e n u m b e r " ; d 1 6 0 i f d n < 8 o r d n > 1 5 t h e n 1 5 2 0 o p e n 1 5 d o , 1 5 : r e m c o m m a n d c h a n n e l2 1 a c h r $ ( d o 3 2 ) : b c h r $ ( d o 6 4 2 2 r e a d i 0 t h e n p r i n t " d i s k n o t r e c o g n i z e d ! "

g o t o 3 1 02 3 p r i n t * 1 5 , " m - r " c h r $ ( a ) c h r $ ( 0 ) : g e t * 1 5 x i x $ O a $g o t o 2 2 2 4 p r i n t # 1 5 , m - r " c h r $ ( a + l ) c h r $ ( 0 ) g e t * 1 5 x i

x $ O b $ g o t o 2 2 3 0 p r i n t # l 5 m - w " c h r $ ( a ) c h r $ ( 0 ) c h r $ ( 2 ) c h r $ ( d n 3 2 ) c h -

r $ ( d n 6 4 3 1 c l o s e 1 5

T g e y o u r u n i t b a c k t t h o r i g i n a l d e v i c e n u m b e r ( u s u a l l y8 s i m p l y p o w e r d o w n . O y o c a n s e n d t h i s t o t h c o m a n d c h a n n e l :

p r i n t # 1 5 , " u : "

I a f u t u r e i s s u e w e ' l l b e p u b l i s h i n g i n s t r u c t i o n s f o s w i t c ht h a t w i l l a d p r e - p o w e r - u p d e v i c e n u m b e r s e l e c t i o n ( i e .o 9 )

D r i v e 1 A r Y o T h e r e ?

S i n g l e d i s k d r i v e s h a v e o n v e r y d i s t i n g u i s h i n g c h a r a c t e r i st i c ; t h e r e ' s n d r i v e 1 I y o u w a n t t t e s t t h i s f r o m w i t h i np r o g r a m , h e r e ' s a s i m p l e p r o c e d u r e . O p e n t h c o m m a n dc h a n n e l a n s e n d a n I ( i n i t i a l i z e d r i v e 1 ) U p o n r e a d i n g t h e r r o r c h a n n e l , t h e e r r o r r e t u r n e d w i l l e i t h e r b f o O K o 2 f o r e a d e r r o r . T h i s s u g g e s t s t h e r e I d r i v e 1 b u t h e r em a o m a n o b d i s k m o u n t e d . I a s i n g l e d r i v e i c o n n e c t e d , t h e r r o r w i l l b 7 4 d r i v e n o t r e a d y .

T h i s t i c o u r t e s y o G r e g B e a u m o n t a R T C . Y o m i g h t w a n tt i n c l u d e t h i s w i t h t h C a t s t r a p o l a t o r u t i l i t y l a t e r t h i s i s s u e .

S u p e r P E T B i t s

H o m a n y b i t s i n S u p e r P E T ? S e e m s l i k e s i l l y q u e s t i o n ,d o e s n ' t i t W e l l , i i s T h a n s w e r w i l l b s u r e t i m p r e s s y o u rf r i e n d s t h o u g h . . w e ' l l h a v e i h e r e n e x t i s s u e , b u y o m a w a n t t a d i u j u s t f o f u n .

J u s t o n p r e l i m i n a r y n o t e . . W a t e r l o o n o h a t h 6 5 0 2A s s e m b l e r a v a i l a b l e f o t h S P E T . N w o r d o p r i c e , c a l lW a t e r l o o .

T h r e s t o o u B i t s a n P i e c e s c o m e s f r o m t h C o m p u t e rS y s t e m s G r o u p a W a t e r l o o . M a n y t h a n k s f o p e r m i s s i o n t r e p r i n t .

I n d e x E x p r e s s i o n s I A P A e r r o r i t h e v a l u a t e o t h i n d i v i d u a l c o m p o n e n t s o a i n d e x e x p r e s s i o n c a c c a u s e e r r o r s o i n c o r r e c t r e s u l t s w h e nu s i n g W L m i c r o A P L w i t h a f r a g m e n t e d w o r k s p a c e . T h p r o b l e m e x i s t s o n l y w i t h V e r s i o n 1 . 1 . T h e x p r e s s i o n e v a l ua t e s i n c o r r e c t l y w h e n g a r b a g e c o l l e c t i o n o c c u r s d u r i n g t h ee v a l u a t i o n . T h l i k e l i h o o d o f t h i s h a p p e n i n g c a b e r e d u c e db f o r c i n g a g a r b a g e c o l l e c t ( e g . M L W A f r o m t i m e t t i m e . T h p r o b l e m w i l l n e v e r o c c u r i t h e i n d i v i d u a l e x p r e ss i o n s a r e a s s i g n e d t v a r i a b l e s p r i o r t p e r f o r m i n g t h i n d e xo p e r a t i o n . F o e x a m p l e :

c h a n g e s t o a

; 2

; a

T h T r a n s a c t o r 2 A p r i l 1 9 8 3

Page 26: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 26/84

F o r m F e e d s a n S u p e r P E T P r i n t e r O u t p u t

N o r m a l l y S u p e r P E T p r i n t e r i d e d i c a t e d t t h S P E T t w h i c h i i c o n n e c t e d . I i u t t h p e r s o n u s i n g i t e n s u r et h a t t h p r i n t e r i p o s i t i o n e d t t h s t a r t o p a g e b e f o r ep r i n t i n g l i s t i n g . I t h p r i n t e r i c o n n e c t e d t s e v e r a lS u p e r P E T s t h r o u g h d e v i c e s u c h a M U P E T , i c a n b es h a r e d b y m o r e t h a n o n p e r s o n . I c a n e v e n b e p h y s i c a l l yd i s t a n t f r o m o n o m o r e o t h m i c r o s t w h i c h i i c o n n e c t e d , a n a d j u s t i n g t h e p r i n t e r b e f o r e p r o d u c i n gl i s t i n g c a b r a t h e r c u m b e r s o m e . I r e s p o n s e t r e q u e s t sf r o m S P E T u s e r s w h w i s h t s h a r e p r i n t e r s , t h e f o l l o w i n gp r o g r a m w a w r i t t e n :

S P E T i t u r n e d o n , o r w h e n e v e r s w i t c h f r o m 6 5 0 2 t 6 8 0 9m o d e i m a d e . W h e n i h a c o m p l e t e d t h p r o g r a m r e t u r n st t h m e n u . T h p r o g r a m a p p l i e s p a t c h t t h s y s t e mr o u t i n e c a l l e d I 3 E C L O S E _ s t h a t F o r m F e e d c h a r a c t e r i o u t p u t w h e n e v e r a p r i n t e r f i l e i c l o s e d . T h i s w i l l p r e v e n tp r i n t e r o u t p u t f r o m m o r e t h a n o n s o u r c e f r o m a p p e a r i n go n a n y s i n g l e s h e e t .

S i m u l a t i n g G E i P A S C A L

T h p r o g r a m b e l o w s i m u l a t e s B A S I C G E s t a t e m e n t t r e a d c h a r a c t e r f r o m t h k e y b o a r d :

0 1 0 o p e n # 2 f f p a t c h , p r g . o u t p u t0 2 l o o p 0 3 r e a d0 4 i 9 9 t h e n q u i t0 5 p r i n t # 2 , c h r $ ( i ) ;0 6 e n d l o o p 0 7 c l o s e * 0 8 d a t a 5 1 9 2 , 0 4 1 0 0 9 d a t a 1 3 4 , 8 , 1 8 3 , 5 , 1 4 9 ,1 0 d a t a 5 0 , 5 7 , 5 , 2 0 2 , 1 7 4 ,1 1 d a t a 2 3 0 , 2 1 9 3 , 1 3 0 , 3 8 ,1 2 d a t a 2 0 4 , 0 9 6 , 5 2 , 6 1 3 d a t a 1 0 0 , 1 8 9 , 1 9 2 , 1 1 4 , 2 0 4 ,1 4 d a t a 1 2 , 2 3 7 , 2 2 8 , 2 3 6 , 1 0 0 ,1 5 d a t a 2 1 1 , 1 2 3 , 5 0 , 9 8 , 5 7 ,1 6 d a t a 0 , 0 , 0 , 2 0

1 9 2

2 3

1 8

9 9

p r o g r a m m a i n ( i n p u t , o u t p u t ) ;v a

c h a r ;i f i l e o c h a r ;

b e g i nw r i t e l n ( ' C h a r a c t e r ? ' ) ;r e s e t ( i ' k e y b o a r d ' ) ;c : = c h r ( 0 ) ;w h i l e ( c h r ( 0 ) ) d

r e a d ( i ) w r i t e l n ( ' C h a r a c t e r ' , c , '

e n d .

U n t i l a k e i h i t , t h e r e a d s t a t e m e

T h p r o g r a m i r u o n l y o n c e . I c r e a t e s d i s k f i l e c a l l e d" f f p a t c h " ( f o r m f e e d p a t c h ) . T h p a t c h p r o g r a m i r u f r o mt h S P E T s m a i n m e n u b e n t e r i n g " d i s k . f f p a t c h " w h e n t h

t h v a r i a b l e C W h e n n o n - n u l l v a l u e i r e t u r n e d , t h ew h i l e - l o o p i t e r m i n a t e d a n t h e c h a r a c t e r i d i s p l a y e d b t h s e c o n d w r i t e l n s t a t e m e n t . T h c h a r a c t e r e n t e r e d i n o e c h o e d d i r e c t l y o t h s c r e e n w h e n i i t y p e d .

A V O I D U H U P U S T H

E L E C T K O

T h T r a n s a c t o r 2 A p r i l 1 9 8 3

Page 27: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 27/84

C o m p u K i n k s .

Y o s h o u l d n ' t h a v e r e a r - e n d e d t h a t g u l i k et h a t .

I w a p r o g r a m f o u n d i T h T r a n s a c t o r .

T h T r a n s a c t o r 2 A p r i l 1 9 8 3

Page 28: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 28/84

T r a n s b l o o p o r s

T h i s s e c t i o n , a l t h o u g h h o p e f u l l y n o r e g u l a r , w i l l c o v e rp u b l i c a t i o n e r r o r s a n d / o r i m p r o v e m e n t s f o a r t i c l e s i p r v i o u s T r a n s a c t o r s . I y o f i n d s i g n i f i c a n t m i s t a k e i o u m a g , p l e a s e l e u k n o w s w c a p a s s i o n E d

C 6 T P E T / C B M V o l 4 I s s 2 P g l 2 . B u g z

M i s s i n g l i n k ! T h 6 s t e p p r o c e d u r e f o l o a d i n g C 6 p r g r a m i n t o P E n e e d s o n e x t r a s t e p . I s e e m s t h a t w h e nl i n e i d e l e t e d ( s t e p 5 t h P E d o e s n ' t t h i n k t h a t t h s i z e o A N l i n e c o u l d p o s s i b l y b e o v e r 2 5 b y t e s . T h e r e f o r e , t h h i g h o r d e r b y t e o t h E n d - o f - B A S I C p o i n t e r i n o t a d j u s t e dp r o p e r l y . S A V E a t h i s p o i n t w o u l d s t o r e a e x t r a 1 o w a s t e . T f i i t a d s t e p 5 . 5 :

5 . p o k e 4 3 p e e k ( 4 3 ) - 4 c l

T h i s w i l l a d j u s t t h E n d - o f - B A S I C p o i n t e r a n t h C L c l e a n s u p a n y o t h e r p o i n t e r s .

S t a c k ( C r a c k l e ) P o V o l 4 I s s 2 P g l 3 .

F o o l e d ! T h e C 6 4 a n d V I C 2 S Y c o m m a n d s t s i m u l a t eP O P , d o n ' t w o r k . A f i r s t , t h C 6 4 S Y S a p p e a r i n g t b w o r k i n g , b u o f u r t h e r t e s t i n g i w a f u b a r . d i d n ' t h a v eV I 2 a t h t i m e a n j u s t a s s u m e d i w o u l d b t h s a m ep l u s 8 1 9 2 , b u t o c o u r s e t h i s d i d n ' t w o r k e i t h e r . T h e B A S I C1 . 0 , 2 . 0 , a n 4 . S Y c a l l s a r c o r r e c t .

U s i n g t h S Y S ' s f r o m t h e a r l i e r B A S I C s , c o m p a r e d d i s a ss e m b l i e s a n f o u n d t h e q u i v a l e n t C 6 a n V I 2 R O c o d e l i e s a t

6 4 s y 4 2 6 2 2 ( $ a 6 7 e )2 0 s y 5 0 8 1 4 ( $ c 6 7 e )N o t e : d i f f e r e n c e i 8 1 9 2 ( $ 2 0 0 0 )

B u f o s o m e r e a s o n t h e s e d o n ' t w o r k e i t h e r . A r g h ! T h r e s u l t s a p p e a r t h s a m e a R U N / S T O P R E S T O R E . e x a mi n e d t h c o d e t h a t p e r f o r m s S Y a n a l t h o u g h i t ' s d i f f e r e n tt h a n i e a r l i e r m a c h i n e s , i a l l o o k s p r e t t y s t r a i g h t f o r w a r d .B u n g o W o u l d s o m e o n e l i k e t o t a k e a s t a b a t h i s a n l e m k n o w w h a t ' s h a p p e n i n g ? T h c o d e f o S Y s t a r t s a E 2 i t h 6 4 a n E l 2 7 i t h 2 0

V o l 4 I s s 2 P g l 9 .

R e t r a c t i o n ! 1 5 4 0 a n 1 5 4 1 d i s k e t t e s A R w r i t e i n t e r c h a n g ea b l e . T h c o m p a t i b i l i t y p r o b l e m l i e s i t h d r i v e i t s e l f . " H i g hp r o f i l e " d r i v e s a r e n o c o m p a t i b l e w i t h " l o w p r o f i l e " d r i v e s .W h e n t h n e 4 0 4 0 s a n 2 0 3 1 s c o m e o u t w i t h l o p r o f i l ed r i v e s , t h e y ' l l a l b w r i t e c o m p a t i b l e .

B u g z V o l 4 I s s 2 P g 2 1 .

M i s q u o t e d ! I w a a c t u a l l y D o L e k e i o N o r t h V a n c o u v e r B t h a t f o u n d t h f i t t h r e n o u n e d C 6 s c r e e n e d i t o r c r a s h .T h a n x D o n .

D e t e r m i n i n g S c r e e n S i z e V o l 4 I s s 2 P g 3 7 .

T y p e s e t t e r g l i t c h ! T h o s e u p s i d e - d o w n e x c l a m a t i o n m a r k ss h o u l d b e s i g n s a n t h d o u b l e p l u s s i g n s s h o u l d b s i n g l e p l u s s i g n s . M o s t o t h o s e f a m i l i a r w i t h s o u r c e c o d el i s t i n g s w i l l h a v e c a u g h t t h i s e r r o r .

P o w e r / E r r o r I n d i c a t o r V o l 4 I s s 2 P g 4 1 .

P a r t n u m b e r m i x - u p s ! T h I i t h s c h e m a t i c i a S 7 4 0 4 , n o 7 4 0 0 . T h R a d i o S l a c k p a r t n u m b e r b e l o w i i c o r r e c t . A l s o , T h R p a r t n u m b e r f o t h L E b e l o n g s t t h b u z z e r , a n v i c e - v e r s a .

C 6 P i a n o / O r g a n V o I 4 I s s 2 P g 5 1 .

T y p e s e t t e r g l i t c h ! A t h e n o l i n e 1 9 3 , c ( 1 / 1 2 ) .S i m i l a r l y , a t h e n o f l i n e 2 0 0 , a ( i ) i

C 6 J o y s t i c k P o r t s V o l 4 I s s 2 P g 6 1 .

L i n e 6 3 0 4 0 s h o u l d r e a d :6 3 0 4 0 2 5 5 - p e e k ( c i a ) : b 2 5 5 - p e e k ( c i a + 1

T h T r a n s a c t o r 2 A p r i l 1 9 8 3

Page 29: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 29/84

T h W o r d P r oB o o k O T r i c k s

D o n n a G r e e nC o m m o d o r e C a n a d a

W o r d P r o a n T h C o m m o d o r e 6

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 h a r e c e n t l y a n n o u n c e dt h a v a i l a b i l i t y o W o r d P r o f o t h C o m m o d o r e 6 c o p u t e r . T h i s i t h s a m e f a m o u s p r o g r a m t h a t r u n s o t h 4 0 3 2 ( 4 c o l u m n ) c o m p u t e r a n d t h e r e f o r e h a s a l m o s t t h s a m e n a m e : " W o r d P r o 3 P l u s f o t h 6 4 " . F o t h o s e o y o w h o m a y r e c e n t l y h a v e p u r c h a s e d t h i s p r o g r a m , w h i c h i a v a i l a b l e f r o m a l C o m m o d o r e d e a l e r s , w w i l l e x p l a i n h e r et h d i f f e r e n c e s b e t w e e n t h i s v e r s i o n a n W o r d P r o P l u s ,t h p r o g r a m u s u a l l y d i s c u s s e d i n t h i s c o l u m n .

W o r d P r o P l u s i b a s i c a l l y t h s a m e a W o r d P r o P l u s . I i n c l u d e s a l t h v a r i o u s e d i t i n g f u n c t i o n s w i t h t h e x c e p t i o no " o u t p u t t v i d e o " w i t h t h 4 c o l u m n s c r e e n , t h i sf e a t u r e i n o p r a c t i c a l . T h N u m e r i c M o d e i W o r d P r oP l u s a l s o d i f f e r s s l i g h t l y f r o m P l u s .

O v e r v i e w

T h i s P r o f e s s i o n a l S o f t w a r e p r o g r a m , i p a c k a g e d a u s u a lw i t h a e x c e l l e n t r e f e r e n c e m a n u a l , a n d o n e c o p y - p r ot e c t e d d i s k . ( I i n o p o s s i b l e t c o p y a n d r u t h i s p r o g r a md i s k . ) Y o u ' l l f i n d t h a t n e a r l y a l t h W o r d P r o c o m m a n d s a r s t i l l t h s a m e . I y o a l r e a d y k n o w W o r d P r o ( o P l u s ) o W o r d P r o ( o P l u s ) y o w i l l o n l y h a v e t b e c o m e f a m i l i a rw i t h t h d i f f e r e n t k e y b o a r d t u s t h i s p r o g r a m .

T h e r e a r e a t o t a l o 3 2 l i n e s a v a i l a b l e f o m a i n t e x t w i t hm i n i m u m o 1 7 6 . T o g e t h e r w i t h t h e x t r a t e x t a r e a , w h i c hh a m i n i m u m o 2 l i n e s , t h e r e i g r a n d t o t a l o 3 5 l i n e sa v a i l a b l e o t h i s 6 v e r s i o n . ( A l t h o u g h t h m a n u a l s t i l lr e c o m m e n d s t h a t t h i s m a x i m u m n u m b e r o f l i n e s b e e nt e r e d , s t i l l r e c o m m e n d t h a t 1 8 o 2 0 l i n e s b e n t e r e d t a l l o w f o m o r e s p a c e i t h e e x t r a t e x t a r e a . A n o t h e r r e a s o nf o s e l e c t i n g f e w e r l i n e s , i t h a t w i t h W o r d P r o 3 P l u s a n W o r d P r o 4 P l u s f i l e s b e i n g c o m p l e t e l y c o m p a t i b l e e x c e p tf o t h e l e n g t h o f t e x t a v a i l a b l e , t h e r e i t h p o t e n t i a l p r o b l e mo W o r d P r o P l u s n o t b e i n g a b l e t r e c a l l a e n t i r e 3 P l u sf i l e . )

L o a d i n g T h P r o g r a m

T h i s p r o g r a m w r i t t e n f o t h C o m m o d o r e 6 g e n e r a l l y u s e s1 5 4 1 d i s k d r i v e a n 1 5 2 5 E m a t r i x p r i n t e r . O t h e r d i s k

d r i v e s a n o t h e r p r i n t e r s , h o w e v e r , m a b e u s e d i " C 6 4 - L i n k " i a t t a c h e d . T h p r o g r a m i l o a d e d w i t h t h c o m m a n d l o a d * , 8 ( T h i s o b v i o u s l y d i f f e r s f r o m t h " S h i f t / R u n " c o m m a n d f o W o r d P r o P l u s . ) T h s e r i e s o fq u e s t i o n s t h a t c o m e t t h s c r e e n s h o u l d b e a n s w e r e di n d i v i d u a l l y , r a t h e r t h a n p r e s s i n g " C o n t r o l " t d e f a u l tt h r o u g h a l t h s e l e c t i o n s . I 1 5 2 5 E p r i n t e r i a t t a c h e d ,s e l e c t " o f o O t h e r , a n " c f o C B M .

T r a n s a c t o r 2

Page 30: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 30/84

O t h e r P r i n t e r s A n D i s k s T h e C 6 4 K e y b o a r d

A m a n y " 6 4 - o w n e r s " a r a w a r e , o r a s a n y o n e w i l l n o t i c ef r o m a d v e r t i s e m e n t s i T h T r a n s a c t o r , t h e r e i a a t t a c hm e n t a v a i l a b l e c a l l e d t h " C 6 4 - L i n k " t h a t w i l l a l l o w f o o t h e r d i s k d r i v e s a n p r i n t e r s t b c o n n e c t e d t t h c o p u t e r . T h i s m e a n s , t h a t a n c o m p a t i b l e I E E E a n d p a r a l l e lp r i n t e r s , a s w e l l a s a l d i s k d r i v e s c a n o b u s e d w i t hW o r d P r o 3 P l u s . F o e x a m p l e , W o r d P r o 3 P l u s c a s u c c e s sf u l l y o p e r a t e w i t h a 8 0 5 0 d i s k d r i v e a n a 8 3 0 0 P l e t t e rq u a l i t y p r i n t e r ( D i a b l o ) !

I o r d e r t r u W o r d P r o 3 w i t h t h e C 6 4 - L i n k , t h " L i n kR e l o c a t o r " p r o g r a m t h a t c o m e s w i t h t h C 6 4 - L i n k m u s t f i r s tb l o a d e d . T h i s w i l l b r i n g t t h s c r e e n a 5 - i t e m m e n u . I i t h e n r e q u i r e d t c u r s o r d o w n t t h e 5 t h i t e m e n t i t l e d " N R a a n F l i p p i n g " a n t p r e s s r e t u r n .

T h r e e m o r e s e l e c t i o n s m u s t t h e n b e m a d e . F i r s t t h s c r e e nw i l l d i s p l a y " D i s k C o n f i g u r a t i o n " w i t h t h s e l e c t i o n t b m a d e o e i t h e r " S e r i a l " o " I E E E " . " P r i n t e r C o n f i g u r a t i o n "n e x t o f f e r s t h r e e c h o i c e s : " S e r i a l " , " I E E E " , o " P a r a l l e l " . T h f i n a l s c r e e n r e a d s " S a v e t D i s k w i t h N e D e f a u l t s : N o Y e s " . T h c o m p u t e r i t h e n r e a d y t l o a d W o r d P r o +

T h R e l o c a t o r p r o g r a m i n o i t h p u b l i c d o m a i n a n i i n c l u d e d w i t h a l C 6 4 - L i n k s .

1 C o n t r o l M o d e H a T h r e e C o n t r o l K e y s !

" C o n t r o l " m o d e c a n b e e n t e r e d w i t h e i t h e r t h " C o m m od o r e L O G O " k e y , t h " C T R L " k e y , o " F 7 " k e y . A n o t h e s e

k e y s w i l l f u n c t i o n a s t h e " C o n t r o l " k e y .

2 B a c k w a r d s S l a s h K e H a N e L o o k !

T h " E n g l i s h P o u n d " s i g n p e r f o r m s t h s a m e f u n c t i o n s a st h " B a c k s l a s h " k e i W o r d P r o A y o k n o w , f r o mo t h e r W o r d P r o ' s , t h e B a c k s l a s h c a n b e u s e d t t u r n o n a n do f " s h i f t e d m o d e " , i w i l l t u r n t h " b e e p e r " o n a n d o f i t h c o n t r o l k e i p r e s s e d f i r s t , a n i c a a l s o b u s e f u l f o s h o r t c u t s i r e c a l l i n g a n d m e m o r i z i n g b e l i m i n a t i n g t h n e e d t t y p e i t h f i l e n a m e w h e n t h e c u r s o r i p o i n t i n g t t h n a m e .

3 T a K e A l s o C h a n g e s

T h " b a c k a r r o w " ( « l o c a t e d j u s t a b o v e t h C T R L k e y ) h a t h s a m e f u n c t i o n a t h T A k e o o t h e r W o r d P r o s .T h e r e f o r e , t h e b a c k a r r o w w o u l d b p r e s s e d t t a o v e r( m o v e t h c u r s o r ) t a i n d e n t e d a r e a s u c h a t h b e g i n n i n go a p a r a g r a p h . C o n t r o l b a c k a r r o w w i l l j u m p t h c u r s o re i t h e r t t h b o t t o m o t h t e x t o t h e s c r e e n , o r t " b l o c kc o d e " , w h i c h e v e r c o m e s f i r s t .

N e F e a t u r e s

C o l o u r i A d d e d !O n o t h n i c e r f e a t u r e s n o a d d e d t W o r d P r o , i t h a b i l i t y t c h a n g e t h c o l o u r o t h t e x t c h a r a c t e r s , t h s c r e e nb a c k g r o u n d , a n t h e b o r d e r .

C o n t r o l F l i n c r e a s e s t h v a l u e o t h e c o l o u r f o t h c h a r a c t e r s .

C o n t r o l F i n c r e a s e s t h e c o l o u r v a l u e f o t h e s c r e e n , o b a c k g r o u n d .

C o n t r o l F i n c r e a s e s t h e c o l o u r v a l u e f o t h e b o r d e r .

C o l o u r v a l u e s m a b e d e c r e a s e d b p r e s s i n g F 2 F a n F r e s p e c t i v e l y .

S a v e C o l o u r s W i t h P r o g r a m

T h c o l o u r s o t h s c r e e n , b o r d e r , a n c h a r a c t e r s m a a l s ob p e r m a n e n t l y s a v e d w i t h t h p r o g r a m b y e n t e r i n g a 1 l i n e b a s i c p r o g r a m . T h i s p r o g r a m i l i s t e d o c o v e r i n gp a g e w h i c h i i n c l u d e d w i t h t h p r o g r a m p a c k a g e .

D i f f e r e n c e s I N u m e r i c M o d e1 S e t t i n g N u m e r i c T a b s

N u m e r i c t a b s a r e s e t h s a m e w a a r e g u l a r t a b s - C o n t r o lS T e n t e r n u m b e r s s t h a t t h e y w i l l a l r i g h t a l i g n , p r e s s

C o n t r o l b e f o r e t a b b i n g t t h e l o c a t i o n o t h f i r s tn u m b e r . T h " N w i l l h i g h l i g h t o t h s t a t u s l i n e , c o n f i r mi n t h a t " N u m e r i c M o d e " h a b e e n t u r n e d o n . A f t e r a l n u m b e r s h a v e b e e n e n t e r e d , N u m e r i c M o d e i t u r n e d o f b a g a i n p r e s s i n g C o n t r o l N

2 T o t a l l i n g C o l u m n s o F i g u r e s

T t o t a l t h c o l u m n s o f i g u r e s , i i n e c e s s a r y t t a o v e r( u s i n g b a c k a r r o w ) t t h f i r s t c o l u m n o n u m b e r s , a n t h a v e t h e c u r s o r o t h l i n e w h e r e t h t o t a l i t a p p e a r . T h c u r s o r m u s t b o n c o l u m n , o r c h a r a c t e r p o s i t i o n , t t h r i g h t o f t h n u m b e r , a i l l u s t r a t e d b e l o w . T h c o m m a n d" C o n t r o l e q u a l s s i g n " m u s t b g i v e n , t h e n t h a n s w e r w i l la p p e a r !

Page 31: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 31/84

E x a m p l e :S t a t u s L i n e T a M a r k e r :

1 2 5 * -2 5 * -5 0 * -

( 3 0 0 ) * -

( 1 0 0 ) -C u r s o r s h o u l d b h e r ew h e n g i v i n g c o m m a n d t t o t a l

N o t e : N e g a t i v e n u m b e r s m a b i n d i c a t e d b p a r e n t h e s i sa s h o w n , o w i t h m i n u s s i g n a f t e r t h n u m b e r . N e g a t i v et o t a l s w i l l a p p e a r i t h a n s w e r , t h w a t h n e g a t i v en u m b e r w a e n t e r e d i t h t e x t .

I n t h i s e x a m p l e , i o n l y t h b o t t o m t w o n u m b e r s a r t b t o t a l l e d i t h e x a m p l e a b o v e , c u r s o r t t h l i n e t h a t d i p l a y s ( 5 0 ) * - , a n s e r a n g e ( C o n t r o l r e t u r n ) .

W h e n t h c o m m a n d t o t o t a l i g i v e n , t h s t a t u s l i n e w i l l a s k :" R a n g e o A l l ? " . P r e s s " r f o r a n g e a n o n l y t h b o t t o m t w on u m b e r s w i l l b t o t a l l e d !

S i m i l a r l y , i o n l y t h m i d d l e t w n u m b e r s a r t b a d d e dt o g e t h e r , c u r s o r t t h l i n e w i t h 2 5 a n s e r a n g e o t w l i n e s , C o n t r o l c u r s o r d o w n o n r e t u r n .

W h e n t h c o m m a n d t t o t a l i g i v e n , t h s t a t u s l i n e w i l la g a i n a s k : " R a n g e o A l l ? " . A g a i n p r e s s " r " f o r r a n g e a n o n l y t h m i d d l e t w n u m b e r s w i l l b t o t a l l e d !

S p e c i a l C o m m e n t O E r a s i n g F u n c t i o n

W o r d P r o P l u s , u p o n v e r y c l o s e s c r u t i n y , m a a p p e a r t h a v e o n m i n o r l i m i t a t i o n t h a t b e i n g t h i n a b i l i t y t c a n c e la e r a s e f u n c t i o n . F o e x a m p l e : I f a f t e r g i v i n g t h e c o m m a n d" C o n t r o l e ( e r a s e ) " . . w h i c h i n o r m a l l y f o l l o w e d b " r f o r e m a i n d e r , o " a f o a l l . . i w a d e c i d e d n o t e x e c u t et h e e r a s e f u n c t i o n a f t e r a l l , i m a s e e m t h a t t h e r e i n w a b a c k t n o r m a l e d i t i n g m o d e , w i t h o u t " e r a s i n g " s o m e t e x to t h s c r e e n . P r e s s i n g t h e C o n t r o l k e i t h i s c a s e , u n f o r t un a t e l y , d o e s n o t h i n g t c a n c e l t h e c o m m a n d . W h i l e i i h i g h l y u n l i k e l y t h a t t h i s w o u l d o c c u r o f t e n , i m a b w o r t h w h i l e t m a k e n o t e o f t h i s l i t t l e t r i c k j u s t i n c a s e .

T h e r e i j u s t o n o p t i o n l e f t i n t h i s s i t u a t i o n , a n t h i s i t h s a v i n g g r a c e . B p r e s s i n g t h e l e t t e r " 1 " , a f t e r " C o n t r o l e " t h s y s t e m w i l l r e t u r n t o e d i t m o d e ! T h i s i i f a c t , t h l a t t e rh a l f o f t h c o m m a n d t " E r a s e L i n e s i R a n g e " ( u s e d t e r a s e l a r g e q u a n t i t i e s o f t e x t a o n c e ) . T h e n t i r e c o m m a n da c t u a l l y i n v o l v e s s e t t i n g r a n g e o t e x t t o b d e l e t e d , o p e r h a p s p a r a g r a p h o r t w o , t h e n e r a s i n g t h a t r a n g e .

I n r a n g e h a s b e e n s e t , a n t h c o m m a n d - C o n t r o le ( e r a s e ) l ( l i n e s i r a n g e ) i g i v e n , n o t h i n g r e a l l y h a p p e n s ,e x c e p t t h a t a m e s s a g e a p p e a r s o t h s t a t u s l i n e " N L i n eR a n g e S e t " . T h a p p e a r a n c e o a e r r o r m e s s a g e h o w e v e r , i m u c h e a s i e r t l i v e w i t h t h a n l o s i n g t h " r e m a i n d e r " o t e x to t h s c r e e n , o r e v e n w o r s e " A l l " t h t e x t !

T h a t ' s a l f o n o w ! M o r e n e x t t i m e .

2 A p r i l 1 9 8 3

Page 32: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 32/84

T h M A N A G E R C o l u m n J o h n S t o v e k e nM i l t o n , O n t .

C 6 4 M a n a g e r A r r i v e s

Y e s , T h M a n a g e r i a l i v e a n w e l l a n r u n n i n g o t h C o m m o d o r e 6 4 T h s o f t w a r e h a i n c r e a s e d i p o w e r a n df l e x i b i l i t y a n s t i l l m a i n t a i n s t h e s t r a i g h t f o r w a r d f r i e n d l in e s s o t h c u r r e n t M a n a g e r .

T h c r e a t e o p t i o n s b e h a v e s v e r y s i m i l a r l y w i t h t h p o w e r o c o l o r a d d e d t t h s c r e e n i m a g e . Y o a r n o p e r m i t t e d u t 2 5 f i e l d s w i t h l e n g t h s r a n g i n g f r o m t 4 c h a r a c t e r s .T h e r e i l i m i t t o t h t o t a l l e n g t h o a l f i e l d s w h i c h i d e p e n d a n t o n t h n u m b e r o f i e l d s a n s i z e o f d i s p l a yp o s i t i o n s a n r a n g e s b e t w e e n 1 0 0 0 t 3 0 0 0 c h a r a c t e r s .

S p e a k i n g o d i s p l a y p o s i t i o n s a n a r i t h m e t i c , w h a v e c o p l e t e l y r e v a m p e d t h m a t h s y s t e m a n h a v e i m p l e m e n t e dJ P L , p r o g r a m m i n g l a n g u a g e d e s i g n e d s p e c i f i c a l l y f o t h i sd a t a b a s e . J P i f u l l y s t r u c t u r e d l a n g u a g e t h a t i n c l u d e sc o n s t r u c t s s u c h a s

i t h e n . . e l s e . . e n d i f

a n

w h i l e d o e n d w h i l e

J P h a n d l e s b o t h n u m e r i c a n c h a r a c t e r d a t a t p e r m i ts i m p l e a n b o o l e a n c o m p a r e o p e r a t i o n s . A a e x a m p l e :

i ( ' b e r t ' ) a n n 3 1 0 0 t h e n ' h b e r f t

w i l l p l a c e ' h b e r t ' i n d i s p l a y p o s i t i o n o n o n l y i f i e l d o n c o n t a i n s b e r t a n f i e l d t h r e e h a v a l u e u n d e r 1 0 0 . T h d a t at h a t J P h a n d l e s c a b i f i e l d s , r e g i s t e r s a n d i s p l a yp o s i t i o n s a n a l c a b s u b s c r i p t e d b o t h e r s .

T h E N T E R / E D I T p r o g r a m n o i n c l u d e s f u l l b o o l e a ns e a r c h s y s t e m a s w e l l a s r e a l t i m e ' c a l c u l a t e ' m o d e .A l t h o u g h t h s t a n d a r d s e a r c h a n d h u n t i a v a i l a b l e , t h

p o w e r o t h b o o l e a n c o m p a r e s a i J P a r e x t e n d e dt h r o u g h t t h r e p o r t p a c k a g e a w e l l .

T h c o d e i s s t i l l h y b r i d B A S I C a n m a c h i n e c o d e ( 1 0 k b y t e s )w h i c h w i l l p e r m i t t h e u s e r f u l l a c c e s s t t h c o d e a n d d a t a i h d e s i r e s . A l l d a t a f i e l d s a r i t h R E $ 0 a r r a y , r e g i s t e r s i t h R ( a r r a y a n d i s p l a y p o s i t i o n s i t h D P $ ( ) a r r a y . T h d a t a f i l e i s s t a n d a r d C o m m o d o r e s e q u e n t i a l f i l e t h a t c a b a c c e s s e d b B A S I C o b T h M a n a g e r ' s ' B A S C e x t e n d e dB A S I C .

T h . S C R F i l e

T h s e c r e t s o t h s c r e e n s h a l l b r e v e a l e d t h i s m o n t h .

A n d a t a f i l e t h a t h a b e e n c r e a t e d w i t h t h M a n a g e r s y s t e mh a a l e a s t t w d i s k f i l e s a s s o c i a t e d w i t h i t O n i t h a c t u a ld a t a f i l e i t s e l f , c a l l e d

' n a m e r e l '

a n t h o t h e r i t h s c r e e n f i l e w h i c h i c a l l e d

' n a m e . s c r p r g '

T h a c t u a l d a t a f i l e c o n t a i n s O N L Y i n f o r m a t i o n f r o m t h d a t a r e c o r d . O n l y t h c a r r i a g e r e t u r n o t h e n o e a c hr e c o r d a n t h e c h a r a c t e r 2 5 p l a c e d a t h e n o t h e d a t af i l e m a k e t h i s f i l e u n i q u e f o T h M a n a g e r . I i t h e r e f o r eq u i t e e a s y t i m p o r t f o r e i g n d a t a s e i n t o T h M a n a g e r b p r o d u c i n g s c r e e n w i t h p r o p e r f i e l d i n g f o t h o t h e r d a t af i l e .

T h s c r e e n i p r o g r a m f i l e ( c r e a t e d b c r e a t e / r e v i s e ) t h a tl o a d s i n t o t h c o m p u t e r ' s u p p e r m e m o r y a r e a ( $ 6 5 0 0 /2 5 8 5 6 t $ 7 d f f / 3 2 2 5 5 ) a n t h i s c o n t a i n s a l t h a d d i t i o n a lf i e l d i n g , d i s p l a y a n a r i t h m e t i c i n f o r m a t i o n f o t h d a t a f i l e .A f t e r t h e s c r e e n i m o v e d u f r o m r a t t h s c r e e n r a t h s y s t e m p l a c e s i n f o r m a t i o n a b o u t t h e c u r r e n t l y d i s p l a y e ds c r e e n i n t o m e m o r y l o c a t i o n s $ 7 e 0 0 t $ 7 f f f ( 3 2 2 5 6 t 3 2 7 6 7 ) . T h m e m o r y m a i d i s p l a y e d i t h i s t a b l e . T h m e m o r y l o c a t i o n s a r e g i v e n i h e x a d e c i m a l n o t a t i o n .

T h T r a n s a c t o r 3 A p r i l 1 9 8 3

Page 33: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 33/84

M e m o r y L o c a t i o n I n f o r m a t i o n

6 5 0 0 6 8 f f - a r i t h m e t i c s t o r a g e a r e a6 9 0 0 6 9 f f - s c r e e n n u m b e r , l i n e a n c o l u m n o f d i s

p l a y p o s i t i o n s6 a 0 0 6 a f f - l i n e , c o l u m n a n l e n g t h o e a c h f i e l d o

s c r e e n o n 6 b 0 0 6 b 8 0 - s t a r t p o s i t i o n o e a c h f i e l d o s c r e e n o n i

a c t u a l d a t a r e c o r d6 b f a - g r a p h i c s o u p p e r / l o w e r c a s e s c r e e n6 b f b - f i e l d o i n d e x f i e l d i a n 6 b f c - s c r e e n * o i n d e x f i e l d6 b f d - l e n g t h o i n d e x k e 6 b f e - * . i n d e n t r i e s / * . m a s e n t r i e s6 c O O - 7 3 f f - s c r e e n o n e , i n c l u d i n g a l t e x t , a r r o w s a n

b a c k s l a s h e s a i n c l u d e d d u r i n g c r e a t e- a l l d i s p l a y p o s i t i o n s a r e p l a c e d h e r e a n

t h i s e n t i r e m e m o r y a r e a i t h e n t r a n s f e rr e t t h a c t u a l v i d e o r a

7 4 0 0 7 4 f f - l i n e . c o l u m n a n l e n g t h o e a c h f i e l d o s c r e e n t w

7 5 0 0 7 5 f f - s t a r t p o s i t i o n o e a c h f i e l d i n t h a c t u a ld a t a r e c o r d o s c r e e n t w

7 6 0 0 7 d f f - s c r e e n t w o , i n c l u d i n g a l t e x t , a r r o w s a n b a c k s l a s h e s a i n c l u d e d d u r i n g c r e a t e

T h f o l l o w i n g d a t a i p l a c e d h e r e w h e n t h s c r e e n i w r i t t e nt t h v i d e o d i s p l a y .

7 e 0 0 - 7 e f f - l i n e . c o l u m n a n l e n g t h o e a c h f i e l d o t h d i s p l a y e d s c r e e n

7 f O O 7 f 8 0 - s t a r t p o s i t i o n o e a c h f i e l d o t h e d i s p l a y e ds c r e e n i t h d a t a r e c o r d

T h f o l l o w i n g i n f o r m a t i o n i d u p l i c a t e d f o e a c h s c r e e n a 6 b f O a n 7 5 f 0 r e s p e c t i v e l y .

7 f f O7 f f l7 f f 27 f f 3 7 f f 4

7 f f 57 f f 67 f f 87 f f 97 f f a

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

b e o r e c o r d s i t h e d a t a f i l e- c u r r e n t s c r e e n n u m b e r- t o t a l n u m b e r o s c r e e n s- e n d i n g f i e l d n u m b e r- o f i e l d s o t h s c r e e n- g r a p h i c s o u p p e r / l o w e r c a s e

O R E P O R T G E N E R A T E w h a v e s m a l l g o o d i e t h a t m a h e l p y o a l o n g . W h e n y o a r e r e p o r t i n g r e g i s t e r s o p e r f o r m i n gc a l c u l a t i o n o n u m e r i c d a t a ( a c c u m u l a t i n g ) t h r e p o r t s y s t e m a u t o m a t i c a l l y a l l o c a t e s t w e l v e c h a r a c t e r s t t h n u m e r i c d a t a .T h d a t a i r i g h t j u s t i f i e d i t h t w e l v e c h a r a c t e r a r e a w i t h l e a d i n g s p a c e o m i n u s s i g n . T h i s w o r k s f i n e u t t h t i m e t h a ty o u w a n t t p r i n t t e n u m e r i c a r e a s o s i n g l e e i g h t y c h a r a c t e r l i n e ( 1 2 0 i s l i g h t l y l a r g e r t h a n 8 0 ) .

I y o e n t e r t h e f i e l d s i t h s t a n d a r d l e f t t o r i g h t f o r m a t , t h e f o l l o w i n g p a t t e r n w i l l s o o n d e v e l o p . .

d a t a o n : : 1 2 3 4 . 5 6d a t a t w o : : : : : - 1 2 3 . 5 0d a t a t h r e e : : 9 5 2 . 1 2

P r i n t l i n e : : : : : 1 2 3 4 : : : - 1 2 3 . : : : : : : 9 5 2 . 1 2 : : : : : : : : : : : :— 5 2 5 3 5 4

0 0

S i n c e m o s t r e p o r t s w o u l d l i k e t o i n c l u d e a l t h e d a t a p o s s i b l e , t h a b o v e p r i n t l i n e d o e s n o p r o v e a d e q u a t e . I f i n s t e a d o e n t e r i n g t h d a t a l e f t t o r i g h t , w s p e c i f y t h p r i n t p o s i t i o n s r i g h t t l e f t , w w i l l n o t l o o s e d a t a u n d e r n e a t h t h o v e r l a p i n gs p a c e s a s e e n b e l o w .

d a t a o n d a t a t w d a t a t h r e e

: 9 5 2 . 1 2: - 1 2 3 . 5 0

: : 1 2 3 4 . 5 6

P r i n t l i n e : : : : 1 2 3 4 . 5 6 : : - 1 2 3 . 5 0 : : : 9 5 2 . 1 2 : : : : : : : : : : : :3 5

0 0

T h T r a n s a c t o r 3

Page 34: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 34/84

T P U G L i b r a r yN a m i n g C o n v e n t i o n s M i k e D o n e g a n

B u r l i n g t o n , O n t .

A n y o n e w h h a b e e n i n v o l v e d w i t h m i c r o c o m p u t e r s i t h P r o g r a m N a m i n gl a s t y e a r o r t w o , h a s e x p e r i e n c e d t h c o n f u s i n g p r o b l e m o g e t t i n g d i s k o p r o g r a m s f r o m f r i e n d o c l u b a n t r y i n g t d e c i d e w h a t h g o t . F r e q u e n t l y t h n a m e o t h p r o g r a m i a n o b s c u r e r e f e r e n c e t t h o r i g i n a l a p p l i c a t i o n t h a t o n l y t h ea u t h o r k n o w s . B t h t i m e y o r e c e i v e t h c o p y , i h a b e e nm o d i f i e d m a n y t i m e s a n i v e r y c r y p t i c .

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

h a v e l i v e d w i t h t h i s p r o b l e m f o f e y e a r s . W h i l e l i v i n g i w e s t e r n C a n a d a , r e g u l a r l y t r a d e d , m o o t c h e d , b e g g e d , a n b o r r o w e d p r o g r a m s f r o m a l m e t . M p e r s o n a l c o l l e c t i o ns o o n g r e w t m a n y d i s k s . T h p r o b l e m w a t h a t w h e nw e n t t g e p r o g r a m , s p e n t m a n y h o u r s j u s t s o r t i n gt h r o u g h u n r e l a t e d v e r s i o n s . c o u l d n ' t r e m e m b e r t h s p e c i a ln a m e t h a t i h a d , o i w a s m i x e d u p w i t h v e r s i o n s w r i t t e nf o c o n f i g u r a t i o n d i d n ' t h a v e !

A s o n e o t h n e l i b r a r i a n s f o T P U G , f i n d t h p r o b l e mh a e s c a l a t e d . T h c l u b h a 6 c a t e g o r y d i s k s , m o r e t h a n 2 0m o n t h l y d i s k s , a n C o m m o d o r e h a s o v e r 5 e d u c a t i o n a ld i s k s . T h c l u b d e c i d e d i w a t o m u c h w o r k f o o n l i b r a r i a n . T h l i b r a r y n o h a t h r e e s e c t i o n s ; C r a i g B o n n e rf o V I C 2 0 p r o g r a m s , J i L a f o C 6 4 , a n I ' h a n d l i n gP E T / C B M . A o u f i r s t m e e t i n g , w d e c i d e d t u s n u m b e ro c o n v e n t i o n s t h e l p s o r t t h p r o g r a m s a n r e s u l t i n g d i s k s .

D i s k N a m e a n I

T h d i s k n a m e w o u l d b f o l l o w e d b p e r i o d ( l i k e f i l e n am e s ) a n c h a r a c t e r t i n d i c a t e t h e m a c h i n e t y p e o s p e c i a l g r o u p i n g o p r o g r a m s . T h d i s k I c o d e w o u l dr e m a i n t h s a m e a b e f o r e t h f i r s t c h a r a c t e r s h o w i n g t h s u b j e c t c a t e g o r y , f o l l o w e d b d i g i t f o r i t n u m b e r i t h s u b j e c t s e q u e n c e .

L i s t - M e P r o g r a mF i n a l l y , e a c h d i s k w o u l d h a v e L i s t - M e p r o g r a m , p r e f e r a b l ya t h f i r s t p r o g r a m o t h d i s k . T h c o n t e n t s w o u l d i n c l u d et h p r o g r a m d i r e c t o r y p l u s a d e s c r i p t i o n o e a c h p r o g r a m i R E s t a t e m e n t s .

T P U G a n m a n y o t h e r g r o u p s h a v e t r i e d t g e s o m er e a s o n a b l e d o c u m e n t a t i o n o n p r o g r a m s b u p r o g r a m m e r sa r c o n t r a r y a n v a r i e d g r o u p . T h o n l y c l u b t h a t k n o w

T h T r a n s a c t o r 3 A p r i l 1 9 8 3

Page 35: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 35/84

w i t h c o m p l e t e l i b r a r y d o c u m e n t a t i o n i W P U G ( W i n n i p e g )m a i n l y d u t t h d i l i g e n t w o r k o B o J o l l y . T h p r o b l e m i t h a t t h e c l u b d o e s n ' t h a v e t h e r e s o u r c e s t p r i n t m u l t i p l ec o p i e s o 7 o m o r e p a g e d i r e c t o r i e s .

T h T P U G l i b r a r i a n s w o u l d a p p r e c i a t e i t i f y o w o u l d a d t h e s e f e a t u r e s t y o u r p r o g r a m s , w i t h a n o t h e r d o c u m e n t at i o n b u i l t i n t o t h p r o g r a m . N o t e s a n i n s t r u c t i o n l i s t sf r e q u e n t l y g e s e p a r a t e d w h e n t h e y d o n ' t b e a r t h s a m en a m e s .

T h f o l l o w i n g a r t h c o d e s T P U G w i l l b u s i n g :

F i l e N a m e C o n v e n t i o n

p r o g r a m n a m e . V. . . . . . . , . . . 1

V I C P r o g r a m sC 6 P r o g r a m s4 0 C o l u m n P E T / C B M ( 9 'F a F o r t y P E T s8 C o l u m n C B G e n e r a l P E T / C B MS u p e r P E T ( S P 9 0 0 0 )

S e r i e s ( a v a i l a b l e s o o n )W o r d P r o c e s s i n g F i l e sD a t a o S e F i l e sM i s c . o r U n d e f i n e dL i s t - M e F i l e

c r t )

T h p r o g r a m C o p y - A l l f o t h C 6 w o u l d b e

C O P Y - A L L . C

D i s k I C o n v e n t i o n

D i s k I c h a r A A s s e m b l e r / M a c h i n e C o d eB B u s i n e s sC C o m m u n i c a t i o n sE E d u c a t i o nG x G a m e sL x L a n g u a g e sN M a t h / S c i e n c eS M u s i cT T P U G M o n t h l y d i s kU U t i l i t yZ M i s c e l l a n e o u s

. w h e r e i t h D i s k I D N u m b e r , 1 - 9 , A - Z , w i t h z e r or e s e r v e d f o f u t u r e u s a s e r i e s d i r e c t o r y .

D i s k N a m e C o n v e n t i o n

T h d i s k n a m e s u f f i x ( m a c h i n e t y p e ) w i l l b t h s a m e a p r o g r a m n a m e s u f f i x e s w i t h t h e s e a d d i t i o n s :

, C o m m o d o r e 6 , V I 2 . P E T / C B M. S u p e r P E T. O l T P U G d i s k s p r i o r t M a r c h 8

T h f i f t h a s s e m b l e r d i s k f o 4 C o l u m n P E T / C B M s w o u l db e

A s s e m b l e r * 5 . 4 ( w i t h i d : ) A

T h L i s t - M e f i l e f o r t h i s d i s k w o u l d b e

L i s t - M e 4 A 5 . L

T h r e a s o n f o c h o o s i n g t h i s f o r m a t i t h a t i p r o v i d e s f o s i m p l e m e t h o d o d o c u m e n t i n g d i s k t h a t i c o m p a t i b l ew i t h a l m a c h i n e t y p e s .

I a n y o n e h a a n i d e a s t i m p r o v e t h s u g g e s t i o n s m a d eh e r e , w i l l b h a p p y t h e a r t h e m . B u t h o v e r i d i n g i d e a i K I S S K e e p I S i m p l e S t u p i d . T h m e t h o d h a t b e a s y t r e m e m b e r a n i m p l e m e n t .

T h T r a n s a c t o r 3 A p r i l 1 9 8 3

Page 36: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 36/84

S w e e t S i x t e e n . . . J i B u t t e r f i e l dT o r o n t o , O n t .

I t ' s a a c c e p t e d f a c t t h a t e i g h t b i c o m p u t e r s a r m o r ep o w e r f u l t h a n f o u r - b i t t e r s , a n s i x t e e n b i u n i t s m o r e p o e r f u l t h a n e i g h t , a n s o o n .

T h q u e s t i o n t h a t b o t h e r s m i t h i s : d m o r e b i t s a l w a y sm e a n g r e a t e r c o s t - e f f e c t i v e n e s s ? T h a t ' s n o t t h e s a m e t h i n ga p o w e r : w e ' r e t r a d i n g c a p a b i l i t y a g a i n s t p r i c e . M o r e : w m u s t c o n s i d e r n o j u s t t h p r i c e o t h m i c r o p r o c e s s o r c h i p ,b u t h p r i c e o t h w h o l e s y s t e m .

s o m e t i m e s f e a r t h a t w e ' l l f a l l i n t o t h h i - f i f a l l a c y . H i g hf i d e l i t y w a r e p l a c e d b s t e r e o p h o n i c s y s t e m s . A b o u t t e y e a r s a g o , a n u m b e r o m a n u f a c t u r e r s s a i d , " W e l l , i t w s p e a k e r s a r b e t t e r t h a n o n t h e n f o u r s p e a k e r s m u s t b e v e n b e t t e r y e t " . A n t h u s n e q u a d r o p h o n i c i n d u s t r yt a p e s , t u r n t a b l e s , a m p l i f i e r s , s p e a k e r s a n e v e n q u a d h e a dp h o n e s w a b o r n . O r a t h e r s t i l l b o r n , s i n c e i n e v e r r e a l l yc a u g h t f i r e . Q u a d r o p h o n i c s y s t e m s r e a l l y d i s o u n d b e t t e r ;b u t t h e i m p r o v e m e n t w a s n ' t g o o d e n o u g h i v i e w o t h s u b s t a n t i a l e x t r a c o s t a n s p a c e r e q u i r e m e n t s .

W h a t I s I t ?

W e ' l l n e e d t d e f i n e t e r m s . T r u e s i x t e e n - b i t c o m p u t e r s a r t h o s e t h a t a c c e s s s i x t e e n b i t s o m e m o r y i s i n g l e c y c l e .T h e r e a r o n l y f e m i c r o p r o c e s s o r c h i p s t h a t d t h i s : t h b e s t k n o w n a r e t h e 6 8 0 0 0 , t h 8 0 8 6 a n t h Z 8 0 0 0 .

T h e r e ' s a n o t h e r c l a s s o m a c h i n e t h a t h a n d l e s 1 6 - b i t i n f o rm a t i o n i n t e r n a l l y , b u d i p s i n t o m e m o r y e i g h t b i t s a t i m e .T h e s e a r e o f t e n c a l l e d p s e u d o - 1 6 - b i t p r o c e s s o r s , a n t h e ya r n o n e w . T h R C C O S M A C f a l l s i n t o t h i s c a t e g o r y , f o e x a m p l e , a n i t ' s b e e n a r o u n d f o m a n y y e a r s . S o m e o t h e rp s e u d o - 1 6 ' s a r e t h e 6 8 0 9 a n t h 8 0 8 8 ( Y e s , t h I B P e r s o n a l C o m p u t e r i n o a t r u e 1 6 — b i t t e r ! )

T h e r e ' s m a j o r d i f f e r e n c e b e t w e e n t r u e a n p s e u d o . T h u l t i m a t e s p e e d o m a c h i n e d e p e n d s o n h o w m a n y d i p sm u s t b m a d e t m e m o r y t p e r f o r m g i v e n t a s k . T h i si n c l u d e s m e m o r y a c c e s s e s f o b o t h d a t a a n i n s t r u c t i o n s .W i t h e i g h t b i t s , y o g e o n l y h a l f a m a n y b i t s a t i m e ; y o n e e d t g t m e m o r y m o r e o f t e n .

B u t w e ' r e n o f u l l y f o l l o w i n g t h e 1 6 - b i t p h e n o m e n o n i w s i m p l y t r a c k t h s t r i c t d e f i n i t i o n . T h e r e a r t w o t h e r t h i n g sc o l o u r i n g t h p i c t u r e : b e t t e r i n s t r u c t i o n s e t s , a n g r e a t e rm e m o r y a c c e s s .

I n s t r u c t i o n S e t s a n M e m o r y A d d r e s s i n g .

I i n i c e t h a v e c h i p w i t h p o w e r f u l e x t r a i n s t r u c t i o n s . T h n e c h i p s w i l l p e r f o r m ( l i m i t e d ) m u l t i p l i c a t i o n a n d i v i s i o n ;t h e y h a v e m o r e s o p h i s t i c a t e d c o m p a r e a n d b r a n c h i n s t r u ct i o n s , a n w i d e c h o i c e o a d d r e s s i n g m o d e s .

T h T r a n s a c t o r 3 A p r i l 1 9 8 3

Page 37: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 37/84

Page 38: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 38/84

V I 2 S c r e e n C e n t e r i n g P e t e r J L e a rB u r l i n g t o n , O n t .

A r e y o u t i r e d o t u r n i n g o y o u r V I C a n t e l e v i s i o n a n n o s e e i n g t h w h o l e p i c t u r e ? Y o c o u l d o p e n u p e i t h e r t h V I o T a n m a k e i n t e r n a l a d j u s t m e n t s , b u t n o t t o o m a n yp e o p l e f e e l c o m f o r t a b l e d o i n g t h i s . T h a l t e r n a t i v e ? T e l l V I t m o v e o v e r !

T h a t ' s f i n e y o s a y , b u h o w ? W e l l , t h e V I h a t w m e m o r yl o c a t i o n s j u s t f o r t h i s . T h v e r t i c a l c e n t e r i n g i c o n t r o l l e d b l o c a t i o n 3 6 8 6 5 ( $ 9 0 0 1 ) a n t h e h o r i z o n t a l b 3 6 8 6 4 ( $ 9 0 0 0 ) .

W h a t v a l u e d o y o u p u i t h e s e l o c a t i o n s ? W e l l , t h a t ' sd i f f i c u l t t s a a e v e r y V I w i l l m a t c h u d i f f e r e n t l y w i t h t h v a r i o u s t e l e v i s i o n s o t h m a r k e t . Y o c o u l d a r b i t r a r i l yP E E K a n P O K E t f i n d t h p r o p e r v a l u e s , b u t h i s i c u m b e r s o m e . B e s i d e s , y o m i g h t e n u l o s i n g a l o t h s c r e e n . D o n ' t w o r r y t h o u g h , t h i s e f f e c t i n o p e r m a n e n t .S i m p l y u s t h R U N / S T O P R E S T O R E k e s e q u e n c e a n d t h s c r e e n w i l l r e t u r n t i t p o w e r u p o s i t i o n .

O y o c a s a v e y o u r s e l f a l t h a t t r o u b l e b e n t e r i n g P r g r a m 1 O n c e d o n e a n d c h e c k e d f o a c c u r a c y ( y o u m a w a n tt s a v e i f i r s t ) , R U i a n u s t h c u r s o r c o n t r o l k e y s( i n c l u d i n g s h i f t e d c o n t r o l s ) t a d j u s t y o u r s c r e e n . W h e ns a t i s f i e d w i t h t h e p o s i t i o n o t h s c r e e n , h i " H O M E " a n t h p r o g r a m w i l l g i v e y o u b a c k t h v a l u e s f o y o u r p a r t i c u l a rs e t u p . N e x t t i m e y o t u r n o y o u r V I ( o h i R U N / S T O PR E S T O R E ) , j u s t k e i t h e s e v a l u e s a n y o u r s c r e e n w i l l b c e n t e r e d .

I y o d o n ' t c a r e f o t h i s , t r P r o g r a m 2 T h i s i t h s a m et h i n g , o n l y i m a c h i n e l a n g u a g e . I m o v e s B A S I C u p a n dt h e r e f o r e i a c c e s s i b l e w h e n e v e r n e e d e d . A l y o u n e e d d o i r e f e r e n c e t h e c h a r t b e l o w t i n i t i a t e t h m a c h i n e l a n g u a g es u b r o u t i n e . I d o e s n o r e p o r t t h p o s i t i o n v a l u e s a s t h ep r o g r a m i a l w a y s a v a i l a b l e .

T e n t e r P r o g r a m 2 y o c a u s a n o t h m a c h i n el a n g u a g e m o n i t o r s f o t h e V I C , o r u s P E T / C B M w i t h t h b u i l t i m o n i t o r a n e n t e r P r o g r a m 2 B I t h i n t e r e s t o fs t a n d a r d i z i n g t h i n g s o t h V I C , r e m o v e a n m e m o r y c a t r i d g e s b e f o r e t y p i n g i i n Y o c a d i w i t h e x t r a m e m o r y ,b u t t h i n g s c h a n g e w i t h e x t r a m e m o r y t h a t w i l l a f f e c t t h i sp r o c e d u r e . O n c e i h a b e e n S A V E d p r o p e r l y , a n y V I C w i t ho w i t h o u t e x t r a m e m o r y c a u t i l i z e t h p r o g r a m .

I y o u ' r e u s i n g V I C , e n t e r t h m o n i t o r w i t h S Y 1 a n t y p e :

0 0 2 b 0 0 3 2 < r e t u r n >

C h a n g e t h v a l u e s s h o w n t r e a d :

0 0 2 b 0 1 e 1 e 0 0 3 0 1 e 1 0 1

T h i s p r o c e d u r e s e t s t h E n o B A S I C p o i n t e r s u c h t h a tS A V E w i l l s t o r e o u p r o g r a m c o r r e c t l y . N o t y p e i P r o g r a m

T h T r a n s a c t o r 3 A p r i l 1 9 8 3

Page 39: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 39/84

2 A E x i t t h m o n i t o r a n c h e c k f o e r r o r s w i t h t h e f o l l o w i n g O n c e a g a i n , t h e s e s t e p s s e u t h p r o p e rl i n e :

f o r i 4 0 9 6 t o 4 3 2 7 : x

p o i n t e r s f o S A V El a t e r o n T y p e i P r o g r a m 2 B e x i t t h m o n i t o r , a n u s f o l l o w i n g t c h e c k f o e r r o r s :

p e e k ( i ) : n e x t p r i n tf o 1 0 2 4 t 1 2 5 5 p e e k ( i ) :

Y o s h o u l d g e t a v a l u e f o b a c k o 2 1 7 8 6 . I n o t , r e - e n t e r t h em o n i t o r a n l o o k f o r e r r o r s . O n c e c o r r e c t , S A V E i a s I y o u d o n o g e b a c k 2 1 7 6 2 , r e - e n t e rn o r m a l p r o g r a m w i t h :

n e x t : p r i n t

t h m o n i t o rc h e c k f o r e r r o r s . W h e n t h p r o g r a m i a l c l e a n , S A V E i t c a n o t r i o u o V I C .

s a v e s c r e e n c e n t e r "

V e r i f y i a n y o u ' r e r e a d y t

I e n t e r i n g o P E T / C B M ,a n t y p e :

0 0 2 8 0 0 2 e

C h a n g e t h g i v e n v a l u e s t

0 0 2 8 0 0 e

T a b l er u n .

V I S e t u p T A c c e s s :g i n t o t h m o n i t o r w i t h S Y n c a r t r i d g e s S Y

3 c a r t r i d g e S Y 8 o m o r e S Y

< r e t u r n >

r e a d :

0 4 e 8 0 4 e 8 0

P r o g r a m I B A S I C V e r s i o n

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

r e v i 2 s c r e e n c e n t e r i n gr e b p e t e r l e a rh v 2 p o k e 3 6 8 6 4 , h p o k e 3 6 8 6 5 , v i p e e k ( l 9 7 2 a n p e e k ( 6 5 3 ) t h e n h z h i h 6 t h e n h i f p e e k ( 1 9 7 ) = 2 3 a n d p e e k ( 6 5 3 ) = l t h e n h z = h z - l : i f h z = - l t h e n h z 6 i p e e k ( l 9 7 ) 3 a n p e e k ( 6 5 3 ) t h e n v v i v 1 2 8 t h e n v i p e e k ( 1 9 7 ) 3 a n p e e k ( 6 5 3 ) = t h e n v v t - l i v - t h e n v t 1 2 i f p e e k ( 1 9 7 ) 6 2 t h e n 2 0 0g o t o 1 3 f o t 1 0 g e a n e x t r e c l e a r k e y b d q u e u ep r i n t " t c e n t e r s c r e e n : " p r i n tp r i n t p o k e 3 6 8 6 4 , " ; p e e k ( 3 6 8 6 4 )p r i n t p o k e 3 6 8 6 5 , " ; p e e k ( 3 6 8 6 5 )

4 2 3 01 1 5 84 7 4 2

t h

a n Y o

T h T r a n s a c t o r 3 A p r i l 1 9 8 3

Page 40: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 40/84

P r o g r a m 2 A V I 2 H e D u m p P r o g r a m 2 B P E T / C B M H e D u m p

m l 0 0 0 1 0 6 C1 0 0 01 0 0 51 0 0 al O O f1 0 1 41 0 1 9l O l e1 0 2 31 0 2 81 0 2 d1 0 3 21 0 3 71 0 3 c1 0 4 11 0 4 61 0 4 b1 0 5 01 0 5 51 0 5 a1 0 5 f

0 9 1 1 I 4 4 2 I

4 5 4 5 2 2 a 2 0 e 3

3 2 1 1 I 4 4 3 I 5 4 4 1 c a c a 0 2 a

1 0 6 4 1 0 c 31 0 6 41 0 6 91 0 6 e1 0 7 31 0 7 81 0 7 d1 0 8 21 0 8 71 0 8 c1 0 9 11 0 9 61 0 9 bl O a O1 0 a 5l O a al O a f1 0 b 41 0 b 9l O b e1 0 c 3

a a a a a 2 8 f f c 0 d c 4 9 a d 0 c a

4 4 5 O 0 a 2 a - c a d O 0 e c 0 0 8 c 0

m 1 0 c 8 1 0 e 71 0 c 8l O c d1 0 d 21 0 d 7l O d cl O e l1 0 e 6

d 0 I

9 a 0 ! )

0 8 d c 0 9 6

1 9 1 I

5 4 5 9 I 2 5 5 6

6 1 1 I 4 2 4 2 I 5 2 2 0

2 8 3 43 2 3 52 3 3 0 e 0

8 8 8 8 8 0 e f d 8 2 a d 0 I

9 a 0 1

9

a 0 O 8 6 c 0

3 e 3 6

7 7 7 7 c a 2 8 f 0 c 0 0 8 d c 8 9 d c

0 9 a d 0 3

< r e t u r n >0 1 1 I 5 4 5 1 I 1 4 0 9 3 3 3 2 2 e f 2

< r e t u r n >0 0 0 0 c 0 a d a e 1 9 a 0 3 0 e 1 O 4

< r e t u r n >6 c 0 0 8 d

0 0 0 0

. m 0 4 0 0 0 4 7 8. 0 4 0 0 0 0 3 c 0 . : 0 4 0 8 1 1 1 1 1. 0 4 1 0 1 1 I d I d. 0 4 1 8 5 4 5 4 5. 0 4 2 0 5 4 5 . 0 4 2 8 I d I d I d. 0 4 3 0 5 4 5 . 0 4 3 8 4 5 2 . : 0 4 4 0 9 e 2 8 c 2. 0 4 4 8 3 3 3 . : 0 4 5 0 2 9 a a 3 8. : 0 4 5 8 e 6 2 c e 6. : 0 4 6 0 a 9 0 6 , : 0 4 6 8 0 2 a 9 4 . : 0 4 7 0 8 d 7 9 0 , : 0 4 7 8 a 9 0 8 . 0 4 8 0 0 4 e 0

0 4 8 0 a 0 8 0 4 8 8 a f 8 0 4 9 0 a c a 0 4 9 8 2 c O 1 70 4 a 0 c 0 d 0 4 a 8 8 d 0 0 9 00 4 b 0 0 9 c 0 4 b 8 e 9 0 8 0 4 c 0 1 7 d O O e0 4 c 8 d O 0 2 a 90 4 d 0 9 0 c 0 I 0 4 d 8 c 8 d 0 4 e 0 8 d 0 1 9

< r e t u r n >6 4 0 0 9 9 2 2 9 31 1 1 1 1 1 1 I I I 5 3 4 34 2 4 3 4 5 4 e2 2 3 a 9 2 1 I d I d 4 5 9 2 04 5 2 4 4 0 5 0 6 0 2 3 3 3 2 9 a a c c 2 2 3 3 3 7 2 9 0 0 0 0 0 02 e 3 e 3 2 c a 9 4 8 7 8 7 0 2 a 9 5 7a O 8 7 0 c 6 c 6 2 a 0

< r e t u r n >2 e 2 a f d f c d f 8 d 0 2 e 0 0 d d O a 0 9 0 a 4 e 0 c I d O 3 4 a d0 0 d O 0 2 a 9 8 0 9 1 0 c 7 c Oa 0 0 9 0 c 4 0 6 0 8 d 0 0d O e a d 0 9 0 a 0 6 0 c 3 d 9 6

T h T r a n s a c t o r 3 A p r i l 1 9 8 3

Page 41: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 41/84

C a t s t r a p o l a t o r

W r i t i n g d i s k b a s e d s o f t w a r e ? O f t e n y o u ' l l w a n t t e x t r a p ol a t e s o m e i n f o r m a t i o n f r o m y o u r d i r e c t o r y o r C a t a l o gh e n c e t h n a m e " C a t s t r a p o l a t o r " .

T h i s m i g h t b e d i s k n a m e , I D f i l e t y p e , o e v e n b l o c k s f r e e .P r o g r a m s t o b t a i n t h i s i n f o r m a t i o n f r o m t h e d i s k u n i t h a v eb e e n p u b l i s h e d i t h p a s t , b u t t h e y u s u a l l y r e a d i d i r e c t l yf r o m d i s k m e m o r y . W i t h s m a n y d i s k o p e r a t i n g s y s t e m sr e l e a s e d , n e v e r s i o n w a n e c e s s a r y f o e a c h . T h i s o n i u n i v e r s a l .

C a t s r a p o l a t o r g o e s a f t e r t h d i s k d i r e c t o r y t h r o u g h S e c o n da r A d d r e s s 0 S i r e s e r v e d b t h D O f o p r o g r a ml o a d i n g a n i a l s o u s e d f o " l o a d i n g " t h e d i r e c t o r y ( i e .L O A D $ , 8 ) . W h e n t h D O s e e s s i g n a s t h f i r s tc h a r a c t e r o t h f i l e n a m e i L O A D c o m m a n d , t h i n f o r m at i o n i t h e d i r e c t o r y i m a n i p u l a t e d b y t h D O i n t o a f o r m a tc o m p a t i b l e w i t h L I S T . T h u s , t h c o m m a n d :

O P E N 1 , 8 , 0 , " $ 0 "

c a u s e s t h e d i s k t d e l i v e r c a t a l o g d a t a t h s a m e w a i w o u l df o L O A D " $ 0 " , 8 .

F o r t u n a t e l y , C o m m o d o r e h a m a i n t a i n e d f a i r l y c o n s i s t e n tc a t a l o g f o r m a t w h i c h m a k e s C a t s t r a p o l a t o r u n i v e r s a l f o a l d r i v e s i n c l u d i n g 4 0 4 0 , 2 0 3 1 , 8 0 5 0 , 8 2 5 0 , 9 0 6 0 / 9 0 , a n 1 5 4 0 / 4 1 . T h o n l y n o n - u n i v e r s a l p a r t i t h s t r i n g i n p u t

r o u t i n e h e l d i t h d a t a s t a t e m e n t s a t h s t a r t o t h p r o g r a m . T h i s i a c t u a l l y J i B u t t e r f i e l d ' s U n i v e r s a l S t r i n gT h i n g b u e v e n t h i s i n o u n i v e r s a l b e t w e e n V I C / 6 4 s a n P E T / C B M s . I y o u ' r e a l r e a d y u s i n g t h i s u t i l i t y s o m e w h e r ee l s e i y o u r p r o g r a m , o n l y l i n e s 1 9 o n w a r d w i l l g e s l i p p e di n O t h e r w i s e , V I C / C 6 4 u s e r s w i l l r e p l a c e l i n e s 1 3 0 - 1 7 0w i t h t h e s e p a r a t e s u b - l i s t i n g s h o w n .

P r o g r a m O p e r a t i o n

C a t r a p o l a t o r w i l l w o r k a l b i t s e l f a s h o w n , b u i w a m e a n t t b e u s e d a s s u b r o u t i n e . Y o c a e v e n r e m o v ep a r t s t h a t r e t u r n i n f o r m a t i o n y o m a n o b i n t e r e s t e d i n s u c h a f i l e t y p e ( i P R G , S E Q , e t c . ) .

L i n e 1 8 0 s h o u l d b i n c l u d e d w i t h t h s u b r o u t i n e s t h a t i i e x e c u t e d o e a c h c a l l . M a k e s u r e n o n e o t h e s e v a r i a b l e s a r eu s e d e l s e w h e r e i y o u r p r o g r a m s a n o t d i s t u r b t h e m .

L i n e s 1 9 0 - 2 1 0 i n p u t i n f o r m a t i o n t h a t w o u l d n o r m a l l y b p a s s e d t t h r o u t i n e , i w h i c h c a s e 1 9 0 - 2 1 0 w o u l d b o m i t t e d . F ! $ i t h t a r g e t f i l e n a m e . T h i s i t r a n s f e r r e d t P T f o t h O P E N c o m m a n d . H o w e v e r , i F l i n u l l , P T i s e t t o" n p a t t e r n " , a f i l e n a m e t h a t p r o b a b l y d o e s n o e x i s t , a n o n l y b l o c k s f r e e w i l l b r e p o r t e d . I F I I p a s s e d , B w i l l b s e t t o t h n u m b e r o b l o c k s u s e d b y F I $ , b u o n l y i i i i t h d i r e c t o r y . I n m a t c h i f o u n d , B w i l l r e m a i n z e r o .

T h T r a n s a c t o r 3 A p r i l 1 9 8 3

Page 42: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 42/84

F I m a e v e n c o n t a i n p a t t e r n m a t c h i n g c h a r a c t e r s . F o e x a m p l e , i F I $ = " C A T * " a l d i s k f i l e s s t a r t i n g w i t h C A w i l l b r e p o r t e d , B w i l l r e t u r n t h e b l o c k s u s e d b t h l a s tm a t c h , a n B w i l l b t h n u m b e r o b l o c k s u s e d b t h f i r s tm a t c h . L i k e w i s e , F a n d F T $ w i l l b t h f i l e n a m e a n t h f i l e t y p e l a s t m a t c h e d w i t h F F a n F l c o n t a i n i n g t h f i l e n a m e a n t y p e o t h f i r s t m a t c h . B w i l l a l w a y s r e t u r nB l o c k s F r e e .

M o d i f i c a t i o n s

L i n e s 2 4 0 - 3 0 0 r e t u r n t h d i s k n a m e a n I D I t h i s i t h o n l y i n f o y o u ' l l n e e d t e x t r a p o l a t e , s i m p l y o m i t l i n e s3 1 0 - 5 4 0 .

S e v e r a l o t h e r f e a t u r e s o f t h i s s u b r o u t i n e c a a l s o b s k i p p e di t h e y w o n ' t b n e c e s s a r y o j u s t t o r e d u c e s p a c e c o n s u m pt i o n . I y o w o n ' t b c o n c e r n e d w i t h b l o c k s u s e d b f i l e , i t ' s

a c t u a l f i l e n a m e ( i p a t t e r n m a t c h i n g c h a r a c t e r s a r e p r e s e n t )a n f i l e t y p e s , t h e n o m i t 3 6 0 - 4 6 0 , 4 9 0 , 5 0 a n m o v e l i n e5 4 u t 5 2 0 . T h i s v a r i a t i o n w i l l o n l y g e b a c k B l o c k s F r e e .M a n y c o m b i n a t i o n s a r p o s s i b l e . . y o c a d e c i d e w h i c hy o n e e d m o s t .

Y o m a h a v e n o t i c e d t w t e s t s o S T t h s t a t u s v a r i a b l e . I t h p r o g r a m i e n t e r e d i i t e n t i r e t y , t h t e s t a l i n e 4 8 c a b l e f t o u t . S w i l l b e c a u g h t i 3 9 u n l e s s 3 9 i r e m o v e d .

T e c h n i c a l i t i e s

T h o s e P O K E s s c a t t e r e d a b o u t t h p r o g r a m a r c h a n g i n g t h m a c h i n e c o d e i t s e l f . Y o u ' l l n o t i c e t h a t t h P O K E s a r d r e c t e d r i g h t a t h m a c h i n e c o d e , w h e r e t h t e s t f o " d e l i mi t e r r e c e i v e d ? " i p e r f o r m e d . B c h a n g i n g t h d e l i m i t e rc h a r a c t e r , t h p r o g r a m c a i n c h i t w a a l o n g f r o m o n p a r to t h d i r e c t o r y t t h n e x t .

T h d e l i m i t e r i i n i t i a l l y a C a r r i a g e R e t u r n a s e u i t h m a c h i n e c o d e . L i n e 2 4 0 c h a n g e s i t q u o t e . W h e n t h i n p u t r o u t i n e i c a l l e d i 2 5 0 , t h c h a r a c t e r s u t a n i n c l u d i n g t h f i r s t q u o t e i t h d i s k h e a d e r a r e s s e n t i a l l y" s t r i p p e d o f f " . I m m e d i a t e l y f o l l o w i n g i t h D i s k N a m ew h i c h i r e t r i e v e d b t h s e c o n d S Y M C

A f t e r t h I i o b t a i n e d , t h e d e l i m i t e r i c h a n g e d t z e r os i n c e t h i s w i l l m a r k t h e n o t h h e a d e r l i n e .

T h B l o c k s U s e d b s p e c i f i c f i l e s a r r e a d b y t w o G E T * s a f t e rt h l i n e l i n k s a r e s t r i p p e d ( a l s o w i t h t w G E T * s ) . F o l l o w i n gt h i s , t h e d e l i m i t e r i c h a n g e d b a c k a n f o r t h f r o m 3 ( q u o t e )t z e r o f o r e a d i n g f i l e n a m e s a n f i l e t y p e s .

B e f o r e e x i t i n g , t h e d e l i m i t e r i s e b a c k t C a r r i a g e R e t u r nf o r l a t e r u s e .

S u m m a r y

U s i n g t h i s s u b r o u t i n e c a n b e i n v a l u a b l e t B u s i n e s s s o f tw a r e p r o g r a m m e r s . t r u l y s m a r t p r o g r a m c o u l d d e t e r m i n ei t h e r e ' s e n o u g h r o o m o t h e d i s k t u p d a t e f i l e b c o m p a r i n g t h n u m b e r o b l o c k s i u s e s t B l o c k s F r e e . A l s o ,

p r o g r a m c o u l d d e c i d e i t h c o r r e c t d i s k e t t e h a b e e ni n s e r t e d b e x a m i n g t h I o r d i s k n a m e .

A d m i t t e d l y , C a t s t r a p o l a t o r i d e p e n d e n t o J i m ' s m a c h i n ec o d e i n p u t r o u t i n e , b u n d o u b t , S t r i n g T h i n g c o u l d f i n di t s e l f a n o t h e r u s i d i f f e r e n t s e c t i o n o t h h o s t p r o g r a m .

F i n a l l y , m o s t o t h P R I N T s t a t e m e n t s w i l l p r o b a b l y b er e m o v e d w h e n t h s u b r o u t i n e i i n s e r t e d , m a k i n g i m u c hs h o r t e r t h a n i l o o k s . Y o m i g h t a l s o c o m b i n e s e v e r a l o t h s i n g l e l i n e s .

S t r i n g T h i n g V I 2 C o m m o d o r e 6 4 V e r s i o n

1 3 d a t a 1 6 0 , 2 , 1 7 7 , 4 5 , 1 5 3 , 1 3 7 , 0 , 2 0 0 , 1 9 2 , 6 , 2 0 8 , 2 4 6 , 1 6 2 ,1 4 d a t a 3 2 , 1 9 8 , 2 5 5 , 3 2 , 2 2 8 , 2 5 5 , 2 0 1 , 1 3 , 2 4 0 , 1 5 , 1 6 4 , 1 4 2 , 1 4 5 , 1 4 01 5 d a t a 2 0 0 , 1 3 2 , 1 4 2 , 1 9 6 , 1 3 9 , 2 4 0 , 4 1 6 5 , 1 4 4 , 2 4 0 , 2 3 4 , 7 6 , 2 0 4 , 2 5 51 6 r e s t o r e f o m t m e 4 r e a d x p o k e j n e x t1 7 i t < > 6 1 2 0 t h e n p r i n t " t y p o i d a t a " s t o p

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 43: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 43/84

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

i $ = " a b c d e f g h i j k l m n o p s t u v w x y z l 2 3 4 r e i m u s t b 1 s v a u s e di i j i r e e s t a b l i s h i n p u t b u f f e rm 8 9 r e m a c h c o d ed a t a 1 6 0 , 2 1 7 7 , 4 2 , 1 5 3 , 1 8 4 , 0 2 0 0 , 1 9 d a t a 1 3 2 , 1 9 8 , 2 5 5 , 3 2 , 2 2 8 , 2 5 5 , 2 0 1 , 1 d a t a 1 4 5 , 1 8 7 , 2 0 0 , 1 3 2 , 1 8 9 , 1 9 6 , 1 8 6 , 2 0 8 , 2 3 r e s t o r e f o m t m 3 r e a d x p o k e j i t < > 5 7 6 7 t h e n p r i n t " t y p o i d a t a " s t o pz c h r $ ( 0 ) : p t $ = n p a t t e r n b = b i n p u t d i s p l a y b l o c k s u s e d b y f i l e : " ; f i $i n p u t o d r i v e : " ; d i n p u t o d e v i c e : " ; d i f i $ < > " " t h e n p t f i

2 3 0 o p e n l , d v , 0 " $ + m i d $ ( s t r $ ( d r ) , 2 ) + " : + p t $2 4 2 5 2 6 2 7 2 8 2 9 3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 4 0 4 1 4 2 4 3

p o k e m e 2 1 3 s y m s y m d n l e f t $ ( i $ , p e e k ( 1 8 9 ) )g e t # l , a $ , a $ , b i d a b p r i n t " d i s k n a m e ; d n $p r i n t " d i s k i ; i d $p o k e m e 2 1 s y m g e t * l , w $ , w g e t * l , a $ , b b a s c ( a $ z $ a s c ( b $ z $ ) * 2 5 6i b = t h e n b b p o k e m e 2 1 3 s y m i s t h e n 5 2 s y m f l e f t $ ( i $ , p e e k ( 1 8 9 ) )i f f f $ = " t h e n f f f p o k e m e 2 1

4 4 s y m 4 5 4 6 4 7 4 8 4 9 5 0 5 1 5 2 5 3 5 4 5 5 5 6 5 7

f t r i g h t $ ( l e f t $ ( i $ , p e e k ( l 8 9 ) - l e n ( s t r $ ( b f ) ) ) , 3 )i f f l $ = " " t h e n f l f t g e t # l , w $ w i s t h e n 5 2 b b p r i n t " b l o c k s u s e d b y " f t $ " f i l e " f $ " ; b g o t o 3 4 i b t h e n p r i n t " b l o c k s u s e d b s " f $ f i l er e p r i n t a b o v e o n l y i b w a s e ( b l o c k s u s e d )p r i n t " b l o c k s f r e e ; b c l o s ep o k e m 2 1 1 e n r e t u r n

s t a r t a d d r6 , 2 0 8 , 2 4 6 , 1 6

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

f "

r e r e r e r e r e r e

r e r e r e r e r e r e r e r e r e r e r e r e r e r e r e r e r e r e r e

f $

r e r e r e

n e x t

: f l $ = "

s m u s tm a k e i n p u t d e l i m i t e r q u o t es t r i p t o 1 s t , i n p u t t 2 n d i s k n a m e s t r i n gf i r s t a i w a s t ed i s k i n e x t t w

m a k e i n p u t d e l i m i t e r ( e n d o l i n e )s t r i p r e s t o h e a d

w a s t e b y t e sf i l e b l o c k s o b l o c k s f r e ec a l c u l a t e b l o c k c o u n tb l k c n t f o r 1 s t m a t c h s e o n c e o n l ym a k e i n p u t d e l i m i t e r a q u o t es t r i p t f i r s t q u o t en q u o t e b e f o r b l k s f r e e , m u s t e n i n p u t u t n e x t q u o t e ( f i l e n a m e )1 8 h o l d s l e n g t h o v a l i d i n p u tf f f i r s t f i l e n a m e m a t c hm a k e i n p u t d e l i m i t e r a g a i ng e r e m a i n i n g t e x t r a c tf i l e t y p ef l f i l e t y f o r 1 s t m a t c hw a s t e t w m o r ee n o f i l e , g p r i n t b l k s f r e e

. o n l y i f i l e m a t c h f o u n d

b

c l o s e d i m a k e i n p u t d e l i m i t e r c a g a i nr e m o v e e n f o s u b r o u t u s

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 44: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 44/84

M a k i n g F r i e n d s W i t h S i P a u l H i g g i n b o t t o mP a r t T o r o n t o , O n t .

H e l l o a g a i n . L a s t i s s u e , w g o a c q u a i n t e d w i t h s o m e o t h v a r i o u s t e r m s a n p a r t s o t h S I c h i p . W e ' r e n o e q u i p p e d t l e a r n s o m e m o r e a d v a n c e d t h i n g s a b o u t t h s y n t h e s i z e r , a s w e l l a m o r e a d v a n c e d t e c h n i q u e s t f u l l yu t i l i z e w h a t w h a v e a l r e a d y l e a r n e d , t o f o e x a m p l e ,p r o d u c e m o r e t h a n o n n o t e s i m u l t a n e o u s l y , a n t h e n , t c r e a t e s o f t w a r e t h a t c a p l a y a c t u a l p i e c e s o m u s i c .

S t h e r e a r e , i f a c t , t w a r e a s t h a t t h i s a n s u b s e q u e n ta r t i c l e s p l a n t d e a l w i t h :

1 D e f i n e t h c a p a b i l i t i e s o S I

v a r y i n g d e g r e e s a b o v e , b e l o w o a r o u n d g i v e n ' C U T O F F 'f r e q u e n c y . H o w e v e r , d o n ' t w o r r y a b o u t u n d e r s t a n d i n g t h i sc o n c e p t f u l l y y e t , s i n c e t h i s i s s u e w o n ' t u s e t h f i l t e r i n gc a p a b i l i t i e s o f t h e S I D . s i m p l y w a n t e d t m a k e y o u a w a r e o t h i s f e a t u r e i t h e S I D , s o y o w o n ' t b e t a k e n b s u r p r i s e i t h f u t u r e !T b e g i n w i t h , l e t ' s t r y t o e m u l a t e o n o t h s i m p l e s ts o u n d s : p i a n o . W h e n p i a n o k e y i s t r u c k , t h s o u n db e g i n s i m m e d i a t e l y , a n t h e n f a d e s a w a y i a b o u t t w s e c o n d s i t h k e i h e l d d o w n . I t h k e i r e l e a s e d b e f o r et h s o u n d h a f a d e d a w a y , i w i l l f a d e m u c h m o r e r a p i d l y , i s a y , h a l f s e c o n d .

2 E x p l a i n s o m e s o f t w a r e t e c h n i q u e s t m a k e S I p e r f o r m . T r y t h i s p r o g r a m :

T h i s t i m e , I ' l i k e t o p u s o m e o t h l a s t a r t i c l e ' s t h e o r y i n t op r a c t i c e , b g i v i n g s o m e p a r a m e t e r s f o t h S I D , w h i c h w i l lm a k e i s o u n d s i m i l a r t m u s i c a l i n s t r u m e n t s . t h i n k t h i sw o u l d b u s e f u l , s t h a t y o w i l l b a b l e t s e t h a t m u s i cs y n t h e s i z e r i n o l i m i t e d t b e e p s a n p o p s , a n o t h e rs o u n d s f r o m t e l e v i s i o n s h o w s l i k e " T h e T w i l i g h t Z o n e " !

I t h l a s t a r t i c l e , t h v a r i o u s p a r a m e t e r s o v o i c e w e r eo u t l i n e d , e x c e p t f o t h f i l t e r i t h S I D . E s s e n t i a l l y , t h f i l t e rw i l l ( a i i m p l i e d ) f i l t e r t h s o u n d o u t p u t f r o m a n o t h v o i c e s i n u m b e r o w a y s . T h a c t u a l t e r m ' f i l t e r i n g 'm e a n s t h a t t h s o u n d i c h a n g e d b q u i e t e n i n g t h v o i c e t

1 0 s i d 5 4 2 7 22 f o t 2 p o k e s i i n e x t3 p o k e s i d + 2 4 , 1 54 p o k e s i d + 5 1 5 p o k e s i d + 6 6 0 k e y 1 9 7 p o k e s i 1 1 8 g e a i a " g o t o 8 9 p o k e s i d + 4 3

1 0 i p e e k ( k e y ) < > 6 4 g o t o 8 1 1 p o k e s i d + 4 3 1 2 g o t o 8

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 45: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 45/84

E x p l a n a t i o n o P r o g r a m :

L i n e 1 d e c l a r e s t h e v a r i a b l e S I t t h s t a r t l o c a t i o n o t h S I c h i p .

L i n e 2 P O K E ' S a l t h S I l o c a t i o n s w i t h z e r o t i n i t i a l i z et h c h i p .

L i n e 3 s e t s S I r e g i s t e r 2 t o 1 5 , w h i c h s e t s t h e c h i p t m a x i m u m v o l u m e .

L i n e 4 s e t s S I r e g i s t e r t o 1 0 , w h i c h m a k e s t h a t t a c k o v o i c e o n 0 a n t h d e c a y v a l u e 1 0

L i n e 5 s e t s S I r e g i s t e r t 9 w h i c h m a k e s t h e s u s t a i n o v o i c e o n 0 a n t h r e l e a s e v a l u e 9

L i n e 6 d e c l a r e s t h e v a r i a b l e K E t t h e z e r o p a g e m e m o r yl o c a t i o n w h i c h h o l d s t h e k e y b o a r d m a t r i x n u m b e ro t h c u r r e n t k e d e p r e s s e d , o 6 i n k e y .

L i n e 7 0 s e t s S I r e g i s t e r t 1 6 w h i c h s e t s t h h i g h o r d e rb y t e o t h f r e q u e n c y o v o i c e ( t h e r e f o r e , f r q u e n c y o v o i c e 1 6 * 2 5 6 ) ( s e e l a s t a r t i c l e f o re x p l a n a t i o n o ' l o w ' a n ' h i g h ' b y t e s ) .

L i n e 8 w a i t s f o k e y , b G E T t i n g k e y p r e s s f r o m t h k e y b o a r d , a n I t h k e y p r e s s i n u l l , i e . , n k e h a b e e n p r e s s e d , t h e p r o g r a m w i l l G O T O t h s a m e l i n e a n d k e e p w a i t i n g .

L i n e 9 s e t s S I r e g i s t e r w i t h 3 3 w h i c h g a t e s v o i c e o w i t h a t r i a n g u l a r w a v e f o r m ( s e e l a s t a r t i c l e f o re x p l a n a t i o n [ 3 3 2 + 1 ] )

L i n e 1 0 0 c h e c k s t s e i k e i s s t i l l d e p r e s s e d ( a w i t hp i a n o ) , a n i i i s ( i e . , l o c a t i o n K E i s t i l l s o m et h i n g o t h e r t h a n 6 4 ) , t h p r o g r a m w i l l G O T O t h s a m e l i n e a n c h e c k a g a i n .

L i n e 1 1 s e t s S I r e g i s t e r w i t h 3 2 w h i c h g a t e s v o i c e o f n o t h a t n k e i d e p r e s s e d o t h k e y b o a r d , s t i l lw i t h a t r i a n g u l a r w a v e f o r m .

L i n e 1 2 0 s i m p l y g o e s b a c k t o l i n e 8 t a l l o w t h p r o g r a m t c o n t i n u e i n d e f i n i t e l y ( t s t o p t h p r o g r a m , t h S T O P k e m u s t b p r e s s e d ) .

S o m e t h i n g w h i c h o u g h t t b e u n d e r s t o o d h e r e , i t h f a c tt h a t w h e n v o i c e i g a t e d o f f , i e . r e l e a s e d , t h e n v e l o p eR E L E A S E S f r o m W H E R E V E R i h a r e a c h e d . P r o b a b l yd i a g r a m w o u l d b t h b e s t w a t s h o w t h i s :

E x a m p l e :

A t t a c k = 5 D e c a y = 5 S u s t a i n = 1 0 ,R e l e a s e = 8

i e 5 m i l l i s e c o n d s .i e 1 6 m i l l i s e c o n d s .i e t w t h i r d s o m a x i m u m v o l u m ei e 7 5 m i l l i s e c o n d s .

M a x i m u mV o l u m e

S i a n a l -

G a t e d o

' D e c a y R e l e a s e -7 5 0 m s5 6 m s 1 6 8 m s

N o u s i n g t h s a m e p a r a m e t e r s , o n l y g a t i n g t h e v o i c e o f ( i e . r e l e a s i n g ) a d i f f e r e n t p o i n t :

M a x i m u mV o l u m e

S i c n a l -

A t t a c k5 6 m s

R e l e a s e7 5 0 m s

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 46: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 46/84

H e r e , i c a n b e s e e n t h a t t h v o i c e w a g a t e d o f ( i e .r e l e a s e d ) , b e f o r e t h e e n v e l o p e h a d d e c a y e d t i t s u s t a i n e dl e v e l , b u w h e n t h v o i c e w a r e l e a s e d , i s i m p l y r e l e a s e df r o m t h p o i n t i h a r e a c h e d .

T h i s r e l a t e s t t h p r o g r a m y o u j u s t e n t e r e d , b e c a u s e i u s e st h i s f a c t t o s i m u l a t e t h ' f e e l ' o p i a n o k e y b o a r d . T h a t i s a s o o n a y o r e l e a s e t h e k e o t h k e y b o a r d , t h e n v e l o p ew i l l b e g i n i t r e l e a s e c y c l e w h i c h i s e a 9 o n l e s s t h a n t h d e c a y v a l u e ( 1 0 ) , g i v i n g t h s a m e r e s p o n s e a p i a n o k e y ,b f a d i n g a w a y q u i c k e r o n c e t h k e i r e l e a s e d . O c o u r s et h f o r c e w i t h w h i c h t h k e i h i i t h f i r s t p l a c e , w h i c h o n

p i a n o g i v e s t h e i n i t i a l v o l u m e , c a n n o t b e s i m u l a t e d h e r e ,b e c a u s e k e o a n y c o m p u t e r k e y b o a r d , i e i t h e r D O W N ,o U P t h s p e e d o t r a n s i t i o n c a n n o t b e d e t e c t e d .

S i m i l a r l y , i v o i c e i g a t e d o b e f o r e t h e r e l e a s e c y c l e h a f i n i s h e d , t h a t t a c k w i l l b e g i n f r o m w h e r e v e r t h e n v e l o p ec u r r e n t l y i ( i e . t h c u r r e n t o u t p u t v o l u m e ) . T s e t h i s m o r ec l e a r l y , e n t e r t h f o l l o w i n g t c h a n g e o u r p r o g r a m :

4 p o k e s i d + 5 , 1 1 * 1 6 + 1 35 p o k e s i d + 6 , 9 * 1 6 + 1 1

L i n e 4 s e t s S I r e g i s t e r t 1 1 1 3 w h i c h m a k e s t h a t t a c k o v o i c e o n 1 1 a n t h d e c a y v a l u e 1 3

L i n e 5 s e t s S I r e g i s t e r t 9 * 1 6 + 1 1 , w h i c h m a k e s t h s u s t a i n o v o i c e o n 9 a n t h e r e l e a s e v a l u e 1 1

W h e n y o R U t h p r o g r a m t h i s t i m e , t h a c t u a l p a t h o t h e n v e l o p e w i l l b m o r e a u d i b l y c l e a r . W h e n y o p r e s s a k e t h i s t i m e a n h o l d i d o w n , y o u ' l l h e a r t h v o l u m e r i s e( a t t a c k ) , a n t h e n f a d e s o m e ( d e c a y ) t c o n s t a n t l e v e l( s u s t a i n l e v e l ) . W h e n y o r e l e a s e t h e k e y , t h e t o n e w i l l f a d ea w a y t n o t h i n g ( r e l e a s e ) . H o w e v e r , i y o d e p r e s s a n r e l e a s e t h e k e q u i c k l y , y o u ' l l h e a r t h a t t h t o n e n e v e rr e a c h e s v e r y h i g h v o l u m e a a l l , a n t h a t i b e c a u s e t h r e l e a s e o c c u r r e d ( i e . b y o r e l e a s i n g t h k e y ) , b e f o r e t h ee n v e l o p e h a r e a c h e d e i t h e r i t m a x i m u m , o t h s u s t a i n e dl e v e l o v o l u m e . S i m i l a r l y , i y o p r e s s t h e k e a g a i n v e r ys o o n a f t e r r e l e a s i n g i t y o u ' l l n o t e t h a t t h s o u n d b u i l d s u a g a i n f r o m t h l e v e l i h a f a d e d a w a y t o a n i y o k e e pd e p r e s s i n g a n r e l e a s i n g t h k e y , a n e n s u r e t h a t y o u ' r eh o l d i n g t h k e d o w n f o s l i g h t l y l o n g e r t h a n t h t i m ey o u ' r e n o t , y o w i l l " p u m p u p t h v o l u m e .

p r o g r a m t h a t w o u l d a l l o w u s t " t e s t " e n v e l o p e a n w a v e f o r m c o m b i n a t i o n s w o u l d c e r t a i n l y b u s e f u l . I w o u l de n a b l e u t e x p e r i m e n t w i t h t h p a r a m e t e r s a v a i l a b l e t c r e a t e d e s i r e d s o u n d . I w o u l d b u s e f u l i w c o u l d " p l a y "t h C o m m o d o r e - 6 4 ' s s y n t h e s i z e r t o o , f r o m t h k e y b o a r d .

B e f o r e w c a g e t t h a t f a t h o u g h , I ' l i k e t o e x p l a i n h o t

d e r i v e t h e f r e q u e n c i e s f o m u s i c a l n o t e s o t h C o m m o d o r e6 4

I m u s i c a l s c a l e , t h r a t i o o p i t c h b e t w e e n o n o c t a v e a n t h n e x t i 2 : 1 . I w h a t h e f r e q u e n c i e s o t h 1 s e m i -- t o n e s o t h t o o c t a v e , w c o u l d g e n e r a t e t h v a l u e s o a l t h l o w e r n o t e s b c o n t i n u a l l y d i v i d i n g a l 1 b t d e r i v et h p i t c h o t h s e m i t o n e s i t h n e x t o c t a v e l o w e r . I i n o n e c e s s a r y t g i n t o t h m a t h h e r e , b u t i t h r a t i o b e t w e e no c t a v e s i 2 : 1 , t h e n t h r a t i o b e t w e e n s e m i - t o n e s i

M i d d l e o a p i a n o , i 4 4 0 H z . T c o n v e r t h a r m o n i c f r q u e n c i e s t t h f u n d a m e n t a l f r e q u e n c i e s w n e e d t p u i t h S I r e g i s t e r s , w n e e d t m u l t i p l y t h f o r m e r b yc o n s t a n t w h i c h i d e r i v e d f r o m t h f r e q u e n c y o t h i n t e r n a lc l o c k i t h S I c h i p , a n t h s y s t e m c l o c k .

F u n d a m e n t a l F r e q u e n c y s y s t e m c l o c k s p e e dF r e q u e n c y

T h e r e f o r e :

F u n d a m e n t a l F r e q u e n c y

W h i c h t u r n s o u t o

S I c l o c k s p e e d

F r e q u e n c y S I c l o c k s p e e d

s y s t e m c l o c k s p e e d

F u n d a m e n t a l F r e q u e n c y F r e q u e n c y x 1 6 . 4 0 4 ( a p p r o x . )

T h e r e f o r e , m i d d l e w h i c h i 4 4 0 H z , w o u l d b e

4 4 1 6 . 4 0 47 2 1 7 ( a p p r o x . )

' A i t h n e x t o c t a v e u w o u l d b 8 8 0 H z , o 8 8 0 x 1 6 . 4 0 4 = 1 4 4 3 5 i t h S I c h i p .

T h m a x i m u m v a l u e i t h S I c h i p i 6 5 5 3 5 ( 2 5 5 i b o t ht h l o a n h i g h b y t e ) , t h e r e f o r e , b d o u b l i n g a g a i n . .

a n a g a i n .

1 7 6 0 ( 1 7 6 0 1 6 . 4 0 4 2 8 8 7 1 )

3 5 2 0 ( 3 5 2 0 1 6 . 4 0 4 5 7 7 4 2 )

5 7 7 4 2 i f a i r l y n e a r t h t o e n o t h S I f r e q u e n c y v a l u er a n g e , a n d o u b l i n g o n c e m o r e w o u l d p u s h i b e y o n d i t s w w i l l b a s e o u f r e q u e n c y r a n g e a r o u n d 3 5 2 0 H z . T c r e a t e

d i m e n s i o n a l a r r a y ( s u b s c r i p t s b e i n g ' o c t a v e ' , a n ' s e m it o n e ' ) o f f r e q u e n c i e s , w c o u l d u s t h f o l l o w i n g p r o g r a m :

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 47: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 47/84

1 0 f 3 5 2 01 1 c o = 2 t ( 1 / 1 2 )1 2 f o t o 9 : f r f r / c o1 3 n e x t1 4 s s = 1 6 7 7 7 2 1 61 5 c 1 0 2 2 7 3 01 6 f s s / c s2 0 0 d i m f ( 7 , l l )3 0 0 f o r t o 1 13 1 0 s f r * f c

: r e m: r e m: r e m

: r e m: r e m: r e m: r e m: r e m: r e m

n o t e ' a i t o o c t a v ec o n s t a n t m u l t i p l i e r f o n e x t s e m i t o n es t a r t f a ' c b g o i n g b a c k s e m i t o n e s

s i c l o c kc p c l o c kf r e q u e n c y m u l t i p l y i n g c o n s t a n tf r e q u e n c y a r r a y ( o c t a v e , s e m i t o n e )c y c l e t h r o u g h 1 s e m i t o n e sc a l c u l a t e s i v a l u e o s e m i t o n e i t o o c t a v e

4 0 f o t s t e p - 1 f ( j , i ) s / 4 1 n e x t : r e m c a l c v a l u e f o a l o c t a v e s4 2 f f r * c o : r e m g o o n t o n e x t s e m i t o n e4 3 n e x t : r e m c o n t i n u e t h r o u g h a l 1 s e m i t o n e s4 5 r e 4 6 r e p r i n t o u a l t h f r e q u e n c i e s5 0 p r i n t f r e q u e n c y t a b l e "5 1 p r i n t " 5 2 p r i n t o c s e f r e q u e n c y "6 0 f o t 6 1 f o t o 1 16 2 p r i n t i ; t a b ( 4 ) ; j , i n t ( f ( i , j ) )6 3 n e x t j

T h e R E M a r k s i t h p r o g r a m e x p l a i n h o i w o r k s . A d t h e f o l l o w i n g l i n e s t h e a r t h f r e q u e n c y a r r a y :

4 7 5 4 2 7 24 7 f o t 2 p o k e i , n e x t4 8 p o k e s + 2 4 1 4 8 p o k e s + 5 1 6 2 p o k e s + 4 3 6 2 5 h = i n t ( f ( i , j ) / 2 5 6 )6 2 6 1 f ( i , j ) - h * 2 5 66 2 p o k e s 1 p o k e 1 6 2 p o k e s + 4 3 6 2 f o k t 1 0 n e x t

: r e m s t a r t a d d r e s s o f s i d c h i p: r e m i n i t i a l i z e s i c h i p: r e m s e v o l u m e: r e m a t t a c k 0 : d e c a y 0 : s u s t a i n 0 : r e l e a s e = 1 : r e m g a t e o f t h v o i c e f i r s t: r e m c a l c h i g h b y t e o f r e q u e n c y: r e m c a l c l o b y t e: r e m p u i f r e q u e n c y: r e m n o g a t e i o : r e m w a i t a b i

W h e n y o R U t h p r o g r a m t h i s t i m e , a s t h e f r e q u e n c i e s a r l i s t e d , e a c h p i t c h w i l l b s o u n d e d .

w o u l d i m a g i n e t h a t t h i s i q u i t e e n o u g h t a b s o r b t h i s t i m e , a n w e ' l l g e t o t t h p a r a m e t e r t e s t i n g p r o g r a m n e x t t i m e .M a k e s u r e y o u n d e r s t a n d w h a t h a b e e n c o v e r e d s f a r , o t h e r w i s e t h n e x t a n s u b s e q u e n t a r t i c l e s w i l l s l o w l y b e c o m ei m p o s s i b l e t f o l l o w . H a v e f u n .

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 48: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 48/84

N e C h a r a c t e r S e t sO T h C o m m o d o r e 6

J i B u t t e r f i e l dT o r o n t o , O n t .

Q u e s t i o n : H o d r e d e f i n e t h e c h a r a c t e r s o t h C o m m od o r e 6 4

A n s w e r : T h e r e a r e s o m a n y w a y s t h a t i t ' s n o t p o s s i b l e t g i v e g e n e r a l a n s w e r . T h f o l l o w i n g o u t l i n e s t h s t e p s t o f o l l o w , w i t h s p e c i f i c e x a m p l e :

A P l a n w h e r e y o w a n t e v e r y t h i n g t g o

S c r e e n m e m o r y , c h a r a c t e r s , a n s p r i t e s i y o u s t h e mm u s t a l f i i n t o t h s a m e 1 6 K b l o c k o m e m o r y . T o d o y o u ro w c h a r a c t e r s e t , y o u ' l l p r o b a b l y w a n t t l e a v e t h e d e f a u l tb l o c k , t 1 6 3 8 3 . g o o d b l o c k t p i c k w o u l d b t h e t o po n e , w h i c h e x t e n d s f r o m 4 9 1 5 2 t 6 5 5 3 5 . W e ' l l p i c k t h ed e t a i l e d l o c a t i o n s f o c h a r a c t e r s a n s c r e e n l i t t l e l a t e r .

D o n ' t d t h i s y e t , b u w w i l l s e l e c t t h t o b l o c k b p e r f o r m i n g P O K E 5 6 5 7 6 , 4

N o w , w i t h i n t h a t b l o c k w m u s t p i c k s c r e e n a n c h a r a c t e rs e t l o c a t i o n s . L o o k i n g a t h m e m o r y m a p s , w f i n d t h a t t h t o h a l f , a d d r e s s e s 5 7 3 4 4 t 6 5 5 3 5 , i u s e d f o t h K e r n a lR O M . W c o u l d s t i l l u s t h i s a r e a : P O K E i n g t t h s c r e e na n t h e c h a r a c t e r s e w o u l d s t i l l m a k e t h c h a n g e s i R A t c a u s e t h e s c r e e n t c h a n g e a p p r o p r i a t e l y . T h o n l yp r o b l e m m i g h t b e t h a t w c o u l d n ' t P E E K t h e s e l o c a t i o n sw e ' d g e t h R O i n s t e a d o t h R A M . S o m e p r o g r a m s l i k et P E E K t h s c r e e n t s e w h a t ' s t h e r e .

L o c a t i o n s 5 3 2 4 8 t 5 7 3 4 3 a r n o t o s u i t a b l e t h I / c h i p s a r e l o c a t e d t h e r e , a n w e ' d h a v e t d e x t r a w o r k t P E E K o P O K E . T h a t l e a v e s 4 9 1 5 2 t 5 3 2 4 7 f o t h e s c r e e na n c h a r a c t e r s e t .

c h a r a c t e r s e ( t h e " c h a r a c t e r b a s e " ) m u s t s t a r t a a e v e nm u l t i p l e o 1 0 2 4 , a n o c o u r s e m u s t b i t h s e l e c t e dm e m o r y b l o c k . T h i s l e a v e s u w i t h 4 9 1 5 2 ( s t a r t - o f - b l o c kp l u s 1 0 2 4 t i m e s m u l t i p l e 0 a n d 5 1 2 0 0 ( o f f s e t m u l t i p l e 2 ) I d o e s n ' t m a t t e r w h i c h o n e w p i c k . l e t ' s u s t h f i r s t o n e ,w h i c h m e a n s t h a t o u c h a r a c t e r s e w i l l g f r o m 4 9 1 5 2 t 5 1 1 9 9 . N o f o t h s c r e e n : w m u s t p i c k a n m u l t i p l e o 1 0 2 4 t h a t ' s i r a n g e . S k i p p i n g o v e r t h e c h a r a c t e r s e a r e a ,w h a v e c h o i c e o 5 1 2 0 0 ( m u l t i p l e 2 a n 5 2 2 2 4 ( m u l t i p l e3 ) W e ' l l p i c k t h f i r s t , s t h a t s c r e e n m e m o r y o c c u p i e s5 1 2 0 0 t 5 2 2 2 3 .

L e t ' s l o o k a t h o s e m u l t i p l e n u m b e r s a g a i n . c h a r a c t e r s e s t a r t i n g a 4 9 1 5 2 i a a o f f s e t o z e r o w i t h i n t h 1 6 b l o c k . w h i c h i 0 t i m e s 1 0 2 4 . s c r e e n m e m o r y b l o c ks t a r t i n g a 5 1 2 0 0 i a a o f f s e t o 2 0 4 8 w i t h i n t h b l o c k . . w h i c h i t i m e s 1 0 2 4 . T s e t h v i d e o c h i p t u s t h e s ea c t u a l s c r e e n a d d r e s s e s w e ' l l d s o m e a r i t h m e t i c o t h m u l t i p l e s : 2 ( t h e s c r e e n ) t i m e s s i x t e e n , p l u s ( t h e c h a r a c t e rs e t ) , g i v i n g 3 2 . a n w P O K E 5 3 2 7 2 , 3 2 .

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 49: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 49/84

B T e l l B a s i c

T h t w P O K E s h a v e t o l d t h e v i d e o c h i p w h e r e s c r e e nm e m o r y a n t h e c h a r a c t e r s e i l o c a t e d . b u w m u s t a l s ot e l l B a s i c a b o u t i t o r B a s i c w i l l i n s i s t o p u t t i n g e v e r y t h i n gi t h e o l d a d d r e s s , 1 0 2 4 t 2 0 3 2 . W t e l l B a s i c a b o u t t h s c r e e n w i t h P O K E 6 4 8 , 2 0 0 . W h 2 0 0 ? T h a t ' s t h e s c r e e nm e m o r y a d d r e s s ( 5 1 2 0 0 ) d i v i d e d b 2 5 6 .

I w o u l d n ' t h u r t t c l e a r t h e s c r e e n h e r e , s i n c e w e ' v e m o v e dt n e a r e a o m e m o r y t h a t ' s c l u t t e r e d w i t h u n u s e dv a l u e s .

C S u p p l y C h a r a c t e r S e

W h a v e t o l d t h v i d e o c h i p t h a t t h e r e i c h a r a c t e r s e a 4 9 1 5 2 . . b u w h a v e n ' t p u t a n c h a r a c t e r s t h e r e . Y o c a d e f i n e y o u r o w c h a r a c t e r s , o c o u r s e : f o t h m o m e n t , l e t ' sj u s t c o p y t h e c h a r a c t e r s o u t o t h R O M .

T h p r o c e s s o r w i l l f i n d t h c h a r a c t e r R O a a d d r e s s 5 3 2 4 8t 5 5 2 9 5 . T h a t ' s o d f o t w r e a s o n s . F i r s t , t h v i d e o c h i pf o u n d i a a e n t i r e l y d i f f e r e n t l o c a t i o n . w c a d i s m i s st h i s o n o t h m a g i c s o e l e c t r o n i c s . S e c o n d l y , w n o m a l l y s e e t h e I / c h i p s a t h e s e l o c a t i o n s . . t h c h a r a c t e rs e i h i d d e n b e h i n d t h e s e c h i p s , a n w e ' l l n e e d t e x p o s e i b y P O K E l , 5 1 . . b u t n o y e t !

B e f o r e w m a k e t h I / c h i p s v a n i s h , w e ' l l n e e d t l o c k o u t h i n t e r r u p t . T h i n t e r r u p t s e q u e n c e s , w h i c h c h e c k t h k e y b o a r d a n d d o o t h e r j o b s , w i l l g e h o p e l e s s l y c o n f u s e d i t h I / c h i p s a r e n o t t h e r e . T a k e m a d v i c e : n e v e r g e t h i n t e r r u p t s e q u e n c e s h o p e l e s s l y c o n f u s e d ; i t ' s n o g o o d f o y o u r p r o g r a m ' s h e a l t h . W m a l o c k o u t h i n t e r r u p t w i t ht h c o m m a n d P O K E 5 6 3 3 3 , 1 2 7 . . b u w m u s t r e m e m b e rf a i t h f u l l y t p u i b a c k .

D e m o n s t r a t i o n P r o g r a m

W c a d a l t h i s i a s m a l l B a s i c p r o g r a m t s h o w t h a t i a l w o r k s . L e t ' s s t a r t b f o l l o w i n g t h e s u g g e s t e d s e q u e n c e o P O K E s :

1 0 r e c h a r a c t e r s e d e m o1 1 p o k e 5 6 5 7 6 , 4 ( s e t l 6 K b a n k )1 2 p o k e 5 3 2 7 2 , 3 2 ( s e t s c r e e n c s e t )1 3 p o k e 6 4 8 , 2 0 ( t e l l B a s i c )

N e x t w w i s h t m o v e t h e c h a r a c t e r s e t . b u l e t ' s m a k et h i s v i s u a l t h i n g . W e ' l l p r i n t s o m e t h i n g o t h s c r e e n f i r s t .T h i s w i l l i n i t i a l l y a p p e a r a s c r a m b l e d i n f o r m a t i o n , s i n c e t h ec h a r a c t e r s h a v e n ' t b e e n d e f i n e d . A t h e c h a r a c t e r s a r ec o p i e d o v e r f r o m R O M , w e ' l l s e t h e m t a k e s h a p e .

1 4 p r i n t c h r $ ( 1 4 7 ) ( c l e a r s c r e e n )1 5 f o t 1 6 p r i n t t h q u i c k b r o w n f o j u m p e d o v e r

a l a z y d o g ' s b a c k 1 2 3 4 5 6 7 8 9 0 "1 7 p r i n t c h r $ ( 1 8 ) ;1 8 n e x t

N o l e t ' s c o p y t h c h a r a c t e r s e t :

2 0 f o t 2 0 4 72 1 0 p o k e 5 6 3 3 3 , 1 2 2 2 p o k e 1 , 5 12 3 p e e k ( j + 5 3 2 4 8 )2 4 0 p o k e 1 5 2 5 0 p o k e 5 6 3 3 3 , 1 2 92 6 0 p o k e j 4 9 1 5 2 , x2 7 n e x t

( l o c k o u t i n t e r r u p t )( r e v e a l c h a r g e n )( g e t / c h a r a c t e r )( r e s t o r e I / O )( f r e e i n t e r r u p t )( c o p y c h a r a c t e r p a r t )

O n f i n a l t o u c h . W h a v e c o p i e d t h e x i s t i n g c h a r a c t e rs e t . b u w h a v e n ' t d e f i n e d a n y t h i n g n e w . L e t ' s p r o v e w c a d i n o b a d d i n g s l a s h t t h l e t t e r " O t h i s w i l lm a k e i l o o k l i t t l e l i k e t h g r e e k l e t t e r t h e t a , o r s l o p p yn u m b e r e i g h t . " O i t h f i f t e e n t h l e t t e r o t h e a l p h a b e t , a n e a c h l e t t e r t a k e s u e i g h t b y t e s . S w c a c a l c u l a t e t h a ts t a r t s a 4 9 1 5 2 p l u s e i g h t t i m e s 1 5 . t h a t g i v e s 4 9 2 7 2 . S i n c ew w a n t t c h a n g e t h m i d d l e o t h l e t t e r , n o t t h e t o p , w m o v e d o w n t h r e e m o r e b y t e s a n t y p e :

2 8 0 p o k e 4 9 2 7 5 , 1 2

C h e c k y o u r p r o g r a m ( m i s t a k e s c a n b e f a t a l ) a n t h e n R U i t I t ' s s u f f i c i e n t l y s l o w t h a t y o c a s e t h v a r i o u s c h a r a c t e r sb e i n g f o r m e d . T h a l p h a b e t i c s c o m e f i r s t , f o l l o w e d b t h n u m e r i c s ; s o m e t i m e l a t e r , t h r e v e r s e c h a r a c t e r s a r d f i n e d .

C o n c l u s i o n

T h e r e a r l o t s o w a y s o s e t t i n g u y o u r o w c h a r a c t e r s e t .T h i s i j u s t o n w a y .

T h f i r s t t i m e i t h e h a r d e s t . . o n c e y o u ' v e d o n e i s u c c e s sf u l l y , y o u ' l l b a b l e t c u y o u r o w c h a r a c t e r s w i t h o u tp r o b l e m s .

M a c h i n e C o d e V e r s i o n G . A . C a m p b e l lT o r o n t o , O n t .

Y o u ' v e j u s t s e e n h o t d i i B A S I C . N o l e t ' s t r i i m a c h i n e l a n g u a g e .

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

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 50: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 50/84

t t h e c h a r a c t e r g e n e r a t o r ( w h i c h s i m u l t a n e o u s l y d i s a b l e sa l I / O ) , a n t h e n c o p i e s t h e c o n t e n t s o t h c h a r a c t e rg e n e r a t o r R O i n t o R A M . T h f i n a l a c t i v i t i e s a r t t u r n I / b a c k o n a l l o w i n t e r r u p t s , a n t e l l t h v i d e o c o n t r o l l e r t g e t h e c h a r a c t e r d e f i n i t i o n s f r o m R A M . T h p r o c e d u r e i t h s a m e i B A S I C , o n l y t h e i n s t r u c t i o n s c h a n g e .

O n c e y o h a v e r u t h i s p r o g r a m , y o c a m o d i f y t h c h a r a c t e r s e b P O K E i n g i n t o t h a p p r o p r i a t e R A M . [ O n c ea g a i n ] T h c h a r a c t e r d e f i n i t i o n s b e g i n a m e m o r y l o c a t i o n4 9 1 5 2 ( h e x $ C 0 0 0 ) . E a c h c h a r a c t e r t a k e s u 8 b y t e s o m e m o r y , b e g i n n i n g w i t h t h e t o p r o o d o t s f o t h c h a r a ct e w o r k i n g d o w n .

T h o f f s e t f o g i v e n c h a r a c t e r i t i m e s t h " s c r e e n c o d e "f o t h a t c h a r a c t e r p l u s t h s t a r t a d d r e s s o t h e c h a r a c t e r b a s e .A p p e n d i x o t h C 6 U s e r G u i d e l i s t s t h s c r e e n c o d e s .T h e n t i r e s e t a k e s 4 K T h f i r s t i t h n o r m a l U p p e r c a s ea n g r a p h i c s s e t . T h s e c o n d i t h s a m e , o n l y i r e v e r s ef i e l d . N o r m a l U p p e r / L o w e r c a s e i i t h t h i r d K , a n t h f o u r t h i s a m e o n l y r e v e r s e d .

F o e x a m p l e , i w w a n t t c h a n g e t h " a m p e r s a n d " ( ' & ' )i n t o s q u a r e b l o c k i t h m i d d l e o t h e c h a r a c t e r p o s i t i o n ,w w o u l d f o l l o w t h e s e s t e p s :

1 M a o u t h P O K E s t b u s e d :

- -

. . x x x x . . - 6 0 ( 3 2 + 1 6 4 . . x x x x . . 6 . . x x x x . . 6 . . x x x x . . 6

2 L o o k u t h s c r e e n c o d e ( a m p e r s a n d i 3 8

3 C a l c u l a t e i t ' s a d d r e s s :

" & " l o c 4 9 1 5 2 3 8 * 8 4 9 4 5 6

4 C o d e t h P O K E s :

p o k e 4 9 4 5 6 ,p o k e 4 9 4 5 7 ,p o k e 4 9 4 5 8 , 6 p o k e 4 9 4 5 9 , 6 p o k e 4 9 4 6 0 , 6 p o k e 4 9 4 6 1 , 6 p o k e 4 9 4 6 2 ,p o k e 4 9 4 6 3 ,

T h B a s i c L o a d e r b e l o w i f o l l o w e d b t h m a c h i n e c o d es o u r c e l i s t i n g f o t h s a m e r o u t i n e . T h p r o g r a m i s e l fm o d i f y i n g . W h i l e t h i s i g e n e r a l l y b a p r a c t i c e , i d o e s m a k et h p r o g r a m s m a l l e r a n e a s i e r t t y p e i n

B A S I C L o a d e r

r e a d c c 6 0 0 0 f o r j 8 3 t 8 8 6 0 1 0 p o k e j n e x t6 0 2 0 i c h < > 6 1 1 3 t h e n p r i n t " d a t a e r r o r '6 0 3 0 p r i n t " 0 6 0 4 0 s y 8 3 6 0 5 0 r e t u r n6 0 6 0 d a t a 1 2 0 , 1 6 9 ,6 0 7 0 d a t a 2 2 4 , 1 6 2 ,6 0 8 0 d a t a 1 5 7 ,6 0 9 0 d a t a 2 3 8 ,6 1 0 0 d a t a 2 0 4 ,

s t o p

5 1 , 1 3 3 , 1 , 1 6 00 , 1 8 9 , 0 , 2 0 8

1 9 2 , 2 3 2 , 2 0 8 , 2 4 73 , 2 3 8 , 7 8 , 33 , 2 0 8 , 2 3 6 , 1 6 1 8 8 , 1 6 9 , 3

0 7 5 7 5

6 1 1 0 d a t a 5 5 1 3 3 ,6 1 2 0 d a t a 1 4 1 , 2 4 , 2 0 8 , 1 6 9 , 4 1 4 6 1 3 0 d a t a 0 , 2 2 1 , 1 6 9 , 2 0 0 . 1 4 1 , 1 3 66 1 4 0 d a t a 2 9

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

T h p r o g r a m a b o v e i G o r d ' s m a c h i n e l a n g u a g e c h a r a c t e rm o v e r m o d i f i e d s l i g h t l y t o r e f l e c t w h a t J i i d o i n g i B a s i c .G o r d ' s o r i g i n a l v e r s i o n a p p e a r s b e l o w w h i c h m a t c h e s w h a tP a u l H i g g i n b o t t o m i d o i n g i h i C o m m o d o r e 6 c h a r a c t e re d i t o r t h i s i s s u e . I y o l i k e , t h e f o l l o w i n g l i n e s c a r e p l a c el i n e s 6 0 0 0 - 6 0 9 0 o P a u l ' s p r o g r a m t m a k e t h c h a r a c t e rt r a n s f e r a l i t t l e q u i c k e r . T h a b o v e v e r s i o n c o u l d a l s o b u s e d , b u t t h i s w o u l d m e a n s o m e o t h e o t h e r v a r i a b l e s i P a u l ' s p r o g r a m w o u l d n e e d c h a n g i n g .

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 51: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 51/84

S o u r c e C o d e L i s t i n g 1 0 0 :1 1 0 :1 2 0 :

1 4 0 :1 5 0 :1 6 0 :1 7 0 :1 8 0 :1 9 0 :2 0 0 :

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

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

B a s i c L o a d e r : c h a r a m $ 3 0 0 0 ,

0 3 4 00 3 4 00 3 4 00 3 4 00 3 4 00 3 4 00 3 4 0

0 3 4 0 7 0 3 4 1 a 0 3 4 3 8 0 3 4 5 a 0 3 4 7 a 0 3 4 9 b d0 3 4 c 9 0 3 4 f e 0 3 5 0 d 0 3 5 2 e 0 3 5 5 e 0 3 5 8 c

c o p yf r o m

c h a r a c t e r s e r o t r a

o t h c 6

r o m c t lb a s c t lc h r r a mc h r s e tv i c c t lv i c a d r

3 0 e 0 0 d l o o p0 c

f 4 0 4 e O 34 b 0 3

0 3 5 b d e

0 3 5 d a 0 3 5 f 8 0 3 6 1 5 80 3 6 2 a 0 3 6 4 8 d0 3 6 7 a

3 0

2 1 d 0

0 3 6 9 8 d 0 d 0 3 6 c a 0 3 6 e 8 0 3 7 1 6 0

s c r e e n

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

c 8 0

$ 0 4 0 0

s e I d s l l d l d I d s t i n b n i n i n c p

$ 0 3 4 0$ 0 $ 0 2 8 8$ c 0 0 0$ d 0 0 0$ d O 1 8$ d d O O

# 5 r o m c t l# $ e 0# c h r s e t . xc h r r a m ,

l o o pl o o p +l o o pl o o p

b n l o o p

I d s t c l I d s t I d s t I d s t U

# 5 r o m c t l

# 3 v i c c t l#

v i c a d r# 2 0 0b a s c t l

f o 8 3 t o 8 8 1 r e a d c p o k e j n e x t

n i n t e r r u p t sd i s a b l e i /

l i m i t f o l o o p

b u m p s o u r c eb u m p d e s t i n a t i o n

p u i / b a c k

, a l l o w i n t e r r u p t s

; p o i n t a r a

; p o i n t v i c 2 a b l o c k 3; f o r b a s i c

c

i c h < > 5 7 7 3 t h e n p r i n t " d a t a e r r o r " s t o pp r i n t " 0 s y 8 3 r e t u r nd a t a 1 2 0 , 1 6 d a t a 2 2 4 , 1 6 d a t a 1 5 7 ,d a t a 2 3 8 , 7 d a t a 2 0 4 , 7 d a t a 5 5 1 3 d a t a 1 4 1 , 2 d a t a 0 , 2 2 1d a t a 2 9

5 1 0

4 8 3 3 1

2 0 8 ,1 6 9 ,

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

8 8 1 6 9 ,1 6 9 , 7

4 1 4 1 ,

1 6 2 0 2 4

1 6 2

1 4 1 3

T h T r a n s a c t o r 4 A p r i l 1 9 8 3

Page 52: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 52/84

C o m m o d o r e 6 P r o g r a m m a b l eC h a r a c t e r E d i t o r

P a u l H i g g i n b o t t o mT o r o n t o , O n t .

O n c e y o u ' v e r e l o c a t e d t h e c o n t e n t s o t h C 6 c h a r a c t e rR O i n t o R A M , y o u ' l l p r o b a b l y w a n t t o s t a r t r e p l a c i n g t h eb u i l t - i n c h a r a c t e r s w i t h t h o s e o y o u r o w d e s i g n . A f t e r a l l ,i s n ' t t h a t w h y o m o v e d t h e c h a r a c t e r s e i t h f i r s t p l a c e ?

Y o c o u l d s t a r t P O K E i n g t h n e c h a r a c t e r s e l o c a t i o n s( c h a r a c t e r b a s e ) w i t h v a l u e s t h a t y o u ' v e c a l c u l a t e d b a d i n u b i t s , e t c , b u t h a t ' s l o o w o r k . B e s i d e s , i y o h i o n b y t e w r o n g , y o u ' l l e n d u p a l t e r i n g t h w r o n g p a r t o t h t a r g e t c h a r a c t e r , o y o c o u l d m i s s t h t a r g e t c o m p l e t e l y !

T h i s p r o g r a m e l i m i n a t e s t h e w o r k . A f t e r a l l , w h a t a r c o p u t e r s f o r ? F i r s t i m o v e s t h e c h a r a c t e r R O i n t o R A M . L i n e1 0 5 c h e c k s t s e i t h i s h a b e e n d o n e s i o n l y d o e s i o n c e . T h n e c h a r a c t e r s e i p l a c e d a $ 3 0 0 0 . Y o u r B A S I Cp r o g r a m i n o l i m i t e d t a b o u t 1 0 K . A n b i g g e r a n B A S I Ct e x t w i l l s t a r t o v e r w r i t i n g y o u r c h a r a c t e r s a n y o u ' l l b t y p i n g i c o s m i c h y r o g l i p h i c s . W h e n t h n e c h a r a c t e r s e i f i n i s h e d , y o c a s a v e i t d i s k a n l o a d i b a c k l a t e r ,p o s s i b l y t a n o t h e r m e m o r y s p a c e i t h V I I c h i p h a b e e nm o v e d .

F i r s t o f f , t h p r o g r a m a s k s y o t S e l e c t a c h a r a c t e r . T h i s i m a i n l y f o c o n v e n i e n c e . I t h e c h a r a c t e r y o h a v e i m i n dr e s e m b l e s a n o t h e r c h a r a c t e r , y o c a s e l e c t t h a t c h a r a c t e ra s s t a r t i n g " p a t t e r n " . F o " c l e a n s l a t e " s i m p l y h i R e t u r na n t h e c h a r a c t e r s e l e c t e d d e f a u l t s t s p a c e .

T h c h a r a c t e r y o s e l e c t e d w i l l n o b d i s p l a y e d o n a n 8 x 8g r i d . U s t h e c u r s o r k e y s t m o v e a r o u n d t h g r i d . C u r s o rH o m e p u t s t h e c u r s o r a t h t o l e f t c o r n e r . T c l e a r a d o t o " p i x e l " , h i s p a c e . T t u r n p i x e l o n h i t h " . ( p e r i o d ) k e y .T a b o r t , h i C l e a r S c r e e n a n t h " S e l e c t ? " p r o m p t w i l lr e t u r n .

O n c e y o u ' r e s a t i s f i e d w i t h t h a p p e a r a n c e o y o u r n e c h a r a c t e r , h i R e t u r n . T h p r o g r a m w i l l n o a s w h i c h

c h a r a c t e r y o w i s h t s u b s t i t u t e o r " U s e " f o t h n e c h a r a c t e r . T h i s m e a n s y o m u s t g i v e u p o n e c h a r a c t e r t m a k e r o o m f o t h n e w . Y o c a u s a n c h a r a c t e r i n c l u di n g r a p h i c s o r r e v e r s e f i e l d . T r e p l a c e r e v e r s e f i e l dc h a r a c t e r , h i C T R L a n R V O N t h e n t y p e y o u r c h o i c e a n h i R e t u r n . T h m e m o r y t h a t h o l d s t h e p a t t e r n f o t h i sc h a r a c t e r w i l l n o b o v e r w r i t t e n w i t h t h e n e p a t t e r n .W h e n e v e r t h i s k e i t y p e d , y o u ' l l s e e t h e r e s u l t s o f t h a tr e p l a c e m e n t u n t i l i i m o d i f i e d a g a i n , o t h m a c h i n e i r e s e t . I y o u ' v e i n a d v e r t e n t l y h i R e t u r n t e n t e r t h e U s e ?p r o m p t , h i C l e a r S c r e e n a n d y o u w i l l b a l l o w e d t d f u r t h e r e d i t i n g .

F i n a l l y , w h e n y o u ' r e t h r o u g h e n t e r i n g a l t h s p e c i a l c h a r a ct e r s y o n e e d , g e b a c k t t h " S e l e c t ? " p r o m p t a n d h i H o m e . A f t e r e n t e r i n g a f i l e n a m e , t h p r o g r a m w i l l s t o r e t h c o n t e n t s o t h R A b a s e d c h a r a c t e r s e i s e q u e n t i a l d i s kf i l e ( i y o h a v e d i s k ) . O n l y t h n o n - r e v e r s e c h a r a c t e r s a r s t o r e d . I y o w a n t t h w h o l e s e f i l e d , c h a n g e t h " 2 0 4 7 " i l i n e 9 0 1 0 t 4 0 9 5 .

T h e r e i n p r o v i s i o n i t h i s p r o g r a m t r e t r i e v e t h e s e f i l e s ,a l t h o u g h i w o u l d n ' t b h a r d t a d d . . s i m p l y c o m p l e m e n tt h s a v e r o u t i n e a 9 0 0 0 . B u t f u n c t i o n l i k e t h i s w o u l dn o r m a l l y b e f o u n d i a n o t h e r p r o g r a m t h a t m a k e s u s o y o u r n e c h a r a c t e r s . u t i l i t y f o p r o v i d i n g n e c h a r a c t e rs e t s w a t h m a i n p u r p o s e o f t h i s p r o g r a m .

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

P a u l ' s p r o g r a m m o v e s t h R O c h a r a c t e r s e t t o R A w i t hB A S I C s u b r o u t i n e . W h i l e t h i s i h a p p e n i n g , y o u r 6 w i l l b p r e t t y q u i e t . B p a t i e n t t h o u g h . t h f i r s t p r o m p t w i l la p p e a r s h o r t l y . H o w e v e r i y o u ' r e t h i m p a t i e n t t y p e l i k em e r e p l a c e t h s u b r o u t i n e a l i n e 6 0 0 0 w i t h G o r d C a m pb e l l ' s m a c h i n e l a n g u a g e v e r s i o n . S e t h a r t i c l e o M o v i n gt h C 6 C h a r a c t e r S e t h i s i s s u e .

T h T r a n s a c t o r 5 A p r i l 1 9 8 3

Page 53: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 53/84

1 0 v i c = 1 3 * 4 0 9 6 3 * 4 0 9 6 s c 1 0 2 41 0 i p e e k ( v i c 2 4 ) < > 2 9 t h e n g o s u b 6 0 0 01 1 f o t m ( i ) ( 7 - i ) : h ( i ) 2 5 5 - m ( i ) : n e x t1 2 2 5 5 * 8 c s + 3 * 4 0 + 1 d 2 5 2 0 g o s u b 5 0 2 1 f o t p e e k ( l i ) p o k e i 2 2 0 f o r j 0 t o 7 : a $ = " . 2 3 i a n m Q t h e n a Q 2 4 p r i n t a $ n e x t : p r i n t : n e x t :2 5 p r i n t " f l " ; : p o k e c l d 2 6 i t h e n f o t p r i n t : n e x t2 7 i t h e n p r i n t s p c ( x ) ;2 8 s y * 4 0 p e e k ( p ) :2 9 ( n o t r a n d l 2 8 ) o r ( n o t l 2 8 a n d r )3 0 0 p o k e p 3 1 f o t 3 3 1 g e a i a $ " t h e n n e x t : g o t o 2 9 3 2 0 p o k e p 3 3 i a $ " | | " t h e n x ( x + l ) a n d 7 : g o t o 2 5 3 4 i a $ " [ c r s r l f t ] " t h e n ( x - l ) a n d 7 g o t o 2 5 3 5 i f a f t t h e n y ( ) a n d 7 g o t o 2 5 3 6 i f a Q t h e n ( y - 1 ) a n d 7 g o t o 2 5 3 7 i a " t h e n p o k e p 4 p o k e t p e e k ( t ) a n h ( x ) : ( 1 a n g o t o 2 5 3 8 i a $ " t h e n p o k e p 8 p o k e t p e e k ( t ) o m ( x ) : = ( x + l ) a n d g o t o 2 5 3 9 0 i f a $ = " H " t h e n 2 0 3 9 i a $ " H t h e n 0 : 0 g o t o 2 5 4 0 i a $ O c h r $ ( 1 3 ) t h e n 2 5

4 1 r e i m p o r t a n t ! ! a b o v e i c r s r h o m e , c u r s o r d o w n s , u - s - e - ?4 1 g o s u b 6 0 0 : i a " H t h e n p r i n t : p r i n t g o t o 2 5 4 1 p r i n t a $ ; : i a $ O c h r $ ( 1 3 ) t h e n 4 1 4 2 0 p p e e k ( 1 3 8 8 ) : l p * 4 4 0 f o r i 0 t o 7 : v ( i )4 5 0 f o r j = 0 t o 7 i p e e k ( s c + i * 4 0 j 8 t h e n v ( i ) v ( i ) + m ( j )4 6 n e x t j 4 7 f o t p o k e i v ( i ) : n e x t4 8 p r i n t " H p o k e 1 0 6 5 , g o t o 2 0 5 0 p r i n t " ^ - S e l e c t ? f l " ;5 0 g o s u b 6 0 p r i n t a ^ " ; : i a Q t h e n g o s u b 9 0 0 0 g o t o 5 0 5 0 i f a $ O c h r $ ( 1 3 ) t h e n 5 0 5 1 p e e k ( s c ) : p * p r i n t " 0 " ; : r e t u r n6 0 g e a i a " t h e n 6 0 6 1 r e t u r n6 0 0 0 c i a = 1 3 * 4 0 9 6 1 2 * 2 5 66 0 1 0 p o k e c i a + 1 3 , 1 2 76 0 2 0 p o k e 1 p e e k ( l ) a n d 2 5 6 0 3 0 o 1 3 * 4 0 9 66 0 4 0 f o t 2 5 6 * 8 - 16 0 5 0 p o k e i p e e k ( o c i ) n e x t6 0 6 0 p o k e l , p e e k ( l ) o r 46 0 7 0 p o k e c i a + 1 3 , 2 5 6 0 8 0 p o k e v i e + 2 4 2 9 r e t u r n9 0 0 0 i n p u t Q n a m e " ; f o p e n 2 , 8 , 2 , 0 : f , p , w "9 0 1 0 f o r i c t o c + 2 0 4 7 p r i n t # 2 , c h r $ ( p e e k ( i ) ) ; n e x t : c l o s e 2 r e t u r n

T h T r a n s a c t o r 5 A p r i l 1 9 8 3

Page 54: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 54/84

C o m m o d o r e 6 T 8 0 2 3 PH R e S c r e e n D u m p e r

D a v i d B e r e z o w s k iT o r o n t o , O n t .

I y o u ' r e u s i n g y o u r C o m m o d o r e 6 t m a k e h i g h r e s o l u t i o np i c t u r e s , g r a p h s , c h a r t s , o r o t h e r w i s e , t h i s p r o g r a m w i l la l l o w y o t d u m p s c r e e n c o n t e n t s t C o m m o d o r e 8 0 2 3 Pd o m a t r i x p r i n t e r .

I y o d o n ' t h a v e C o m m o d o r e 6 4 t h p r o g r a m w i l l a l s ow o r k o P E T / C B M s . T h i s w a y , i y o g e y o u r h a n d s o d i s k f i l e o C 6 h i - r e s s c r e e n , y o t o c a o b t a i n h a r dc o p y r e p r o .

T h p r o g r a m i s e l f d o c u m e n t i n g , a n a l t h o u g h y o u n e e dn o t y p e i a l t h i n s t r u c t i o n s , s u g g e s t y o d a t h i s w i l la v o i d a n p o s s i b l e s n a f u s l a t e r .

T h m a c h i n e l a n g u a g e p o r t i o n i s e u f i r s t . I s t a r t s a $ 1 F O O w h i c h i j u s t 2 5 b y t e s b e l o w $ 2 0 0 0 . T h m a c h i n ec o d e a s s u m e s t h a t t h C 6 h i g h r e s c r e e n i ( o w a s ) s e u a $ 2 0 0 0 . I y o a r g o i n g t b l o a d i n g h i g h r e f i l e s f r o md i s k t h a t w e r e s t o r e d f r o m h i g h r e s c r e e n a d i f f e r e n tl o c a t i o n , y o m a w a n t t r e p l a c e l i n e 3 7 w i t h G O S U B t a s h o r t l o a d e r s u b r o u t i n e :

3 7 g o s u b 1 0 0 0

1 0 0 0 o p e n 8 8 , 8 , f l 1 0 1 0 g e t # 8 , a $ a r e d i s c a r d s t a r t a d d r1 0 2 0 j 0 : s c = 8 1 9 21 0 3 0 g e t * 8 , a 1 0 4 0 p o k e s j a s c ( a $ c h r $ ( 0 ) )1 0 5 0 j = j + l1 0 6 0 i s t h e n c l o s e r e t u r n

0 7 g o t o 1 0 3 0

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

C o m m o d o r e ' s n e 6 4 0 0 a n 1 5 2 7 p r i n t e r s a l s o h a v e a d o m a t r i x l i k e t h 8 0 2 3 P . T h p r o g r a m h a n o b e e n t e s t e do t h e m b u i w i l l p r o b a b l y w o r k w i t h l i t t l e o n m o d i f i c at i o n . T h o n l y p o s s i b l e t r o u b l e s p o t s c a s e m i g h t l i i t h O P E N c o m m a n d s t t h p r i n t e r i l i n e s 3 8 0 , 3 9 0 , a n 4 1 0 . T h s e c o n d a r y a d d r e s s e s m a c h a n g e f o t h i n g s l i k el i n e s p a c i n g a n d p r o g r a m m a b l e c h a r a c t e r a c c e p t .

1 0 i t h e n 3 8 1 1 q c h r $ { 3 4 )1 2 p r i n t * c 6 h i - r e s t 8 0 2 3 p d u m p e r * * 1 3 p r i n t ( d a v i d b e r e z o w s k i a u g / 8 2 ) "1 4 p r i n t t h i s p r o g r a m d u m p s t h h i - r e s "1 5 p r i n t s c r e e n o t h c o m m o d o r e - 6 4 t o 1 6 p r i n t 8 0 2 3 p p r i n t e r . " p r i n t1 7 p r i n t t h i s p r o g r a m a s s u m e s t h a t : "1 8 p r i n t 1 t h e h i - r e s p a g e i s t o r e d "1 9 p r i n t a p r o g r a m f i l e o d i s k , "2 0 p r i n t w i t h l o a d a d d r e s s o $ 2 0 0 0 . " p r i n t2 1 p r i n t o r p r i n t2 2 p r i n t 2 t h h i - r e s p a g e r e s i d e s "2 3 p r i n t i m e m o r y f r o m $ 2 0 0 0 t $ 3 F F F . " p r i n t2 4 p r i n t t h i s p r o g r a m w i l l w o r k o n a n y

T h T r a n s a c t o r 5 A p r i l 1 9 8 3

Page 55: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 55/84

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

p r i n t p e t , c b m , v i e , o c 6 s y s t e m . " p r i n tg o s u b 4 3 0p r i n t h i a n k e t c o n t i n u e "g e t a $ i a " t h e n 2 8 p r i n t

i n p u tp r i n t' e ' x i t o d u m p f r o m ' ' i s k o ' m ' e m o r y " ; x

i x $ < > " d a n x $ < > " e a n x $ < > " m t h e n 3 0 i x i x i n p u lp r i n tc = o p e no p e n

m t h e n 3 8 e t h e n e n

e n t e r f i l e n a m e ; f l $p r i n t l o a d i n g f i l e . .

l o a d f l $ , 8 6 4 p r i n t # 6 , c h r $ ( 8 ) : c l o s e 6

1 7 , 4 , 1 7 o p e n 1 8 4 1 s y s 7 9 3 6 : r e m $ l f 0 0o p e ng o t oc

6 , 4 , 6 : p r i n t * 6 , c h r $ ( 1 2 ) : c l o s e 62 9

f o 7 9 3 6 t 8 1 8 2 : • e a d p o k e j c c n e x t : i c h < > 2 7 5 0 2 t h e n p r i n t d a t a e r r o r " s t o pr e t u r nd a t a

4 7 d a t a4 8 4 9 5 0 5 1 5 2 5 3 5 4 5 5 5 6 5 7 5 8 5 9 6 0 6 1 6 2 6 3 6 4 6 5 6 6 6 7 6 8 6 9 7 0 7 1 7 2 7 3 7 4 7 5 7 6

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 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

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

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

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

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

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

2 , 4 , 8 , 1 6 3 2 2 4 , 8 , 1 6 3 2 6 5 4 3 , 2 ,

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

0 1 3 4 , 22 2 4 1 7

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

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

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

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

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

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

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

3 2 , 2 3 1 , 2 5 52 9 6

6 4 1 2 8 ,6 4 1 2 8 , 7

1

T h e T r a n s o c t o r 5 A p r i l 1 9 8 3

Page 56: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 56/84

V I 2 C o m m o d o r e 6 B A S I C L i n e L a b e l i n g

T h p r o g r a m t h a t f o l l o w s w a o r i g i n a l l y p r e s e n t e d i T h T r a n s a c t o r b H o o g s t r a a t o C a l g a r y , A l b e r t a , b a c k i 1 9 7 9 .S h o r t l y a f t e r w a r d s , C h a r l e s A M c C a r t h y o S t P a u l , M i n n es o t a u p d a t e d t h e r o u t i n e t e l i m i n a t e s o m e b u g s a n m a k e i r e l o c a t a b l e . S i n c e t h e n , a B A S I C 4 . v e r s i o n h a b e e np u b l i s h e d a n o t h e r c h a n g e s h a v e b e e n m a d e . U t i l i t i e sc o m e a n g o b u t h i s o n h a b e e n s p o p u l a r a m o n g s tT r a n s a c t o r r e a d e r s , t h a t v e r s i o n s f o t h V I 2 a n C o m o d o r e 6 w e r e f e l t t b i o r d e r .

I C o m m o d o r e B A S I C , G O T O , G O S U B , I T H E N / G O T O ,o O G O T O / G O S U B s t a t e m e n t m u s t b f o l l o w e d b l i n en u m b e r , m o s t u n n a t u r a l w a t t r a n s f e r e x e c u t i o n b c a u s e l i n e n u m b e r i n o v e r y d e s c r i p t i v e a b o u t t h t a r g e t c o d e . F u r t h e r m o r e , i t h p r o g r a m i r e - n u m b e r e du s i n g p r o g r a m m e r s a i ( s u c h a D a v e H o o k ' s T i n y - A i d f o t h 6 4 t h i s i s s u e ) , t h l i n e n u m b e r s c h a n g e a n d t h p r g r a m m e r m u s t r e m e m b e r w h o l e n e s e o f l i n e n u m b e r st c a l l f r e q u e n t l y u s e d s u b r o u t i n e s a n e n t r y p o i n t s .

W i t h t h i s u t i l i t y , l i n e n u m b e r s c a n b e r e p l a c e d b " l i n el a b e l s " . F o e x a m p l e :

G O T O 1 0 G O S U B 5 0 0 0 0I S T H E N 1 0 0 0 0

m i g h t b e c o m e G O T O & S T A R TG O S U B & K E Y B O A R D

I F S T T H E N & C L O S E F I L E S

U n l i k e a l i n e n u m b e r , l a b e l o f f e r s t h p r o g r a m m e rm e a n s o e x e c u t i n g c o d e b y r e f e r e n c i n g m e a n i n g f u l t a r g e t .A l s o , w h e n p r o g r a m i r e - n u m b e r e d , t h l i n e s t h a t u s l a b e l s a s t h t a r g e t a r e u n a f f e c t e d . T h e p r o g r a m m e r c a c o n t i n u e c a l l i n g s u b r o u t i n e s , e t c , u s i n g t h o l l i n e l a b e l sw i t h o u t r e g a r d f o t h n e l i n e n u m b e r s .

O t h e r l a n g u a g e s s u c h a C O M A L , P A S C A L , a n W a t e r l o oB A S I C d i s c o u r a g e t h u s o f l i n e n u m b e r s a l t o g e t h e r . L i n el a b e l s a r u s e d a l m o s t w i t h o u t e x c e p t i o n . H o w e v e r , p r g r a m s w r i t t e n i t h e s e l a n g u a g e s a r o n l y t r a n s p o r t a b l e t m a c h i n e s t h a t h a v e s a m e l a n g u a g e i n s t a l l e d . T h i s u t i l i t yg i v e s C o m m o d o r e B A S I C u s e r s o n o t h a d v a n t a g e s o s t r u c t u r e d l a n g u a g e w h i l e m a i n t a i n i n g t h p r o g r a m s " m c h i n e i n d e p e n d e n c e . "

B u y o s a y , " t h a t m e a n s t h i s u t i l i t y m u s t b i n c l u d e d w i t ht h p r o g r a m b e f o r e i w i l l r u o a n o t h e r m a c h i n e " . A t h o u g h i c e r t a i n l y c a n b e i n c l u d e d w i t h i n p r o g r a m , i w a m e a n t m o r e a s d e v e l o p m e n t t o o l . W h e n p r o g r a mr e a c h e s i t f i n a l v e r s i o n , " s e a r c h a n r e p l a c e " u t i l i t yw o u l d b e u s e d t s u b s t i t u t e t h l a b e l s b a c k t t h e i r c o r r e sp o n d i n g l i n e n u m b e r s .

U t i l i t y U t i l i z a t i o n

P r o b a b l y t h e b e s t w a t d e m o n s t r a t e l i n e l a b e l s i w i t h t w e x a m p l e s ; o n w i t h l a b e l s , t h o t h e r w i t h o u t . S o m e p r e l i m in a r y e x p l a n a t i o n :

F i r s t , t h u t i l i t y d o e s n o r e q u i r e e x c l u s i v e u s o f l a b e l s . L i n en u m b e r s a n l i n e l a b e l s c a n b e u s e d a w i l l .

S e c o n d , a l l a b e l s m u s t b e p r e c e d e d b y a n a m p e r s a n d ( & ) .T h i s r o u t i n e l i n k s i t s e l f t B A S I C v i t h C H R G E T s u b r o ut i n e i l o R A M . ( s e e y o u r m e m o r y m a p ) W h e n C H R G E T i c a l l e d f r o m R O M , c h a r a c t e r i r e t u r n e d f r o m B A S I C t e x ts p a c e t h a t s o m e h o w g e t s m a n i p u l a t e d b y B A S I C . I t h i sc h a r a c t e r i a " & " , a n i f i t f o l l o w s a G O T O , G O S U B , e t c ,t h u t i l i t y t a k e s o v e r . O r i g i n a l l y t h l a b e l i n d i c a t o r w a " # s i g n b u w a c h a n g e d d u e t i n t e r f e r e n c e w i t h c o m m a n d ss u c h a G E T * , D C L O S E * , R E C O R D * , e t c .

N e x t , d e s t i n a t i o n s c a b l a b e l e d i n u m b e r o w a y s . T h l a b e l c a b o l i n e b i t s e l f o o t h f i r s t l i n e o f c o d ef o l l o w e d b c o l o n ( s e e e x a m p l e ) . L a b e l s m u s t b e s i n g l ew o r d ( i n s p a c e s , c o m m a s , o r c o l o n s ) b u c a b a n l e n g t h u t t h m a x i m u m c h a r a c t e r s y o c a f i o l i n e .T h l a b e l m a e v e n i n c l u d e e m b e f l t t u d B A S I C k e y w o r d s .B u w h e n r e f e r e n c i n g l a b e l , t h e n t i r e l a b e l m u s t b u s e de a c h t i m e . U n l i k e v a r i a b l e n a m e s i C B B A S I C , a l t h c h a r a c t e r s m u s t m a t c h . I n o t , ? U n d e f d S t a t e m e n t E r r o r .K e e p l a b e l s s h o r t i l e n g t h i y o i n t e n d t u s m u l t i p l es t a t e m e n t l i n e s , a n a l s o t a v o i d e x a c t s p e l l i n g m i s m a tc h e s .

F i n a l l y , t h C o m m o d o r e 6 v e r s i o n w o r k s w i t h o w i t h o u tt h R T C 6 4 - L i n k w h i c h a l s o p a t c h e s i n t o B A S I C . I y o

T h T r a n s a c t o r 5 A p r i l 1 9 8 3

Page 57: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 57/84

h a v e a n o t h e r c a r t r i d g e i n s t a l l e d t h a t i n t e r f e r e s w i t h B A S I C( e g . V S P ) , c h a n c e s a r t h u t i l i t y w i l l m a l f u n c t i o n . T h V I 2 v e r s i o n a l s o w o r k s w i t h V - L i n k , b u i h a s o n l y b e e nt e s t e d w i t h 8 o e x p a n s i o n R A M . H o w e v e r , t h e r e s h o u l d b en o p r o b l e m w i t h o t h e r c o n f i g u r a t i o n s . I t h e r e i s p l e a s ei n f o r m u s

T e c h n i c a l I n f o

A m e n t i o n e d e a r l i e r , t h i s u t i l i t y m o d i f i e s t h e C H R G E Ts u b r o u t i n e i l o R A M . I a n o t h e r u t i l i t y i i p l a c e t h a t a l s ow e d g e s i n t o B A S I C v i C H R G E T , i w i l l b d i s a b l e d w h e nt h i s o n i P O K E d i n L i k e w i s e , i a n o t h e r r o u t i n e t h a tm o d i f i e s C H R G E T i b r o u g h t i a s o m e l a t e r t i m e , t h l a b e l i n g u t i l i t y w i l l b d i s a b l e d b t h n e r o u t i n e .

m o r e c o n t e m p o r a r y m e t h o d t l i n k t h i s r o u t i n e i t h r o u g ht h N e B a s i c C o d e L i n k ( s e e m e m o r y m a p ) . T h i s l i n k i a i n d i r e c t j u m p v e c t o r t h r o u g h w h i c h t h e B a s i c i n t e r p r e t e re x a m i n e s c o d e . B r e - r o u t i n g i t l i k e V - L i n k , n e c o d e c a b a d d e d , s p e c i a l c h a r a c t e r s c a n b e s c a n n e d f o r , e t c . T h l a b e l i n g u t i l i t y i a c t u a l l y l i n k e d " t h e o l w a y " . A l t h o u g ht h i s i n o a e f f i c i e n t a t h B a s i c C o d e L i n k m e t h o d , i a l l o w s t h e r o u t i n e t r e s e m b l e m o r e c l o s e l y t h p r e v i o u sv e r s i o n s .

S o m e u t i l i t i e s l i n k i n t o B A S I C v i C H R G O T . D a v e H o o k ' sV I 2 0 / C 6 4 T i n y - A i d w o r k s t h i s w a y . S i n c e t h e t w u t i l i t i e sa r m o d i f y i n g d i f f e r e n t p a r t s o t h C H R G E T s u b r o u t i n e ,

t h e y a l l o w f o v e r y c o m f o r t a b l e c o - e x i s t e n c e . S u c hc o m b i n a t i o n o f f e r s t h l u x u r y o b o t h l i n e l a b e l s A N a d d i t i o n a l e d i t i n g c o m m a n d s .

N o t e : I y o s e a r c h a n r e p l a c e t h l a b e l s a s o m e l a t e r t i m eu s i n g T i n y - A i d , a l o t h o c c u r e n c e s w i l l g e r e p l a c e di n c l u d i n g t h o n e m a r k i n g t h e n t r y p o i n t . G e n e r a l l y i t ' sb e s t t c h a n g e t h i s s p o t b e f o r e t h e s e a r c h a n r e p l a c e . Y o u ' l le i t h e r n e e d t d e l e t e t h e l a b e l o p u R E b e h i n d i t

A t t h e v e r y b e g i n n i n g o t h r o u t i n e , p r o g r a m o d i r e c tm o d e i t e s t e d . T h u t i l i t y w i l l a b o r t i G O T O & L a b e l i i s s u e d d i r e c t l y f r o m t h e k e y b o a r d .

T h c o d e i e n t i r e l y r e l o c a t a b l e . T h i s m e a n s t h a t i w i l l w o r kn m a t t e r w h e r e i i s e u i R A M . S i n c e t h e r e a r e n i n t e r n a l J M P s , s i m p l e B A S I C r e l o c a t i n g l o a d e r w a c h o s e nt e s t a b l i s h t h r o u t i n e , w h i c h p u t s i d i r e c t l y u n d e r n e a t ht h L i m i t o M e m o r y p o i n t e r . T h i s a l s o m a k e s t h u t i l i t yc o m p a t i b l e w i t h o t h e r u t i l i t i e s t h a t g e t p l a c e d i h i g h R A M .

S u m m a r y

R e f e r e n c i n g B A S I C l i n e s b l a b e l a o p p o s e d t n u m b e rw i l l m a k e p r o g r a m m i n g l i f e l o e a s i e r . D e v e l o p m e n t t i m ei r e d u c e d a n s i l l y m i s t a k e s a r a l b e i t e l i m i n a t e d , e s p ec i a l l y i n l a r g e r p r o g r a m s . O n c e y o u ' v e w r i t t e n p r o g r a mu s i n g t h B a s i c L i n e L a b e l i n g u t i l i t y , y o u ' l l w o n d e r h o y o e v e r g o b w i t h o u t i t

E x a m p l e W i t h o u t L a b e l s

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

f o t o n i g o s u b l 6 0 , 1 9 0 , 2 2 0n e x t

g o t o 2 5

r e p r i n t " s u b r o u t i n e 1 : r e t u r n

p r i n t s e c o n d s u b r o u t i n er e t u r n

p r i n t " t h r e er e t u r n

a p r i n ti a < 1 0 t h e n 2 6

g o t o 1 0

S a m e E x a m p l e W i t h L a b e l s

1 0 f o t 1 1 o g o s u b & s u b l , & t w o , & o n e m o r e1 2 n e x t1 3 0 :1 4 g o t o & a l l d o n e1 5 0 :1 6 & s u b l r e l a b e l o o w l i n e1 7 p r i n t " s u b r o u t i n e 1 : r e t u r n1 8 0 :1 9 & t w o p r i n t " s e c o n d l a b e l o l i n e w i t h c o d e2 0 r e t u r n2 1 0 :2 2 & o n e m o r e p r i n t " * t h r e e h a e m b e d d e d b a s i c e x t r a s p c s2 3 r e t u r n2 4 0 :2 5 0 & a l l d o n e : a2 6 & n o t y e t : p r i n t a2 7 0 i f a < 1 0 t h e n & n o t y e t2 8 0 :2 9 g o t o 1 0

T h T r a n s a c t o r 5 A p r i l 1 9 8 3

Page 58: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 58/84

9 0 r e c 6 b a s i c l a b e l i n g u t i l i t y9 1 0 a d p e e k ( 5 5 ) p e e k ( 5 6 ) * 2 5 6 - 2 0 59 2 0 p o k e 5 5 a d - i n t ( a d / 2 5 6 ) * 2 5 69 3 0 p o k e 5 6 i n t ( a d / 2 5 6 )9 4 f o a t a d 2 0 5 - 19 5 r e a d x p o k e j 9 6 0 c h c 9 7 n e x t9 8 i c h < > 2 5 2 0 2 t h e n p r i n t9 9 s y a p r i n t s y s " ; a d ; "1 0 0 0 c l 1 0 1 0 d a t a 1 6 9 , 7 6 1 3 3 , 1 1 1 0 2 0 d a t a 2 4 1 0 5 , 2 1 1 3 1 0 3 0 d a t a 5 6 1 0 5 , 0 1 3 1 0 4 0 d a t a 7 6 , 2 2 7 , 1 6 8 , 2 3 01 0 5 0 d a t a 2 , 2 3 0 , 1 2 3 , 1 3 81 0 6 0 d a t a 2 5 5 , 2 2 8 , 5 8 , 2 4 01 0 7 0 d a t a 1 2 3 , 2 0 1 , 3 8 , 2 4 0 ,1 0 8 0 d a t a 1 7 0 , 7 6 , 1 2 1 , 0 1 0 9 0 d a t a 1 0 4 , 2 0 1 , 2 2 1 , 2 0 8 ,H O O d a t a 7 6 1 2 1 , 0 , 2 0 1 ,1 1 1 0 d a t a 2 9 , 2 0 1 , 2 1 0 , 2 4 0 ,1 1 2 0 d a t a 1 5 9 , 2 4 0 , 2 9 , 2 0 1 ,1 1 3 0 d a t a 2 8 7 2 , 2 0 1 , 9 7 1 1 4 0 d a t a 1 0 4 , 1 0 4 , 3 2 1 1 5 ,1 1 5 0 d a t a 4 4 , 2 0 8 , 2 4 9 , 7 6 1 1 6 0 d a t a 1 6 5 , 9 7 , 2 0 8 , 4 1 1 7 0 d a t a 5 9 1 6 9 , 5 6 1 7 6 ,1 1 8 0 d a t a 1 0 4 , 8 1 6 5 , 4 3 1 1 9 0 d a t a 1 6 0 , 0 , 2 4 0 , 4 1 2 0 0 d a t a 1 7 7 , 9 5 2 4 1 3 3 ,1 2 1 0 d a t a 4 1 3 3 , 9 3 , 1 3 8 ,1 2 2 0 d a t a 1 0 5 , 0 1 3 3 , 9 4 1 2 3 0 d a t a 9 5 , 2 4 0 , 1 3 9 , 1 7 0 ,1 2 4 0 d a t a 9 3 , 2 4 0 , 1 5 , 2 0 1 ,1 2 5 0 d a t a 1 1 , 2 0 1 , 3 2 , 2 4 0 ,1 2 6 0 d a t a 1 2 2 , 2 0 8 , 2 1 5 , 2 0 0 ,1 2 7 0 d a t a 1 7 7 , 1 2 2 , 2 4 0 , 1 2 1 2 8 0 d a t a 2 4 0 , 8 , 2 0 1 , 5 8 1 2 9 0 d a t a 2 0 1 , 3 2 , 2 0 8 , 1 9 6 ,1 3 0 0 d a t a 2 1 1 6 5 , 1 2 3 , 7 2 1 3 1 0 d a t a 7 2 1 6 5 , 5 8 , 7 2 ,1 3 2 0 d a t a 7 2 1 6 9 , 1 4 1 , 7 2 ,1 3 3 0 d a t a 7 2 1 6 9 , 1 7 3 , 7 2 ,1 3 4 0 d a t a 1 6 8 , 3 2 , 2 4 8 , 1 6 8 ,1 3 5 0 d a t a

d a t a e r r o r " : s t o pt r e - e n a b l e "

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

7 2 1 6 6 1 6 5 1 0

1 0 4 , 1 7 4 7

5 4 2 4 2 5 2 0

1 3 0 , 2 4 02 0 8 , 1 2

0 , 2 0 18 7 1 6

1 0 4 , 7 1 2

1 6 6 , 4 1 6 0 ,

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

5 8 2 4 7 , 2 0 9

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

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

3 2 1 9 7 6 1 2

9 0 r e v i 2 b a s i c l a b e l i n g u t i l i t y9 1 a p e e k ( 5 5 ) p e e k ( 5 6 ) * 2 5 6 - 2 0 59 2 0 p o k e 5 5 a d - i n t ( a d / 2 5 6 ) * 2 5 69 3 0 p o k e 5 6 i n t ( a d / 2 5 6 )9 4 0 f o r j a d t o a d + 2 0 5 - l9 5 r e a d p o k e j 9 6 0 c h c 9 7 n e x t9 8 i c h < > 2 5 3 3 1 t h e n p r i n t " d a t a e r r o r " : s t o p9 9 s y a p r i n t s y s " ; a d ; " t r e - e n a b l e "1 0 0 0 c l l O l O d a t a 1 6 9 , 7 6 1 3 3 , 1 1 5 , 1 6 5 , 5 1 0 2 0 d a t a 2 4 , 1 0 5 , 2 1 , 1 3 3 , 1 1 6 , 1 6 1 0 3 0 d a t a 5 6 , 1 0 5 , 0 1 3 3 , 1 1 7 , 9 1 0 4 0 d a t a 7 6 , 2 2 7 , 2 0 0 , 2 3 0 , 1 2 2 , 2 0 81 0 5 0 d a t a 2 , 2 3 0 , 1 2 3 , 1 3 8 , 7 2 , 1 6 21 0 6 0 d a t a 2 5 5 , 2 2 8 , 5 8 , 2 4 0 , 6 , 1 6 11 0 7 0 d a t a 1 2 3 , 2 0 1 , 3 8 , 2 4 0 , 5 , 1 0 41 0 8 0 d a t a l 7 0 , 7 6 1 2 1 , 0 1 0 4 , 1 7 1 0 9 0 d a t a 1 0 4 , 2 0 1 , 1 3 1 , 2 0 8 , 4 7 1 1 0 0 d a t a 7 6 1 2 1 , 0 , 2 0 1 , 5 4 , 2 4 01 1 1 0 d a t a 2 9 , 2 0 1 , 2 3 7 , 2 4 0 , 2 5 , 2 0 11 1 2 0 d a t a 1 5 9 , 2 4 0 , 2 9 , 2 0 1 , 1 3 0 , 2 4 01 1 3 0 d a t a 2 8 7 2 , 2 0 1 , 9 7 , 2 0 8 , 1 2 1 1 4 0 d a t a 1 0 4 , 1 0 4 , 3 2 1 1 5 , 0 , 2 0 11 1 5 0 d a t a 4 4 , 2 0 8 , 2 4 9 , 7 6 8 7 , 2 0 11 1 6 0 d a t a 1 6 5 , 9 7 , 2 0 8 , 4 , 1 0 4 , 7 61 1 7 0 d a t a 5 9 , 2 0 1 , 5 6 1 7 6 , 1 2 1 1 8 0 d a t a 1 0 4 , 8 1 6 5 , 4 3 , 1 6 6 , 4 1 1 9 0 d a t a 1 6 0 , 0 , 2 4 0 , 4 , 1 6 0 ,1 2 0 0 d a t a 1 7 7 , 9 5 , 2 4 , 1 3 3 , 9 5 1 0 1 2 1 0 d a t a 4 1 3 3 , 9 3 , 1 3 8 , 1 3 3 , 9 1 2 2 0 d a t a 1 0 5 , 0 , 1 3 3 , 9 4 , 2 0 0 , 1 7 71 2 3 0 d a t a 9 5 , 2 4 0 , 1 3 9 , 1 7 0 , 1 3 6 , 1 7 71 2 4 0 d a t a 9 3 , 2 4 0 , 1 5 , 2 0 1 , 5 8 , 2 4 01 2 5 0 d a t a 1 1 , 2 0 1 , 3 2 , 2 4 0 , 7 , 2 0 91 2 6 0 d a t a 1 2 2 , 2 0 8 , 2 1 5 , 2 0 0 , 2 0 8 , 2 3 1 2 7 0 d a t a 1 7 7 , 1 2 2 , 2 4 0 , 1 2 , 2 0 1 , 4 1 2 8 0 d a t a 2 4 0 , 8 , 2 0 1 , 5 8 , 2 4 0 ,1 2 9 0 d a t a 2 0 1 , 3 2 , 2 0 8 , 1 9 6 , 4 0 1 7 1 3 0 0 d a t a 2 1 1 6 5 , 1 2 3 , 7 2 1 6 5 , 1 2 1 3 1 0 d a t a 7 2 , 1 6 5 , 5 8 , 7 2 , 1 6 5 , 5 1 3 2 0 d a t a 7 2 1 6 9 , 1 4 1 , 7 2 1 6 9 , 1 9 1 3 3 0 d a t a 7 2 1 6 9 , 1 7 3 , 7 2 , 3 2 , 1 9 1 3 4 0 d a t a 2 0 0 , 3 2 , 2 4 8 , 2 0 0 , 7 6 , 1 2 11 3 5 0 d a t a 0

T h T r a n s a c t o r 5 A p r i l 1 9 8 3

Page 59: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 59/84

S o u r c e C o d e L i s t i n g

T h s o u r c e c o d e b e l o w s h o w s s t a r ta s s e m b l e r ( r e m e m b e r , t h m a c h i n e

a d d r e s sc o d e s a r

w a t c h t h a t y o u r a s s e m b l e r d o e s n ' t p u t i t h e r e

f $ 0 3 3 c .P O K E do i w i

T h i s i j u s t d u m m y s t a r t a d d r e s s a n i o n l y n e c e s s a r y t o s a t i s f y t h i w i t h r e l o c a t o r ) . T h r o u t i n e i a c t u a l l y t o o b i g t f i a $ 0 3 3 c s

c l o b b e r s o m e t h i n g f o s u r e .

T h l i s t i n g s h o w n i f o t h C o m m o d o r e 6 v e r s i o n . T h V I 2 s o u r c e i n o t i c e b c o m p a r i n g t h t w l o a d e r s ) ,

1 0 0 : 0 3 3 c

1 2 0 : 0 3 3 c1 3 0 : 0 3 3 e1 4 0 : 0 3 4 01 5 0 : 0 3 4 21 6 0 : 0 3 4 31 7 0 : 0 3 4 51 8 0 : 0 3 4 71 9 0 : 0 3 4 92 0 0 : 0 3 4 b2 1 0 : 0 3 4 d2 2 0 : 0 3 4 e2 3 0 : 0 3 5 12 4 0 : 0 3 5 32 5 0 : 0 3 5 5

2 7 0 : 0 3 5 72 8 0 : 0 3 5 82 9 0 : 0 3 5 93 0 0 : 0 3 5 b3 1 0 : 0 3 5 d3 2 0 : 0 3 5 f3 3 0 : 0 3 6 13 4 0 : 0 3 6 3

3 6 0 : 0 3 6 53 7 0 : 0 3 6 63 8 0 : 0 3 6 7

4 0 0 : 0 3 6 a4 1 0 : 0 3 6 b4 2 0 : 0 3 6 c4 3 0 : 0 3 6 d4 4 0 : 0 3 6 f4 5 0 : 0 3 7 14 6 0 : 0 3 7 24 7 0 : 0 3 7 54 8 0 : 0 3 7 74 9 0 : 0 3 7 95 0 0 : 0 3 7 b5 1 0 : 0 3 7 d5 2 0 : 0 3 7 f

a 8 a 1 6 8 a 6 8 6 4 e d e

8 4 a e f a c f

6 a 4

6 a 6 c d 4 4 c f c t c f

\ n a d d r e s s e s t h a t c h a n g e i t h

4 7 3

1 7 3 0 7

e 3 a 87 0 7

I 3 0 7 2 0

7 0

d 0

7 0 3 I d 1 9 I

u n d e f de n t r y

n o h i n c

e x i t

c h k l a b

c h k t h n

I d s t I d c l a d s t I d a d s t r t i m i n b n i n

t x p h l d c p b e I d c m b e

p l t a j m

p l t a p l c m b n p h j m c m b e c m b e c m b e

$ 0 3 3 c

# $ 4 c$ 0 0 7 3$ 0 0 3 7

# 2 $ 0 0 7 4$ 0 0 3 8# 0 $ 0 0 7 5

$ a 8 e 3$ 7 n o h i n c$ 7

# $ f f$ 3 e x i t( $ 7 b , x )* $ 2 6c h k l a b

$ 0 0 7 9

# $ d dc h k t h n

$ 0 0 7 9# $ 3 6c h k c o n d# $ d 2c h k c o n d# $ 9 fe n t r l

i d e n t i c a l e x c e p t f o f e a d d r e s s e s ( a y o m i g h tV I v e r s i o n a r s h o w n i b r a c k e t s .

; d u m m y , d n o a s s m b l h e r e

; s y s h e r e t l i n k ( A i l o a d e r )

; u n d e f d s t a t e m e n t e r r o r ( $ c 8 e 3 ); p e r f o r m T X T P T R i n ; 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

; i s o e x i t; n o , c h e c k f o

; f o u n d , g t e s t

; n o , r e s t o r e .

; r e t u r n t b a s i c

; r e s t o r e . X

; p u l l l o b y o c a l l i n g a d d r; C 6 4 L i n k s c a n ( # $ 8 3 ); n o , g o ; y e s , i g n o r e

; b a s i c ' t h e n ?; y e s , c h c o n d i t i o n; 6 4 - L i n k ' t h e n ' ? ( # $ e d )

; g o t o ?; y e s , g f i n d t r a n s f e r

T h T r a n s a c t o r 5 A p r i l 1 9 8 3

Page 60: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 60/84

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

6 6 6 7 6 8 6 9 7 0 7 1 7 2

7 4 0 :7 5 0 :7 6 0 :7 7 0 :7 8 0 :7 9 0 :

8 1 0 :8 2 0 :

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

9 8 0 :9 9 0 :

1 0 0 0 :1 0 1 0 :1 0 2 0 :1 0 3 0 :1 0 4 0 :1 0 5 0 :

0 3 8 1: 0 3 8 ;: 0 3 8 ^

0 3 8 £: 0 3 8 £

0 3 8 a0 3 8 t0 3 8 c0 3 8 f0 3 9 10 3 9 3

0 3 9 60 3 9 80 3 9 a0 3 9 b0 3 9 e0 3 9 f0 3 a l

0 3 a 20 3 a 30 3 a 40 3 a 60 3 a 80 3 a a

0 3 a c0 3 a e

0 3 b 00 3 b l0 3 b 30 3 b 50 3 b 7

c 8 f l 4 c 6 d O 7 96 6 2 7 0 c 9 2 cd 0 f 94 5 a

a 6 d 0 6 4 3 a 3 b O O l1

6 0 a 2 a 2 a O O Of 0

a O O Ob 5

1 8 5 6 0 8 5 8

0 3 b 8 8 5 6 00 3 b a0 3 b c0 3 b e0 3 b f0 3 c l0 3 c 30 3 c 4

0 3 c 50 3 c 70 3 c 90 3 c b0 3 c d0 3 c f0 3 0 3 d 3

6 0 8 5 c b 5 f 8 a 8

b 5 f O c 3 f O c 2 f 0 d 7 d 0 d 7

f n d c o m

c h k c o n d

e n t r l

e n t r O

e n t r g o

f l a b e l

n x s t a t

s r c h l n

m a t c h

c m b e p h c m b n p l | ) l a

j s c m b n i m

[ d b n p l i m s e b c d

p l p h I d l d l d b e

l d I d

c l s t a d s t t x s t a d s t i n I d b e t a d e

I d b e c m b e c m b e c m b n

) * $ 8 2e n t r O

# $ 6 1e x i t 2

$ 0 0 7 3* $ 2 cf n d c o m$ a 9 5 7

$ 6 e n t r l

$ a 9 3 b

e n t r g o

$ 2 $ 2 # $ 0 0s r c h l n

* $ 0 0( $ 5 f ) , y

$ 5 # $ 0 4$ 5

$ 6 # $ 0 0$ 5

( $ 5 f ) , yu n d e f d

( $ 5 d ) , yf n d t r m# $ 3 af n d t r m# $ 2 0f n d t r m( $ 7 a ) , yn x s t a t

; g o s u b ?; y e s , g f i n d; l b y t e t s t a c k i c a s e; n o t h i n g t d ; n o , s k i p s t a t e m e n t; y e s , d ' o n '; p u l l r t a d d r

; a d v a n c e T X T P T R; t o c o m m af o l l o w i n g l a b e l; c o n t w i t h o

; c h k c o n d i t i o n f o i ; t r u e , g o ; f a l s e , p u l l r e s t o a d d r; a n d s k i p l i n e; c a r r y f l a g s e f o g o t o / t h e n

; c a r r y c l t r e m e m b e r g o s u b

; p u l l r e s t o a d d r; t s a v e c a r r y f l a g; i n i t b a s i c t 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; f o r c e d b r a n c h

; g e t p o i n t e r t ; p r e s e n t l i n e i $ 5

; . Y = 1; c h k f o n u l l l i n k , e n d p r o g; i s o l a b e l n o f o u n d

; t e s t f o & l a b e l t e r m i n a t o r; n u l l ? , e n o l i n e; c o l o n , e n o s t a t e m e n t

; s p a c e ?; n o 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 & l a b e l - t n e x t s t a t e m e n t; i n o t h i s o n e . M a t c h s f a

T h T r a n s a c t o r 5 A p r i l 1 9 8 3

Page 61: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 61/84

Page 62: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 62/84

T i n y - A i dF o T h C o m m o d o r e 6

D a v i d A H o o kB a r r i e , O n t .

I n t r o d u c t i o n

R e a d e r s o t h T r a n s a c t o r ( V o l u m e 4 I s s u e 1 a n C O P U T E ! ( # 3 1 D e c e m b e r 1 9 8 2 ) m a h a v e n o t i c e d t h a t t h e yc o n t a i n e d V I v e r s i o n o J i B u t t e r f i e l d ' s T i n y A i f o P E T . I a n s w e r t p o p u l a r d e m a n d , b u m a i n l y b e c a u s ef i n a l l y g o m C o m m o d o r e 6 4 h e r e i t h f u r t h e r a d a p t a t i o nf o o u f a v o u r i t e c o m p a n y ' s n e w e s t w u n d e r k i n d .

A l t h o u g h r e a l i z e m e m o r y s i z e i n o s e r i o u s p r o b l e m o nt h C 6 4 , t h e r e a r e s t i l l o n l y f e o t h " c o m p l e t e 4 K B a s i c - A i d f e a t u r e s t h a t u s f r e q u e n t l y . I k e e p i n g w i t h t h o r i g i n a l s p i r i t o T i n y A i d , y o w o n ' t f i n d m u c h d i f f e r e n t i t h i s p a c k a g e .

N e v e r l e i b s a i d t h a t w a r s t a n d i n g s t i l l , h o w e v e r . Y o w i l l n o t e t h a t t h i s o n d o e s h a v e a A P P E N D c o m m a n d ,w h i c h w o r k s w i t h e i t h e r t a p e o d i s k . ( I i n o M E R G E , s y o w i l l h a v e t d y o u r o w h o u s e k e e p i n g w i t h p r o p e rs t a g i n g o l i n e n u m b e r s e q u e n c e s ) .

F o y o u r p r o g r a m e d i t i n g s a t i s f a c t i o n , p r e s e n t t y o C 6 T I N Y A I D .

F e a t u r e s

C 6 T I N Y A I D i m a c h i n e l a n g u a g e p r o g r a m w h i c h c o s u m e s a b o u t 1 1 7 7 b y t e s o y o u r R A m e m o r y . A f t e r y o h a v e l o a d e d t h p r o g r a m , t y p e ' R U N ' a n h i < R E T U R N > .T h p r o g r a m a u t o m a t i c a l l y r e p a c k s i t s e l f i n t o h i g h m e m o r y .I g o e s i n a t t h c u r r e n t t o p o m e m o r y , a n w i l l p e a c e f u l l yc o - e x i s t w i t h a n o t h e r p r o g r a m s a b o v e i t T h a p p r o p r i a t em e m o r y p o i n t e r s a r e s e s t h a t B a s i c w i l l n o c l o b b e r i t C 6 4 T I N Y A I D i n o a l i v e .

O n c e a c t i v a t e d , t h s i c o m m a n d s b e c o m e a t t a c h e d t B a s i c . T h e y w i l l f u n c t i o n o n l y i " d i r e c t " m o d e , i . e . d o n ' ti n c l u d e t h e m i p r o g r a m .

( 1 N U M B E R 1 0 0 0 , 5N U M B E R 1 0 0 , 1 0

< R E T U R N >

R e n u m b e r s B a s i c p r o g r a m w i t h g i v e n s t a r t i n g l i n en u m b e r a n g i v e n i n c r e m e n t b e t w e e n l i n e n u m b e r s . T h m a x i m u m i n c r e m e n t i 2 5 5 .

A l l l i n e n u m b e r r e f e r e n c e s a f t e r G O T O , T H E N , G O S U B a n R U a r a u t o m a t i c a l l y c o r r e c t e d . d i s p l a y o t h e s e r e f e re n c e d l i n e s i p r e s e n t e d o t h s c r e e n a t h c o m m a n d d o e si t t h i n g . I y o h a v e G O T O w h i c h r e f e r s t n o n - e x i s t e n tl i n e n u m b e r i y o u r p r o g r a m , t h e n i i c h a n g e d t 6 5 5 3 5 .T h i s i a i l l e g a l l i n e n u m b e r , a n d m u s t b c o r r e c t e d b e f o r et h B a s i c p r o g r a m i u s e d .

( 2 D E L E T E 1 0 0 - 2 0 0D E L E T E - 1 5 0 0D E L E T E 5 1 9 9 -

< R E T U R N >

D e l e t e s r a n g e o l i n e s f r o m B a s i c p r o g r a m . U s e s t h s a m es y n t a x a t h L I S T c o m m a n d , s a n l i n e - r a n g e m a b s p e c i f i e d f o r e m o v a l . D E L E T E w i t h n r a n g e w i l l p e r f o r ml i k e N E c o m m a n d , s b c a r e f u l .

( 3 F I N D / P R I N T / < R E T U R N >F I N D / A $ / , 1 5 0 - 6 7 0F I N D " P R I N T " , 2 0 0 0 -F I N D * 6 2 0 5 0 * , - 3 1 1 0

W i l l l o c a t e a n o c c u r e n c e s o t h e c h a r a c t e r s b e t w e e n t h s p e c i a l m a r k s c a l l e d " d e l i m i t e r s " . A l m o s t a n c h a r a c t e r m a b e u s e d t i d e n t i f y t h s t a r t a n t h e n o t h " s t r i n g " t b f o u n d , s l o n g a b o t h a r e t h e s a m e . T h f i r s t e x a m p l e w i l lf i n d a l t h P R I N T i n s t r u c t i o n s i t h p r o g r a m .

T h i s " s e a r c h s t r i n g " i t o k e n i z e d b t h r o u t i n e , w h i c hm e a n s y o n e e d t b c a r e f u l i y o a r l o o k i n g f o a s t r i n g

T h T r a n s a c t o r 6 A p r i l 1 9 8 3

Page 63: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 63/84

o t e x t w h i c h c o n t a i n s B a s i c " k e y w o r d " . F o e x a m p l e , y o c o u l d b l o o k i n g f o t h w o r d " P R I N T " a p a r t o t e x tm e s s a g e , i e i q u o t e s . T h t h i r d e x a m p l e a b o v e s h o w s h o t d t h i s . S o m e t i m e s t h o s e k e y w o r d s c a h i d e o y o u , s i m a b w o r t h w h i l e t s e a r c h u s i n g b o t h k i n d s o s t a r t / e n dm a r k e r s .

Y o c a p e r f o r m s e a r c h t h a t i l i m i t e d t c e r t a i n l i n er a n g e . J u s t s p e c i f y t h s t a r t i n g a n e n d i n g l i n e n u m b e r s a y o w o u l d w i t h L I S T c o m m a n d . T h r e e e x a m p l e s a b o v ed e m o n s t r a t e t h i s . P l e a s e n o t e t h a t c o m m a m u s t s e p a r a t et h e n d - m a r k e r f r o m t h l i n e r a n g e .

A l l i n e s c o n t a i n i n g t h s t r i n g a r e p r i n t e d t t h s c r e e n . I l i n e h a m o r e t h a n o n o t h e m , e a c h o c c u r e n c e w i l l c a u s er e p e t i t i o n o t h a t l i n e o t h e s c r e e n .

( 4 C H A N G E - P R I N T - P R I N T * 4 < R E T U R N >C H A N G E / A B C / X Y Z / , 6 0 0 0 -C H A N G E / D S $ / D 1 $ / , - 5 0 0 0C H A N G E " B O B " C A R O L "

U s i n g t h s a m e s y n t a x a F I N D , y o u m a c h a n g e a n s t r i n gt a n o t h e r s t r i n g i B a s i c p r o g r a m . T h i s c o m m a n d i v e r y p o w e r f u l , a n w a n o p a r t o t h e a r l y v e r s i o n s o B a s i c - A i d o T o o l k i t . u s t h i s o n q u i t e o f t e n .

A b e f o r e , y o m a i n d i c a t e a l i n e - r a n g e . A t h c h a n g e sa r m a d e , t h e r e v i s e d l i n e s a r d i s p l a y e d o t h s c r e e n .

W a t c h o u f o t h d i f f e r e n c e b e t w e e n B a s i c k e y w o r d s a n ds t r i n g s o t e x t w i t h i n q u o t e s . Y o m a u s t h q u o t e c h a r a ct e r s t o d i f f e r e n t i a t e , a w i t h F I N D .

T h f i r s t e x a m p l e s h o w s h o t c h a n g e a l t h P R I N Ts t a t e m e n t s t a d d r e s s t h e m t a n o t h e r d e v i c e , p e r h a p sp r i n t e r . N o t i c e t h a t t h c o m m a a t h e n o t h " P R I N T * " i i n s i d e t h e n m a r k e r . T h i s w i l l r e s u l t i S Y N T A X E R R O Ri t h P R I N T w a b e i n g u s e d t d b l a n k l i n e , s a l s u c hl i n e s n e e d t b c h a n g e d b a c k m a n u a l l y . I t ' s y o u r c h o i c e a t w h i c h w o r k s b e s t w i t h y o u r p r o g r a m m i n g s t y l e .

a l w a y s d F I N D b e f o r e a t t e m p t i n g t h C H A N G E , j u s t t os e e t h e p o t e n t i a l m e s s I ' a b o u t t c r e a t e .

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

S e v e r a l c a u t i o n s a r i o r d e r h e r e . F i r s t , t h i s i n o a t r u eM E R G E , a t h n e p r o g r a m j u s t a t t a c h e s i t s e l f t t h e n o t h o n a l r e a d y t h e r e . S e c o n d l y , n c h e c k i m a d e t s e i

t h o n i m e m o r y i " B a s i c - o n l y " . T h i r d l y , n o c h e c k i m a d e o t h i n c o m i n g o n t s e i i i B a s i c e i t h e r . F i n a l l y ,i a s s u m e s y o a r b i b o y s a n g i r l s a n w o n ' t a t t e m p t t A P P E N D p r o g r a m s t h a t h a v e l o w e r l i n e n u m b e r s t h a n t h r e s i d e n t p r o g r a m . A l b e t s a r o f i y o u d o t h e s e n a u g h t yt h i n g s !

A f t e r a l t h e s e c a v e a t s , w h a t i i g o o d f o r ? Y o m a h a v es e r i e s o s u b r o u t i n e s s t o r e d o d i s k o t a p e w h i c h a r u s e df r e q u e n t l y ( b u l l e t - p r o o f i n p u t r o u t i n e o r n u m b e r f o r m a tt i n g r o u t i n e a r e t w e x a m p l e s ) . R a t h e r t h a n h a v i n g t L O A Dt h e m i f i r s t , y o c a b r i n g t h e m i a f t e r y o u ' v e g o u n d e r w a y w i t h y o u r p r o g r a m m i n g . I w a c o n s i d e r e d t b w o r t h w h i l e b y t h p e r s o n w h a s k e d m t i n c l u d e i i t h i sv e r s i o n .

( 5 ) A P P E N D " f i l e n a m e " ,A P P E N D " l : f i l e n a m e " , 8

< R E T U R N >

( 6 K I L L < R E T U R N >

T h i s i t h n e k i o t h e b l o c k , a m e n t i o n e d a b o v e . E i t h e rt a p e o r d i s k m a b u s e d a t h s o u r c e . T h s e c o n d e x a m p l er e f e r s t d r i v e # 1 o d u a l d r i v e s y s t e m . I t f u n c t i o n i t

T h i s c o m m a n d d i s a b l e s C 6 4 T I N Y A I a n i t a s s o c i a t e dc o m m a n d s . s y n t a x e r r o r w i l l b t h r e s u l t i a n o t h a b o v e c o m m a n d s a r n o t r i e d .

S i n c e t h e r o u t i n e i s a f e f r o m i n t e r f e r e n c e f r o m B a s i c , y o m a l e a v e i a c t i v e f o a l o n g a y o u r m a c h i n e s t a y s o n I i p o s s i b l e t h a t C 6 T I N Y A I m a i n t e r f e r e w i t h o t h e r p r og r a m s t h a t m o d i f y B a s i c ' s i n t e r n a l ' C H R G O T ' r o u t i n e . T h K I L L c o m m a n d a l l o w s y o t a v o i d t h i s c o n f l i c t .

P r o c e d u r e

T h C 6 c o n t a i n s n i n t e r n a l m a c h i n e l a n g u a g e m o n i t o r ,w h i c h i t h m o s t e f f i c i e n t w a t e n t e r t h i s p r o g r a m . T h e r ea r e s e v e r a l o p t i o n s f o y o u , d e p e n d i n g o t h s t a t e o f y o u rp r o g r a m l i b r a r y :

( 1 I y o h a v e a c c e s s t a U p g r a d e ( 2 . 0 ) o r B a s i c 4 . P E T /C B M , i h a a i n t e r n a l M m o n i t o r . T h i s w i l l w o r k q u i t ew e l l .

( 2 U s y o u r C 6 4 , b u y o u m u s t h a v e m a c h i n e l a n g u a g em o n i t o r o s o m e t h i n g t h a t d o e s t h s a m e j o b :

- J i m B u t t e r f i e l d ' s S U P E R M O N 6 4 . V 1 ( C o m p u t e # 3 2 , J a n ua r 1 9 8 3 ) .- J i m B u t t e r f i e l d ' s T I N Y P E E K E R / P O K E R ( s a m e a r t i c l e )

T h T r a n s a c t o r 6 A p r i l 1 9 8 3

Page 64: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 64/84

w h i c h h a v e ( v e r y s l i g h t l y ) m o d i f i e d i t h i s a r t i c l e .

( 3 T h e w a y o t h e P o s t O f f i c e . S e n d $ 3 , a b l a n k c a s s e t t e o 1 5 4 1 / 2 0 3 1 / 4 0 4 0 d i s k e t t e i s t a m p e d , s e l f - a d d r e s s e dm a i l e r t m a t

5 S t e e l S t r e e tB A R R I E , O n t a r i o , C A N A D AL 4 2 E

B s u r e i t ' s p a c k a g e d s e c u r e l y . D i s k e t t e s w i l l b r e t u r n e d i D O 2 . 0 f o r m a t . I y o u h a v e 1 5 4 0 / 1 5 4 1 / 2 0 3 1 L P / o r a n o l 2 0 4 0 ( w h i c h s t i l l h a D O 1 . 0 ) y o s h o u l d n o S A V E o W R I T E t t h d i s k e t t e y o g e f r o m m e P r e p a r e d i s k e t t et h a t y o f o r m a t t e d o n y o u r o w d r i v e , L O A D t h p r o g r a mi n t o m e m o r y , i n s e r t y o u r o t h e r d i s k a n S A V E i t W h e ny o u ' v e h a v e V E R l F Y e d c o p y , r e - f o r m a t t h o r i g i n a l d i s kf o y o u r o w r e - u s e . T h i s c a u t i o n i w o r t h w h i l e b e c a u s e t h " l o w - p r o f i l e " d r i v e s a r e n o t " W R I T E - c o m p a t i b l e " w i t h t h o t h e r I E E E d r i v e s f r o m t h P E T / C B M e q u i p m e n t . Y o s h o u l d b a b l e t " R E A D " t h S A V E d p r o g r a m s O K

B t h w a y , c a n n o t u s U . S . o r o t h e r f o r e i g n p o s t a g e t r e t u r n y o u r t a p e / d i s k . Y o w o u l d b a m a z e d t l e a r n t h n u m b e r o p e o p l e w h j u s t f o l l o w e d m " o r d e r s " w i t h t h V I C 2 0 T I N Y A I D b l i n d l y . C a n a n y o n e u s $ 1 5 0 w o r t h o A m e r i c a n s t a m p s , s o m e i r a t h e r s h a b b y c o n d i t i o n ?

I y o u ' r e s t i l l w i t h m e y o a r a b o u t t u n d e r t a k e t h e e n t r yo a b o u t 3 3 0 0 c h a r a c t e r s w o r t h o h e x a d e c i m a l n u m b e r s . A w e l l a s t h d i g i t s f r o m z e r o t n i n e , y o w i l l n e e d t h a l p h a b e t i c c h a r a c t e r s f r o m A - t r e p r e s e n t n u m b e r s f r o mt e t f i f t e e n . T h e s e c h a r a c t e r s , a n t h r e e i n s t r u c t i o n s , w i l lb a l t h a t a r u s e d t e n t e r o u r p r o g r a m . A I ' v e o f t e n s a i db e f o r e , j u s t f o l l o w t h e i n s t r u c t i o n s — i t w o n ' t b t h f i r s tc o m p u t e r - r e l a t e d t h i n g y o m a n o f u l l y u n d e r s t a n d ! B u ty o c a m a k e i w o r k w i t h o u t t o t a l l y k n o w i n g t h e f f e c t .

T h a l t e r n a t i v e , a B a s i c l o a d e r w i t h D A T A s t a t e m e n t s , w o u l db f o u r t i m e s a m u c h t y p i n g a n w o u l d r e q u i r e a m u c h" m e s s i n g a b o u t " i t h e n a n y w a y .

F r o m t h i s p o i n t o n w e ' l l t a k e d i f f e r e n t p a t h s . h o p e w a l c a g e b a c k t o g e t h e r f o t h f i n a l e :

A W i t h P E T / C B M :

S t a r t w i t h f r e s h l y - p o w e r e d - u p m a c h i n e . W f i r s t n e e d t m o v e t h S t a r t - o f - B a s i c P o i n t e r t m a t c h t h C o m m o d o r e6 4 ' s . T y p e i t h e f o l l o w i n g i n s t r u c t i o n s , ( w i t h o u t u s i n g l i n en u m b e r s ) :

N o t y p e i t h B a s i c p r o g r a m l i s t i n g t h a t a p p e a r s w i t h t h i sa r t i c l e . M u c h o i r e p r e s e n t s i n t e r n a l d o c u m e n t a t i o n o h o t h c o m m a n d s w o r k , s d o n ' t l e a v e i o u t . T h i n f o r m at i o n w i l l f i o t h s c r e e n w i t h o u t l o s i n g a n b s c r o l l i n g , s t y p e i i e x a c t l y , a n d o n ' t a d a n y t h i n g e x t r a e i t h e r .

P e r f o r m n o r m a l B a s i c S A V E t y o u r t a p e o r d i s k , a n V E R I F Y i t o o . C a l l i t C 6 4 A I D . B A S " . T y p e ' N E W ' t c l e a rt h p r o g r a m . T h a t w a p r e t t y e a s y s t u f f .

W n e e d t e n t e r t h e M m o n i t o r n o w , s t y p e i n S Y S 2 0 4 8a n h i < R E T U R N > . T h e r e w i l l b a d i s p l a y o t h s c r e e n ,w h i c h y o m a i g n o r e i y o d o n ' t u n d e r s t a n d m o n i t o r s .B e l o w t h i s y o c a s e e t h e c u r s o r f l a s h i n g n e x t t p e r i o dc h a r a c t e r ( " . " ) . T h p e r i o d i l i k e p r o m p t c h a r a c t e r i t h M s c h e m e o t h i n g s . S t a r t i n g a t h e c u r r e n t c u r s o r p o s i t i o n ,e n t e r :

. 0 9 8 0 0 9 F 8 < R E T U R N >

P O K E 2 0 4 8 , P O K E 4 1 N E < R E T U R N >

S i x t e e n l i n e s o f s t u f f s h o u l d a p p e a r o t h s c r e e n , m u c h l i k et h " m e m o r y - d u m p " w h i c h a c c o m p a n i e s t h i s a r t i c l e .i o u r - d i g i l q u a n t i t y c a l l e d a " a d d r e s s " l e a d s o f l i n e , a n e i g h t p a i r s o t w o - d i g i t v a l u e s a p p e a r a l o n g s i d e .

L o o k a t h t a b l e s o v a l u e s i t h a r t i c l e . T h f i r s t " b l o c k "h a t h a d d r e s s " 0 9 8 0 " , w h i c h m a t c h e s t h f i r s t a d d r e s s j u s ta b o v e . T h l a s t r o o f t h i s s a m e t a b l e s h o w s " 0 9 F 8 " . ( T h i ss a m e p r o c e s s w i l l b r e p e a t e d f o e a c h o t h e l e v e n t a b l e sg i v e n , i e u s i n g t h e f i r s t a n l a s t " a d d r e s s e s " o e a c h t a b l e ) .

Y o n e e d t e n t e r t h e v a l u e s g i v e n , t y p i n g r i g h t o v e r t h v a l u e s s h o w n o t h s c r e e n . H i < R E T U R N > a t h e n o e a c h " l i n e " o e l s e n o t h i n g w i l l g e r e m e m b e r e d . D o u b l ec h e c k t h v a l u e s y o u ' v e t y p e d . I t ' s n o e a s y t f i n d a e r r o rl a t e r o n

L o o k a t h n e x t b l o c k o v a l u e s . T y p e i t h s t a r t / e n da d d r e s s e s t d i s p l a y :

. 0 A 0 0 0 A 7 8 < R E T U R N >

C o n t i n u e u n t i l a l e l e v e n t a b l e s ' w o r t h h a v e b e e n e n t e r e d .

N o w n e e d t s a v e t h i s s t u f f b e f o r e a n y t h i n g g o e s w r o n g .T d t h i s , w n e e d t h M M o n i t o r S A V E c o m m a n d a s h o w n b e l o w :

. " C 6 4 A I D . M L " , 0 1 , 0 9 8 0 , 0 F 0 0 < R E T U R N > ( t a p e ). " 0 : C 6 4 A I D . M L " , 0 8 , 0 9 8 0 , 0 F 0 0 < R E T U R N > ( d i s k )

M o u n t t a p e o d i s k , a n f o l l o w t h e i n s t r u c t i o n s . S a v es e c o n d c o p y , f o r s a f e t y . U N D E R N O C O N D I T I O N S S H O U L D

T h T r a n s a c t o r 6 A p r i l 1 9 8 3

Page 65: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 65/84

Page 66: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 66/84

t h P E E K E R p r o g r a m , b y t y p i n g ' N E W b e f o r e y o e n t e r t h c h e c k s u m p r o g r a m . N o t e t h i n c o r r e c t b l o c k s , b e c a u s e y o w i l l h a v e t r e L O A D t h P E E K E R t c h e c k a n d c h a n g e t h e r r o n e o u s b y t e s . T h e n b a c k t t h C h e c k - O u t u n t i l i t ' sf i n a l l y c o r r e c t . N o n p r o m i s e d t h a t o u t i n y m o n i t o r w a g o i n g t b t h i d e a l w a y !

N o w , w i t h a l O K l e t ' s g e t h e s t a r t - o f - B a s i c b a c k w h e r e i b e l o n g s . T y p e :

P O K E 2 0 4 8 , P O K E 4 4 N E < R E T U R N >

N o L O A D i t h C 6 A I D . B A S " p r o g r a m f r o m e a r l i e r . I o r d e r t i n c l u d e t h e c o d e w e ' v e P O K E d i n w h a v e t a d j u s t

f e o t h e r m e m o r y p o i n t e r s . D t h i s b t y p i n g :

P O K E 4 5 0 P O K E 4 6 1 5 : C L R < R E T U R N >

n o r m a l B a s i c S A V E w i l l u n i t e t h e t w p i e c e s . C a l l i C 6 A I D . R E L " a n d V E R I F Y a l e a s t o n c o p y .

G t t h e s e c t i o n o F i n a l C h e c k i n g .

C h e c k - O u t

T h f o l l o w i n g p r o g r a m c a n b e e n t e r e d t p r o v i d e s o m ec o n f i r m a t i o n t h a t y o u h a v e g o t h M p o r t i o n r i g h t . S A V Et h i s o n t o o :

1 0 f o 2 4 3 2 t 3 8 3 9 : p e e k ( i ) : n e x t : p r i n t2 0 f o i t o 1 0 : s 2 4 3 2 i * 1 2 83 0 f o j t s 1 2 7 : p e e k ( j ) : n e x t j4 r e a d c i t h e n 6 5 p r i n t b l o c k " ; 1 ; w r o n g , t o t a l ; 6 n e x t7 d a t a 1 4 5 6 6 , 1 7 6 7 3 , 1 4 0 9 7 , 1 5 5 3 0 , 1 5 3 4 4 , 1 4 3 1 28 d a t a 1 6 8 8 1 , 1 5 6 3 3 , 1 3 9 7 4 , 1 4 7 6 0 , 1 5 1 5 4

W h e n R U N , t h f i r s t n u m b e r s h o w n s h o u l d b e 1 6 7 9 2 4 ,w h i c h i t h s u o a l b y t e s i t h p r o g r a m . E a c h b l o c k o 1 2 b y t e s i t h e n s u m m e d i n d i v i d u a l l y a n d c o m p a r e d t t h c o r r e c t v a l u e f r o m t h D A T A s t a t e m e n t s . A n i n c o r r e c tb l o c k t o t a l i i d e n t i f i e d b n u m b e r a n i t t o t a l i a l s op r i n t e d .

C h a n c e s a r t h a t a l e a s t o n c o r r e c t i o n w i l l b r e q u i r e d , s y o w i l l h a v e t r e - e n t e r t h e m o n i t o r ( o r e L O A D t h P E E K E R p r o g r a m ) t f i n d t h e r r o r s . W h e n t h e d e t e c t i v ew o r k i c o m p l e t e , d o n ' t f o r g e t t r e S A V E t h m a c h i n el a n g u a g e c o d e , u s i n g t h e a p p r o p r i a t e i n s t r u c t i o n s f o t h m e t h o d y o u ' v e b e e n u s i n g .

N o g o b a c k t t h p l a c e w h e r e y o c a m e f r o m .

F i n a l C h e c k i n g

A l t h r e e m e t h o d s s h o u l d c o n v e r g e t t h i s s p o t f o t h e a c i dt e s t . A u s u a l s t a r t w i t h a c l e a r m a c h i n e b e f o r e y o L O A D C 6 4 A I D . R E L " . R U i a n t h s c r e e n s h o u l d c l e a r ,a n y o u r B a s i c p r o g r a m w i t h a l t h e n e a t d o c u m e n t a t i o n( y o u d i d n ' t l e a v e o u t t h e c r e d i t s , d i y o u ? ) w i l l d i t t h i n g .

T h c u r s o r s h o u l d r e t u r n b e l o w t h " R E A D Y . " m e s s a g e . I i d o e s n ' t , p r o m i s e y o u r s e l f n e v e r t u n d e r t a k e s u c h a n e f f o r ta g a i n f o o n c r u m m y p r o g r a m .

T r o u t a f e o t h c o m m a n d s o t h p r o g r a m i m e m o r y .D o n ' t d A P P E N D , s i n c e w e k n o w t h e r e ' s M c o d e h i d i n ga f t e r B a s i c . I i s e e m s t w o r k f i n e , t h e n c o n g r a t u l a t i o n s a r i o r d e r . C a l l y o u r b e s t f r i e n d a n b o r e h i s i l l y w i t h y o u rs u c c e s s s t o r y .

F o t h u n f o r t u n a t e f e w h o s e p r o g r a m d o e s n ' t w o r k , y o c a s t i l l s e n d m t a p e o r d i s k , f o l l o w i n g t h e i n s t r u c t i o n sg i v e n b e f o r e . I y o w i s h , s e n d a l o n g t h n o n - w o r k i n g c o p y ,a n I ' l l t r t f i n d t h e r r o r ( s ) .

W h e n V I A I w a p u b l i s h e d , g o t a f e l e t t e r s f r o m p e o p l ew h t o l d m t h a t y o c a u s a b b r e v i a t i o n s , j u s t l i k e w i t hB a s i c k e y w o r d s , t m i n i m i z e t h t y p i n g . S i n c e C 6 A I w o r k s t h s a m e w a y , i f o r c i n g t h m a c h i n e t e x a m i n e i t c o m m a n d s f i r s t , o c o u r s e w c a d t h s a m e t h i n g . I y o d o n ' t k n o w a b o u t t h " s h o r t - f o r m " o B a s i c k e y w o r d s , t h m a n u a l t h a t c o m e s w i t h t h V I o C 6 h a t a b l e o t h e m .S u f f i c e i t s a t h a t w v e t e r a n P E T t e r s h a v e b e e n l a z y s i n c et h d a w f o u n d t h e m .

T h C o m m o d o r e 6 i v e r y f i n e m a c h i n e . h o p e y o f i n dt h a d d e d c o m m a n d s u s e f u l i y o u r p r o g r a m m i n g e f f o r t s .

T i n y - A i d 6 4 B A S I C P o r t i o n

p r i n t £ 1 t a b ( l 4 ) H c 6 4 t i n y a i d f l |2 p r i n t " a d a p t e d f o c 6 b y d a v i d a h o o k

p r i n t " H f r o m ' t i n y a i d ' b y j i b u t t e r f i e l dp r i n t " H a n d ' b a s i c a i d ' b y b i l l s e i l e rp r i n t " n | " t a b ( 1 2 ) " [ s a m p l e c o m m a n d s :p r i n t " n l c h a n g e / ? / p r i n t # 4 , /1 p r i n t " H f i n d . g o s u b . , 2 0 0 -

1 p r i n t " B j d e l e t e 1 3 0 - 6 2 51 p r i n t " H n u m b e r 1 0 0 , 51 p r i n t " f l a p p e n d " c h r $ ( 3 4 ) " n a m e " c h r $ ( 3 4 ) " , [ d e v i c e1 p r i n t " H k i l l1 5 s y s ( p e e k ( 4 3 ) p e e k ( 4 4 ) * 2 5 6 3 8 3 )

T h T r a n s a c t o r 6 A p r i l 1 9 8 3

Page 67: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 67/84

7 r e j b u t t e r f i e l d c o m p u t e ! j a ' 8 8 r e s l i g h t l y m o d i f i e d b d . a . h o o k9 r e a o f a p r i l 3 / 8 3

1 0 p r i n t t i n y p e e k e r / p o k e r "1 0 1 1 0 x $ i n p u t x i x * t h e n e n 1 2 0 g o s u b 5 0 01 3 i t h e n 2 8 1 4 0 a1 5 0 i f j > l e n ( x $ ) t h e n 3 0 01 6 f o t 1 7 0 p = j : g o s u b 5 5 01 8 0 c ( i )1 9 i t h e n 2 8 2 0 n e x t2 2 f o t 2 3 0 p o k e a i , c ( i )2 4 0 t c ( i )2 5 n e x t2 6 p r i n t c h e c k s u m ; 2 7 g o t o 1 1 2 8 p r i n t m i d $ ( x $ , l , j ) ; " ? ? " g o t o 1 1 3 0 t = 3 1 f o t 3 2 0 v = p e e k ( a i 3 3 0 t l = t l + v3 4 0 v = v / 1 63 5 p r i n t " 3 6 f o t 3 7 0 v % = v3 8 0 v = ( v - v % ) * 1 63 9 0 i f v % > 9 t h e n v % = v %

. 0 9 8 0 a 2 d 8 5 2 2 a 2 e 8 5 2 30 9 8 8 a 5 3 7 8 2 a 3 8 5 2 50 9 9 0 a 0 a 2 d 0 c 2 0 9 9 8 c 2 b 2 d 3 c a 5 2 0 9 a 0 d O 0 c 2 c 2 b 2 0 9 a 8 f 2 8 5 2 6 a 2 d 0 0 9 b 0 c 2 c 6 2 2 b 2 1 6 0 9 b 8 2 4 a a a 5 2 6 2 4 a 0 9 c 0 3 7 d 0 c 3 c 3 7 6 80 9 c 8 9 3 7 8 a 4 a 3 d 0 0 9 d 0 c 3 c 3 6 9 3 1 0 9 d 8 9 0 b 6 c b d e a 3 0 9 e 0 8 5 3 3 a 3 8 3 6 3 0 9 e 8 0 a a a a b a 9 4 c 8 7 0 9 f 0 a f f 0 0 8 5 7 a f 0 9 f 8 f 0 0 8 5 7 e 4 c 4 f 0

4 0 p r i n t c h r $ ( v % + 4 8 ) ;4 1 n e x t4 2 n e x t4 3 p r i n t " / " ; t l4 4 g o t o 1 1 05 0 p = 5 1 0 15 2 g o t o 6 0 5 5 5 6 0 16 0 6 1 0 v6 2 0 f o r j p t o l e n ( x $ )6 3 0 x a s c ( m i d $ ( x $ , j ) )6 4 i 3 t h e n n e x t6 5 0 i f j > l e n ( x $ ) t h e n 7 9 06 6 6 7 0 f o r j p t o l e n ( x $ )6 8 0 x = a s c ( m i d $ ( x $ , j ) )6 9 i x < > 3 2 t h e n n e x t7 0 i j - p < > l t h e n 7 9 7 1 f o t j - 7 2 0 x = a s c ( m i d $ ( x $ , k ) )7 3 0 i f x < 5 8 t h e n x = x - 4 87 4 0 i f x > 6 4 t h e n x x - 5 57 5 0 i f x < 0 o r x > 1 5 t h e n 7 9 07 6 0 v v * 1 67 7 n e x t7 8 r e t u r n7 9 0 e - 8 0 r e t u r n

O a O O f 0 4 e f 0 a 9 c 90 a 0 8 8 5 7 c a 9 3 a 8 5 7 a b O a l O 8 7 6 0 8 5 8 8 9 b 0 a l 8 b d 0 1 0 1 c f f 0 f 0 a 2 0 1 d 0 a 4 8 c a 6 9 7 a 0 a 2 8 8 b c 3 b 0 4 8 0 0 a 3 0 0 6 0 b d 0 0 c f f 0 a 3 8 0 d e a 8 1 0 0 2 e 60 a 4 0 7 8 8 c a 2 0 0 8 a 0 a 4 8 c e a 4 7 a b 9 0 0 0 0 0 a 5 0 3 f a f 0 f 1 c 0 a 5 8 8 0 f 1 e a e b a 0 a 6 0 f 0 1 f b a f 0 0 a 6 8 d O e f b e e 8 c d e 0 a 7 0 8 7 a a 5 a 5 0 a b c 0 a 7 8 f 0 0 4 8 b d c f 0 4

T h T r a n s a c t o r 6 A p r i l 1 9 8 3

Page 68: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 68/84

. : 0 a 8 0. : 0 a 8 8. : 0 a 9 0. : 0 a 9 8. O a a O. 0 a a 8. O a b O. : 0 a b 8. O a c O. : 0 a c 8. : O a d O. 0 a d 8. : 0 a e 0. 0 a e 8. : O a f O. 0 a f 8

. O b O O. : 0 b 0 8. O b l O. 0 b l 8. 0 b 2 0. : 0 b 2 8. : 0 b 3 0. 0 b 3 8. 0 b 4 0. 0 b 4 8. 0 b 5 0. O b 5 8. 0 b 6 0. : 0 b 6 8. : O b 7 O. : 0 b 7 8

. : 0 b 8 0. : 0 b 8 8. : 0 b 9 0. 0 b 9 8. : O b a O. 0 b a 8. O b b O. 0 b b 8. O b c O. 0 b c 8, : O b d O. 0 b d 8. O b e O. 0 b e 8. O b f O. 0 b f 8

2 2 8 a h 8 7 l 6 7 e 2 1

8 a ( 0

2 0 3 0 0 7 9 e 2 f a f e O a 8

7 0 a 8 f 3 O 0 f a a a f 4 3 0

9 6 2 5 5 7 a 8 2 9 2 d 6 2 2 8

3 ( 1 f 2 a 2 1 7 8 0 3 ( 1 c 8 f c a

d 9 1 9 0 3 e 8 9 1

2 7 4 a ! - )a a 0

f f 8 a f 8 a 1 8 2 a f 0 2 d 8

f 0 0 e 5 e 6 2 f 8 a d c 9 0 f (

f 4 0 1 ) 2 3 8 7 a 6 8 2 0 f 0 f

0 0 2 6 0 7 1

2 6 2 c 2 0 8 d I a

0 a 2 f a f 7 7 ( 0 5 3 0 8 a a 2

1 c c 0 b a a ( e 2 8 5 e 0 0 0 1

a 2 9 a a e 2 a ( d ( c a 2 f 0 0

a 0 7 0 6 0 8 f b e l 8 0 d 4 3 c

9

8 2 f c 3 c 6 8 8 f 8 a 9 c

7 5 ( 1 O 8 2 7 8 0 f 2 2 9 0 2 0

a 8 0 2 8 d

0 0 5 8 0 f 1 3 f

6 b 1

( 1 0 a I x c a 2 6 0 c 7 3 8

0 a f a b 3 a 2 0 e b a ( 0 6 7 8

c 4 0 6 7 0 1 . )9 f 4 a b d 8

e c

a 3 6 f a 3 0 8 8 a a 2 a c b f

0 6 0 0 5 e b 9 b 7 e 2 e 0 0 4

0 2 f f 8 c 0 0 4 5 7 e 8 2 3 b

c a O 0 9 f 0 d 2 7 4 e 9 9 0 0

. O c O O. 0 c 0 8. : O c l O. : 0 c l 8. 0 c 2 0. 0 c 2 8. 0 c 3 0. 0 c 3 8. : 0 c 4 0. 0 c 4 8. 0 c 5 0. : 0 c 5 8. 0 c 6 0. 0 c 6 8. 0 c 7 0. : 0 c 7 8

. 0 c 8 0. 0 c 8 8. : 0 c 9 0. 0 c 9 8. : 0 c a 0. 0 c a 8. O c b O. 0 c b 8. O c c O. 0 c c 8. O c d O. : 0 c d 8. : O c e O. 0 c e 8. : O c f O. : 0 c f 8

. O d O O. 0 d 0 8. O d l O. 0 d l 8. 0 d 2 0. 0 d 2 8. O d 3 O. : 0 d 3 8. : 0 d 4 0. 0 d 4 8. O d 5 O. 0 d 5 8. 0 d 6 0. : 0 d 6 8. 0 d 7 0. : 0 d 7 8

i < c 6 ( 0 0 0 7 e i f 8 1 a a 2 a

9 6 e 2 a 4 a 2 c 8 e e b f f 0

0 0 f 3 0 3 0 0 7 0 0 0 0 7 ( 2 c

3 a 4 2 2 1 0 a 8 0 4 e 7 2 d O

2 e a 2 2 d 8 a 2 O c 8 a 2 f 8

0 e 2 a 2 a 2 d f 4 a a f f d c

c f e 5 ( 1 O 0 1 1 8 3 4 8 8 0 c

2 2 O b d I O a d c f a 3 e 0 a

c a e 1

e 1 7 2 0 4 6 6 e 0 O 2

d 0 f f f 2 2 0 8 4 a 6 2 2 a b

b d ( b f 0 0 2 2 0 b f 2 d f 8 3

f b f 8 f 8 f 2 2 f 9 9 2 2 2 d

f c 0 0 0 5 e 1 1 2 1

a a 6 2 2

f e 2 0 c a e 7 a 5 e 2 2 0 a e

e a 0 3 0 3 0 5 7 0 7

7 7 7 f

8 2 9 2 2 f f d 6 7 e 7 2 a c a

0 e a d 2 0 f 2 O 1 1 2 f d 3 a 7

e 1

a 2 a 2 2 f f 2 2 2 f f f f

7 d 0 e 7 0 0 0 2 f 4 8 8 2 2 9

d 2 9 0 f f 0 0 ( 1 4 1

O 0 f

6 f a

a f 1

e 1

d 7 0 0 7 7 6 0 0 0 e

6 0 f f 0 2 ( 1 a 7 0 a 2 2 c 6 c

0 d 9 6 2 8 a f f 1 3 c d (

a f a (

( 1 3 8 f 8 f f 2 d f f f 2 c f a

. 0 d 8 0. 0 d 8 8. 0 d 9 0. 0 d 9 8. O d a O. 0 d a 8. O d b O. 0 d b 8. O d c O. : 0 d c 8. O d d O. 0 d d 8. O d e O. 0 d e 8. O d f O. 0 d f 8

. : O e O O. 0 e 0 8. : O e l O. : 0 e l 8. O e 2 O. 0 e 2 8. 0 e 3 0. : 0 e 3 8. 0 e 4 0. 0 e 4 8. 0 e 5 0. 0 e 5 8. 0 e 6 0. 0 e 6 8. 0 e 7 0, : 0 e 7 8

. 0 e 8 0. 0 e 8 8. 0 e 9 0. 0 e 9 8. O e a O. : 0 e a 8. O e b O. 0 e b 8. O e c O. 0 e c 8. O e d O. 0 e d 8. : O e e O. : 0 e e 8. : O e f O, : 0 e f 8

f f d 3 e 3 0 0 0 6 e 4 f 5 7 6

0 0 0 f 2 f 6 b 2 a ( a

3 6 a 7

O e a f 4 5 4 4 5 0 f 4 a f 4 e

b 0 a 2 f 8 0 c 0 a 2 f c f f 8

c c a 0 5 0 2 f c 0 3 < f 8 2 0 b

2 0 a 0 4 c c 5 f 7 0 1

4 a ( 1 9

1 f 7 7 0 7 a 3 9 0 7 0 2 0 0 6

1 1 2 2 f e f 5 0 2 0 8 f 6 7 0 7

f a O 8 4 4 4 5 0 f 4 a 6 4 b a

e 0 8 0 2 a 0 9 0 0 0 2 f 2 d 3

d d 4 6 0 2 f a 6 8 6 0 a f e 6

f a 2 8 c 4 5 4 f 0 3 4 a 0 4 8

a c 3 0 0 3 0 1

2 9 0 7 1 ) 7 0 O

O O < : 1 2f e d ( 0 2 2 O a a 6 0 7 a

0 2 d 8 4 4 4 4 f 4 a 5 4 a d a

0 d a b f 8 b 4 3 7 b 0 d f a 2

2 2 f 0 9 0 c d a 8 3 6 6 d d 0

3 e f a 4 c 4 c 0 f 4 a d 4 e 8

d f 7 d 0 7 0 2 f e 0 0 9 0 f 7

7 f 2 f 2 e 9 0 f 9 8 1

3 f 0 0

a 0 4 4 3 4 4 4 0 5 0 7

a c 4 f

a f 8 2 a a 0 7 0 d 2 9 2 2 8 f

f f 7 d d 2 2 c 0 6 6 6 8 6 e 8

2 0 f 4 4 4 d 0 f 8 a 8 4 b 9 0

T h T r a n s a c t o r 6 A p r i l 1 9 8 3

Page 69: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 69/84

1 9 8 2 C o m m o d o r e B i b l i o g r a p h y D o W h i t eO t t a w a , O n t .

L o o k i n g f o a a r t i c l e b u d o n ' t k n o w w h e r e t s t a r t ? D o W h i t e o t h O t t a w a C o m m o d o r e U s e r s G r o u p h a c o m p i l e dt h f o l l o w i n g b i b l i o g r a p h y o C o m m o d o r 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 2 i s s u e s o C r e a t i v e C o m p u t i n g , K i l o b a u dM I C R O C O M P U T I N G a n C O M P U T E ! . T h e s e a r t h r e e o t h m o r e p o p u l a r m a g s o m i c r o s a n a l t h o u g h t h e y m a n o h a v e b a c k c o p i e s f o s a l e , y o u r l o c a l c o m p u t e r c l u bm i g h t b a b l e t h e l p y o f i n d a p a r t i c u l a r i s s u e i y o u ' r e i b i n d . E d .

C r e a t i v e C o m p u t i n g

J a n u a r y4 F i v e f o t h V I C - 2 0 B r i e f r e v i e w s o C a C h a s e ,

S l i t h e r , S u p e r S l i t h e r , C a s i n o - S t y l e B l a c k j a c k , B l u eM e a n i e s F r o m O u t e r S p a c e , a n d B i o r h y t h m C o m p a t ib i l i t y

1 2 B i N u m b e r s a n S m a l l C o m p u t e r s P r o g r a m t s i m ul a t e c a l c u l a t o r t h a t c a a d d , s u b t r a c t , m u l t i p l y , d i v i d ea n r a i s e t p o w e r i n t e g e r s o u t 1 0 2 4 d e c i m a ld i g i t s .

F e b r u a r y3 N e G r a p h i c s H o r i z o n s F o T h P E R e v i e w o

M T U ' s V i s i b l e M e m o r y B o a r d .5 M o r e O V I G r a p h i c s - B r i e f d e s c r i p t i o n o V I g r a p h i c s c a p a b i l i t i e s .

1 4 G r a p h i c s C o n v e r s i o n F o T h T R S - 8 0 , A p p l e , a n P E - I n f o r m a t i o n r e g a r d i n g t h g r a p h i c s c a p a b i l i t i e s o t h

c o m p u t e r s a n w a y s o c o n v e r t i n g g r a p h i c s r o u t i n e s .2 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 E d u c a t i o n a l P r o

g r a m s b D o R o s s ; P r o g r a m s b y T e a c h i n g T o o l s ; B S W a r s C o n t i n u e d

A p r i l1 8 D a t a W i t h o u t D u p l i c a t e s - R o u t i n e t a l l o w r a n d o m

s e l e c t i o n o d a t a s t a t e m e n t s .

M a 1 1 A u t o h e x P E E K / P O K E p r o g r a m t c o n v e r t m a c h i n e

l a n g u a g e p r o g r a m s i n t o B a s i c D A T A s t a t e m e n t s .

J u n e1 8 M a z e R a c e T w o - p l a y e r c a r r a c e f o t h P E T .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 s 2 0 2 0 v s 4 0 4 0 ; B a s i c

3 . v s B a s i c 4 . 0 ; I E E E - 4 8 8 E x t e n s i o n C a r d ; X D O S b P r o m i n i c o ; T h + 2 0 R O M ; H e t D e c i m a l I n f i n i t u m ;T h N u c l e a r P E T .

J u l y1 6 2 S c r e e n s a v e r - P r o g r a m t h a t p e r m i t s d r a w i n g o p r i n t

i n o t h s c r e e n , s a v i n g t h e s c r e e n i D A T A s t a t em e n t s a n f i n a l l y , r e t u r n i n g t h e o r i g i n a l s c r e e n .

2 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 C h e a p s k a t e d i s kf i l e r ; U n c o p y a b l e T a p e s ; r e a s o n a b l e G E r o u t i n e ; t h P e d i s k I I T h U s e r P o r t W o r k s h o p ; a E c l e c t i c R O F a s t e r B a s i c ; T h P I C h i p .

A u g u s t1 7 D r o i d s : s t r a t e g y G a m e f o t h P E A e d u c a t i o n a l

g a m e f o u t p l a y e r s .2 3 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 - S o m e V I M o d i f i c a

t i o n s ; J I N S A M ; F i x i n g F l a k y D i s k e t t e s ; A 8 0 5 0 D i s kB u g ; V I a n t h F r y i n g P a n ; E n t r y R o u t i n e f o M u s i c a lC h o r d s .

S e p t e m b e r2 1 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 T w l i t t l e p r o g r a m s

f o p r i n t e r ; B e n c h m a r k P r o g r a m s ; T h P e t s p e e dC o m p i l e r ; Q u i c k a n D i r t y P r o g r a m ; P E T / C B M B s i c .

O c t o b e r1 M a t h F o O l d e r S t u d e n t s R e v i e w o F a c t o r i n g W h o l e

N u m b e r s .2 9 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 P e t C h e s s ; P E N u k e F i x ; C P / M f o t h P E T ; V I B i t s ; T h S i n g l e D i s kG l i t c h ; D i s c S a v e r s ; W r i t e P r o t e c t T r i c k ; A s t e r o i d z a n M u n c h m a n ; P a k j a n a ; F i l e m a s t e r ; Y e e c h P r o g r a m .

N o v e m b e r2 9 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 P r o g r a m m i n g t h

P E T / C B M ; V I R e v e a l e d ; N i n e W a y s t W r i t e P r g r a m L a n g u a g e s f o t h P E T ; P E T / C B M B a s i c ; C o m a l ;P e t s p e e d C o m p i l e r ; O x f o r d I n t e g e r B a s i c C o m p i l e r ;K M M M P a s c a l ; F o r t h ; R P L ; V i g i l ; 6 5 0 2 A s s e m b l e r ;A b o u t A d v e n t u r e a n d F R G a m e s ; D u n g e o n o D e a t h ;P a g o d a ; E x p l o r e ; D u n j o n q u e s t ; M i c r o W a r r i o r ;S w o r d Q u e s t ; D e a t h S t a r .

D e c e m b e r3 2 S c r o l l i n g R o u t i n e f o C B M / P E T O u t p u t L i s t i n g s

R o u t i n e a l l o w s s c r o l l i n g o f o u t p u t f r o m p r o g r a m .3 9 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 V I P r o d u c t G u i d e

T h T r a n s a c t o r 6 A p r i l 1 9 8 3

Page 70: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 70/84

K i l o b a u d M I C R O C O M P U T I N GJ a n u a r y

P E T - P o u r r i 8 0 - C o l u m n A d a p t e r ; F o r m a t t e d d i s k f i l e sf r o m W o r d P r o ; V I C j u m p v e c t o r s ; D i s k - T o - T a p e D a t aF i l e C o p y .

1 0 C o m p u t e r / V i d e o D i s k C o m b o T h a t R e a l l y W o r k sI n t e r f a c i n g a P E t P i o n e e r v i d e o d i s k p l a y e r .

1 3 T h R e v e a l i n g T r u t h A b o u t P E T ' s M e m o r y B A S I Ct e x t d i s a s s e m b l e r .

1 4 P u t t i n g P E T T h T e s t A d a p t a t i o n o C o o k ' s m e o r t e s t f o t h 6 5 0 2 .

2 0 F l a s h A t t a c k r e v i e w o m u l t i m a c h i n e w a g a m e .

F e b r u a r y1 P E T - P o u r r i - R e v e r s e P o l i s h L a n g u a g e ( R P L ) .

M a r c h1 P E T - P o u r r i D T A C K G r o u n d e d ; M u l t i p u r p o s e I n t e r

f a c e ; E H S ' s S c r o l l ; V I B u d g e t .

A p r i l1 P E T - P o u r r i V I C - 1 5 4 0 D i s k ; I n p u t B u g ; B a s i c A i d ;

M i c r o m o n ; A T U G ; W o r d P r o Q u i t .

M a 1 P E T - P o u r r i U C S D P a s c a l ; V I P r o g r a m m e r s R e f e r

e n c e G u i d e ; T e a c h Y o u r s e l f P r o g r a m m i n g S e r i e s ;H o m e C a l c u l a t i o n S i x - P a c k ; V I C a r t r i d g e G a m e s ;V I C M o d e m ; V i M e m o r y E x p a n s i o n ; N e M a c h i n e s ;W i n c h e s t e r D i s k s ; V I R S - 2 3 2 N o t e s ; W o r d P r o W o r dC o u n t e r .

J u n e1 P E T - P o u r r i P r o g r a m m i n g T h V I C - 2 0 .5 D i s k M a s t e r - D i s k c a t a l o g u i n g p r o g r a m .

J u l y1 P E T - P o u r r i W o r d P r o S p l i t t e r ; W o r d c r a f t U t i l i t y ; N e

V I C - 2 0 S o f t w a r e ; M i s c .

A u g u s t1 P E T - P o u r r i H e s c o u n t ; H e s c a t ; H e s c o m ; C o m m o d o r e

N e w s ; E d u c a t i o n a l S o f t w a r e ; M i s c .4 F o w l P l a y U s i n g P E c o m p u t e r s t s t u d y a n i m a l

b e h a v i o u r .

S e p t e m b e rP E T - P o u r r i S T C P ; H e D u m p ; M i s c .

8 B l a c k F r i d a y - s t o c k m a r k e t s i m u l a t i o n f o o n t f o u r p l a y e r s .

1 0 D u e l i n g J o y s t i c k s A d t w m o r e j o y s t i c k s t y o u rV I C - 2 0 .

1 0 T h G a m e R o o m I n v a d e r s , P a c - M a n G a m e s P r e d o m in a t e - r e v i e w o v a r i o u s a r c a d e g a m e s i n c l u d i n gS n a k m a n f o t h V I C - 2 0

O c t o b e r2 P E T - P o u r r i - C o m m o d o r e N e w s : O L i n e S o f t w a r e ;

M i s c .3 W h a t Y o D i d n ' t K n o w A b o u t N E S p i n w r i t e r - U s i n g

P E T / C B M a n R P t o p l o t o N E S p i n w r i t e r .8 8 S q u e e z e T h M o s t O u t O Y o u r V I C - 2 0 U s t h c o l o u r

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

1 5 C o n v e r s i o n s " I I " " C o l o r C o d e C o m b o " c o n v e r t e d f o t h P E T .

N o v e m b e r1 P E T - P o u r r i T i m e I M o n e y ; P E G r a p h i c s ; M i s c .4 2 M i c r o s F i n d P l a c e U n d e r T h S u C B 8 0 3 2 u s e d

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

D e c e m b e r2 6 P E T - P o u r r i - D i s k T i p s ; D i s k M a s t e r A d d i t i o n s ; H E

S o f t w a r e F o r T h V I C ; N e w s l e t t e r s3 M i c r o S o f t w a r e D i g e s t - S o l i c u b e .7 B i B o o s t F o r F i r s t - T i m e U s e r s r e v i e w o t h

V I C - 2 0 .1 1 8 C o n v e r s i o n s c o n v e r s i o n o " M i c r o M o n e y M a k e r "

f o t h P E T / C B M .1 7 T h A R R O W r e v i e w u t i l i t y p a c k a g e i E P R O M

t h a t p r o v i d e s h i g h s p e e d s a v e , l o a d , v e r i f y a n a p p e n dw i t h c a s s e t t e , t a p e p o s i t i o n i n g , r e p e a t - k e y f u n c t i o n ,c h a r a c t e r s e f l i p , h e x a d e c i m a l m o d e , a n d q u a d r u p l ed e n s i t y p l o t t i n g .

C O M P U T E !J a n u a r y

1 A s T h R e a d e r s N o t e O C h a i n i n g P r o g r a m s .5 A n t i - H e s i t a t i o n P r o g r a m m i n g T u t o r i a l O A r r a y s -

d i s c u s s i o n o p r o g r a m m i m g m e t h o d s t s p e e d u e x e c u t i o n o p r o g r a m s .

1 4 R e n u m b e r i n g A A p p e n d e d R o u t i n e O n l y U s i n gT o o l k i t t r e n u m b e r a a p p e n d e d r o u t i n e .

1 4 B R A N C H N E V E R A n Q U I F A s s e m b l i n g O S u p e r P E Td i s c u s s i o n o t h 6 8 0 9 A s s e m b l e r o t h S u p e r P E T .

1 5 P E R e p a i r s F o T h A m a t e u r L o o s e c o n n e c t i o n s a n d i r t y c o n t a c t s a r e t h e m o s t f r e q u e n t s o u r c e o p r o b l e m so e a r l y P E T s .

1 5 R e a l t i m e C l o c k O Y o u r P E S c r e e n m a c h i n el a n g u a g e r o u t i n e t c o n t i n u o u s l y d i s p l a y t h e t i m e o t h P E s c r e e n . ( U p g r a d e 4 . 0 )

1 5 T a p e L o a d T e s t A n H e a d A l i g n m e n t H o t p r e p a r ea n u s s p e c i a l t e s t t a p e f o t h c a s s e t t e r e c o r d e r o a n P E T / C B M .

1 6 M i c r o M o n A E n h a n c e d L a n g u a g e M o n i t o r M c h i n e l a n g u a g e m o n i t o r i n c l u d i n g s i m p l e a s s e m b l e r ,d i s a s s e m b l e r , c o m p a r e , h u n t , t r a n s f e r , r e l o c a t e r , s i n g l es t e p a n v a r i o u s o t h e r o p t i o n s .

1 7 4 S e l f - M o d i f y i n g P r o g r a m s I B A S I C H o t w r i t es e l f - m o d i f y i n g p r o g r a m s .

T h T r a n s a c t o r 6 A p r i l 1 9 8 3

Page 71: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 71/84

1 7 T i n y M o n S i m p l e M o n i t o r F o T h V I m o n i t o rw h i c h d i s p l a y s t h e r e g i s t e r s , d i s p l a y s m e m o r y , s a v e sa n l o a d s p r o g r a m s a n e x e c u t e s p r o g r a m .

1 8 V I C o l o r T i p s d i s c u s s i o n o u s i n g c o l o r o t h e V I C .1 8 V I M e m o r y M a p A b o v e P a g e Z e r o M o r e B u t t e r f i e l d

m e m o r y m a p s .1 8 Z A P ! ! V I g a m e f o u t p l a y e r s w i t h r o u n d s

p e p l a y e r .1 8 C A P U T E ! - C o m p u t e ! * 1 7 , p g 1 4 3 ; C o m p u t e ! 1 7 p g

1 5 2 .

F e b r u a r y2 I n s u r a n c e I n v e n t o r y - p r o g r a m t m a i n t a i n a i

v e n t o r y o p e r s o n a l p o s s e s s i o n s o c a s s e t t e3 C r e a t i n g S i m p l e W o r d P r o c e s s o r w o r d p r o c e s s o r

p r o g r a m i B A S I C f o t h P E T / C B M .4 T r a n s p o s i t i o n - S o m e s i m p l e r o u t i n e s t d e m o n s t r a t e

t h t r a n s p o s i t i o n o m u s i c o t h P E T . U s e s C B s o u n d .5 S o m e C o m m o n B a s i c P r o g r a m s b o o k r e v i e w .5 M u l t i t a s k R e a l t i m e M u l t i t a s k i n g O p e r a t i n g S y s t e m

E m u l a t o r B a s i c p r o g r a m t d e m o n s t r a t e m u l t i t a s ki n o P E T .

1 2 U s e r - D e f i n e d C h a r a c t e r E d i t o r p r o g r a m f o c r e a t i n g u s e r - d e f i n e d c h a r a c t e r s e f o u s e w i t hp r i n t e r h a v i n g t h c a p a b i l i t y o p r i n t i n g u s e r - d e f i n e dc h a r a c t e r s .

1 3 M a r q u e e m a c h i n e l a n g u a g e r o u t i n e t h a t w i l l c o t i n u a l l y s c r o l l t e x t h o i z o n t a l l y o t h P E T / C B M s c r e e n .

1 4 D i s k D i s a s s e m b l e r - T h i s p r o g r a m d i s a s s e m b l e s c o d ef r o m f i l e o d i s k a n d u m p s t h o u t p u t t a p r i n t e r .

1 5 L i n e I n p u t F o T h P E m a c h i n e l a n g u a g e r o u t i n et a d L I N P U T c o m m a n d t t h P E T .

1 6 M e a s u r e T i m e I n t e r v a l s W i t h T h P E P a r a l l e l P o r tm a c h i n e l a n g u a g e r o u t i n e t h a t c a b u s e d t m e a s u r e

s u c c e s s i v e s m a l l t i m e i n t e r v a l s t t h e n e a r e s t 1 /1 0 0 0 0 s

1 6 6 S c r e e n P r o - r e v i e w o s c r e e n u t i l i t y p a c k a g e .1 6 E x t e n d e d V I C - 2 0 I n p u t D e v i c e s P a d d l e s A n T h

K e y b o a r d d i s c u s s i o n o t h V I C - 2 0 p a d d l e s a n k e y b o a r d w i t h e x a m p l e s .

1 7 T i m e k e e p i n g U s i n g t h T a n T I v a r i a b l e s o t h V I C .

1 7 A E a s y W a T R e l o c a t e V I C P r o g r a m s O O t h e rC o m m o d o r e C o m p u t e r s T w m e t h i d s o e a s i l y r e l oc a t i n g V I p r o g r a m s .

1 7 U M A m o k F o V I g a m e r e v i e w .1 7 U M 3 V I M e m o r y E x a p a n s i o n h a r d w a r e r e v i e w .1 7 A l p h a b e t i z e r s i m p l e s o r t i n g r o u t i n e .1 8 C A P U T E ! T h U n w e d g e ; B i t s , B y t e s A n B a s i c B o o l e ;

A s s e m b l e r U p d a t e ; I n v e r s i o n P a r t i t i o n i n g .1 8 N e P r o d u c t s - B o a r d O f f e r s 2 4 A d d i t i o n a l M e m o r y

F o V I C ; T Y C O M I n t r o d u c e s A d d i t i o n a l E d u c a t i o n a lP a c k a g e s ( A l g e b r a W o r d P r o b l e m s , S p a n i s h , G e r m a n ) ;M u l t i - P u r p o s e I n t e r f a c e F o P E T / C B M ; F r o m K r e l lS o f t w a r e C o r p . ( W a r O f T h S a m u r a i , A l e x a n d e r T h G r e a t , I s a a c N e w t o n , F i N e w t o n , O d y s s e y I T i m e ) .

M a r c h1 A s T h R e a d e r s O d d s A n E n d s ; V I C - 2 0 T i p s .6 I n f i n i t e P r e c i s i o n M u l t i p l y - A i n f i n i t e p r e c i s i o n m u l t i

p l y i n g r o u t i n e i B A S I C .6 W o r d H u n t g a m e t f i n d s p e c i f i c w o r d o l e t t e r

s e q u e n c e s i 1 b 1 m a t r i x .7 C o u n t T h H e a r t s p r o g r a m t h e l p d e v e l o p a c h i l d ' s

c o u n t i n g a b i l i t y . ( V I C )8 F a m i l y S i m u l a t i o n I G e n e t i c s p r o g r a m t

d e m o n s t r a t e t h e f f e c t s o f g e n e s e l e c t i o n .1 0 L a r g e A l p h a b e t F o T h V I s h o r t r o u t i n e t

d i s p l a y d o u b l e - s i z e a l p h a b e t o t h e V I C .1 1 S t a r f i g h t 3 S t a r t r e k f o t h e V I C .1 1 W e b s o n e - p l a y e r g a m e f o 4 0 - c o l u m n P E T .1 2 R P F O R T H S e q u e l - b r i e f d e s c r i p t i o n o R e v e r s e

P o l i s h L a n g u a g e f r o m S a m u r a i S o f t w a r e .1 3 P a r t I D i s k C h e c k o u t F o r 2 0 4 0 , 4 0 4 0 , A n 8 0 5 0 D i s k s

A e x p l a n a t i o n o d i s k m a n i p u l a t i o n s v i m a c h i n el a n g u a g e .

1 5 D y n a m i c R e n u m b e r B a s i c u t i l i t y t r e n u m b e rs e l e c t e d r a n g e o l i n e s .1 6 M o r e V I M a p s B u t t e r f i e l d ' s m e m o r y m a p s f o t h V I C .

1 8 R a n d o m M u s i c C o m p o s i t i o n O T h P E p r o g r a mt l e t h P E c o m p o s e a n p l a y m u s i c .

1 9 B a s i c 4 . T U p g r a d e C o n v e r s i o n K i d i s c u s s i o n o c o n v e r t i n g B a s i c 4 . p r o g r a m s t U p g r a d e R O M .

2 0 N e P r o d u c t s V I C - 2 0 T i m e s h a r i n g W i t h P r i n t o u t ;S c r a t c h p a d M a i l i n g L i s t ; V i c M o d e m .

2 2 C A P U T E ! S p a c e w a r P a r t 2 P E T P E T C o m m u n i c at i o n s O v e r T h U s e r P o r t ; T i n y m o n l .

A p r i l1 A s T h R e a d e r s S i m p l e W o r d P r o c e s s o r ; T a p e I n d e x

P r o g r a m ; S e l f - M o d i f y i n g P r o g r a m s .2 M o v i n g A v e r a g e s p r o g r a m t c a l c u l a t e m o v i n g

a v e r a g e s .3 4 T r a c k D o w n T h o s e M e m o r y B u g s s o p h i s t i c a t e d

m a c h i n e l a n g u a g e m e m o r y t e s t i n g p r o g r a m .5 0 S h o o t i n g S t a r s s h o r t g a m e f o t h P E T / C B M .7 G r a d i n g E x a m s O n M i c r o c o m p u t e r p r o g r a m t

a s s i s t i g r a d i n g e x a m s .8 U s i n g T h V I G a m e P a d d l e s t u t o r i a l o h o t h

g a m e p a d d l e s w o r k o V I C - 2 0 i l l u s t r a t e d b t h g a m e , B r e a k o u t .

9 M i c r o s W i t h T h H a n d i c a p p e d C o m m u n i c a t i n g w i t ha m i c r o .

1 0 0 U s i n g T h P E T / C B M I T h H i g h S c h o o l P h y s i c s L a P r o g r a m s w h i c h a l l o w y o t m e a s u r e f r e q u e n c i e s o rt i m e i n t e r v a l s i m i c r o s e c o n d s u s i n g p h o t o t r a n s i s t o r sa n P E T / C B M .

1 0 I n t e l l i g e n t I n p u t R o u t i n e s - R o u t i n e s t h a t t r y t o c o r r e c tf a u l t y u s e r i n p u t .

1 2 M a c h i n e L a n g u a g e J u m p T I O u s i n g J u m pT a b l e s .

1 2 P E T A S C I I T A S C I I C o n v e r s i o n m a c h i n e l a n g u a g e

T h T r a n s a c t o r 6 A p r i l 1 9 8 3

Page 72: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 72/84

Page 73: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 73/84

1 3 M a c h i n e L a n g u a g e F i r s t S t e p s , P a r t I - C o n v e r t i n gb a g r a p h p r o g r a m f r o m B a s i c t m a c h i n e l a n g u a g e .

1 3 R u n 9 6 K P r o g r a m s O T h S u p e r P E T H o t u s a l 9 6 o t h S u p e r P E T f r o m C o m m o d o r e B a s i c .

1 4 S i m p l e 2 7 1 6 E P R O M P r o g r a m m e r F o T h P E H a r d w a r e a n d s o f t w a r e r e q u i r e d t b u r n 2 7 1 6 ' s w i t hP E T .

1 5 1 V I C ' s P e r p e t u a l C a l e n d a r p e r p e t u a l c a l e n d a r p r g r a m f o t h e V I C .

1 5 B a s i c P r o g r a m M e r g e s P E T A n d V I R o u t i n e s t m e r g e p r o g r a m s o P E T s , C B M s a n V I C s .

1 7 N e P r o d u c t s - S o f t B o x , H a r d B o x a n P e t s p e e d C o p i l e r ; G r a p h i c s P a c k a g e F o T h V I C - 2 0 .

1 9 C A P U T E ! M i c r o m o n

J u l yT h E d i t o r ' s N o t e s - B r i e f O v e r v i e w O T h C h i c a g oC o n s u m e r E l e c t r o n i c s S h o w A n d N a t i o n a l C o m p u t e rC o n f e r e n c e I H o u s t o n .

1 A s T h R e a d e r s - B a s i c T B a s i c ; V I F a s t - F i n d ;H i d d e n A d v e n t u r e ; V I E x p a n s i o n S o f t w a r e .2 T h B e g i n n e r ' s P a g e M a k i n g F i l e s W o r k S o m es p e c i f i c d e t a i l s a b o u t f i l e h a n d l i n g .

2 G o l d R u s h ! - A e x c i t i n g a c t i o n g a m e r e q u i r i n g aj o y s t i c k . ( V I C )

3 I R P l a n n e r C o m p u t e y o u r I R A a c c o u n t ( U . S . ) . ( P E T /C B M / V I C )

4 M a z e R a c e o n o t w p l a y e r m a z e g a m e .5 R e c u r s i v e B a s i c S u b r o u t i n e s s i m p l e g a m e i l l u s t r a t

i n g t h e c o n c e p t o r e c u r s i v e s u b r o u t i n e s .6 S c r e e n G r a p h i c s H o t m o v e a n r o t a t e o b j e c t s o

t h e s c r e e n .8 A n s w e r S e l e c t i o n W i t h J o y s t i c k s p r o g r a m t i l l u s

t r a t e t h u s o t h j o y s t i c k t i n p u t r e s p o n s e s . ( V I C )9 C o m p u t i n g T e c h n i q u e s F o T h H a n d i c a p p e d

q u a d r i p l e g i c d e s c r i b e s t e c h n i q u e s h h a l e a r n e d t e f f e c t i v e l y w o r k w i t h h i P E T .

9 M u l t i d i g i t A d d i t i o n - p r o g r a m t a l l o w y o t a d v e r y l a r g e n u m b e r s .

9 D i r e c t A c c e s s F i l e E d i t o r d i s k f i l e e d i t i n g p r g r a m . ( P E T / C B M U p d a t e 4 . 0 )

1 1 W h i t h e r V I C ? B u t t e r f i e l d d i s c u s s e s V I s o f t w a r e ,a d d - o n s , a n V I C ' s p l a c e i t h w o r l d o c o m p u t i n g .

1 1 S u p e r Q u a d r a P E T B a s i c 4 . u p d a t e o Q u a d r a P E T ,p r o g r a m t p a r t i t i o n t h m e m o r y o 3 2 P E i n t o

f o u r 8 a r e a s . ( P E T / C B M 4 . 0 )1 3 A l A b o u t P E T / C B M C h a r a c t e r S e t s .1 4 V I S u p e r E x p a n d e r M e m o r y M a p m a o t h

s i g n i f i c a n t r o u t i n e s i t h V I S u p e r E x p a n d e r .1 5 P a r t I I I : M a c h i n e L a n g u a g e F i r s t S t e p s1 5 H o T U s T h 6 5 6 0 V i d e o I n t e r f a c e C h i p T e c h n i c a l

d e t a i l s o t h 6 5 6 0 V I C .1 5 M a c h i n e L a n g u a g e C o m p a c t o r r o u t i n e t c o m p a c t

B a s i c p r o g r a m s . ( P E T / C B M U p g r a d e 4 . d i s k )1 8 T w P r o g r a m s F r o m T h e V I P a c k R e v i e w s o C a

C h a s e a n B l u e M e a n i e s F r o m O u t e r S p a c e .

1 8 S o f t B o x - C P / M F o P E T / C B M R e v i e w .1 8 S Y S R E S F o P E T / C B M R e v i e w o t h S Y S R E S p r

g r a m m e r ' s a i p a c k a g e .1 9 C A P U T E ! F u r t h e r N o t e s o F a s t S o r t F o P E T / C B M .1 9 N e P r o d u c t s D i s k - O - M a t e F o C B D i s k D r i v e s ;

B u d g e t I F r o m R A E l e c t r o n i c s ; P l u g I B C F o P E C o m p u t e r s ; N e E d u c a t i o n a l M i c r o c o m p u t e r L i t e r at u r e F r o m C o m m o d o r e ; P r o m q u e e n C a r t i d g e F o V I C - 2 0 ; T h V I E n t e r s T h W o r l d O R a d i o c o m m u n i -c a t i o n s .

A u g u s t1 A s T h R e a d e r s V I U p g r a d e s ; R e c o v e r F r o m N E

o V I C ; S u p e r P E T U s e r s G r o u p ; V I S u p e r E x p a n d e rH i n t s ; V I Z e n i t h J i t t e r s .

1 T h N e W a v e O H o m e C o m p u t e r s - H i g h l i g h t s o t h C E a n N C s h o w s .

3 H o u s e h o l d B u d g e t M a n a g e r p e r s o n a l b u d g e t p r g r a m . ( P E T / V I C )

5 W o r d G a m e s p r o g r a m t h a t c r e a t e s s e v e r a l d i f f e r e n tw o r d g a m e s o p r i n t e r .

6 F i r s t L o o k A T h C o m m o d o r e 6 4 P a r t o r e v i e wo t h f e a t u r e s a n c a p a b i l i t i e s o t h 6 4

8 4 G u e s s T h a t A n i m a l ! S i m u l a t i n g L e a r n i n g I C o m p u t e r sd e m o n s t r a t i o n o h o c o m p u t e r c a " l e a r n " .

9 T w V I W o r d P r o c e s s i n g P r o g r a m s r e v i e w o U n - W o r d P r o c e s s o r a n V I T y p e w r i t e r .

9 9 V I C C o m m u n i c a t i o n s T h R S - 2 3 2 I n t e r f a c e O i n t e r f a c i n g R S - 2 3 2 m o d e m s t y o u r V I C .

1 0 T h K e y p r i n t C o m p e n d i u m 1 v e r s i o n s o K e y p r i n t .1 0 7 S c r e e n S a v e r B a s i c r o u t i n e t t r a n s f e r s c r e e n

i m a g e s t d i s k a n b a c k t t h s c r e e n .1 3 P E A u t o R e p e a t - r e p e a t - k e y r o u t i n e . ( P E T 1 .

U p g r a d e )1 4 V I C u r i o s i t i e s - C o l d S t a r t b S Y 6 4 8 0 2 ; O n e - h a n d e d

R U N ; L I S T k i l l e r ; S A V E k i l l e r .1 4 L i g h t P e F o U n d e r $ 1 H o t c o n s t r u c t l i g h t

p e f o t h V I C - 2 0 .1 5 E l e c t r i c E r a s e r r o u t i n e t d e l e t e i n s t r u c t i o n s f r o m

p r o g r a m a f t e r t h e y a r n l o n g e r n e e d e d . ( V I C / P E T /C B U p g r a d e 4 . 0 )

1 5 I n n e r B a s i c A e x p l a n a t i o n o w h a t B a s i c l o o k s l i k e t oy o u r P E a n d V I C a n d h o t s e n d t e x t t o a p r i n t e rf r o m m a c h i n e l a n g u a g e .

1 6 C o p y 2 0 3 1 F i l e s f i l e c o p y i n g p r o g r a m f o t h C o m m o d o r e 2 0 3 1 d i s k d r i v e . ( P E T / C B M U p g r a d e4 . 0 )

1 6 V I C - K e y r o u t i n e w h i c h a l l o w s t h e u s e r t a s s i g nK e y - w o r d s t e a c h s h i f t e d a l p h a b e t i c k e y .

1 7 N e P r o d u c t s C o m m o d o r e 8 3 0 0 P P r i n t e r ; F i l e I f o P E a n V I C .

S e p t e m b e r1 A s T h R e a d e r s L o w e r c a s e o n C o m p r i n t ; P E t

E p s o n ; N e V I C h a m p i o n ; V I U s e r G r o u p s .2 P e r i p h e r a l V i s i o n E x e r c i s e r - A i d i i m p r o v i n g a n

T h T r a n s a c t o r 7 A p r i l 1 9 8 3

Page 74: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 74/84

m a i n t a i n i n g s p e e d r e a d i n g s k i l l s .3 U s e r - d e f i n e d F u n c t i o n s D e f i n e d A i n - d e p t h e x p l a

n a t i o n o t h D E F c o m m a n d .4 M e e t J i m B u t t e r f i e l d H d i s c u s s e s t h e f u t u r e o c o

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

5 6 B a n i s h I N P U T S t a t e m e n t s ! - S o m e s u g g e s t i o n s a n s u b s t i t u t i o n s f o B a s i c ' s I N P U T s t a t e m e n t .

7 S t u d e n t M a r k A d j u s t m e n t s e o p r o g r a m s t c a l c ul a t e a c c u r a t e a d j u s t m e n t s .

7 T h I n s i d e W o r l d O T h C o m p u t e r : T h T a l k i n g H e a dp r o g r a m t c r e a t e " t a l k i n g h e a d " o t h c o m p u t e r

s c r e e n .9 T h S t a t i s t i c s P a g e A c c u r a t e S t a t i s t i c a l C a l c u l a t i o n s

m e t h o d f o a c h i e v i n g s t a t i s t i c a l a c c u r a c y o m i c r oc o m p u t e r s y s t e m s

1 0 F l e x F i l e P E D a t a B a s e M a n a g e r R e v i e w1 0 S p r i t e G r a p h i c s A n S o u n d S y n t h e s i s O T h C o m m o

d o r e 6 P a r t 2 o a o v e r v i e w o t h 6 w i t h g a m ep r o g r a m m i n g e x a m p l e s .

1 1 P E P o i n t e r S o r t f a s t , e f f e c t i v e s o r t t h a t o p e r a t e s o D A T A s t a t e m e n t s o a r r a y s . ( P E T / C B M U p g r a d e4 . 0 )

1 2 P E A u t o l o a d r o u t i n e t a u t o m a t i c a l l y L O A D a n R U a n p r o g r a m s e l e c t e d f r o m t h d i r e c t o r y . ( C B M )

1 3 $ 2 V I D i g i t i z e r - C o n s t r u c t d i g i t i z e r t h a t w o r k st h r o u g h t h V I g a m e p o r t .

1 3 O n - T h e - S p o t C o m m o d o r e D i s k F i x e s E m e r g e n c yp r o c e d u r e w h e n d i s k p r o b l e m s o c c u r .

1 3 V I S t i c k s r o u t i n e f o u s i n g j o y s t i c k s w i t h t h V I C .1 5 V I C P a u s e r o u t i n e t a l l o w p a u s i n g o p r o g r a m

l i s t i n g .1 6 V I B u S u g g e s t i o n s f o o v e r c o m i n g t h p r o b l e m

w i t h t h V I I N P U T s t a t e m e n t .1 6 6 T h r e e P E I n n o v a t i o n s - R o u t i n e s t d i s p l a y b o t h

c h a r a c t e r s e t s s i m u l t a n e o u s l y , h i d e P R I N T s t a t e m e n t sa n g e n e r a t e a f l a s h i n g c u r s o r w i t h t h G E s t a t e m e n t .

1 7 P E M a c h i n e L a n g u a g e D e l e t e r o u t i n e t a l l o wd e l e t i n g o r a n g e s o l i n e s i P E p r o g r a m s . ( P E T / C B M

U p g r a d e 4 . 0 )1 9 C A P U T E ! - P E T C o m p a c t o r .2 0 N e P r o d u c t s P o r t m a k e r F r o m M i c r o t e c h ; C o m m o

d o r e B u l l e t i n B o a r d ; T w V I G a m e s F r o m C o m p u t e r -M a r t ( A l i e n I n v a s i o n , S n a k e o u t ) ; P r o f e s s i o n a l S o f t w a r eF o C o m m o d o r e M a c h i n e s ( W o r d P r o - M L , W o r d P r o -- M a i l L i s t , I n f o P r o , T h A d m i n i s t r a t o r ) ; D i s k B a s e dD a t a M a n a g e r f o V 1 C - 2 0 ; P l o t t i n g R o u t i n e F o r V I C .

O c t o b e r1 A s T h R e a d e r s - B u t t e r f i e l d O R S - 2 3 2 I n t e r f a c i n g .3 W r i t i n g Y o u r F i r s t G a m e P r o g r a m m i n g t h o l c a r d

g a m e ' H i g h C a r d ' .3 P r o g r a m m i n g G a m e s O C o m p u t e r s W i t h L i m i t e d

M e m o r y - S u g g e s t i o n s f o p r o g r a m m i n g o t h V I a n o t h e r s m a l l c o m p u t e r s .

4 M e t e o r S t o r m N a v i g a t e y o u r s t a r s h i p t h r o u g h o n c o mi n m e t e o r s . ( P E T / C B M )

5 R u b i k ' s C u b e S o l v e d - P r o g r a m t s o l v e t h i n f a m o u sc u b e s t e p - b y - s t e p . ( P E T / C B M )

6 S u p e r c h a s e T r t e a a l t h t r e a s u r e s b e f o r e t h em o n s t e r e a t s y o u . ( 5 K V I C )

7 M a t h m a n G a m e t h a t t e a c h e s m a t h . ( V I C )7 T A P l a y t a a g a i n s t t h e c o m p u t e r . ( P E T / C B M

U p g r a d e 4 . 0 )8 L a s e r B a r r a g e - D e f e n d y o u r e n e r g y p o d s a g a i n s t t h e

1 a m o k r o b o t s . ( P E T / C B M )1 2 M i c r o s W i t h T h H a n d i c a p p e d V I g a m e d e m o n s t r a t

i n h o t h m o t o r - i m p a i r e d c a c o m m u n i c a t e u s i n go n l y t h b u t t o n o j o y s t i c k .

1 3 F o u r N e C a r t r i d g e s F o V I C - 2 0 R e v i e w o O m e g aR a c e , G o r f , S a r g o n I C h e s s a n V i s i b l e S o l a r S y s t e m .

1 3 C U R S O R I s s u e s 2 T h r o u g h 2 8 C l a s s i f i c a t i o n o C U R S O R p r o g r a m s f o e d u c a t i o n a l p u r p o s e s .

1 3 P E F u A n G a m e s B o o k r e v i e w .1 4 P i x e l a t o r P r o g r a m s t d e s i g n c u s t o m c h a r a c t e r s f o

V I C .1 5 C o m m o d o r e 6 M e m o r y M a 1 5 T h V I C K e y b o a r d R e d e f i n e d - W i t h t h i s s h o r t p r o g r a m

y o c a m a k e a n k e o t h k e y b o a r d r e p r e s e n t a n o t h e r k e y .

1 6 P a c k U Y o u r D A T A P a c k i n g d a t a i o r d e r t s a v es p a c e i s e q u e n t i a l f i l e s . ( P E T / C B M / V I C )

1 6 P E T a p e H e a d A l i g n m e n t M e t h o d o a l i g n i n g t a p eh e a d s b l i s t e n i n g t t h s i g n a l .

1 7 P E S e l f - S t a r t i n g P r o g r a m s B o o t f i x e r r o u t i n e t m a k e a n p r o g r a m l o a d e d f r o m d i s k s e l f - s t a r t i n g .

1 7 V I J o y s t i c k A n K e y b o a r d R o u t i n e G a m i n g r o u t i n e st h e l p s p e e d u p B a s i c .

1 9 D i g i t a l S p e e c h T e c h n i q u e t s t o r e a n p l a y d i g i t i z e ds p e e c h . ( P E T / C B M U p g r a d e 4 . 0 )

1 9 V I R i n g e r A d d i n g a e n d - o f - l i n e b e l l t t h e V I C .2 0 I A n y o n e O p e n ? U t i l i t y t a v o i d t h p r o b l e m o

i m p r o p e r l y C L O S E d P E T / C B M f i l e s .2 0 S o r t i n g B F i e l d s T h i s r i p p l e s o r t w i l l s o r t r e c o r d s

u s i n g a n i n t e r n a l l o c a t i o n s a s i t k e y . ( P E T / C B M / V I C )2 1 C A P U T E ! M a c h i n e L a n g u a g e : F i r s t S t e p s ; V I C u r i o s

i t i e s .2 1 N e P r o d u c t s E x p a n s i o n C h a s s i s F o V I C ; P u b l i c a

t i o n s F r o m K - 1 2 M i c r o M e d i a ; S o f t w a r e F o G i f t e d A n T a l e n t e d S t u d e n t s ; C o n t e s t M a r k s M e r g e r ; V I A C : T h eV I I n t e r f a c e T A n C a s s e t t e ; G r a d e s M a n a g e m e n tS y s t e m F o T e a c h e r s ; C o m m o d o r e A n n o u n c e s B i l i ng u a l K e y b o a r d F o M i c r o c o m p u t e r s .

N o v e m b e r1 A s T h R e a d e r s C o l o r F o r V I G o l d M i n e r ; V I

T a p i n g M y s t e r y S o l v e d ; V I S u p e r e x p a n d e r G r a p h i c s ;S u p e r P E T U s e r s G r o u p s ; R u n n i n g 4 0 - C o l u m n P r g r a m s O T h e P E T / C B M .

4 L a s e r G u n n e r B a s i c A n i m a t i o n A r c a d e s t y l e g a m e -. ( P E T - U p g r a d e s 4 . 0 )

T h T r 7 A p r i l 1 9 8 3

Page 75: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 75/84

5 U X D e f u s e b o m b s w i t h o u t t r i p p i n g m i n e . ( V I C )7 V I H a r m o n y T e a c h y o u r V I t s i n g i 3 - p a r t

h a r m o n y .7 R a i n b o w C l o c k - M a k e V I s c r e e n d i g i t a l c l o c k .8 S t a t i s t i c i a n L e a r n a n e x a m i n e s t a t i s t i c s .9 P a r t H o T o U s e S Y A n d U S R I n t r o d u c t i o n t S Y

a n p a s s i n g i n f o r m a t i o n b e t w e e n B a s i c a n m a c h i n el a n g u a g e .

1 0 V i s i C a l c H o m e A n O f f i c e C o m p a n i o n B o o k r e v i e w .1 1 V I C - 2 0 C a r t r i d g e G a m e s [ V I C F i r m w a r e ] R e v i e w s o

S p i d e r s O M a r s , S a t e l l i t e s a n M e t e r o i t e s .1 1 P e t s p e e d , A O p t i m i z i n g C o m p i l e r F o P E T / C B M

R e v i e w .1 4 T e r m i n a l O p e r a t i n g S y s t e m F o P E T H P 3 0 0 0 +

D e s c i b e s a t e r m i n a l o p e r a t i n g s y s t e m f r o m P E t a H P 3 0 0 0 v i a a S A D I i n t e r f a c e a n m o d e m .

1 5 F r o m V I C - 2 0 T o M a i n f r a m e p r o g r a m w h i c h c a h a n d l e a v a r i e t y o c o m m u n i c a t i o n s n e e d s f o t h e V I C .

1 6 S h a p e G e n e r a t o r F o T h C o m m o d o r e 6 P r o g r a mt d r a w a s h a p e , e x a m i n e i t m o d i f y i a n s a v e i i D A T A s t a t e m e n t s .

1 6 8 E a s y F i l e I n p u t T h S t r i n g T h i n g - R o u t i n e t a l l o wi n p u t f r o m d i s k o t a p e o s t r i n g s u t 2 5 c h a r a c t e r si l e n g t h . ( P E T / C B M / V I C / 6 4 )

1 7 V I M i c r o m o n M o n i t o r w i t h 3 c o m m a n d s .1 9 C a p u t e ! P E M a c h i n e L a n g u a g e C o m p a c t o r F i x .1 9 M a c h i n e L a n g u a g e S e r i a l C o m u n i c a t i o n s H o t

t e l e c o m m u n i c a t e w i t h t h e h e l p o m a c h i n e l a n g u a g e .1 9 P r o g r a m m i n g V I C ' s F u n c t i o n K e y s M a c h i n e l a n g u a g e

r o u t i n e t a s s i g n k e y p h r a s e s t V I f u n c t i o n k e y s .2 0 P E P i c t u r e F i l e s - S a v e / l o a d s c r e e n i m a g e s t o / f r o m

d i s k . ( P E T U p g r a d e / C B M 8 0 3 2 )2 0 C a l l i n g R o u t i n e F o M a r q u e e R o u t i n e t a l l o w i n t e r

f a c i n g t M a r q u e e ( F e b . 1 9 8 2 ) f r o m B a s i c . ( P E T / C B MU p g r a d e 4 . 0 )

2 0 P E I n t e r f a c i n g I n t r o d u c t i o n t P E i n t e r f a c i n g w i t hs i m p l e e x a m p l e .

2 2 V I P l o t t i n g M e d i u m r e s o l u t i o n p l o t t i n g o t h e V I C .2 3 N e P r o d u c t s - I n t e r f a c e s F o C o m m o d o r e 6 A n

V I C ; J o C o s t i n g A n G e n e r a l A c c o u n t i n g P r o g r a m ;V I S o f t w a r e f r o m W e s t e r n N e E n g l a n d ; 4 0 / 8 0C h a r a c t e r E x p a n s i o n F o T h V I C - 2 0 ; T e r m i n a l E m l a t i o n P a c k a g e F o T h S u p e r P E T ; F r a c t i o n s P r o g r a m sF o r P E T , T R S - 8 0 , A n A p p l e .

D e c e m b e r1 A s T h R e a d e r s V I S o f t M e m o r y R e c o v e r y ; M

c h i n e L a n g u a g e P r i n t i n g ; C o m m o d o r e 6 P e r i p h e r a l s .6 S i m u l a t o r T i n y P l a n , M o d e l i n g P l a n n e r F o H o m e

A p p l i c a t i o n s c o m p u t e r i z e d s p r e a d s h e e t p r o g r a m i B a s i c w h i c h w i l l w o r k i 8 w i t h o u t d i s k o r p r i n t e r .

8 C a l C a l c C o m p u t e r i z e Y o u r D i e t p r o g r a m t h e l py o l o s e w e i g h t b c u t t i n g c a l o r i e s .

9 A l S o r t s O B a s i c S o r t s s e l e c t i o n o f o u r d i f f e r e n ts o r t i n g r o u t i n e s i B a s i c .

1 1 P a r t I H o T U s S Y T h c o n c l u s i o n o t h i s

t u t o r i a l d e m o n s t r a t e s h o t h a n d l e c o m p l e x m u l t i p l ic a t i o n s i m a c h i n e l a n g u a g e .

1 2 N a m e P l a y u s e r - f r i e n d l y p r o g r a m a i m e d a p r s c h o o l e r s . R e q u i e s p r i n t e r . ( P E T / C B M / V I C )

1 3 V I A n d P E T P I L O T I n t e r p r e t e r l o w - b u d g e t a p r o a c h t p r o g r a m m i n g i P I L O T . S u p p o r t s s t i n g ( $ )a n n u m e r i c ( # ) v a r i a b l e s , a n t h s t a t e m e n t s T J U E M I C A H a n d E n d .

1 5 H i d d e n M a z e Y o a r t r a p p e d i n s i d e a m a z e a n d y o uc a s e o n l y a s h o r t d i s t a n c e a l o n g i t d a r k c o r r i d o r s a y o t r y t o f i n d y o u r w a o u t .

1 6 U n d e r s t a n d i n g V I H i g h R e s o l u t i o n G r a p h i c s - T h i sa r t i c l e e x p l o r e s h i g h r e s o l u t i o n g r a p h i c s o t h 5 a n e x t e n d e d 8 V I C - 2 0 .

1 7 2 S u p e r g r a p h i c s F o r P E r e v i e w o J o h n F l u h a r t y ' sS u p e r g r a p h i c s s o f t w a r e .

1 7 T h V I " C a r d b o a r d " r e v i e w o t h C a r d b o a r dE x p a n s i o n I n t e r f a c e .

1 8 M i k r o C h i p A s s e m b l e r F o T h P E r e v i e w o t h M i k r o a s s e m b l e r f r o m S k y l e s E l e c t r i c W o r k s .

1 9 U n i v e r s a l P r o g r a m L i s t e r T h i s p r o g r a m w i l l l i s t a n p r o g r a m i w a t h a t c a b e a s i l y u n d e r s t o o d ; a l s p e c i a l c h a r a c t e r s f o C o m m o d o r e c o m p u t e r s a r t a k e ni n t o a c c o u n t . R e q u i r e s d i s k d r i v e .

2 0 8 V I C B l o c k S A V E A n d L O A D p r o g r a m t c o n n e c ty o t t h e k e r n a l r o u t i n e s a n a l l o w t h s a v i n g o l o a d i n g o b l o c k s o m e m o r y f r o m / t o t a p e .

2 1 C o m m o d o r e 6 S p r i t e E d i t o r C r e a t e a n m o d i f ym u l t i c o l o r e d s p r i t e s o t h C o m m o d o r e 6 4

2 1 5 T i n y A i d F o r V I C - 2 0 A d r e n u m b e r , d e l e t e , f i n d ,c h a n g e a n k i l l t t h e V I C .

2 2 P a p e r M o n i t o r S w i t c h F o r 2 0 2 2 P r i n t e r A d a a u t o m a t i c o u t - o f - p a p e r s w i t c h t t h C o m m o d o r e2 0 2 2 a n d 2 0 2 4 p r i n t e r s .

2 2 F l o p p y W i t h S t r a n g e D e v i c e - T h i s r o u t i n e w i l lc h a n g e t h d e v i c e n u m b e r o t h 2 0 4 0 , 4 0 4 0 , 8 0 5 0 o 2 0 3 1 d i s k d r i v e s .

2 2 7 V I C F i l e C l e r k p r o g r a m t h a t a l l o w s y o t s t o r e a n q u i c k l y l o c a t e u t 6 p a g e s o i n f o r m a t i o n o o n c a s s e t t e t a p e .

2 3 C o d e m o v e r P E p r o g r a m t h a t a l l o w s y o t e a s i l ym o v e m a c h i n e l a n g u a g e p r o g r a m s f r o m o n a r e a o m e m o r y t a n o t h e r .

2 4 C h e c k b o o k c h e c k b o o k b a l a n c i n g p r o g r a m .2 5 F l a s h i n g P r o m p t F o V I C a n d P E h a n d y i n p u t

r o u t i n e t m a k e y o u r p r o g r a m s c r a s h - p r o o f .2 5 N e P r o d u c t s L i g h t P e F o T h V I C - 2 0 ; S u p e r P E T

U p g r a d e B o a r d F o C B 8 0 3 2 ; P r i n t e r P r o g r a m m i n gM a n u a l F o V I A n E p s o n M X - 8 0 ; A c t i o n G a m e s F o T h V I C - 2 0 ( V i d e o m a n i a , T e r r a g u a r d ) ; P E J o y s t i c kI n t e r f a c e ; C a r r y i n g C a s e F o C o m m o d o r e 6 A n V I C ;G a m e F r o m A v a l o n H i l l ( A n d r o m e d a C o n q u e s t ) ; C o m u n i c a t i o n s P a c k a g e F o V e r s a M o d e m ; S p r e a d S h e e tF o V I C .

2 8 C A P U T E I - P E T L a s e r G u n n e r ; P E P i c t u r e F i l e s ; C 6 m e m o r y m a p ; M i c r o s w i t h t h H a n d i c a p p e d ( O c t 8 2 )

T h T r a n s a c t o r 7 A p r i l 1 9 8 3

Page 76: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 76/84

        

                    

                     

            

                                 

           

              

        

        

      

                

         

           

 

                  

                        

                          

                         

                           

    

  

Page 77: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 77/84

C H O P L I F T E Ra n t h e s e

a r j u s tt h g a m e s !

v i d e o r n q r u q T b R R A C I A l O

/ I S T R O B L I T Z - B 1 M H H O U

C R E A T I V E W r i t e t o d a y f o o u l a t e s t c a t a l o g u e .

A O V A r v t A G E C o m p u t e r A c c e s s o r i e s1 0 2 0 M e y e r s i d e D r . , U n i t s 8 M i s s i s s a u g a , O n t a r i o L 5 T 1 J 4 ( 4 1 6 ) 6 7 6 - 1 2 0

C o m m o d o r e V I C - 2 0 a n C o m m o d o r e 6 a r t r a d e m a r k s o C o m m o d o r e B u s i n e s s M a c h i n e

Page 78: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 78/84

N E W !C o m m o d o r e 6 4

S o f t w a r e A c c e s s o r i e sW n o h a v e o n o t h l a r g e s t

s e l e c t i o n s o C 6 s o f t w a r e a c c e s s o r i e s !

B U S I N E S SP C S - 6 4 8 0 8 0 - C o l u m n B o a r dW i t h a t o p - r a t e d w o r d p r o c e s s o rI n c l u d e s D a t a B a s e a n dS p r e a d s h e e t a l l i n k e dt o g e t h e r - p a c k a g e p r i c e $ 3 9 5 . 0 0W o r d P a c - w o r d p r o c e s s o r $ 9 9 . 9 5I n q u i r e P a c D a t a B a s e $ 9 9 . 9 5C a l c P a c S p r e a d s h e e t $ 9 9 . 9 5F i l e P a c - M a i l i n g L i s t $ 7 9 . 9 5A c c o u n t P a c - H o m e / B u s $ 6 9 . 9 5G e n e r a l L e d g e r $ 9 5 . 0 0

E D U C A T I O N A LC 6 B A S I C T u t o r i a l $ 3 9 . 9 5C 6 T o u r O v e r v i e w $ 1 5 . 9 5H a p p y T u t o r T y p i n g $ 2 9 . 9 5

G A M E SC y c l o n s b e s t s e l l e r ! $ 3 9 . 9 5S k i m a n s l a l o m g a m e $ 2 9 . 9 5S l u g g o b o x i n g g a m e $ 2 9 . 9 5C a s i n o P a g a m e s $ 3 9 . 9 5

U T I L I T I E SE d i t o r P a c - P r o g . A i $ 8 9 . 9 5A s s e m b l e r P a $ 8 9 . 9 5P e t S p e e d 6 4 C o m p i l e r $ 1 9 9P e t S p e e d 4 0 0 0 / 8 0 0 0 $ 2 4 9

A C C E S S O R I E S8 0 - C o l u m n B o a r d $ 2 7 9R S 2 3 2 P r i n t e r I n t e r f a c e $ 1 2 9P a r a l l e l P r i n t e r I n t e r f a c e $ 1 2 9Z - 8 0 B o a r d r u n s 4 A N 8 C o l u m n C P / M $ 3 9 9V I 2 0 / C 6 4 I n t e r f a c eI E E E & R S 2 3 2 , t o t a l l yt r a n s p a r e n t . I n t e r p o d $ 2 4 5

M O D E M F o V I 2 0 / C 6 4A c c o u s t i c c o u p l e d ; o n c a b l e t c o m p u t e r s u p p l i e sa l s i g n a l s a n p o w e r ;c a p a b l e o 1 1 t 3 0 b a u d ,f u l l h a l f d u p l e x o r i g i n a t e .A s s e m b l e d t e s t e d , w i t h s o f t w a r eb u w i t h o u t c a s e O n l y $ 1 2 9

M a i l O r d e r I n f o r m a t i o n :A l p r i c e s i C a n a d i a n d o l l a r s

A v a i l a b l e f r o m y o u r C o m m o d o r ed e a l e r , o i n o t , s e n d c h e c k o m o n e y o r d e r ( i n c l u d e 7 s a l e s t a x ) t

C O M P U T E R W O R K S H O P S4 6 K i n g S t r e e t E a s t #

T o r o n t o , O n t . M 5 L P h o n e ( 4 1 6 ) 3 6 6 - 6 1 9 2D e a l e r I n q u i r i e s I n v i t e d

N E B a s i c U t i l i t y f o t h C o m m o d o r e 6 P O W E R 6

• e a s y t l e a r n• e a s y t u s • p r o g r a m f a s t e r a n m o r e e f f i c i e n t l y

w i t h b e t t e r r e s u l t s• M O R E P O W E Ri n c l u d e d F R E E

P o w e r f u l P r o g r a m m e r ' s U t i l i t yb B r a a T e m p l e t o nM a n u a l b J i B u t t e r f i e l d

$ 9 9 . 9 5 f r o m 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 y o u r n e a r e s t d e a l e r c a l l :

( 4 1 6 ) 2 7 3 - 6 3 5 0P R O - L I N E

■ ■ I I I I B Q F T W A R E7 5 T H Q U E E N S W A Y E A S T . U N I T

M I S S I S S A U G A , O N T A R I O L 4 4 C

P R O - L I N E■ ■ ■ ■ I I I I S O F T W A R E

C A N A D I A N C O M P A N Yd e s i g n i n g ,

d e v e l o p i n g ,m a n u f a c t u r i n g ,

p u b l i s h i n ga n

d i s t r i b u t i n gm i c r o c o m p u t e rs o f t w a r eD E A L E R E N Q U I R I E S W E L C O M E

A U T H O R ' S S U B M I S S I O N S I N V I T E DC A L L O W R I T E( 4 1 6 ) 2 7 3 - 6 3 5 0P R O - L I N E■ U I I I I S O F T W A R E

7 5 T H Q U E E N S W A Y E A S T . U N I T 8 M I S S I S S A U G A . O N T A R I O L 4 4 C

Page 79: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 79/84

J

r c a d e c h a l l e n g e ,a c c u r a c y ,p r e c i s i o n : ^

s p e e d ,^ d u r a b i l i t y ,

q u a l i t y ,s e n s i t i v i t y

a V h o r n e .W h e l s e b u W J C O c o u l d m a k e

t h a t c l a i m ? W I C p i s j h i e w b r l d \l a r g e s t d e s i g n e r a n m a n u f a c t u r e r ^

o c o n t r o l s f o t h e a r c a d e .\ v \ \ \W r i t e t o d a y f o o u l a t e s t c a t a l o g u e .

A Q U A r v t A G B C o m p u t e r A c c e s s o r i e s1 0 2 0 M e y e r s i d e D r . , U n i t s 8 M i s s i s s a u g a , O n t a r i o L 5 T 1 J 4 ( 4 1 6 ) 6 7 6 - 1 2 0 0

Page 80: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 80/84

S o f t w a r e f i r s t ,c o m p u t e r s e c o n d .W o r k h o r s e s o l u t i o n s

f o t o u g h q u e s t i o n s .O K Y o u ' r e r e a d y t b u c o m p u t e r . H e r e ' s h o t m a k e a i n t e l l i g e n t b u s i n e s s d e c i s i o n .

D e c i d e o y o u r s o f t w a r e f i r s t . N c o m p u t e ri b e t t e r t h a n t h e s o f t w a r e t h a t r u n s t h e o e r a t i o n . N s o f t w a r e i b e t t e r t h a n S o u t h e r nS o l u t i o n s ' . W h a v e r e a l b u s i n e s s a c c o u n ti n a n r e c o r d k e e p i n g s o f t w a r e t h a t i r i g h t f o r t o d a y ' s b u s i n e s s w o r l d . I r u n so t h e b e s t l i n e o c o m p u t e r s a v a i la b l e t o d a y : C o m m o d o r e i n c l u d i n gt h e x c i t i n g n e C o m m o d o r e 6 4 ™ .

C o m p a r e o u s o f t w a r e s o l ut i o n s w i t h o t h e r s :

F i l e G u a r d ™ p r o t e c t s y o u rf i l e s f r o m l o s s e v e n b y p o w e rf a i l u r e .

S u p e r M a t h ™ m e e t s y o u rn e e d s a y o u r b u s i n e s s e xp a n d s . O u s o f t w a r e w i t hS u p e r M a t h w i l l h a n d l e n u m b e r su t $ b i l l i o n . M o s t m i c r o s s t o pa f a l e s s .

Y o u c a n d e s i g n y o u r B a l a n c eS h e e t , P & L , B u d g e t A n a l y s i s , e t c .

C o m p l e t e S y s t e m s o r I n d i v i d u a lM o d u l e s h a n d l e g e n e r a l l e d g e r , a c o u n t s r e c e i v a b l e a n p a y a b l e , b i l li n g , p a y r o l l , m a i l i n g l i s t s , o i a c o u n t i n g , p h a r m a c y m a n a g e m e n t ,e n c u m b r a n c e a c c o u n t i n g , e t c .

O u s o f t w a r e u s e s p r a c t i c a l l ya n p r i n t e r a n d g r o w s a y o u rn e e d s e x p a n d .

R e a l b u s i n e s s s o f t w a r e f o r e a l b u s i n e s s c o m p u t e r s .C a p a b i l i t y y o u n e e d a p r i c e s y o u c a na f f o r d .

Y o u r p r o f e s s i o n a l c o m p u t e r d e a l e r c a h e l p y o m a k e c o m p u t e r b e c o m e p r o d u c t i v i t yt o o l . F o d e m o n s t r a t i o n , v i s i tD i s t r i b u t e d i C a n a d a b y C a n a d i a n M i c r o

D i s t r i b u t o r s L t d '5 0 S t e e l e s A v e n u eM i l t o n , O n t a r i oL 9 3 P

a f ' U

N o F o T h C o m m o d o r e 6

P O B o ' P M c K i n n e y , T e x a s7 5 0 6 9( 2 1 4 ) 5 4 2 - 0 2 7 8

D i v i s i o n o B M C o m p u S c i e n c e L t d . " C o m m o d o r e 6 i t r a d e m a r k o 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 . "

Page 81: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 81/84

C B I N T E R F A C E ST h C o n n e c t i n g L i n k sI n c r e a s e Y o u r C o m p u t e r ' s

A b i l i t yC B P R I N T E R A D A P T E R S— a d d r e s s a b l e - s w i t c h s e l e c t a b l e u

p e r / l o w e r , l o w e r / u p p e r c a s e— w o r k s w i t h B A S I C , W O R D P R O ,V I S I C A L C a n o t h e r s o f t w a r e— I E E E c a r d e d g e c o n n e c t o r f o

c o n n e c t i n g d i s k s a n o t h e rp e r i p h e r a l s t t h P E T *

— p o w e r f r o m p r i n t e r u n l e s s o t h e rw i s e n o t e d

R S - 2 3 2 S E R I A L A D A P T E R b a u dr a t e s t 9 6 0 0 p o w e r s u p p l yi n c l u d e dM O D E L - A D A 1 4 5 0 a $ 1 4 9 . 0 0C E N T R O N I C S / N E C P A R A L L E LA D A P T E R C e n t r o n i c s 3 p i r i b b o n c o n n e c t o r h a n d l e sg r a p h i c sM O D E L - A D A 1 8 0 0 $ 1 2 9 . 0 0C O M M O D O R E 6 4 t R S - 2 3 2C A B L E A D A P T E R— p l u g s i n t o R S - 2 3 2 p o r t p r o v i d e s

v o l t a g e c o n v e r s i o n s t d r i v es t a n d a r d R S - 2 3 2 p r i n t e r s , t e r m i na l a n m a i n f r a m e s f o o t c a b l ei n c l u d e d r e c e i v e s p o w e r f r o mc o m p u t e r u s e s a d d r e s s #

— e l e c t r o n i c s f u l l y e n c l o s e d c a s e2 i n c h e s

M O D E L A D 6 4 O ( F e m a l e C o n n e c t o r ) $ 7 9 . 0 0M O D E L A D 6 4 1 0 M( M a l e C o n n e c t o r ) $ 7 9 . 0 0M O D E L A D 6 4 1 1 5M o d e m C a b l e $ 7 9 . 0 0C O M M U N I C A T I O N S A D A P T E Rs e r i a l p a r a l l e l p o r t s t r u e A S C I Ic o n v e r s i o n b a u d r a t e s t 9 6 0 0h a l f o f u l l d u p l e x X - O N , X - O F Fs e l e c t a b l e c a r r i a g e r e t u r n d e l a y 3 c h a r a c t e r b u f f e r C e n t r o n i c sc o m p a t i b l e p o w e r s u p p l yi n c l u d e dM O D E L S A D I $ 2 9 5 . 0 0A N A L O G T D I G I T A L C O N V E R T E R

1 c h a n n e l s t 5 . 1 2 v o l t i n p u tv o l t a g e r a n g e r e s o l u t i o n 2 m i l l iv o l t s p e c o u n t c o n v e r s i o n t i m el e s s t h a n 1 0 m i c r o s e c o n d s p e c h a n n e lM O D E L - P E T S E T 1 $ 2 9 5 . 0 0

U D o l l a r s Q u o t e d$ 5 . 0 0 S h i p p i n g H a n d l i n g

M A S T E R C H A R G E V I S AI T H E U S A o r d e r f r o m :

C o n n e c t i c u t m i c r o c o m p u t e r , I n c .3 D e M a D r i v eB r o o k f i e l d , C 0 6 8 0 4( 2 0 3 ) 7 7 5 - 4 5 9 5 T W X : 7 1 0 4 5 6 - 0 0 5 2

I C A N A D A o r d e r f r o m :B a t t e r i e s I n c l u d e d , L t d .1 8 Q u e e n S t r e e t W e s tF T o r o n t o , C a n a d a M 5 1 S ( 4 1 6 ) 5 9 6 - 1 4 0 5

D e a l e r I n q u i r i e s I n v i t e d

N E A s s e m b l e r f o t h C o m m o d o r e 6 P M . 6 4

e a s y t l e a r ne a s y t u s

• f a s tc o m p r e h e n s i v em a n u a lP e r s o n a l a s s e m b l y l a n g u a g e

b B r a d T e m p l e t o na l s o a v a i l a b l e f o r t h C o m m o d o r e

4 , 0 0 0 8 , 0 0 0 9 , 0 0 0 s e r i e s$ 9 9 . 9 5 f r o m 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 y o u r n e a r e s t d e a l e r c a l l :( 4 1 6 ) 2 7 3 - 6 3 5 0

P R O - L I N EM H I I I I B O F T W A R E7 5 T H Q U E E N S W A Y E A S T , U N I T

M I S S I S S A U G A O N T A R I O L 4 4 C

V I C - 2 0 , „ C B 6 E X P H N D E R B D R R D 5

P T o f f e r s t h f i n e s t s e l e c t i o no e x p a n d e r b o a r d s a v a i l a b l ef o t h V I C - 2 0 a n C B 6 4 T h d e s i g n f e a t u r e s , q u a l i t yc o n s t r u c t i o n , a n c o m p e t i t i v ep r i c e s m a k e a n o t h e m a

s l o t f o t h 6 4 T o g g l e s w i t c h e s a n e x c e p t i o n a l v a l u e . N e p r o -r e s e t s w i t c hP / C 6 S 6 9 . 9 5

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

6 S l o t f o t h V I C . T o g g l e s w i t c h e s S l o t f o t h V I C . N s w i t c h e s , r e s e t , o a n r e s e t s w i t c h . f u s e .P / V 3 ' 7 9 . 9 5 P / V 1 ! 4 9 . 9 5

S l o t f o r t h e V I C . T o g g l e s w i t c h e s a n r e s e t s w i t c h .P / V 2 S 6 9 . 9 5

P R E C I S I O N T E C H N O L O G Y , I N C .C O M P U T E R P R O D U C T S D I V I S I O N

S A L T L A K E C I T Y . U T A H 8 4 1 1 5( 8 0 1 ) 4 8 7 - 6 2 6 6

3 S l o t f o t h V i c . S l i d e s w i t c h e s , n r e s e t s w i t c h .P / V 2 S 5 9 . 9 5

S e y o u r d e a l e r , o r p l a c ey o u r o r d e r d i r e c t

V I S A - M / C - C H E C K - C O D

Page 82: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 82/84

S o f t w a r eA d v e r t i s e r

A d v e r t i s i n g I n d e xP r o d u c t N a m e ( D e s c r i p t i o n ) M a n u f a c t u r e r

I s s u e * P a g e

A d v a n t a g e C o m p u t e r A c e .B e a c o n S o f t w a r eC o m p u t e r M a r k e t i n g

\ C a n a d i a n M i c r oM i c r o A p p l i c a t i o n sP a c i f i c C o a s t S o f t w a r eP r e c i s i o n S o f t w a r eP r o - L i n e S o f t w a r e

S o u t h e r n S o l u t i o n sW y c o r B u s i n e s s S y s t e m s

V I 2 g a m e sB u s i n e s s P a c k a g e sC a l c R e s u l t ( s p r e a d s h e e t p r o g . )M a s t e r ( p r o g r a m m i n g a i d )C 6 4 : U t i l i t y , B u s i n e s s , G a m e sS u p e r s c r i p t ( w o r d p r o c e s s o r )P A 6 ( a s s e m b l e r )P O W E R 6 ( p r o g r a m m i n g a i d )B u s i n e s s p a c k a g e sP r o v i n c i a l P a y r o l l

H a n d i c S o f t w a r e a

7 7

I B I B I B

6 G

7 7 7

H a r d w a r eA d v e r t i s e r P r o d u c t N a m e ( D e s c r i p t i o n ) M a n u f a c t u r e r

I s s u e * P a g e1 4 5 C o m p u t e r W o r k s h o p s

\ C o m p u t e r M a r k e t i n gC o n n e c t i c u t m i c r o c o m p u t e rP r e c i s i o n T e c h n o l o g yR i c h v a l e T e l e c o m m u n i c a t i o n s

Z - R A M ( C P / M b o a r d )P E T / C B M I n t e r f a c e a d a p t e r sV I C 2 0 / C 6 4 E x p a n d e r B o a r d sC 6 L i n k ( I E E E a d a p t e r )

M a d i s o n 6 6 7 6 7

I F I F

A c c e s s o r i e sA d v e r t i s e r P r o d u c t N a m e ( D e s c r i p t i o n ) M a n u f a c t u r e r

I s s u e * / P a g e1 A d v a n t a g e C o m p u t e r A c e .C o m p u t e r W o r k s h o p sC o n s u l t o r s I n t ' l

L e a d i n g E d g e I n c .T o r o n t o P E U s e r s G r o u p

J o y s t i c k sA p r 8 3 p r o d u c t s l i s tS t o c k M a r k e t W i t h Y o u r P ( b o o k )

T o B o o k O G a m e sD y n a m i c s O M o n e y M g m t ( b o o k )I n v m e n t . A n a l y s i s w / Y o u r M i c r o ( b o o k )E l e p h a n t D i s k e t t e sM e m b e r s h i p i n f o

W i c o 7 7

6 6

6 B C B C B

6

T h T r a n s a c t o r 8 A p r i l 1 9 8 3

Page 83: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 83/84

Page 84: The Transactor V4 03

8/7/2019 The Transactor V4 03

http://slidepdf.com/reader/full/the-transactor-v4-03 84/84

" N E V E R F O R G E T S . "

M O R E T H A N J U S T A N O T H E R P R E T T Y F A C E .S a y s w h o ? S a y s A N S I .S p e c i f i c a l l y , s u b c o m m i t t e e X 3 B 8 o f t h e A m e r i c a n

N a t i o n a l S t a n d a r d s I n s t i t u t e ( A N S I ) s a y s s o T h f a c ti a l E l e p h a n t ™ f l o p p i e s m e e t o e x c e e d t h s p e c sr e q u i r e d t m e e t o e x c e e d a l t h e i r s t a n d a r d s .

B u j u s t w h i " s u b c o m m i t t e e X 3 B 8 " t i s s u e s u c hp r o n o u n c e m e n t s ?

m a k e l i f e m i s e r a b l e f o e v e r y o n e i t h d i s k - m a k i n gb u s i n e s s .

H o w ? B g a t h e r i n g t o g e t h e r p e r i o d i c a l l y ( o f t e n ,o n s u s p e c t s , u n d e r t h f u l l m o o n ) t c o n c o c t m o r ea n m o r e r u l e s t i n c r e a s e t h e q u a l i t y o f l e x i b l ed i s k s . T h e i r m o s t r e c e n t r u l e b o o k r u n s o v e r 2 s i n g l e -s p a c e d p a g e s — l i s t i n g , a n i n s i s t i n g u p o n — h u n d r e d s