TPUG Issue 23 1986 May

52
8/2/2019 TPUG Issue 23 1986 May http://slidepdf.com/reader/full/tpug-issue-23-1986-may 1/52 M a g a ; i n e F o r A L C o m m o d o r e C o m p u t e r U s e r s C O M P U T E R L A N G U A G E S S t r u c t u r e d P r o g r a m m i n g f t f * A e n t s p a g h e t t i C - 6 4 P a s c a l C o m p i l e W h i c h o n i b e s t ? 1 5 7 1 B u r s t M o d S t a r t o N e S e r i e s 1 1 9 8 6 T ' + 3 0 I I " A ( o | B j j n g P i e d e 6 e i s o d " s 5 6 6 9 8 7 0 9 7 6

Transcript of TPUG Issue 23 1986 May

Page 1: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 1/52

M a g a ; i n e F o r A L C o m m o d o r e C o m p u t e r U s e r s C O M P U T E R L A N G U A G E SS t r u c t u r e d P r o g r a m m i n g

f t f * A e n t s p a g h e t t iC - 6 4 P a s c a l C o m p i l e

W h i c h o n i b e s t ?1 5 7 1 B u r s t M o d

S t a r t o N e S e r i e s

1 1

9 8 6 T ' + 3 0 I I " A ( o | B j j n gP i e d e 6 e i s o d " s

5 6 6 9 8 7 0 9 7 6

Page 2: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 2/52

T P U GL I B R A R YD I S K S1 m o n t h s o t h l a t e s t ,f a b u l o u s p u b l i c d o m a i ns o f t w a r e o n l y

$ 7 0 . 9 5U o r d t

C A N A D I A No r d e r s U S $ 5 9 . 9 5

S u b s c r i b e n o t s t a r tr e c e i v i n g t h T P U G d i s k o t h m o n t h

Y o S A V E 2 0 % o m o r e b u s i n g t h i s o f f e r a s a T P U G m e m b e rT H I S O F F E R V A L I D F O P A I D U T P U G M E M B E R S O N L YP L E A S E P R I N T

N a m e : M e m b e r s h i p

A d d r e s s :

T y p e o P a y m e n tC h e q u eM a s t e r c a r dV i s aM o n e y O r d e r

S i g n a t u r e

A m o u n tC u r r e n c y C a n . U C r e d i t C a r dE x p i r y D a t e

T y p e o C o m p u t e r□ C 6 4

V I 2 P E 4 0 4 0 8 0 5 0S U P E R P E T ( 1 d i s k s ) 4 0 4 0 8 0 5 0C 1 2 8 ( 1 5 4 1 o n l y )M S / D O SA M I G A ( 3 % u ) ( 7 d i s k s )

Page 3: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 3/52

T H f H a g a s i i aP u b l i s h e r : B r u c e H a m p s o nE d i t o r : N i c k S u l l i v a nA s s i s t a n t E d i t o r s : T i G r a n t h a m

A d a m H e r s tP r o d u c t i o n M a n a g e r A s t r i d K u m a sE d i t o r i a l / P r o d u c t i o n A s s i s t a n t : I w o n a S u k i e n n i kA d v e r t i s i n g S a l e s : J o h n M a t n e s o nC o v e r I l l u s t r a t i o n : T h o r n K W C r e a t i v e D i r e c t i o n ( C o v e r ) : S t e v e M a c D o w a l lC o v e r S c a n a n A s s e m b l y : L G r a p h i c sT y p e s e t t i n g : N o e s i s . T o r o n t oP r i n t e d i C a n a d a b y : D e l t a W e G r a p h i c s

S c a r b o r o u g h , O n t a r i oT P U G M a g a z i n e i p u b l i s h e d 1 t i m e s y e a r b T P U G t n c . A i r i g h t s t o m a t e r i a l p u b l i s h e d i T P U GM a g a z i n e a r r e s e r v e d b T P U G I n c . , a n d n om a t e r i a l m a b r e p r i n t e d w i t h o u t w r i t t e n p e r m i ss i o n e x c e p t w h e r e s p e c i f i c a l l y s t a t e d .C o r r e s p o n d e n c e : S e n d c h a n g e o a d d r e s s a n s u b s c r i p t i o n e n q u i r i e s t o T P U G I n c . , A d d r e s sC h a n g e s , 1 0 D u n c a n M i l l R o a d . S u i t e G 7 D o M i l l s , O N , C a n a d a M 3 1 Z 3 . T P U G M a g a z i n ew e l c o m e s f r e e l a n c e c o n t r i b u t i o n s o a l a s p e c t s o C o m m o d o r e c o m p u t i n g . C o n t r i b u t i o n s s h o u l d b s e n t o d i s k , t h o u g h a c c o m p a n y i n g h a r d c o p y i w e t e o m e . B s u r e t i n c l u d e r e t u r n p o s t a g e i y o w i s h m a t e r i a l s r e t u r n e d . P l e a s e i n d i c a t e o t h e d i s kl a b e l w h i c h C o m m o d o r e d i s k f o r m a t a n d w o r d p r c e s s i n g p r o g r a m y o u h a v e u s e d . P a y m e n t l o r a r ti c l e s p u b l i s h e d i $ 3 0 . 0 0 p e p a g e i t t h a u t h o r r t a i n s t h e c o p y r i g h t , a n $ 4 0 . 0 0 p e p a g e i t h c o p y r i g h t i a s s i g n e d t T P U G M a g a z i n e . P a y m e n ti m a d e o p u b l i c a t i o n . A l c o n t r i b u t i o n s a r s u j e c t t e d i t i n g f o l e n g t h a n r e a d a b i l i t y . A d d r e s se d i t o r i a l c o n t r i b u t i o n s a n r e l a t e d c o r r e s p o n d e n c et o T h E d i t o r s . T P U G M a g a z i n e , 1 0 1 D u n c a n M i l lR o a d , S u i t e G 7 D o M i l l s . O N C a n a d a M 3 1 2 3 .

N e w s s t a n d : 1 0 , 0 0 0C i r c u l a t i o nS u b s c r i p t i o n : 1 2 , 0 0 0! S S N # 0 8 2 5 - 0 3 6 7V I 2 0 C o m m o d o r e 6 a n d S u p e r P E T a r t r a d e m a r k s o C o m m o d o r e E l e c t r o n i c s L t d . P E i

r e g i s t e r e d 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 sM a c h i n e s i n c . C B i r e g i s t e r e d t r a d e m a r k o C o m m o d o r e E l e c t r o n i c s L t d .S u b s c r i p t i o n s t T P U G M a g a z i n e m a b o b t a i n e db j o i n i n g i h e T o r o n t o P E U s e r s ' G r o u p ( T P U G )i n c .

R e g u l a r m e m b e r ( a t t e n d s m e e t i n g s ) $ 3 5 . 0 0 C d n .S t u d e n t ( f u i l - t i m e , a t t e n d s m e e t i n g s ) $ 2 5 . 0 0 C d n .A s s o c i a t e ( C a n a d a )A s s o c i a t e ( S A s s o c i a t e ( O v e r s e a s s e m a i l )A s s o c i a t e ( O v e r s e a s a i m a i l )

$ 2 5 . 0 0 C d n .$ 2 5 . 0 0 U . S .$ 3 0 . 0 0 C d n .$ 3 5 . 0 0 U . S .$ 4 5 . 0 0 U . S .

F o f u r t h e r m e m b e r s h i p i n f o r m a t i o n , p t e a s e c o n t a c t :T P U G I n c . M e m b e r s h i p I n f o r m a t i o n1 0 D u n c a n M i l l R o a d 1 5 5 2 H e r t e l A v e n u eS u i t e G S u i t e 1 4 D o M i l l s , O B u f f a l o , N C a n a d a M 3 1 Z U S 1 4 2 1 6T P U G T e l e p h o n e N u m b e r sB u s i n e s s O f f i c e ( 4 1 6 ) - 4 4 5 - 4 5 2 4M a g a z i n e O f f i c e ( 4 1 6 ) - 4 4 5 - 4 5 2 4A d v e r t i s i n g S a l e s ( 4 1 6 J - 4 4 5 - 4 5 2 4

8

D I R E C T O R YT P U G M a g a z i n e # 2

F e a t u r e : C o m p u t e r L a n g u a g e s

1 1 1 1 1 1 2 2

T o u r O B a b e l b A v y g d o r M o i s eS t r u c t u r e d P r o g r a m m i n g b E r i c G f g u e r eF o u r P a s c a l C o m p i l e r s f o t h C - 6 4 b D a v e P o w e l lW h a t t l o o k f o i C o m p i l e r b D a v e P o w e l lL a n g u a g e a r t s b J i B u t t e r f i e l dT h L a n g u a g e b A j a y J i n d a iA m i g a B A S I C b D i c k B a r n e sA m i g a B A S I C s o u n d a n s c r e e n b C h r i s J o h n s o nN o r t h c a s t l e S t r u c t u r e d B A S I C b C h r i s J o h n s o nC O M A L : T h D i s k , T h C a r t r i d g e b L e L i n d s a y

A r t i c l e s2 2 2

3

A m i g a D i s p a t c h e s b T i G r a n t h a mE S C a p e b A d a m H e r s t

L a y m a n ' s G u i d e t B u r s t M o d e : P a r tb M i k l o s G a r a m s z e g h y

S u p e r - O S / 9 B u g R e p o r t b A v y g d o r M o i s e

R e v i e w s4 4 4 4 4 4

M T B A S I C b A d a m H e r s tP R O M A L b N i c k S u l l i v a n5 u p e r G r a p h i x J r I n t e r f a c e b y R a n j a n B o s eE l i t e b T h o m a s J o n e sP o w e r P l a n b y D a v e P o w e l lP R - 1 0 1 1 P r i n t e r b y R a n j a n B o s e

D e p a r t m e n t s

2 2 2 3 3 3 4 4 4 4 4 4 4

I n s i d e I n f o r m a t i o nL i n e N o i s eT P U G L i b r a r y P r o g r a m m i n g C o n t e s tB B P a s s w o r d f o M a a n J u n eM a r k e t p l a c eC a l e n d a r o T P U G E v e n t sA d d i t i o n s t t h T P U G S o f t w a r e L i b r a r yT P U G S o f t w a r e O r d e r F o r mP r o d u c t s R e c e i v e d b A s t r i d K u m a s

V I 2 C o r r e c t i o nB u l l e t i n B o a r dU n c l a s s i f i e d sT P U G M a g a z i n e D i s t r i b u t o r sT P U G C o n t a c t sI n d e x o A d v e r t i s e r s

Page 4: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 4/52

I n s i d e I n f o r m a t i o nT B U G sI l a s t m o n t h s i s s u e , M G a r a m s z e g h y ' sp r o g r a m M F F o r m a t e r c o n t a i n e d a e r r o r d u t t h r e n u m b e r i n g o l i n e s d u i n t h t y p e s e t t i n g . L i n e 3 s h o u l d r e a d3 I n p u f ' s e l e c t f o r m a t " ;

f : r e s t o r e ( f * 1 0 + 9 0 ) :r e a d b 6 , b 9 , 9 d , f $

W a p o l o g i z e f o a n i n c o n v e n i e n c e a n p r o m i s e t w a t c h o u f o t h o s e c a l c u l a t e dr e s t o r e s t a t e m e n t s f r o m n o o n

F i r s t o f f e r i n g sI 1 9 8 5 C o m m o d o r e r e l e a s e d i t ' s l o n ga w a i t e d s u c c e s s o r t t h v e r y p o p u l a rC - 6 4 , t h C - 1 2 8 . M o r e t h a n j u s t ' f a t 6 4 ' ,t h C - 1 2 8 o f f e r s a n u m b e r o e n h a n c em e n t s a n o p t i o n s n e v e r b e f o r e s e e n o t h e ' l o w e n d ' C o m m o d o r e c o m p u t e r s . A i t h p a s t , T P U G i n t e n d s t o f f e r f u l lu s e r s u p p o r t i t h f o r m o m o n t h l yc h a p t e r m e e t i n g s a n d p u b l i c d o m a i nl i b r a r i e s . I n t h e p a s t , c h a p t e r l i b r a r i e sh a v e s t a r t e d f r o m s c r a t c h a n d h a v e b e e nb u i l t o t h c o n t r i b u t i o n s o o u m e m b e r s . H o w e v e r , w i t h t h i m p l e m e nt a t i o n o f t h C P / M o p e r a t i n g s y s t e m o nt h e C - 1 2 8 , w i d e v a r i e t y o f e x i s t i n gp u b l i c d o m a i n p r o g r a m s b e c a m e a v a i la b l e . T h r o u g h t h e g e n e r o s i t y o L o m eG o u l d a n d J o h n M a t h e s o n o F i r s t B y t eS o f t w a r e , a l a r g e l i b r a r y o t h e s e p r g r a m s h a v e b e e n m a d e a v a i l a b l e t T P U Gm e m b e r s . F o r m e r l y T o r o n t o a r e ad i s t r i b u t o r o f C P / M p u b l i c d o m a i n p r g r a m s , F i r s t B y t e c u r r e n t l y m a n u f a ct u r e s a n d i s t r i b u t e s t h e $ M A N M o n e yM a n a g e r f o C P / M a n M S - D O So p e r a t i n g s y s t e m s . L o m e a n h i s t a f fh a v e g e n e r o u s l y a l l o w e d u t b e g i nt r a n s l a t i n g i n t o C o m m o d o r e d i s k f o r m a tt h m e g a b y t e s o s o f t w a r e h o u s e d a t h e i r R i c h m o n d S t o f f i c e s a n h a v e g i v e ni n v a l u a b l e a d v i c e o c o n f i g u r i n g t h e s ep r o g r a m s f o t h C - 1 2 8 . T h e s e c o n t r i b ut i o n s w i l l h e l p e s t a b l i s h t h T P U G C P / Ml i b r a r y a s m a j o r s o u r c e o C - 1 2 8 C P / Mp r o g r a m s . A C - 1 2 8 c o - o r d i n a t o r a n C P / M l i b r a r i a n w o u l d l i k e t t a k e t h i so p p o r t u n i t y t t h a n k L o m e a n a l h i s t a f f f o t h e i r h e l p , p a t i e n c e a n p r o f e ss i o n a l c o n s i d e r a t i o n s .

T h i s m o n t hT h i s m o n t h w f o c u s o t h i n c r e a s i n gn u m b e r o a l t e r n a t i v e l a n g u a g e s f o C o m -

2 I s s u e 2

m o d o r e c o m p u t e r s . A f t e r y e a r s o m a i n d w i t h t h r e l a t i v e l y s p a r s e B A S I Cb u i l t i n t o C o m m o d o r e c o m p u t e r s , b e t t e rB A S I C s h a v e s t a r t e d m a k i n g t h e i r a p e a r a n c e , a n o t e d i a r t i c l e s o A m i g aB A S I C b C h r i s J o h n s o n a n 1 2 8 - b a s e dB A S I C s b A d a m H e r s t . b e t t e r B A S I Cf o t h e C - 6 4 , P E T s a n V I 2 i a v a i la b l e i t h f o r m o N o r t h c a s t l e B A S I C ,

p u b l i c d o m a i n B A S I C . Y e a n o t h e rp o p u l a r p u b l i c d o m a i n l a n g u a g e f o t h C - 6 4 i C O M A L , w h o ' s a d v a n t a g e s a r d u l y n o t e d i a a r t i c l e b L e L i n d s a y .

N e w e r , l e s s f a m i l i a r l a n g u a g e s s u c h a P a s c a l , P r o m a l a n a r e x p l o r e d i a r i c l e s b D a v e P o w e l l , N i c k S u l l i v a n a n A j a y J i n d a l r e s p e c t i v e l y . O v e r v i e w s o p r o g r a m m i n g i t h e s e v a r i o u s l a n g u a g e sa r p r o v i d e d b A v M o i s e a n E r i cG i g u e r e .

N e x t m o n t h w l o o k a t o r p h a n e d c o p u t e r s , t h o s e u n f o r t u n a t e m a c h i n e s n l o n g e r c o n s i d e r e d t h e c r e a m o f t h e c r o p .S u p p o r t a n i n f o r m a t i o n f o t h e s em a c h i n e s h a b e c o m e i n c r e a s i n g l y h a r dt o f i n d e v e n t h o u g h t h e y m a h a v e y e a r s

o f p r o d u c t i v e u s l e f t i n t h e m . O u c o v e r a g e w i l l i n c l u d e s u c h g o n e b u n o f o r g o t t e n m a c h i n e s a t h V I 2 0 C - 1 6 ,P l u s / 4 , B - 1 2 8 a n t h P E s e r i e s o c o m p u t e r s .

D e p t . o L a b o u r r e p o r tL a s t i s s u e w r e v e a l e d t a n a s t o u n d e dw o r l d t h a t t w m e m b e r s o t h m a g a z i n e ' s e d i t o r i a l s t a f f w e r e e x p e c t a n tf a t h e r s . T h i s i n o h a l f - t r u t h . A f t e r a e x t e n d e d d e v e l o p m e n t e f f o r t o n e a r l y ay e a r , A l e x a n d e r P a t r i c k G r a n t h a m w a r e l e a s e d t t h p u b l i c d o m a i n a 2 : 3 8 i t h m o r n i n g o f A p r i l 1 4 T h n e u n i tc o m e s e q u i p p e d w i t h r e a l - t i m e c l o c kt h a t g e n e r a t e s n o n - m a s k a b l e i n t e r r u p t sa t h r e e - h o u r i n t e r v a l s , c o m p l e t e l y i t e r a c t i v e i / f a c i l i t i e s , o n e - c h a n n e l s o u n dg e n e r a t i o n c a p a b i l i t y ( u p g r a d a b l e t o i nc l u d e s p e e c h s y n t h e s i s r e a l s o o n n o w ) ,q u i t e f e i n t e r n a l d r i v e s a n d a n i t e l l i g e n t , f u l l y m u l t i t a s k i n g o p e r a t i n gs y s t e m . O y e s , a n d $ 0 0 1 4 f i n g e r s a n t o e s t o o . C o n g r a t u l a t i o n s t T i a n C a t e .

C O M A L R E F E R E N C E G U I D ES i x t y - f o u r p a g e s o u t l i n i n g a l t h C 6 C O M A Lk e y w o r d s , w i t h s e c t i o n s o t h l a n g u a g e ' s s u p e r bS t r i n g H a n d l i n g , P r o c e d u r e s a n P a r a m e t e r s ,E x p r e s s i o n s a n S t a n d a r d F u n c t i o n s . $ 9 . 9 5

C O M A LR e f e r e n c e

. _ - : _ _ ■ : ■ ■ * ■ „ .

G u i d e

5 5 5 5

b D o r g e f t C h r i s t e n s e nW i t h l o i e w c t t j b i B u i t e i f t e k J

S e n d c h e q u e o m o n e y o r d e r t o T P U G I n c . , D e p t . 4 , 1 0 1 D u n c a n M i l l R d . , S t e . G D o M i l l s , O n t a r i o ,

C a n a d a M 3 1 Z

Page 5: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 5/52

N e P r o d u c t sc o n s t a n t l y a r r i v i n gI p r o d u c t i a v a i l a b l eW h a v e i A l h a r d w a r e i s t o c ka a l t i m e sF u l l s e r v i c e

T H I S M O N T H ' S S P E C I A L SR | C E S ) E F F E C T U N T I L M A 3 1 . 1 9 8 6 \

T H M A N A G E

C - 6 4$ 1 4 . 9 5

O U B L I E T T E D E W A Y SF O

C - 6 4$ 1 4 . 9 5 $ 3 9 . 9 5

I M A G EM A K E R

M P 8 0 H I G H R E S .

P R I N T I N G$ 1 0 . 0 0

C o m p u S e r v eS t a r t e r

K i

$ 3 9 . 9 5 n e c o m p l e t e g u i d et t h 1 5 4 1 o p e r a t i n g s y s t e m

S P R I N TP R I N T

F U L L S P O O L I N GP R I N T E R B U F F E R

p ^ c e $ 1 9 . 9 5

P a p e r C l i p( t h e w o r d p r o c e s s o r ]

$ 5 9 . 9 5w i t h S p e l l P a c k

$ 7 9 . 9 5

C h e c k o m o n e y o r d e r e n c l o s e d V i s a M a s t e r C a r d A m e x

A c c l . # E x p . D a t e S i g n a t u r e

$ 3 6 . 9 5"

5 5 2 9 Y o n g e S t r e e t , W i l l o w d a l e , O n t a r i o M 2 5 S T e l : ( 4 1 6 ) 2 2 9 - 2 7 0 0N o t e : A l p r i c e s I C a n a d i a n F u n d s . P h o n e a n m a l l o r d e r s w e l c o m e .O n t a r i o r e s i d e n t s a d 7 t s a b s t s x .A d 5 f o s h i p p i n g ( m i n i m u m c h a r g e $ 4 . 0 0 )j e m m m m 1 O ° / o d i s c o u n t t o T P U G m e m b e r s o r e g u l a rH r ■ » ^ s w 1 p r i c e d s o f t w a r e , a c c e s s o r i e s a n m a g a z i n e s .

Page 6: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 6/52

T P U G M a g a z i n e i n v i t e s y o t e p r e s s y o u r v i e w s o C o m m o d o r ec o m p u t i n g b w r i t i n g t o L i n e N o i s eT P U G M a g a z i n e1 0 D u n c a n M i l l R o a d , S u i t e G D o M i l l s , O n t a r i o M S 1 Z C a n a d a

S I q u i r k sh a v e r e a d y o u r a r t i c l e i t h N o v e m b e r

' 8 5 i s s u e o T P U G M a g a z i n e d e a l i n g w i t ht h S I c h i p . I n y o u r c o l u m n ' S I D ' SC u r i o u s Q u i r k s . . . \ w a i n t e r e s t e d i t h f a c t t h a t y o c a r o u t e a e x t e r n a la u d i o s i g n a l t h r o u g h t h f i l t e r s , c o n t r o l li n g t h e l o u d n e s s w i t h t h v o l u m e n y b b l e .

w o u l d c o n s i d e r m y s e l f a n a m a t e u r p r g r a m m e r i t h a t h a v e m a s t e r e d B A S I Cp r o g r a m m i n g a n c a r e a d i l y a d a p t t m o s t o t h s p e c i a l f e a t u r e s o f f e r e d b t h C o m m o d o r e 6 4 s u c h a m u s i c a n s o u n ds y n t h e s i s . h a a l r e a d y d e c i d e d t h a t a cc e s s t t h S I w a n o w o r t h t h e f f o r ti B A S I C , s h a v e i n v e s t e d q u i t e b i o m o n e y i c o m m e r c i a l s o f t w a r e t h a ts p e c i a l i z e s i m u s i c c o m p o s i t i o n a n S I a c c e s s t h r o u g h t h u s o o t h e r , m o r ec o n v e n i e n t , l a n g u a g e s . T h i d e a o fr o u t i n g a e x t e r n a l s i g n a l t h r o u g h t h S I s e e m s w o r t h e x p l o r i n g , a n a r q u e s t i n g s o m e f u r t h e r l i t e r a t u r e i h o t d t h i s .D e a n N i q u e t t eK a u k a u n a , W 5 4 1 3 0A f a a k n o w , t h e r e i n l i t e r a t u r e .T h i n f o r m a t i o n i t h a r t i c l e c a m e f r o mp e r s o n a l e x p e r i m e n t a t i o n a n c a r e f u lr e a d i n g o t h S I c h i p s p e c i f i c a t i o n s c o t a i n e d i n t h P r o g r a m m e r ' s R e f e r e n c eG u i d e . T h e r e i n o t h i n g c a a d t t h a ta r t i c l e e x c e p t t t e l l y o t h a t u s e dC a s i o V L - T o n e m i n i - k e y b o a r d a t h a u d i o i n p u t . C o n n e c t i n g i a s d e s c r i b e di t h a r t i c l e , w a a b l e t m i i t s i g n a li n t o t h o u t p u t o t h S I c h i p . I t ' s j u s tl i k e a d d i n g a n o t h e r v o i c e t t h S I c h i p :i t l o u d n e s s i c o n t r o l l e d b t h m a s t e rv o l u m e n y b b l e a $ D l f l 8 ( d e c i m a l 5 4 2 9 6 ) ;a n i y o s e b i o r e g i s t e r $ D l f l 7 y o c a c o n t r o l i t t o n e w i t h t h f i l t e r s . C h e c kt s e e i f y o u r m u s i c s o f t w a r e c a u s t h i s

f e a t u r e .

T h e x t e r n a l i n p u t c a p a b i l i t y w a o r i g i n a l l y i n t e n d e d a w a t c h a i n t h o u t p u t f r o m s e v e r a l S I c h i p s c o n t a i n e di p i a n o - s t y l e k e y b o a r d . I t ' s o l i m i t e du t i l i t y , i m o p i n i o n , b u t i t ' s f u t e p e r i m e n t w i t h . J u s t b c a r e f u l t o b s e r v et h i n p u t v o l t a g e a n i m p e d a n c e s p e c s ,a n w h a t e v e r y o d o d o n ' t c o n n e c t t h a u d i o o u t p u t o t h S I t t h a u d i o i p u t , o y o ' I p r o b a b l y h a v e o n e d e e p - f r i e dc h i p i n y o u r C - 6 U !T i G r a n t h a mW P 6 4 v i l e z a T h f o l l o w i n g i a c o p y o f a l e t t e r s e n t t P r o - L i n e S o f t w a r e i n M i s s i s s a u g a , O t a r i o . W p u b l i s h i f o t h i n f o r m a t i o no o t h e r u s e r s w h h a v e v e r y e a r l y c o p i e so P r o - L i n e ' s W P 6 4 w o r d p r o c e s s o r .B o a m a a y o g u y s !

u s m C o m m o d o r e 6 i m c o n s u l t i n gp r a c t i c e . T h b i g g e s t u s e p u t h m a c h i n e t i w o r d p r o c e s s i n g . A p r e s e n t , a u s i n g v e r s i o n V . 8 4 1 1 1 5 o fW o r d P r o 6 ( o r , a t h p r o g r a m i s o m e t i m e s k n o w n , W P 6 4 , o T h e W o r d -p r o c e s s o r ) . T h m a n u a l i t h 2 n p r i nt i n g ( S e p t e m b e r 1 9 8 4 v e r s i o n ) . a l s o u s S p e l l p r o 6 4 ( v e r s i o n n u m b e r u n k n o w n ,p u r c h a s e d D e c e m b e r , 1 9 8 4 ) . o w J u k i6 1 0 0 p r i n t e r , a S t a r S G - 1 0 p r i n t e r ,C a r d c o C a r d ? + p r i n t e r i n t e r f a c e ,B u s C a r d I I E E E a n p r i n t e r i n t e r f a c ec o n n e c t e d w i t h a M S S D - 2 d r i v e a d e v i c e n u m b e r 8 a n a 1 5 4 1 a d e v i c en u m b e r 9

T o d a y a t t e m p t e d t l o a d W P 6 4 f r o md r i v e o f d e v i c e 8 w i t h m t e x t d i s k i d r i v e 0 o f d e v i c e 8 W P 6 4 d i n o l o a d .T h e n i r e s e t t h e m a c h i n e a n d r e f o r m a tt e m d a t a d i s k i d r i v e 0 w i t h t h l a b e l' P I R A T E C O P Y ' .O c o u r s e , k e e p b a c k u p s o m d a t ad i s k s . U n f o r t u n a t e l y , m b a c k u p w a s t w od a y s o l d , s a o u t w d a y s o w o r k( o $ 6 0 0 . 0 0 ) g e t t i n g b a c k t w h e r e w a b e f o r e m a d e m s i m p l e m i s t a k e .r e v i e w e d t h m a n u a l , a n i d o e s s a t h f o l l o w i n g :

P l a c e t h W O R D P R O C E S S O Rp r o g r a m d i s k i n t o d r i v e o d e v i c e

a n c l o s e t h d r i v e d o o r . N O T E :Y o m u s t u s t h a t s p e c i f i c d i s kd r i v e . T h W O R D P R O C E S S O Rc a n o t b e b o o t e d f r o m a n y d r i v eo t h e r t h a n d r i v e 0 d e v i c e 8

H o w e v e r , t h e r e i n w a r n i n g t h a t i y o t r t b o o t t h p r o g r a m f r o m a n y o t h e rd r i v e i w i l l r e f o r m a t t h d i s k i d r i v eo d e v i c e 8

t h i n k t h e p r a c t i c e o f r e f o r m a t t i n gs u s p e c t e d p i r a t e c o p i e s o y o u r d i s kw i t h o u t a m p l e w a r n i n g i p o o r s o f t w a r ed e s i g n , a n i m b a c k u p h a d b e e n m u c ho l d e r , w o u l d c o n s i d e r l e g a l a c t i o na g a i n s t y o u r c o m p a n y .C M S m y t h eL o n d o n , O n t a r i oA c c o r d i n g t S t e w M a r t i n o P r o - L i n e , t h p a r t i c u l a r l y v i c i o u s f o r m o c o p y p r o t e ct i o n y o d e s c r i b e w a p r e s e n t i t h e a r l i e s t c o p i e s o W P 6 4 , f a c t t h a ts o m e h o w e s c a p e d P r o - L i n e ' s n o t i c e . A p a r e n t l y , t h p r o g r a m m e r w h a d d e d t h p r o t e c t i o n h a p e r v e r s e s e n s e o h u m o u r . P r o - L i n e c o r r e c t e d t h f a u l t a s o o n a i w a b r o u g h t t t h e i r n o t i c e , a n w i l l r e p l a c e t h e a r l i e r o n e s o r e q u e s t .

F i r s t i m p r e s s i o n sC o m m o d o r e ' s n e m a c h i n e s a r v e r yn i c e , t h o u g h o n e d o e s e n c o u n t e r t h o d q u i r k . F o i n s t a n c e , t h C A P S L O C K k e w o r k s o a l t h e a l p h a b e t i c a l k e y s e x c e p tt h k e y . T h i s i n o t o a n n o y i n g ,h o w e v e r .

T h M S S D - 2 d u a l d i s k d r i v e s e e m st w o r k f i n e w i t h t h C - 1 2 8 i n a n y m o d e .T h B a t t e r i e s I n c l u d e d 8 0 - c o l u m n c a r dd o e s n o w o r k i C - 1 2 8 m o d e , b u a t l e a s ti d o e s n ' t f o r c e t h e C - 1 2 8 i n t o C - 6 4 m o d eu p o n i n i t i a l i z a t i o n .

C o m m o d o r e ' s ' n e w ' M P S - 1 0 0 0 p r i n t e rf o t h C - 1 2 8 i a c t u a l l y t h E p s o n S p e ct r u m L X 8 0 6 4 p r i n t e r w i t h C o m m o d o r el a b e l s o i t T h i s i c o m p a c t , f a i r l y f a s t( a b o u t 1 0 c p s ) p r i n t e r t h a t a p p a r e n t l yw i l l d b o t h h i - r e s b i t - m a p p e d g r a p h i c sa n g o o d c o r r e s p o n d e n c e q u a l i t y p r i n t( b e t t e r t h a n o t h 1 5 2 6 / M P S 8 0 2 ) . T h S p e c t r u m L X - 8 0 6 4 h a 1 c p t h a tc o m e s v e r y c l o s e t l e t t e r q u a l i t y . I i s l o w b u t t h q u a l i t y i i n c r e d i b l e !

T h 1 5 7 1 s e e m s t b p r e t t y a m a zi n a n e x t r e m e l y v e r s a t i l e d i s k d r i v e . A c o r d i n g t J i B u t t e r f i e l d , t h e r e w i l l n o b e d u a l d r i v e v e r s i o n o f t h e 1 5 7 1 . T h a t ' se x t r e m e l y d e p r e s s i n g , f o d u a l d r i v e s a r ef a m o r e u s e f u l t h a n s i n g l e d r i v e s , a n c a e a s i l y j u s t i f y t h e i r a d d e d c o s t .S e a n R o o n e yP o r t C r e d i t , O n t a r i o

A I s s u e 2

Page 7: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 7/52

A T T E N T I O NA L C O M M O D O R E 6 4

V I 2 0 C O M M . 1 A N C O M M O D O R E 1 2 o w n e r s

c o m p l e t e s e l f - t u t o r i n g B A S I C p r o g r a m m i n g c o u r s ei n o a v a i l a b l e . T h i s c o u r s e s t a r t s w i t h t u r n i n gy o u r c o m p u t e r o n t p r o g r a m m i n g j u s t a b o u ta n y t h i n g y o u w a n t ! T h i s c o u r s e i c u r r e n t l y u s e di b o t h H i g h S c h o o l a n A d u l t E v e n i n g E d u c a t i o nc l a s s e s a n d h a s a l s o f o r m e d t h b a s i s o t e a c h e rl i t e r a c y p r o g r a m s . W r i t t e n b t e a c h e r , w h a f t e rh a v i n g t a u g h t t h e c o u r s e s e v e r a l t i m e s , h a p u t o g e t h e r o n o t h f i n e s t p r o g r a m m i n g c o u r s e sa v a i l a b l e t o d a y . T h i s c o m p l e t e 1 l e s s o n c o u r s eo o v e r 2 2 0 p a g e s i n o a v a i l a b l e f o t h C O M O D O R E 6 4 V I 2 0 C O M M O D O R E 1 a n t h C O M M O D O R E 1 2 8 a n d t a k e s y o s t e p b s t e p t h r ua d i s c o v e r y a p p r o a c h t p r o g r a m m i n g a n d y o c a d i a l i y o u r l e i s u r e t i m e ! T h l e s s o n s a r e f i l e w i t h e x a m p l e s a n d e a s y t u n d e r s t a n d e x p l a n a ti o n s a w e l i a m a n y p r o g r a m s f o y o t m a k e u p A t h e n o e a c h l e s s o n i t e s t o f t h e i n f o r m a t i o np r e s e n t e d . F u r t h e r m o r e , A L a n s w e r s a r s u p p l i e dt a l t h q u e s t i o n s a n p r o g r a m s , i n c l u d i n g t h ea n s w e r s t t h t e s t s . F o l l o w t h i s c o u r s e s t e p b s t e p , l e s s o n b l e s s o n , a n t u r n y o u r s e l f i n t or e a ! p r o g r a m m e r ! Y o w o n ' t b d i s a p p o i n t e d !W w i l l s e n d t h i s C O M P L E T E c o u r s e t y o a o n c e f o r j u s t $ 1 9 . 9 5 p l u s $ 3 . 0 0 f o s h i p p i n g a n h a n d l i n g ( U . S . r e s i d e n t s , p l e a s e p a i U . S . f u n d s ) .I y o a r n o C O M P L E T E L Y s a t i s f i e d , t h e n s i m p l yr e t u r n t h c o u r s e w i t h i n 1 d a y s o r e c e i p t f o F U L L r e f u n d . N o a v a i l a b l e ! 2 0 p a g e c o u r s e

e x c l u s i v e l y o s e q u e n t i a l a n r e a t i v e f i l e s u s i n g u n i q u e a p p r o a c h

f o t h o s e w i t h v e r y l i m i t e d f i l e p r o g r a m m i n g e p e r i e n c e s e u y o u r o w p e r s o n a l a n b u s i n e s sr e c o r d s ! d i s k d r i v e m u s t s a m e a u t h o rs a m e g u a r a n t e e s a m e c o s t — t h i s c o u r s e f o a l c o m p u t e r s e x c e p t V i 2 0 F i l l i t h c o u p o n o s e n d f a c s i m i l e .

F O L L O W U C O U R S E

N A M E :A D D R E S S :C I T Y :P R O V . / S T A T E :P O S T A L / Z I P C O D E :

d e s i r e t h e B A S I C p r o g r a m -m i n g c o u r s e f o r :C o m m o d o r e 6 V i 2 C o m m . 1 2 ■ C o m m . 1

d e s i r e t h e F O L L O W - U Pc o u r s e o r e l a t i v e a n s e u e n t i a l f i l e s f o a l a b o v ec o m p u t e r s b u t V i c 2 0 ) .

T

A n c o m p l e t e c o u r s e : $ 1 9 . 9 5P o s t a q e a n H a n d l i n g : S 3 . 0 0T o t a l : S 2 2 . 9 5S e n d C h e q u e o M o n e y O r d e r l B r a n t t o r d E d u c a t i o n a l S e r v i c e s

P i o n e e r P l a c e .B r a n t l o r d , O n l a r i o .C a n a d a N 3 7 G

B U S I N E S SS O F T W A R E

D I R E C T F R O M T H A U T H O R S W I T H 3 D A Y S A T I S F A C T I O NG U A R A N T E E P L U S C O N T I N U I N G S O F T W A R E S U P P O R T

P R O V I N C I A L P A Y R O L LF A S T . U S E R F R I E N D L Y W I T H H E L P K E Y S , S O U N DC U E S A N D A N E X T E N S I V E M A N U A L U S W I T H C - 6 4 O C - 1 2 8 A N C O M P A T I B L E D I S K D R I V E A N P R I N T E R

P A J O U R N A L S P A R E C O R D S T 4 S L I P SC H E Q U E W R I T E R 9 E M P L O Y E E S

$ 7 9 . 9 5 S

S h i p p i n g H a n d l i n g

7 S a l e s T a ( O n i . r e s i d e n t s o n l y )

T O T A L

5 . 0 0

D E A L E R I N Q U I R I E S W E L C O M EP r e p a i d O r d e r s o n l y

N a m eA d d r e s sC i t y

C H A R G E M V I S A O R M A S T E R C A R D N U M B E R

E x p a n dP a s tM a x i m u m

C a p a c i t y !

T h e T e c h / N e w s J o u r n a l F C o m m o d o r e C o A t b e t t e r b o o k s t o r e s e v e r y w h e r e ! O i s s u e s d e l i v e r e d t y o u r d o o r

f o r j u s t $ 1 5 . 0 0 ( O v e r s e a s $ 2 1 U . S . A i r M a i l $ 4 U . S . )T h T r a n s a c t o r . 5 0 S t e e l e s A v e . M i l t o n . O n t a r i o . L 9 3 P 7 .

4 1 8 7 8 - 8 4 3 8A l s o c h e c k o u T h T r a n s a c t o r D i s k a n T h C o m p l e t e C o m m o d o r e

I n n e r S p a c e A n t h o l o g y t u s e x p a n s i o n k n o w s n l i m i t s !

Page 8: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 8/52

T o u r o B a b e lb A v y g d o r M o i s eC o p y r i g h t 1 1 9 8 6 A v y g d o r M o i s eI s t i l l r e m e m b e r s t a n d i n g i n l i n e w i t hd e c k o I B c a r d s , w a i t i n g t s u b m i t' j o b ' t t h m a i n f r a m e c o m p u t e r . M j o b sw o u l d n o r m a l l y t a k e l e s s t h a n o n s e c o n dt e x e c u t e , a n a t h e t i m e d i n o m i n dw a i t i n g f o u t 3 0 m i n u t e s f o m t u r nt s u b m i t t h c a r d s t t h c a r d r e a d e r ,t h e n w a i t u t a n h o u r b e f o r e t h p r i n to u w a a v a i l a b l e . N o r m a l l y , m p r g r a m s w o u l d n o e x e c u t e c o r r e c t l y ( i a a l l ) o t h f i r s t t r y , s h a t s p e n d d a y sd e b u g g i n g t h p r o g r a m s b e f o r e c o u l db e n e f i t f r o m t h r e s u l t s t h a t w e r eg e n e r a t e d d u r i n g f e m i l l i s e c o n d s o fc o m p u t e r t i m e .

I t h a t d a r k a g o c o m p u t i n g , w a n e v e r c o n c e r n e d a b o u t i m p r o v i n g t h p r o g r a m ' s e f f i c i e n c y b c h o o s i n g t h r i g h t p r o g r a m m i n g l a n g u a g e , o r b u s i n gv a r i o u s p r o g r a m m i n g t e c h n i q u e s t s p e e du t h e e x e c u t i o n o m p r o g r a m s . E f f ic i e n c y a n s t y l e w a n o a i s s u e , s i n c e

d i n o h a v e w i d e c h o i c e o f p r o g r a mm i n g l a n g u a g e s a n t h e l a p s e d t i m e b et w e e n j o b s f a e x c e e d e d t h C P t i m e o a n g i v e n r u n . D u r i n g t h b u s y s e a s o n ,

h a t w a i t u t w e e k b e f o r e c o u l dc o l l e c t t h e p r i n t e d r e s u l t s o t e m i n u t ej o b .

T h o s e o y o w h t h i n k t h a t m u s t b a n c i e n t , s i n c e w a b r o u g h t u o p u n c hc a r d s a n p a p e r t a p e , s h o u l d n o t e t h a t t h ee v e n t s d e s c r i b e d i t h p r e c e d i n g p a r ag r a p h s t o o k p l a c e l e s s t h a n t e y e a r s a g o ,d u r i n g t h e p e r i o d o 1 9 7 6 - 1 9 7 9 .

I t h l a t e 1 9 7 0 ' s , p r o g r a m m a b l ec a l c u l a t o r s a n m i c r o c o m p u t e r s b e c a m ea v a i l a b l e t t h g e n e r a l p u b l i c a n t h c o n c e p t o p e r s o n a l c o m p u t e r w a b o r n .W i t h t h r e d u c t i o n i t h c o m p u t e r ' s s i z e ,t h e r e w a a l s o d e c r e a s e i m e m o r y s i z e ,t h a v a i l a b i l i t y o f p e r i p h e r a l d e v i c e s , a n s o f t w a r e . I a d d i t i o n , t h c o m p u t e rm a n u f a c t u r e r s a n s o f t w a r e d e v e l o p e r sh a t a d j u s t t t h f a c t t h a t t h a v e r a g ec o m p u t e r u s e r w a n l o n g e r c o m p u t e re x p e r t o s y s t e m p r o g r a m m e r , b u a i n e x p e r i e n c e d p e r s o n w i t h l i t t l e o n p r e v i o u s e x p o s u r e t c o m p u t e r s .

T h p o p u l a r i t y o t h m i c r o c o m p u t e rc a b p a r t i a l l y a t t r i b u t e d t C o m o d o r e . C o m m o d o r e w a a m o n g t h f i r s tt p r o d u c e l o w - c o s t , u s e r - f r i e n d l y m i c r oc o m p u t e r t h P E 2 0 0 1 . O n o f t h e

m o s t i m p o r t a n t f e a t u r e s i n c l u d e d w i t ht h e e a r l y h o m e c o m p u t e r s w a t h d e v e l o p m e n t o a i n t e r a c t i v e o p e r a t i n ge n v i r o n m e n t / l a n g u a g e c a l l e d B A S I C .

W i t h o u t B A S I C , b e l i e v e t h a t p e r s o n a lc o m p u t e r s c o u l d n o h a v e g a i n e d a n g r o u n d i o u h o m e s a n i s c h o o l s . T h i si b e c a u s e B A S I C p r o v i d e d s i m p l e w a t c o m m a n d a n c o n t r o l t h c o m p u t e ra n i t r e s o u r c e s .

A m i c r o c o m p u t e r s b e c o m e m o r ep o w e r f u l a n a p p r o a c h t h c a p a b i l i t i e s o s o m e o t h s o - c a l l e d m a i n f r a m e s o t h 1 9 7 0 ' s , t h n u m b e r o p r o g r a m m i n gl a n g u a g e s a v a i l a b l e f o r t h m i c r o c o p u t e r i a l s o i n c r e a s i n g . T h i s p r e s e n t sp r o b l e m f o t h m o d e r n c o m p u t e r p r g r a m m e r , w h m u s t c h o o s e f r o m w i d es e l e c t i o n o a v a i l a b l e l a n g u a g e s . T h r i g h tc h o i c e c a m a k e p r o g r a m d e v e l o p m e n ta n d m a i n t e n a n c e a p l e a s u r a b l e e p e r i e n c e . T h w r o n g c h o i c e , h o w e v e r ,m a t u r n t h e s i m p l e s t p r o j e c t i n t on i g h t m a r e ( a n d I ' v e h a f e w ) .

W h a t i p r o g r a m m i n g l a n g u a g e ?

p r o g r a m m i n g l a n g u a g e i s e o s y t a c t i c a l r u l e s t h a t a r a p p l i e d t o w a r d s t h c o n s t r u c t i o n o f i n s t r u c t i o n s t c o m m a n dt h c o m p u t e r t p e r f o r m g i v e n t a s k .p r o g r a m i c o l l e c t i o n o s u c h i n s t r u ct i o n s ( s t a t e m e n t s ) , p u t t o g e t h e r t p e f o r m g i v e n a p p l i c a t i o n .

1 l e 2 p r i n t3 e n

T h i s p r o g r a m c o n s i s t s o f t h r e es t a t e m e n t s ( l i n e 1 t h r o u g h 3 0 w h i c hp r i n t s t h e n u m b e r o t h e s c r e e n . E a c ho t h s t a t e m e n t s w a c o n s t r u c t e da c c o r d i n g t t h s y n t a x r u l e s t h a t a r r q u i r e d b t h B A S I C l a n g u a g ei n t e r p r e t e r .

W h e n y o t y p e t h c o m m a n d r u n , t h i sp r o g r a m w i l l e x e c u t e , i . e . i w i l l b t r a n s l a t e d t s o m e t h i n g l i k e :M O V E . L # 3 , X ( A 6 ) ; s t o r e t h v a l u e i n t ov a r i a b l eM O V E . L X ( A 6 ) , D 0 ; c o n v e r t t h e i n t e g e r i

t a A S C I I s t r i n gT R A P D C . W M S I T O S T R A P ; d i s p l a yt h A S C I I s t r i n g

D C . W I $ P U T S T R A P t e r m i n a t e t h p r o g r a m

D C . W F S E X I TA r e y o u c o n f u s e d ? Y o s h o u l d b e

T h p r o g r a m s e g m e n t l i s t e d a b o v er e p r e s e n t s t h c o d e t h a t m a b p r o d u c e db B A S I C t r a n s l a t o r ( c o m p i l e r ) t r e d u c e t h e s y n t a x o B A S I C t t h c o p u t e r ' s n a t i v e c o d e . T h t r a n s l a t i o n o f ah i g h l e v e l s y n t a x ( l i k e B A S I C ) t m a c h i n ee x e c u t a b l e c o d e i d o n e i n v i s i b l y b t h c o m p u t e r , r i g h t a f t e r y o t y p e t h r u c o m m a n d . H e n c e t h t e r m ' B A S I Ci n t e r p r e t e r ' .

S o o n e r o l a t e r y o w i l l f i n d o u t h a tp r o g r a m s t h a t a r e x e c u t e d b y a n i n t e rp r e t e r r u r e l a t i v e l y s l o w l y . T h i s i m a i nl d u t t h f a c t t h a t t h e i n t e r p r e t e rr e p e a t e d l y c o n v e r t s t h E n g l i s h c o m a n d s t h a t m a k e u y o u r p r o g r a m i n t om a c h i n e c o d e . T h o v e r h e a d t h a t i g e n e r a t e d b y t h d y n a m i c t r a n s l a t i o n o ft h p r o g r a m i l a r g e e n o u g h t s l o w d o w nt h e e x e c u t i o n s p e e d o a n p r o g r a m .

T s p e e d t h i n g s u p o n m a c h o o s e t w r i t e t h e p r o g r a m s i m a c h i n e l a n g u a g e .H o w e v e r , i t h i s a r t i c l e w a w r i t t e n i m a c h i n e l a n g u a g e , i w o u l d l o o k l i k e :0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 10 0 1 0 1 0 1 0 0 1 0 0 1 1 1 1 1 1 1 0 1 0 0 10 0 1 0 0 0 1 0 . . .

N o p r e t t y s i g h t . C o n s i d e r i n g t h a t i t e r p r e t e r s a r e s l o w a n b i n a r y c o d e i t o h a r d t m a s t e r , w u s c o m p i l e r s a a a l t e r n a t i v e . H i g h l e v e l l a n g u a g e s , t h e r ef o r e , p r o v i d e a t o o l f o w r i t i n g p r o g r a mc o d e i r e a d a b l e , e a s y t u n d e r s t a n df o r m , w h i c h i t h e n t r a n s l a t e d b c o p i l e r t p u r e b i n a r y c o d e e x e c u t a b l e b t h m i c r o p r o c e s s o r . I t h c o m p i l e r i g o o d o n e , a n t h c o m p u t e r l a n g u a g e i p r o p e r l y c h o s e n , t h e o b j e c t c o d e p r o d u c e db t h t r a n s l a t o r w i l l b e a t i m e s , a s e ff i c i e n t a t h c o r r e s p o n d i n g c o d e t h a t h a b e e n h a n d - w r i t t e n a a s s e m b l y l e v e l

H e n c e , i a c q u i r i n g p r o g r a m m i n gl a n g u a g e f o y o u r m i c r o c o m p u t e r y o s h o u l d

C h o o s e t h r i g h t l a n g u a g e ( t h i s m a b a p p l i c a t i o n d e p e n d e n t ) ;

C h o o s e t h c o m p i l e r t h a t p r o d u c e s t h

C o n t i n u e d o v e r l e a f . . .

I s s u e 2

Page 9: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 9/52

S t a t e m e n t d e s c r i p t i o n P a s c a l F o r t r a n

D a t a t y p e sS i r i p l e v a r i a b l e s

i n t e g e rc h a r a c t e rf l o a t

P o i n t e r si n t e g e rc h a r a c t e rf l o a ti n t e g e r ■ f u n c t i o n

A r r a y s "i n t e g e rc h a r a c t e r

S t r u c t u r e sr e c o r d c o n t a i n i n go t y p e i n t e g e r a n d

o t y p e c h a r a c t e r

i n a c h a r b f l o a t

i n * a c h a r * b f l o a t * c i n [ f f ) O ji n a C 1 0 K 2 0 3c h a r b E l f l B Jt y p e d e f s t r u c t x

i n i c h a r c x

y a a s i n t e g e r ;v a r b i c h a r jv a c s r e a l j

v a a : A i n t e g e r jv a b : A c h a r ;v a r b : A r e a l iN . A .v a a : a r r a y [ a . . 9 , 0 . , 2 9 3 o i n t e g e r ;v a r b i a r r a y [ f l . . 9 9 3 o c h a r ;

r e c o r di : i n t e g e r jc i c h a r

e n

i n t e g e rc h a r a c t e r * !r e a l MN . A .N . A .N . A .e x t e r n a li n t e g e r a ( l f l , 2 8 )c h a r a c t e r * ! b i l B B )N .

U s e r e x t e n s i o n ss t r u c t u r e sm a c r o s

c o n d i t i o n a l s

i n r l u d e f i l e s

y [ 2 3 ;d e f i n e I N T E G E R i n t d e f i n e f ( x ) g ( x )l i f d e f Al e n d i ft i f n d e fi e n d i fi i n d u d e < s t d i o . h >

v a y j a r r a y t B . . ! ] o x N . A .N . A .N . A .

N . A .

N . A .

N . A .N . A .N . A .N . A .

N . A .

i n c l u d e s o r e . f o r

O p e r a t o r s ( a r i t h a e t i c )a s s i g n i e n ta d d i t i o ns u b t r a c t i o n

O p e r a t o r s ( l o g i c a l )t e s t f o r e q u a l i t yt e s t f o r n o t e q u a lt e s t f o r g r e a t e r

O p e r a t o r s ( b o o l e a n )b o o l e a n a n b o o l e a n o b o o l e a n n o

O p e r a t o r s ( b i t w i s e )b i t w i s e a n

b i t w i s e o b i t w i s e n o

a = 3 :b + = 3 :c = 5 - b ;a = b ! = 5c > a t t db l i c!

b !

b : = b + 3 (c : = 5 - b ;

a = b < > 5c >

a n o

n o N . A .

N . A .N . A .

a = b = b + 3c = 5 - ba . e q . 3b . n e . Sc . g t . ba . a n d . db . o r . c. n o t . cs y n t a x i t h s a n e a b o o l e a nb u d a t a t y p em s b i n t e g e r

C o n d i t i o n a l si s t a t e i e n t i f ( T )

S i e l s eS 2

£ e x p r ? a : b l

H I T ) t h e n5 e l s e5

N . A .

i f ( T ) t h e nS e l s eS

e n i N . A .

G r o u p i n gs t a t e a e n t s

l o o p s

< S l ; S 2 ; S 3 . . . S n >

M h i l e ( T ) S

b e g i n£ l ; S 2 ; S 3 . . . S n

e n w h i l e ( T ) t h e n

f o r i : = l t o d

N . A .

d M h i l e ( T )e n d d od i = l , Ue n d d o

T P U G M a g a z i n e

Page 10: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 10/52

m o s t e f f i c i e n t o b j e c t c o d e f o y o u rc o m p u t e r .I t h i s a r t i c l e , w i l l c o n c e n t r a t e o c h o o si n g t h e r i g h t d i a l e c t , s i n c e t h e c h o i c e o a c o m p i l e r f o s p e c i f i c l a n g u a g e a n c o m p u t e r s t r o n g l y d e p e n d o n s o f t w a r ea v a i l a b i l i t y .

C h o o s i n g t h r i g h t l a n g u a g eS i m p l y p u t , g o o d l a n g u a g e s h o u l d p r ov i d e s t a t e m e n t s y n t a x r u l e s t h a t c a b e f f i c i e n t l y u s e d i p r o g r a m c o n s t r u c t i o na n r e a d i l y c o n v e r t e d t m a c h i n e c o d e .O p t i m a l l y , a h i g h l e v e l l a n g u a g e s h o u l ds u p p o r t t h e f o l l o w i n g f e a t u r e s a n c a p a b i l i t i e s :

S e q u e n t i a l e x e c u t i o n o i n s t r u c t i o n sa n s t a t e m e n t s ;

N o n - s e q u e n t i a l e x e c u t i o n o i n s t r u ct i o n s a n s t a t e m e n t s ( b r a n c h i n g ) ;

C o n d i t i o n a l e x e c u t i o n o s e q u e n t i a l i s t r u c t i o n s a n s t a t e m e n t s ;

C o n c u r r e n t e x e c u t i o n o i n s t r u c t i o n s( m u l t i t a s k i n g ) ;

G r o u p i n g o s t a t e m e n t s ( b l o c k s a n p r o c e d u r e s ) ;

F l e x i b l e d a t a t y p i n g ( a t t r i b u t e s t h a tv a r i a b l e m a h a v e ) ;

M e m o r y m a n i p u l a t i o n o d a t a a n p r g r a m o b j e c t c o d e ;

I n p u t a n o u t p u t c a p a b i l i t i e s ;C l a r i t y , s e l f c o n s i s t e n c y a n r e l i a b i l i t y ;P o r t a b i l i t y ;E x t e n s i b i l i t y ( u s e r d e f i n e d s y n t a x ) .

L e t ' s e x p a n d o s o m e o f t h e p o i n t s i t h a b o v e l i s t . w i l l t u s e x a m p l e s w h e r ep o s s i b l e t i l l u s t r a t e c e r t a i n f e a t u r e .

I t h e x a m p l e s t h a t f o l l o w , c h o s e t c o m p a r e t h r e e c o m p u t e r l a n g u a g e s ( C P a s c a l a n F o r t r a n ) t h a t a r k n o w n t r u n o n m o s t C o m m o d o r e c o m p u t e r s .N o t e : T h t a b l e d o e s n o c o v e r a l 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 l a n g u a g e s .O n l y f e f e a t u r e s w e r e s e l e c t e d f o t h p u r p o s e o i l l u s t r a t i o n . F o b e t t e ru n d e r s t a n d i n g o t h l a n g u a g e s , p l e a s ec o n s u l t u s e r r e f e r e n c e m a n u a l .O t h e s u r f a c e i s e e m s t h a t t h e t h r e el a n g u a g e s h a r d l y d i f f e r f r o m e a c h o t h e r .T h i s i t r u e i y o u r a p p l i c a t i o n r e q u i r e so n l y s u b s e t o f t h l a n g u a g e t s o l v e t h ep r o b l e m a h a n d . T h i s i o n o f t h er e a s o n s f o t h a c c e p t a n c e o B A S I C a t h m a j o r p r o g r a m m i n g l a n g u a g e b ym o s t u s e r s .

A s e e n i t h t a b l e a b o v e , a l t h r e el a n g u a g e s f u l l y s u p p o r t s e q u e n t i a l , b r a nc h i n g , a n c o n d i t i o n a l s t a t e m e n t s , a n

g r o u p i n g . O n l y C h o w e v e r , s u p p o r t s c o d i t i o n a l e x e c u t i o n o s u b - e x p r e s s i o n sw i t h i n o n s t a t e m e n t . F o e x a m p l e ,

( b > c ? b : c ) 5 w i l l a s s i g n 5 p l u s t h e l a r g e r o f o t a

A l s o , p r o v i d e s a l a r g e r s e l e c t i o n o o p e r a t o r s . T h i s m a b v i e w e d a s u s e f u lf e a t u r e t h a t a l l o w s t h e p r o g r a m m e r t u s t h o p t i m a l c o m b i n a t i o n o o p e r a t o r sf o t h a p p l i c a t i o n a h a n d . O t h o t h e rh a n d , t h i s m a p r o v e q u i t e c o n f u s i n g t t h b e g i n n e r a n m a l e a d t t h g e n e r at i o n o i n e f f i c i e n t c o d e i t h w r o n g c o s t r u c t i o n i c h o s e n .

F o e x a m p l e , t i n c r e m e n t a v a r i a b l eb o n u n i t , a n o n o t h e f o l l o w i n gs t a t e m e n t s m a b u s e d :a +

+ a a = 1

T r e f e r e n c e t h f i r s t a r r a y e l e m e n t w m a w r i t e

* b b [ 0 ] ; . .

W h i c h o n i t h b e s t fI t h l a n g u a g e s a r s i m i l a r i m o s t

a s p e c t s , w h e r e d t h e y d i f f e r ? T h m a i nd i f f e r e n c e s w i l l b f o u n d i t h w a t h e yt r e a t t h c o m p u t e r ' s m e m o r y . T h t y p eo d a t a t h a t c a b s t o r e d a n a c c e s s e db p r o g r a m s t r o n g l y d e p e n d s o n t h d a t a t y p e s t h a t a r e s u p p o r t e d b t h c o p i l e r a n t h a d d r e s s i n g m o d e s t h a t a r ea l l o w e d . I i o b v i o u s t h a t F o r t r a n c a n o t u s e o r m a n i p u l a t e p o i n t e r s t d a t as t r u c t u r e s , w h e r e a s a n P a s c a l c a n . O t h e o t h e r h a n d , F o r t r a n c a n p a s s p o i n t e r st d a t a a n f u n c t i o n s , w h e r e a s P a s c a l c a p a s s p o i n t e r s t d a t a o n l y . T h e r e f o r e , i y o u r a p p l i c a t i o n d o e s n o r e l y o p o i n t e rm a n i p u l a t i o n , a n l a n g u a g e w i l l d o

I c o n c l u s i o n , i i n o e a s y t c h o o s et h e b e s t l a n g u a g e f o y o u r c o m p u t e r . T h i si m a i n l y d u t t h f a c t t h a t t h e b e s tl a n g u a g e f o o n a p p l i c a t i o n m a b t h w o r s t f o a n o t h e r . A r e s u l t , y o m a h a v e t m a s t e r f e l a n g u a g e s t m a k ey o u r c o m p u t e r t r u l y e f f i c i e n t . H o w e v e r ,t h i s a l s o m e a n s t h a t y o m a c h o o s e a n l a n g u a g e i n i t i a l l y , f o t h p u r p o s e o l e a r n i n g , s i n c e o n c e y o h a v e m a s t e r e do n l a n g u a g e , i t i s e a s y t m a s t e ra n o t h e r . W h e n d e c i d i n g o t h p u r c h a s eo c o m p u t e r l a n g u a g e , y o u r b e s t b e t w i l lb t g e t t h e o n t h a t i c o m m o n l y u s e do y o u r t y p e o c o m p u t e r , s i n c e t h i s i p l i e s t h a t i i l i k e l y t b r e l a t i v e l y f r e eo b u g s .

M i s s i n g L e t t e r P u z z l e1 I n s e r t y o u r C O M A L d i s k i d r i v e * .2 T y p e L O A D " C 6 4 C O M A L * " , 83 T y p e R U ( s t a r t s C O M A L )4 T y p e A U T O ( t u r n o r a u t o l i n e # ' i )5 E n t e r t h p r o g r a m l i n e s a h o w n b e l o w

( C O M A L i n d e n t s l i n e s f o y o u )6 H i R E T U R N k e t w i c e w h e n d o n e7 T y p e R U

P r - g r - m m - r ' f l P - r - d - 8 - P - c k - g -P r o g r a m m e r ' s P a r ?

0 0 1 0 d i t e x t ! o f 3 9 , d i a k l o f 0 0 2 0 o p e n f i l e 2 , " m i B s i n g . d a t " , r e a d0 0 3 0 d i s k $ : = s t a t u s $ ; c o u n t : = 00 0 4 0 i d i s k $ = " O O " t h e n0 0 5 0 c o u n t ' t e x t0 0 6 0 e l s e0 0 7 0 c l o s e / / n d a t a f i l e f o u n d0 0 8 0 c r e a t e ' t e x t0 0 9 0 e n i 0 1 0 0 p l a y ' g a m e0 1 1 0 / 0 1 2 0 p r o c c o u n t ' t e x t0 1 3 0 w h i l e n o e o f ( 2 ) d O H r e a d f i l e 2 t e x t $0 1 5 0 c o u n t : + l0 1 6 0 e n d w h i l e0 1 7 0 c l o s e0 1 8 0 e n d p r o c c o u n t ' t e x t0 1 9 0 / 0 2 0 0 p r o c c r e a t e ' t e x t0 2 1 0 o p e n f i l e 2 , n m i s a i n g . d a t " , w r i t e0 2 2 0 p r i n t " i n p u t t e x t ( o b l a n k ) : "0 2 3 0 r e p e a t0 2 4 0 i n p u t t e x t $0 2 5 0 i t e x t $ > " " t h e n0 2 6 0 w r i t e f i l e 2 t e x t *0 2 7 0 c o u n t : + l0 2 8 0 e n d i f0 2 9 0 u n t i l t e x t $ = " "0 3 0 0 c l o s e0 3 1 0 e n d p r o c c r e a t e ' t e x t0 3 2 0 / 0 3 3 0 p r o c p l a y ' g a m e0 3 4 0 o p e n f i l e 2 , t 1 m i s a i n g . d a t " l r e a d0 3 5 0 f o x : = l t r n d ( l . c o u n t ) d 0 3 6 0 r e a d f i l e 2 t e x t $0 3 7 0 e n d f o r0 3 8 0 c l o s e0 3 9 0 f o l e t t e r : = l t o l e n ( t e x t $ ) d 0 4 0 0 i t e x t $ ( l e t t e r ) i " a e i o u " t h e n0 4 1 0 p r i n t " - " ,0 4 2 0 e l s e0 4 3 0 p r i n t t e x t $ ( l e t t e r ) ,0 4 4 0 e n d i f0 4 5 0 e n d f o r l e t t e r0 4 6 0 p r i n t0 4 7 0 f o l e t t e r : = l t o l e n ( t e x t $ ) d 0 4 8 0 w h i l e k e y $ o t e x t 3 ( l e t t e r ) d 0 4 9 0 p r i n t " ? " + c h r $ ( l 5 7 ) 1 / / l e f t0 5 0 0 e n d w h i l e0 5 1 0 p r i n t t e x t j ( l e t t e r ) ,0 5 2 0 e n d f o r l e t t e r0 5 3 0 e n d p r o c p l a y ' g a m e

I y o d o n ' t h a v e C O M A L y e t , o r d e r aP r o g r a m m e r ' s P a r a d i s e P a c k a g e - $ 1 9 . 9 5 .I i n c l u d e s t h c o m p l e t e C O M A L s y s t e mp l u B o v e r 4 0 p a g e s o i n f o r m a t i o n . A d $ m o r e t g e o u r 2 0 i n t e r a c t i v e l e s s o nT u t o r i a l D i s k . A d $ s h i p p i n g . V i s a / M Co U f u n d s c h e c k a c c e p t e d . S e n d t o

C O M A L U s e r s G r o u p U S 6 0 4 1 M o n o n a D r i v e , R o o m 1 0 M a d i s o n , W 5 3 7 1 6p h o n e 6 0 8 - 2 2 2 - 4 4 3 2

I s s u e 2

Page 11: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 11/52

S t r u c t u r e d P r o g r a m m i n gb E r i c G i g u e r eC o p y r i g h t 1 9 8 6 E r i c G i g u e r eS t r u c t u r e d p r o g r a m m i n g h a b e c o m e t h l a t e s t r a g e i p r o g r a m m i n g m e t h o d o l o g y ,e v e n t h o u g h i t ' s b e e n a r o u n d f o a l o n gt i m e . I t ' s r e a l l y t h w a p e r s o n s h o u l db t a u g h t t p r o g r a m i t h f i r s t p l a c e ,b u t t h e p r e p o n d e r a n c e o f n o n - s t r u c t u r e dl a n g u a g e s i t h m a r k e t p l a c e ( t h e m o s to b v i o u s e x a m p l e b e i n g B A S I C ) h a m a d e

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

c o u p l e o f y e a r s a g t h a t I ' b e c o m eb e l i e v e r i s t r u c t u r e d p r o g r a m m i n g ,p r o b a b l y w o u l d h a v e l a u g h e d . W e l l , f o l k s ,I ' v e l e a r n e d .W h a t i i t A s t h r e e d i f f e r e n t p e o p l e w h a t s t r u ct u r e d p r o g r a m m i n g i s a n y o u ' l l p r o ba b l y g e t t h r e e d i f f e r e n t a n s w e r s . S t i l l ,t h e r e a r e s o m e b a s i c s t h a t e v e r y o n e c a a g r e e u p o n , a n t h u s m d e f i n i t i o n o s t r u c t u r e d p r o g r a m m i n g g o e s a f o l l o w s :

S t r u c t u r e d p r o g r a m m i n g i p r g r a m m i n g m e t h o d o l o g y i w h i c hp r o g r a m s a r w r i t t e n i h i e r a rc h i c a l f o r m w i t h s t e p - w i s e r e f i n em e n t a n a e v i d e n t p r o g r a ms t r u c t u r e .

F o t h o s e w h c o n s i d e r t h i s t b b i w o r d y , w h a t i a l b o i l s d o w n t i t h i s :s t r u c t u r e d p r o g r a m m i n g r e q u i r e s g o o dp l a n n i n g a n m a k e s p l e n t i f u l u s o p r g r a m m o d u l e s . S t e p - w i s e r e f i n e m e n tr e f e r s t t h f a c t t h a t , a y o u p r o g r a m ,e a c h p a r t o y o u r p r o g r a m i r e f i n e d f r o mt h g e n e r a l t t h s p e c i f i c . T h a t i s y o g f r o m g e n e r a l s t r u c t u r e t a v e r yd e t a i l e d o n e , w o r k i n g o e a c h s t e ps e p a r a t e l y u n t i l t h e d e s i r e d e f f e c t h a b e e n a c h i e v e d a n t h b u g s w o r k e d o u t .

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

p l a n o a c t i o n h a b e e n t h o u g h t o u t .T h e p r o g r a m i w r i t t e n s o t h a t i f l o w s

l o g i c a l l y f r o m o n m o d u l e t t h n e x t .T h i s l a s t c o m m e n t r e f e r s t t h f a c t t h a t

g o o d s t r u c t u r e d p r o g r a m w i l l h a v e n n e e d f o g o t o s o r t h e l i k e ( e x c e p t i o n sa r i s e w h e n y o t r t s i m u l a t e c e r t a i np r o g r a m m i n g s t r u c t u r e s i n o n -s t r u c t u r e d l a n g u a g e ) . W h i l e t h i s m a s e e m t g a g a i n s t t h e g r a i n o f p r o g r a m

m i n g i B A S I C , i c a b d o n e q u i t ee f f i c i e n t l y .

T h e P o w e r o P l a n n i n gP e r h a p s t h m o s t i m p o r t a n t a d v a n t a g eo s t r u c t u r e d p r o g r a m m i n g i t h a t i r q u i r e s l o o f p l a n n i n g . T w y e a r s a g

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

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

I n c o n t r a s t , s t r u c t u r e d p r o g r a m m i n gr e q u i r e s y o t d e f i n e t h p r o b l e m , c r e a t e

g e n e r a l a l g o r i t h m f o s o l v i n g i t a n r e f i n e e a c h s t e p i t h a l g o r i t h m . Y o c a n , o f c o u r s e , g i n t o g r e a t d e t a i l w h i l ep l a n n i n g a p r o g r a m , r e d u c i n g t h j o a t h e n t m e r e l y t y p i n g i t h c o d e a n t e s t i n g i t o y o m a l e a v e i i m o r eg e n e r a l i z e d f o r m a n c r e a t e t h e c o d e a t h k e y b o a r d , a c c o r d i n g t t h e p l a n y o h a v e c o n c e i v e d . T h e r e a r n o h a r d a n f a s t r u l e s f o r s t r u c t u r e d p r o g r a m m i n gi n d i v i d u a l p r e f e r e n c e s a n s t y l e p l a yl a r g e p a r t i d e t e r m i n i n g w h a t y o d o

W h i l e t h i s p l a n n i n g m a s e e m b i t e d i o u s t s o m e , t h e r e a r d e f i n i t e a d v a nt a g e s t h a t , i m o p i n i o n , o u t w e i g h t h d i s a d v a n t a g e s . F i r s t a n f o r e m o s t i t h f a c t t h a t y o u h a v e d e f i n e d t h p r o b l e m .W h i l e t h i s m a s e e m o b v i o u s , m a n y p r g r a m m e r s s t a r t w i t h o n l y v a g u e i d e ao w h a t t h e y w o u l d l i k e t h p r o g r a m t d o K n o w i n g e x a c t l y w h a t i i y o w a n tt d a l l o w s y o t b m o r e p r e c i s e i y o u r c o d i n g a n t d i s c o v e r h i d d e n p i f a l l s i t h e t a s k y o a r a t t e m p t i n g .

T h s e c o n d a d v a n t a g e l i e s i t h f a c tt h a t s t r u c t u r e d a n w e l l - p l a n n e d p r g r a m i m u c h , m u c h e a s i e r t m o d i f y a n de x t e n d . T h p r o g r a m ' s s t r u c t u r e s h o u l db o b v i o u s a n t h e v a r i a b l e s w e l l -d o c u m e n t e d s t h a t y o k n o w p r e c i s e l yw h a t s e c t i o n d o e s a n w h a t y o m u s td t p r o p e r l y c h a n g e i t O c o u r s e , c e rt a i n l a n g u a g e s m a k e t h i s m u c h e a s i e r t od o a w s h a l l s e e b e l o w . T h i r d , p r o g r a mb u g s a r e a s i e r t o l o c a t e a n c o r r e c t .F i n a l l y , t h p r o g r a m ' s s t r u c t u r e m a k e si e a s i e r t o r e a d a n u n d e r s t a n d b y

o t h e r s , e s p e c i a l l y i t h c o d e i w e l l -c o m m e n t e d . F o t h e s e r e a s o n s , t h t i m es p e n t i p r o p e r l y p l a n n i n g a p r o g r a m i t i m e w e l l s p e n t .L a n g u a g e sW h i l e s t r u c t u r e d p r o g r a m m i n g p r a c t i c e ss h o u l d b i m p l e m e n t a b l e i a l m o s t a n l a n g u a g e , s o m e l a n g u a g e s a r m o r e c o d u c i v e t i t h a n o t h e r s . P a s c a l , f o e a m p l e , i p r o b a b l y t h e m o s t - c i t e d e x a m p l eo f s t r u c t u r e d p r o g r a m m i n g l a n g u a g e .P r o g r a m m i n g i P a s c a l r e q u i r e s s t r u ct u r e d a p p r o a c h , w i t h m u c h e m p h a s i s o w e l l - c o n c e i v e d p r o g r a m m o d u l e s . i a n o t h e r s u c h l a n g u a g e ( m y c u r r e n tf a v o u r i t e ) . i m o r e f l e x i b l e t h a n P a s c a l ,b u a l s o r e q u i r e s s t r u c t u r e d a p p r o a c ht p r o g r a m m i n g . O t h e r l a n g u a g e s , s u c ha F O R T R A N o B A S I C , a r d e c i d e l y u f r i e n d l y t o s t r u c t u r e d p r o g r a m m e r s , a n p r o p e r l y i m p l e m e n t i n g y o u r p l a n s c a b

r e a l p a i n . S i n c e l e a r n i n g C I ' v e o f t e nw i s h e d t h a t B A S I C h a w h i l e l o o p s( s t r u c t u r e s t h a t r e p e a t t h e m s e l v e s u n t i l

c e r t a i n c o n d i t i o n i m e t ) o c a s es t a t e m e n t s ( f o r m a k i n g m u l t i p l e c h o i c e s ) ,a n s o m e t i m e s m i s t a k e n l y p r o g r a m u i n t h e m . E v e n a I f . . . t h e n . . . e l s es t a t e m e n t w o u l d b n i c e ! I t ' s h a r d t g b a c k t t h o l w a y s o n c e y o u ' v e s t a r t e ds e r i o u s l y u s i n g s t r u c t u r e d p r o g r a m m i n gm e t h o d s .

I y o w o u l d l i k e t r y o u r h a n d a s t r u ct u r e d p r o g r a m m i n g , y o c a d s b p u r c h a s i n g o n o f t h e s e v e r a l o P A S C A L c o m p i l e r s a v a i l a b l e f o r C o m o d o r e c o m p u t e r s . g o o d i n t r o d u c t o r yb o o k o t h l a n g u a g e i a l s o r e c o m m e n de d I y o p r e f e r n o t t i n v e s t m u c hm o n e y i s t r u c t u r e d l a n g u a g e , a n o t h e ra l t e r n a t i v e p r e s e n t s i t s e l f : C O M A L .C O M A L i h y b r i d l a n g u a g e t h a t h a e l e m e n t s o b o t h B A S I C a n P a s c a l , m a i n i e a s y f o B A S I C p r o g r a m m e r s t l e a r n w h i l e g i v i n g t h e m p o w e r f u l s t r u ct u r e s t o w o r k w i t h . I t b e s t f e a t u r e i i t p r i c e , n o t h i n g ! Y o c a n g e t C O M A L 0 . 1 4( t h e p u b l i c d o m a i n , d i s k - b a s e d v e r s i o n )f r o m T P U G o f r o m T h C O M A L U s e r s 'G r o u p a n d o t h e r s o u r c e s . T u t o r i a l a n r e f e r e n c e b o o k s a r a l s o a v a i l a b l e , a w e l la a e x t e n d e d c a r t r i d g e v e r s i o n o f C O A ( t h i s o n i s n ' t f r e e ) . T h i s i p e r h a p st h b e s t a n e a s i e s t w a k n o w o t g a i ne x p o s u r e t s t r u c t u r e d p r o g r a m m i n g . I y o u ' r e i n t e r e s t e d , I ' s u g g e s t y o t r i t

T P U G M a g a z i n e

Page 12: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 12/52

F o u r P a s c a l C o m p i l e r s f o t h C - 6 4b D a v e P o w e l l

O x f o r d P a s c a lO x f o r d C o m p u t e r S y s t e m s , O x f o r d ,E n g l a n d . D i s t r i b u t e d i N o r t h A m e r i c ab L i m b i c S y s t e m s , I n c .

r e v i e w e d t h i s p a c k a g e i t h J a n u a r y1 9 8 5 i s s u e o f T P U G M a g a z i n e , s j u s t t h h i g h l i g h t s h e r e . I t u r n s o u t h a t O x f o r dh a a p r e t t y g o o d p r o d u c t . T h m a j o r a v a n t a g e , s p e c i a l l y f o r n e P a s c a l u s e r s ,i t h a t i h a a i m e m o r y m o d e ( t h ee d i t o r , c o m p i l e r , s o u r c e a n o b j e c t a r e a l i m e m o r y ) f o q u i c k c o m p i l e s o s m a l lp r o g r a m s . A l t h o u g h s o m e f e a t u r e s a r em i s s i n g i t h i s m o d e , i i g r e a t f o e p e r i m e n t i n g t g e t h s y n t a x r i g h t ,f o r i n s t a n c e . W i t h o u t d i s k a c c e s s r q u i r e m e n t s , c o m p i l a t i o n i v e r y f a s t .

T h m a j o r f l a w i t h p r o d u c t i t h f a c t t h a t t h c o m p i l e d c o d e i s l o w .b e l i e v e t h a t p - c o d e , r a t h e r t h a n m a c h i n ec o d e , i p r o d u c e d . T h i s a l s o m e a n s t h a te v e n s m a l l p r o g r a m i s a v e d a o v e r 5 0b l o c k s i f i t ' s w a n t e d i f o r m t h a t w i l lr u f r o m B A S I C .

T h e p r o g r a m d e v e l o p m e n t e n v i r o nm e n t i g o o d b e c a u s e o f t h e n o - d i s k c o p i l e . A l t h e r r o r s c a b f o u n d i o n c o m p i l e . M a c h i n e c o d e c a n b i n c o rp o r a t e d , a l t h o u g h t h e r e i n b u i l t - i na s s e m b l e r . D o c u m e n t a t i o n o f i n t e r n a l s i s k e t c h y .

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

O t h e r p r o g r a m c o d e c a n b e i n c l u d e d :t h e r e i a s o u r c e i n c l u d e , p r o g r a m c h a i ni n g , a n l i n k i n g o f s e p a r a t e l y c o m p i l e dp r o g r a m s . A l i a l l , t h i s p a c k a g e i s s t i l l

g o o d c h o i c e , u n l e s s y o u ' r e a f t e rm a c h i n e l a n g u a g e s p e e d .Z o o m P a s c a l 6 K i n g M i c r o w a r e , Q u e b e c .T h i s c o m p i l e r h a s t h a d v a n t a g e o b e i n gi n e x p e n s i v e : f u l l p r i c e w a a r o u n d 5 d o l l a r s ( C d n . ) a n f o u n d c l e a r a n c ec o p y a 1 d o l l a r s ! I t b i f a u l t i t h a t i i d i s k - b a s e d c o m p i l e r , a n s t o p s a t h f i r s t c o m p i l e e r r o r . T h i s m a k e s p r o g r a md e v e l o p m e n t v e r y t e d i o u s . B e c a u s e o t h i s , t h a m o u n t o e x p e r i m e n t i n g t h a td i w a l i m i t e d , a n m u c h o t h e f o l l o w

i n i b a s e d o n t h d o c u m e n t a t i o n , r a t h e rt h a n e x p e r i e n c e .

A e d i t o r i s u p p l i e d , w h i c h a d d s s o m ef u n c t i o n s o v e r t h b u i l t - i n C - 6 4 s c r e e ne d i t o r . B e w a r e o l o s i n g f i l e s u s i n g t h i se d i t o r . T h o r i g i n a l f i l e i o p e n e d f o u d a t e , a n t h r e s u l t o y o u r e d i t r e p l a c e st h o r i g i n a l u p o n e x i t . T o u g h , i y o u ' v ed e l e t e d a l l i n e s , a d i d . I i a p p a r e n t l yp o s s i b l e t d e f i n e e d i t o r m a c r o s , b u t h m a n u a l s t o p s s h o r t o f u l l e x p l a n a t i o n .T h c o m p i l e i a t w o - s t e p c o m p i l a t i o n t p - c o d e , w h i c h i t h e n t r a n s l a t e d t m a c h i n e l a n g u a g e .

I m p l e m e n t a t i o n i s u b s e t o s t a n d a r dP a s c a l , w i t h e x t e n s i o n s . S t r i n g h a n d l i n gf u n c t i o n s a r e m o r e e x t e n s i v e t h a n a n o t h e o t h e r c o m p i l e r s I ' v e t r i e d .

I ' m n o t s u r e h o w e l l C - 6 4 f e a t u r e s c a b a c c e s s e d . m e a r r a y i e q u i v a l e n tt p e e k a n p o k e , s s o u n d a n c o l o u rs h o u l d b a v a i l a b l e . O b j e c t c o d e i M L a n s t a n d - a l o n e p r o g r a m s t o r e s i 3 0 - p l u s b l o c k s . F i l e a c c e s s a p p e a r s t b n o r m a l , a n s a m p l e p r o g r a m o t h d i s k g i v e s a e x a m p l e o r e l a t i v e f i l e p r g r a m m i n g . c a l l p r o c e d u r e i p r o v i d e d ,a p p a r e n t l y f o u s i n g e x t e r n a l M r o u t i n e s , b u i n o t e x p l a i n e d . N o t h e rf o r m o p r o g r a m i n c l u d e i a v a i l a b l e . T h i si c h e a p , b u t p o t e n t i a l l y f r u s t r a t i n g , i t r o d u c t i o n t P a s c a l .

P A S C A L 6 A b a c u s S o f t w a r e , I n c . , G r a n d R a p i d s ,M i c h i g a n .J u d g i n g s o l e l y b t h r e c e n t p r i c e r e d u ct i o n , w o u l d s a t h a t t h i s P a s c a l i b i n g r e p l a c e d b S u p e r P a s c a l i t h A b a c u s l i n e . I r e c e n t c a t a l o g u e , t h ep r i c e i $ 1 2 . 9 5 ( U S ) ' w h i l e q u a n t i t i e s l a s t ' !T h i s c o m p i l e r h a o n o f t h e b e t t e r6 4 - s p e c i f i c s e t s o e x t e n s i o n s , c r e a t e s M o b j e c t c o d e , a n h a g o o d s t r i n g f u n ct i o n s . O t h m i n u s s i d e , t h d e v e l o p m e n te n v i r o n m e n t i v e r y i n h i b i t i n g . T h c o p i l e r s t o p s a t h f i r s t e r r o r , i s s u e s c r y pt i c o m p i l e e r r o r I x x x x m e s s a g e t t h s c r e e n , a n t h e n j u m p s t t h c o l d s t a r tr o u t i n e f e s e c o n d s l a t e r ! T h i s m e a n st h a t i o n i n o w a t c h i n g i n t e n t l y , n o o n l y i t h e r e n r e s u l t t o r u n , b u t h c o p i l e r h a t b r e l o a d e d a n r e r u n j u s t t oe s t a b l i s h t h l i n e i e r r o r .

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

a l l y , t h ' c o l d s t a r t ' r o u t e i u n d o u b t e d l ya a n t i - p i r a c y m e a s u r e . S i n c e P a s c a l 6 u s e s t h e b u i l t - i n s c r e e n e d i t o r , r a t h e r t h a ni t o w n , t h e d e s i g n e r s h a t e x p u n g et h e i r c o d e f r o m m e m o r y b e f o r e h a n d i n gb a c k c o n t r o l ! A n o t h e r e x a m p l e o h o p i r a c y h u r t s e v e r y o n e .

l i k e t h i d e a o f u s i n g a f a m i l i a r e d i t o r( i a l s o m e a n s t h a t P o w e r 6 a n s i m i l a ra i d s a r u s a b l e ) , b u i h a i t r e s t r i c t i o n s .T h c h a r a c t e r s t r i n g s r e a n d a t a m u s tn e v e r a p p e a r a n y w h e r e i p r o g r a m ,e v e n e m b e d d e d i o t h e r t e x t . A l s o , i n d e nt i n g p r e s e n t s p r o b l e m s : s e m i c o l o n m u s tb u s e d i t h f i r s t c o l u m n , b e f o r e s p a c e sa r e a c c e p t e d .

T h c o m p i l e i f o l l o w e d b a l o a d e rr o u t i n e a n s a v e . T h l o a d e r h a s t b s t a r t e d w i t h r u 1 0 n o f r i e n d l y . E t e r n a l s o u r c e c o d e c a b i n c l u d e d b y r u nn i n g a l i n k e r p r o g r a m .

P a s c a l - 6 4 h a s n e a r l y a l o f t h e f e a t u r e so s t a n d a r d P a s c a l . I a l s o h a p r o c e d u r e st p l o t a n u n p l o t g r a p h i c p o i n t s , t c r e a t e s p r i t e s , a n t c r e a t e a n r u a i n t e r r u p t - d r i v e n p r o c e d u r e s t h a t t w r o u t i n e s w i l l r u c o i n c i d e n t a i l y .

T h c o m p i l e r s f o Z o o m P a s c a l a n f o P a s c a l 6 h a v e c o m m o n h e r i t a g e : o n i l i c e n s e d f r o m t h o t h e r . H o w e v e r , t h e ya r n l o n g e r i d e n t i c a l . P a s c a l 6 n o s p o r t s m o r e f u n c t i o n s , w h i l e Z o o m h a m o r e d e v e l o p m e n t f e a t u r e s . H o w e v e r ,c a n n o t r e c o m m e n d a n c o m p i l e r t h a tn e e d s t b r e l o a d e d t o f i n d e a c h i d i v i d u a l e r r o r , a b o t h o t h e s e d o S u p e r P a s c a lA b a c u s S o f t w a r e , I n c . , G r a n d R a p i d s ,M i c h i g a n .T h i s i d e v e l o p e r ' s c o m p i l e r . T h m j o f e a t u r e i t h i n t e g r a t i o n o f m a c h i n el a n g u a g e c o d e w i t h i n P a s c a l p r o g r a m .I n d i v i d u a l f u n c t i o n s o r p r o c e d u r e s c a n b c o d e d i M L h a v e t w l a r g e c o m p l a i n t s ,t h o u g h . F i r s t , t h o n l y w a t c o m p i l e i t c o p y t h s o u r c e t t h p r o d u c t d i s k ; t h o b j e c t h a t b c o p i e d o f i l a t e r . T h i si a i n v i t a t i o n t o d i s a s t e r , a s t h e r e i n b a c k u p d i s k . S e c o n d l y , i c r e a t i n gd e v e l o p m e n t e n v i r o n m e n t , e v e n t h D O h a b e e n c h a n g e d . T h a t ' s f i n e f o s t a n da l o n e p r o g r a m s , b u t r y t r a n s p o r t i n gd a t a t a n d f r o m s p r e a d s h e e t !

A c c o r d i n g t t h m a n u a l , t w 1 5 4 1 sc a b u s e d . T h c o m p i l e p r o c e d u r e a s k sw h i c h d r i v e t u s e , b u f a i l s i t h s o u r c ei n o o ' 0 ( u n i t 8 ) N o e v e n t h e c o p y -

1 I s s u e 2

Page 13: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 13/52

i n u t i l i t i e s w o r k p r o p e r l y w i t h t w d r i v e s . l e t t e r t A b a c u s p r o d u c e d t h i sr e s p o n s e : T h p r o g r a m w i l l o n l y c o m p i l eu s i n g o n d i s k d r i v e . T f i e t w d r i v e s a r eu s e d o n l y f o c o p y i n g t h p r o g r a m s i t h u t i l i t y s e c t i o n . W h e n t r i e d c o p y i n g , o n f i l e c o p i e d , a n t h n e x t f a i l e d . C o m p i l e sw i t h t w d r i v e s f a i l i d i f f e r e n t p l a c e se a c h t i m e . t h i n k t h e y h a v e a t i m i n gp r o b l e m i t h e i r c u s t o m D O S . N o t b e i n ga b l e t o u s t w d r i v e s i a i n c o n v en i e n c e , b u w o r s e i h a v i n g t c o m p i l ef r o m t h p r o d u c t d i s k . n e v e r l i k ew r i t i n g a n y t h i n g t p r o t e c t e d d i s k .A f t e r u s i n g t h i s o n f o a w h i l e , t h e r eh a v e b e e n o c c a s i o n s w h e n m e s s a g ef l o a t s a c r o s s m s c r e e n s a y i n g t h a ts h o u l d n ' t u s e c o p y . A p a r t f r o m b e i n gl i b e l l o u s , t h i s i q u i t e w o r r y i n g .

O t h e r w i s e , t h d e v e l o p m e n t e n v i r o nm e n t i g o o d . T h c o m p i l e i d e n t i f i e s a l t h e e r r o r s , a n i t ' s f a s t . S m a l l e r p r g r a m s c a b c o m p i l e d t m e m o r y , w h i c hi e v e n f a s t e r . H o w e v e r , t h c o m p i l e r s t i l lh a t b l o a d e d f r o m d i s k . T h s u p p l i e de d i t o r h a s a m o v e c o m m a n d a n a u t o -i n d e n t i n g : e a c h n e l i n e b e g i n s u n d e r t h s t a r t o t h e p r e v i o u s o n e . T h s o u r c e c o d eo t h e d i t o r i s u p p l i e d i t ' s i S u p e rP a s c a l s a n y t h i n g y o d o n ' t l i k e y o c a f i x . T h i s i a g r e a t i d e a f a b e t t e r

t h a n s o m e e x a m p l e p r o g r a m s t h a t a r s u p p l i e d . D e b u g g i n g o n e ' s p r o g r a m i a i d e d b v a r i e t y o o p t i o n s f o l i s t i n ge x t r a i n f o r m a t i o n : m e m o r y l o c a t i o n s a n p - c o d e i n s t r u c t i o n s f o i n s t a n c e . T h e r e ' sa l s o p o s t - m o r t e m d u m p , w h i c h s h o w st h c u r r e n t c o n t e n t s o t h v a r i a b l e s .

T h i s i s t a n d a r d P a s c a l p l u s e x t e n s i o n s .T h e x t r a s m a k e t h M e n v i r o n m e n tm o r e l i v a b l e , a n d a d d f i l e f u n c t i o n s .T h e r e i b u i l t - i n d e f i n i t i o n f o r s t r i n gt y p e s , a n a e l s e a d d e d t t h c a s es t a t e m e n t . I ' d l i k e t o s e s o m e s t r i n gf u n c t i o n s a d d e d .

T h e r e a r n f a c i l i t i e s b u i l t - i n f o c o o u o s o u n d , t h o u g h s a m p l e M p r c e d u r e i g i v e n t c h a n g e t h s c r e e n c o o u r . A l t h o u g h t h e r e i p e e k / p o k em e c h a n i s m , m e a r r a y , t h i s s e e m s t a d d r e s s p u r e R A M , s o p r o c e d u r e i n e c e s s a r y t g e t t h V I c h i p , c h a n gi n b y t e t s w i t c h m e m o r y . R a t h e rr o u n d a b o u t w a t c h a n g e c o l o u r s !

T h e r e a r a l k i n d s o w a y s t g b e y o n d t h l i m i t a t i o n o o n s o u r c ec r e a t i n g o n o b j e c t : o v e r l a y s e g m e n t s ,p r o g r a m c h a i n i n g , c a l l i n g s e p a r a t e l yc o m p i l e d P a s c a l p r o g r a m a s u b r o u t i n e ,e x t e r n a l M s u b r o u t i n e s , i n c l u d e d s o u r c ec o d e , a n c o n t i n u e d ( c h a i n e d ) s o u r c ec o d e ! T h a t s h o u l d k e e p m o s t p r o g r a m

m e r s c o n t e n t .T h r e s u l t o y o u r p a i n s , a t e s t e d p r

g r a m , i t r a n s p o r t a b l e w i t h o u t t h p r o du c d i s k , b u m u s t b e o n ' S u p e r P a s c a lD O S ' d i s k . I t ' s m a c h i n e l a n g u a g e , n o t p c o d e . T h s p e c i a l D O i b l e s s i n g a n a p a i n . I t ' s c l a i m e d t b t h r e e t i m e sf a s t e r t h a n n o r m a l ( a n d c o u l d w e l l b e ) ,b u t h i s m e a n s t h a t P a s c a l a n B A S I Cc a n ' t b m i x e d .T h b e s t p a r t o t h i s s y s t e m i t h M i n t e g r a t i o n . T h e r e i c o m p l e t ea s s e m b l e r , w i t h f a i r s e o p s e u d o - o p si n c l u d i n g c o n d i t i o n a l a s s e m b l y . A m e t i o n e d , f u n c t i o n o p r o c e d u r e m a b c o d e d i M L r i g h t i t h m i d d l e o f t h eP a s c a l s t u f f . T h u t i l i t i e s i n c l u d e d i t h s y s t e m c o m p l e m e n t t h a s s e m b l e r w i t hr o u t i n e s t o m o v e h u n k s o m e m o r y t a n f r o m d i s k , a n o t h e r s t v i e w o r p r i n tv a r i o u s p i e c e s .

T h i s i a e x c e l l e n t d e v e l o p m e n tP a s c a l , f l a w e d i o n l y t w r e s p e c t s . I t h p r o b l e m w i t h s u p p o r t i n g t w d r i v e s w e r ec l e a r e d u p w o u l d f o r g i v e i t h a m o u n to c u s t o m i z a t i o n i h a w r e a k e d u p o n t h C - 6 4 a r c h i t e c t u r e . O x f o r d P a s c a l i s t i l lt h f r i e n d l i e r t P a s c a l n e o p h y t e , b u o n c e o n i o v e r t h a t i n i t i a l h u m p , S u p e rP a s c a l w i l l p r o b a b l y b t h m o r es a t i s f y i n g .

L i m i t e d t i m e o f f e rS S D D - $ 1 1 . 0 0 / b o xD S D D $ 1 4 . 0 0 / b o x

( M i n i m u m p u r c h a s e 5 D e l i v e r y e x t r a . )

S w i t c ht t h h i g h e s tq u a l i t y , l o w e s tp r i c e d b r a n d n a m ed i s k e t t e s a v a i l a b l ei C a n a d a .Q W h h a s w i t c h e d ?A . P r o f e s s i o n a l a n e d u c a t i o n a l

i n s t i t u t i o n s , n a t i o n a l a c c o u n t i n gf i r m s , m a j o r e n g i n e e r i n g f i r m s ,s o f t w a r e h o u s e s , c o m p u t e rr e t a i l e r s a n t h T o r o n t o P e U s e r s G r o u p .

I B u l k - 3 V 2 i n c h d i s c sS S D D $ 3 . 5 0 e a c h D S D D $ 4 . 0 0 e a c h

P r o g r a m m e r s G u i l d P r o d u c t s L t d . , 2 5 M a n u L i f e P l a c e , 1 0 1 8 0 - 1 0 1 S t . ,E d m o n t o n , A l b e r t a T 5 3 S P h o n e : ( 4 0 3 ) 4 2 8 - 6 2 2 9

Page 14: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 14/52

W h a t t l o o k f o i C o m p i l e rb D a v e P o w e l lI y o d o n ' t k n o w w h a t y o u ' r e l o o k i n g f o

h o w i l l y o k n o w w h e n y o u ' v e f o u n di t T h i s w a t h e q u e s t i o n t h a t o c c u r r e dt m l a t e o n n i g h t a f t e r y e a n o t h e rd i s a p p o i n t m e n t i m o n g o i n g s e a r c h f o t h e P e r f e c t P a s c a l . T h a t ' s w h e n d e c i de t w r i t e t h i s a r t i c l e . P o s s i b l y , w h e n i t ' sf i n i s h e d , I ' l l k n o w w h a t I ' m l o o k i n g f o r ,a n i s h o u l d h e l p y o o u t h e r e , e v e n i y o d i d n ' t k n o w y o u w e r e l o o k i n g !

H e r e ' s w h a t w a n t : g o o d d e v e l o pm e n t e n v i r o n m e n t ; a r e a s o n a b l y f u l l a n a c c u r a t e i m p l e m e n t a t i o n o t h o f f i c i a ll a n g u a g e ; s i m p l e a c c e s s t t h s t a n d a r dC - 6 4 f a c i l i t i e s , s u c h a c o l o u r , s p r i t e s ,s o u n d a n d f u l l - s c r e e n i n t e r a c t i o n ; f a s tr u n n i n g o b j e c t c o d e , w h i c h c a b r u o a n y C - 6 4 ( w i t h o u t t h e p r o t e c t e d d i s k ) ; t h a b i l i t y t r e a d a n w r i t e s t a n d a r d C - 6 4f i l e s f r o m P a s c a l P r o g r a m ; e n o u g h i f o r m a t i o n t a l l o w a d e v e l o p e r t o i n s e r tM r o u t i n e s i n e c e s s a r y ; a n t h a b i l i t yt c r e a t e l a r g e p r o g r a m s f r o m p r w r i t t e n s e g m e n t s p r e f e r a b l y w i t h o u th a v i n g t c o m p i l e t h e m a g a i n .

N o w , i t h a t m u c h t a s k ? A p p a r e n t l yi i s T w o f t h e c o m p i l e r s I ' v e s e e n d o n ' te v e n p a s s t h f i r s t h u r d l e . L e t ' s g i n t os o m e m o r e d e t a i l .

D e v e l o p m e n t e n v i r o n m e n tw a n t p r o d u c t t h a t w i l l g i v e m q u i c k

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

T h e d i t o r i c r i t i c a l . A i d e a l s o l u t i o nc o m b i n e s t h s t a n d a r d 6 b u i l t - i nf a c i l i t i e s w i t h e x t r a s l i k e r e n u m b e r , a u t on u m b e r a n d , p r e f e r a b l y , c o p y a n m o v ef u n c t i o n . ( T h e l a t t e r i p a r t i c u l a r l y u s e f u lw i t h P a s c a l , i w h i c h b e c a u s e t h c o p i l e r i n s i s t s t h a t e v e r y t h i n g b e d e f i n e db e f o r e i i u s e d o n f r e q u e n t l y h a t s h u f f l e p r o c e d u r e s a r o u n d a d e v e l o pm e n t p r o c e e d s . ) h e l p f u l f e a t u r e i a u t o m a t i c i n d e n t a t i o n t m a t c h t h p r e v i o u s l i n e .

I y o w i l l b a d d i n g m a n y M

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

t r a c e , v a r i a b l e d u m p , a n t a b l e o M a d d r e s s e s o e a c h p r o c e d u r e , a r v e r yh a n d y , b e c a u s e w i t h o u t t h i n t e r p r e t e r t m a k e i n s t a n t c h a n g e s , y o u ' l l w a n t t g e a m u c h i n f o r m a t i o n o u t o e a c h c o m p i l at i o n a y o c a n . ( T h e f a s t e r t h e c o m p i l e ,t h l e s s t h i s m a t t e r s , b u i t ' s s t i l l v e r y d i f e r e n t f r o m B A S I C . )

L a s t l y , i t ' s i m p o r t a n t t b a b l e t o g e l i s t i n g s o e v e r y t h i n g r e q u i r e d . L i t t l et h i n g s , l i k e b e i n g u n a b l e t p r i n t s q u a r eb r a c k e t s , c a b e v e r y f r u s t r a t i n g .F u l l i m p l e m e n t a t i o nT h i s r e q u i r e m e n t i f l e x i b l e : l o d e p e n d so h o w m u c h p r o g r a m p o r t a b i l i t y y o n e e d . N a t u r a l l y , i t h e r e i a p a r t i c u l a rl a n g u a g e f e a t u r e y o n e e d , t h c o m p i l e rs h o u l d s u p p o r t i t M o s t i m p l e m e n t a t i o n sw i l l h a v e w o r k a b l e s u b s e t .

I P a s c a l c o m p i l e r s , m o s t p r o g r a mm e r s w i l l l o o k f o e x t e n s i o n s t h a t w i l ls a v e t h e m w o r k . N o t a b l y , s t r i n g d e f i n it i o n a n m a n i p u l a t i o n i m i s s i n g f r o m t h s t a n d a r d . M a n y c o m p i l e r s i m p l e m e n ts o m e k i n d o f s t r i n g s u p p o r t a n d , d e p e nd i n g o h o g o o d i i s y o w i l l b m o r eo l e s s f r u s t r a t e d w h e n i c o m e s t w r i t i n g h o m e a p p l i c a t i o n s , r a t h e r t h a nt e x t b o o k e x a m p l e s .

C - 6 4 f e a t u r e sM a n y p r o g r a m s w r i t t e n i t h h o m e w i l lw a n t t u s C - 6 4 f e a t u r e s . W h a t u s i

c o l o u r m o n i t o r o T i i n e e d s a n M p r o g r a m t c h a n g e c o l o u r s ? N o e v e r y o n ew a n t s t p r o g r a m t h S I c h i p d o e st h c o m p i l e r h a v e b u i l t - i n f u n c t i o n s t h e l p ? H o i I / t a n d f r o m t h s c r e e nh a n d l e d ? D o e s t h c o m p i l e r a l l o w r e a d i n gt a n w r i t i n g f r o m s p e c i f i c s c r e e n l o c at i o n s ? I t h a n s w e r s a r n o i i s t i l lp o s s i b l e f o t h p r o g r a m m e r t p r o v i d et h e s e f a c i l i t i e s ? I s t h e r e a e q u i v a l e n t o p e e k a n d p o k e , a n d w i l l t h u s u a lo p e r a t i n g s y s t e m m e m o r y l o c a t i o n s s t i l lb v a l i d ? l i k e t s e e n o u g h e x t e n s i o n sw r i t t e n i n t o t h l a n g u a g e t h a n d l e t h m a j o r i t y o 6 4 - s p e c i f i c n e e d s .

I n d e p e n d e n t o b j e c t c o d eW h a t I ' m l o o k i n g f o h e r e i t h a b i l i t yt c o m p i l e a p r o g r a m a n p u t h o b j e c tc o d e o n e d i s k t h a t c a s e l l , g i v ea w a y o w h a t e v e r i t i s i n d e p e n d e n t o t h p r o d u c t d i s k . M o r e t h a n t h a t , t e n -

l i n e p r o g r a m s h o u l d n o t t a k e u t h i r t yb l o c k s o t h d i s k ! S o m e c o m p i l e r s c r e a t e

r u n - t i m e p a c k a g e t h a t t a k e s f o e v e r t r e l o a d . N a t u r a l l y , I ' l i k e t h e o b j e c t c o d et b e f f i c i e n t M L n o s e m i c o m p i l e dc o d e .

M / i n t e r f a c eF r o m t i m e t t i m e , o n m a n e e d t h s p e e d o p u r e M / L . T h c o m p i l e r s h o u l da l l o w J S i n t o r o u t i n e , a n t h d o c u m e n t a t i o n s h o u l d b s u f f i c i e n t t d e t e r m i n e w h e r e t p u i t S o m e c o mp i l e r s a l l o w a s s e m b l e r c o d e t b i n t e rm i x e d w i t h P a s c a l s o u r c e c o d e t h a t ' st h u l t i m a t e i c o n v e n i e n c e .

S u p p o s e y o u h a v e r o u t i n e t h a t w i l l b u s e f u l i s e v e r a l a p p l i c a t i o n s . I y o m e r g e t h s o u r c e i n t o e a c h a p p l i c a t i o n ,t h e n a n y i m p r o v e m e n t s i t h r o u t i n e w i l le i t h e r g e l e f t o u o f t h e l a t e r a p p l i c at i o n s , o w i l l b p a i n t u p d a t e . I c o m p i l e d l a n g u a g e , i t ' s s o m e t i m e s p o s s ib l t i n c l u d e t h e s o u r c e c o d e f o t h r o u t i n e a c o m p i l e t i m e , i w h i c h c a s e t h n e r o u t i n e w i l l g e t p i c k e d u w h e n t h a p p l i c a t i o n i r e c o m p i l e d . W i t h d y n a m i cl o a d t e c h n i q u e , o t h o t h e r h a n d , t h e e xe c u t a b l e c o d e f o t h r o u t i n e i b r o u g h ti a r u t i m e . T h i s r e s u l t s i e v e r y a p l i c a t i o n g e t t i n g t h s a m e v e r s i o n( a l t h o u g h i p r a c t i c e t h e r e m a s t i l l b d i f f e r e n t v e r s i o n s o d i f f e r e n t d i s k e t t e s ) .E a c h o t h e s e t e c h n i q u e s h a i t a d v a nt a g e s a n d d r a w b a c k s . g o o d c o m p i l e rw i l l a l l o w t h e d e v e l o p e r t u s t h e m a l o n eo i c o m b i n a t i o n .

N o w , i w a g o i n g t b s c i e n t i f i c ,w o u l d e v a l u a t e e a c h a t t r i b u t e t h a t w a l o o k i n g f o r , a c c o r d i w e i g h t i p r o p o rt i o n t i t i m p o r t a n c e t m e t h e n g r a d ee a c h c o m p i l e r o e a c h a t t r i b u t e . T h s u o t h p r o d u c t s o g r a d e a n d w e i g h i n g i t h s c o r e . T h e n w o u l d b u y t h c o m p i l e rw i t h t h h i g h e s t s c o r e . D i y o s e t h s n a g ? T h o n l y w a t g r a d e a c o m p i l e ri t u s i f o a c o u p l e o m o n t h s !

I n t h e P a s c a l r e v i e w s t h a t a c c o m p a n yt h i s a r t i c l e , I ' v e a t t e m p t e d t c o v e r s o m eo f t h e s e p o i n t s . c o u p l e o c o m p i l e r s h a s u c h a u n f r i e n d l y d e v e l o p m e n t e n v i r o nm e n t t h a t d i n o p e r s e v e r e i u s i n gt h e m . I t h o s e c a s e s , m u c h o t h r e v i e wi b a s e d o t h e c l a i m s o f t h e m a n u a l . T h i si n o n e c e s s a r i l y a a c c u r a t e r e f l e c t i o no t h e p r o d u c t . H a v e f o u n d t h r i g h to n f o m e N o n o y e t , b u s o m e h a v ec o m e c l o s e .

1 I s s u e 2

Page 15: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 15/52

L a n g u a g e a r t sb J i B u t t e r f i e l dC o p y r i g h t 1 9 8 6 J i B u t t e r f i e l d . P e m i s s i o n t r e p r i n t i h e r e b y g r a n t e d , p r v i d e d t h i s n o t i c e i i n c l u d e d i t h r e p r i n t e d m a t e r i a l .

l a n g u a g e i m o r e t h a n j u s t m e t h o do c o m m u n i c a t i n g i n f o r m a t i o n : i a l s o i v o l v e s t r a n s f o r m i n g t h e i n f o r m a t i o n i s o m e w a y . A S C I I i c o d e , n o tl a n g u a g e : i d o e s n ' t m o d i f y t h d a t a i a n y w a y . W h e n w e x p r e s s t h o u g h t i E n g l i s h , F r e n c h , o r C h i n e s e , w a d a p tt h a t t h o u g h t t t h ' m i n d s e t ' o f t h l a n g u a g e i n v o l v e d . T h i d e a o f t e n c o m e st h r o u g h s l i g h t l y m o d i f i e d b y t h l a n g u a g e : t r a n s l a t o r s o f t e n h a v e d i f i c u l t y c a r r y i n g a t h o u g h t f r o m o n l a n g u a g e t a n o t h e r .

T h e s a m e i t r u e o c o m p u t e rl a n g u a g e s . Y o u r c h o i c e o F o r t r a n ,B A S I C , C O B O L , L O G O , m a c h i n el a n g u g e , P a s c a l , C L i s p , M o d u l a 2 C O M -A L A P L , o S n o b o l ( t n a m e j u s t a f e w )w i l l i n f l u e n c e t h w a y o a p p r o a c h p r b l e m . A n m o s t l a n g u a g e s h a v e d i a l e c t s :f o e x a m p l e , t h e r e a r e m a n y B A S I C s t c h o o s e f r o m .

F r o m h u m a n s t a n d p o i n t , t h e r e a r et w g e n e r a l q u a l i t y l e v e l s o p e r s o n / p r oc e s s o r c o m m u n i c a t i o n s : p o o r a n l o u s y .

s i m p l e q u e s t i o n s u c h a s ' G o t t h e t i m e ? 'm i g h t p r o d u c e :? s y n t a x e r r o rP o o r c o m m u n i c a t i o n b o t h w a y s . O y o m i g h t g e t :c o m m a n d ' g o t ' n o i v o c a b u l a r yB e t t e r , b u n o m u c h .f i l e ' t h e t i m e ' n o f o u n dA l e a s t i t ' s t r y i n g .t h t i m e a n o o n t o d a y w a 1 2 : 0 0T h i s i s n ' t t o u s e f u l .e x p l a i n ' g o t 'T h i s i g o i n g t t a k e w h i l e .

W h a v e t r e s h a p e o u t h i n k i n g t c o m m u n i c a t e w i t h c o m p u t e r . T h m a n e i w h i c h y o t y p e c o m m a n d s i l a n g u a g e , a n s a r t h r e s p o n s e s y o r e c e i v e ( o d d l y e n o u g h , t h e s e i n p u t a n o u t p u t l a n g u a g e s a r d i f f e r e n t ) .

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

a n s o m e W P ' s h a v e b e t t e r l a n g u a g e st h a n o t h e r s . S p r e a d s h e e t p r o g r a m s , t o o ,h a v e t h e i r o w l a n g u a g e s . Y o n e e d t b e c o m e p r o f i c i e n t i t h u s o t h e s el a n g u a g e s i o r d e r t u s t h p r o g r a m se f f i c i e n t l y .I n t e r p r e t e r s a n c o m p i l e r sT h ' f o r m a l ' c o m p u t e r l a n g u a g e s - F o t r a n , B A S I C , a n s o a r e g e n e r a l l yg r o u p e d i n t o t w t y p e s : c o m p i l e d a n i t e r p r e t e d . F o t h o s e u n f a m i l i a r w i t h t h et e r m s : c o m p i l e d l a n g u a g e ( s u c h a F o t r a n ) m u s t b c o m p l e t e l y w r i t t e n a n t h e n t r a n s l a t e d ( ' c o m p i l e d ' ) b e f o r e i c a s t a r t t r u n ; w h e r e a s a i n t e r p r e t e dl a n g u a g e i t r a n s l a t e d a i r u n s . C o m p i le p r o g r a m s r u f a s t e r ; i n t e r p r e t e d p r g r a m s s t a r t q u i c k e r . I c o m p i l e d p r g r a m n e e d s a c h a n g e , i m u s t b r c o m p i l e d l e n g t h y p r o c e s s ; a i n t e rp r e t e d p r o g r a m c a b f i x e d a n r e s t a r t e d i f e m o m e n t s .

E a r l y c o m p u t e r s w e r e e x p e n s i v e a n c o u l d d o n l y o n t a s k a t i m e . A l p r g r a m s w e r e c o m p i l e d f o f a s t r u t i m e .F o r t r a n a n C O B O L d o m i n a t e d t h e h i g h -l e v e l l a n g u a g e w o r l d .

I t h m i d - 1 9 6 0 s , c o m p u t e r s w e r e s t i l le x p e n s i v e , b u m u l t i t a s k i n g b e c a m e p r a ct i c a l . O n s l o w j o w o u l d n ' t h a n g u t h w h o l e c o m p u t e r . A a r r a y o ' c o m p u t e rp o r t s ' a l l o w e d m a n y u s e r s t b c o n e c t e d . s i n g l e ' i n t e r p r e t e r ' p r o g r a mc o u l d r u m a n y u s e r s ' j o b s a v i r t u a l l y t h s a m e t i m e . T h ' t i m e - s h a r i n g ' c o m p u t e rc o n c e p t s t a r t e d i t h f i e l d o e d u c a t i o na n s p r e a d t c o m p u t e r s e r v i c e c o p a n i e s . T h f i r s t t w i n t e r p r e t e dl a n g u a g e s w e r e J O S S ( l a t e r a d a p t e d t F O C A L , a n n o a l m o s t f o r g o t t e n ) a n B A S I C .

T h B A S I C l a n g u a g e s w s e t o d a y a r g r e a t l y c h a n g e d f r o m t h o r i g i n a lB A S I C , b u t h s t y l e i s t i l l r e c o g n i z a b l e .G o o d o l d , s l o p p y o l B A S I C . . . i t ' s s u n i v e r s a l i s m a l l c o m p u t e r s t h a t i s e e m su n l i k e l y t h a t i w i l l e v e r b e s u p e r s e d e d .T h e r e ' s b o t h j o a n p a i n i ' s p a g h e t t ic o d e ' , a n B A S I C l e t s y o w r i t e a n w a y o w a n t .

W i t h t h a d v e n t o p e r s o n a l c o m p u t e r si t h l a t e 1 9 7 0 s , i n t e r p r e t e d l a n g u a g e s

B A S I C e s p e c i a l l y b e c a m e t h s t a nd a r d . I n t e r p r e t e r s t o o k u l e s s s p a c e i t h e s e s m a l l c o m p u t e r s ( t h e r e w a e v e n2 t i n y B A S I C ! ) , a n t h e y w e r e m o r ef r i e n d l y t o b e g i n n e r s w h w e r e j u s t

d i s c o v e r i n g c o m p u t e r s . T h i n t e r p r e t e rc o u l d b p l a c e d i R O M — r e a d o n l ym e m o r y , a n o t h e r t e c h n o l o g i c a l i n n o v at i o n s t h a t t h e l a n g u a g e w o u l d b i p l a c e t h m o m e n t t h c o m p u t e r w a t u r ne o n

N o w e ' r e g o i n g t h r o u g h a p e r i o d o r e f l e c t i o n a n c o n s o l i d a t i o n . T h e r e a r n o c o m p i l e r s f o l a n g u a g e s s u c h a B A S I C , w h i c h w e r e d e s i g n e d t b i n t e r p r e t e d . T h e s e c a b o n l y p a r t i a l l ys u c c e s s f u l . F o r e x a m p l e , t h d e s i g n o B A S I C l e a d s t c l u m s y h a n d l i n g o s o m ev a r i a b l e s e s p e c i a l l y s m a l l i n t e g e r sa n a c o m p i l e r m u s t p r e s e r v e t h i sa w k w a r d l o g i c o r i s k b e i n g' i n c o m p a t i b l e ' .O a n o t h e r f r o n t , ' d u a l ' l a n g u a g e s h a v eb e e n d e s i g n e d , s u c h a s P a s c a l , w h i c h a r c a p a b l e o b e i n g e i t h e r i n t e r p r e t e d o c o m p i l e d . E v e n s o i p r a c t i c e i s e e m st h a t c o m m e r c i a l p a c k a g e s s e l d o m d b o t hj o b s w e l l . . . t h e y a l w a y s c a t e g o r i z et h e m s e l v e s i n t o o n c a m p o r t h e o t h e r .

c a r e c a l l a s k i n g o n o t h C O M A Lp r i n c i p a l s w h t h e y h a n c o m p i l e r f o t h e i r l a n g u a g e . H e m p h a s i z e d t h a tC O M A L w a d e s i g n e d a a i n t e r p r e t e dl a n g u a g e , a n t h a t s p e c i f i c l a n g u a g e d e c is i o n s h a b e e n t a k e n w i t h t h i s i m i n d .H w a c o r r e c t . . . b u s t i l l p i n e f o t h b e s t o b o t h w o r l d s .

W h i c h , w h e n a n w h t h i n k t h a t m o s t p e o p l e w i l l c h o o s e

l a n g u a g e b a s e d u p o n t h k i n d o p r g r a m s t h e y w a n t t o w r i t e . F o p a y r o l l sa n b i l l i n g s t a t e m e n t s , l a n g u a g e l i k eC O B O L i w o n d e r f u l . F o a d v a n c e de n g i n e e r i n g , F o r t r a n h a m a j o r a d v a nt a g e s ; a r t i f i c a l i n t e l l i g e n c e L i s p o P r l o g ; t e x t e d i t i n g S n o b o l ;m a t h e m a t i c a l l y - o r i e n t e d m a t e r i a lA P L . T h l i s t g o e s o n a n d i f f e r e n t p r g r a m m e r s w i l l h a v e t h e i r o w f a v o u r i t e s .S o m e l a n g u a g e s s e e m t b i t h e y o

s t o r m : f o e x a m p l e , i a o b j e c t o fb o t h l o v e a n h a t r e d .

B u m o s t o u c a n ' t g o u a n l e a r nn e l a n g u a g e e v e r y t i m e w h a v e n e

p r o g r a m t w r i t e . W m u s t d e v e l o p s k i l l sw i t h f e s e l e c t e d o n e s . A n i m o s tc a s e s , t h m o s t p r e v a l e n t l a n g u a g e w i l lt u r n o u t b e . . . B A S I C .

T h i s l e a d s t t h n e x t q u e s t i o n : w h i c hB A S I C ? B u t h a t ' s q u e s t i o n f o a n o t h e rt i m e . .

T P U G M a g a z i n e 1

Page 16: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 16/52

T h L a n g u a g eb A j a y J i n d a lF i r s t , l i t t l e b i o h i s t o r y . i m e m b e ro t h ' A l g o l f a m i l y ' o f a l g e b r a i cl a n g u a g e s . I h a m o r e s i m i l a r i t i e s t P L / 1 , P a s c a l a n A d t h a n t B A S I C ,F o r t r a n o L i s p . w a f i r s t i m p l e m e n t e do D E P D P - 1 1 b y D e n n i s R i t c h i e a tB e l l L a b o r a t o r i e s i 1 9 7 2 . A a b o u t t h s a m e t i m e , t h U n i x o p e r a t i n g s y s t e mw a b e i n g d e v e l o p e d . T h t w w e r e , i

s e n s e , m e r g e d . U n i x w a r e w r i t t e n i C a n d a c o m p i l e r w a p a r t o f t h eU n i x s y s t e m . C ' a n c e s t r y i n c l u d e s A l g o l6 ( I 9 6 0 ) , C a m b r i d g e ' s C P ( 1 9 6 3 ) ,M a r t i n R i c h a r d s ' B C P L ( 1 9 6 7 ) a n K e T h o m p s o n ' s ( 1 9 7 0 ) , w h i c h w a a l s ow r i t t e n a B e l l L a b s . i n o t a d i a l e c t o t h e s e l a n g u a g e s , b u i i d e s c e n d a n t o t h e m .

i c o m p i l e d l a n g u a g e . Y o w r i t es o u r c e c o d e u s i n g a e d i t o r , t r a n s l a t e t h s o u r c e c o d e i n t o m a c h i n e c o d e w i t h t h c o m p i l e r , b e f o r e e x e c u t i n g t h m a c h i n ec o d e . B e c a u s e s y n t a x w a d e s i g n e d f o e a s y c o n v e r s i o n o p r o g r a m s t a t e m e n t si n t o m a c h i n e l a n g u a g e , t h i s p r o c e s sm a k e s f o f a s t , e f f i c i e n t p r o g r a m s . I s e n s e , t h e n , C i v e r y c l o s e t o M L D o n ' tg e t h i m p r e s s i o n t h a t y o h a v e t m e m o r i z e l o o o p - c o d e s a n m e m o r yl o c a t i o n s , t h o u g h h a v a r i a b l e s ,l o o p s , f u n c t i o n s , a r r a y s , a n m o s t o t h f a m i l i a r h i g h - l e v e l s t a t e m e n t t y p e s y o p r o b a b l y k n o w a l r e a d y f r o m o t h e rl a n g u a g e s .

T h e r e a r u s u a l l y t w w a y s o w r i t i n gc o d e i C h i g h - l e v e l a n l o w - l e v e ls t y l e . I f y o a r j u s t s t a r t i n g o u t , y o w o u l d p r o b a b l y u s t h h i g h - l e v e l s t y l e ,b e c a u s e i i e a s i e r t o u n d e r s t a n d a n s i m i l a r t o o t h e r l a n g u a g e s . H o w e v e r ,c o m p i l i n g t h i s t y p e o c o d e i s o m e w h a tl e s s e f f i c i e n t . U s i n g t h l o w - l e v e l c o d i n gs t y l e r e q u i r e s y o t u n d e r s t a n d t h l a n g u a g e v e r y w e l l , a s w e l l a s t h c o p i l i n g m e t h o d a n t h c o n c e p t s o M L S u c h c o d e h a a a l m o s t o n t o n c o r e s p o n d e n c e t M a n i v e r y e f f i c i e n t .F o e x a m p l e , t i n c r e m e n t a v a r i a b l ec o u n t b y o n e , o n c o u l d e i t h e r w r i t ec o u n t c o u n t o + c o u n t . M o s tm a c h i n e l a n g u a g e s h a v e a n i n c r e m e n to p e r a t o r i t h e i r i n s t r u c t i o n s e t , s o f o rt h s e c o n d v e r s i o n t h e c o m p i l e r s i m p l yg e n e r a t e s a i n c r e m e n t i n s t r u c t i o n . A p r o g r a m m e r s g a i n s e x p e r i e n c e w i t h C t h e y c a w r i t e t h e i r c o d e s o t h a t i l e n d si t s e l f m o r e a n m o r e t t h c o m p i l a t i o n

p r o c e s s . T h i s p e r m i t s g r a d u a l t r a n s i t i o nf r o m a h i g h - l e v e l t o l o w - l e v e l l a n g u a g ew i t h o u t h a v i n g t o l e a r n a b o u t t h i n g s l i k er e g i s t e r s , s t a c k s , p r o g r a m c o u n t e r s a n r e l a t i v e b r a n c h e s . I f o t h o t h e r h a n d ,y o w o u l d l i k e t u s t h h i g h - l e v e l s t y l et m a k e y o u r p r o g r a m m o r e u n d e r s t a n da b l e , l e t s y o d j u s t t h a t .

i e a s y t o l e a r n . O n c a l e a r n m o s to t h e b a s i c f e a t u r e s o t h l a n g u a g e v e r yq u i c k l y , a n s t a r t p r o g r a m m i n g r i g h ta w a y . O n c e y o u f e e l c o m f o r t a b l e w i t h C ,y o c a s t a r t d e l v i n g i n t o m o r e a d v a n c e df e a t u r e s . i a v e r y s m a l l a n c o m p a c tl a n g u a g e , w i t h r e l a t i v e l y f e k e y w o r d s( a b o u t 2 9 ; s o m e v e r s i o n s h a v e m o r e ) . I a l s o p o s s e s s e s p a r t i c u l a r l y r i c h s e o o p e r a t o r s b u t , a g a i n , b e g i n n e r s c a g e b w i t h o n l y f a m i l i a r s u b s e t o f t h e s e .A m o n g t h s t a t e m e n t t y p e s o f f e r e d b a r e l o o p i n g s t r u c t u r e s l i k e w h i l e , f o a n d o , d e c l a r a t i o n s f o r i n t e g e r , f l o a t i n gp o i n t a n c h a r a c t e r d a t a t y p e s , a n d e c is i o n m a k i n g s t r u c t u r e s l i k e i f

P r o m i n e n t l y a b s e n t f r o m t h i s l i s t , a y o m a h a v e n o t i c e d , a r s t a t e m e n t s t h a n d l e i n p u t a n o u t p u t . S t r a n g e l ye n o u g h , i y o a r a c c u s t o m e d t o t h e rl a n g u a g e s , d o e s n ' t h a v e a n y ! H o w e v e r ,

s t a n d a r d p a r t o e v e r y s y s t e m i l i b r a r y o f f u n c t i o n s t p e r f o r m I / a n o t h e r t a s k s f o w h i c h t h l a n g u a g e i t s e l fd o e s n o t p r o v i d e . T h e s e f u n c t i o n s a r c u s t o m i z e d f o t h h a r d w a r e t h a t t h ec o m p i l e r i r u n n i n g o n s o t h a t t h e c o p i l e r d o e s n ' t h a v e t w o r r y a b o u t i t T h i sf e a t u r e a i d s i t h r e l a t i v e l y s i m p l e p o r ti n o c o d e t o d i f f e r e n t c o m p i l e r s r u n i n g o v a r i o u s t y p e s o f m a c h i n e s .

B e c a u s e t h l a n g u a g e i s m a l l , i d o e s n ' t t a k e m u c h t i m e t l e a r n a l t h k e y w o r d s , b u t w i e l d t h e p o w e r o t h e mf u l l y t a k e s a l o o p r a c t i c e . T h i s i e s p e c i a l l y t r u e f o B A S I C p r o g r a m m e r s ,b e c a u s e s m a n y n e c o n c e p t s a r i n t r od u c e d t h a t d o n ' t h a v e B A S I C e q u i v a le n t . I n s o m e r e s p e c t s , y o h a v e t f o r g e ta b o u t B A S I C a n s t a r t o v e r a g a i n .

i p o r t a b l e l a n g u a g e . t y p i c a lp r o g r a m h a n d i r e c t r e f e r e n c e s t h a r dw a r e r e g i s t e r s , s o i t h e o r y g i v e ns o u r c e p r o g r a m c o u l d b e c o m p i l e d a n d e xe c u t e d o a n y c o m p u t e r f o w h i c hc o m p i l e r h a b e e n w r i t t e n . M o s t C c o mp i l e r s a r d e r i v e d f r o m P o r t a b l e C o p i l e r ( P C C ) w r i t t e n a B e l l L a b s . B e c a u s eo t h i s , t h e y a l c o m p i l e i d e n t i c a l s o u r c e

c o d e i n t o r o u g h l y i d e n t i c a l m a c h i n e c o d e .A l t h o u g h h a r d w a r e i n c o m p a t i b i l i t i e sm e a n t h a t p r o g r a m s i g e n e r a l a r s o m e t h i n g l e s s t h a n t o t a l l y t r a n s p o r t a b l e ,m o r e t h a n 9 5 o s o u r c e c o d e c a n b c o m p i l e d o o t h e r c o m p u t e r s w i t h o u tm o d i f i c a t i o n . A n s p e c i a l f a c i l i t y c a l l e dt h p r e p r o c e s s o r d o e s p r o v i d e a r a t i o n a lw a t t r e a t h a r d w a r e - d e p e n d e n t i t e m sl i k e s c r e e n m e m o r y . T h e p r e p r o c e s s o r i r e s p o n s i b l e f o s c a n n i n g t h s o u r c e c o d eb e f o r e c o m p i l a t i o n , a n e x e c u t i n g c e r t a i ns p e c i a l i n s t r u c t i o n s m a c r o d e f i n i t i o n s ,c o n d i t i o n a l c o m p i l a t i o n , i n c l u s i o n o f o t h e rs o u r c e f i l e s a n c o n s t a n t d e f i n i t i o n s .H a r d w a r e - d e p e n d e n t c o n s t a n t s d e f i n e di p r e p r o c e s s o r i n s t r u c t i o n s c a n b ea l t e r e d e a s i l y w h e n t h t i m e c o m e s t p o r t t h p r o g r a m , w i t h o u t a f f e c t i n g t h es o u r c e c o d e i t s e l f .

T h e r e i n ' o f f i c i a l ' s t a n d a r d f o C b u m o s t i m p l e m e n t a t i o n s f o l l o w t h e s t a nd a r d s e i t h b o o k T h e P r o g r a m m i n gL a n g u a g e b B r i a n K e r n i g h a n a n D e n n i s R i t c h i e . I n 1 9 8 2 , t h e A m e r i c a nN 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 )f o r m e d t e c h n i c a l c o m m i t t e e t f o m u l a t e a s t a n d a r d f o C i t l i b r a r yr o u t i n e s a n e x e c u t i o n e n v i r o n m e n t .T h e s e s t a n d a r d s a r e n ' e x p e c t e d t d e v i a t e m u c h f r o m t h ' u n o f f i c i a l ' s t a nd a r d a l r e a d y i p l a c e .

h a s o m e u n i q u e f e a t u r e s . I h a s as t r i c t s y n t a x b u n c o n f i n i n g r u l e s . Y o c a d o a n y t h i n g y o u w a n t a s l o n g y o d o n ' t b r e a k a n s y n t a x r u l e s . F o i s t a n c e , i y o d e c l a r e a a r r a y o 5 e l e m e n t s a n t r y t o r e f e r e n c e t h e 6 0 t he l e m e n t i y o u r p r o g r a m , w o n ' t s t a n di y o u r w a t h e c o m p i l e r w i l l n o r e g a r d t h i s a a e r r o r . O c o u r s e , t h ep r o g r a m w i l l g i v e u n p r e d i c t a b l e r e s u l t s .T h i s p u t s a e x t r a b u r d e n o n t h b e g i nn e r , b u s e a s o n e d p r o g r a m m e r m a f i n dw a t t a k e a d v a n t a g e o C ' r e l a x e da t t i t u d e . A n o t h e r d i s t i n c t i v e f e a t u r e i t h u s o p o i n t e r s . M p r o g r a m m e r s a r a l r e a d y f a m i l i a r w i t h p o i n t e r s , w h i c h p r v i d e w a o r e f e r e n c i n g a v a r i a b l ew i t h o u t n a m i n g i e x p l i c i t l y . A r r a y sb e l o n g t t h h i g h - l e v e l s t y l e o p r o g r a mm i n g , w h i l e p o i n t e r s a r l o w - l e v e l . A t u a l l y a r r a y s i a r c h a n g e d t p o i n t e r s d u r i n g c o m p i l a t i o n . P o i n t e r s a r ef a s t e r t h a n a r r a y s a n a r v e r y i m p o r t a n tf o c r e a t i n g d a t a - s t r u c t u r e s s u c h a l i n ke l i s t s a n t r e e s .

I n C , e v e r y p r o g r a m m o d u l e i f u n c -

1 I s s u e 2

Page 17: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 17/52

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

d i s t i n c t i o n b e t w e e n f u n c t i o n a n s u b r o u t i n e o p r o c e d u r e s u b r o u t i n ei s i m p l y f u n c t i o n t h a t d o e s n ' t r e t u r n

v a l u e . F u n c t i o n s m a r e c e i v ea r g u m e n t s , b u c a o n l y r e t u r n s i n g l ev a l u e . T h p r i n t ' c o m m a n d ' i i r e a l l ya p r e w r i t t e n f u n c t i o n i t h s t a n d a r dl i b r a r y .

I c o m m o n w i t h o t h e r s t r u c t u r e dl a n g u a g e s , a l l o w s b o t h l o c a l a n g l o b a lv a r i a b l e s . T h p r o g r a m m e r h a s g r e a tf r e e d o m i d e c l a r i n g w h e r e i p r o g r a m

p a r t i c u l a r v a r i a b l e w i l l b v a l i d t h ' s c o p e ' o f t h e v a r i a b l e . S o m e t i m e s , t h s c o p e w i l l b o n l y f e l i n e s ; m o s t o f t e ni w i l l b a i n d i v i d u a l f u n c t i o n . V a r i a b l e so f l a r g e r s c o p e m a b s h a r e d b a l t h f u n c t i o n s w i t h i n a s o u r c e f i l e , o b a l t h f u n c t i o n s i p r o g r a m c o n s i s t i n g o s e v e r a l f i l e s . T h c a p a b i l i t y o d e c l a r i n gv a r i a b l e s o n a r r o w s c o p e e n c o u r a g e s t h w r i t i n g o m o d u l a r p r o g r a m s , f o y o c a g u a r d s e c u r e l y a g a i n s t v a r i a b l e - n a m ec o n f l i c t s i n w a t h a t B A S I C d o e s n o p e r m i t .

h a o n l y t h r e e f u n d a m e n t a l d a t at y p e s : i n t e g e r , f l o a t i n g p o i n t a n c h a r a c t e r . A l o t h e r t y p e s m u s t b d e r i v e d f r o m t h e s e t h r e e : s t r i n g , f o e a m p l e , i a a r r a y o f c h a r a c t e r s . R e c o r d sc o n t a i n i n g d i f f e r e n t f i e l d s o f d i f f e r e n td a t a t y p e s c a b c o n s t r u c t e d . T h c o p l e x i t y o a v a i l a b l e d a t a s t r u c t u r e s i v i t u a l l y u n l i m i t e d . I n k e e p i n g w i t h t h M t r a d i t i o n , b i m a n i p u l a t i o n o p e r a t o r s a r a l s o a v a i l a b l e .

A n o t h e r u n u s u a l f e a t u r e o i t h a ts t a t e m e n t s c a l e g i t i m a t e l y i n c l u d e o t h e rs t a t e m e n t s i p l a c e s w h e r e m o s tl a n g u a g e s w o u l d i n s i s t o a e x p r e s s i o n .A c t u a l l y , i w o u l d b m o r e a c c u r a t e t s a t h a t m a n y t y p e s o e x p r e s s i o n s a r a l s oc o m p l e t e s t a t e m e n t s . H e r e ' s a e x a m p l e :

p r i n t f f " \ n % % o " , cg e t c h a r ( ) ,

T h i s i s i n g l e s t a t e m e n t ( a l l s t a t e m e n t se n w i t h s e m i c o l o n ) . B u i a l s o c o n t a i n st w e x p r e s s i o n s ( g e t c h a r ( ) a n + c t h a t c o u l d b u s e d a c o m p l e t e

s t a t e m e n t s i t h e m s e l v e s . I m o s t

l a n g u a g e s , a t l e a s t t h r e e s t a t e m e n t sw o u l d b e r e q u i r e d t t a k e t h e p l a c e o f t h i so n e .

i g e n e r a l - p u r p o s e l a n g u a g e . I h a b e e n u s e d t w r i t e o p e r a t i n g s y s t e m s ,g r a p h i c s p r o g r a m s , g a m e s , w o r d p r c e s s o r s , d a t a b a s e m a n a g e r s , b u s i n e s sp r o g r a m a n m a n y o t h e r t h i n g s . I t p o p u l a r i t y c o m e s f r o m t h f a c t t h a t i m a k e s b o t h p r o g r a m s a n p r o g r a m m e r sm o r e e f f i c i e n t . I t s e x e c u t i o n s p e e d c a na p p r o a c h t h a t o h a n d - c o d e d m a c h i n el a n g u a g e b u t , t h a n k s t i t p o r t a b i l i t y ,p r o g r a m m e r s d o n ' t h a v e t l e a r n n e i n s t r u c t i o n s e e a c h t i m e a n e m i c r op r o c e s s o r c o m e s o u t . T h s p e e d d i f e r e n c e b e t w e e n c o m p i l e d a n h u m a ng e n e r a t e d M i n e g l i g i b l e i a l b u t h m o s t d e m a n d i n g c a s e s .

I m p l e m e n t a t i o n s o a r e a l r e a d y a v a i la b l e f o t h C o m m o d o r e 6 4 t h A m i g aa n n e a r l y e v e r y o t h e r c o m p u t e r . I y o a r e s e r i o u s l y i n t e r e s t e d i w r i t i n g f a s t ,p o r t a b l e a n e a s i l y m a i n t a i n e d p r o g r a m so n y o u r m a c h i n e , y o s h o u l d b s e r i o u sl i n t e r e s t e d i C

O S / 9 S o f t w a r eN O A V A I L A B L E !

W o r d P r o c e s s o rS t y l o g r a p h I I

M a i l m e r g e , S p e l l c h e c k e r . M e n u d r i v e n ,f a s t . E x t e n s i v e f e a t u r e s . F o r m a t s t s c r e e na y o w o r k U $ 1 4 9 C d $ 2 1 0

C o m p i l e rf u l l i m p l e m e n t a t i o n o K s t a n d a r d C

w i t h d o u b l e p r e c i s i o n v a r i a b l e s .U $ 1 3 8 C d $ 1 7 0

B A S I C 0 9f u l l y s t r u c t u r e d , s o p h i s t i c a t e d s e m i

c o m p i l e d ( c o d e ) B A S I C . S e B y t em a g a z i n e A p r i l 1 9 8 4 . U $ 1 1 0 C d $ 1 5 5

F O R T R A N 7 F u l l F O R T R A N c o m p i l e r . . . c o m i n g s o o n .

U $ 1 2 0 C d $ 1 6 6D y n a S t a r , D y n a F o r m ,

D y n a S p e l lf u l l s c r e e n ( s i m i l a r t o m i c r o E D I T ) e d i t o r ,

t e x t f o r m a t t e r a n s p e l l c h e c k e r .U $ 9 C d $ 1 2 7

O t h e r : P a s c a l , D y n a C a l c , D a t a b a s e e t c . , a v a i l a b l e o d e m a n d .T O r d e r : S e n d c h e q u e o m o n e y o r d e r ( a d d $ 1 f o s h i p p i n g / h a n d l i n g a n 7 % P S T w h e r e a p p l i c a b l e ) t o

T P U G ,1 0 D u n c a n M i l l R d . , S u i t e G - 7 ,D o M i l l s , O n t a r i o . C a n a d a M 3 1 2

Page 18: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 18/52

A m i g a B A S I Cb D i c k B a r n e sC o p y r i g h t 1 9 8 6 I S P U GT h S u p e r P E T G a z e t t e , w h i c h D i c kB a r n e s e d i t s , i t h o f f i c i a l n e w s l e t t e r o ft h I n t e r n a t i o n a l S u p e r P E T U s e r sG r o u p , a n i a e x c e l l e n t s o u r c e o f i n

f o r m a t i o n o t h S u p e r P E T a n m u c he l s e b e s i d e s .T h b u g g y A B a s i C f o t h A m i g a h a b e e n r e p l a c e d b n e w A m i g a B A S I Cf r o m M i c r o s o f t . C o m m o d o r e b e g a nd i s t r i b u t i n g t h i s n e d i a l e c t w i t h V l . l o A m i g a ' s o p e r a t i n g s o f t w a r e . w a c o s i d e r a b l y s u r p r i s e d t o f i n d t h a t M i c r o s o f th a n o t o n l y e n t e r e d t h e 2 0 t h c e n t u r yw i t h m a n y s t r u c t u r e d f e a t u r e s , b u t h a sa l s o m a i n t a i n e d c o m p a t i b i l i t y w i t h o l d e rv e r s i o n s o t h l a n g u a g e n m e a n f e a t .

f l a v o u r o t h l a n g u a g eA l a s t y o m a i n d e n t c o d e .W h i l e . . . w e n d i b u i l t i n t o t h l a n g u a g e .Y o m a c o n s t r u c t a n s t r u c t u r e w a n t e d .L a b e l s a r e a l l o w e d a n m u s t b f o l l o we d w i t h a c o l o n . L i n e n u m b e r s a r o t i o n a l ( s o i f r e e s p e e c h i t h U S S R , a n o t h s a m e t e r m s , a w l a t e r s e e ) . T h l a n g u a g e c o n v e r t s a l k e y w o r d s t c a p i t a l s , w h e t h e r y o l i k e i o n o t .V a r i a b l e n a m e s m a b u t 4 c h a r a c t e r s l o n g . I f . . . e l s e i f . . . e l s e e n i i n o a l l o w e d , i t h f o r m s h o w n , w i t hn l i m i t o t h n u m b e r o e l s e i f s . T h t h e n s t a t e m e n t i r e q u i r e d ; e l s e i o p t i o n a l .

T h e r e i p r i c e f o r u p w a r d c o m p a t i b i l it y V a r i a b l e n a m e s a r e n ' t s e n s i t i v e t oc a s e : a l p h a , A l p h a a n A L P H A a r e t h es a m e . Y o u m a y u s e p e r i o d s i v a r i a b l en a m e s : f i l e n a m e f a i l s ; f i l e . n a m e i o k a y .T h e r e a r n m o d e r n m a s t a t e m e n t s ; a l w o r k o a r r a y s m u s t s t i l l b d o n e i l o o p s .

F o c o m p a t i b i l i t y , M i c r o s o f t h a u l e d i t a r c h a i c a n d c l u m s y m e t h o d o h a n d l i n gR E f i l e s i n t o A m i g a . Y o h a v e b u s h e lo s e p a r a t e i n t r i n s i c c o m m a n d s s p e c i f i ct r a n d o m - a c c e s s f i l e s , o w h i c h o n l y t w ( r e c o r d l e n g t h a n r e c o r d n u m b e r ) a r n e c e s s a r y f o s u c h w o r k i w e l l -d e s i g n e d l a n g u a g e . L i n e i n p u t , h o w e v e r ,d i s e e t h e l i g h t o f d a y , a l t h o u g h t h s i m p l e r H n p u t w a s l o s t a l o n g t h w a y .

A m i g a B A S I C h a t w t y p e s o s u b r o u t i n e s , o n o w h i c h i ' s u bp r o g r a m w i t h l o c a l v a r i a b l e s a n p a r a m e t e r - p a s s i n g . O r d i n a r y s u b r o u t i n e sm a b e e n t e r e d w i t h g o s u b t e i t h e rl a b e l o l i n e n u m b e r . S u b p r o g r a m s m a

b c a l l e d , a s h o w n b e l o w . Y o h a v e t w o p t i o n s : i t h f i r s t , y o p a s s a r g u m e n t sb r e f e r e n c e . T h i s c h a n g e s t h e v a l u e s o a b a n i t h m a i n p r o g r a m b w h a ti d o n e t x a n z C A L L 3 e n d s c r e e n ( A , H , C ) ' e r e

a t A , B , C v a l u e sB U s e n d a c r e e n C x , y , z ) S T A T I

i < c o n d i t i o n > T H K N E X I T ' a n i p u l a t e x , y , z

. s t a t e m e n t sE N D S U BI t h s e c o n d o p t i o n , y o m a e n c l o s e t h a r g u m e n t s i p a r e n t h e s e s , a i n

C A L L s e n d 9 c r e e n ( [ A ) , { B ) , ( C )T h v a l u e s o f a a n c i t h m a i n p r g r a m r e m a i n u n a f f e c t e d . I n s h o r t , y o h a v e f u l l c o n t r o l o v e r w h e t h e r a s u bp r o g r a m ' s v a r i a b l e s a r l o c a l o g l o b a l .I a d d i t i o n , y o m a d e f i n e a n v a r i a b l ei s u b p r o g r a m a s s h a r e d v a r i a b l e ,w h i c h m a b u s e d i a n o t h e rs u b r o u t i n e o r i m a i n p r o g r a m , a n dw h i c h p a s s e s i t v a l u e t h e r e . S f a r , s g o o d .

U n f o r t u n a t e l y , r e c u r s i v e s u b p r o g r a m sa r e n ' t a l l o w e d . D y o s e e t h e s t a t i c t h a tf o l l o w s t h s u b p r o g r a m n a m e a b o v e ? I t ' sr e q u i r e d . N o b o d y i n h i s r i g h t m i n dd e m a n d s t h a t s u b p r o g r a m s b e d e s i g n a t e ds t a t i c i t h a t ' s t h o n l y f l a v o u r y o c a d e f i n e . A n i t i s ! S t a t i c ( l i k e o t h e rf e a t u r e s o t h i s B A S I C ) i d e r i v e d f r o mC S t a t i c v a r i a b l e s r e t a i n t h e i r v a l u e i

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

n o r e t a i n t h e i r v a l u e b e t w e e n c a l l s , i n o f o u n d i A m i g a B A S I C , b u t h p r e s e n c eo s t a t i c i n d i c a t e s t h a t M i c r o s o f t p l a n s t u s i i l a t e r v e r s i o n s . E i t h e r t h a t o a u t o v a r i a b l e s w e r e t a k e n o u t a t h l a s tm i n u t e . A n w a y , b e c a u s e a l s u b r o u t i n e sa r s t a t i c a n a l v a r i a b l e s r e t a i n t h e i rv a l u e s , r e c u r s i o n b e c o m e s d e a d l y ; t h m a n u a l w a r n s u s e r s n o t t r y . T o b a d .

T h m a n u a l c o m e s w i t h a e r r a t a s h e e tt h a t a s k s y o t r e m o v e s e v e r a lr e f e r e n c e s t r e s e t ( w h i c h c l o s e s a l o p e nf i l e s ) . I s e e m s t h e y p l a n n e d t h a v e i a n j e r k e d i o u a t h l a s t m o m e n t a l o n gw i t h t h a u t o v a r i a b l e s . W e ' l l l a t e r s e w h y .L i n e n u m b e r s v s l a b e l sY o a r i n d e e d f r e e t o u s l i n e n u m b e r s ,

w h i c h p r e f e r f o r e f e r e n c e w h e n l i s to e d i t . B u t h e r e i u t t e r l y n w a i A m i g a B A S I C t g e n e r a t e t h o s e l i n en u m b e r s a u t o m a t i c a l l y , o r t r e n u m b e rt h e m t h e r e a f t e r . T h l a n g u a g e d o e s n ' te v e n c h e c k t s e i l i n e n u m b e r s c o n f l i c to r a r e i p r o p e r o r d e r . M i c r o s o f t o b v i o u sl d o e s n ' t w a n t y o t u s l i n e n u m b e r s .

H o d y o l i s t p a r t o f a p r o g r a m ?W e l l , e r . . . u h . . . y o u ' d b e t t e r s t u f f i n a m e d l a b e l s e v e r y 2 l i n e s o s o o a d l i n e n u m b e r s o t h s a m e b a s i s o y o m u s t l i s t y o u r p r o g r a m f r o m b e g i n n i n gt e n t o f i n d t h p a r t y o w a n t . W h e nw t r i e d t l i s t t h e s u b r o u t i n e b e l o w( w i t h o u t t h l a b e l t e s t : ) , A m i g a B A S I Cr e f u s e d . Y o m u s t a d e i t h e r l i n en u m b e r o l a b e l ( a w i t h t e s t : ) d e s p i t et h f a c t t h a t t h s u b r o u t i n e i a l r e a d yn a m e d . A n t h e r e i n s e a r c h o s e a r c h / r e p l a c e i A m i g a B A S I C ' S e d i t o r ,e i t h e r .

S U t e a t S T A T I CE N D S U B

S u p p o s e y o u w a n t t a d l i b r a r y r o u t i n ef r o m d i s k t p r o g r a m o s c r e e n . Y o m e r g e i a t h e n d , t h e n c o p y a n p a s t ei n t o t h p r o g r a m . L i n e n u m b e r s h a v e n oe f f e c t o m e r g e .D i r e c t o r i e sY o u ' r e s u p p o s e d t b a b l e t o g e d i r e ct o r i e s b s a y i n g , f o e x a m p l e : f i l e s" d f l : b a s i c . p r o g r a m s " . D y o g e t h A m i g a ' s t y p i c a l t w o - c o l u m n l i s t i n g s ?N a h ! Y o g e t a l i s t i o n c o l u m n , a n i s c r o l l s r i g h t o f t h e s c r e e n u n l e s s y o a r f a s t e n o u g h t h i r f g h t - a m i g a t s t o pt h a t l i s t i n g . G o l l y , w h e n w i l l t h o s e f o l k si B e l l e v i e w l e a r n t o p a u s e l i s t i n g s a t t h ee n o e a c h s c r e e n p a g e ? S o r r y t s a t h a t h a l f t h f i l e s o n o u r W o r k b e n c h d i s ka r n e v e r l i s t e d a a l l . I t ' s b u g . W e l l ,c l i c k o v e r t D O f o d i r e c t o r i e s . .

I m m e d i a t e m o d eY o m a n o c u r s o r u p a n d a m e n d . W e ' r eu s e d t w o r k i n g o u d i f f i c u l t a l g o r i t h m si i m m e d i a t e m o d e , b d e f i n i n g o u r c o ns t a n t s a n v a r i a b l e s a n t e s t i n g v a r i at i o n s i o f t e n - c o m p l e x c o d e . Y o w o n ' td t h a t i n t h i s B A S I C : y o m u s t r e t y p ea l t h c o d e e a c h t i m e y o t e s t , w h i c h i s t i m e - c o n s u m i n g t h a t y o a r f a b e t e o f f t o m a k e p r o g r a m o f t h e t e s t . A n

r u a l w a y s c l e a r s t h s c r e e n ( y o u

1 I s s u e 2

Page 19: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 19/52

c a n ' t c o n t r o l t h a t ) , w h i c h w i p e s o u a l p r e v i o u s r e s u l t s . M o s t o f t h e u t i l i t y o i m e d i a t e m o d e i t h u s d e s t r o y e d . W r e t r e a t t m a k i n g p e n c i l c o p i e s o d a t aw e ' v e b e e n h a n d l i n g o s c r e e n f o y e a r s .B a c k t 1 9 2 0 .

Y o h a v e t w o s e p a r a t e w i n d o w s : o n f o p r o g r a m o u t p u t , o n f o l i s t i n g s ; y o m u s t i n t e r m i n a b l y c l i c k y o u r w a b a c ka n f o r t h b e t w e e n t h e m . I s e e m s t h i sw a d o n e s o t h a t y o u c a n s e y o u r c o d ee x e c u t e i o n w i n d o w a n t r a c e t h e e c u t i n g l i n e i t h o t h e r . W t r i e d i f o a c o u p l e o h o u r s a n c o n c l u d e t h a t t h ef o l k s a B e l l e v i e w a r m a d . T h e o u t p u tw i n d o w i a l w a y s o b s c u r e d b t h l i s tw i n d o w ; l i t t l e r e b o r d e r s k i p s f r o m o n e x e c u t i n g s t a t e m e n t t a n o t h e r s o s w i f tl t h a t y o c a n ' t f o i l o w i t I y o t r t r a ci n o n l i n e a t t i m e , y o f i n d t h a t e v e r yc o m m e n t i c o n s i d e r e d a e x e c u t i n g l i n e .W e ' d m u c h p r e f e r s i n g l e w i n d o w w i t ht h e x e c u t i n g s t a t e m e n t p r i n t e d a t t o p o rb o t t o m o t h e s c r e e n . P r o g r a m m e r s o f t e ng e c a r r i e d a w a y b e n t h u s i a s m f o f a c a n f a d d i s h n e a p p r o a c h e s . S i i w i t h t w o w i n d o w s i t h i s B A S I C . T h e y ' r e

u s e l e s s p a i n i t h b e h i n d .

E r r o r m e s s a g e sD e s p i t e l a r g e e r r o r w i n d o w ( " S y n t a xE r r o r ! " ) , a n r e b o r d e r a r o u n d t h l i n eo e r r o r , M i c r o s o f t ' s e r r o r m e s s a g e s a r n m o r e u s e f u l n o t h a n t h e y w e r e f i v ey e a r s a g o . Y o a r e n ' t t o l d w h e r e o t h l i n e t h e r r o r i s n o w h i t ' s a e r r o r . E a m p l e : w h a t ' s w r o n g w i t h t h s t a t e m e n t sb e l o w ? Y o g e t a n e r r o r m e s s a g e' E L S E / E L S E I F / E N D I F W I T H O U T a I F ' . I t h a t t h e r e a l p r o b l e m ? T h o s e a c u s t o m e d t s y s t e m s w i t h i n t e l l i g e n t e r o h a n d l i n g a n d m a r k i n g w i l l w e e p . T h p r o b l e m ? S h u c k s , w l e f t o u t h e n .

I Q P R I N T " W h o a ! "E N I

E d i t i n gT h e d i t o r i A m i g a B A S I C i b o t hp r i m i t i v e a n c l u m s y . I i a l s o v e r y s l o w .T h s c r e e n s c r o l l s v e r y s l o w l y w h e n y o p a g e u p o d o w n b s c r e e n p a g e . I t a k e so n f u l l s e c o n d t m o v e t h c u r s o r f r o mt h t o l i n e t t h b o t t o m o 1 9 - l i n e p a g eu n l e s s y o s h i f t t h c u r s o r w i t h t h m o u s e . T h i n t e r p r e t e r o A m i g a B A S I Cm a b i a s s e m b l e r ; t h e e d i t o r i d o n ei m o l a s s e s .

E d i t i n g w i t h i n A m i g a B A S I C o t h e rw i s e i f a i r l y h a n d y . Y o d e l e t e a n c o p yl i n e s o r s e c t i o n s o f c o d e b y h i g h l i g h t i n gt h m a t e r i a l w i t h t h e m o u s e . Y o t h e nc o p y t h e m a t e r i a l t b u f f e r ( c a l l e d t h

' c l i p b o a r d ' ) . Y o m a c o p y e r a s e d c o d et n e p o s i t i o n , s h o w n b t h c u r s o r ,w i t h A m i g a ( f o r p a s t e ) . I y o c h o o s et c o p y , t h o r i g i n a l c o d e r e m a i n s , b u c o p y i p u i n t o t h c l i p b o a r d ; y o m a i n s e r t t h a t c o p y a n y w h e r e e l s e i t e x t .T h i s w o r k s w e l l o s m a l l s e g m e n t s . W t r i e d t o d e l e t e t h s e c o n d h a l f o f l a r g e rp r o g r a m b h i g h l i g h t i n g w i t h t h m o u s e .B s t o p w a t c h i t o o k o v e r f o u r m i n u t e st h i g h l i g h t m o s t o t h m a t e r i a l ; t h e n w c r a s h e d ( w s u s p e c t t h a t t h e c l i p b o a r db u f f e r o v e r f l o w e d ) . S y o m u s t d e l e t e i s m a l l s e c t i o n s . I s u m , y o u ' l l p r o b a b l y u s et h i s e d i t o r t o d e b u g c o d e ; i t i s f a t o s l o wa n c l u m s y f o l o n g e d i t i n g s e s s i o n s .

F o r t u n a t e l y , A m i g a ' s m u l t i t a s k i n ga l l o w e d m t u s E d A m i g a ' s s c r e e ne d i t o r , t o w r i t e p r o g r a m s . A n t h e n , w i t hE r u n n i n g c o n c u r r e n t l y , c r a s h e dA m i g a B A S I C s i t i m e s i t w h o u r s a n f o r t y m i n u t e s , w i t h n a r y p r o g r a m i m e m o r y l o n g e r t h a n 8 l i n e s . k e p t g e t i n g ' H e a p F u l l ' e r r o r s .

v o L u n d s d o r f fT h e r e ' s t e x t - t o - s p e e c h d e m o o t h A m i g a B A S I C d i s k . c r a n k e d i u a n f o u n d i h i l a r i o u s . T h d e f a u l t v o i c e s e t i n g s s o u n d p r e c i s e l y l i k e N a z i v i l l a i n ,s t r i e d : " L e t m i n t r o d u s s e m y z e l s f ;

a C o u n t E r i c h v o L u n d s s d o r f f , u n d i s s i F r a n k e n s t e i n . " T h e x t r a s i b i l a n t sw e r e n e c e s s a r y f o p r o p e r e f f e c t . T h r a n g e o v o i c e s p o s s i b l e i l i m i t e d : t r i e df o h o u r s t g e r i o t h T e u t o n i cf l a v o u r , w i t h o u t s u c c e s s . B u t h o s e w h w a n t t r o l l s , o g r e s , w i z a r d s a n w i t c h e sw i l l h a v e g r e a t f u n . T h b u i l t - i nt r a n s l a t e $ f u n c t i o n c o n v e r t s a n E n g i s hs e n t e n c e i n t o p r o p e r p h o n e m e s f o r t h ev o i c e . I y o w a n t t b y p a s s t r a n s l a t e ?a n c o n t r o l t h e v o i c e d i r e c t l y , y o m a d s b u t w i t h p h o n e m e s , g l o t t a l s t o p s ,a n s u c h .

W i n d o w s , m i c e a n d m e n u sA m i g a B A S I C g i v e s t h p r o g r a m m e rc o n t r o l o v e r a l t h f e a t u r e s o t h A m i g a ,f r o m p u l l - d o w n m e n u s t w i n d o w s a n t h u s o t h m o u s e a n j o y s t i c k s i y o c a r e t u s t h e m . v e r y l a r g e p a r to t h l a n u a g e i d e v o t e d t t h e s e t h i n g s ;t h e y a r p o w e r f u l a n e a s y t o u s e .

M i n t e r f a c i n gA m i g a B A S I C p r o v i d e s b o t h v a r p t r ( t h ea d d r e s s o n u m e r i c v a r i a b l e s ) a n d s a d d( t h e a d d r e s s o s t r i n g ) , s o t h a t y o m a a c c e s s a n v a r i a b l e b i t a d d r e s s . Y o m a t h e r e f o r e p a s s t h e s e n a m e d v a r i a b l e st M r o u t i n e s . Y o m a a l s o c a l l M l i b r a r y r o u t i n e s t h a t y o w r i t e y o u r s e l fo t h o s e a l r e a d y p r e s e n t i A m i g a .

f e n i c e t o u c h e sT h i n d e x f u n c t i o n t f i n d s u b s t r i n gw i t h i n l a r g e r s t r i n g ( c a l l e d i n s t r ) a l l o w s

s e c o n d a r y i n d e x , a i n I N S T R ( 7 , X $ , " B r o w n " ) - I n t h i s c a s e ,y o l o o k f o " B r o w n " w i t h i n l a r g e r X $ b u y o s t a r t s e a r c h i n g a t h e 7 t hc h a r a c t e r i X $ T h s e c o n d a r y i n d e x i o p t i o n a l . V e r y h a n d y .

M o r e i m p o r t a n t l y , y o m a i d e n t i f yv a r i a b l e s e i t h e r b d e f i n i n g t h e i r d a t at y p e ( a i P a s c a l o r C ) o b y u s i n g s u f i x e s , a i o t h e r B A S I C s . T h i d e n t i f i e r ss h o w n b e l o w ( f o s h o r t i n t e g e r ,f o a l o n g i n t e g e r , a n s o n ) t a k ep r e c e d e n c e o v e r a n s t a t e d d e f i n i t i o n s .D e f i n i t i o n M e a n i n g S u f f i x f o r mD E F I N T v a r S h o r t i n t e g e r ( 1 b i t s ) v a r ° / oD E F L N G v a L o n g i n t e g e r ( 3 b i t s ) v a r &D E F S N G v a R e a l ( 7 d i g i t s , b y t e s ) v a r !D E F D B L v a r R e a l ( 1 d i g i t s , b y t e s ) v a r #D E F S T R v a S t r i n g v a r $I s u b p r o g r a m s , t h d e f i n i t i o n s m a b p u r e l y l o c a l , o t h e y m a b s h a r e d i s d e c l a r e d w i t h i n t h e s u b p r o g r a m . I t h e ya r s h a r e d , t h e y b e c o m e g l o b a l v a r i a b l e si t h m a i n p r o g r a m , a n m a b u s e d i o t h e r s u b p r o g r a m s i d e c l a r e d t h e r e a s h a r e d .T e s t s o v a r i a t i o n s

r a n a n u m b e r o t e s t s , a n w a s u r p r i se t o f i n d n d i f f e r e n c e i e x e c u t i o n t i m ew i t h o w i t h o u t l i n e n u m b e r s . E v e n m o r es u r p r i s i n g : a p r o g r a m u s i n g d e f i n e dv a r i a b l e s ( a a b o v e ) r u n s f a s t e r t h a n o n w h e r e v a r i a b l e s a r s u f f i x e d w i t h t h e i rt y p e ( d e f i n t y i f a s t e r t h a n y % ) . L a s t ,a n m o s t a s t o n i s h i n g , m u l t i p l es t a t e m e n t s p e l i n e a r s l o w e r t e x e c u t et h a n s i n g l e s t a t e m e n t s p e l i n e ! I t h i sl a n g u a g e , t h e r e i u t t e r l y n o e x c u s e f o c r a m m i n g c o d e t o g e t h e r i t h f e w e s tp o s s i b l e l i n e s . A l t h e s e t h i n g s a r p o s i t i v e a d v a n t a g e s : t h e y r e w a r d s i m p l e ,r e a d a b l e c o d e .S u m m a r yT h i s B A S I C i m u c h i m p r o v e d o v e rA B a s i C b u j u s t d o e s n ' t g f a e n o u g h .T h c o d e i f a r e a s i e r t o r e a d a n d m a i nt a i n t h a n o l d e r , u n i n d e n t e d , a n u n l a b e l l -e v e r s i o n s . I w a h a s t i l y a n d r a s t i c a ll s h o r t e n e d a t h l a s t m i n u t e t l e i f i i a v a i l a b l e m e m o r y . A s t i m e g o e s o na n d c o d e i b o i l e d d o w n , o r a s m o r em e m o r y b e c o m e s a v a i l a b l e i t h A m i g a ,

w o u l d n ' t b a a l s u r p r i s e d t s e a u t ov a r i a b l e s , r e c u r s i o n , r e s e t , a d d i t i o n a l o t i o n a l d a t a t y p e s , a n s o m e f u l l y s t r u ct u r e d o p t i o n s . I i f a s u p e r i o r t a n M i c r o s o f t B a s i c I ' v e s e e n b e f o r e , a n l a r g e s t e p i t h r i g h t d i r e c t i o n .

T P U G M a g a z i n e 1

Page 20: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 20/52

A m i g a B A S I C s o u n d a n s c r e e nb C h r i s J o h n s o nA m i g a B A S I C m a k e s t h a d v a n c e d s o u n da n g r a p h i c s f e a t u r e s o f t h A m i g a e a s i l ya c c e s s i b l e t t h B A S I C p r o g r a m m e r .T h u s o ' b o b s ' ( b l i t t e r o b j e c t s ) a n s p r i t e s i f u l l y s u p p o r t e d i A m i g aB A S I C ; s c r e e n i m a g e s c a b e c a p t u r e di a a r r a y a n p l a c e d e l s e w h e r e o n t h s c r e e n o r s a v e d t d i s k ; a n t h s o u n dc o m m a n d m a k e s m u s i c e a s y t i m p l em e n t . U n f o r t u n a t e l y , s o m e a s p e c t s o s c r e e n m a n i p u l a t i o n a r n o s u p p o r t e d a f u l l y a i A B a s i C .U s i n g c o l o u rC o l o u r s f o t h e v a r i o u s g r a p h i c c o m a n d s a r e d e f i n e d u s i n g t h p a l e t t e c o m a n d . U t 3 c o l o u r s c a b d e f i n e d b t h a m o u n t o f r e d , g r e e n a n b l u e i t h f i n a l c o l o u r . F o e x a m p l e , p a l e t t e 1 . 8 . 6 . 5 a s s i g n s b r o w n t c o l o u r - i d 1 T h n u m b e r o c o l o u r s a c c e s s i b l e a a n t i m ei d e t e r m i n e d b t h d e p t h { n u m b e r o b i t -p l a n e s ) o f t h e s c r e e n ( s e t b t h s c r e e nc o m m a n d ) . I t h e p a l e t t e c o m m a n d i o m i t t e d , A m i g a B A S I C u s e s t h e c o l o u r sd e f i n e d w i t h t h P r e f e r e n c e s t o o l , c o l o r< p e n > , < b a c k g r o u n d > s e t s t h

b a c k g r o u n d a n f o r e g r o u n d c o l o u r s u s i n gt h c o l o u r - i d a s d e f i n e d w i t h p a l e t t e .

G r a p h i c s c o m m a n d s a r e x e c u t e d u s i n gt h p e ( o o t h e r , s p e c i f i e d ) c o l o u r . T h e s ec o m m a n d s i n c l u d e :

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

c o r n e r s a n a d d i n g , a f t e r t h e c oo r d i n a t e s o r , b f t o f i l l t h e r e c t a n g l e w i t ht h p e c o l o u r ;

C i r c l e c a b u s e d t d r a w a r c s a n a n v a r i e t y o f e l l i p s e ;

A r e a f i l l f i l l s a n a r e a d e f i n e d b a r e as t a t e m e n t s ;

P a i n t f i l l s a e n c l o s e d a r e a w i t h as p e c i f i e d c o l o u r ; a n d ,

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

1 6 - b i t m a s k . P a t t e r n & h f f f f w o u l d t u r no a l t h b i t s w h e n l i n e i d r a w n ; P a t e r n & h f O f O : l i n e ( 0 , 0 ) - ( 1 0 0 , 1 0 0 ) d r a w s

d o t t e d l i n e . ( T h e & i t h e s e c o m m a n d ss p e c i f i e s t h a t t h e f o l l o w i n g n u m b e r i t b i n t e r p r e t e d a s h e x a d e c i m a l . )

B o b s a n s p r i t e sB o b s a n d s p r i t e s a r c o n t r o l l e d w i t h as e r i e s o o b j e c t c o m m a n d s , e a c h o w h i c hh a d i f f e r e n t s u f f i x :

. S h a p e a s s i g n s a o b j e c t - i d n u m b e r t a o b j e c t d e f i n i t i o n c o n t a i n e d i s t r i n ge x p r e s s i o n ;

. O a n . o f f m a k e a o b j e c t v i s i b l e o i n v i s i b l e ;

. a n . p l a c e t h e o b j e c t a t s p e c i f i e dp o i n t i t h o y a x e s o r u s e d a f u n ct i o n , r e t u r n i t p o s i t i o n ;

. S t a r t a n . s t o p s e a o b j e c t i m o t i o no f r e e z e i t

. V a n . v s e t h v e l o c i t y o f t h e o b j e c ti a n c o o r d i n a t e s ;

. A x a n d . a y s e t t h a c c e l e r a t i o n i p i e l p e s e c o n d p e r s e c o n d ;

. P r i o r i t y s e t s b o b ' s p r i o r i t y . b o w i l l a p p e a r i f r o n t o f a o b j e c t w i t h al o w e r p r i o r i t y a n b e h i n d o n e w i t h ah i g h e r p r i o r i t y ;

. C l i p d e f i n e s a a r e a o f t h e s c r e e nb e y o n d w h i c h a n o b j e c t w i l l n o t b e d r a w n ;

. H i t a l l o w s s e l e c t i o n o w h i c h o t h e r o j e c t s w i l l c a u s e a c o l l i s i o n ;

. C l o s e r e l e a s e s m e m o r y a s s i g n e d t a o b j e c t .C o l l i s i o n s b e t w e e n o b j e c t s a r d e t e c t e db e v e n t t r a p p i n g , w h i c h i e n a b l e d ,d i s a b l e d a n d s u s p e n d e d b y c o l l i s i o n o n c o l l i s i o n o f a n c o l l i s i o n s t o p r e s p e ct i v e l y . W h e n e n a b l e d , u t 1 c o l l i s i o n sc a b q u e u e d a n d r e a d b c o l l is i o n ^ o b j e c t - i d > ) . w h i c h r e t u r n s e i t h e rt h n u m b e r o a n o t h e r o b j e c t o n e g a t i v e v a l u e i n d i c a t i n g t o p , l e f t , b o t t o mo r i g h t b o r d e r .

O b j e c t E d i t o rT h c r e a t i o n o b o o s p r i t e c a n b ed o n e w i t h u t i l i t y p r o g r a m c a l l e d O b j E d i t , w h i c h i o n o f t h e d e m o p r o g r a m so t h A m i g a E x t r a s d i s k . W r i t t e n i A m i g a B A S I C , t h i s p r o g r a m a l l o w s y o t d r a w y o u r b o o s p r i t e o n t h e s c r e e nw i t h t h m o u s e . I i n c l u d e s ' z o o m ' c o m a n d t h a t e n l a r g e s t h o b j e c t f o d e t a i le w o r k . T h o b j e c t s c a b s a v e d t d i s ka n r e a d i n t o m e m o r y w h e n n e c e s s a r y .C o n c i s e e x a m p l e s a r g i v e n b o t h i t h m a n u a l ( w i t h f e e r r o r s ) a n o t h d i s k .

S c r e e n G e a n P u A r e a s o t h s c r e e n c a b s t o r e d i a

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

P r i n t i n g t t h s c r e e nP r i n t i n g t t h s c r e e n c a n b e d o n e w i t hp r i n t , p r i n t u s i n g a n w r i t e . P r i n tb e h a v e s i t h n o r m a l f a s h i o n , a s d o e sp r i n t u s i n g f o t h o s e w h h a v e u s e d i b e f o r e .

W r i t e , o t h o t h e r h a n d , p r i n t s a e p r e s s i o n l i s t , t h e i t e m s o w h i c h m u s t b s e p a r a t e d w i t h c o m m a s . N u m b e r s a r p r i n t e d w i t h o u t l e a d i n g s p a c e s , s t r i n g sa r e p r i n t e d i q u o t e s , a n t h e d e l i m i t i n gc o m m a s a r p r i n t e d .

W i d t h d e f i n e s t h e m a x i m u m n u m b e r o c h a r a c t e r s t h a t w i l l p r i n t o n l i n e : A m i g aB A S I C w i l l n o p r i n t c a r r i a g e r e t u r nw h e n i r e a c h e s t h e d g e o t h e s c r e e n i w i d t h i s e t t h d e f a u l t o 2 5 5 .

T h e r e i n p r i n t a c o m m a n d i A m i g aB A S I C ( t h e r e i i A B a s i C ) a n d t h l o c a t e c o m m a n d p o s i t i o n s t h e c u r s o r o n l yb c h a r a c t e r , n o t b p i x e l . P o s i t i o n i n gt e x t a t p r e c i s e l o c a t i o n o t h s c r e e ni c o m b i n a t i o n w i t h g r a p h i c s i t h u s m a d es o m e w h a t d i f f i c u l t . T h p t a b c o m m a n dm o v e s t h e c u r s o r h o r i z o n t a l l y b p i x e l .T h e r e i n d i r e c t m e t h o d f o p o s i t i o n i n gt e x t v e r t i c a l l y o a n y t h i n g o t h e r t h a n t h n o r m a l p r i n t i n g l i n e s .

T h e r e a r t w a w k w a r d w a y s a r o u n dt h i s l i m i t a t i o n . T h f i r s t i t p r i n t t h t e x t t o t h e n e a r e s t l i n e , t h e n s c r o l l a p o rt i o n o t h s c r e e n u n t i l i i w h e r e y o uw a n t i t T h s e c o n d i t p r i n t t h e t e x ts o m e w h e r e w h e r e i w i l l n o i n t e r f e r e a n s t o r e i i a a r r a y w i t h a g e t . T h i s c a t h e n b p u t a n y w h e r e . N e i t h e r o t h e s ei e n t i r e l y s a t i s f a c t o r y , a n o n m i s s e st h e e a s e w i t h w h i c h t h i s o p e r a t i o n c o u l db p e r f o r m e d i A B a s i C .

F o s o m e u s e s , h o w e v e r , s c r o l l i h a n d y c o m m a n d . T w c o r n e r s o f r e c ta n g l e a r e d e f i n e d , f o l l o w e d b t h n u m b e ro p i x e l s t o s c r o l l t h e s c r e e n i b o t h t h

a n a x e s . T h i s a l l o w s d i a g o n a l a s w e l la l e f t , r i g h t , u p a n d d o w n s c r o l l i n g .

T h e r e a r a l s o n c o m m a n d s f o c u r s o rm o v e m e n t , i n s e r t i n g c h a r a c t e r s , c l e a r t o

1 8 I s s u e 2

Page 21: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 21/52

e n o f d i s p l a y o c l e a r t e n o l i n e . T h A N S I s t a n d a r d c o m m a n d s w h i c h t h e s y st e s u p p o r t s a n w h i c h w o r k i A B a s i C( s e e A m i g a S c r e e n M a g i c , T P U GM a g a z i n e # 2 2 ) d o n o t h i n g i A m i g aB A S I C . H o m i n g t h e c u r s o r m u s t b d o n ee i t h e r w i t h e l o l o c a t e 1 , 1 . R e l a t i v e c u rs o m o v e m e n t ( t t h e p r e v i o u s l i n e , f o e x a m p l e ) h a t b d o n e b r e a d i n g t h c u r r e n t l i n e w i t h c s r l i n :

c s r l i np o s ( 0 )

l o c a t e y - 1 ,

S o u n d a n m u s i cT h e a s i e s t m e t h o d o g e t t i n g s o u n dw i t h A m i g a B A S I C i b u s i n g t h s t a nd a r d b e e p ( o p r i n t c h r $ ( 7 ) ) .

B u t y o u p r o b a b l y w a n t t d m o r e t h a nt h i s , a n i A m i g a B A S I C i i n o a l t h a th a r d . A f t e r t h c o n v o l u t e d m e t h o d o p r d u c i n g s o u n d i A B a s i C , t h i s i c h i l d ' sp l a y . U n f o r t u n a t e l y , t h e r e i n c o m m a n df o s e t t i n g t h e A D S R e n v e l o p e , a s t h e r ei i A B a s i C . A B a s i C a l s o c o n t a i n s f u n ct i o n s t h a t c a t e l l y o u w h e t h e r a n y v o i c ei s s t i l l p l a y i n g . N e s o u n d s c a t h e n b s e n t t a i n a c t i v e c h a n n e l . A m i g aB A S I C h a n o n e o t h i s .

T h e r e a r r e a l l y o n l y t w c o m m a n d s

y o n e e d t k n o w t c r e a t e m u s i c : s o u n da n w a v e . W a v e f o r m s a r s e u i i n e g e r a r r a y s o f a t l e a s t 2 5 e l e m e n t s ; e a c he l e m e n t i t h a r r a y m u s t b i t h r a n g eo f - 1 2 8 t o 1 2 7 . T h a r r a y i t h e n a s s i g n e dt w a v e t 3 c o r r e s p o n d i n g t t h f o u rv o i c e s .

N o t e s a r e p l a y e d w i t h : s o u n d < f r eq u e n c y > d u r a t i o n > v o l u m e >

v o i c e > t h l a s t t w p a r a m e t e r s a r o p t i o n a l . S o u n d w a i t s u s p e n d s e x e c u t i o no s o u n d s t a t e m e n t s u n t i l s o u n dr e s u m e i e n c o u n t e r e d , a l l o w i n g s y nc h r o n i z a t i o n o a l f o u r v o i c e s .

T h m u s i c d e m o n s t r a t i o n p r o v i d e d w i t hA m i g a B A S I C , J . S . B a c h ' s J e s u J o o M a n ' s D e s i r i n g , i m a g n i f i c e n t e x a mp l o p r o g r a m m i n g t h a t w i l l r e p a yc l o s e e x a m i n a t i o n . I i n o i m m e d i a t e l ya p p a r e n t h o t h p r o g r a m w o r k s , b u tw i t h a l i t t l e e f f o r t i c a n b e u s e d a d r i v e r f o y o u r o w m u s i c s i m p l y b yr e p l a c i n g t h e d a t a s t a t e m e n t s .S u m m a r yT h o u g h A m i g a B A S I C i s o t h w h o l e ,

g r e a t i m p r o v e m e n t o v e r A B a s i C , m a n yf e a t u r e s h a v e b e e n l e f t o u t . T h e m a n u a lm a k e s r e f e r e n c e s t c o n t i n u e dd e v e l o p m e n t s ; l e u h o p e t h a t t h e s e a r ef o r t h c o m i n g .

M A 6 4

H i c k 5 u m v a o

M A 6 4 m i n i - l a n g u a g ef o M u s i c P r o g r a m m i n go t h C o m m o d o r e 6

A d m u s i c t y o u r o w p r o g r a m sC o m p l e t e c o n t r o l o f S I c a p a b i l i t i e sF a s t , t e x t - o r i e n t e d m u s i c e n t r y .E a s y t o l e a r n , e a s i e r t o u s e .C o m p r e h e n s i v e M a n u a lD o z e n s o p o w e r f u l c o m m a n d s

2 9 - 9 5 c a n . 2 4 - 9 5O n R e s i d e n t s i d 7 P i o v S i l e s T a C h e q u e . M o n e y O r d e r . V i o M a s t e r C a r dP o s u g r K i n d l i n g I n c l u d e d

W I L A N T A A R T S6 9 4 3 B a r r i s d a l e D r

M i s s i s s a u g a , O n t .L 5 N 2 H 5

1 - 4 1 6 - 8 5 8 - 9 2 9 8

F r e e z e "F r a m e

W H A T Y O S E I

W H A T Y O G E T .

X 1 P O W E R H O U S E

I N T E R F A C E SW I T H Y O U R

C O M M O D O R ET O C O N T R O L

Y O U R H O M E . . .F O S E C U R I T Y

D o u b l e y o u rP r o g r a m m i n g

P o w e r . A d s p e e d a n

v e r s a t i l i t y t y o u r C 6 4 -

M a c r oA s s e m b l e r

p a c k a g e .

V i d e o a n t i -r a d i a t i o ns h i e l d w i t h

n o - g l a r ef i l t e r a n

g r o u n d i n gc o r d s .

T O U C H B A S ES T A T I C C O N T R O L

W R I S T R E S TA G r o u n d i n g c o r d

B G r o u n d i n g a p e r t u r e

C a r t r i d g eE x p a n d e rf o C - 6 4B l i t z c o m p i l e rF l i p F i l eG a m e s L e s s 1 5

N e w s R o o ma n C l i p A r tN e w s r o o mP a p e r C l i pC o n s u l t a n tM u l t i p l a n

T P U G M E M B E R S 1 5 D I S C O U N T

1 5 3 5 B a y v i e w A v e n u eT o r o n t o , O n t a r i oM 4 3 B ( 4 1 6 ) 4 8 1 - 6 8 0 7A u t h o r i z e d C o m m o d o r e D e a l e r

Page 22: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 22/52

N o r t h c a s t l e S t r u c t u r e d B A S I Cb C h r i s J o h n s o nT h p a g e s o t h i s a n d m o s t o t h e r c o p u t e r m a g a z i n e s h a v e s e e n m a n y d e b a t e so s t r u c t u r e d p r o g r a m m i n g v e r s u ss p a g h e t t i c o d e , s o f t w a r e e n g i n e e r i n g v e s u f r o n t a l a s s a u l t , t h i m m i n e n t d e m i s eo t r i u m p h o B A S I C a o p p o s e d t s t r u ct u r e d l a n g u a g e s .

A w i t h m o s t c o n t r o v e r s i e s , t h t r u t hl i e s s o m e w h e r e i b e t w e e n : i i w e r e n o p o s s i b l e t w r i t e p r o g r a m w i t h o u t ac a r e f u l l y - d r a f t e d f l o w c h a r t a n c o p i o u sc o m m e n t s , s o f t w a r e l i b r a r i e s w o u l d b r e d u c e d t f r a c t i o n ( h e x a d e c i m a t e d ? ) .O t h e o t h e r h a n d , i n o b o d y i n t r o d u c e da n s t r u c t u r e i n t o t h e i r s o f t w a r e , f e o t h p r o g r a m s i t h o s e l i b r a r i e s w o u l d b m o r e t h a n t w o r t h r e e k i l o b y t e s l o n g .

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

B A S I C e n v i r o n m e n t a s o o n a t h e y a r t u r n e d o n h a v e f o u n d t h a t i i p o s s i b l e ,e v e n n e c e s s a r y w i t h l o n g e r p r o g r a m s , t w r i t e i s t r u c t u r e d f a s h i o n . I o r d e r t m a k e s t r u c t u r e d p r o g r a m m i n g e a s i e r ,w h i l e r e m a i n i n g i B A S I C e n v i r o nm e n t , u s B A S I C e n h a n c e m e n t w r i tt e b y M i k e R o c h e o O s h a w a , O n t a r i o ,t h a t i a v a i l a b l e f r o m t h T P U G l i b r a r yf o t h P E ( ( P ) T D ) , C - 6 4 ( ( C ) M D ) , a n t h V I 2 0 T h i s u s e f u l u t i l i t y i c a l l e dN o r t h c a s t l e S t r u c t u r e d B A S I C .

C o m m o d o r e B A S I C d o e s n o t m a k e i e a s y t u s i n d e n t e d l i s t i n g s . I f y o p u s p a c e s a f t e r a l i n e n u m b e r i p r o g r a m ,t h e d i t o r r e m o v e s t h e m . I n d e n t e d l o o p sa n s t r u c t u r e s m a k e p r o g r a m e a s i e r t ou n d e r s t a n d . I N o r t h c a s t l e ( w h i c h w e ' l ls h o r t e n t S T f o t h p u r p o s e s o t h i sa r t i c l e ) , y o g e w h a t y o t y p e :

1 4 e l s e i f a I S 1 6 1 7 1 8 1 9

c e l s e

a / b + a * a / b * 2

1 2 3

f o a

n e x t1

t

F e a t u r e sS T w i l l r u a l p r o g r a m s w r i t t e n w i t hW a t e r l o o B A S I C , a n e v e n h a s a f e f e a t u r e s m i s s i n g f r o m W a t e r l o o .I F - T H E N - E L S E : M u l t i p l e l i n e I s t a t e m e n t s a r s u p p o r t e d :1 1 i 1 2 b 1 3 a *

2 0 e n d i fS t r u c t u r e d l o o p s : S t r u c t u r e d p r o g r a mm i n g u s u a l l y a v o i d s g o t o a n o t h e rs t a t e m e n t s r e q u i r i n g t h u s o l i n en u m b e r s . W h e r e B A S I C m i g h t u s g o t o 1 0 f o a i n f i n i t e l o o p , S T u s e sl o o p . . e n d l o o p :

1 l o o p2 r e f . p r o g r a m i h e r e )3 r e 4 e n d l o o p

T p r o v i d e a e x i t f r o m t h l o o p ,e n d l o o p m a b r e p l a c e d w i t h a u n t i ls t a t e m e n t . T h a t v e r y c o m m o n B A S I Cl i n e :1 g e a $ : i f a $ = " " t h e n 1 c a n b e r e p l a c e d w i t h :1 l o o p2 0 g e t a $3 u n t i l a $ < > " "S i n c e t h e r e i n r e f e r e n c e t l i n en u m b e r , t h e s e l i n e s c o u l d b e p l a c e da n y w h e r e i t h p r o g r a m w i t h o u ta l t e r a t i o n .

S t r u c t u r e s c a a l s o b e x i t e d b t h q u i t c o m m a n d . I m p r o v i n g o n W a t e r l o oB A S I C , S T B ' s q u i t c a t a k e a p a r a m e t e r :q u i t ( 2 ) w i l l e x i t t w l e v e l s o l o o p s .

U n t i l s e t s a e x i t c o n d i t i o n f o l o o p ;w h i l e s e t s a e n t r y c o n d i t i o n t h l o o pi n o t e n t e r e d u n l e s s t h c o n d i t i o n i t r u e .F o e x a m p l e :1 0 w h i l e a $ < > c h r $ ( 1 3 )1 1 l o o p1 2 0 g e t a $1 3 u n t i l a $ < > " "1 4 p r i n t a 1 S i n i n $ + a $1 6 e n d l o o p

P r o c e d u r e s : P r o c e d u r e s a r r e a l l yn a m e d s u b r o u t i n e s . p r o c e d u r e i n o e x e c u t e d i t h n o r m a l s e q u e n c e o a p r og r a m ; i m u s t b c a l l e d :1 c a l l p r i n t t i t l e2 l o o p3 c a l l e n t e r i n f o4 0 u n t i l i n " 5 e n

6 p r o c p r i n t t i t l e7 0 p r i n t c h r $ { 1 4 7 ) ; : r e

c l e a r s c r e e n8 p r i n t9 p r i n t " P r o c e d u r e D e m o "1 0 p r i n t " 1 1 p r i n t1 2 e n d p r o c1 3 1 4 p r o c e n t e r i n f o1 S r e ( e n t r y r o u t i n e )1 6 e n d p r o cP r o c e d u r e s n a m e s c a i n c l u d e a l m o s ta n y t h i n g b u c o l o n s . h a v e e v e n u s e dp r o c p r i n t r u n .

B e c a u s e t h e r e n e e d b n r e f e r e n c e t l i n e n u m b e r s w i t h i n p r o g r a m , e n t i r es e c t i o n s c a b w r i t t e n s e p a r a t e l y a n a p e n d e d t f o r m f i n i s h e d p r o g r a m . ( S e et h l i s t i n g o A p p e n d e r , u t i l i t y i nB A S I C t h a t c o m b i n e s p r o g r a m s l o a d e df r o m d i s k . ) W h e n t h p r o c e d u r e s a r a l c o l l e c t e d , u s r e n u m b e r i n g f a c i l i t y , s u c ha s t h a t f o u n d i B A S I C A i ( a v a i l a b l ef r o m t h T P U G l i b r a r y ) o P o w e r ( f r o mP r o - L i n e S o f t w a r e ) o m o w I n c r e m -e n t e r , a s i m p l e l i n e r e n u m b e r e r ( i n v o k e db s y 4 9 1 5 2 , x , w h e r e i t h a m o u n tf o e a c h s u c c e s s i v e l i n e n u m b e r t b i c r e m e n t e d ) . I n c r e m e n t e r w i l l n o r e n u m b e r g o t o s o g o s u b s , b u t t h e r e i n n e e d f o t h e m w h e n u s i n g S T B .

S T d i f f e r s f r o m a t r u e s t r u c t u r e dl a n g u a g e i t h a t t h e r e i n o p a s s i n g o p a r a m e t e r s t p r o c e d u r e , a n t h v a r i a b l e s a r e n o t l o c a l t i t T h i s m e a n st h a t c a r e m u s t b t a k e n n o t h a v e c o f l i c t i n g v a r i a b l e s w h e n b u i l d i n g a p r og r a m o u o p r e w r i t t e n p r o c e d u r e s .R e s t o r e : T h r e s t o r e < l i n e n u m b e ri t h e o n l y f e a t u r e o f N o r t h c a s t l e S t r u ct u r e d B A S I C t h a t r e q u i r e s l i n e n u m b e r s .N o t h a t y o a r r e s t r i c t e d t o n u m b e r

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

o l i n e n u m b e r s w i t h r e s t o r e a n c o c a t e n a t i n g p r o g r a m s e g m e n t s e v e nu s i n g P o w e r o B A S I C A i d , a l i n en u m b e r a f t e r r e s t o r e w i l l n o b r e n u m b e r e d . T h e r e i a e a s y w a a r o u n di t h o w e v e r .

L o c a t i o n s 5 7 a n 5 o t h V I a n C - 6 4 ( 5 a n 5 o t h P E T ) c o n t a i n t h l i n e n u m b e r b e i n g e x e c u t e d i l o w - b y t e /h i g h - b y t e f o r m a t . T h e r e f o r e , p e e k ( 5 7 )2 5 6 * p e e k ( 5 8 ) c a n b e u s e d a f t e r r e s t o r e ,a s s u m i n g t h a t t h e d a t a s t a t e m e n t s y o

2 I s s u e 2

Page 23: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 23/52

w a n t t r e a d a r n e x t a f t e r t h c u r r e n tl i n e . F o e x a m p l e , h a v e o d i s k s e t o fp r o c e d u r e s t h a t u s i p r o g r a m s t h a ti n c l u d e a n d a t e e n t r y . T h i n i t i a l i z a t i o np r o c e d u r e l o o k s l i k e t h i s :

1 1 p r o c d a t e i n i t1 2 r e s t o r e p e e k ( 5 7 ) + 2 5 6

# p e e k ( 5 8 )1 3 w h i l e m n $ M 0 ) < > " Q c t o be r 1 4 d i m n $ ( 1 2 , m J { 1 2

d y $ ( 7 )1 S f o i = 1 t o 1 1 6 r e a d m n $ ( i ) , m l ( i )1 7 n e x t1 8 f o i = t 1 9 r e a d d y $ ( i ]2 0 0 n e x t2 1 e n d l o o p2 2 e n d p r o c2 3 0 d a t a " J a n u a r y " , 3 1 " F

b r u a r y " , 2 8 " M a r c h " ,1 " A p r i l " , 3 0 " M a y " ,3

2 4 d a t a " J u n e " , 3 0 " J u l y "3 1 " A u g u s t " , 3 1 " S

p t e m b e r " , 3 2 5 0 d a t a " O c t o b e r " , 3 1 " N

v e m b e r " , 3 0 " D e c e m b e r "3 2 6 0 d a t a " S u n d a y " , " M o n d a y "" T u e s d a y " , " W e d n e s d a y

" " T h u r s d a y " , " F r i d a y "2 7 0 d a t a " S a t u r d a y "

R e n u m b e r i n g t h i s p r o c e d u r e a f t e ra p p e n d i n g i t p r o g r a m w i l l n o a f f e c tt h e e x e c u t i o n a a l l .

I n p r a c t i c e , d e f i n e B A S I C f u n c t i o nt d t h d o u b l e p e e k :d e f d p ( x ) = p e e k ( x ) + 2 S 6 * p ee k ( x + 1 )T h e n , a f t e r r e s t o r e f d p ( 5 7 ) , r e a ds t a t e m e n t w i l l f i n d t h n e x t d a t a s t a t em e n t i t h p r o g r a m .T o p - d o w n p r o g r a m m i n g : P e r h a p t h g r e a t e s t a d v a n t a g e o N o r t h C a s t l e S t r u ct u r e d B A S I C i t h a t i a l l o w s t o p - d o w np r o g r a m m i n g . d a t a b a s e p r o g r a m c o u l ds t a r t l i k e t h i s :

1 c a l l i n i t i a l i z e v a r i a b l e

2 0 l o o p3 c a l l m e n u4 i u " e n t e r "B 0 c a l l e n t e r6 e l s e i f u " e d i t "7 c a l l e d i t f i l e8 e l s e i f u " l o a d "9 c a l l l o a d f i l e1 0 e l s e i f u " s a v e "1 1 c a l l s a v e f i l e

1 2 e n d i f1 3 u n t i l u " q u i t "1 4 e n 1 5 1 6 p r o c m e n u1 7 p r i n t " M e n u " : r e m d u

m y p r o c1 B e n d p r o cB c r e a t i n g d u m m y p r o c e d u r e s a f i r s t ,t h l o g i c o t h p r o g r a m c a n b e t e s t e d ,a n i n d i v i d u a l s e c t i o n s w r i t t e n o n a t i m e .S t a t e o t h u n i o nN o r t h c a s t l e S t r u c t u r e d B A S I C i s m a l l :l e s s t h a n 2 , 0 0 0 b y t e s . I r e l i e s h e a v i l y o t h B A S I C r o u t i n e s i R O M . A e x a m p l eo t h i s i t h e n d p r o c s t a t e m e n t . s a i de a r l i e r t h a t S T p r o c e d u r e s a r j u s tn a m e d s u b r o u t i n e s . Y o c a n p r o v e t h i sb u s i n g r e t u r n i n s t e a d o f e n d p r o c :n o b o d y i a n t h w i s e r . u s u a l l y u s r e t u r n t m a k e c o n v e r t i n g a S T p r g r a m t C o m m o d o r e B A S I C b i e a s i e r :l e a v e t h e p r o c s t a t e m e n t a l o n e a n g o s u b t t h l i n e a f t e r i t

S T c a a l s o c o - e x i s t w i t h p r o g r a mm e r ' s u t i l i t i e s , c a n b e t u r n e d o a n o f a w i l l , a n c a e a s i l y b e i g n o r e d e v e nw h e n i i a c t i v e ; i d o e s n o t p r e v e n t y o f r o m c o n t i n u i n g t f a b r i c a t e y o u rf a v o u r i t e f e t t u c i n i .

S T n a t u r a l l y s l o w s d o w n B A S I C e e c u t i o n s i n c e i h a t c h e c k f o t h a d e f e a t u r e s , b u i r o u t i n e r e a l l y n e e d sa l t h h o r s e p o w e r i c a g e t , w r i t e i i C B B A S I C . T u r n S T o f w h e n e n t e ri n t h e r o u t i n e a n b a c k o w h e nf i n i s h e d .

T h o u g h n o f u l l - f l e d g e d s t r u c t u r e dl a n g u a g e , N o r t h c a s t l e S t r u c t u r e d B A S I Ci a e x c e l l e n t w a t s t a r t l e a r n i n g s t r u ct u r e d p r o g r a m m i n g . I e n a b l e s f a s tw r i t i n g o c o d e ( h a v e w r i t t e n o v e r 5 b y t e s i a e v e n i n g ) b u t d o e s n o i n t e rf e r e w i t h t h f a m i l i a r B A S I C e n v i r o nm e n t .

r e i n c r e m e n t e r , c h r i sJ o h n s o n , 1 9 8 6

1 f o r i = 4 9 1 5 2 t i 9 s t e p : f o r j = 0 t o1 r e a d a : p o k e ( i + j ) , a : c = c + a :

n e x t j : r e a d c 1 i f c < > c s t h e n p r i n t " < 2 d o w n

> E r r o r i l i n e " ; i : f o r i - 1t o 2 5 : a = a b s ( a - 1 5 ) : p o k e S 4 29 6 , a : n e x t : s t o p

1 c = 0 : n e x t i4 9 1 5 2 d a t a 3 2 , 2 4 1 , 1 8 3 , 1 4 2 ,

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

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

1 7 7 , 8 0 1

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

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

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

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

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

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

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

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

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

4 9 2 1 2 d a t a 1 9 2 , 1 4 1 , 9 1 , 1 9 2 ,3 2 , 6 4 8

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

4 9 2 2 2 d a t a 1 4 5 , 2 S 1 , 1 0 5 , 0 ,1 4 1 , 6 4 2

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

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

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

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

1 r e a p p e n d e r , c h r i s J o h ns o n , 1 9 8 6

3 r e s e b o t t o m o b a s i c4 r e t t o p o f p r o g r a m5 r e c u r r e n t l y i m e m o r y6 t - p e e k ( 4 5 ) + 2 5 6 * p e e k ( 4 6 )

- 7 p o k e 4 4 , t / 2 5 68 p o k e 4 3 , t - 2 5 6 * p e e k ( 4 4 )1 0 r e m c l e a r k e y b o a r d

1 r e b u f f e r a n g e n a o f i l e t a p p e n d

1 2 p o k e 1 9 8 , 0 : i n p u t " < c l r >< c t r l - n > F i l e t a p p e n d "

f l 1 4 r e I f n o f i l e n a m e1 5 r e e n t e r e d s e p o i n t e r

b o c k t n o r m a l1 6 r e a n e n d p r o g r a m .1 7 0 i f f l $ - " " t h e n p o k e 4 4 , 8 :

p o k e 4 3 , 1 : e n d1 9 r e u s d y n a m i c K e y b o a r

t l o a d2 0 0 r e m n e w p r o g r a m , r e s e t

p o i n t e r s2 1 0 r e m a n d r e e n t e r p r o g r a m2 2 p r i n t M < c l r > l o a d " c h r $ ( 3 4

) f l $ c h r $ ( 3 4 ) " , 8 " c h r $ ( 1 ) " < 5 d o w n > p o k e 4 4 , 8 : p o k e4 3 , 1 : r u n

2 3 p o k e 1 9 8 , 7 : p o k e 6 3 1 , 1 9 : f or i - 1 t o 7 : p o k e 6 3 1 + i , 1 3 : n ex t : s t o p

T P U G M a g a z i n e 2

Page 24: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 24/52

C O M A L : T h D i s k , T h C a r t r i d g eb L e L i n d s a yC o p y r i g h t 1 9 8 6 L e L i n d s a yC O M A L i l a n g u a g e t h a t c o m b i n e s t h p o w e r o P a s c a l , c o m p l e t e w i t h i n d e n t e ds t r u c t u r e s , w i t h t h e e a s e a n i n t e r a c t i v en a t u r e o B A S I C . T h C o m m o d o r e 6 v e r s i o n s i n c l u d e L O G O - c o m p a t i b l e t u r t l eg r a p h i c s . T w v e r s i o n s a r a v a i l a b l e f o t h C - 6 4 : o n d i s k - b a s e d , t h e o t h e rc a r t r i d g e - b a s e d .

p o l l t a k e n b C o m m o d o r e i t s e l fr e v e a l s t h a t C O M A L i t h f i r s t a l t e r n a t e

l a n g u a g e o f c h o i c e ( B A S I C a n m a c h i n el a n g u a g e w e r e m o r e p o p u l a r b u t t h e yc o m e w i t h t h m a c h i n e ) . T h e r e a r t w v e r s i o n s o C O M A L f o t h C o m m o d o r e6 4 d i s k - l o a d e d C O M A L 0 . 1 4 ( a v a i l a b l ef r o m m o s t C o m m o d o r e u s e r g r o u p s , i c l u d i n g T P U G ) , a n t h C O M A L 2 . C a t r i d g e . B o t h w o r k i C - 6 4 m o d e o t h C - 1 2 8 .

T h C O M A L 2 . C a r t r i d g e i t h d e l u x e v e r s i o n o C O M A L . I i n c l u d e s a l t h e f e a t u r e s o d i s k - l o a d e d C O M A L 0 . 1 4 ,a n m o r e . S o m e p e o p l e c o n s i d e r i t h

b e s t p r o g r a m m i n g l a n g u a g e o n a n y 8 - b i tm i c r o c o m p u t e r . O n c e y o u s C O M A L0 . 1 4 , y o d o n o t w a n t t g o b a c k t B A S I C . A n o n c e y o u s e t h e C O M A L2 . C a r t r i d g e , y o w i l l n o w a n t t g b a c k t C O M A L 0 . 1 4 .

C O M A L c h a r a c t e r i s t i c sW i t h t h c a r t r i d g e , C O M A L i t h e r ee v e r y t i m e y o t u r n o t h c o m p u t e r . T g b a c k t B A S I C , y o m u s t t y p e i t h c o m m a n d : B A S I C . T u s C O M A L 0 . 1 4 ,y o m u s t f i r s t l o a d i f r o m d i s k . T h

F i r s t C o l u m n : C O M A L 2 . S e c o n d C o l u m n : C O M A L 0 . 1 4T h i r d C o l u m n : B A S I C 2 .

E d i t i n g f e a t u r e sA U T O ( a u t o m a t i c l i n e n u m b e r s )

x R E N U M ( r e n u m b e r l i n e s )x M E R G E f r o m d i s k

S y n t a x c h e c k i n g o e n t r yD e l e t e b l o c k s o f l i n e s

- F I N D a n C H A N G E c o m m a n d sx P a u s e p r o g r a m l i s t i n g

- T R A C E ( d e b u g g i n g a i d )' Q u o t e m o d e ' d i s a b l e / e n a b l e

- U n d e r s t a n d s u p p e r a n d l o w e r c a s e- E r a s e t e n o l i n e- O o o p s k e

F i l e sB i n a r y s e q u e n t i a l / r a n d o m f i l e sx x A S C I I s e q u e n t i a l / r a n d o m f i l e s

x E a s y o n e - c o m m a n d r a n d o m f i l eu s G E f r o m d i s kB u i l t i t r u e A S C I I c o n v e r s i o n

D i s k c o m m a n d sC A ( c a t a l o g u e o f i l e s o d i s k )P a u s e c a t a l o g / s e n d i t p r i n t e rS T A T U S ( d i s k d r i v e s t a t u s )

- C O P Y ( c o p y f i l e s c o m m a n d )x D E L E T E ( s c r a t c h f i l e s f r o m d i s k )

M O U N T ( i n i t i a l i z e d i s k )- R E N A M E d i s k f i l e

x K n o w s w h e n E n d O F i l e i r e a c h e d

x C H A I N o n p r o g r a m t a n o t h e rN u m b e r s

A c c e p t s H e a n B i n a r y n u m b e r sx I n c l u d e s L o g i c a l A N a n O

- I n c l u d e s L o g i c a l X O x x I n c l u d e s t r i g f u n c t i o n s

U n d e r s t a n d s T R U E a n F A L S Ex D I ( i n t e g e r d i v i s i o n ) o p e r a t o r

M O ( r e m a i n d e r ) o p e r a t o rx A r r a y s w i t h a n m i n i m u m i n d e xx x I n t e g e r n u m b e r sx P r o d u c e r a n d o m i n t e g e r i r a n g eI n p u t - o u t p u tx T A w o r k s o p r i n t e r a s o

s c r e e nx V a r i a b l e - s i z e d p r i n t z o n e sx P r i n t z o n e s a m e o p r i n t e r a

s c r e e n■ S e u d e f a u l t p r i n t e r t y p e s- B u i l t i g r a p h i c s c r e e n d u m p- B u i l t i t e x t s c r e e n d u m p

x P R I N T U S I N G f o r m a t t e d o u t p u tx S e l e c t o u t p u t : p r i n t e r o r s c r e e n- S e l e c t i n p u t : k e y b o a r d / b a t c h f i l e

I N P U T A a n P R I N T A A u t o m a t i c a l l y - p r o t e c t e d i n p u tf i e l d s

x A l l o w s n u l l r e p l y t i n p u tx A l l o w s S T O P k e d u r i n g i n p u t

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

S t r u c t u r e sx x F O l o o px I n t e g e r F O l o o p

R E P E A T . . . U N T I L l o o pW H I L E . . . E N D W H I L E l o o p

x L O O P . . . E X I T l o o px C A S E s t r u c t u r ex M u l t i p l e - l i n e I F . . . T H E N . . . E L S Ex C a l l r o u t i n e s b n a m e

E x t e r n a l p r o c e d u r e s a n f u n c t i o n sx M u l t i p l e - l i n e p r o c e d u r e s / f u n c t i o n s

P a r a m e t e r s w i t h p r o c s / f u n c sL O C A L o G L O B A L v a r i a b l e sE R R O R H A N D L E R ( t r a p e r r o r s )A u t o m a t i c i n d e n t i n g o f s t r u c t u r e s

S p r i t e sx K e y w o r d s f o d e f i n i n g s p r i t e s

K e y w o r d s f o s e t t i n g s p r i t e c o l o u rK e y w o r d f o m o v i n g s p r i t e s

x B u i l t - i n c o l l i s i o n d e t e c t i o n- S T A M P s p r i t e i m a g e o n t o s c r e e nA n i m a t e s p r i t e s , i n t e r r u p t d r i v e nA t t a c h s p r i t e s h a p e s t p r o g r a m s

G r a p h i c sx T u r t l e g r a p h i c s a n X / g r a p h i c s

H i - r e s o r m u l t i c o l o u r g r a p h i c sS p l i t s c r e e n ( t e x t / g r a p h i c s )B a c k g r o u n d / b o r d e r c o l o u r k e y w o r d s

x M i t e x t a n g r a p h i c s o s c r e e n- G r a p h i c s t e x t i a n s i z e- G r a p h i c s t e x t s i d e w a y s

S a v e g r a p h i c s s c r e e n t d i s k• W i n d o w c a p a b i l i t i e s

L i n e c l i p p i n g w i t h i n f r a m eA R a n C I R C L E c o m m a n d sF I L L c o m m a n d

x P L O T p o i n t

S o u n d- B E L L c o m m a n d■ B u i l t - i n s o u n d c o m m a n d s- C o n t r o l s o u n d e n v e l o p e

I n t e r r u p t - d r i v e n m u s i cM a c h i n e l a n g u a g ex x C a l l m a c h i n e - c o d e r o u t i n e s

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

P a r a m e t e r p a s s i n g t M r o u t i n e s

M i s c e l l a n e o u s- M o d e m - c o m m u n i c a t i o n s b u i l t i

F u n c t i o n k e y s d e f i n e d- F u n c t i o n k e y s a l t e r a b l e b u s e r

x S t o p k e y d i s a b l e / e n a b l eC u r s o r c o m m a n d

x N ' g a r b a g e c o l l e c t i o n 'J o y s t i c k / p a d d l e / i i g h t p e n k e y w o r d sI ( b u i l t - i n s t r i n g s e a r c h )

- S t o r e t e x t s c r e e n f o r l a t e r u s L o n g v a r i a b l e n a m e sC a s e n s e S R i n t e r r u p tC a c h a n g e p a r t o s t r i n g

- B u i l t - i n c l e a r s c r e e n c o m m a n dx x P E E K , P O K E , S Y S , G O T O

2 I s s u e 2

Page 25: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 25/52

f a s t l o a d v e r s i o n n o a v a i l a b l e t o a d s i l e s s t h a n 2 s e c o n d s , s t h e w a i t i n o l o n g .

D i s k - b a s e d C O M A L i a p u b l i c d o m a i np r o g r a m . Y o a r a l l o w e d t g i v e c o p i e so C O M A L 0 . 1 4 t o t h e r s . A l C O M A L0 . 1 4 p r o g r a m s c a t h e r e f o r e b r u n o na n C o m m o d o r e 6 o 1 2 8 . J u s t i n c l u d et h C O M A L 0 . 1 4 s y s t e m o t h d i s k w i t hy o u r p r o g r a m s . C O M A L 2 . p r o g r a m sw i l l n o r u w i t h o u t t h c a r t r i d g e : o n l yp e o p l e w i t h C O M A L 2 . C a r t r i d g e s m a r u C O M A L 2 . p r o g r a m s .

p r o g r a m w r i t t e n i C O M A L 0 . 1 4 c a r u u n d e r C O M A L 2 . 0 . T t r a n s f e r aC O M A L 0 . 1 4 p r o g r a m t o 2 . 0 y o u m u s tl i s t t h p r o g r a m t o d i s k , t h e n e n t e r i i n t o2 . 0 . p r o g r a m t h a t i s a v e d t d i s k i t o k e n i z e d , a n C O M A L 2 . a n 0 . 1 4 u s d i f f e r e n t t o k e n s .

C O M A L 0 . 1 4 a n 2 . a r s i m i l a r i m a n y w a y s . T h i s i t b e x p e c t e d , s i n c eC O M A L i s t a n d a r d i z e d l a n g u a g e . T h e y

b o t h a d h e r e t t h C O M A L K e r n a l ,t h o u g h C O M A L 0 . 1 4 i m i s s i n g c o u p l et h i n g s , s u c h a s v a l a n s t r $ . T h C a t r i d g e i n c l u d e s t h c o m p l e t e C O M A LK e r n a l .

O n o f t h e m a i n d i f f e r e n c e s i w i t hg r a p h i c s a n s p r i t e s . C O M A L 2 . r q u i r e s p a r e n t h e s e s a r o u n d p a r a m e t e r sw h i l e 0 . 1 4 d o e s n o t . A l s o , c l o s e d p r c e d u r e s a r i n c l u d e d i b o t h v e r s i o n s , b u i C O M A L 2 . t h e y a r e b i m o r e c l o se d y o m u s t i m p o r t a n p r o c e d u r e o f u n c t i o n n a m e s t h a t y o c a l l f r o m w i t h i n

c l o s e d m o d u l e .T h C O M A L 2 . C a r t r i d g e a d d s m a n y

e n h a n c e m e n t s . R e m e m b e r , i i 6 4 s y s t e m ! P r o g r a m e d i t i n g i i m p r o v e d .A u t o a n r e n u m a r r e t a i n e d f r o m t h 0 . 1 4 v e r s i o n , b u m a n y m o r e f e a t u r e sh a v e b e e n a d d e d . p r o c e d u r e c a b l i s t e d b n a m e n o n e e d t r e m e m b e rw h a t i t l i n e n u m b e r s a r e . Y o c a n e v e nh a v e i l i s t e d w i t h o u t l i n e n u m b e r s u s i n gt h d i s p l a y c o m m a n d . C O M A L 2 . a u t o m a t i c a l l y l i s t s t h C O M A L k e y w o r d si u p p e r c a s e a n y o u r v a r i a b l e n a m e s i l o w e r c a s e . Y o m a u s e i t h e r u p p e r o l o w e r c a s e w h e n y o t y p e y o u r l i n e s i n

L i k e g o o d w o r d p r o c e s s o r , t h e C a t r i d g e i n c l u d e s f i n d a n c h a n g e c o m a n d s . T h c h a n g e i s e l e c t i v e : y o d o n ' th a v e t c h a n g e e v e r y o c c u r e n c e o f t h e l e t e r s y o s p e c i f y .

P e r h a p s t h f a s t e s t w a t c o m p a r e t h t w v e r s i o n s o C O M A L i w i t h a c h a r t .T h c h a r t o f e a t u r e s i t h b o a c c o mp a n y i n g t h i s a r t i c l e i s u b d i v i d e d b c a t e g o r i e s . B A S I C i a l s o i n c l u d e d o t h c h a r t , e v e n t h o u g h i l a c k s m o s t o f t h ea d d e d f e a t u r e s . A i t h c o l u m n m e a n st h e f e a t u r e i i n c l u d e d . i t h c o l u m nm e a n s i i n o i n c l u d e d .

T P U G P R O G R A M M I N G C O N T E S T

T P U G i o n c e a g a i n o f f e r i n g y o t h o p p o r t u n i t y t r e d u c e t h c o s t so y o u r h o b b y . T h L i b r a r i a n s C o m m i t t e e o T P U G i s p o n s o r i n g ap r o g r a m m i n g c o n t e s t a s m e a n s t e n c o u r a g e y o t s u b m i t y o u rp r o g r a m s t t h l i b r a r y . T h w i n n e r o t h i s c o n t e s t w i l l b s e l e c t e d a r a n d o m f r o m t h n a m e s o t h s u b m i t t e r s o a l p r o g r a m s a c c e p t e d b t h l i b r a r i a n s f r o m t h s u b m i s s i o n s r e c e i v e d b e t w e e n t h f i r s tp u b l i c a t i o n d a t e o t h i s n o t i c e a n F r i d a y , O c t o b e r 3 1 1 9 8 6 . T h m o r e p r o g r a m s y o s u b m i t , t h g r e a t e r y o u r c h a n c e o w i n n i n g .

R U L E SS u b m i s s i o n s m u s t b r e c e i v e d o o b e f o r e t h e d e a d l i n e .S u b m i s s i o n s m u s t b o d i s k e t t e ( V I C p r o g r a m s m a b

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

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

a c c e p t a n c e r e m a i n s i e f f e c t f o a l s u b m i s s i o n s .U n a c c e p t e d d i s k s w i l l b r e t u r n e d .F r e e w a r e s u b m i s s i o n s w i l l n o b a c c e p t e d f o c o n t e s t

c o n s i d e r a t i o n .S u b m i t t e r ' s n a m e m u s t b i n c l u d e d i c o m m e n t s t a t e m e n t

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

1 0 0 , 5 0 2 b l a n k d i s k s r e s p e c t i v e l y o r 2 5 1 0 d i s k s( r e s p e c t i v e l y ) f r o m t h T P U G l i b r a r i e s .

T h L i b r a r i a n s C o m m i t t e eT P U G M a g a z i n e 2

Page 26: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 26/52

A m i g a D i s p a t c h e sb T i G r a n t h a m

k e e p e x p e c t i n g t h e x c i t e m e n t t d i d o w n . B u a e a c h n e p r o d u c t i v i t y ,g a m e , c r e a t i v i t y p r o g r a m f o t h A m i g ai a n n o u n c e d ; a e a c h n e p e r i p h e r a l i i n t r o d u c e d ; a e a c h n e c o m p a n yd e c l a r e s i t i n t e n t i o n t o d e v e l o p p r o d u c t sf o t h A m i g a , a a m a z e d a n e w b t h p o t e n t i a l o f t h i s m a c h i n e .

N o c o m e t h i n t r i g u i n g r u m o u r s o t h n e x t g e n e r a t i o n o t h A m i g a , c o d e -n a m e d ' R a n g e r ' . T h i s w i l l a p p a r e n t l y b e

6 8 0 2 0 - b a s e d c o m p u t e r w i t h 1 0 2 4 b 1 0 2 4 p i x e l g r a p h i c s a n c o m p l e t e c o

p a t i b i l i t y w i t h a l A m i g a h a r d w a r e a n ds o f t w a r e . T h e r e i e v e n s p e c u l a t i o n t h a ti w i l l b r e l e a s e d t h i s f a l l , a c o s t o fb e t w e e n t h r e e a n f o u r t h o u s a n d d o l l a r s( U S ) . C - ( C o m m o d o r e - A m i g a ) h a a n o u n c e d r e v i s i o n o f t h e e x p a n s i o n b u o t h A m i g a t a c c o m m o d a t e t h R a n g e r : a u n d e r s t a n d i t a l f u t u r eA m i g a s w i l l h a v e 1 0 0 - p i n b u i n s t e a do f t h e c u r r e n t 8 6 - p i n b u s . C - i w o r ki n w i t h h a r d w a r e d e v e l o p e r s t m a k e e i s t i n g p e r i p h e r a l s u p g r a d a b l e t t h n e s t a n d a r d .

M e a n w h i l e , t h e r e ' s l o t s h a p p e n i n g i t h h e r e a n n o w . .

S o f t w a r e n e w sS o f t C i r c u i t s r e l e a s e d P C L O , t h e i r P C C A p r o g r a m , o A p r i l 2 R e t a i l i n g f o a b o u t $ 1 0 0 0 ( U S ) , i h a f e a t u r e s s u p e r i o rt t h o s e o s i m i l a r p r o g r a m s a v a i l a b l e f o P c l o n e s a t t w i c e t h p r i c e . U p g r a d e sa n a d d i t i o n a l p r o d u c t s t c o m e w i l l i c l u d e a u t o r o u t i n g , s c h e m a t i c c a p t u r e , a n c i r c u i t s i m u l a t i o n . . . B o r l a n d h a s d e c i d e dn o t d e v e l o p a n p r o d u c t s f o t h A m i g a . M a n y A m i g a o w n e r s h a e a g e r l ya w a i t e d t h a p p e a r a n c e o T u r b o P a s c a l .A s h t o n - T a t e h a s a l s o d e c l i n e d t p o r t a n o t h e i r p r o d u c t s , a l t h o u g h s p o k e s m a nS t e v e S i l v e r w o o d h a s n o t e d t h a t t h e y w i l lb p u b l i s h i n g d B A S E I I o 3 . 5 i n c hd i s k s f o t h n e I B m a c h i n e s . T h e s ew i l l m o s t l i k e l y r u n o n t h A m i g a u n d e rt h T r a n s f o r m e r P e m u l a t o r . . . I t i sr u m o u r e d t h a t M i c r o s o f t w i l l b a d a p t i n ga l o t h e i r m a j o r p r o d u c t s t r u u n d e rO S - 9 , w h i c h m e a n s t h a t t h e s e p r o d u c t sw i l l b a b l e t r u n o n a l t h 6 8 0 0 0m a c h i n e s , i n c l u d i n g t h e A m i g a , o n c eT L S y s t e m s h a f i n i s h e d p o r t i n gO S - 9 . . . S p e a k i n g o o p e r a t i n g s y s t e m s ,t h e r e a r e p e r s i s t e n t r e p o r t s o s u c c e s s f u l

e f f o r t s t p o r t U n i x t t h A m i g a .T h o s e w h h a v e s e e n t h e i m p r e s s i v e j e

s i m u l a t o r d e m o p r o g r a m c u r r e n t l ys c r e a m i n g a r o u n d t h p u b l i c d o m a i n s w i l lb i n t e r e s t e d t k n o w t h a t r e l e a s e v e s i o n i n e a r l y r e a d y , c o m p l e t e w i t h a i c r a f t c a r r i e r s , a i r p o r t s a n a d d i t i o n a ls c e n e r y . . . M i n d s c a p e ' s T h e H a l l e y P r oj e c t f o t h A m i g a h a b e e n p u b l i s h e d .W o r d i t h a t i t i s a d r a m a t i c i m p r o v e m e n to t h p r e v i o u s v e r s i o n s , w i t h s u p e r bg r a p h i c s a n s o u n d . h o p e t h a v er e v i e w o t h i s p r o d u c t i n e x t m o n t h ' si s s u e . . . h i n t t p l a y e r s o A r c t i c F o x :s h o o t d o w n t h a i c o n v e r t o r s a s q u i c k l ya p o s s i b l e . B e s i d e s b e i n g w o r t h l o o p o i n t s , d e s t r o y i n g t h e m p r e s e r v e s o x g e a n g i v e s t a n k c o m m a n d e r s m o r et i m e t g e t t h m a i n f o r t .

E v e n m o r e l a n g u a g e s a r a p p e a r i n g :C S i s h i p p i n g t h A m i g a v e r s i o n o M u l t i - F o r t h , i h o t p u r s u i t o f M V F o r t h . . . A B S O F T w i l l b s h i p p i n g a A m i g a B a s i c c o m p i l e r i J u n e / J u l y f o m e a s l y $ 2 9 5 ( U S ) . . . S t e v e J u s i k i p o r ti n h i M a c N o s y d e b u g g e r . . T h a s s e m b l e r t h a t c o m e s w i t h t h h i g h l y -r a t e d A z t e c c o m p i l e r d o e s n o t , u n f o rt u n a t e l y , p r o d u c e c o d e t h a t i c o m p a t i b l ew i t h t h A m i g a A s s e m b l e r m a r k e t e d b C - A . A z t e c h a s p r o m i s e d t h a t s u c h c o p a t i b i l i t y w i l l b p a r t o f t h e i r f i r s t u p d a t e .M e a n w h i l e , y o c a g e a r o u n d t h p r o bl e b w r i t i n g p r o g r a m t o t r a n s l a t e t h n o n - s t a n d a r d 6 8 0 0 0 p s e u d o - o p s u s e d b yt h A z t e c a s s e m b l e r t t h s t a n d a r d o n e su s e d b t h A m i g a A s s e m b l e r . . .

Y o m a r e m e m b e r t h a t v l . l o t h A m i g a O w a w r i t t e n t p r o v i d e c o p a t i b i l i t y w i t h t h 6 8 0 1 0 a n d 6 8 0 2 0u p g r a d e c h i p s t t h 6 8 0 0 0 C P U . U n f o rt u n a t e l y , n o n e o f t h e c u r r e n t m a t hl i b r a r i e s i t h O S i n c l u d i n g I E E E a n F F P , s u p p o r t t h 6 8 8 8 1 m a t h c p r o c e s s o r c h i p , t h o u g h R a n d y W e i n e r o C B h a s t a t e d t h a t t h e y c a b r e w r i tt e t d s o R a n d y h a a l s o m e n t i o n e dt h a t m u c h - n e e d e d u p g r a d e t T e x t -C r a f t i i t h w o r k s ; a n t h a t C - w i l ls o o n b m a r k e t i n g F o n t E d i t o r ,s o m e t h i n g t h a t w i l l b o g r e a t i n t e r e s tt t h m a n y p e o p l e l o o k i n g a t h m a c h i n e a p o s s i b l e c h a r a c t e r g e n e r a t o rf o b r o a d c a s t p u r p o s e s . R a n d y d i d n o tm e n t i o n t h a t v e r s i o n 1 . o A m i g aA s s e m b l e r w a s h i p p e d w i t h a c o u p l e o fm a j o r b u g s , f i r s t p u b l i c l y s p o t t e d b J e S a o A r g o n a u t S o f t w a r e i E n g l a n d ,

t h a t r e n d e r t h i n c l u d e f i l e s u s e l e s s : f i r s t ,t h e l a c k o t h d o l i b . i f i l e , w h i c h m e a n sn D O o p e r a t i o n s c a n b e c a r r i e d o u t ; s c o n d , a n m o r e i m p o r t a n t , m a j o r e r r o ri t h e x e c / f u n c d e f . i f i l e , w h i c h m e a n st h a t a l E x e c f u n c t i o n s w i l l b d o o m e d t f a i l u r e . S a s a y s t h e f i c o n s i s t s o l o c a t i n g t h l i n e i n f u n c d e f . i t h a t r e a d s :f u n c c n s e 4 * - 6a n d c h a n g i n g i t r e a d :f u n c c n t s e - 3 0 .

T h w i d e l y - a d v e r t i s e d G i z m o s p a c k a g e i g e t t i n g a e x c e l l e n t r e s p o n s e f r o m u s e r s .T h f i f t e e n u t i l i t y p r o g r a m s i n c l u d e af i n e , f a s t V T 1 0 0 t e r m i n a l e m u l a t o r , t h a ts o m e s a i w o r t h t h $ 5 ( U S ) a l o n e . C A ' A m i g a T e r m , b u n d l e d w i t h t h A m i g am o d e m , a l s o p r o v i d e s f u l l V T 1 0 0 e m u l at i o n . . S p e a k i n g o f t e r m i n a l s , a c o u p l eo b u g s h a v e f i n a l l y c r a w l e d o u t o M S S ' sO n l i n e ! t e r m i n a l p r o g r a m . I s e e m s t h a ti t h c a p t u r e b u f f e r o v e r f l o w s , i w i l lt r u n c a t e t h e f i l e r a t h e r t h a n w r i t e t h o v e r f l o w t t h d i s k . Y o c a n c o p e w i t ht h i s e i t h e r b y o p e n i n g t h c a p t u r e b u f f e rt s i z e g r e a t e r t h a n t h a t o t h e x p e c t e df i l e , o b y d o i n g a M S s u g g e s t s : s e t t i n gt h s i z e o f t h e b u f f e r t 1 w h i c h w i l lc a u s e t h f i l e t b s t r e a m e d t o d i s k a si c o m e s i n A n o t h e r p r o b l e m w i t hO n l i n e ! i t h a t i d o e s n o t r a p c t r l - n a n c t r l - o . T h e s e t w c h a r a c t e r s w i l l s w i t c ht h e a l t e r n a t e c h a r a c t e r s e i a n o u t ,r i g h t w h e n y o a r e t r y i n g t r e a d t h m e s s a g e a b o u t t h u l t i m a t e m e a n i n g o l i f e . T h i s c a b s o l v e d b s c r e e n i n g t h e mo u w i t h l o o k - u p t a b l e p r o v i d e d i t h p r o g r a m . . . A e g i s D e v e l o p m e n t ' s I a g e s p r o g r a m w i l l n o p r i n t w i t h t h e c o rr e c t a s p e c t r a t i o o t h J X - 8 0 a n o t h e rp r i n t e r s . A e g i s h a s p r o m i s e d t h a t t h i s w i l lb f i x e d i t h f r e e - t o - o w n e r su p g r a d e s . . . E A ' s ( E l e c t r o n i c A r t s )F i n a n c i a l C o o k b o o k w i l l n o w o r k w i t h

6 8 0 1 0 c h i p i n s t a l l e d . . .S o m e e n c o u r a g i n g a n n o u n c e m e n t s o

m u s i c s o f t w a r e h a v e b e e n m a d e r e c e n t l y .A c t i v i s i o n w i l l s o o n b r e l e a s i n g M u s i cS t u d i o f o r t h e A m i g a . F e a t u r e s a p a r e n t l y i n c l u d e c o m p l e t e m u s i c a l n o t at i o n o s c r e e n , a n M I D I c a p a b i l i t y w i t hc o n t r o l a n s c o r i n g o f u t 1 c h a n n e l s .M a g n e t i c M u s i c w i l l b m a r k e t i n g C h e r r yL a n e ' s T e x t u r e c o m p o s i t i o n t o o l . I na d d i t i o n , t h e y h a v e a n n o u n c e d $ 1 2 0( U S ) c a r d t c o n n e c t t h R o l a n d

2 I s s u e 2

Page 27: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 27/52

M P U - 4 0 1 M I D I c o n t r o l l e r t t h A m i g a ;a n Y a m a h a D X - 7 v o i c e e d i t o r /l i b r a r i a n . . .

S o m e o t h e r p r o d u c t s a n n o u n c e d . . T h V I L o t u s - c l o n e i n o s h i p p i n g a $ 1 9 9 ( U S ) . . . S S S o f t w a r e a r w o r k i n go a A m i g a v e r s i o n o f W o r d P e r f e c t . . .C h a r l i e H e a t h h a c o m p l e t e d T x E D a n i s e l l i n g i f o $ 3 9 . 9 5 ( U S ) . . .

E h a f i n a l l y r e l e a s e d a o f f i c i a l p o l i c yo n c o p y p r o t e c t i o n . A l o f t h e D e l u x es e r i e s o c r e a t i v i t y / p r o d u c t i v i t y p r o g r a m sw i l l u s e a k e y - d i s k p r o t e c t i o n s c h e m e ,a l l o w i n g u n l i m i t e d b a c k u p s ( m i n u s t h k e y ) t m i c r o f l o p p y a n h a r d d i s k d r i v e s .T h k e y - d i s k n e e d o n l y b p r e s e n t a t b o o t -u p c o m p l e t e l y u n p r o t e c t e d v e r s i o n c a b h a f o $ 2 0 ( U S ) b y m a i l i n g i t h w a r a n t y c a r d . T h o s e w h b o u g h t t h p r t e c t e d b a c k u p s c a o b t a i n a u n p r o t e c t e dv e r s i o n f r e e o f c h a r g e b y m a i l i n g i t h p r o t e c t e d c o p y . A l t h o u g h n o n e o t h i sa p p l i e s t E A ' s g a m e s , i s h o u l d p a c i f yt h o s e w h w e r e l i t e r a l l y o r g a n i z i n gb o y c o t t o E A ' s p r o d u c t s .

H a r d w a r e N e w sL o t s o p r i n t e r i n f o r m a t i o n t h i sm o n t h . . . E p s o n i a p p a r e n t l y d i s c o n t i nu i n g t h e i r J X - 8 0 c o l o u r p r i n t e r . H o w e v e r ,l o o k o u f o c o l o u r p r i n t e r f r o m C a n o nf o s o m e w h e r e b e t w e e n $ 2 0 0 a n $ 5 0 0d o l l a r s ( U S ) , c o m p l e t e w i t h A m i g ap r i n t e r d r i v e r . T h i s m a c h i n e w i l lr e p o r t e d l y d e l i v e r v e r y h i g h - q u a l i t yg r a p h i c s t h a t c a c o v e r t h f u l l r a n g e o A m i g a c o l o u r s . . . R e d m o n d C a b l e i s s e l li n a c a b l e a n d r i v e r t p e r m i t t h A m i g a t u s t h A p p l e I m a g e w r i t e r . C a l l( 2 0 6 ) 8 6 8 - 2 1 6 8 f o r d e t a i l s . . . T h e r e i s u p p o r t f o t h H L a s e r J e t l a s e r p r i n t e ri P r e f e r e n c e s , b u t o n c a n ' t a c c e s s t h e3 0 d o t s - p e r - i n c h r e s o l u t i o n . R a n d yW e i n e r p o s t e d f i x : " Y o u n e e d s o m e w a o r e a d i n g t h s p e c i f i c d r i v e r f i l e . . .( A m i g a B a s i c w o r k s n i c e l y ) . R e a d t h r o u g ht h f i l e s t b y t e $ 0 F 2 E , i s h o u l d b s e t 0 2 0 0 ( o b v i o u s l y m e a n ' w o r d $ 0 F 2 E ' ) .A n d , a t o f f s e t $ 0 F 3 C s h o u l d b t h w o r d0 3 0 0 . T h e s e o f f s e t s r e p r e s e n t t h e s e t t i n g sf o d e f a u l t a n l e t t e r q u a l i t y . U s t h f o l l o w i n g t a b l e t o s e t h e s e v a l u e s a s y o d e s i r e :0 1 0 0 : 7 d p 0 2 0 0 : 1 0 d p 0 3 0 0 : 1 5 d p 0 4 0 0 : 3 0 d p i .T h a t ' s a l t h e r e i t i t . "

L o o k f o r e v i e w s o o n o C o m s p e cC o m m u n i c a t i o n s M e g a g b y t e R A b o a r d f o t h A m i g a . I w e i g h s i a h e f t y $ 1 4 5 0 ( C d n . ) a n i s h i p p i n gn o w . . . T h e W C ( W r i t a b l e C o n t r o l

S t o r e ) i p a r t o t h m o t h e r b o a r d o n e u n i t s , r a t h e r t h a n b e i n g p l a c e d o s e p a r a t e d a u g h t e r b o a r d . S o m e a r p r p o s i n g t h a t E E P R O M s ( E l e c t r o n i c a l l yE r a s a b l e P r o g r a m m a b l e R e a d - O n l yM e m o r i e s ) b e u s e d f o r t h e W C t e n a b l et h m a c h i n e t b o o t o p o w e r - u p w i t h o u tt h e K i c k s t a r t d i s k , f o s u c h a p p l i c a t i o n sa b u l l e t i n b o a r d s . T h E E P R O M s w o u l ds t i l l p r o v i d e t h a b i l i t y t u p g r a d e t h o p e r a t i n g s y s t e m . . . S o f t C i r c u i t s h a d e c i d e d t g a h e a d w i t h p r o d u c t i o n o

s m a l l c a r d t h a t w i l l i n t e r f a c e a n s t a nd a r d 4 0 - t r a c k o r 8 0 - t r a c k 5 . 2 5 i n c h d i s kd r i v e t t h A m i g a . I w i l l c o s t a b o u t $ 5 ( U S ) a n b r e a d y o n o a b o u t M a 1 . . .T h e F u t u r e s o u n d a u d i o d i g i t i z e r m e t i o n e d i l a s t m o n t h ' s c o l u m n s e l l s f o $ 1 7 5 ( U S ) , a n i n c l u d e s r e c o r d e r , c a b l e s ,m i c r o p h o n e , a n s o f t w a r e . C a l l ( 6 1 7 )4 8 8 - 3 6 0 2 f o r d e t a i l s . . . A - S q u a r e d ' sv i d e o d i g i t i z e r L I V E ! c a n o p r o d u c eH A ( H o l d A n M o d i f y ) p i c t u r e s t h a tc a d i s p l a y a l 4 0 9 6 c o l o u r s a v a i l a b l e . . .

M i c r o F o r g e , t h f i r s t m a k e r o h a r d -d r i v e s a n e x p a n s i o n b o a r d s f o t h A m i g a , h a v e a n n o u n c e d t h a t t h e y w i l l b s u p p o r t i n g t h n e 1 0 0 - p i n e x p a n s i o nb u s o n t h A m i g a . T h n e e x p a n s i o nb o a r d s w i l l c o n t a i n b o t h 8 6 - p i n a n 1 0 0 - p i n s l o t s , a n a l o t h e r p r o d u c t s w i l l

b a v a i l a b l e i e i t h e r s i z e . O w n e r s o f c u rr e n t 8 6 - p i n o n l y e x p a n s i o n b o a r d s w i l l b a b l e t o b t a i n u p g r a d e k i t s . M i c r o F o r g eh a a l s o a n n o u n c e d t a p e b a c k u p d r i v et h a t s h o u l d b a v a i l a b l e A p r i l 1 8 F o t h o s e w h w a n t t s u p p l y t h e i r o w h a r dd r i v e , M i c r o F o r g e w i l l a l s o s e l l t h e i r S C S Ii n t e r f a c e c a r d , d u a l c o n t r o l l e r , a n c o f i g u r a t i o n s o f t w a r e s e p a r a t e l y . C a l l ( 4 0 4 )6 8 8 - 9 4 6 4 f o m o r e i n f o .

T h T r a n s f o r m e rC - i a l a s t r e l e a s i n g t h e T r a n s f o r m e rI B M P C e m u l a t i o n s o f t w a r e w i t h t h A m i g a 5 . 2 5 i n c h d i s k d r i v e . T h e r e a r c o n f l i c t i n g r e p o r t s o f i t p r i c e , w i t h s o m ed e a l e r s s e l l i n g t h d i s k d r i v e a n T r a n s f o r m e r v l . O a p a c k a g e f o $ 2 4 9 . 9 5 ( U S ) , w h i l e C - s a y s t h a t t h e l i s tp r i c e i $ 3 9 9 . 9 5 ( U S ) , o r $ 2 9 9 . 9 5 f o t h d r i v e a n $ 9 9 . 9 5 f o t h T r a n s f o r m e r .T h p r o g r a m d o e s n o t a l l o w m u l t i t a s k i n g ,n o u s o t h o s e p r o g r a m s t h a t g e n e r a t ec o l o u r g r a p h i c s . I w i l l r u m o s t p r g r a m s w r i t t e n f o b o t h P C D O S 2 . a n h i g h e r , a n m o s t f l a v o u r s o f M S D O S ,t h o u g h s o m e h a v e r e p o r t e d p r o b l e m sw i t h M S D O S v 2 . l L I w i l l o p e r a t e w i t ha n d r i v e c o n n e c t e d t t h A m i g a , s i y o c a g e M S D O S s o f t w a r e t h a t i a l r e a d y o 3 . i n c h d i s k s , s u c h a t h o s ef o t h K a y p r o 2 0 0 0 , y o w i l l b a b l e t g e b w i t h o u t t h e 5 . 2 5 i n c h d i s k d r i v e .

( T h e T r a n s f o r m e r d o e s a p p e a r t h a v ep r o b l e m s w i t h t h s e c o n d 4 0 t r a c k s o t h D a t a G e n e r a l 3 . i n c h d i s k s . ) E x t e n s i v eb e t a - t e s t i n g h a s h o w n t h a t m o s t p r g r a m s r u a b e t w e e n 7 0 t 8 5 o P s p e e d , e x c e p t f o s o m e t e l e c o m m u n i c at i o n s p r o g r a m s , w h i c h a r d r a s t i c a l l ys l o w e d . W i l l i a m H a r r i s r e p o r t s t h a t h w a a b l e t o u s C o p y I P t c o p y L o t u s1 - 2 - 3 t t h A m i g a ' s 3 . 5 i n c h d r i v e s a n r u i w i t h o u t t h o r i g i n a l d i s k .

c o m p a n y c a l l e d S o f t e a m , I n c . a r p r o m i s i n g t h e i r o w v e r s i o n o f t h T r a n sf o r m e r f o r r e l e a s e t h t h i r d w e e k o A p r i l . T h e y c l a i m i w i l l p r o v i d e 1 0 0 p e rc e n t c o m p a t i b i l i t y , c o l o u r g r a p h i c s s u p o r t , c o m p l e t e l y f r e e u s o A m i g a D O Sf o r m a t t e d d i s k s , a n m u l t i t a s k i n g , a l f o $ 7 ( U S ) .

S o m e a r e c l a i m i n g t h a v e s e e nd e m o n s t r a t i o n f r o m C - o f t h e h a r d w a r ea c c e l e r a t o r f o r t h e T r a n s f o r m e r . A p a r e n t l y , t h i s u n i t w i l l p r o v i d e 1 0 0 % e m l a t i o n , i n c l u d i n g c o l o u r g r a p h i c s , t h s p e e d o a A T m u l t i t a s k i n g w i t h A m g i a -D O a n t h a b i l i t y t a d d r e s s u t o M e g a b y t e s o a d d i t i o n a l R A M . I w i l l c o s ti t h n e i g h b o u r h o o d o $ 1 0 0 ( U S ) a n c o u l d b a v a i l a b l e a s e a r l y a s J u n e .

B l i t s a n p i e c e sA d d i s o n - W e s l e y h a d e l a y e d t h e p u b l i c at i o n o f t h c o m p l e t e R O K e r n e lM a n u a l s y e t a g a i n t J u n e . O t h e r s h a v el e a p t i n t o t h b r e a c h , t h o u g h t h h u r r ys h o w s i s o m e o t h e m . T h A m i g a D O SR e f e r e n c e G u i d e f r o m C o m p u t e ! B o o k s ,f o e x a m p l e , r e p e a t e d l y r e v e r s e s t h ef u n c t i o n s o c o n t r o l - 0 a n c o n t r o l - N i d e s c r i b i n g t h c o n s o l e d e v i c e . L i k e w i s e ,T h A m i g a P r o g r a m m e r ' s R e f e r e n c eG u i d e ( a l s o f r o m C o m p u t e ! ) d e v o t e sw h o l e c h a p t e r t n e l a n g u a g e c a l l e d' B A C I C . q u i c k l o o k a b o t h b o o k s i d i c a t e d t h a t , t y p o s a s i d e , t h e y a r e o C o m p u t e ! ' s u s u a l h i g h c a l i b r e . S y b e x a n dB a n t a m a l s o h a v e p u b l i s h e d b o o k s o A m i g a i n t e r n a l s . L o o k f o r e v i e w s o t h e s e b o o k s i u p c o m i n g i s s u e s o f T P U GM a g a z i n e .

L o o k f o g u e s t a p p e a r a n c e s o y o u rf a v o u r i t e c o m p u t e r o M i a m i V i c e .

I ' l l c l o s e w i t h a c o u p l e o h i n t s f r o mR a n d y W e i n e r , A m i g a e n g i n e e r a C B M ,W e s t C h e s t e r : y o c a n r e d u c e f l i c k e r i i n t e r l a c e m o d e b u s i n g n o n - c o n t r a s t i n gc o l o u r s a n b v i e w i n g t h s c r e e n u n d e rt u n g s t e n r a t h e r t h a n f l u o r e s c e n t l i g h t s .A l s o , t h e r e m a b s o m e d i s k g l i t c h e sc a u s e d b i n t e r f e r e n c e f r o m t h m a g n e t i cf i e l d s o t h a d j a c e n t 1 0 8 0 m o n i t o r . T r p l a c i n g s h e e t o a l u m i n u m f o i l b e t w e e nt h m o n i t o r a n t h C P t a c a s h i e l d .

T P U G M a g a z i n e 2

Page 28: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 28/52

E S C a p eb A d a m H e r s tW i t h o u t s o f t w a r e c o m p u t e r i j u s td o o r s t o p ( t w o c o m p u t e r s c a b p u t u s a s b o o k e n d s ) . T h i s m o n t h I ' g o i n gt f o c u s o t h s o f t w a r e t h a t i s l o w l yp e r c o l a t i n g i t w a i n t o t h m a r k e t , b o t hf o t h 1 2 m o d e a n t h C P / M m o d e .S o f t w a r e s t r a t e g i e sT h o n l y t r u l y i n n o v a t i v e a s p e c t o f t h eC - 1 2 8 i t h i n c l u s i o n o f t h r e e d i s t i n c tm o d e s o o p e r a t i o n , e a c h c a p a b l e o r u n i n g r a d i c a l l y d i f f e r e n t t y p e s o s o f t w a r e .T h r a t i o n a l e b e h i n d t h i s w a t p r o v i d e

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

T h i s e n h a b e e n a c h i e v e d a d m i r a b l y .T h C - 1 2 8 w a p r o d u c t i v e m a c h i n ef r o m t h m i n u t e t h f i r s t o n r o l l e d o f ft h a s s e m b l y l i n e . S o f t w a r e f o t h e 6 4a n C P / M m o d e s w a s i m m e d i a t e l y a v a i la b l e . A t h m a g a z i n e , o u C - 1 2 8 w a p r e s s e d i n t o s e r v i c e f r o m d a y o n e , r u n ni n w o r d p r o c e s s o r , t e r m i n a l a n B B p r o g r a m s , a n d h o o k e d u t a l s o r t s o fs t a n d a r d a n n o n - s t a n d a r d p e r i p h e r a l s .I c o n t r a s t , t h A m i g a , w h i l e o c c u p y i n ga e x a l t e d p l a c e o a d e s k o i t o w n , i u s e d o n l y f o t h o c c a s i o n a l d o w n l o a d a n t h c o n s t a n t d i s p l a y o f a b s t r a c t d e s i g n sc o u r t e s y o D e l u x e P a i n t . T h i s i n o t b e l i t t l e t h A m i g a , o n o t h m o s tp o w e r f u l a n p r o m i s i n g o p e r s o n a l c o p u t e r s , b u t o i l l u s t r a t e t h s u c c e s s o C o m m o d o r e ' s C - 1 2 8 d e s i g n s t r a t e g y .

N o n e t h e l e s s , t h i s s u c c e s s m u s t b q u a l i f i e d . T h ' m o d u l a r ' a b i l i t y o f t h eC - 1 2 8 h a c r e a t e d i t o w p r o b l e m sr e l a t e d t s o f t w a r e : m i s l e a d i n g , i n o f a l s e , a d v e r t i s i n g ; a d e a r t h o 1 2 8 - m o d es o f t w a r e ; a n i n s t a n c e s w h e r e C P / M s o f tw a r e c o s t s t w o t h r e e t i m e s t h C - 1 2 8s y s t e m i t s e l f .

A t h l o n g a w a i t e d u p g r a d e t t h v e r y s u c c e s s f u l C - 6 4 , t h C - 1 2 8 i a b l e t r u a l o t h C - 6 4 s o f t w a r e i i t 6 m o d e . D o c u m e n t e d p r o b l e m s a p p e a r t b w i t h 1 5 7 1 e m u l a t i o n o f t h e 1 5 4 1 d r i v e ,n o t w i t h 6 4 m o d e i t s e l f . T h i s h a m e a n tt h a t t h e v a s t q u a n t i t i e s o f p u b l i c d o m a i na n d c o m m e r c i a l p r o g r a m s r u a w e l l , i n o b e t t e r , o t h C - 1 2 8 . T h i s h a s g i v e nr i s e t o a n a p p r o a c h t s o f t w a r em a r k e t i n g w h i c h c o n s i d e r q u e s t i o n a b l ea t b e s t : t h c o m m o n p r a c t i c e o f a d v e r t i si n C - 6 4 s o f t w a r e a s o f t w a r e f o t h C - 1 2 8 . T h i s s o f t w a r e r u n s o n l y i 6 m o d e o t h C - 1 2 8 a n d , i t h c a s e o f c a r

t r i d g e s , c a i n h i b i t t h a b i l i t y t a c c e s st h e o t h e r t w m o d e s o o p e r a t i o n . T h i sc a o n l y l e a d t c o n f u s i o n a n b a f e e li n g s o t h p a r t o f t h u s e r . W h i l e i c a b a r g u e d t h a t t h i s i n f o r m a t i o n i d i r e c t e d t o w a r d s t h e n o v i c e u s e r , u f a m i l i a r w i t h c o m p u t i n g , w o u l d t h i n kt h a t e v e n t h m o s t i g n o r a n t o C - 1 2 8u s e r s k n o w s o n t h i n g : t h c o m p u t e r c a r u C - 6 4 s o f t i v a r e ! T h d e s i g n a t i o n C - 1 2 8s o f t w a r e s h o u l d l o g i c a l l y b g i v e n o n l y t p r o g r a m s t h a t r u i 1 2 m o d e .

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

a d f o C - 1 2 8 s o f t w a r e . T h i s i d u t t h e x c r u c i a t i n g l y s l o w r e l e a s e o f d e d i c a t e d1 2 8 - m o d e s o f t w a r e . T h r e a s o n f o r t h i si p u r e l y f i n a n c i a l . E a r l y i m p r e s s i o n s o

t h C - 1 2 8 w e r e t h a t i w a m e r e l y 1 2 8 K6 4 S i n c e t h i n s t a l l e d m a r k e t o C - 6 4 s i s l a r g e , a n t h 1 2 c a n r u n a l 6 s o f tw a r e , i s e e m e d m o r e e c o n o m i c a l t m a n u f a c t u r e r s t c o n t i n u e w r i t i n g 6 4s o f t w a r e , t h e r e b y t a p p i n g b o t h t h C - 6 4a n C - 1 2 8 m a r k e t s . F a m i l i a r i t y h a b r e dr e s p e c t h o w e v e r , a n t h p o w e r o f t h eC - 1 2 8 i b e i n g r e c o g n i z e d . T h a d v a n c e dc a p a b i l i t i e s o f t h e C - 1 2 8 { 8 c o l u m n s , f a s ts e r i a l t r a n s f e r , 2 M H z c l o c k s p e e d )d e m a n d n e w a n d i m p r o v e d s o f t w a r e .M a n u f a c t u r e r s a r e r e c o g n i z i n g t h i s , a n t h f i r s t g e n e r a t i o n o 1 2 8 - m o d e s o f t w a r ei b e g i n n i n g t a p p e a r , w i t h a p o w e r a n s o p h i s t i c a t i o n u n a t t a i n a b l e i 6 m o d e .T h t i d e i b e g i n n i n g t t u r n !

T h i s s l o w d e v e l o p m e n t t i m e w a n o u n f o r e s e e n b t h d e s i g n e r s a C o m o d o r e . C P / M m o d e s o f t w a r e w a s u p o s e d t f i l l t h i s g a w i t h t h m e g a b y t e so t r i e d a n t r u e C P / M s o f t w a r e a v a i l a b l ef o p r a c t i c a l l y a n a p p l i c a t i o n . W e l l -i n t e n d e d a i w a s , t h i s i d e a h a a l a r g ei n g r e d i e n t o f f a n t a s y . W h i l e l a r g ea m o u n t o C P / M s o f t w a r e w a a v a i l a b l ee v e n f e s h o r t y e a r s a g o , t h e s u p p l y i r a p i d l y d r y i n g u p T h i s i n o t s a t h a tt h C P / M o p e r a t i n g s y s t e m i d e a d , j u s tt h a t i r e c e i v e s l i t t l e c o m m e r c i a l s u p p o r t .W h a t s o f t w a r e i a v a i l a b l e c a c o s t t w o r t h r e e t i m e s t h c o s t o f t h C - 1 2 8s y s t e m i i t b r u o n A l a s t l o o k ,W o r d s t a r P r o f e s s i o n a l w a $ 4 9 9 C a n ad i a n , a n S M a n , a p o p u l a r a c c o u n t i n gp a c k a g e , l i s t e d a $ 1 2 0 0 ! W h i l e h a v em a n a g e d t i n s t a l l b o t h p r o g r a m s o t h C - 1 2 8 , t h e i r c o s t w i l l l i k e l y p r o h i b i t t h e i rw i d e s p r e a d u s e i t h C o m m o d o r e w o r l d .T h i s f a c t h a n o e s c a p e d m a n u f a c t u r e r s .

W i t h o v e r 5 0 0 , 0 0 0 C - 1 2 8 s s o l d , a n t h n u m b e r g r o w i n g a l t h t i m e , l u c r a t i v en e m a r k e t n o e x i s t s f o w h a t a r p r o ba b l y d i s c o n t i n u e d o d e - e m p h a s i z e d p r o du c t s . R e - r e l e a s e s o f t h e s e p r o d u c t s a r e d u c e d p r i c e s a r n o d o u b t a h a n d .

T h e s e o b s e r v a t i o n s h a v e l e t t h e s t a b l i s h m e n t o T P U G M a g a z i n e p o l i c yo r e v i e w i n g C P / M s o f t w a r e . F i r s t a n f o r e m o s t , t h p r o g r a m m u s t r u o t h C - 1 2 8 . S e c o n d l y , w f e e l t h a t s o f t w a r ep r i c e d a o v e r $ 2 0 0 d o e s n o r e f l e c t t h b u d g e t o i n t e r e s t s o f t h e a v e r a g e C - 1 2 8u s e r , a n w i l l n o n o r m a l l y b r e v i e w e d .L o o k f o r e v i e w s o C P / M p r o d u c t s t h a td m e e t t h e s e c r i t e r i a .

M i c e - c a p a d e sO n o t h n e w e s t p e r i p h e r a l s f o t h C - 1 2 8 i t h 1 3 5 0 m o u s e . q u i c k g l i m p s eo t h i s r o d e n t w a p r o v i d e d t m b C o m p u t e r s f o L e s s i T o r o n t o . d i f i c u l t p r o d u c t t e v a l u a t e o i t o w n , t h a b s e n c e o m e n u - d r i v e n C - 1 2 8 s o f t w a r em a d e i n e a r l y i m p o s s i b l e . P h y s i c a l l ya t t r a c t i v e , i t i s s o l i d , w e l l - b u i l t u n i t t h a ti e x t e r n a l l y i d e n t i c a l t o t h A m i g am o u s e , a p a r t f r o m s l i g h t l y r e m o d e l l e dc o n n e c t o r . T h i s s i m i l a r i t y p r o m p t e dq u i c k t r o t h A m i g a w i t h n s u c c e s s .T h 1 3 5 0 m o u s e d o e s w o r k o C - 6 4 ,t h o u g h . q u i c k t e s t w i t h D o o d l e s h o w e di t b v e r y r e s p o n s i v e w i t h f i n ed i s c r i m i n a t i o n o m o v e m e n t . T e s t s w i t ho t h e r p r o g r a m s r e q u i r i n g j o y s t i c k a l s ow o r k e d , w i t h v a r y i n g d e g r e e s o f s u c c e s s .I s e e m s , t h e r e f o r e , t h a t t h m o u s e i l i k ea n u p s i d e - d o w n t r a c k b a l l , a n t h u s s h o u l de v e n w o r k w i t h V I 2 0 W i t h t h r i g h ts o f t w a r e , t h i s c o u l d b e a v e r y n i c e a d d it i o n t o y o u r s y s t e m .

O v e r d r i v e sW h i l e m o s t p e o p l e h a v e p u r c h a s e d t h 1 5 7 1 d i s k d r i v e t u s w i t h t h 1 2 8 , t h 1 5 4 1 s t i l l f u n c t i o n s i a l t h r e e m o d e s a n

c a b u s e f u l s e c o n d d r i v e f o b a c k u pp u r p o s e s . r e c e n t t i t r a v e l l i n g a r o u n dt h B B S s i t a c c e s s u n i q u e f e a t u r e o t h 1 5 4 1 t a c h i e v e a i n c r e a s e o a b o u t2 0 p e r c e n t i t h d a t a t r a n s f e r r a t e . I y o h a v e u s e d 1 5 4 1 w i t h V I 2 0 y o a r p r o b a b l y a w a r e t h a t i s s u i n g t h U l c o m m a n d t t h d i s k d r i v e o c h a n n e l 1 w i l l i n c r e a s e t h d a t a t r a n s f e r s p e e d t t a k e a d v a n t a g e o t h V I 2 0 ' s s l i g h t l yl e s s f i n i c k y t i m i n g . T h i s c a p a b i l i t y c a a l s o b u t i l i z e d i t h f a s t m o d e o t h

2 I s s u e 2

Page 29: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 29/52

C - 1 2 8 , a n w i t h g r e a t e r g a i n o s p e e dt h a n o t h V I C .

T i m p l e m e n t t h i s o t h C - 1 2 8n u m b e r o f p o i n t s m u s t b k e p t i m i n d .T h 1 2 m o d e i f a s t e r t h a n t h V I o l i f a s t m o d e ( w h e n i s l o w m o d e i t i ss l o w e r t h a n t h e C - 6 4 ) . W h e n f a s t m o d ei a c t i v a t e d , t h 4 c o l u m n s c r e e n i b l a n k e d . I y o d n o b l a n k t h 4 c o u m s c r e e n , a f a s t e r d a t a t r a n s f e r r a t ew i l l o n l y s u c c e e d i l o c k i n g u t h s y s t e m .T a v o i d t h i s p r o b l e m , i s s u e t h f a s t c o m a n d a t h b e g i n n i n g o f t h e s e s s i o n ( a n da f t e r a n r e s e t s ) a n e n j o y s l i g h t l yf a s t e r 1 5 4 1 .

T h i s i n c r e a s e i s p e e d c a n a l s o b e o bt a i n e d i C P / M m o d e , w i t h f e m o r er e s t r i c t i o n s . T h p r o b l e m i i s h u t t i n go f t h 4 c o l u m n s c r e e n a n i s s u i n g t h U l c o m m a n d . W h i l e i i p o s s i b l e t o i s s u et h e s e c o m m a n d s i 1 2 m o d e , t h e n s o f t -b o o t C P / M , t h a c t o f b o o t i n g r e s e t s t h 4 c o l u m n s c r e e n . T h i s w i l l r e s u l t i l o c k u p w h e n t h 1 5 4 1 i f i r s t a c c e s s e d . I y o a r e b o o t i n g o f 1 5 4 1 , t h s y s t e mw i l l l o c k u p b e f o r e C P / M i e v e n b o o t e d !S i n c e i i n o p o s s i b l e t o i s s u e t h U I c o m m a n d f r o m w i t h i n C P / M t h i sp r e c l u d e s u s i n g t h f a s t e r s p e e d s i f a l ly o h a v e i 1 5 4 1 .

I y o a r e u s i n g b o t h 1 5 4 1 a n 1 5 7 1 ,h o w e v e r , y o c a u s t h f a s t e r s p e e d .F r o m 1 2 m o d e i s s u e t h U I c o m m a n d .T h e n s o f t - b o o t C P / M f r o m 1 2 m o d e , a n dt u r n o f t h 4 c o l u m n s c r e e n w i t hc o n f . c o m ( a v a i l a b l e o T P U G d i s k ( Z ) A A )t a v o i d l o c k i n g u t h s y s t e m . T h i s p r c e d u r e i n c r e a s e s C P / M 1 5 4 1 a c c e s s b 2 p e c e n t !

I y o a r t h o w n e r o t w 1 5 7 1 s , t h l a s t f e p a r a g r a p h s o ' o b s o l e t e ' e q u i pm e n t m a h a v e s e e m e d i r r e l e v a n t t y o u .W e l l , y o a i n ' t h e a r d n u t h i n ' y e t ! I s e e m st h a t f e C - 1 2 8 s h a v e b e e n r e l a s e d w i t hD a t a s e t t e a c c e s s p r o b l e m s . T P U Gm e m b e r i M i n n e s o t a h a i n f o r m e d m t h a t h e h a s g o n e t h r o u g h t h r e e C - 1 2 8 s ,a l w i t h t h s a m e p r o b l e m , t h m o s t c u r e n t h a v i n g s e r i a l n u m b e r C A 1 8 4 6 2 2 1 .S i n c e t h a t c o n v e r s a t i o n h a v e t r i e dD a t a s e t t e s w i t h t h r e e C - 1 2 8 ' s , a l s u c e s s f u l l y . I y o h a v e a d a t a s e t t e , g i v e i

t r o n y o u r 1 2 8 . I y o a r n o s u c e s s f u l , d r o p m l i n e w i t h t h s e r i a ln u m b e r o y o u r m a c h i n e . W h i l e t h i s i n o l i k e l y t b m a j o r p r o b l e m f o t h m a j o r i t y o u s e r s , t h 1 2 w a a d v e r t i s e da w o r k i n g w i t h t h D a t a s e t t e a n c o s e q u e n t l y s h o u l d d s o D o c u m e n t e d e v d e n c e t t h c o n t r a r y m a p r o d u c e s o m ea p p r o p r i a t e r e s u l t f r o m C B M .

F i n a l l y , w o r d f o t h 1 5 7 1 o w n e r s .S e n s i t i v i t y t m o n i t o r a n T i n t e rf e r e n c e w a m a j o r p r o b l e m f o 1 5 4 1u s e r s . T h i s h a n o b e e n a l l e v i a t e d w i t h

t h 1 5 7 1 . I a n y t h i n g , t h p r o b l e m s e e m st b h e i g h t e n e d . n u m b e r o f u s e r s h a v er e p o r t e d t h a t t h d r i v e m u s t b m o v e df a r t h e r f r o m t h e o f f e n d i n g s o u r c e w h e nt h c o m p u t e r i i C P / M m o d e . W i t hl i m i t e d d e s k s p a c e , r e s t r i c t i o n s l i k e t h a tb e c o m e r e a l h e a d a c h e .

U p g r a d e u p g r a d eD o n ' t l e t h e s e c o m p l a i n t s g i v e y o t h w r o n g i m p r e s s i o n , I ' s t i l l e n a m o u r e dw i t h t h m a c h i n e , a n c a n ' t k e e p u p w i t ha l t h i n f o r m a t i o n t h a t i p o u r i n g i n I t a l m o s t a h a r d k e e p i n g u w i t h a l t h r e v i s i o n s t o t h C P / M P l u s s y s t e m f o t h C - 1 2 8 . I s e e m s t h a t t h e l a t e s t r e l e a s e ,d a t e d D e c . 6 , 1 9 8 5 , c o n t a i n s s m a l l b u g .Y o w o n ' t h a v e n o t i c e d i u n l e s s y o a r u s i n g a 1 5 2 5 / 8 0 1 o c o m p a t i b l e p r i n t e r .T h i s b u c a u s e s t h e p r i n t e r b u f f e r t e a t h l a s t l i n e o f t e x t i n s t e a d o f d u m p i n gi t t h p r i n t e r . T h r e l e a s e t h a t c o r r e c t st h i s b u i d a t e d D e c . 8 , 1 9 8 5 , b u t h a s n o b e e n o f f i c i a l l y r e l e a s e d . T h i s , h o w e v e r , i t h v e r s i o n b e i n g p a c k e d w i t h t h n e C - 1 2 8 s .

W o r l d o w o n d e r sW e n u t h i s m o n t h w i t h o n o w h a t

h o p e w i l l b m a n y p u z z l e s , t i p s a n d i s c o v e r i e s f r o m J i B u t t e r f i e l d . J i h a i n f o r m e d u o m y s t e r i o u s m a c h i n e - c o d er o u t i n e w h i c h m a g i c a l l y a p p e a r s i h i g hR A o b a n k 0 L o o k f o t h i s r o u t i n e a a d d r e s s $ f f d O t $ f f e e . T h i s r o u t i n e a p e a r s o p o w e r - u p b u i n o t c o p i e d f r o mR O M . J i m ' s c h a l l e n g e i t o i d e n t i f y t h s o u r c e o t h i s r o u t i n e . I y o t h i n k y o c a n d o i t s e n d y o u r r e s p o n s e i n t o T P U GM a g a z i n e c a r e o m y s e l f . W e ' l l l e J i p i c k t h c o r r e c t r e s p o n s e s i n c e e v e n w d o n ' t k n o w t h a n s w e r .

T h a t ' s i f o n o w ; s t a y t u n e d f o m o r ef l a s h e s a s t h e y c o m e i n A n r e m e m b e r ,' A p p r e c i a t e y o u r 1 2 8 ! '

T P U G B B T h N E t e l e p h o n e n u m b e r i s

( 4 1 6 ) 2 7 3 - 6 3 0 0O p e r a t i n g h o u r s :2 4 h o u r s p e r d a

d a y s p e w e e kT h p a s s w o r d i s . . .

C O N C E P T

M a r k e t p l a c eC O M P U T E R R E N T A L S

W b u y , t r a d e , s e l l a n r e p a i rC o m m o d o r e c o m p u t e r s

1 5 4 1 A l i g n m e n t4 0 4 0 o 8 0 5 0 D r i v e2 0 3 1 D r i v eS u p e r p e tE d u c a t i o n S o f t w a r eB u s c a r dP a p e r c l i pC o n s u l t a n t

2 9 . 0 08 9 5 . 0 03 2 5 . 0 08 9 5 . 0 0

2 . 0 09 9 . 0 06 6 . 0 09 9 . 0 0

1 C e d a r b a n k C r e s c e n tD o M i l l s , O n t a r i o M 3 3 A

T e l : ( 4 1 6 ) 4 4 6 - 1 0 3 5

S p a i n F r a n c eE n g l a n d G e r m a n y

H i s t o r y f r o m t h b e g i n n i n go c i v i l i z a t i o n f o a n c o u n t r y ,

E u r o p e a n d t h M i d d l e E a s t$ 2 9 . 9 5 i n c l . e v e r y t h i n g

D i s k s a r f u r , 1 b l o c k s o p e nA t t n : W o r l d H i s t o r y

( 4 1 6 ) 5 4 7 - 3 0 8 62 7 B r i t a n i a A v e .

H a m i l t o n , O n t a r i oL 8 1 Y

C - 6 4 , C - 1 2 8 / 6 4 M o d e

T h i s s p a c ec o u l d b

a d v e r t i s i n gy o u r p r o d u c t .

C a l l J o h n M a t h e s o n ,( 4 1 6 ) 4 4 5 - 4 5 2 4

T P U G M a g a z i n e 2

Page 30: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 30/52

L a y m a n ' s G u i d e t B u r s t M o d eb M G a r a m s z e g h yC o p y r i g h t 1 9 8 6 M . G a r a m s z e g h yP a r t 1 C o m m a n d S u m m a r yT h 1 5 7 1 d i s k d r i v e i o n o f t h e m o s tv e r s a t i l e m a s s s t o r a g e d e v i c e s a v a i l a b l ef o C o m m o d o r e c o m p u t e r s . I t d i s ko p e r a t i n g s y s t e m ( D O S ) s u p p o r t s a n e xt e n d e d s e t o f c o m m a n d s t h a t a l l o w s t h d r i v e t o a m o n g o t h e r t h i n g s , c r e a t e , r e a da n w r i t e d i s k s i w i d e v a r i e t y o f f o m a t s w i t h r e l a t i v e e a s e . T h d e s c r i p t i o no t h e s e c o m m a n d s c o l l e c t i v e l y c a l l e d' b u r s t m o d e ' i t h 1 5 7 1 i n s t r u c t i o nm a n u a l , i a b e s t c r y p t i c a n d , i m o s tc a s e s , d o w n r i g h t c o n f u s i n g . T h i s a r t i c l ei p a r t o n i s e r i e s d e s i g n e d t d e m y s t i f y t h i s e x t r e m e l y p o w e r f u l a n u s e f u l s e t o c o m m a n d s . I t h i s m o n t h ' sa r t i c l e , w i l l p r e s e n t a b r i e f d e s c r i p t i o no f t h e s y n t a x a n f u n c t i o n o f e a c h o f t h eb u r s t m o d e c o m m a n d s . I f u t u r e i s t a l m e n t s , s h a l l e x a m i n e t h e o p e r a t i o na n s t r u c t u r e o f t h e h i g h - s p e e d d a t at r a n s f e r ( b u r s t ) p r o t o c o l u s e d b m a n y o t h e b u r s t m o d e c o m m a n d s .

M a n y , b u n o a l l , o t h h u r s t m o d ec o m m a n d s h a v e a n a l o g o u s c o m m a n d s i s t a n d a r d C o m m o d o r e D O S . W h t h e n i t h e r e n e e d t d u p l i c a t e t h e m i b u r s tm o d e ? T h a n s w e r i s p e e d . T h d a t at r a n s f e r r a t e o f 1 5 4 1 d r i v e ( o 1 5 7 1i 1 5 4 1 m o d e ) i a b o u t 3 5 b y t e s p e s c o n d . T h 1 5 7 1 i f a s t m o d e i a b o u t 1 2 0 0b y t e s p e s e c o n d . W i t h b u r s t m o d e , d a t ac a b e r e a d o w r i t t e n a t h b l i s t e r i n gr a t e o f u t 3 8 0 0 b y t e s p e r s e c o n d ! I a d d i t i o n , b u r s t m o d e a l l o w s y o t a c c e s sd i s k s f o r m a t t e d i t h n o n - C o m m o d o r ei n d u s t r y s t a n d a r d , M F ( m a x i m u m ( o m o d i f i e d ) f r e q u e n c y m o d u l a t i o n ) f o r m a ta s w e l l a C o m m o d o r e G C ( g r o u p c o e r e c o r d i n g ) f o r m a t .

B u r s t m o d e c o m m a n d s a r a c c e s s e d b s e n d i n g s p e c i f i c s e o f c h a r a c t e r st h r o u g h t h e d i s k c o m m a n d c h a n n e l , i m a n n e r s i m i l a r t o t h e u s u a l C o m m o d o r eD O c o m m a n d s s u c h a n O : , s O : , b - p : .T h f i r s t t w c h a r a c t e r s o a l b u r s t m o d ec o m m a n d s a r u O T h i s a l l o w s b u r s t m o d et b a c c e s s e d b B A S I C s t a t e m e n tb e g i n n i n g w i t h o p e n 1 5 , 8 , 1 5 , " u 0 " . W h a tc o m e s n e x t d e p e n d s o n t h d e s i r e d f u n ct i o n a n i t o p t i o n s . T h f i r s t a d d i t i o n a lc h a r a c t e r s e l e c t s t h e f u n c t i o n a n d ,p e r h a p s , o n o t w p r i m a r y o p t i o n s . T h r e m a i n i n g c h a r a c t e r s s e l e c t s e c o n d a r yo p t i o n s .

B e f o r e d a t a c a n b e r e a d f r o m , o w r i tt e t o d i s k u s i n g b u r s t m o d e , i i n e c e s s a r y t l o i t h d i s k . A f t e r l o g gi n i n d a t a c a n b r e a d o w r i t t e n a w i l l .I y o r e m o v e t h d i s k a n d c h a n g e i t o e v e n r e - i n s e r t t h s a m e o n e , y o w i l l h a v et o r e - l o g t h d i s k . T h d i s k c a n b e l o g g e di b y o n e o s e v e r a l m e t h o d s . T h s i m p l e s t i t u s t h i n q u i r e d i s k c o m a n d T h i s c o m m a n d w i l l r e t u r n a s i n g l es t a t u s b y t e c o n t a i n i n g d a t a o t h c u r r e n td i s k f o r m a t a n e r r o r s t a t u s . I m o r ed e t a i l e d i n f o r m a t i o n i r e q u i r e d a b o u t t h f o r m a t o f t h e d i s k ( s u c h a s n u m b e r o f s e ct o r s p e t r a c k , s e c t o r n u m b e r i n g s y s t e m ,e t c e t e r a ) , t h e n t h q u e r y d i s k f o r m a tc o m m a n d s h o u l d b u s e d . T h i s l a t t e r c o m a n d c a n b e u s e d t a n a l y s e t h e f o r m a to s p e c i f i c t r a c k o t h d i s k , w h i l e i q u i r e d i s k o n l y l o o k s a t t h f i r s t t r a c k o t h d i s k .

D a t a c a b e r e a d f r o m t h d i s k b y o n eo t w m e t h o d s . T h f i r s t m e t h o d i t h

f a s t l o a d c o m m a n d . U n l i k e t h o t h e rb u r s t m o d e c o m m a n d s , f a s t l o a d a c t s o a e n t i r e f i l e a n w i l l o n l y w o r k o f i l e ss t o r e d i n o r m a l C o m m o d o r e D O G C f o r m a t . T h r o u t i n e w i l l w o r k w i t h e i t h e rP R o S E t y p e f i l e s . F o c o n s i s t e n tp e r f o r m a n c e , t h D O w i l d c a r dc h a r a c t e r s h o u l d b a p p e n d e d t t h f i l e n a m e b e i n g r e a d . ( F o r s o m e q u i r k yr e a s o n T / a s ( l o a d w i l l n o a l w a y s r e c o g n i z e

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

t o r , i s i m i l a r t t h C o m m o d o r e D O B l o c k - R e a d c o m m a n d . T h i s c o m m a n dw i l l w o r k w i t h e i t h e r G C o M F d i s k s .U n l i k e t h D O B l o c k - R e a d , t h b u r s tm o d e c o m m a n d c a b u s e d t r e a d m o r et h a n o n s e c t o r a t i m e . T h o r d e r i w h i c h m u l t i p l e s e c t o r s a r r e a d c a n b ec h a n g e d u s i n g t h s e s e c t o r i n t e r l e a v ec o m m a n d . ( N o t e t h a t t h i s i n o t t h e s a m ea t h e s e c t o r i n t e r l e a v e s u b - c o m m a n d o t h u t i l i t y c o m m a n d . )

T h d e f a u l t i n t e r l e a v e o f c o r r e s p o n d st c o n t i g u o u s s e c t o r s . T h a t i s , i f y o s t a r t e d a t r a c k 1 0 s e c t o r a n r e a ds e c t o r s , y o w o u l d r e a d s e c t o r 1 t h e n 2 t h e n 3 . I f y o u c h a n g e d t h i n t e r l e a v e t o3 y o w o u l d r e a d s e c t o r 1 t h e n 4 t h e n7 C o m m o d o r e D O h a s , i m o s t c a s e s ,a i n t e r l e a v e o f 1 0 C - 1 2 8 C P / M h a a i n t e r l e a v e o f 5 w h i l e m o s t M F d i s k s d n o t u s e s o f t w a r e i n t e r l e a v e s . I y o h a v ee v e r t r a c e d f i l e t h r o u g h i t v a r i o u st r a c k s a n s e c t o r s u s i n g t h 1 5 4 1 D i s p l a y

T r a c k S e c t o r p r o g r a m , y o u w i l l s e t h a t i f i l e o c c u p y i n g c o n s e c u t i v e l ya l l o c a t e d s e c t o r s , t h s e c t o r n u m b e r sj u m p b 1 e a c h t i m e . ( A e x c e p t i o n i t h e d i r e c t o r y f i l e , w h i c h h a a i n t e l e a v eo 3 . S i m i l a r l y , i y o n o t e t h e d i s k s t a t u sd i s p l a y i t h l o w e r r i g h t c o r n e r o t h C P / M s c r e e n d i s p l a y , t h e s e c t o r i n d i c a t o rj u m p s i i n c r e m e n t s o f e a c h t i m e a n e s e c t o r i a c c e s s e d . M u l t i p l e s e c t o r b l o c k -r e a d s d n o a p p e a r t b v e r y u s e f u lu n l e s s y o k n o w t h a t t h e d a t a y o w a n tt r e a d o c c u p i e s c o n s e c u t i v e s e c t o r s . O n a p p l i c a t i o n o f t h i s f u n c t i o n w o u l d b i

h i g h s p e e d d i s k c o p i e r , w h e r e l a r g en u m b e r o s e c t o r s a r r e a d a n t h e n w r i tt e t t h c o r r e s p o n d i n g l o c a t i o n s o n e d i s k . T h n u m b e r o b y t e s t r a n s f e rr e p e s e c t o r r e a d i e q u a l t t h n u m b e ro b y t e s p e s e c t o r , p l u s o n e . T h e r e f o r e ,1 2 9 , 2 5 7 , 5 1 o 1 0 2 5 b y t e s w i l l t r a n s f e r

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

A n a l o g o u s t t h r e a d c o m m a n d i t h b u r s t m o d e w r i t e s p e c i f i c s e c t o r c o m a n d . T h i s a l l o w s y o t w r i t e o n o m o r e s e c t o r s t s p e c i f i c l o c a t i o n o G C o a M F d i s k . T h i s c o m m a n d ,h o w e v e r , i s l i g h t l y m o r e c o m p l i c a t e dt h a n t h r e a d c o m m a n d b e c a u s e b o t hb u r s t d a t a i n p u t a n o u t p u t a r r e q u i r e d .T h c a l l i n g p r o g r a m s e n d s o n s e c t o r o fd a t a , t h e n w a i t s f o t h d r i v e t r e t u r n

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

T h 1 5 7 1 d r i v e i c a p a b l e o f o r m a t t i n gd i s k s i v a r i e t y o f d i f f e r e n t t y p e s . T h u s o t h M F f o r m a t t i n g p r o c e d u r ew a d e s c r i b e d i p r e v i o u s a r t i c l e ( F o rm a t t i n g M F D i s k s , T P U G M a g a z i n e ,M a r c h 1 9 8 6 , p a g e 3 2 ) . B u r s t m o d e G C f o r m a t t i n g d o e s n o c r e a t e d i s k d i r e ct o r y o r B A s e c t o r s . I t u s e f u l n e s s l i e si t h c r e a t i o n o f c u s t o m d i s k f o r m a t sw i t h u n i q u e d i r e c t o r y s e c t o r s a n B A ( o f u n c t i o n a l l y e q u i v a l e n t i n d e x e s ) . I c a a l s o b e u s e d a h i g h s p e e d f o r m a t t e r f o a d i s k c o p y i n g p r o g r a m .

T h f i n a l s e t o f c o m m a n d s a l l o w y o t c h a n g e v a r i o u s D O p a r a m e t e r s . T h e s ea r n o r e a l l y b u r s t m o d e c o m m a n d s b u t ,s i n c e t h e y a r e i n c l u d e d i t h b u r s t m o d ec h a p t e r i t h 1 5 7 1 m a n u a l , b r i e fd e s c r i p t i o n i i o r d e r . T h s e c t o r i n

2 I s s u e 2

Page 31: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 31/52

F u n c t i o nR e a d s p e c i f i c s e c t o rM F d i s k s i d e o G C d i s k ( e i t h e rs i d e )

M F d i s k s i d e

W r i t e s p e c i f i c s e c t o rM F d i s k s i d e o G C d i s k ( e i t h e rs i d e )

M F d i s k s i d e

1 5 7 1 B u r s t M o d e C o m m a n d sB y t e S e q u e n c e " u O " + c h r S ( )

6 4 t r a c k * , s e c t o r * , o s e c t o r s( u s u a l l y 1

8 0 t r a c k # . s e c t o r * . o s e c t o r s

6 6 , t r a c k * , s e c t o r * , o s e c t o r s

8 2 ( r a c k * , s e c t o r # o s e c t o r s

I n q u i r e d i s k : r e s e t d r i v e a n l o i M F o G C d i s k b e f o r e a r e a d o r w r i t eM F d i s k s i d e o G C d i s k

M F d i s k s i d e

F o r m a t d i s kM F s i n g l e - s i d e d

M F d o u b l e - s i d e d

G C d i s k d o u b l e - s i d e d , n d i r e c t o r yo B A

2

7 0 . 1 2 9 , 0 , s e c ! o r s i z e ( 0 1 2 b y t e s / s e c t o r , = 2 5 6 . 2 = 5 1 2 ,

- 1 0 2 4 ) , l a s t t r a c k * ( d e f a u l t 3 9 ) , o s e c t o r s p e i r a c k , s t a r t i n g t r a c k *( d e f a u l t 0 ) t r a c k o f f s e t { d e f a u l t 0 ) f i l lb y t e ( d e f a u l t h e e 5 f i r s t b y t e = 1 0 2 t h e n a a b o v e

6 , 0 , I D b y t e # 1 . I D b y l e * 2

S e s e c t o r i n t e r l e a v e ( f o r m u l t i s e c t o r r e a d a n w r i t e )S e i n t e r l e a v e 8 i n t e r l e a v e

R e a d l a s t s e t t i n g 1 3

Q u e r y d i s k l o r m a t : a n a l y z e d i s k f o r m a t ( G C R o M F M - s e c t o r s i z e , s e c t o r s / t r a c k )S i d e 0 t r a c k 1

S i d e 1 t r a c k 0 2

S i d e 0 t r a c k

S i d e 1 t r a c k

1 3 j

1 5 4 / 1

I n q u i r e s t a t u s : c h e c k d r i v e s t a l u s o l o a d s t a t u s r e g i s t e rL o i d i s k w i t h n e s t a l u s 7 6 n e s t a t u s

C h e c k l a s t s t a l u s

C h e c k i f d i s k w a l o g g e d

S e u t i l i t i e sS e c t o r i n t e r l e a v e

o f r e l r i e s o e r r o r s

R O s i g n a t u r e a n a l y s t s

M o d e s e l e c t

S i d e s e l e c t

D e v i c e c h a n g e

F a s t i o a d : r e a d a e n t i r e G C f i l eS E f i l e

P R f i l e

H 2 0

6 2 . 8 3 , v a l u e

6 2 , 8 2 . v a l u e

6 2 , 8 4

6 2 , 7 7 , m o d e { m o d e = 4 f o 1 5 4 1m o d e o 4 f o 1 5 7 1 m o d e )

6 2 7 2 h e a d ( h e a d 4 f o s i d e o 4 f o s i d e 1

6 2 d e v # ( d e v # t 3 0 n o r m a l l yt o l l )

1 5 9 , f i l e n a m e c h a r a c t e rb y t e s . . . + " * "

3 1 . f i l e n a m e b y t e s . . .

B u r s t I n p u t

n o n e

n o n e

d a t a b y t e s

d a t a b y l e s

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

n o n e

B u r s t O u t p u t

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

a a b o v e

o n s t a t u s b y t e a f t e r e a c h s e c t o rt r a n s f e r r e d

a a b o v e

o n s t a t u s b y t e

a a b o v e

n o n e

n o n e

n o n e

f a s t s e t t i n g

o n s t a t u s b y t e t h e n : n o t h i n g e l s e i G C d i s k o r u n r e a d a b l e l o r m a t , o re l s e : a n o t h e r s t a t u s b y t e , n u m b e r o s e c t o r s o t r a c k , l o g i c a l t r a c k * , m i s e c t o r * , m a s e c t o r * , h a r d s e c t o ri n t e r l e a v ea a b o v e

a a b o v e

a a b o v e

n o n e

s t a t u s f r o m l a s t I /

o l s t a t u s i f o g g e d o s t a t u s e r r o rc o d e 1

n o n e

n o n e

d r s k L E b f i n k s t i m e s i f a n a l y s i sf a i l sn o n e

n o n e

n o n e

t o e a c h s e c t o r r e a d : o n s t a t u s b y t et h e n 2 5 d a t a b y t e s ; l o r l a s t s e c t o r :s t a t u s b y t e 3 1 . n e x t b y t e n u m b e ro b y t e s l e f t , t h e n r e s t o d a t a b y t e sa a b o v e

T P U G M a g a z i n e 2

Page 32: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 32/52

t e r l e a v e s e t s t h i n c r e m e n t b w h i c h d i s ks e c t o r s a r f i l l e d d u r i n g n o r m a l D O I / O .T h i s p a r a m e t e r d o e s n o a f f e c t t h w a

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

T h R O s i g n a t u r e a n a l y s i s c o m m a n di b a s i c a l l y R O s e l f t e s t . I f t h R O t e s t f a i l s , t h g r e e n b u s y - l i g h t w i l l f l a s hf o u r t i m e s .

T h m o d e s e l e c t i u s e d t o s e l e c t e i t h e r1 5 4 1 ( s i n g l e - s i d e d , s l o w s p e e d ) o r 1 5 7 1( d o u b l e - s i d e d , s l o w o f a s t s p e e d ) m o d e .E i t h e r m o d e c a n b e a c c e s s e d b a n C o m o d o r e m a c h i n e b u o n l y t h e C - 1 2 8 c a u s t h f a s t s e r i a l d a t a t r a n s f e r . F o e a m p l e , y o c a n u s e t h 1 5 7 1 a d o u b l e -s i d e d d r i v e o V I C - 2 0 o r C - 6 4 . T h s e l e c t e d m o d e r e m a i n s i e f f e c t u n t i le i t h e r t h d r i v e i r e s e t ( h a r d o r s o f tm e t h o d ) o n e m o d e c o m m a n d i i s s u e d . T h s i d e s e l e c t c o m m a n d i a i t e r e s t i n g f e a t u r e . W i t h s i n g l e - s i d e d d i s k s ,t h d a t a a r u s u a l l y s t o r e d o s i d e 0 B s e l e c t i n g s i d e w i t h a s i n g l e - s i d e d d i s k( i . e . 1 5 4 1 m o d e ) , y o c a f o r m a t i t r e a di t o w r i t e t i t t h u s c r e a t i n g p s e u d od o u b l e - s i d e d d i s k . T h i s i s i m i l a r t o f l i pp ( t h e p r o c e s s o t u r n i n g d i s k o v e r t u s t h s e c o n d s i d e o s i n g l e - s i d e dd r i v e ) , e x c e p t t h a t t h f l i p i s e l e c t r o n i c

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

T h f i n a l u t i l i t y c o m m a n d i t h e d e v i c en u m b e r c h a n g e . T h i s i i d e n t i c a l t t h 1 5 4 1 c o m m a n d a n i s e l f e x p l a n a t o r y .

M a n y o f t h e c o m m a n d s w i l l r e t u r nv a l u e c a l l e d t h ' s t a t u s b y t e ' . b i b b i d e s c r i p t i o n o f t h i s b y t e i p r o v i d e d i t h 1 5 7 1 d i s k d r i v e m a n u a l . I g e n e r a l , t h e

l o o r d e r b i t s r e p r e s e n t t h e s t a t u s o ft h e d i s k c o n t r o l l e r . d e c i m a l v a l u e o f 0o f o t h e s e f o u r b i t s i n d i c a t e s t h a te v e r y t h i n g i f i n e . A n o t h e r v a l u e i d i c a t e s a c o n t r o l l e r e r r o r a l i s t e d i t h 1 5 7 1 m a n u a l . T h h i g h o r d e r b i t s a r u s e d f o M F d i s k s . I t h e s e b i t s a r s e t h e n t h d i s k i M F f o r m a t . T h b i t sr e p r e s e n t t h n u m b e r o b y t e s p e s e c t o r .T h s t a t u s c a b c h e c k e d a a n t i m e u si n t h i n q u i r e s t a t u s c o m m a n d .

T a b l e i s u m m a r y o e a c h o t h b u r s t m o d e c o m m a n d s a l o n g w i t h t h eb y t e s e q u e n c e r e q u i r e d t a c c e s s i t A l b y t e v a l u e s a r e i d e c i m a l . I t h e s e c o m a n d s a r e s e n t u s i n g B A S I C c o m m a n ds t r i n g i a o p e n o r p r i n t ? s t a t e m e n t ,

t h s e q u e n c e s h o u l d b e s e n t a " u O " c h r $ ( a ) c h r $ ( b ) c h r $ ( c ) . . .w h e r e a a n a r t h e b y t e v a l u e s l i s t e di t h t a b l e . S i m i l a r l y , f o m a c h i n el a n g u a g e c a l l s , t h l i s t e d b y t e v a l u e ss h o u l d b p r e c e d e d b t h v a l u e s 8 5 4 ( d e c i m a l ) o r 5 5 3 ( h e x ) . I s h o u l d b n o t e d t h a t e r r o r c h e c k i n g i n o p e f o r m e d o n a n y o t h p a r a m e t e r s b e f o r et h e y a r p a s s e d t t h 1 5 7 1 . T h i s m u s tb d o n e b t h c a l l i n g p r o g r a m b e f o r e t h b y t e s a r e s e n t . W h e r e n b u r s t d a t a i p u t o r o u t p u t a r r e q u e s t e d , t h e f u n c t i o nc a n b e c a l l e d e n t i r e l y f r o m B A S I C .

S o m e o f t h e c o m m a n d b y t e s h a v e b e e ns i m p l i f i e d b s e l e c t i n g t h m o s t f r e q e n t -l u s e d o p t i o n s . O t h e r o p t i o n s m a b a v a i l a b l e f o r s o m e o f t h e c o m m a n d s .d e t a i l e d b i b b i d e s c r i p t i o n o e a c h c o m a n d s t r i n g c a n b e f o u n d i t h 1 5 7 1m a n u a l .

T h b u r s t t r a n s f e r p r o t o c o l i r e a l l yq u i t e s i m p l e . H o w e v e r , i c a n n o t b u s e dw i t h a s i m p l e G E T # , I N P U T # , o P R t N T #s t a t e m e n t f r o m w i t h i n B A S I C . D a t a a r t r a n s f e r r e d d i r e c t l y t a n d f r o m t h d a t ar e g i s t e r s o f t h e s e r i a l b u c o n t r o l l e r ( C I A# 1 ) . T h p r o c e s s i e n t i r e l y u n d e r u s e rc o n t r o l ( . e f u l l y m a n u a l ) a n i a l c a s e si h a n d l e d o n b y t e - b y - b y t e b a s i s .

T H C O C K R O A C HT U R B O - R O Mp l u g - i n r e p l a c e m e n t R O f o t h 6 4 1 2 a n

S X 6 4F a s t L O A D , S A V E , V E R I F Y , F O R M A TI n n o c e n t S A V E w i t h R E P L A C ES c r e e n d u m p d u r i n g e x e c u t i o nD O W e d g e :

d i s k s t a t u s ; n o n - d e s t r u c t i v e d i r e c t o r y w i t h w i l dc a r d s ; s c r a t c h , r e n a m e , i n i t i a l i z e , v a l i d a t e ; c l e a rd i r e c t o r y a n f r e e B A M ; c h a n g e d i s k d e v i c en u m b e r ; @ P / @ : o p e n 4 , 4 : c m d 4 / p r i n t # 4 c l o s e 4 ; l o a d w i t h S H I F T / R U N - S T O P ; c o l ds t a r t , u n n e w ; c o m p a t i b l e w i t h V I s w i t c h( L O G O l o a d s i 3 s e e s ) ; h a n t a p e o R S 2 3 2r o u t i n e s b u d o n ' t w o r r y ; y o g e t w R O M S i o n T U R B O p l u s o r i g i n a l k e r n a l t o g g l eb e t w e e n t h e m

$ 6 0 . C D N . $ 4 U . S .C h e q u e , m o n e y o r d e r , V I S A o M A S T E R C A R D

k o b e t e k s y s t e m s l i m i t e d/ ^ n s B f c ^ 1 0 0 7 C o m m e r c i a l S t r e e tT r N e w M i n a s , f \ J . S . B 4 N 3 C 4K J u J ( 9 0 2 ) 6 7 8 - 9 8 0 0

L E R O Y ' S C H E A T S H E E T

C O M M O D O R E 1 2 K E Y B O A R D O V E R L A Y S

D I E - C U T P L A S T I C L A M I N A T E DF o r g e t a b o u t c o n s l a n i l y r e f e r r i n g b a c k t t h m a n u a l t o o p e r a t i n g c o m m a n d s .D i s c o v e r a l t h e " s p e c i a l " c o m m a n d s b u r i e d i t h m a n u a l s .L E R O V S C H E A T S H E E T S " a r s t u r d y p l a s t i c l a m i n a t e d h e l p s h e e t s d e s i g n e d ( o u s w i t h p o p u l a r s o l l w a r e . h a r d w a r e a n l a n g u a g e s l o t h C 1 2 8 c o m p u t e r .C o m m a n d s a r g r o u p e d t o g e t h e r l o l o g i c a l u s e . Y o l e a r n a n u s y o u rp r o g r a m s t a s t e r a n e a s i e r .

F R E EW I T H E A C H

o n l y$ J 9 5

e a c hB A S I C 7 . B L A N K S ( S E T O F 3 )D I S K 1 5 7 1E A S Y S C R I P T

K E Y B O A R D E X T E N D E RO R D E R ( $ 2 . 9 5 V A L U E )

F L E E T S Y S T E M 2 4 P A P E R C L I P 1 2

W O R D P R O 1 2

r , T v X S T . 9 5 -S H I P P I N G 1 . 0 0 *

U S C A N A D A 1 6 T A C H E C K U U C ' Y I S A T D T A I

M C / V I S A *E X P I R A T I O N D A T EN A M F

A D D R E S Sf . l T Y

S T A T F 7 I

M C H E A T S H E E T P R O D U C T S I N C . i p - ^ - nP . O . B t w 1 1 1 3 6 8 P g h . . P a . 1 5 2 3 8 P O " " ( 4 1 ! ) 7 8 1 - 1 5 5 1 i ^ - a ^ J

Page 33: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 33/52

C a l e n d a r o T P U G E v e n t sM e e t i n g P l a c e s

B r a m p t o n C h a p t e r : B r a m p t o n P u b l i c L i b r a r y , F o u r C o r n e r sB r a n c h , 6 Q u e e n S t . , o t h s e c o n d T h u r s d a y o t h m o n t h ,a t 7 : 3 0 p m B u s i n e s s C h a p t e r : T P U G O f f i c e , 1 0 D u n c a n M i l l R d . , S u i t eG - 7 , D o M i l l s , o t h s e c o n d W e d n e s d a y o t h m o n t h , a 7 : 3 0p m C e n t r a l C h a p t e r : T h C e n t r a l C h a p t e r w i l l n l o n g e r b m e e t i n g .C O M A L C h a p t e r : Y o r k P u b l i c L i b r a r y , 1 7 4 5 E g l i n t o n A v e . W ( j u s t e a s t o f D u f f e r i n ) o t h e f o u r t h T h u r s d a y o f t h e m o n t h , a 7 : 3 0 p i t h S t o r y H o u r R o o m ( a d j a c e n t t o t h a u d i t o r i u m ) .C o m m o d o r e 1 2 C h a p t e r : Y o r k P u b l i c L i b r a r y , 1 7 4 5 E g l i n t o nA v e . W ( j u s t e a s t o f D u f f e r i n ) , o t h f i r s t W e d n e s d a y o t h m o n t h , a 7 : 3 0 p i t h S t o r y H o u r R o o m .C o m m o d o r e 6 C h a p t e r : Y o r k M i l l s C I 4 9 Y o r k M i l l s R d ( e a s to B a y v i e w ) o t h l a s t M o n d a y o M a y , a n t h s e c o n d M o d a o J u n e , a 7 : 3 0 p i t h c a f e t o r i u m .C o m m u n i c a t i o n s C h a p t e r : T P U G O f f i c e , 1 0 D u n c a n M i l l R d . ,S u i t e G - 7 , D o M i l l s , o t h e f o u r t h W e d n e s d a y o t h m o n t h ,

a t 7 : 3 0 p m E a s t s i d e C h a p t e r : D u n b a r t o n H i g h S c h o o l ( g n o r t h o n W h i t e sR d f r o m t h t r a f f i c l i g h t s a H i g h w a y a n d W h i t e s R d t n e x tt r a f f i c l i g h t s ; t u r n l e f t t p a r k i n g l o t s ) o t h f i r s t M o n d a y o

M A M O

E a s t s i d e

1

1

2 C o m m o d o r e 6

T U E S

V I 2

1 H a r d w a r e

2 N e U s e r s

2

W E

C - 1 2 8

1 B u s i n e s s

2 S u p e r P E T

2 C o m m u n i c a t i o n s

T H U R S

B r a m p t o n

1 W e s t s i d e / A m i g a

2 C O M A L

2

t h m o n t h , a 7 : 3 0 p m H a r d w a r e C h a p t e r : T P U G O f f i c e , 1 0 D u n c a n M i l l R d . , S u i t eG - 7 , D o M i l l s , o t h s e c o n d T u e s d a y o f t h e m o n t h , a 7 : 3 0 p m

N e U s e r s C h a p t e r : T P U G O f f i c e , 1 0 D u n c a n M i l l R d . , S u i t eG - 7 , D o M i l l s , o t h t h i r d T u e s d a y o M a y , a n t h t h i r d M o d a o J u n e , a t 7 : 3 0 p m S u p e r P E T C h a p t e r : Y o r k U n i v e r s i t y , P e t r i e S c i e n c e B u i l d i n g( c h e c k i r o o m 3 4 0 ) . U s n o r t h d o o r o f P e t r i e t a c c e s s b u i l d i n g .O t h t h i r d W e d n e s d a y o t h m o n t h , a t 7 : 3 0 p m V I 2 C h a p t e r : Y o r k P u b l i c L i b r a r y , 1 7 4 5 E g l i n t o n A v e . W ( j u s t e a s t o D u f f e r i n ) , o t h f i r s t T u e s d a y o t h m o n t h , a 7 : 3 0p i t h e a u d i t o r i u m .W e s t s i d e C h a p t e r : C l a r k s o n S e c o n d a r y S c h o o l , B r o m s g r o v ej u s t e a s t o f W i n s t o n C h u r c h i l l B l v d . , o t h t h i r d T h u r s d a y o t h m o n t h , a 7 : 3 0 p m T P U G m a k e s e v e r y e f f o r t t o e n s u r e t h a t m e e t i n g s t a k e p l a c e w h e na n w h e r e s c h e d u l e d . H o w e v e r , u n f o r e s e e n p r o b l e m s m a o c c as i o n a l l y a r i s e t h a t l e a d t p a r t i c u l a r m e e t i n g b e i n g c h a n g e do c a n c e l l e d . T h T P U G m e e t i n g s l i n e ( U 5 - 9 0 4 0 ) i t h b e s t s o u r c eo f u l l y u p - t o - d a t e i n f o r m a t i o n o m e e t i n g t i m e s , a n s h o u l d b c o n s u l t e d .

A r y o i n t e r e s t e d i o r g a n i z i n g s o m e o t h e r i n t e r e s t g r o u p i t h G r e a t e r T o r o n t o a r e a ? P l e a s e l e t h c l u b o f f i c e k n t n v , b m a i l ,p h o n e o T P U G b u l l e t i n b o a r d .

J U N EM O

E a s t s i d e

C o m m o d o r e 6

1 N e U s e r s

2

3

T U E SV I 2

1

1

2

W E C - 1 2 8

1 B u s i n e s s

1 S u p e r P E T

2 C o m m u n i c a t i o n s

T H U R S

1 B r a m p t o n

1 W e s t s i d e / A m i g a

2 C O M A L

T P U G M a g a z i n e 3

Page 34: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 34/52

S u p e r - O S / 9 B u R e p o r tb A v y g d o r M o i s eM o s t o t h i n f o r m a t i o n i t h i s a r t i c l e w a d e r i v e d f r o m l o n g e r l i s t o b u g s t h a tw a m a i l e d t T P U G b y M i c r o w a r e . O t h o r i g i n a l l i s t , M i c r o w a r e r e p o r t s p r ob l e m s n o t o n l y w i t h O S - 9 L e v e l I b u a l s oa l t h k n o w n p r o b l e m s w i t h O S - 9 L e v e lI f o t h 6 8 0 9 m i c r o p r o c e s s o r , O S 6 8 K( O S - 9 f o t h 6 8 0 0 0 , 6 8 0 1 0 a n d 6 8 0 2 0p r o c e s s o r s ) a n t h d e v e l o p m e n tp a c k a g e .

I n a d d i t i o n , u s e r s o S u p e r - O S / 9 ( O S - 9L e v e l o t h S u p e r P E T ) h a v e r e p o r t e dm o r e b u g s , s o m e o w h i c h e x i s t i t h O S - 9 o p e r a t i n g s y s t e m i t s e l f , a n s o m eo w h i c h w e r e i n t r o d u c e d w h e n T P U Gp o r t e d O S - 9 o n t o t h S u p e r P E T .

A a t t e m p t t f i a l k n o w n b u g s h a b e e n m a d e , w h e r e p o s s i b l e . W h o p e t h a to u r n e x t r e l e a s e o O S - 9 ( V e r s i o n 2 . 0 ) , e p e c t e d e a r l y i t h s u m m e r , w i l l r e s o l v em o s t o t h p r o b l e m s . A a n n o u n c e m e n tw i l l b m a d e i t h m a g a z i n e a s o o n a V e r s i o n 2 . i a v a i l a b l e . T h d i s k w i l l b a v a i l a b l e t o a l S u p e r - O S / 9 u s e r s o r q u e s t , a c h a r g e n o e x c e e d i n g t w i c e t h c o s t o r e g u l a r l i b r a r y d i s k .

S o m e o f t h e b u g s i t h e f o l l o w i n g l i s th a v e a l r e a d y b e e n c o r r e c t e d . T h e s e a r m a r k e d w i t h a a s t e r i s k , a n a r a c c o mp a n i e d b s h o r t e x p l a n a t i o n o f t h e c a u s eo t h b u g , a n d e s c r i p t i o n o f t h e f i x .

V e n d o r ' s B u R e p o r t

T h f o l l o w i n g s e c t i o n l i s t s b u g s r e p o r t e df o O S - 9 L e v e l 1 1 . f o 6 8 0 9 o p e r a t i n gs y s t e m s . I t i s c o n d e n s e d f r o m l i s t p r v i d e d b y M i c r o w a r e , a n d a t e d J a n u a r y1 7 1 9 8 6 .O S - 9 S y s t e mP r o g r a m m e r ' s M a n u a l

T h d e s c r i p t i o n s o t h a n r e g i s t e r s a r r e v e r s e d f o t h F $ A l l B i ts y s t e m c a l l .

T h F $ A 1 1 R A M f u n c t i o n h a a o u t p u t :B e g i n n i n g R A b l o c k n u m b e r . P a g e

1 2 - 3 s t a t e s t h a t t h e r e i n o u t p u t .U s e r ' s M a n u a l

T h d o c u m e n t a t i o n f o t h P r o c u t i l i t yi w r o n g . P r o c d o e s n o l i s t a g e , s t a t u so s i g n a l s .O S 9 P 1

F $ F o r k c a l l : W h e n t h I $ D u p s y s t e mc a l l ( c a l l e d b y F S F o r k ) f a i l s , i m a c r a s ht h s y s t e m , b e c a u s e F $ F o r k u s e s t h er e g i s t e r a c o u n t e r , a n t h a t r e g i s t e rg e t s a e r r o r c o d e b a c k f r o m I $ D u p .O S 9 P 2

F S U n l i n k c a l l ( * ) : T h U n l i n ks u b r o u t i n e h a s b u t h a t c a u s e sI $ D e t a c h n o t w o r k . T h i s i b e c a u s e t h

a n r e g i s t e r s h a v e i n v e r t e d v a l u e s( t h e y n e e d t b e e x c h a n g e d ) . T h i s c a u s e s

p r o b l e m i I O M a n . W h e n 1 i p a s s e da i n v a l i d p o i n t e r , n e r r o r i r e t u r n e d .

C M D SD S a v e

T h e D S a v e u t i l i t y d o e s n o t m a i n t a i n t h a t t r i b u t e s o o w n e r n u m b e r o d i r e ct o r y . T h i s i n o t a b u g , b u t y o s h o u l d b a w a r e o i t L i n k

T r a i l i n g s p a c e s i t h p a r a m e t e r l i s tc a u s e s a e r r o r 2 3 t b r e t u r n e d . T h i sm a b p r o b l e m w i t h F $ P r s N a m .H o w e v e r , t h i s i n o p r o b l e m w i t h L e v e lI s i d o e s n o d i r e c t l y a f f e c t S u p e r - O S / 9u s e r s .

L o g i nA f t e r u s e r l o g s i n i c t r l - a i h i i

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

T h c u r r e n t d a t a d i r e c t o r y m u s t c o t a i n t h e s y s d i r e c t o r y i o r d e r f o l o g i nt b a b l e t o f i n d t h p a s s w o r d f i l e . I o r d e r t e n s u r e t h a t t h e t s m o n c o m m a n ds u c c e e d s , t h u s e r m u s t i s s u e c h c o m a n d t t h d i r e c t o r y c o n t a i n i n gs y s / p a s s w o r d .

S h e l lT h S h e l l g e t s c o n f u s e d w h e n c e r t a i n

c h a r a c t e e r s a r e u s e d i c o m m a n da r g u m e n t s :

f o r m a t / d x < o p t i o n s > " W h a t L u c k ! "f o r m a t / d x < o p t i o n s > " B a l l & C r a n e "

T h " ! a n " & i n s i d e t h q u o t e s i t h e s e c o m m a n d s a r i n t e r p r e t e d b t h S h e l l a s t h e p i p e a n t h b a c k g r o u n d t a s kc h a r a c t e r s r e s p e c t i v e l y . T h i s i n o r e a ll b u g , s i n c e t h e S h e l l i n o t d e s i g n e dt r e c o g n i z e d o u b l e q u o t e ( " a s s t r i n gd e l i m i t e r .B a s i c O 9 ( U s e r ' s M a n u a l )

T h i n f u n c t i o n d e s c r i p t i o n i i n c o rr e c t . T h d o c u m e n t a t i o n s t a t e s t h a t t h f u n c t i o n r e t u r n s t h n e x t s m a l l e s t w h o l en u m b e r , b u i n t ( - 2 . 1 ) r e t u r n s - i n s t e a do f - 3 .

T h s y n t a x d e f i n i t i o n f o r t h r e n u m b e rc o m m a n d i i n c o r r e c t . T h e " , < i n c r > " i o p t i o n a l o n l y i t h b e g i n n i n g l i n e n u m b e ri p r e s e n t . T h i s m e a n s t h a t t h e s y n t a xs h o u l d b e

r [ * ] [ < b e g l i n e # > [ , < i n c r > ] < c r >T h e x a m p l e s f o t h e p r i n t u s i n g s t a t e

m e n t d n o w o r k . I n p a r t i c u l a r :p r i n t u s i n g " r 5 . 1 " , " 9 9 9 9 9 9 9 " p r

d u c e s a n e r r o r ;p r i n t u s i n g " e l 2 . 3 " , 1 2 3 4 . 5 6 7

g e n e r a t e s 1 . 2 3 5 E + 0 3 ;p r i n t u s i n g " e l 2 . 6 > " , - 0 . 0 0 1 2 3 4

g e n e r a t e s * * • • * * • • • * • • _M i c r o w a r e ( M a n u a l )

I n t h e i n d e x , i c l a i m s t h a t t h e r e i t o a s c i i f u n c t i o n o p a g e 4 - 3 2 . T h i s f u n ct i o n , h o w e v e r , i n o d o c u m e n t e d i t h m a n u a l .

T h f i r s t p a r a g r a p h o p a g e 1 - s t a t e st h a t c o p y o K e r n i g h a n a n R i t c h i e ' sT h P r o g r a m m i n g L a n g u a g e c o m e sw i t h e a c h c o p y o t h c o m p i l e r . T h i s i n o t r u e .M i c r o w a r e ( C o m p i l e r )

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

I d 4 , c l r al b n e

w h i c h , o f c o u r s e , n e v e r b r a n c h e s .

T P U G B u R e p o r t

T h f o l l o w i n g s e c t i o n l i s t s b u g s r e p o r t e db S u p e r - O S / 9 u s e r s . T h e s e b u g s s h o u l db f i x e d i V e r s i o n 2 . 0 .

D r i v e r sA C I A *

W h e n t h e r e c e i v e b u f f e r g e t s f u l l ,S u p e r - O S / 9 w i l l h a n g .T h i s p r o b l e m h a b e e n r e s o l v e d b s e t t i n gt h e i n t e r r u p t p r i o r i t y o f t h e A C I A t b l o w e r t h a n t h a t o f t h c o n s o l e , t h u s a l l o w -

3 I s s u e 2

Page 35: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 35/52

i n g t h e c o n s o l e t f u n c t i o n e v e n w h e n t h A C I A i s n o t i n u s e , o w h e n i t i n p u t b u f e o v e r f l o w s , a n t h e r e i n r e a d e r .

I s i m p l e r t e r m s , w h e n c h a r a c t e r a p e a r s i t h s e r i a l p o r t , a i n t e r r u p t i t r i g g e r e d . I t h e r e i n p r o g r a m r e a d i n gi ( l i k e X C o r a 9 ) , o t h p r o g r a m a c c e p t i n gt h d a t a f r o m t h A C I A i t o s l o w t r e a d t h d a t a , a a l a r m c l o c k i p e m a n e n t l y s e u n t i l p r o c e s s r e a l i z e s t h a to n o m o r e b y t e s a r e w a i t i n g t b r e a df r o m t h e p o r t . T h i s a l a r m m a c o n s u m ea l o t h C P t i m e i i h a t o h i g hp r i o r i t y . B l o w e r i n g t h a l a r m p r i o r i t yt b e t h e l o w e s t i t h s y s t e m , t h i n t e rr u p t w o u l d b s e r v i c e d i a n o n l y i t h e r ei p r o g r a m r e a d i n g t h d a t a a n t h s y s t e m c o n s o l e ( / t e r m ) i n o b u s y .T h i s h a s n o t y e t b e e n i m p l e m e n t e d a t h u s e r l e v e l . T h o s e o y o w h h a v e a q u i r e d t h e x t e n d e d s o u r c e c o d e p a c k a g ew i l l f i n d c o n d i t i o n a l d i r e c t i v e i t h ' a c i a . i r q ' m o d u l e t h a t a l l o w s t h e u s e r t e n a b l e o r d i s a b l e M O D E M c o n t r o l o t h A C I A p o r t .

I i n o p o s s i b l e t d i s a b l e M O D E Mc o n t r o l ( C T S / R T S / D C D ) i t h i s v e r s i o n .T h s y m p t o m i t h a t y o u r c o m p u t e r w i l la p p e a r t l o c k u i y o u r m o d e m i n o t u r n e d o n o i i m p r o p e r l y c o n n e c t e d .

I t i s n o p o s s i b l e ( f r o m t h e d r i v e r l e v e l )t g e n e r a t e B R E A K s i g n a l .

T h i s w i l l b a d d e d i r e l e a s e 2 . 0C b m D s k

d i s k d r i v e m u s t b a c c e s s e d a t l e a s to n c e b e f o r e f o r m a t t i n g i o w r i t i n g t i t T h i s a p p l i e s t / d O , / d l , M 2 / d a n / d r a m .I t h ' i n i t ' s u b r o u t i n e , t h e a n r e g i s t e r s w e r e n o u s e d c o r r e c t l y .

T a s k s w i t c h i n g i n o a l l o w e d d u r i n gd i s k a c c e s s e s .T h i s w i l l b t a k e n c a r e o b t h u s o a d i s k c a c h e ( t h a t w h a v e f o u n d t i p r o v e t h d i s k a c c e s s b y u p 2 0 t i m e s ) a n b p o s s i b l y l e t t i n g t h I E E E - 4 8 8h a n d l e r s b i n t e r r u p t - d r i v e n ( y e s , i i p o s s i b l e o t h S u p e r P E T ) .C b m C o n

W h e n t h S h e l l i i d l e , p r e s s i n g c t r l - co c t r l - e w i l l e c h o " E r r o r 2 5 2 " a n " E r o 2 5 3 " i n s t e a d o " E r r o r 3 " ( k e y b o a r da b o r t ) a n d " E r r o r 5 ( Q u i t ) , r e s p e c t i v e l y .I t h ' r e a d ' s u b r o u t i n e , r e g i s t e r w a u s e d i t h s e c a r r y i n s t r u c t i o n i n s t e a do r e g i s t e r A R e g i s t e r n o r m a l l y h o l d st h e e r r o r n u m b e r .

W h e n i n p u t i e x p e c t e d b a n u t i l i t y ,p r e s s i n g t h r u b o u t ( r e p e a t ) k e w i l lm a k e t h e c u r s o r v a n i s h .T h t e r m i n a l d r i v e r d o e s n o t r e a t t h r u b o u t c h a r a c e r a s N O P . I 2 . 0 . r u b o u t

w i l l b d i s p l a y e d a r e v e r s e c h a r a c t e r( G r e e k l e t t e r r a w ) .

R i g h t a f t e r S u p e r - O S / 9 b o o t s , t w c u s o r s a r v i s i b l e o t h e s c r e e n .T h i s i f e a t u r e , n o t a b u g .

T h e r e i n w a y , i t h i s v e r s i o n , t og e n e r a t e t h s p e c i a l b l o c k g r a p h i cc h a r a c t e r s o C b m C o n .B a d d i n g l e a r n f u n c t i o n t C b m C o n ,t h a b o v e p r o b l e m w i l l b r e s o l v e d i v e s i o n 2

T h e r e i n f a c i l i t y f o r e a d i n g s c r e e ns t a t u s i n f o r m a t i o n ( l i k e w i n d o w s i z e , c u s o p o s i t i o n a n c h a r a c t e r u n d e r c u r s o r ) .S a v e C u r s o r a n S e l e c t W i n d o w f u n ct i o n s w i l l b a d d e d t V e r s i o n 2

I y o h a v e a n p r o b l e m s o b u g s , o j u s tw i s h t e x p r e s s a n o p i n i o n , p l e a s e w r i t et m i c a r e o T P U G ( a d d r e s s i l i s t e di t h m a g a z i n e ) , a n w i l l b h a p p y t a n s w e r . ( B e t t e r y e t , w h n o a t t e n d t h S u p e r P E T m o n t h l y m e e t i n g s a Y o r ku n i v e r s i t y a n g e t h a n s w e r s f i r s th a n d . ) I t h q u e s t i o n s r e l a t e t o m a t t e r st h a t m a c o n c e r n t h m e m b e r s h i p a l a r g e , w i l l r e p l y t t h e m i t h i sm a g a z i n e .

S u p e r - O S / 9 * I H e r eT P U G h a i m p l e m e n t e d t h p o p u l a r 6 8 0 9 o p e r a t i n gs y s t e m O S - 9 * o t h S u p e r P E T . S u p e r - O S / 9 g r e a t l ye x p a n d s t h s o f t w a r e a v a i l a b i l i t y a n t h h a r d w a r ec a p a b i l i t y o t h S u p e r P E T w h i l e p r e s e r v i n g a c c e s st t h W a t e r l o o l a n g u a g e s a n p r o g r a m s .

T h c o s t o S u p e r - O S / 9 t c l u b m e m b e r s i $ 2 1 0( C d n ) ( p l u s $ 1 s h i p m e n t / h a n d l i n g O n t a r i o r e s i d e n t sa d 7 P S T ) , w h i c h i n c l u d e s t h c o s t o f h a r d w a r em o d i f i c a t i o n t h a t w i l l n o a f f e c t t h n o r m a l o p e r a t i o no y o u r S u p e r P E T , i n s t a l l a t i o n i n s t r u c t i o n s a n t h o p e r a t i n g s y s t e m d i s k s .

T o b t a i n y o u r c o p y p l e a s e s e n d y o u r c h e q u e o m o n e y o r d e r t o

T P U G1 0 D u n c a n M i l l R d . , S u i t e G - D o M i l l s , O n t a r i oC a n a d a M 3 1 Z W h a t d o e s S u p e r - O S / 9 o f f e r ?

t r u e d i s k o p e r a t i n g s y s t e m w i t h f e a t u r e s f o u n d o U N I X * s y s t e m s a n d o n t h A M I G A .M u l t i - t a s k i n g a n m u l t i - u s e r c a p a b i l i t y .H i e r a r c h i c a l d i r e c t o r y s t r u c t u r e w i t h t i m e / d a t e s t a m p s .P r o g r a m m a b l e f i l e a c c e s s p r i v i l e g e s f o i n c r e a s e ds e c u r i t y .

E x t e n s i v e s o f t w a r e i a v a i l a b l e f o O S - 9 , m o s to w h i c h r u n s o n S u p e r - O S / 9 .

S u p e r - O S / 9 V I . 1 i n c l u d e s a a s s e m b l e r , e d i t o r ,s y m b o l i c d e b u g g e r , c o m m u n i c a t i o n s o f t w a r e a n t e m i n a l e m u l a t i o n p a c k a g e . A v a i l a b l e l a n g u a g e s i n c l u d eB A S I C 0 9 , C I S C O B O L , F o r t r a n 7 7 P a s c a l , L i s p ,a n o t h e r s . A p p l i c a t i o n s o f t w a r e i n c l u d e w o r d p r o o e s -s o r s , s p e l l i n g c h e c k e r s , d a t a b a s e s a n s p r e a d s h e e tp r o g r a m s .

T P U G h a a c q u i r e d p u b l i c d o m a i n s o f t w a r e a n w i l l a s s i s t u s e r s i t h c o n v e r s i o n o c o m m e r c i a l s o f tw a r e t C o m m o d o r e f o r m a t .

P o r t a b i l i t y a n E x p a n d a b i l i t yS u p e r - O S / 9 p r o g r a m s w i l l r u o a l O S - 9 b a s e dc o m p u t e r s ( l i k e t h C o C o ) .S u p e r - O S / 9 w i l l s u p p o r t s t a n d a r d d i s k d r i v e s ( I B Mf o r m a t ) a n t h e H i - r e s g r a p h i c s b o a r d ( 7 0 0 3 0 d o t s ) .S u p e r - O S / 9 s o f t w a r e i c o m p a t i b l e w i t h O S - 9 6 8 a n A T & T U n i x s y s t e m V

F o f u r t h e r i n f o r m a t i o n c a l l T P U G I n c . a ( 4 1 6 ) 4 4 5 - 4 5 2 4 . a s f o B r u c e .N O T E : I y o o w b o a r d S u p e r P E T a n w i s h t a c q u i r e S u p e r - O S / 9 , p l e a s e c a l l T P U G b e f o r e , o r d e ri n S u p e r - O S ' 9 , f o r i n f o a b o u t h a r d w a r e f i x t od e s i g n e r r o r i y o u r S u p e r P E T c o m p u t e r .S u p e r - O S f t ) i t r a d e m a r k o T P U G a n A v y j i d n r M o i s e .O S - 9 i t r a d e m a r k o M i c r o w a r e a n M o t o r o l a .

' M I X i t n i d e m a r k o B e l l L a b o r a t o r i e s .

Page 36: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 36/52

T e l e - C o m m u n i c a t i o n sP a c k a g e

c o m p l e t e p a c k a g e f o s e v e r a l u s e s . O n d i s k i n c l u d e sS w i f t e r m , 1 2 S w i f t e r m a n t h W a G a m e s a u t o

T h r e e p a c k a g e s a l f o t h p r i c e o f o n e !

S P E C I A L SD i s k n o t c h e r S 5 . 9 9D o u b l e y o u r d i a h c a p a c i t y w i t h I h i s M i l e t o o l 'G e n e r i c D i s k s D S / D D 7 9 3 0 B a u d M o d e m s w i t h S w i f t e r m a n Q u a n t u m L i n k $ 3 9 . 9 5

1 2 8 0 - C O L U M N A D A P T E Rd u a l p u r p o s e a d a p t e r t h a t g i v e s y o 8 0 ' C o l u m n s o m o n o c h r o m e t e x t i t h 1 2 m o d e .

s w i t c h i p r o v i d e d t t o g g l e B e t w e e n 4 0 a n d 8 0 m o d e . B o t h s o u n d a n v i d e o c a b l e s a r i n c l u d e d l o c o m p l e t e h o o k - u p . * \

6 4 - 1 2 8 C R O S S R E F E R E N C E B O O KT h i s i t h f i r s t b o o k a v a i l a b l e o l i t h i n d . C o m p l e t e c r o s s - r e f e r e n c e s u s e d l c o v e r t 6 p r o g r a m s o v e r t ! h 1 Z c o m p u t e r B o o k i t o r m a t e d o t h i e l l s i d e w i t h t h e l o c a t i o n a n l a b e l n a m e , a n d t h e n o t h r i g h t w i t h t h e e q u i t v e r t t 1 2 l o c a t i o n T h e n l i r e r a n g e O m e m o r yi c o v e r e d s t a r t i n g a 0 - P a g e g o i n g t h r u B A S I C a n t h e n t h r u t h e O p e r a t i n g S y s t e m . m u s tl o t h e s e r i o u s 1 2 u s e r . $ 1

M A G N U M L O A DL O A D i n e r e p l a c e m e n t K E B N A L ( o p e r a t i n g s y s t e m ) R O c h i p l o y o u r C o m -

6 o 1 2 c o m p u t e r l h a t w i l l t o a d a n v e r i f y p r o g r a m s u p l l i m e s l a s i e r t h a n b e f o r e

n m a b r e t u r n e d N o y o c a g i v e y o u r 1 5 - n d i s k d r i v e 1 5 7 1 s p e e d a t h e r t h a n g i v e y o u m o r e e x a g e r a i e d c l a i m s a b o u t n o m a n y l i m e s l a s i e r o u R O c h i p i o m p a r e d ! t h s l o w e r c a r t r i d g e v e r s i o n s , c o m p a r i s o n c h a r i i s u p p l i e d l i s t i n g

M E A S U R E D l o a d i n g t i m e s .

S t a r -D o

P r o g r a m e d b y J i m D r e wP r o g r a m

P i l s l o p l lM u s i c S h o pH i t c h h i k e r ' s G u i d e t t h G a l a x y . . O n - f i e l d F o o t b a l lE A S Y F I N A N C E . .

S 2 4 9 5F o 1 5 J 1 o M S V e r s i o n' W i l l n o l a s t l o a d d e f a u l t e d b a c K t r e g u l a r l o a d

R e g .L o a d

1 4 s e c .1 0 s e c .

7 s e c .1 4 s e

S f l s e c .

M u c h

4 s e c .1 0 s e c .

7 s e c . '6 s e 1 s e

F a s tL o a d

4 s e 1 0 5 -

N ■ 6 s e c .1 s e c .

M A G N U ML O A D

3 1 s e c .2 1 s e c .6 s a c .5 s e c .1 s e c .

" F a i l e d t l o a d a a l

D i s k 2 n d r i v e I m u l a l o r f o t h A m e g a $ 4 9 . 9 5A - F i l e r c o m p l e t e F i l e P H f o t r i e A m e g a S 4 9 . 9 5

R e p o r t - c o m p l e t e R e p o r t W r i t e r f o t h W m e g a $ 4 9 . 9 5T e r m E x c e l l e n t , e a s y t r e a d t e r m i n a l p a c k a g e f o t h A m e g a 8 4 9 . 9 5

D - C O D E RT r a n s l a t e s a n y m a c h i n e l a n g u a g e p r o g r a m i n l o e a s y t o - r e a d E n g l i s h d e s c r i p t i o n s w i t hc o m p l e t e e x p l a n a t i o n s o e a c h c o m m a n dM a k e s c o m p l e t e n o t a t i o n s o a l i m p o r t a n t m e m o r y l o c a t i o n s a c c e s s e d b I h p t o g r a m( S I D . V i C . M O S . K E R N A L . e t c . !G i v e s y o t h r e o w a y s o a c c e s s i n g p r o g r a m s ;1 W i i l l e a d » n < l l i s l p r o g r a m s < r o m D I S KS W i l l r e a d a n 1 l « t p r o g r a m s ' r o m M E M O R Y3 D i r e c t u s e r i n p u t ( f r o m m a g t z i n s i , « t c . )C a b e u s e d l l o c a l e a n e x a m i n e a n m a c h i n e l a n g u a q e p r o g r a m ' s p r o t e c t i o nr o u t i n e s !C a b e u s e d t e a s i l y b r e a k a p a r i m a c h i n e l a n g u a g e p r o g r a m s f o s t u d y a n e x a m i n a t i o n 'P u n t e r o p t i o n l o c o m p l e t e h a r d c o p y l i s t i n g s ' § Q 9

Y o n l o n g a r n » e d l b a E G G H E A D t r s a d M a c h i n e L a n g u a g e .

N - C O D E RT H P E H F E C T C O M P A N I O N P R O G R A M T D - C O D E R !

A l l o w s y o l o e a s i l y m a k e c h a n g e s i m a c h i n e l a n g u a g e p r o g r a m s . r i g h t o I h d i s k 1R e w r i t e a b i l i t y a l l o w s c o d e l b a l t e r e d a n t h e n r e w r i t t e n d i r e c t l y t t h d i s k 1F e a t u r e s s e c l o r b s e c t o r s c r o l l i n g a s s e m b l y l a n g u a g e d i s p l a y o m a c h i n e l a n g u a g ep r o g r a m s 'N o l a t i o n o A S C I I t e n t e q u i v a l e n t s f o e a s y s p o t t i n g o e m b e d d e d t e x t s t r i n g s 'H a n d y r e i e r e n c e d i s p l a y o a l a s s e m b l y l a n g u a g e c o m m a n d s a n ! h e » M n u m e r i c a le q u i v a l e n t s 'B y l e s p i n i e r l o e a s y S p l i t l i n g o d e c i m a l O Q * » 5a d d r e s s e s i n t o I n b y t e h i g h b y l e f o r m a t '

6 B B F u l l p e r f o r m a n c e b o a r d s w i t h l o t s o l e x t r a ' s n o l o u n d o o t h e r s . B o t h b o a r d s h a v e m e s s a g er o o m s t h a t c a n b e s e l u p t o v a r i e t y o d i f f e r e n t u s e s . E a c h r o o m c a n h a v e i t ' s o w a c c e s sl e v e l a s s i g n e d f o m a x i m u m c o n t r o l• r e a d a n w r i t e r o o m s w i t h u t s e c u r i t l e v e l s

P u b l i c m e s s a g e b a s e a n s y s o p s m a i lb o S e c r e t h i g h e s t l e v e l ( o c o m p l e t e a c c e s so a l f u n c t i o n s

R e m o t e a c c e s s f o s y s t e m o p e r a t o rB o a r d s a c t i v i t y c a n b e s e n t t p n n l e i

3 0 0 / 1 2 0 0 b a u d s e l e c t a b l eU a n d o w n l i l e t r a n s f e r s w i t h a c h o i c eo a c c e s s l e v e l sN e p u n t e r a n X - m o d e m p r o t o c o l s u p o r t e d

A u t o c y c l i n g o E - m a i l

1 2 B B * 3 9

T h i s i t h I t r s ! c o m p l e t e 1 2 b u l l e t i n n o a r d o i t ' s k i n d A l t h e l e a i u r e s o t h 6 4 b o a t d a n m o r e T r i e b o a r d t a k e s a d v a n t a g e o t h e x t r a m e m o r y b p r o v i d i n g c o m p l e t e s e p e r a t es u b - b o a r d U s e r c a n h a v e b o t h b o a r d s a v a i l a D t e a I h s a m e t i m e . I m a g i n e r u n n i n g a n o p e nb o a r d l o e v e r y o n e s e c r e t c l o s e d b o a r d l o t h m o r e s e r i o u s u s e r s L o o k a t h e s e l e a l u i e s

P r i n t O u b o a r d s a c t i v i t y l i n c l u d e w h a tf i l e s a c c e s s e d a n o y w h o .F a s l e r p e i f o r m a n c e a n m o r e s t o r a g eu s i n g t h 1 5 7 1 d r i v e s

S u p p o r t s I f ' e u s o o v e r 5 0 0 u s e r s '

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

S F 0 s $ 3 9 9 5B o t h m o d e m s w o r k o t h 1 6 5 0 . 1 6 7 0 a n t h e i r c o m p a t i b l e s

D I R +D I S K L I B R A R Y C A T A L O G I N G P R O G R A M

H a v i n g p r o b l e m s f i n d i n g t h a t l o s t d i s k * 1 H e r e ' s p r o g r a m t h a t a l l o w s y o l a l p h a b e t i z e a n p r i n t o u y o u r p r o g r a m n a m e s i v e r s a t i l e l o r m a t s c r o l l i n g a r r o w a l l o w s y o t o e d i t o u m e a n i n g l e s s n a m e s a n d k e e p w h a t y o u w a n t K n o w w h a t y o u g o a n w h e r e i t a t

6 t 6 0 t i t l e s ( t C O L U M N S ) c a n b e p r i n t e d p e p a g e b u s i n g o p t i o n a l c o n d e n s e dp r i n t i n g .

• P r i n ! d i s k l a b e l s w i t h y o u r d i s k n a m e s a n I D ' S . f \ Q CC a n s u p p o t t u t 1 1 0 0 p r o g r a m t i t l e s a n d e a n O N L Y 1 a l p h a b e t i z e i l e s s t h a n 1 s e c o n d s 1S a v e I h m a s t e r l i s t t d i s k l o u s w i t h w o r d p r o c e s s o r o d a t a b a s e

D e a l e r a n D i s t r i b u t o r I n q u i r i e s I n v i t e d .

E n c l o s e C a s h i e r s C h e c k . M o n e y O r d e r o P e r s o n a l C h e c k A l l o w 1 d a y s f o d e l i v e r y

t d a y s f o p h o n e o r d e r s . C a n a d a o r d e r sm u s t b i U D o l l a r s V I S A M A S T E RC A R D C O D .P r o g r a m s l o C - 8 4 / 1 2 8 ' 0 * o a l o r d e r s

S o f t w a r e S u b m i s s i o n s I n * t i e d

M e g a S o f tM e g a S o f t C a n a d a L T D .P . O . B o 1 P a r r y S o u n d , O n t a r i o , C a n a d aP h o n e 7 0 5 - 7 4 6 - 8 0 8 1I U S c a l l 8 0 0 - 5 4 1 - 1 5 4 1

L i m i t e d

T e l e * 4 9 4 9 9 0 9 M E G A S

Page 37: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 37/52

o S e c r e t S t u f f T o S e c r e t S t u f f I P r o g r a m e d f i M D r a w

b o i n c o i i e c n o n s o 3 p r o g r a m s p e d i s k e l t e ( t h a i w o r k s o u t a b o u t 5 0 C p e p r o g r a m ! )h e l p y o e x p l o r e a n e n h a n c e y o u r C o m o f l o r e 6 4 a n f l / o i 1 2 a n 1 5 4 1 d i s h d r i v e . N o

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

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

B o t h f o o n l y $ 1 9 9 56 A N N E T O O L B O X 1 2

c o n t a i n s o v e r 1 0 0 r o u t i n e s , s o m e o t t h e m a r l o p r o i e c t . o n , s m o o t h s c r o l l i n g , m o d e ma n d s o u n d a n O c o l o r . A l s o b o o t m a k e r , p a d d l e a n j o y s t i c k t e s t ; r e a d t e r m i n a l , a n

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

s e v e r a l o t n s a m e r o u t i n e s f o t h 1 2 s y s t e m b u a l s o T & e d i t o r f o g o i n gt r a c k 6 6 a l o n g w i t h s c r e e n d u m p l o t h B c o l u m m o d e a n l o t s , l o t s m o r e

C - 6 4 S i d e 2 1 2 8 A l f o S 1 9

G r a p h i c s I

M a s t e rZ o n eT o y l a n d J r

I

W h i l e S u p p l i e s L a s t !$ 0 9 5

M i n n e s o t a F a t sF r o g g e rQ - B e r tP o p e y eQ u a l i t y J o S t i c kR o o t i n T o o t i n

Y o u r C h o i c e E a c h

G R A P H I C L A B E L M A K E RG i v e y o u r l a b e l s t r i e p r o f e s s i o n a l l o u c h W i t h H R e ; G r a p n i c s m a h e y o u r o w r J e s . g n o t u s o n o u 6 p r e m a d e l a b e l s w i t h e a s y t u s o s c r e e n e d i l o r Y o c a i n s e n u p ! o t t : r e e l i n e so t e i l t h e n c h o o s e t h p i c t u r e y o u w a n t t o p u i o I h J e f t h a n d s i d e o f t h e l a b e t T f i e n y o c a p r i n t o u a m a n y l a b e l s a s y o u w a n t T h i s h a g o t b I h n e a t e s t l a b e l p r o q r a m o u

h e r e .

r n : : ■ ■ ■ ■ ; . : .

' N o w w o r k s v i i i h P u n t S h o p S 2 4 9 52 P H O T O C O P Y

P H O T O C O P Y i g r a p h i c s i n t e g r a t i o n p r o g r a m w h i c h l e t s y o c r e a t e N E W S R O O M p h o t o s a n b a n n e r s f r o m o t h e r g r a p h i c sp r o g r a m s . F i l e s a l s o c a b c o n v e r t e d f r o m N E W S R O O M t P R I N T S H O P . P h o t o c o p y i s a n i d e a e n h a n c e m e n t t N E W S R O O Mg i v i n g y o t h v e r s a t i l i t y t o i n c r e a s e y o u r g r a p h i c s l i b r a r y .

P h o t o c o p y w i l l c o r w e r ! N E W S R O O M p h o t o s ! P R I N T S H O PP h l o c o p y w o r n s w i t h v a r i e t y o l i l e s ' D O O D L E . F L E X 1 D R A W . P R I N T S H O P . S C R E E N M A G I C

G R A P H I C S B A S I C . C O M P U T E R - E Y E S " .P h o t o c o p y w i l l c o n v e r t N E W S R O O M p h o t o o b a n n e r t o P R I N T S H O P g r a p h i c .P h o t o c o p y w o r K s w i t h i h e 1 5 4 1 , 1 5 7 1 a n i h I n d u s d r i v e s .

$ 1 9 9 5N e w s r o o m . D o o O l e . P n n t s h i p , F l e x i d r a w . a n d G r a p h i c s B a s i c a r i r a d e m a r V s o S p r i n g b o a r dS o f t w a r e . C i t y S o f t w a r e . B r o d e r b u n d S o f t w a r e . I n k w e l l S y s t e m s , a n H e s w a r a r e s p e c t i v e l y .

W e ' l l S e n d Y o u M o n e y !T h a t ' s r i g h t T P U G I n c . w i l l s e n d y o u w i t h N o b l i g a t i o n ( o o u p a r t ) h a r d c a s h t h a t y o c a s p e n da y o p l e a s e . Y o d o n ' t e v e n h a v e t b T P U G m e m b e r !H a r d t b e l i e v e ? I t ' s t r u e !

H e r e ' s h o t t a k e a d v a n t a g e o f t h i s s p e c i a l o f f e r :J u s t s e n d u s e l f - a d d r e s s e d s t a m p e d e n v e l o p e , a l o n gw i t h a o r i g i n a l u n p u b l i s h e d a r t i c l e s u i t a b l e f o T P U GM a g a z i n e . T h t o p i c d o e s n ' t m a t t e r j u s t m a k e s u r e t h a ti r e l a t e s t C o m m o d o r e c o m p u t e r s , a n t h a t i t ' s b r i l l i a n t .W d t h r e s t .

Y o u r a r t i c l e s h o u l d b o C o m m o d o r e d i s k , p r e f e r a b l yw i t h a c c o m p a n y i n g h a r d c o p y . S e q u e n t i a l P E T A S C I I f i l e sa r b e s t , w i t h n e m b e d d e d w o r d p r o c e s s o r c o m m a n d s ,b u o t h e r f o r m a t s a r a c c e p t a b l e . J u s t b s u r e t s t a t e b o t hd i s k f o r m a t a n d w o r d p r o c e s s o r u s e d o t h l a b e l o f t h d i s k , a l o n g w i t h y o u r n a m e a n t h f i l e n a m e o t h a r t i c l e .W e ' l l g e b a c k t y o a s o o n a p o s s i b l e , u s u a l l y w i t h i nt h r e e w e e k s o r e c e i v i n g y o u r s u b m i s s i o n .

B t h w a y , i y o h a v e a i d e a f o a a r t i c l e , b u y o u ' r en o s u r e w h e t h e r i t ' s s u i t a b l e f o T P U G M a g a z i n e , c h e c k i o u w i t h u s f i r s t . J u s t c a l l ( 4 1 6 ) 4 4 5 - 4 5 2 4 ( t o E S w e e k d a y s ) , o d r o p u s l i n e a t S u b m i s s i o n s D e p a r t m e n t .T P U G M a g a z i n e . 1 0 D u n c a n M i l l R o a d . S u i t e G - 7 . D o M i l l s , O n t a r i o . C a n a d a M 3 1 Z 3 .

A n r e m e m b e r , i w p r i n t y o u r a r t i c l e w e ' l l s e n d y o m o n e y !

" C e c i l ' s 6 5 0 2 / 6 5 1 0 C o n d i t i o n a l M a c r o A s s e m b l e r "a n " A s s e m b l y L a n g u a g e S o u r c e C o d e E d i t o r "

f o C o m m o d o r e 6 4 o C o m m o d o r e 1 2 8 ®o C o m m o d o r e S X 6 4 ®A p a c k a g e o p r o g r a m m i n g l o o l s o o n 5 ' D I S K c r e a t e d f o e v e r y

a s s e m b l y l a n g u a g e p r o g r a m m e r .F u l l y c a p a b l e f o t h e p r o f e s s i o n a l : " " C e c i l s A s s e m b l e r ' a l w a y s E V A L UA T E S T H E W H O L E E X P R E S S I O N . T H E N R E T U R N S T H C O R R E C TH I G H / L O W b y t e " .C e c i I E d i t o r p r o v i d e s e a s y a c c e s s t e x t e n s i v e o n - l i n e h e l p s c r e e n s l o r av a r i e t y o i n f o r m a t i o n a b o u t t h i s a s s e m b l e r p a c k a g e . O n - l i n e h e l p d s c r i b e s t h e a s s e m b l e r s y n t a x , p s e u d o - o p s a n d m a c r o i n s t r u c t i o n s , a n t h e d i l o r c o m m a n d s .

F e a t u r e s b u i l t - i n m a c r o i n s t r u c t i o n s t c o m p l e t e t h b r a n c h o j u m p o c o n d i t i o n i n s t r u c t i o n s e t s .L a b e l s m a b u t 1 c h a r a c t e r s i l e n g t h A l 1 c h a r a c t e r s a r c o n s i d e r e d s i g n i f i c a n t .I n c l u d e s f u l l - s c r e e n e d i t o r w i t h e n h a n c e d D O c o m m a n d s .N e s t s m a c r o s t 3 d e e p .I n c l u d e s p s e u d o - o p s t c o n t r o l t h a s s e m b l y p r o c e s s .S t o p s o e r r o r a n d / o r i d e n t i t i e s e r r o r t y p e a n l o c a t i o n .S u p p o r t s m o s t p r i n t e r s a n i n t e r f a c e s a n a l l o w s m u l t i p l e d i s kd r i v e s .P r i n t s i t o w i n s t r u c t i o n m a n u a l .

O N L Y * 4 9 . 9 5 C d n . o r * 3 4 . 9 5 U . S . b C h e c k . M o n e y O r d e r ,V i s a o r M a s t e r C a r d t o

N O R T H O H I O F I R M W A R EB o 2 6 6 1N o r t h C a n t o n , O h i o 4 4 7 2 0 - 0 6 6 1

( E n g l i s h ( C 6 4 -( G e r m a n C 1 2 8 ' i n C 6 4 ? M o d e

F r e n c h ( S X 6 4I n f o r m a t i o n S I . 7 1 C d n . S i . O O U . S

O C a l l 2 1 6 / 4 9 7 - 0 7 3 6 f r o m 9 : 0 0 a . m . t 1 1 : 0 0 p . m . E S T .C o m m o d o r e 6 • C o m m o d o r e 1 2 8 " a n C o m m o d o r e S X 6 4 - a r r e g i s t e r e dt 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 s .

Page 38: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 38/52

L i b r a r y A d d i t i o n sC P / M D i s k ( Z ) A CP r e s e n t e d b A d a m H e r s t

O n l y o n e d i s k t o r e p o r t o t h i s m o n t h b u t ,g i v e n t h p a n i c k y c a l l s I ' v e b e e n g e t t i n g ,

l i t t l e i n f o r m a t i o n c o n c e r n i n g t h u s o C P / M d i s k s i i o r d e r .

C P / M d i s k s 7 n u s t b e u s e d i C P / Mm o d e . W h i l e d i r e c t o r y o s o r t s c a b p u l l e d f r o m C P / M d i s k i 1 2 m o d e , i i n d i c a t e s t h a t t h e r e a r e n f i l e s o t h d i s k w i t h 0 b l o c k s f r e e . I y o g e a d i s ky o t h i n k h a n f i l e s o i t t r a c c e s s i n gi i C P / M m o d e .

I C P / M m o d e , t h c o m m a n d s w i t hw h i c h y o a r f a m i l i a r f r o m B A S I C d n o w o r k . Y o c a n n o t u s l o a d , s a v e , l i s to r u w i t h C P / M p r o g r a m s . T p u l ld i r e c t o r y f r o m C P / M d i s k y o m u s t u s t h e d i r c o m m a n d ( t r y t h f 3 k e y ) . T r u

C P / M p r o g r a m , y o m e r e l y t y p e i t n a m e a t t h e p r o m p t . I t h i s f i l e i . c o mf i l e i t w i l l b e l o a d e d a n a u t o m a t i c a l l yb e g i n e x e c u t i o n .

S i n c e t h e r e i n l i s t c o m m a n d , t h f o m a o t h s t a n d a r d T P U G l i s t . m e f i l eh a b e e n s l i g h t l y m o d i f i e d . T h e s e f i l e s a r n o c a l l e d t y p e . m e f i l e s , b e c a u s e C P / Md o e s p o s s e s s b u i l t - i n t y p e c o m m a n d . T v i e w t h t y p e . m e f i l e e n t e r t y p e? ? ? / t y p e . m e a t h p r o m p t .

O t h i s m o n t h ' s d i s k a r e n u m b e r o u t i l i t y p r o g r a m s d o n a t e d b y T P U Gm e m b e r O r F l a n i n g a m . D S a n Z a r a l d i r e c t o r y p r o g r a m s t h a t a r s m a l l e r a n f a s t e r t h a n D I R . Z c o m e si . l b r f i l e , a n c a n b e e x t r a c t e d u s i n gt h l i b r a r y u t i l i t i e s o t h i s d i s k . D i d i s k t r a c k a n s e c t o r e d i t o r . D e s i g n e d f o

K a y p r o d i s k , i s h o u l d w o r k o C - 1 2 8d i s k s . D o c u m e n t a t i o n i i D U - V 8 3 . D O C .S Z i a n o t h e r d i s k e d i t o r .

L D I R , L R U N , L U L U X , L U X D I R ,L U X T Y P a r a l u t i l i t i e s f o m a n i p u l a t i n g l i b r a r y f i l e s . L U 3 0 0 . D O Cs h o u l d t e l l y o e v e r y t h i n g y o w a n t t k n o w a b o u t l i b r a r y f i l e s . S a n U S a r r e c e n t v e r s i o n s o f t h e S q u e e z e a n U s q u e e z e u t i l i t i e s w i t h c o p i o u s d o c u m e n ta t i o n . S t a r t i n g i t h n e a r f u t u r e , p r g r a m s o T P U G C P / M d i s k s w i l l b d i t r i b u t e d a s s q u e e z e d l i b r a r y f i l e s t s a v eo l i m i t e d d i s k s p a c e .

N S W P i m o r e r e c e n t v e r s i o n o t h S W f i l e c o p y u t i l i t y . D o c u m e n t a t i o np r o v i d e d i N S W P . D O C . M F i h i g h

s p e e d , s i n g l e - d r i v e f i l e c o p i e r . T h i s o n i v e r y u s e f u l !

F i n a l l y , V D i a g o o d , W o r d s t a r - l i k ew o r d p r o c e s s o r a n t e x t e d i t o r .D o c u m e n t a t i o n i p r o v i d e d t h r o u g ho n l i n e h e l p m e n u s a n m a n y o t h W o r ds t a r c o m m a n d s a r h o n o u r e d .

N e x t m o n t h s h o u l d s e e t h r e l e a s e o n u m b e r o p u b l i c d o m a i n l a n g u a g e s f o

C P / M . R e m e m b e r t s e n d u a n p u b l i cd o m a i n p r o g r a m s y o u m a h a v e . I r e t u r n w w i l l s e n d y o d i s k o y o u rc h o i c e f o e a c h o n w r e c e i v e a n u s e .z a c / t y p e m d u - u 8 3l i b r a r yl l u l u x t y p

m f n s w p 1 4 2s q / u s qs z u s v d

d o b

o o c o c o d o d o d 0 d o d o d o

d l d i rl r u nI u 3 0 0l u x d i rm f n s w ps

s z u s v d z

c o c o c o d o c o c o c o c o c o c o c o l b

S u p e r P E T D i s k ( S ) T ZP r e s e n t e d b y B i l l D u t f i e l dF i n a l l y , t c o m p l e t e t h e a d d i t i o n s t t h S u p e r P E T L i b r a r y , S u p e r P E T d i s k w a r e l e a s e d i D e c e m b e r . T h i s d i s k , c o t r i b u t e d b A l a i n P r o u x , c o n t a i n st u t o r i a l o w r i t i n g m a t h f u n c t i o n s i 6 8 0 9a s s e m b l e r . T h e r e a r n i n e m o d u l e s , s u p o r t e d b t h r e e d e m o n s t r a t i o n p r o g r a m s ,c o v e r i n g : a c c u m u l a t o r s a n r e g i s t e r s , I nt e g e r s ( m o d u l e s ) , f l o a t i n g p o i n tr o u t i n e s , f i r s t s t e p s i F a r i t h m e t i c , o u p u f o r m a t t i n g , a d v a n c e d i n p u t t i n g , i p u a n o u t p u t o p e r a t i o n s a n c o m m e n t so d e m o p r o g r a m s .

s u p e r p e t d i s k f s ) t z" d e s c r i b e . d e c / 8 5 " s e " - m a t h s w i t h t h e - " s e

a s s e m b l e r s e • 5 e " — e d i t o r f i l e s - - " s e

3 1 4 2 S 5 3 3

1

2

1 1

4 3 1 2 1

2

" m a t 2 : e "" m a t 3 : e "" m a t 4 : e "" m a t . 5 : e "" m a t 6 : e "" m a t 7 : e "" m a t b : e "" m c t t 9 : e "

" - - s o u r c e c o d ei n t e g e r s

" i n t e g e r s . a s m "" i n t e g e r s . c m d "

s t o r a g e" s t o r a g e . a s m "" s t o r a g e . c m d "

d e m o" m a i n . a s m "" r o u t i n e s . a s m "

i n p u t . a s m "" d i s p l a y . a s m "" f o r m a t ] n g . a s m "" s a v e . a s m "" v a r i a b l e s . a s m "" d e m o . c m d "

" - m a i n m e n u p r g ~ M" i n t e g e r s : m e n "" s t o r a g e : m e n "" d e m o : m e n "

" s a m p l e d a t a f i l e "" s a m p l e : d d "

s e s e

s e s e s e s e s e s e s e t ]s e s e s e s e s e s e s e s e s e s e s e s e s e s e s e s e s e s e

s e s e s e

C - 1 2 8 D I S K ( Y ) A B

1

3

- - i n t r o d u c t i o n - -" m a t 0 : e "

t u t o r i a l s" m a t i : e "

s e s e s e s e

P r e s e n t e d b y J a m e s K o k k i n e nI y o h a v e d e v e l o p e d C - 1 2 8 p r o g r a m s f o t h p u b l i c d o m a i n t h a t y o f e e l a r w o r t hs h a r i n g w i t h T P U G ' s m e m b e r s h i p , w a r a n x i o u s t r e v i e w t h e m f o r p o s s i b l ei n c l u s i o n i f u t u r e m o n t h l y o s p e c i a l t yd i s k s . P r o g r a m s t h a t i n c l u d e d o c u m e n t at i o n o d i s k a r e p r e f e r r e d .

T h i s i t h s e c o n d d i s k e n t e r e d i n t o t h T P U G C - 1 2 8 l i b r a r y f o o p e r a t i o n i C - 1 2 8 M o d e . I c o n t a i n s s o m e e x a m p l e so t h t y p e s o p r o g r a m s t h a t c a n b ed e v e l o p e d o t h i s c o m p u t e r i b o t hB A S I C 2 . a n B A S I C 7 . 0 . T h i s d i s k c o t a i n s f o u r g a m e s , a l e d u c a t i o n a l , c o l e c t i o n o c l e v e r s a y i n g s a n a w e a l t h o w e l l - d o c u m e n t e d u t i l i t i e s f o r e a d i n g , f o r -

3 I s s u e 2

Page 39: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 39/52

m a t t i n g , p r o g r a m m i n g , a n d b o o t i n g y o u rp r o g r a m s i C - 1 2 8 m o d e f o b o t h B A S I Ca n C P / M f o r m a t s a a p p l i c a b l e .

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

W o p e n w i t h N u m b e r I n v a d e r s , a e d u c a t i o n a l m a t h g a m e f o p l a y e r s o a l a g e s . Y o s e t h l e v e l o d i f f i c u l t y , g i v ey o u r n a m e , a n t h g a m e k e e p s t r a c k f o

p r o v i d i n g r e w a r d s f o e x c e e d i n gp r e v i o u s s c o r e . S c o r e s - N u m . I a n

R a c e c a r 4 . s p r a r s u b - p r o g r a m s o t h i s

F a c t o r R a c e . y i m o r e a d v a n c e dg a m e a d a p t e d f r o m t h C - 6 4 l i b r a r y

r u o b o t h 4 0 a n 8 c o l u m n s c r e e n s .a n D e f i n i t i o n . y a r e b o t h

g a m e s i n c l u d i n g d o c u m e n t a t i o n t h o u r s o e d u c a t i o n a l f u n . P r o v e r -

i c o l l e c t i o n o s h o r t s a y i n g s ,a n a n e c d o t e s . I t i s b e s t v i e w

o t h 4 c o l u m n s c r e e n .M o v i n g o t u t i l i t i e s , w h a v e

. y a n i t p a r t n e r F i l e c o n . m l ,c a n b e u s e d t c o n v e r t B A S I C t e x t

t C P / M t e x t f i l e s a n v i c e v e r s a .i a s e q u e n t i a l d o c u m e n t a t i o n

f o F i l e c o n . y . I B M - F i l e c o n - l s t i p r o g r a m y o c a t y p e t a I B

d i s k e t t e t p e r f o r m s i m i l a rs o I B P C s . I B M - F i l e c o n -

n t e l l s y o h o w . A u t o b o o t m a k e r 2 . y i i t s t i t l e i m p l i e s , w i t h d o c u m e n t a t i o n

t i t u s i A u t o b o o t . i n s .H i - R e s T e x t . y a l l o w s b i m a p p i n g o

r s i z e t e x t o g r a p h i c s s c r e e n s . T h i s i o u s e w i t h i n o t h e r p r o g r a m s , a n m a

o p e r a t o r a d j u s t m e n t s i o r d e r t t h d e s i r e d r e s u l t s . H i - R e s . i n s

M e r g e k e y s e t u p . y p r o v i d e s o n e - k e yt a p p e n d p r o g r a m f i l e s

f o w r i t i n g l o n g , m u l t i p a r t p r D o c u m e n t a t i o n i p r o v i d e d i

e . i n s . K e y 2 . e d . y i a e d i t p r o g r a me d i K e y e d . i n s . M F M f o r m a t 2 . y

o w s t h e f o r m a t t i n g o d i s k s i s e v e r a lC P / M M F f o r m a t s w h i l e i

m o d e . M F M d i s k . i n s i t h d e s c r i b i n g t h i s o n e . C P

a l l o w s t h e v i e w i n g o t h e b l o c ki o n o C P / M d i s k s w h i l e i C - 1 2 8I t u s e f u l n e s s a n l i m i t a t i o n s a r e d i B l o c k . i n s .

A l l i n a l l , t h i s i w e l l - r o u n d e d p a c k a g ee n h a n c e a n c o l l e c t i o n .

c - 1 2 8 d i s k I y ) a b" L i s t - m e ( y ) a b "

g a m e s" n u m b e r i n v a d e r s "" s c o r e s - n u m . i , " s e

" r a c e c d r 4 . s p r "2 " f a c t o r r a c e . y "2 " g e o g r a p h y . y "8 " d e f i n i t i o n . y "5 " p r o v e r b i a l . y "

" . u t i l i t i e s . . . "1 " f i l e c a n . y "

" F i l e c o n . m l "1 " f i l e c o n . i n s "

2 " i b m - f i l e c o n - l s t "1 " i b m - f i l e c o n - i n s "

" a u t a b o a t m a k e r 2 . y "" a u t o b o o t . i n s "" h i - r e s t e x t . y "

1 " h i - r e s . i n s "" m e r g e k e y s e t u p . y "" m e r g e . i n s "M K e y 2 . e d . y "" k e y e d , i n s "" m f m f o r m a t 2 . y" m f m d i s k . i n s "" c p m b l o c k , y "" b l o c k . i n s "

p r s e s e s e p r s e

s e P r s e P r s e

s e

s e

V I 2 D i s k ( V ) T RP r e p a r e d b R i c h a r d B e s tF e b r u a r y ' s a d d i t i o n t t h V I L i b r a r yc o n t a i n s c o n c e n t r a t i o n o f e d u c a t i o n a lp r o g r a m s , b u e v e r y o n e s h o u l d b a b l e t f i n d s o m e t h i n g u s e f u l o i n t e r e s t i n g h e r e .M a n y o t h p r o g r a m s d n o r e q u i r e a n e x p a n s i o n .

T h d i s k / t a p e s t a r t s o u w i t h a i n t e re s t i n g g a m e c a l l e d r e s c u e , w h e r e i n y o m u s t r e s c u e l i t t l e m e n w h o h a v e b e e nt r a p p e d o l e d g e s i n s i d e c a v e . T h c a v ei p a t r o l l e d b d e a d l y f l y i n g d r a g o n s . T h o n o t h e r g a m e h e r e i f o o t b a l l f o r a n e xp a n d e d V I C . T h s c r e e n d i s p l a y i b i s p a r s e , b u t h e f l a v o u r o f t h e g a m e i m a i n t a i n e d .

I t h u t i l i t y d e p a r t m e n t w h a v ep a u s e , w h i c h t u r n s t h l e f t s h i f t k e y s i n t op a u s e k e y s . U s t h i s o n t s t o p a n r e s t a r t p r o g r a m l i s t i n g s w h e n d e b u g g i n g .e a s t e r w i l l c a l c u l a t e t h d a t e o E a s t e rS u n d a y f o j u s t a b o u t a n y e a r .

c o m i c f i l e i n i c e l y w r i t t e n f i l em a n a g e r f o t a p e u s e r s . I h e l p s y o t c r e a t e a n m a i n t a i n d a t a b a s e o y o u rc o m i c b o o k c o l l e c t i o n , f i l e m a s t i a u p g r a d e o f i l e m a s t e r " , w h i c h a p p e a r e do ( V ) T L . T h i s ' s c r u n c h e d ' v e r s i o n a l l o w sy o t c r e a t e l a r g e r f i l e w h e n u s i n g o n l y8 o e x p a n s i o n . Y o w i l l n e e d a d i s kd r i v e .

W h a v e t w S u p e r E x p a n d e r d e m o st h a t i l l u s t r a t e a n i m a t i o n w i t h p e r s p e ct i v e E a c h m o v e s f l y i n g s a u c e r f r o m o n ec o r n e r o f t h e s c r e e n u t t h f r o n t , u f o - 1

T h W a l k e r1 I n s e r t y o u r C O M A L d i s k i d r i v e * .2 T y p e L O A D " C 6 4 C O M A L * " , 83 T y p e R U ( B t a r t 8 C O M A L )4 T y p e A U T O

( C O M A L p r o v i d e B t h e l i n e n u m b e r s )5 E n t e r t h p r o g r a m l i n e B s h o w n b e l o w

( C O M A L i n d e n t s l i n e s f o y o u )6 H i R E T U R N k e t w i c e w h e n d o n e7 T y p e R U

W a t c h a a n i m a t e d s p r i t e h o b b l ea c r o s s t h s c r e e n . C h a n g e t h ( 9 9 )i l i n e 4 5 f o r r e a l l y f a s t w a l k i n g

0 0 1 0 s e t u p0 0 2 0 r e p e a t0 0 3 0 w a l k i n g0 0 4 0 u n t i l k e y $ = n q " / / t Q u i t0 0 5 0 / 0 0 6 0 p r o c s e t u p0 0 7 0 b l u e : = 1 4 ; p i n k : = 1 00 0 8 0 w h i t e : = l ; b l a c k : = 00 0 9 0 d e f m e i m a g e s0 1 0 0 r e p e a t0 1 1 0 i n p u t " s p e e d ( 1 - 1 0 ) : " s p e e d0 1 2 0 u n t i l B p e e d > = : l a n s p e e d < = 1 00 1 3 0 b a c k g r o u n d b l a c k0 1 4 0 B e t g r a p h i c0 1 5 0 s p r i t e b a c k b l u e , p i n k0 1 6 0 B p r i t e c o l o r 1 , w h i t e0 1 7 0 s p r i t e a i z e l . f a l s e . f a l s e0 1 8 0 p l o t t e x t l , l , " p r e s a t q u i t "0 1 9 0 e n d p r o c s e t u p0 2 0 0 / 0 2 1 0 p r o c d e f i n e ' i m a g e s c l o s e d0 2 2 0 d i s h a p e $ o 6 4 c $ o f0 2 3 0 s h a p e $ ( l : 6 4 ) : = " "0 2 4 0 s h a p e $ ( 6 4 ) : = c h r $ ( l ) / / m u l t i c o l o r0 2 5 0 c $ : = c h r $ ( 0 )0 2 6 0 f o x = 2 2 t 6 d s h a p e $ ( x ) : = c $0 2 7 0 c $ : = c h r $ ( l 7 0 )0 2 8 0 f o x = t 2 d s h a p e $ ( x ) : = c $0 2 9 0 d e f i n e 0 , s h a p e $0 3 0 0 c $ : = c h r $ ( 2 0 )0 3 1 0 f o x = 2 2 t 4 d s h a p e $ ( x ) : = c $0 3 2 0 d e f i n e l , s h a p e $0 3 3 0 d e f i n e 3 , a h a p e $0 3 4 0 c $ : = c h r $ ( 6 0 )0 3 5 0 f o x = 4 3 t 6 d s h a p e $ ( x ) : = c $0 3 6 0 d e f i n e 2 , s h a p e $0 3 7 0 e n d p r o c d e f i n e ' i m a g e s0 3 8 0 / 0 3 9 0 p r o c w a l k i n g0 4 0 0 f o w a l k : = l t 3 1 d i s p e e d d 0 4 1 0 x : = w a l k * s p e e d0 4 2 0 y : = l 0 0 + w a l k m o 0 4 3 0 s p r i t e p o s l , x , y0 4 4 0 i d e n t i f y l . w a l k m o 0 4 5 0 p a u s e { 9 9 )0 4 6 0 e n d f o r w a l k0 4 7 0 e n d p r o c w a l k i n g0 4 8 0 / 0 4 9 0 p r o c p a u s e ( d e l a y ) c l o s e d0 5 0 0 f o w a i t : = l t d e l a y d n u l l0 5 1 0 e n d p r o c p a u s e

I y o d o n ' t h a v e C O M A L y e t , o r d e rP r o g r a m m e r ' s P a r a d i s e P a c k a g e - S l 9 . 9 5 .I i n c l u d e s t h e c o m p l e t e C O M A L s y s t e mp l u s o v e r 4 0 p a g e s o f i n f o r m a t i o n . A d $ m o r e t g e o u r 2 0 i n t e r a c t i v e l e s s o nT u t o r i a l D i s k . A d $ s h i p p i n g . V i s a / M Co U f u n d s c h e c k a c c e p t e d . S e n d t o

C O M A L U s e r s G r o u p U S 6 0 4 1 M o n o n a D r i v e , R o o m 1 0 M a d i s o n , W 5 3 7 1 6p h o n e 6 0 8 - 2 2 2 - 4 4 3 2

T P U G M a g a z i n e 3 7

Page 40: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 40/52

L i b r a r y A d d i t i o n s .m o v e s t h e o b j e c t b r e d r a w i n g e a c h l i n ei t u r n , a n u f o - 2 r e d r a w s t h e n t i r es h i p . T h e s e w e r e w r i t t e n b y p h y s i c s p r f e s s o r a n c o n t a i n l o t s o c o m m e n t s a n s o m e i n t e g r a l m a t h .

T k e e p t h o s e o l g r a y c e l l s w o r k i n g ,w h a v e n i c e c o l l e c t i o n o f q u i z e s a n t u t o r i a l s , b r a i n t e a s e r s i m i n i I Q t e s t ,g u a r a n t e e d t t a y o u r p r o b l e m - s o l v i n ga b i l i t i e s . I y o u ' v e b e e n h a v i n g t r o u b l es o r t i n g o u n u m b e r i n g s y s t e m s , p l a c ev a l u e w i l l h e l p b d r i l l i n g y o o t h d e c i m a l s y s t e m . v e r y n i c e , g r a p h i cl e s s o n i f r a c t i o n s i p r e s e n t e d i p i c h a r t . Y o w i l l n e e d S u p e r E x p a n d e r ,a 8 e x p a n d e r a n ' m o t h e r b o a r d ' t r u t h i s o n e .

Y o u n g s t e r s w h a r j u s t l e a r n i n gm u l t i p l i c a t i o n a n d i v i s i o n s h o u l d f i n d2 - D i g i t M u l t a n 2 - D i g i t D i v e r yh e l p f u l . E a c h d r i l l s t h s t u d e n t b p r i nt i n g p r o b l e m s o t h s c r e e n . T h p r b l e m s a r p r i n t e d a s t h e y w o u l d a p p e a ro p a p e r a n d y o u s o l v e t h e m j u s t a y o w o u l d i w o r k i n g o n p a p e r . T h i s i e s p e c i a l l y e f f e c t i v e i 2 - D i g i t D i v , w h i c hr e j e c t s i n c o r r e c t n u m b e r s a n p r o v i d e sh e l p f u l p r o m p t s .

v i d i s k ( w ) t r9 " l i a t - r a e ( v ) t - r / 1 " p r

" l i s t - m e ( v ) t - r / 2 " p r g" r e s c u e b o o t . w " p r

1 " r e s c u e . v 5 k " p r " p a u s e . v " p r

1 " b r a i n t e a s e r s . w " p r " p l a c e v a l u e . v " p r " c o m i c f i l e . v " p r

1 " 2 - d i g i t m u l t . v " p r 1 " 2 - d i g i t d i w . v " p r g

" e a s t e r . v " p r " u f o - i . w s x " p r " u f o - 2 . v s x " p r

2 8 " p i e c h a r t . v s x + B " p r 1 " f o o t b a l l . v 1 2 k " p r

2 " f i l e m a s t 2 . v 1 2 k " p r gS u p e r - O S / 9 D i s k sP r e s e n t e d b B i l l D u t f i e l dA o f t h e m i d d l e o J a n u a r y , t h f o l l o wi n O S - 9 d i s k s h a v e b e e n r e l e a s e d t o t h eP u b l i c D o m a i n . A l t h p r o g r a m s h a v eb e e n o b t a i n e d f r o m t h O S - 9 U s e r G r o u p .T h l o a d m o d u l e s a r t b e f o u n d i t h C M D S s u b d i r e c t o r y , d e s c r i p t i o n s o f t h ep r o g r a m s a r i t h H E L P s u b d i r e c t o r ya n t h s o u r c e c o d e i i t h S R s u b d i r e c t o r y .

U t i l i t i e s D i s k S T h c o n t e n t s o f t h i s d i s k i n c l u d e : T r e e ,m o d u l e l i s t i n g a l t h f i l e s i S u p e r -

O S / 9 R e l a t i v e f i l e , o w h i c h t h e r e i u s u a ll o n p e d i s k f o r t h d i s t r i b u t i o n l i b r a r y .A i a a p p e n d u t i l i t y t a p p e n d f i l eo t c o m b i n e s e v e r a l f i l e s i n t o o n e . A t t rc h c h a n g e s t h a t t r i b u t e s o f f i l e .B o o t S p l i t s p l i t s m e r g e d o b j e c t f i l e s { s u c ha O S 9 B o o t ) i n t o s e p a r a t e m o d u l e s . D d i rl i s t s a c t i v e s y s t e m d e v i c e s , t h e i r p a t hd e s c r i p t o r a d d r e s s , p h y s i c a l a d d r e s s ,s y s t e m b u f f e r , d e v i c e d r i v e r a n f i l em a n a g e r . D l i B t d u m p s d i s k s e c t o r s .

D a t e s k e e p s t r a c k o f d a t e s , a p p o i n tm e n t s , b i r t h d a y s a n w a r n s w h e n t h e ya r c o m i n g u p D o c G e n 2 i s u b m i s s i o nf o r m f o u s w h e n s u b m i t t i n g S u p e r - O S / 9S o f t w a r e . H c o p y h i e r a r c h i c a l l y c o p i e so n d i r e c t o r y t a n o t h e r . H e l p d i s p l a y s

h e l p f i l e . H d i r i a n o t h e r m u l t i l e v e lh i e r a r c h i c a l d i r e c t o r y . I n s t a l l a d d s f i l et t h s y s t e m f o r i n c l u s i o n a t b o o t - u p .L i s t N l i s t s t e x t f i l e . L l o a d u p l o a d st e x t f i l e , o n l i n e a t a t i m e , t f u l l -d u p l e x b u l l e t i n b o a r d s y s t e m . M a k ea s s i s t s i n t h c o n t r o l o r e l i n k i n gm u l t i m o d u l e f i l e s w h e n o n m o d u l e i c h a n g e d . M o d L i s t l i s t s t h f i l e s i m u l t i m o d u l e f i l e . Q D i r o u t p u t s a v e r t i c a lm o d u l e l i s t i n g . R M L o c a t e c a l c u l a t e s a R M r e c o r d n u m b e r f o a g i v e n k e y f i e l d .R M N e w i u s e d t g e n e r a t e b l a n k d a t af i l e f o R M S . R e H o o k m o v e s f i l e f r o mo n d i r e c t o r y t a n o t h e r o t h s a m ed e v i c e . R e m o t e l i n k s t h u s e r t r e m o t et e r m i n a l p a t h f o c o m m u n i c a t i o n .R e p l a c e r e p l a c e s s t r i n g s i t e x t f i l e .S t r i p i u s e d t s t r i p , a d o r p r o c e s s a n c o m b i n a t i o n o f C R s , L F o o t h e r c o t r o l c h a r a c t e r s . W c c o u n t s t h c h a r a c t e r s , w o r d s , a n l i n e s i f i l e u s i n g3 b i n u m b e r s .

A d v e n t u r e D i s k s S 2 a n d S T h i s g a m e ( t h e u s u a l s e a r c h f o t r e a s u r ei t h u n d e r g r o u n d c a v e s o f t h e a u t h o r ' si m a g i n a t i o n ) i r e l e a s e d o t w d i s k s . T h f i r s t , S 2 c o n t a i n s t h e e x e c u t a b l e m o d u l ea n t h e a s s o c i a t e d d a t a f i l e s , w h i l e t h es e c o n d , S 3 , c o n t a i n s t h e s o u r c e c o d e .

U t i l i t i e s D i s k S T h c o n t e n t s o t h i s d i s k i n c l u d e t h r e eS u p e r P E T p r o g r a m s p l u s a f u r t h e ra s s o r t m e n t o S u p e r - O S / 9 f i l e s .

T h t h r e e S u p e r P E T p r o g r a m s a r T e s t . m a i n , T e s t . b a n k s a n d T e s t . o s 9 .T h e s e t h r e e p r o g r a m s p r o v i d e a c o m p l e t es e o t e s t s t t e s t m a i n m e m o r y a n t h b a n k e d m e m o r y o t h S u p e r P E T .

T h O S - 9 p r o g r a m s a r e : B i n c o m w h i c hc o m p a r e s t w o f i l e s o b y t e - b y - b y t eb a s i s . D i s k i d r e w r i t e s t h e d i s k n a m e a n dd a t e o n L S N O . D l i s t d u m p s d i s k s e c t o r s .G r e p i t e x t s e a r c h p r o g r a m . H c o p yh i e r a r c h i c a l l y c o p i e s o n d i r e c t o r y t

a n o t h e r . H d e l i h i e r a r c h i c a l d e l e t ef u n c t i o n . K a l a h i g a m e b a s e d o na n c i e n t B e d o u i n A r a b g a m e . M o u n t i c o m m a n d t c h a n g e a l l o c a t i o n o S u p e r -O S / 9 f i l e s w h e r e t h e r e a r t w o m o r eo d e v i c e ( f o r 8 0 5 0 o 8 2 5 0 ) . P r i n t . b i

f i l e p r i n t i n g u t i l i t y . R e p l a c e r e p l a c e ss t r i n g s i t e x t f i l e . T e x c o m c o m p a r e st w f i l e s l i n e a t i m e . T o d a y l i s t s d a t ea n t i m e i l e g i b l e f o r m a t .M a t h L i b r a r y D i s k S T h i s d i s k c o n t a i n s s e r i e s o m a t hr o u t i n e s f o u s w i t h t h M i c r o W a r eC o m p i l e r . T h e y a r e w r i t t e n i 6 8 0 9a s s e m b l e r l a n g u a g e f o s p e e d , a n a r c o m p u t e d i d o u b l e p r e c i s i o n .

X l i s p D i s k S X l i s p i a v a r i a t i o n a n s u b s e t o f t h e L i s pl a n g u a g e , u s e d i a r t i f i c i a l i n t e l l i g e n c ea p p l i c a t i o n s .

K e r m i t D i s k S K e r m i t i c o m m u n i c a t i o n s p r o t o c o l f o t h t r a n s m i s s i o n o f i l e s b e t w e e n c o p u t e r s . T h i s d i s k c o n t a i n s v e r s i o n o K e r m i t f o u s u n d e r S u p e r - O S / 9 . P r v i d e d i t h s o u r c e c o d e w r i t t e n i a l o n g w i t h a n e x e c u t a b l e l o a d m o d u l e a n da h e l p f i l e . K e r m i t w o r k s w e l l i c o n j u n ct i o n w i t h x c o m 9 , p r o v i d e d o t h S u p e r -O S / 9 d i s t r i b u t i o n d i s k .

L a n g u a g e D i s k S T h i s d i s k c o n t a i n s : D e l w t d e l e t e l i s to f i l e s u s i n g w i l d c a r d s . P f s i m p l e f o m a u t i l i t y t o u t p u t t e x t s u c h a s o u r c ec o d e t t h p r i n t e r . P p i a n o t h e r p r g r a m , f u n c t i o n a l l y r i c h e r , t f o r m a t o u p u f o r p r i n t i n g . P r i n t . c i y e a n o t h e ro u t p u t , f o r m a t t e r , w i t h e v e n m o r ef e a t u r e s .

T h f o l l o w i n g f i v e p r o g r a m s w o r k w i t hv a r i o u s 6 8 0 9 a s s e m b l e r c o d e f o u n d i t h v a r i o u s i m p l e m e n t a t i o n s o 6 8 0 9 s y s t e m s .S l f l e x i p r o g r a m t o b u i l d f l e x b i n a r yf i l e f r o m a n S I i n p u t f i l e . S l i n t e l c o v e r t s S f o r m a t t e x t f i l e t o I n t e l f o r m a t .S l l o a d b u i l d s b i n a r y f i l e f r o m a n S I i p u f i l e . S l u n f l e x c o n v e r t s a f l e x b i n a r yf i l e t S f o r m a t . S l u n l o a d i p r o g r a mt c o n v e r t s t r a i g h t b i n a r y f i l e t S f o m a t . S h o w c i u t i l i t y t m a k e u n p r i nt a b l e c h a r a c t e r s i t e x t f i l e v i s i b l e .T e m p c o m p a r e s t w o t e x t f i l e s , p r i n t i n gd i f f e r e n c e s , a n a t t e m p t s t s y n c h r o n i z ea f t e r f i n d i n g d i f f e r e n c e s . X i c r o s sr e f e r e n c e a n p r i n t i n g u t i l i t y f o p r g r a m s ( i d o e s n ' t w o r k o i t o w n , b u d o e s w o r k o o t h e r , s m a l l e r f i l e s . )X c . c o m i b a t c h f i l e f o c o m p i l i n g x u s i n g / D R A M a n / D l .

3 I s s u e 2

Page 41: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 41/52

N A M ES T R E E T A D D R E S SC I T Y / T O W N / P . O .P R O V / S T A T ET E L E P H O N E

S o f t w a r eo r d e rt o r mP O S T A L / Z I P C O D E

M E M B E R S H I P N O

T O R O N T O P E T U S E R S G R O U P , 1 0 D u n c a n M i l l R o a d , S u i t e G 7 D o M i l l s , O n t a r i o M 3 1 Z 4 1 6 - 4 4 5 - 4 5 2 4

d i s k sT o o r d e r c l u b d i s k s b m a i l , s e n d S 1 0 . 0 0 f o e a c h4 0 4 0 / 2 0 3 1 / 1 5 4 0 / I 5 4 1 d i s k ( 4 0 4 0 f o r m a t ) , d i s c o u n t p r i c e5 - 1 0 S 9 . 0 0 e a c h , I o m o r e S 8 . 0 0 e a c h ; a n S 1 2 . 0 0 f o e a c h 8 0 5 0 / 8 2 5 0 d i s k ( 8 0 5 0 f o r m a t ) . W d h o n o u rp u r c h a s e o r d e r s f r o m s c h o o l b o a r d s .

T h e s e d i s k s a r f o u s e w i t h aP l e a s e s e n d m t h f o l l o w i n g :

L e t t e r / N o .C o d e

c o m p u t e r a n d i s k d r i v e .

D e s c r i p t i o n 4 0 4 0 o 8 0 5 0F o r m a t P r i c e

T o t a l . 0

t a p e sT o r d e r V I C 2 0 o C o m m o d o r e 6 l i b r a r yt a p e s , s e n d $ 6 . 0 0 f o e a c h t a p e .T o r d e r P E T / C B M o C o m m o d o r e E d u c at i o n a l S o f t w a r e , s e n d S 1 0 . 0 0 f o e a c h t a p e .

T h e s e t a p e s a r f o u s w i t hI f o P E c o m p u t e r , w h a t m o d e l

L e t t e r / N o . C o d e D e s c r i p t i o n

c o m p u t e r a n d d a t a s e t t e .- B A S I C ! . 0 | ) ; 2 . 0 ( ) 4 . 0 [ |

P r i c e

T o t a l . 0

T h p r i c e s i n d i c a t e d i n c l u d e p o s t a g e a n h a n d l i n g a s w e l l a O n t a r i o P r o v i n c i a l S a l e s T a ( i a p p l i c a b l e )

C h e q u e / m o n e y o r d e r e n c l o s e d ( p a y a b l e t T P U G )

Page 42: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 42/52

R e v i e w sM T B A S I Cf r o m S o f t a i d

M u l t i t a s k i n g B A S I C C o m p i l e rf o r C P / M o n t h e C - 1 2 8

R e v i e w b A d a m H e r s tI a i s s u e d e v o t e d t o a l t e r n a t i v el a n g u a g e s f o C o m m o d o r e c o m p u t e r s ,r e v i e w o f a t h i r d - p a r t y B A S I C s e e m ss l i g h t l y m i s g u i d e d . I t h e r e i o n l a n g u a g e w i t h w h i c h a l C o m m o d o r eu s e r s a r e f a m i l i a r , i t ' s B A S I C , i o n o i t v a r i o u s i n c a r n a t i o n s f r o m 2 . t 7 . 0 .T h e s e B A S I C s a r b u i l t i n t o t h e c o p u t e r s t h e m s e l v e s a n b e c o m e a v a i l a b l eo p o w e r - u p , p r o v i d i n g a n e a s y , e f f e c t i v ei n t e r f a c e t t h s y s t e m h a r d w a r e . T h C - 1 2 8 i C P / M m o d e l a c k s t h i s a m e n i t y ,B A S I C b e i n g a f o r e i g n t C P / M a P a s c a l , o r L i s p .

A n i m p l e m e n t a t i o n o B A S I C i C P / Mm o d e w i l l b c o m p a r e d t t h p o w e r f u lB A S I C 7 . 0 a v a i l a b l e i 1 2 m o d e .M T B A S I C c a o n l y b d e s c r i b e d a ss p a r s e w h e n t h i s c o m p a r i s o n i m a d e . A

g e n e r i c C P / M c o m p i l e r , n e f f o r t i m a d e t a c c e s s t h e 1 2 8 ' s s o u n d o g r a p h i c s c a p a b i l i t i e s . C o m m a n d s t f a c i l i t a t e s t r u c t u r e d p r o g r a m m i n g a r t o t a l l y a b s e n t , a n t h e r u l e s f o r v a r i a b l en a m e s a r e , i s o m e w a y s , m o r e r e s t r i ct i v e t h a n i C o m m o d o r e B A S I C . W i t h i nt h e s e l i m i t a t i o n s , h o w e v e r , M T B A S I Ci m p l e m e n t s n u m b e r o f e a t u r e s t h a tm a k e i p o w e r f u l C P / M u t i l i t y .

T h M T B A S I C r e v i e w e d c a m e o s i n g l e , K a y p r o I V f o r m a t t e d d i s k t h a tw a h a n d l e d a d m i r a b l y b m 1 5 7 1 .N o n e t h e l e s s , r e p o r t e d d i f f i c u l t i e s h a v el e d t o d i s t r i b u t i o n t 1 2 u s e r s o O s b o r n e d i s k s . T h i m p l e m e n t a t i o n i c o n f i g u r e d f o K a y p r o A D M - 3 1 t e r mi n a l . A i n s t a l l f i l e , w r i t t e n i M T B A S I Ca n n e c e s s a r y f o r e c o n f i g u r a t i o n o f t h t e r m i n a l t y p e , a c c o m p a n i e s t h p r o g r a m .A l s o i n c l u d e d o t h d i s k a r e t h r e es a m p l e p r o g r a m s t h a t d e m o n s t r a t e t h s p e c i a l f e a t u r e s o M T B A S I C , a n d a u t i li t p r o g r a m t r e n u m b e r M T B A S I Cs o u r c e c o d e f i l e s .

T h m a n u a l a c c o m p a n y i n g t h e d i s k i

c o m p r e h e n s i v e a n d e a s i l y u n d e r s t o o d , i p o o r l y o r g a n i z e d i n s t a l l a t i o n i n s t r u ct i o n s s h o u l d n o c o m e 3 p a g e s i n p o t i o n o t h t e x t c o n c e r n s t h M T B A S I Ci m p l e m e n t a t i o n o n M S - D O S m a c h i n e sa n i i r r e l e v a n t t t h C P / M u s e r . T h m a n u a l i d i v i d e d i n t o t w p a r t s :

U s i n g M T B A S I C : t h i s s e c t i o n g i v e s i s t r u c t i o n s o i n s t a l l i n g M T B A S I C ; e a m p l e s o p r o g r a m m i n g t h s p e c i a lf e a t u r e s o f M T B A S I C l i k e w i n d o w i n ga n m u l t i t a s k i n g ; h a n d l i n g d i s k f i l e s a n d i r e c t i n g I / O c h a n n e l s ; a n s p e e d i n g u p r o g r a m s . A l o t h t o p i c s a r a c c o mp a n i e d b s i m p l e p r o g r a m s i l l u s t r a t i n gt h c o n c e p t s .

U s e r R e f e r e n c e : T h i s s e c t i o n d e t a i l s t h s y n t a x o M T B A S I C a n c o v e r s t h d i r e c t ( i m m e d i a t e m o d e ) c o m m a n d s .S y s t e m d e t a i l s a n o p e r a t i n g s y s t e m i t e r f a c i n g a r c o v e r e d .M T B A S I C i i n v o k e d b y t y p i n g m t b a s i ca t h C P / M s y s t e m p r o m p t . W h e n a c i v e , M T B A S I C d i s p l a y s * > ' a s i t p r o m p t . W h i l e t h i s p r o m p t i d i s p l a y e d ,c r u d e l i n e e d i t i n g c o m m a n d s a r i n e f f e c t ,a l l o w i n g y o t t y p e i e i t h e r p r o g r a ml i n e s ( p r e c e d e d b l i n e n u m b e r s ) o d i r e c tc o m m a n d s . T h i s e d i t o r p r o v i d e s s e e m i n gl f u l l s y n t a x c h e c k i n g , a n w i l l n o a c e p t s y n t a c t i c a l l y i n c o r r e c t p r o g r a ml i n e . W h i l e s u i t a b l e f o r s h o r t , u c o m p l i c a t e d p r o g r a m s , f u l l - f l e d g e d t e x te d i t o r i d e f i n i t e l y r e q u i r e d f o b i j o b s !D i r e c t m o d e c o m m a n d s a l l o w y o t d s i m p l e f i l e m a n i p u l a t i o n , a s w e l l a c o t r o l l i n g t h c o m p i l a t i o n p r o c e s s .

M T B A S I C ' s g r e a t e s t f a u l t s l i w i t ht h i s e d i t o r . M o s t a n n o y i n g i t h l a c k o fd i s k c o m m a n d s , e s p e c i a l l y o n t r e a d t h d i r e c t o r y . T h o n l y w a t d t h i s i t e x i t t h e c o m p i l e r . T h s e c o n d f a u l t c a b d a n g e r o u s a w e l l a s i n c o n v e n i e n t .S o u r c e c o d e f i l e s ( a n d o b j e c t c o d e f i l e sg e n e r a t e d b y t h e c o m p i l e r ) w i l l b w r i tt e o v e r e x i s t i n g f i l e s o t h s a m e n a m er a t h e r t h a n a g i n g t h f i l e s w i t h . b a k o . $ $ $ d e s i g n a t i o n . T h i s m a k e s i p o s s i b l et r e p l a c e y o u r o n l y c o r r e c t c o p y o f i l ew i t h a i n c o r r e c t c o p y ! N o n i c e w a t s t a r t y o u r d a y .

M T B A S I C i c o m p i l e r , b u c o m p i l e rw i t h a t w i s t . O n c e t h s o u r c e c o d e i l o a d e d o t y p e d i n t o m e m o r y , i c a b c o m p i l e d t m e m o r y a n i m m e d i a t e l y e xe c u t e d b y i s s u i n g r u c o m m a n d . W i t hi t q u i c k c o m p i l e t i m e s ( s e e b e l o w ) ,

M T B A S I C c a a c a s p s e u d o -i n t e r p r e t e r . A w e l l , p r o g r a m s c a b c o m p i l e d t m e m o r y a n n o t e x e c u t e d , o c o m p i l e d t o d i s k . E r r o r s d u r i n g c o m p i l at i o n l e a v e t h e o f f e n d i n g l i n e i n m e m o r yt b c o r r e c t e d . P r o g r a m s c o m p i l e d t d i s k e x i s t a - c o m f i l e s , a n c a b e e xe c u t e d i n d e p e n d e n t l y o M T B A S I C .

T w a s p e c t s o f c o m p i l e r d e t e r m i n e i t u s e f u l n e s s : f u l l i m p l e m e n t a t i o n o f t h et a r g e t l a n g u a g e , a n d g o o d c o m p i l a t i o ns p e c i f i c a t i o n s . M T B A S I C i m p l e m e n t sd e c i d e l y e c c e n t r i c v e r s i o n o f B A S I C . N a t t e m p t i m a d e t a d h e r e t t h M i c r os o f t p s e u d o - s t a n d a r d . W h i l e t h s y n t a xi f a i r l y s t a n d a r d , i n c o m p a t i b i l i t y i e s u r e d b M T B A S I C ' s r e q u i r e m e n t t h a ta l v a r i a b l e s a n a r r a y s b d e c l a r e d a r e a l , i n t e g e r o r s t r i n g . C o n s e q u e n t l y ,f o r e i g n B A S I C s o u r c e c o d e r e q u i r e sm a s s i v e t r a n s l a t i o n b e f o r e i c a n b e c o p i l e d . A l s o , M T B A S I C d o e s n o t r e c o g n i z ed i f f e r e n c e s i v a r i a b l e n a m e s a c r o s sm o d e s . Y o c o u l d n o d e c l a r e b o t h i t e g e r a a n s t r i n g i t h s a m ep r o g r a m .

I e x t e n t , t h e v o c a b u l a r y o M T B A S I Ci m o s t s i m i l a r t B A S I C 2 . 0 . I t s u r p a s s e sB A S I C 2 . 0 , h o w e v e r , w i t h i t e x t e n s i v es e o d i s k a n I / c o m m a n d s , t h v a r ie t y o f i t p r e d e f i n e d f u n c t i o n s a n i t e t r e m e l y v e r s a t i l e u s e r d e f i n e d f u n c t i o n s( m u l t i p l e l i n e s , m u l t i p l e a r g u m e n t , m u l ti p l e v a r i a b l e t y p e ) . c a l l s t a t e m e n t w i t hv a r i a b l e p a s s i n g i a v a i l a b l e f o e x e c u t i n gm a c h i n e l a n g u a g e p r o g r a m m o d u l e s .

T h e p o w e r o M T B A S I C l i e s i i t m u l t i t a s k i n g a n d w i n d o w i n g c o m m a n d s .M u l t i t a s k i n g i i m p l e m e n t e d u s i n g i n t e rr u p t s t s i g n a l t h e e x e c u t i o n o f i n d e p e nd e n t t a s k s . I n t h C P / M v e r s i o n o M T B A S I C , t h e i n t e r r u p t s a r e p s e u d o -i n t e r r u p t s . A g e n e r i c C P / M p a c k a g e ,M T B A S I C i c o n f i g u r e d t f u n c t i o n o a n c o m p u t e r r u n n i n g t h C P / M o p e ra t i n g s y s t e m . S i n c e s o m e s u c h c o m p u t e r sd n o h a v e f u n c t i o n a l h a r d w a r e -i n t e r r u p t , p s e u d o - i n t e r r u p t s a r e i n s e r t e di n t o t h o b j e c t c o d e d u r i n g c o m p i l a t i o n .T h e s e s o f t w a r e - g e n e r a t e d i n t e r r u p t s a r ec a l c u l a t e d o t h e b a s i s o f c o d e s t r u c t u r ea n d o n o t r e f l e c t r e a l - t i m e a c c u r a c y . T h p r o c e s s o i n s t a l l i n g t r u e h a r d w a r e -i n t e r r u p t s i m e n t i o n e d b r i e f l y , a n c o m a n d s a r e p r o v i d e d t e n a b l e t h e m .

U t t e n t a s k s c a b r u n c o n c u r r e n tl y a l t h o u g h f a i r l y s e v e r e r e s t r i c t i o n sa p p l y t t h e i r i n t e r a c t i o n . A l v a r i a b l e s

4 I s s u e 2

Page 43: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 43/52

r g l o b a l l y d e f i n e d a n c a b a l t e r e d b n o t h e x e c u t i n g t a s k s . I / O o p e r a t i o n s

b d e s i g n e d s t h a t n c o n f l i c tb e t w e e n t a s k s f o a c c e s s t g i v e n

P o w e r f u l w i n d o w i n g c o m m a n d sr i m p l e m e n t e d w h i c h , c o m b i n e d w i t h

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

T h e m o s t c r i t i c a l a s p e c t o a n c o m p i l e ri t c o m p i l a t i o n s p e c i f i c a t i o n s . S l o w

t i o n t i m e s , l a r g e o b j e c t c o d e a n w e x e c u t i o n t i m e s c a n m a k e e v e n t h

f u l l - f e a t u r e d c o m p i l e r u s e l e s s i p r d e v e l o p m e n t . M T B A S I C c o n t a i n s

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

t m e m o r y o d i s k , w i t h o r u n - t i m e e r r o r c h e c k i n g , a n

t h o r w i t h o u t t h r u n - t i m e m o d u l e s r f o r m u l t i t a s k i n g . T h f i r s t c o

a f f e c t s t h s p e e d o f t h e c o m p i l a t i o nw h i l e t h e l a t t e r c o m m a n d s a f f e c t

h s i z e a n s p e e d o t h e r e s u l t a n t o b j e c t

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

f i l e . T h i s f i l e , w h i c h o c c u p i e d 6 o C P / M d i r e c t o r y , c o m p i l e d t m e m o r y i

t h a n t w s e c o n d s . C o m p i l a t i o n t r e q u i r e d 8 s e c o n d s . T a s s e s s e

u t i o n t i m e , r a t h e S i e v e o p r o g r a m t h a t B Y T E

u s e s f o s t a n d a r d b e n c h m a r k .e r r o r c h e c k i n g a n m u l t i t a s k i n g o f f ,M T B A S I C v e r s i o n r a i 1 5

i t o o k 2 3 s e c o n d s w i t h e r r o ra n m u l t i t a s k i n g o n T h

7 . v e r s i o n r a i 4 3 s e c o n d s i m o d e .

A l i a l l , M T B A S I C i a e x c e l l e n tf o n u m b e r o f r e a s o n s . A a

t t h C P / M o p e r a t i n g s y s t e mi b o t h p o w e r f u l a n f a m i l i a r t t h

B A S I C p r o g r a m m e r . I t t m u l t i t a s k p r o v i d e s a u n i q u e e n

f o r t h e d e v e l o p m e n t o p r T h e s e s h o u l d b e x t r : m e l y p o

a c r o s s C P / M c o m p u t e r s ( i t h o c o d e d o e s n ' t w o r k j u s t i n s t a l l y o u ri o n o f M T B A S I C o t h t a r g e t c o

a n r e c o m p i l e t h e s o u r c e c o d e ) a n t M S - D O S c o m p u t e r s ( c o m p i l e t h

c o d e w i t h t h e M S - D O S v e r s i o n o f. T h s p e e d o c o m p i l a t i o n t

a n t h a b i l i t y t o e x e c u t e t h i sw i t h o u t l e a v i n g t h e c o m p i l e r e a s e

d e v e l o p m e n t . F i n a l l y ,l o p r i c e ( $ 3 9 U S ) a n d l a c k

c o p y p r o t e c t i o n m a k e t h p a c k a g e a e l l e n t v a l u e .

C P / M B A S I C C o m p i l e r , S o f t -I n c . , P . O . B o 2 J f l 2 , C o l u m b i a ,

d 2 1 0 4 5 - U 1 2 .

P R O M A Lf r o m S y s t e m s

M a n a g e m e n t A s s o c i a t e sP r o g r a m m i n g l a n g u a g e

C o m m o d o r e 6

R e v i e w b N i c k S u l l i v a nF o m o s t p e o p l e , t h e C o m m o d o r e 6 i

b i l i n g u a l c o m p u t e r . F o t h o s e w h v a l u ec o m f o r t a b l e p r o g r a m m i n g e n v i r o n m e n t

o v e r p e r f o r m a n c e , i o f f e r s t h r a t h e r i p o v e r i s h e d B A S I C 2 . d i a l e c t t h a t ,d e s p i t e a l d r a w b a c k s , h a b e e n t h v e h ic l f o s o m e w o n d e r f u l p r o g r a m s o v e r t h l a s t f e y e a r s . T h 6 a l s o m a k e s l i f ep r e t t y e a s y f o m a c h i n e l a n g u a g e p r g r a m m e r s , w h h a v e a w i d e r a n g e o e c e l l e n t t o o l s a t h e i r d i s p o s a l , a n a u s u r p a s s e d w e a l t h o d o c u m e n t a t i o n t l i g h t t h e i r w a y .

I b e t w e e n l i e s l a r g e m i d d l e g r o u n dt h a t h a s e e n l o t s o c o n t e n d e r s , b u t n c l e a r w i n n e r s . I n g e n i o u s p r o g r a m m e r sh a v e c o n t r i v e d t a d a p t P a s c a l , a n F o r t h t t h l i m i t e d m e m o r y a n s l u g g i s hd i s k s p e e d o t h 6 4 S e v e r a l i m p l e m e nt a t i o n s o e a c h o f t h e s e l a n g u a g e s a r a v a i l a b l e , b u n o n e h a c a u g h t o n i b i w a y . P e r h a p s t h c o m p r o m i s e s n e c e s s a r yt m a k e t h e m w o r k i r e l a t i v e l yr e s t r i c t e d e n v i r o n m e n t h a v e s t r a i n e dt h e i r i n t e g r i t y t o f a r . T h v e r y i p r e s s i v e c a r t r i d g e v e r s i o n o f C O A h a f a r e d s o m e w h a t b e t t e r t h a n t h c o m p i le d l a n g u a g e s , h a v i n g b e e n d e s i g n e d f r o mt h g r o u n d u t m a x i m i z e t h p o t e n t i a lo t h m a c h i n e , b u i t g r o w t h h a b e e ni n h i b i t e d b i t d e p e n d e n c e o t h l a n g u a g e f i r m w a r e y o c a n ' t r u n aC O M A L 2 . 0 0 p r o g r a m u n l e s s y o h a v et h c a r t r i d g e .

I P R O M A L , w r i t t e n b y B r u c e D C a r -b r e y , p r o g r a m m e r s n o h a v e t h o p t i o no f c o m p i l e d l a n g u a g e d e s i g n e ds p e c i f i c a l l y f o t h r e e 8 - b i t m i c r o c o mp u t e r s , t h e C o m m o d o r e 6 4 t h A p p l e l i a n t h A p p l e H e S y n t a c t i c a l l y , P R M A m o s t c l o s e l y r e s e m b l e s s t r i p p e d -d o w n v e r s i o n o C t h o u g h p r o g r a m s a r c o m p i l e d i o n p a s s i t h m a n n e r o P a s c a l . I t b e s t f e a t u r e i s i t s a b i l i t y t m a i n t a i n s o u r c e c o d e , o b j e c t c o d e , e d i t o ra n c o m p i l e r s i m u l t a n e o u s l y i m e m o r yf o s h o r t p r o g r a m s . P r o g r a m s n e e d i n gm o r e e l b o w - r o o m c a b h a n d l e d b c o p i l i n g f r o m a n t d i s k a n d , i n e c e s s a r y ,t e m p o r a r i l y u n l o a d i n g t h e d i t o r . I n t h i sw a y , t h s y s t e m i c a p a b l e o f g e n e r a t i n gs u b s t a n t i a l p r o g r a m s u t 3 5 o c o m b i n e d c o d e a n d a t a .

R e v i e w sP R O M A L ' s p r o g r a m m i n g e n v i r o n m e n t

i ' s h e l l ' s o r t o c o n t r o l c e n t r e f r o mw h i c h y o c a i n v o k e t h e e d i t o r o r t h ec o m p i l e r , a n w h i c h a l s o p r o v i d e s c o m a n d s f o d i s k o p e r a t i o n s , c h e c k i n gs y s t e m s t a t u s , a n s o n L i k e t h o t h e rp a r t s o t h e s y s t e m , t h s h e l l h a b e e nc o n s t r u c t e d w i t h c a r e f u l a t t e n t i o n t od e t a i l . F o i n s t a n c e , i i p o s s i b l e t r e t r i e v e t h m o s t r e c e n t l y i s s u e d c o m a n d a a k e y s t r o k e ( c t r l - b ) ; f u r t h e rr e p e t i t i o n s o c t r l - b r e c a l l p r e v i o u s c o m a n d s u t t h l i m i t o 2 5 6 - b y t e b u f e r . U s e r s o f t h e A m i g a C L ( C o m m a n dL i n e I n t e r p r e t e r ) w o u l d s i g n a w a y t h e i rl i m b s a n v i t a l o r g a n s f o t h i s f a c i l i t y .S o m e o f t h e o t h e r f e a t u r e s p r o v i d e d b t h s h e l l a r o n l i n e h e l p , g o o d c o m m a n d -l i n e e d i t i n g , a n m e m o r y d u m p a n f i l lc o m m a n d s i t h m a n n e r o f m a c h i n el a n g u a g e m o n i t o r .

L i k e t h e C - 6 4 ' s r e s i d e n t B A S I C e d i t o r ,t h f u l l - s c r e e n P R O M A L e d i t o r i n o i t e n d e d a a g e n e r a l - p u r p o s e t o o l , b u t h a si n s t e a d b e e n d e s i g n e d a a i n t e g r a l p a r to t h t o t a l s y s t e m . M o s t n o t a b l y , i p r v i d e s f e a t u r e s t h a t s i m p l i f y t h p r o p e ri n d e n t a t i o n o s o u r c e p r o g r a m s , f o i n d e n t a t i o n i P R O M A L i s y n t a c t i c a l l ym e a n i n g f u l , n o j u s t c o s m e t i c . S p e c i a l i z e da i t i s , h o w e v e r , t h e d i t o r i b o t h p o w e rf u a n s t r a i g h t f o r w a r d , w i t h f a c i l i t i e sl i k e s e a r c h a n r e p l a c e a n b l o c k m o v et h a t a r n e a r l y i n d i s p e n s a b l e w h e n y o a r w r i t i n g l o n g p r o g r a m s .

N o t h a t w e ' v e g o i n t o t h e d i t o r , l e t ' st a k e q u i c k l o o k a t h l a n g u a g e i t s e l f .T h s i m i l a r i t y t o i s o s t r o n g t h a t P R M A m i g h t a l m o s t b r e c o m m e n d e d a a i n t e r m e d i a t e s t e p f o t h o s e w h a r a p p r o a c h i n g f r o m B A S I C . L i k e C P R O M A L p r o g r a m c o n s i s t s o f f u n c t i o n st h a t m a o m a n o t r e t u r n v a l u e , t h a tc a e m p l o y l o c a l o e x t e r n a l l y - d e c l a r e dv a r i a b l e s , a n t h a t m a c a l l t h e m s e l v e sr e c u r s i v e l y . P R O M A L ' s m a n n e r o h a n d li n v a r i a b l e t y p e s i s i m i l a r t C ' s , t h o u g ht h r a n g e o t y p e s i s e v e r e l y l i m i t e dP R O M A L d o e s n o o f f e r s t r u c t o r e n u mt y p e s , f o r i n s t a n c e , a n a l l o w s a r r a y s o fo n e d i m e n s i o n o n l y . T h e r e i n d o u b l e -p r e c i s i o n o p t i o n f o r e a l n u m b e r s , e i t h e r ,b u P R O M A L ' s s i x - b y t e f l o a t i n g p o i n tn u m b e r s a r a l e a s t t w d i g i t s m o r ep r e c i s e t h a n t h s i n g l e - p r e c i s i o n n u m b e r si m o s t o t h e r l a n g u a g e s . S t r i n g s i P R M A c o n s i s t , a t h e y d i C o n u l l -t e r m i n a t e d b y t e a r r a y s .

T h e r e a r m a n y f u r t h e r p a r a l l e l s . P R M A o f f e r s c o n v e n i e n t m e a n s f o r d e a li n w i t h p o i n t e r s a n a d d r e s s e s ,w e l c o m e b o r r o w i n g o o n o C ' m o s tp o w e r f u l f e a t u r e s . T h e n t h e r e ' s t h s t a nd a r d o u t p u t s t a t e m e n t , c a l l e d o u t p u th e r e r a t h e r t h a n p r i n t f , b u a l t e r e d o n l y

T P U G M a g a z i n e 4

Page 44: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 44/52

R e v i e w s . ? s u p e r f i c i a l l y f r o m t h o r i g i n a l . L a s t l y

b e c a u s e y o m u s t b g e t t i n g t h e i d e ab n o P R O M A m a k e s u s o s t a nd a r d l i b r a r y o f r o u t i n e s p l u s s e v e r a ls p e c i a l p u r p o s e l i b r a r i e s f o t h i n g s l i k ef l o a t i n g - p o i n t o p e r a t i o n s , r e l a t i v e f i l eh a n d l i n g , a n R 2 3 s u p p o r t . T h e s e a r i n c o r p o r a t e d i n t o y o u r p r o g r a m w i t h a i n c l u d e s t a t e m e n t n e a r t h s t a r t o y o u rc o d e .A l t h a b o v e n o t w i t h s t a n d i n g , P R O -M A s o u r c e c o d e a n s o u r c e c o d e l o o kq u i t e d i f f e r e n t . S p e c i f i c a l l y , P R O M A Ld o e s w i t h o u t C ' u b i q u i t o u s o p e n a n dc l o s e b r a c e s t m a r k p r o g r a m s t r u c t u r e ,w i t h o u t m a n y o C ' p a r e n t h e s e s , a n w i t h o u t t h s e m i c o l o n s t h a t t e r m i n a t es t a t e m e n t s . P R O M A L ' s l a c k o f a e p l i c i t s t a t e m e n t t e r m i n a t o r i d u t l i m i t a t i o n : e a c h s t a t e m e n t m u s t o c c u p yo n a n o n l y o n p r o g r a m l i n e . T h i s c o f i n e s s t a t e m e n t s t 8 c h a r a c t e r s ,r e s t r i c t i o n t h a t t h h o r i z o n t a l l y - s c r o l l i n ge d i t o r e n f o r c e s .

T h a b s e n c e o s p e c i a l p u n c t u a t i o n t m a r k p r o g r a m s t r u c t u r e s i m o r e i t e r e s t i n g , f o r P R O M A L d o e s s u p p o r t v e rs i o n s o f t h e u s u a l s t r u c t u r e d s t a t e m e n t s( w h i l e a n s o o n ) . H o w e v e r , i P R O M A Ly o u g r o u p t h s t a t e m e n t s w i t h i n s t r u ct u r e b i n d e n t a t i o n , n o p u n c t u a t i o n .S i n c e l o g i c a l s c h e m e o i n d e n t a t i o n i f a v o u r e d b p r o g r a m m i n g t h e o r i s t s a s a a i d t o c l a r i t y , w h i c h s i m p l i f i e s d e b u g g i n ga n m a i n t e n a n c e , P R O M A L e f f e c t i v e l yk i l l s t w b i r d s w i t h o n s t o n e b m a k i n gi n d e n t a t i o n a s y n t a c t i c r e q u i r e m e n t .P R O M A L u s e s o n e - p a s s c o m p i l e r ,l i k e P a s c a l . T h i s m a k e s f o s p e e d i e ro p e r a t i o n t h a n a t w o - p a s s c o m p i l e r ( a i C w o u l d a l l o w , b u i d o e s h a v ed r a w b a c k s f o t h p r o g r a m m e r . o n e -p a s s c o m p i l e r r e q u i r e s t h a t a l r e f e r e n c e st v a r i a b l e s , p r o c e d u r e s a n f u n c t i o n s b b a c k w a r d r a t h e r t h a n f o r w a r d t h c o m p i l e r n e e d s t k n o w w h a t y o u ' r er e f e r r i n g t b e f o r e y o a c t u a l l y r e f e r t oi t ( T h e r e i s m a l l e x c e p t i o n t t h i s r u l e ,n e c e s s a r y t p e r m i t r e c u r s i o n , b u i h o l d s f o a l o t h e r s i t u a t i o n s . ) T h i s m e a n s ,f o e x a m p l e , t h a t y o u r m a i n l i n e f u n c t i o nm u s t b t h l a s t t a p p e a r i y o u r s o u r c ec o d e , a n t h a t y o u r m o s t g e n e r a l s u b -f u n c t i o n s m u s t b d e f i n e d a f t e r t h es p e c i a l i z e d s u b - s u b - f u n c t i o n s t h e y m a i v o k e . T h i s c a l l s f o b o t t o m - u p p r o g r a mm i n g , i d e f i a n c e o t h o s e s a m e t h e o r i s t sw h o s e p r e f e r e n c e f o r i n d e n t a t i o n w a n o t e d a b o v e .

A d v e r t i s e m e n t s f o P R O M A L l a g r e a ts t r e s s o t h l a n g u a g e ' s s p e e d a n c o p a c t n e s s q u a l i t i e s a s s o c i a t e d a b o v e a l w i t h m a c h i n e l a n g u a g e . I c o m e s a s o m e t h i n g o s u r p r i s e , t h e n , t f i n d t h a tP R O M A L c o m p i l e s t p s e u d o - c o d e r a t h e r

t h a n m a c h i n e c o d e , a n t h a t s o m e 1 k i l o b y t e s o r u n - t i m e s u p p o r t a r n e e d e dt u n d e r p i n e v e n t r i v i a l p r o g r a m . T h i si n o t s a t h a t t h a d v e r t i s i n g c l a i m sa r w i t h o u t f o u n d a t i o n : P R O M A L i u n d e n i a b l y m u c h s p e e d i e r t h a n B A S I Cf o m a n y a p p l i c a t i o n s , a n p r o g r a m s a r v e r y c o m p a c t w h e n y o d i s c o u n t t h 1 2 o v e r h e a d . S t i l l , i s e e m s l i k e l y t h a t s o m eo f t h e P a s c a l a n i m p l e m e n t a t i o n s f o t h e 6 4 t h a t d o c o m p i l e t M w o u l dg e n e r a t e f a s t e r c o d e t h a n P R O M A L i e q u i v a l e n t a p p l i c a t i o n s .

T h P R O M A L m a n u a l i p e r h a p s t h b e s t h a v e s e e n f o a n C - 6 4 l a n g u a g e .I i c l e a r , w e l l - o r g a n i z e d , a c c u r a t e a n c o m p r e h e n s i v e . I c o n s i s t s o a i n t r o d u ct o r y t u t o r i a l , a n s e p a r a t e r e f e r e n c e s e t i o n s f o e a c h o t h m a j o r c o m p o n e n t so t h s y s t e m , i n c l u d i n g d e t a i l e d d e s c r i pt i o n s o f a l l i b r a r y f u n c t i o n s . E v e n t h o s ew i t h n p r i o r k n o w l e d g e o a c o m p i l e dl a n g u a g e s h o u l d h a v e l i t t l e d i f f i c u l t y i m a s t e r i n g P R O M A L a f t e r a t h o r o u g hr e a d i n g o t h i s e x c e l l e n t d o c u m e n t a t i o n .

T h p a c k a g e c o m e s i t w f l a v o u r s : o n f o p r o g r a m m e r s a n o n f o d e v e l o p e r s .T h p r i m a r y d i f f e r e n c e b e t w e e n t h t w ( a p a r t f r o m c o s t ) i t h a t t h d e v e l o p e r ' sv e r s i o n i n c l u d e s f a c i l i t y f o g e n e r a t i n gs t a n d - a l o n e p r o g r a m s , w h e r e a s p r o g r a m sw r i t t e n w i t h t h e p r o g r a m m e r ' s v e r s i o nc a o n l y b e r u n u n d e r t h P R O M A L s h e l l .T h i s i b a r b a r i c . T h m a n u f a c t u r e r ' s a dd i t i o n a l e f f o r t i p r o d u c i n g t h d e v e l o p e r ' s v e r s i o n m u s t h a v e b e e n c o p a r a t i v e l y s m a l l ; t h e d i f f e r e n c e i c o s tb e t w e e n t h t w v e r s i o n s i t h e r e f o r en o t h i n g m o r e t h a n p r i c e p e n a l t y o n m u s t p a i o r d e r t d s e r i o u s w o r k w i t ht h s y s t e m .

P R O M A L o f f e r s n b u i l t - i n s u p p o r t f o g r a p h i c s a n d s o u n d p r o g r a m m i n g o t h 6 4 n o a r l i b r a r y f u n c t i o n s f o t h e s ep u r p o s e s i n c l u d e d i t h p a c k a g e . S u p l e m e n t a r y ( l o o s e l e a f ) d o c u m e n t a t i o n i t h p a c k a g e r e v i e w e d r e f e r s t " h r e w i n d o w i n g p a c k a g e " , a a e x a m p l eo o p t i o n a l s o f t w a r e a v a i l a b l e f r o m t h m a n u f a c t u r e r ( a g a i n a e x t r a c o s t ) , b u t h o s e w h m i g h t w i s h t u s e s o u n d ,s p r i t e s o h i - r e s o t h e i r o w w i l l f i n d n a i b e y o n d c l u n k y , s i m p l e - m i n d e d v i d e og a m e ( p r e s e n t e d a a n a d v a n c e d s a m p l ep r o g r a m o t h d i s k ) .

D e s p i t e t h e s e d r a w b a c k s , P R O M A L i a i n g e n i o u s a n l a r g e l y s u c c e s s f u l a tt e m p t t p r o v i d e c o m p i l e d l a n g u a g ec o n g e n i a l t t h e w o r l d ' s m o s t p o p u l a rc o m p u t e r . I i n o l i k e l y e v e r t m a k e t h t r a n s i t i o n t o t h 1 6 - b i t w o r l d , w h e r e t h a d v a n t a g e s o a r m u c h m o r e c o m p e l li n g , s i d o e s n o h a v e t h s t r o n g a r g um e n t o w i d e s p r e a d p o r t a b i l i t y i i t f a v o u r . B u f o t h o s e w h a r e f r u s t r a t e d

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

c o n c e r n , P R O M A L o f f e r s h o s t o g o o df e a t u r e s t h a t m a k e i w o r t h y o s e r i o u sc o n s i d e r a t i o n .

S u p e r G r a p h i x J r f r o m X e t e c

P r i n t e r i n t e r f a c ef o C - 6 4 a n V I 2

R e v i e w b y R a n j a n B o s eT h i s s m a l l b l a c k b o w i l l , f o $ 7 8 . 0 0( C d n . ) , l e y o u r C o m m o d o r e c o m p u t e rc o m m u n i c a t e w i t h p a r a l l e l p r i n t e r s .

H o o k u p i e a s y . T h u n i t h a t h r e ec a b l e s c o n n e c t e d t i t T h s e r i a l c a b l eg o e s t t h s e r i a l p o r t o y o u r c o m p u t e ro d i s k d r i v e . w i r e e n d i n g i a a d a p t e rg o e s t t h e c a s s e t t e p o r t t d r a w p o w e r .( D a t a s e t t e c a n s t i l l b u s e d i p l u g si n t o t h e a d a p t e r . ) T h p a r a l l e l c a b l e p r v i d e d c o n n e c t s t h u n i t t t h p r i n t e r .

E i g h t e a s i l y - a c c e s s i b l e D I s w i t c h e s l e y o a d j u s t l i n e f e e d , p r i n t e r t y p e , i n t e rf a c e m o d e , d e v i c e n u m b e r a n f o n t . Y o c a e i t h e r u s e t h e r e g u l a r d o m a t r i x f o n tp r o v i d e d b y o u r p r i n t e r , o u s t h i t e r f a c e ' s E p s o n - l i k e c o r r e s p o n d e n c eq u a l i t y f o n t . T h i n t e r f a c e a l l o w s y o t w o r k i 1 5 2 5 e m u l a t i o n m o d e ( i g n o r i n gn o n - 1 5 2 5 c o d e s ) , A S C I I m o d e ( c o n v e r t sP E T S C I I t A S C I I ) , t r a n s p a r e n t m o d e( n t r a n s l a t i o n , n m o d i f i c a t i o n ) a n ' S u p e r G r a p h i x ' m o d e , w h i c h i a l m o s tl i k e a l t h e o t h e r m o d e s r o l l e d i n t o o n e .I n t h i s m o d e y o c a s e n d1 5 2 5 - c o m p a t i b l e c o d e s ( g r a p h i c s , C o m o d o r e g r a p h i c c h a r a c t e r s , r e v e r s e f i e l dc h a r a c t e r s ) a n a l s o s e n d n o n -C o m m o d o r e c o d e s t y o u r p r i n t e r ( i t a l i c s ,e m p h a s i s , s u p e r s c r i p t s , h i g h - d e n s i t yg r a p h i c s , a n s o n ) . T h i s m o d e a l s o p e m i t s y o t l i s t t h e g r a p h i c s a n c o n t r o lc h a r a c t e r s i p r o g r a m i f o u r d i f f e r e n tw a y s : a t h e y a p p e a r o n s c r e e n , a sm n e m o n i c s , a k e y - p r e s s e s ( s h l f t - c w o u l db l i s t e d a S C o a A S C I I c o d e s .

Y o c a a c c e s s m o r e i n t e r f a c e f u n ct i o n s b y o p e n i n g s e v e r a l c h a n n e l s w i t hd i f f e r e n t s e c o n d a r y a d d r e s s e s f o p r i nt i n g w i t h u p p e r c a s e / g r a p h i c s , w i t h u p e r / l o w e r c a s e , i t r a n s p a r e n t m o d e , w i t ho w i t h o u t l i n e f e e d o r i h e d u m p f o m a t . A n o f t h e s e m o d e s c a b ' l o c k e di n b y a d d i n g 2 t t h s e c o n d a r y a d d r e s s .Y o c a a l s o o p e n c o m m a n d c h a n n e l t s p e c i f y o c h a n g e t h e s e v e r a l l i s t i n gm o d e s a n t u n l o c k t h i n t e r f a c e . h a v ew r i t t e n p r o g r a m t h a t p r i n t s t e x t , C o m -

4 I s s u e 2

Page 45: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 45/52

m o d o r e g r a p h i c c h a r a c t e r s a n q u a d d e s i t y g r a p h i c s a l o t h s a m e l i n e . T h i s r q u i r e s t h a t c o m m u n i c a t e w i t h t h p r i n t e r i t h e m u l a t i o n a n t r a n s p a r e n tm o d e s a t t h e s a m e t i m e . F r o m w h a th e a r , m o s t o t h e r i n t e r f a c e s a r a l l e r g i ct o t h i s k i n d o f m i x i n g .

T h i n t e r f a c e h a n u m b e r o o t h e r a t r a c t i v e f e a t u r e s . T h D I s w i t c h e s a r ' a c t i v e ' : s h o u l d y o w a n t t c h a n g e s e t i n g , y o d n o h a v e t p o w e r d o w n . T h q u a l i t y o t h e g r a p h i c c h a r a c t e r s a n r e v e r s e f i e l d c h a r a c t e r s f o u n d i t h i t e r f a c e R O i m u c h s u p e r i o r t t h a ta v a i l a b l e o C o m m o d o r e p r i n t e r s . T h a c o m p a n y i n g m a n u a l i a s w e l l p u t o g e t h e r a s t h e i n t e r f a c e .

A p r e s e n t d a p r i c e s f o r p a r a l l e lp r i n t e r s a n i n t e r f a c e s , i n l o n g e rm a k e s s e n s e t b u C o m m o d o r e p r i n t e ra n f o r e g o a l t h f e a t u r e s a n f l e x i b i l it a v a i l a b l e o o t h e r p r i n t e r s . X e t e c ' sS u p e r G r a p h i x J r i a e x c e l l e n t i n t e rf a c e a n h i g h l y r e c o m m e n d i t S u p e r G r a p h i x J r p a r a l l e l p r i n t e r i n t e r

f r o m X e t e x I n c . , 3 0 1 0 A r n o l d R o a d ,S a l i n a , K 6 7 4 0 1 .

E l i t ef r o m F i r e b i r d

S p a c e s i m u l a t i o n g a m ef o C o m m o d o r e 6

v i e w b y T h o m a s J o n e sh w o r d ' e l i t e 1 m e a n s ' t h e b e s t ' , a n i

a a p p r o p r i a t e n a m e f o t h i s n e p r f o t h C o m m o d o r e 6 4

U s i n g c o m b i n a t i o n o h i g h - r e s o l u t i o ng r a p h i c s f o t h e c o c k p i t a n i

a n t h r e e - d i m e n s i o n a l w i r eg r a p h i c s f o t h v i e w o f o u t e r

t h r o u g h t h w i n d o w s , t h i s s i m u l ac o n v i n c i n g l y p u t s y o i n t o t h h o t -o a i n t e r p l a n e t a r y l o n e - w o l f t r a d e r

t h m i d - t h i r t i e t h c e n t u r y . I i r i d er e m e m b e r .

U n l i k e s i m p l e s h o o t - ' e m - u p s , E l i t e i a i n g m i o f s e v e r a l c h a l l e n g e s . I

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

o n a l s p a c e t h a t i c o u l d b e c o m eh F l i g h t S i m u l a t o r I o s p a c e s h i p

r s . T h s e n s a t i o n o f d i s o r i e n t a -c o m m o n t a s t r o n a u t s i a l s o f r

f e l t w h e n f l y i n g t h e E l i t e c r a f t .I a d d i t i o n t f l y i n g t h s h i p a n

h o w e v e r , y o m u s t t r t t u r np r o f i t i W a l l S t r e e t f a s h i o n , t r a d i n g

t e a r n m o n e y t e q u i p y o u r b a s i ct r a d e v e s s e l . S t a r t i n g w i t h a

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

E v e n i y o d e v e l o p a k e e n s e n s e f o p r o f i t a b l e t r a d e , E l i t e r e m a i n s d i f f i c u l t ,b e c a u s e m a n y d a n g e r s a w a i t . A r o u n dm a n y p l a n e t s , a n e s p e c i a l l y p o o r p l a n e t sw i t h d i c t a t o r s h i p s o i a n a r c h y , p i r a t e sa r e v e r - h u n g r y f o r i c h c a r g o . T h a t i o n i f a s t a n d e a d l y w h e n y o m e e tt h e m , a n d y o u m a f i n d y o u r s e l f c r y i n go u " W h a t w o u l d H a S o l o d n o w ? "i w i l l t a k e m o r e t h a n f a s t r e a c t i o n s t d e f e a t m a n y o t h e s e s h i p s .

I y o d s h o o t d o w n p i r a t e , y o m a r e c e i v e b o u n t y f r o m G a l C o p , b i b r o t h e r p o l i c e f o r c e . G a l C o p s e e se v e r y t h i n g y o d o o n i t s u p e r - r a d a r s ,a n k n o w s y o u b y y o u r s h i p ' s r a d a rs i g n a t u r e . N o a l s h i p s y o u m e e t a r p i r a t e s , h o w e v e r . I y o a t t a c k l a w -a b i d i n g s h i p , G a l C o p w i l l p u t a p r i c e o y o u r h e a d . I t h i s h a p p e n s , o n y o u r n e x tt r i p y o w i l l m e e t b o u n t y - h u n t e r s h i p s ,m a n n e d b e x c e l l e n t , c o m b a t - r a t e d p i l o t sa n e q u i p e d w i t h h e a v y a r m a m e n t s .W o r s e , G a l C o p i t s e l f i p r e s e n t i m o s ts y s t e m s t s o m e d e g r e e , a n w i l l a t t a c ka c r i m i n a l s h i p a g g r e s s i v e l y w i t h f a s tc o m b a t V i p e r s w h e n a p p r o a c h e d .

A s s u m i n g t h a t y o s u r v i v e a n k e e py o u r n o s e r e a s o n a b l y c l e a n , y o c a a m a s s m o n e y t f u r t h e r e q u i p y o u r s h i pi w h a t e v e r w a y o d e e m f i t . I f , f o e a m p l e , y o u b u y e x t e r n a l s c o o p s a n m i n i n g l a s e r , y o c a g p r o s p e c t i n g f o a s t e r o i d s . Y o s e l l t h e o r e a s w e l l a t r a d i n g g o o d s , a n d y o u m a o c c a s i o n a l l yf i n d f e c a n i s t e r s o f c a r g o i s p a c e t s a l v a g e . I y o r e m a i n o t h e r i g h t s i d eo t h e l a w , y o c a e x p a n d y o u r c a r g os p a c e , a d d a n e s c a p e p o d a n d b e t t e rw e a p o n s , a n d t r a d e o u n s t a b l e p l a n e t st h a t , w h i l e t h e y a t t r a c t u n s a v o r y p i r a t e sa n r o g u e s , p a p r e m i u m p r i c e s f o y o u rc a r g o e s . Y o c a t r t r a d i n g i s l a v e s ,d r u g s , a n d g u n s i y o c a w e a t h e r t h w r a t h o G a l C o p w h e n y o t r t d o c k a

c i v i l i z e d C o r p o r a t e S t a t e o r D e m o c r a t i cM u l t i - G o v e r n m e n t p l a n e t . A l a s tr e s o r t , i y o c a n ' t m a k e a h o n e s t l i i n g , y o c a e v e n t u r n p i r a t e y o u r s e l f .P i r a t e s d e s t r o y t r a d e s h i p s a n s c o o p u t h e i r c a r g o e s .

Y o u r m a i n n a v i g a t i o n a l i n s t r u m e n t i r e m a r k a b l e 3 - D r a d a r s c a n n e r s h o w i n g

e v e r y t h i n g i y o u r i m m e d i a t e a r e a . Y o l e a r n t u s t h i s t f l t o t h e s t a t i o n , d o c k ,a n t e n g a g e ( o r f l e e ) e n e m y s h i p s .O t h e r i n s t r u m e n t s t h e l p y o i n c l u d e i d i c a t o r s f o r s p e e d , f u e l l e v e l , s h i e l dp o w e r , c a b i n t e m p e r a t u r e , a l t i t u d e a b o v ep l a n e t , l a s e r t e m p e r a t u r e , e n e r g y b a n kc h a r g e , r o l l a n p i t c h .

R e v i e w sI t h e v e n t y o e x h a u s t t h t r a d i n g

p o s s i b i l i t i e s i t h i s g a l a x y , a n i y o u c a ng e u t h p r i c e o a i n t e r - g a l a x y H y p e r -d r i v e u n i t ( s o l d o n l y o h i g h t e c h w o r l d s ) ,y o c a m o v e o t t h n e x t o e i g h tg a l a x i e s ! m a n e v e r g e t o u t o t h i s o n e .

G a m e o p t i o n s i n c l u d e f a s t - l o a d o n / o f f ,k e y b o a r d o j o y s t i c k , e n h a n c e d p l a n e td e t a i l o n / o f f ( t h e r e i s l i g h t c o s t i s p e e df o u s i n g t h i s o p t i o n ) , m u s i c o n / o f f a n m o r e . Y o c a s a v e y o u r c u r r e n t p o s i t i o nt a n f o r m a t t e d d i s k a n r e s t o r e i l a t e r .I r e t a i n s a l t h p o s i t i o n s s a v e d , s y o c a r e t u r n t a n s a v e p o i n t . E a c h s a v eu s e s o n b l o c k o t h d i s k , a n u n i q u ec o d e n u m b e r i i s s u e d a e a c h s a v e , w h i c hy o c a s e n d i t F i r e b i r d t e n t e r c o t e s t . M o r e o t h i s p r e s e n t l y .

T h p r o g r a m c o n s u m e s a b o u t a t h i r d o t h d i s k , a n l o a d s e n t i r e l y i n t o m e m o r yo t h i n i t i a l b o o t . I l o a d s f a i r l y q u i c k l ye v e n w i t h o u t t h f a s t - l o a d o p t i o n . h a v eh a s o m e p r o b l e m s w i t h b a l o a d sr e s u l t i n g i g a r b a g e o n t h s c r e e n , b u i m a b t h a t t h i s j u s t r e f l e c t s g l i t c hw i t h m c o p y o t h g a m e .

D o c u m e n t a t i o n f o r E l i t e i v e r y c o p l e t e a n o e x c e l l e n t q u a l i t y . I i n c l u d e s

s i z a b l e i n s t r u c t i o n m a n u a l , w r i t t e n i t h s t y l e o t h U S E n t e r p r i s e O p e r at i o n s M a n u a l . F o r a d d e d e n t e r t a i n m e n t ,y o a l s o g e t a s c i e n c e f i c t i o n n o v e l b a s e do t h g a m e ! T h e l p w i t h t h g a m e - p l a y ,y o a r e g i v e n k e y b o a r d o v e r l a y , c h a r to t h t y p e s o s h i p s , a n r e f e r e n c e c a r dt h e l p y o r e m e m b e r t h c o m m a n d s .

T h e c o m p l e x s t o r y l i n e a n h i g h l e v e lo d e t a i l r e f l e c t s m a t u r e p r o g r a m w i t hf o l l o w i n g l i k e t h a t o f t h e D u n g e o n s a n d

D r a g o n s g a m e . I n d e e d , E l i t e i b u t h l a t e s t v e r s i o n o f p r o g r a m n u r t u r e d a n h o n e d o n t h E n g l i s h B B H o m e C o mp u t e r . I i r e p u t e d t b t h f i n e s t g a m ee v e r c r e a t e d f o t h i s c o m p u t e r , a n b e l i e v e i w i l l b e c l a s s i c f o t h C - 6 4 a w e l l .

F i r e b i r d i L o n d o n - b a s e d c o m p a n y ,a p p a r e n t l y d i s t r i b u t i n g E l i t e u n d e rl i c e n c e f r o m A c o r n S o f t ( t h e B B H o m eC o m p u t e r i b u i l t b A c o r n ) . W h e no r d e r e d m c o p y o f E l i t e f r o m d e a l e ri H e r t s , E n g l a n d , r e c e i v e d c a s s e t t ew i t h t h E u r o p e a n ( P A L v i d e o s y s t e m )C - 6 4 v e r s i o n o i t T h i s w o u l d r u f i n e o P A s y s t e m s , b u t n o t o m A m e r i c a n( N T S C v i d e o s y s t e m ) C - 6 4 , s o c o n t a c t e dF i r e b i r d f o r e p l a c e m e n t . w a m i l d l ys u r p r i s e d a t t h e p r o m p t n e s s w i t h w h i c ht h F i r e b i r d s t a f f o b t a i n e d U S A - v e r s i o nd i s k f r o m t h e i r U n i t e d S t a t e s s u b s i d i a r y .T h e y e v e n s e n t c a s s e t t e w i t h o n o t h e i r n e g a m e s o i t c o m p e n s a t e m f o a n i n c o n v e n i e n c e ! T h i s i r a r es e r v i c e .

I t h a t i s n ' t e n o u g h f o y o u , t h o u g h ,

T P U G M a g a z i n e 4 3

Page 46: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 46/52

R e v i e w s :F i r e b i r d o f f e r s a m o n t h l y c o n t e s t t f i n dt h b e s t E l i t e p i l o t s ( r e m e m b e r t h a t c o e n u m b e r a e a c h s a v e ? )

I y o c a o n l y a f f o r d o n g a m e t h i sy e a r , s u g g e s t E l i t e !E l i t e , $ 2 9 . 9 5 ( U S ) f r o m F i r e b i r d L i c e n s e e s ,I ' m . , P . O . B o J f 9 , R a m s e y , N e J e r s e y0 7 U 6 U . S . A .

P o w e r P l a nf r o m A b a c u s S o f t w a r e

S p r e a d s h e e t p r o g r a mw i t h g r a p h i c s

f o C o m m o d o r e 6

R e v i e w b D a v e P o w e l lM f i r s t i m p r e s s i o n s o t h i s s p r e a d s h e e tw e r e n o g o o d . I s w o r e a m i G e r m a nw h e n t r i e d t o F a s t L o a d i a n d , o n c el o a d e d , f l a s h e d t h b o r d e r s a n w a i l e d a m w h e n e v e r m a d e a m i s t a k e . D u r i n gm f i r s t s e s s i o n w i t h i t i c r a s h e d .H o w e v e r , h a d n ' t t r i e d t h g r a p h i c s y e t ,s p e r s e v e r e d . w a c o m i n g a P o w e rP l a n h a v i n g u s e d d o z e n s p r e a d s h e e t sp r e v i o u s l y . A n i t ' s d i f f e r e n t ! N o t h a tI ' m u s e d t i t i d o e s n ' t w a i l s m u c h . ( B t h w a y , n e v e r c o u l d r e c r e a t e t h s i t u at i o n t h a t c r a s h e d i t . )

l i k e d s o m e f e a t u r e s h a d n ' t s e e ne l s e w h e r e : s h o w i n g a l t h f o r m u l a e o t h e s c r e e n ; g o o d u s o c o l o u r , i n c l u d i n gt h a b i l i t y t c o l o u r a n c e l l , a n c o l o u r ;a n b a o t h e i n p u t l i n e t s h o w h o m u c h o m t e x t w o u l d f i i t h c u r r e n tc o l u m n . c a c h a n g e m m i n d a b o u t t h c e l l m e a n t t u s e , w h i l e i t h m i d d l eo e n t e r i n g d a t a ; a n s i n g l e k e w i l lr e p e a t t h p r e v i o u s c o m m a n d , w i t h o u ts i d e t r i p t h r o u g h t h m e n u s .

w a s n ' t c r a z y a b o u t t h m a n u a l . S o m et y p o s ( a n d s c r e e n t e x t , t o o ) a p p e a r t b

p r o d u c t o t h t r a n s l a t i o n f r o m G e rm a n . ( " E n t e r f o Y e s " ; a n " P i e C a k e "g r a p h . ) A n o t h e r c o m p l a i n t a b o u t t h d o c u m e n t a t i o n : i t ' s t o d e t a i l e d ! T h t r a i n i n g m a n u a l d r o v e m t d i s t r a c t i o nb e x p l a i n i n g e v e r y p o i n t t t h e t e n t hd e g r e e . B u h a v e t s a i t ' s c o m p l e t e .P o w e r P l a n h a t o m a n y o p t i o n s i s o m e c a s e s { D y o w a n t t c h a n g e c e l lr e f e r e n c e s i r e m a i n i n g f o r m u l a e a f t e rd e l e t i n g a c o l u m n ? Y e s , o c o u r s e ! ) , a n t o f e i o t h e r s ( y o u c a n ' t c h o o s e t h d i s k i . d . w h e n y o f o r m a t d i s k ) . M o v e r a l l f e e l i n g i t h a t i h a s l i g h t l y l e s ss p r e a d s h e e t f u n c t i o n t h a n i t c o n t e mp o r a r i e s , b u c e r t a i n l y e n o u g h f o m o s tp u r p o s e s s h o r t o f s m a l l b u s i n e s s . f o u n d

i h a r d e r t o u s e , b u m o s t o f t h a t m a b i n g r a i n e d h a b i t .

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

W h e n y o u r d a t a i c a l c u l a t e d , c h o o s i n gt h g r a p h i c s o p t i o n l e a v e s t h e d a t a i m e m o r y , a n l o a d s n e c o d e t d r a wp r e t t y t h i n g s . T h e s e a r p r e s e n t a t i o ng r a p h i c s g o o d f o s h o w i n g , m o r e t h a nu s i n g . T h e r e a r n m e a s u r e m e n t s o t h a x e s f o r i n s t a n c e . g o o d s e o f o p t i o n sa r e p r o v i d e d : b a r , p i e , p o i n t , m i n - m a x( s t o c k - p r i c e t y p e ) a n p o i n t s j o i n e d( s t r a i g h t l i n e s ) . T h f i r s t t w a l s o c o m ei 3 - v e r s i o n s w h i c h a d d s f l a i r . N t i t li n i d o n e f o y o u , b u t e x t e d i t o ra l l o w s t i t l e s , v a l u e s , l a b e l s a n w h a t e v e rt b a d d e d . B e s t o a l l , u t o e i g h t g r a p h s( a n y m i x ) c a b p u o o n s c r e e n i y o u rc h o i c e o f s i z e s .

T h i s i n o t a p r o d u c t i o n t o o l , b e c a u s et h a d d e d t e x t c a n n o t b s a v e d f o u s o l a t e r g r a p h . P a r t l y b e c a u s e o t h i s ,g e t t i n g g o o d - l o o k i n g g r a p h c a b t i m ec o n s u m i n g . E a c h c h a n g e o d a t a m e a n s

r e l o a d i n g o f t h e s p r e a d s h e e t c o d e , t h e nr e l o a d i n g t h g r a p h i c p a r t ( t w o m i n u t e se a c h ) , a n t h e n r e d o i n g t h l a b e l i n g .

T h g r a p h i c s a r e b e t t e r t h a n a n p r v i d e d o a n o t h e r C - 6 4 s p r e a d s h e e th a v e s e e n , a n d o n ' t a p p e a r t h a v e i c r e a s e d t h p r i c e . T h i s m i g h t s w a y y o u rd e c i s i o n . I y o a l r e a d y h a v e f a i r l y r c e n t s p r e a d s h e e t , t h i s p a c k a g e m i g h t n o g i v e y o a c o m p e l l i n g r e a s o n t s w i t c h .I y o d o n ' t , t a k e a g o o d l o o k a P o w e rP l a n .P o w e r P l a n 6 4 f r o m A b a c u s S o f t w a r e ,P . O . B o 7 2 1 1 , G r a n d R a p i d s , M i c h i g a n4 9 5 1 0 . D i s k a n m a n u a l , $ 8 9 . 9 5 U S

P R - 1 0 1 1 p r i n t e rf r o m R o l a n d

D o m a t r i x p r i n t e rw i t h C e n t r o n i c s p o r t

R e v i e w b R a n j a n B o s eR o l a n d C a n a d a h a b e e n m a r k e t i n gP a n a s o n i c p r i n t e r s f o s o m e t i m e n o w ,a n t h P R - 1 0 1 1 i t h P a n a s o n i c K X P 1 0 9 1 , s e l l i n g f o $ 3 6 6 . 0 0 C d n .

T h 8 s o f t w a r e c o m m a n d s t h a t i s u p o r t s a r e c o m p a t i b l e w i t h E p s o n c o d e s ,e n s u r i n g c o m p a t i b i l i t y w i t h m o s t c o m e r c i a l s o f t w a r e . T h p r i n t e r a l s o s u p o r t s s p e c i a l w o r d p r o c e s s i n g c o m m a n d sf o j u s t i f i c a t i o n , c e n t e r i n g , s e t t i n g u o m a r g i n s a n d s o o n . T h d r a f t q u a l i t y o u p u i p u m p e d o u a 1 0 c p ( 6 l i n e s p e

m i n u t e ) i p i c a , e l i t e , s e m i - c o m p r e s s e d ,c o m p r e s s e d a n p r o p o r t i o n a l p i c a p i t c h e s( 1 t 1 c p i ) . A l s o a v a i l a b l e a r p r i n ts t y l e s s u c h a d o u b l e w i d t h , e m p h a s i z e d ,d o u b l e s t r i k e , i t a l i c s , s u p e r s c r i p t s a n s u b s c r i p t s , u n d e r l i n i n g , 1 1 i n t e r n a t i o n a lc h a r a c t e r s e t s .

T h c h a r a c t e r s e i b e a u t i f u l l yd e s i g n e d , e s p e c i a l l y i y o u s t h n e a rl e t t e r q u a l i t y ( N L Q ) m o d e . Y o c a s w i t c h t h i s o e i t h e r b p r i n t i n g s o f t w a r ec o d e s o b f l i p p i n g t h r e e p o s i t i o ns w i t c h t h a t s e l e c t s b e t w e e n d r a f t , N L a n d c o m p r e s s e d m o d e s . T h N L p r i n t sa 2 c p a n y o c a u s a n p i t c h i r e g u l a r , d o u b l e - w i d t h o e m p h a s i z e ds t y l e . T h N L c h a r a c t e r s e i v e r ys i m i l a r t o t h a t s e e n o t y p e w r i t e r s a n i v e r y p r o f e s s i o n a l i a p p e a r a n c e . I i t h b e s t N L p r i n t o u t t h a t h a v e s e e no p r i n t e r a a n y w h e r e n e a r t h p r i c e .

T h p r i n t e r s u p p o r t s s e v e r a l p a g e -f o r m a t t i n g c o m m a n d s , v a r i a b l e l i n e -s p a c i n g , h o r i z o n t a l a n v e r t i c a l t a b u l at i o n s , a n s e v e r a l 8 - p i n a n 9 - p i n d o t -a d d r e s s a b l e g r a p h i c s m o d e s r a n g i n g f r o ms i n g l e - d e n s i t y ( 6 0 d p i ) t q u a d - d e n s i t y( 2 4 0 d p i ) . Y o c a a l s o d e s i g n a n u s u t 4 c u s t o m c h a r a c t e r s a w e l l . T h p r i n t e r c o m e s w i t h a C e n t r o n i c s p a r a l l e li n t e r f a c e a n I r e c e i v e b u f f e r ( a b o u t1 / a p a g e o t e x t ) . s e r i a l R S - 2 3 2 i n t e rf a c e a n 4 e x p a n s i o n b u f f e r a r ea v a i l a b l e a o p t i o n s . E i g h t D I s w i t c h e sa r e p l a c e d u n d e r t h p r i n t h e a d t r a c k t c o n t r o l v a r i o u s p r i n t e r p a r a m e t e r s . M o s tC o m m o d o r e - 6 4 o w n e r s , h o w e v e r , w i l l b u s i n g t h s w i t c h e s o t h e i r i n t e r f a c e s ,a n d n e e d n e v e r b o t h e r w i t h t h p r i n t e rD I s w i t c h e s .

T h p r i n t e r h a b o t h f r i c t i o n a n t r a ct o r f e e d , a n p e r m i t s t r o u b l e - f r e e u s o s i n g l e s h e e t s o r f a n f o l d p a p e r u t t e i n c h e s w i d e . T h p r i n t e r i a d e q u a t e l yd a m p e n e d a c o u s t i c a l l y , a n c a b m a d eq u i e t e r s t i l l b p r i n t i n g a t h a l f - s p e e d . I u s e s s e a m l e s s n y l o n r i b b o n r a t e d a m i l l i o n c h a r a c t e r s . W h e n t h e r i b b o n i e h a u s t e d , b u i l t - i n i n k r e s e r v o i r i a t i v a t e d t p r i n t a n o t h e r m i l l i o nc h a r a c t e r s . M o s t s u c h r a t i n g s a r s o m e w h a t e x a g g e r a t e d . T h r e e m i l l i o nc h a r a c t e r s r e p r e s e n t s m o r e t h a n 1 5 0 0d o u b l e - s p a c e d p a g e s o t e x t ! A l s o , t h ea c t u a l n u m b e r o p r i n t e d p a g e s g o e sd o w n w i t h t h u s o g r a p h i c s p r i n t i n ga n d o u b l e - p a s s p r i n t i n g ( N L Q , e c e t e r a ) .

T h p r i n t e r h a s a s e l f - t e s t a n h e x -d u m p f e a t u r e . T h m a n u a l i c o m p r e h e ns i v e a n l u c i d . T h b o t t o m l i n e ? I t ' sb e a u t i f u l , f l e x i b l e , v e r y a f f o r d a b l e ,f e a t u r e - l a d e n p r i n t e r w i t h t h b e s t N L i i t p r i c e c a t e g o r y m o s t h i g h l yr e c o m m e n d e d .

4 I s s u e 2

Page 47: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 47/52

P r o d u c t s R e c e i v e dP r e s e n t e d b A s t r i d K u m a sT h f o l l o w i n g p r o d u c t s h a v e b e e n r e c e i v e db T P U G M a g a z i n e i r e c e n t w e e k s .P l e a s e n o t e t h a t t h e s e d e s c r i p t i o n s a r b a s e d o t h m a n u f a c t u r e r s ' o w a n n o u n c e m e n t s , a n a r n o t h r e s u l t o e v a l u a t i o n b T P U G M a g a z i n e .

T h N u t r i t i o n i s tT h N u t r i t i o n i s t f r o m N a n o s e c C o r p o r at i o n , 4 1 8 5 S o u t h 3 0 0 W e s t , O g d e n , U t a h8 4 4 0 3 . O r d e r h o t l i n e : 1 - 8 0 0 - N A N O S E C ,1 - 8 0 0 - 6 2 6 - 6 7 3 2 . P r i c e : $ 3 4 . 9 5 ( U S ) .W e i g h t c o n t r o l , n u t r i t i o n a n f i t n e s ss e e m t b e v e r y b o d y ' s c o n c e r n , a n a t h e y r e m a i n t h t o p i c o f t h e d a y , c o p u t e r u s e r s w i l l s u r e l y w e l c o m e n e p r o d u c t c a l l e d T h N u t r i t i o n i s t .

T h N u t r i t i o n i s t , m e n u - d r i v e n p r g r a m f o t h C - 6 4 , h a b e e n d e s i g n e d a " d a t d a n u t r i t i o n a l g u i d e " t h e l pt h u s e r d e t e r m i n e a i n d i v i d u a l i z e d d a i l yd i e t b a s e d o n h i s / h e r p h y s i c a l a n w o r k

p a r t i c u l a r s . I c a b e u s e d b p e o p l e w h w o u l d l i k e t g o d i e t t o

w e i g h t , o b t h o s e w h s i m p l y w a n ti m p r o v e t h e i r e a t i n g h a b i t s a n m a i n

p r e s e n t w e i g h t . T h m a n u f a c t u r e r ,C o r p o r a t i o n , c l a i m s t h a t t h e p r

h a t a k e n t w y e a r s o r e s e a r c h a n , a n i b a s e d o n g o v e r n

r e s e a r c h a n t h p r o f e s s i o n a l e o c o m p a n y c a l l e d N u t r i t i o ns .

T h e r e a r e t h r e e o p t i o n s d i s p l a y e d o h m a i n m e n u : N u t r i t i o n G u i d e , F o o d

a n E x c h a n g e L i s t . I n t h f i r s t o N u t r i t i o n G u i d e , t h u s e r i r

t e n t e r s p e c i f i c i n f o r m a t i o n w h i c hc a l c u l a t e h i s / h e r d a i l y c a l o r i e n e e d s

w e l l a s t h i n t a k e v a l u e s o f i m p o r t a n te l e m e n t s l i k e p r o t e i n s , f a t s , c a r b o

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

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

h e / s h e c a c o n s u m e i

H a v i n g e s t a b l i s h e d p e r s o n a l n u t r i t i o nt s , t h u s e r c a n p r o c e e d t t h

w o t h e r o p t i o n s F o o d L i s t a n E L i s t . F o o d L i s t a l l o w s t h e u s e r t

t h n u t r i t i o n a l v a l u e o f v a r i o u si t e m s . T h e r e a r 8 9 f o o d i t e m s , i

s o m e p o p u l a r f a s t - f o o d p r o d u c t s ,

s t o r e d i t h p r o g r a m . T h n u t r i t i o n a lv a l u e o e a c h p r o d u c t e n t e r e d b t h u s e r ,a w e l l a s t h e s u o a l l i s t e d f o t h e d a y ,a p p e a r s o t h e s c r e e n , s h o w i n g h o c l o s et h u s e r m e e t s h i o r h e r n u t r i t i o n a lg o a l s , a n i n e c e s s a r y , w h a t m o d i f i c a t i o ni t h d i e t s h o u l d b m a d e .

E x c h a n g e L i s t p r e s e n t s s e v e r a lc a t e g o r i e s o f o o d p r o d u c t s , i s p e c i a lm e a s u r e d a m o u n t s , t h a t c o n t a i n a b o u tt h s a m e a m o u n t o c a l o r i e s , c a b o h y d r a t e s , f a a n p r o t e i n . B t h i sm e a n s , f o o d s w i t h i n e a c h c a t e g o r y m a b s u b s t i t u t e d f o o n a n o t h e r . T h i s o t i o n s h o u l d b u s e d w h e n p l a n n i n g d a i l ym e n u s .

J u n g l e B o o kJ u n g l e B o o k R e a d i n g f r o m F i s h e r - P r i c eL e a r n i n g S o f t w a r e . P . O . B o 1 3 2 7 , C a b r i d g e , M a s s a c h u s s e t t s 0 2 2 3 8 . P r i c e :$ 2 4 . 9 5 ( U S ) .J u n g l e B o o k R e a d i n g f o t h C o m o d o r e 6 i a e d u c a t i o n a l p r o g r a m f o i m p r o v i n g r e a d i n g c o m p r e h e n s i o n s k i l l s .I i a i m e d a c h i l d r e n s e v e n t t w e l v ey e a r s o l d . T h e p r o g r a m p r e s e n t s s i x t ys h o r t s t o r i e s b a s e d o R u d y a r d K i p l i n g ' sc l a s s i c j u n g l e a d v e n t u r e s . E a c h s t o r y i f o l l o w e d b s e r i e s o r e a d i n g c o p r e h e n s i o n q u e s t i o n s . s p e c i a lc h e c k / s c o r e s y s t e m g u i d e s c h i l d r e n b a c kt t h t e x t f o a n o t h e r r e a d i n g . R e a d i n gp a s s a g e s a n q u e s t i o n s a r e s i m i l a r t t h o s e e n c o u n t e r e d o s t a n d a r i z e d r e a d i n gc o m p r e h e n s i o n t e s t s . B u t h e r e i o n i p o r t a n t d i f f e r e n c e t h e y a r n o t p a r t o a n t e s t , t h e y a r e p a r t o f t h e g a m e w h i c hi n v o l v e s m a n y f a v o u r i t e c h a r a c t e r s f r o mK i p l i n g ' s b o o k .

M o w g l i h a t f i n d B a g h e e r a t h p a t h e r , t r a p p e d i o n o f t h e m a n y j u n g l ec a v e s . T a c c o m p l i s h t h a t , h n e e d s t h c h i l d ' s h e l p . T h c h i l d m u s t r e a d f i v es t o r i e s t o B a l o o t h b e a r a n a n s w e r a l t h c o m p r e h e n s i o n q u e s t i o n s c o r r e c t l y .T h e n a f t e r e a c h s t o r y , f o l l o w i n g B a l o o ' sc o m m m a n d , h e / s h e m u s t g u i d e M o w g l it h r o u g h t h j u n g l e t f i n d a n p a s s o n o t h f i v e a n i m a l s w h i c h b l o c k M o w g l i ' sw a t B a g h e e r a .E r n i e ' s B i S p l a s hE r n i e ' s B i S p l a s h f r o m C B S o f t w a r e ,O n F a w c e t t P l a c e , G r e e n w i c h , C 0 6 8 3 6 . P r i c e : $ 1 4 . 9 5 ( U S ) .E r n i e ' s B i S p l a s h f o C o m m o d o r e 6 i p r e s c h o o l l e a r n i n g a c t i v i t y d e s i g n e dt d e v e l o p s e n s e o d i r e c t i o n , a w e l l a

t h a b i l i t y t o p l a n , p r e d i c t , a n s o l v e p r b l e m s . P e r h a p s t h i s d o e s n o s o u n d l i k em u c h f u f o r c h i l d r e n a g e d f o u r t s i x .B u i i s

K i d s w i l l e n j o y m e e t i n g E r n i e a n o t h e rS e s a m e S t r e e t c h a r a c t e r s o t h e i r c o p u t e r s c r e e n . E r n i e i t a k i n g b a t h , a n w o u l d l i k e t g e h i R u b b e r D u c k i e i n t ot h b a t h t u b . C h i l d r e n c a h e l p E r n i e b b u i l d i n g a p a t h w a y t h a t l e a d s R u b b e rD u c k i e f r o m h i s o a p d i s h i n t o E r n i e ' sb a t h t u b . T h p a t h w a y c a n b e c r e a t e df r o m s e p a r a t e b u i l d i n g p i e c e s , w i t h d o o rw a y s t c o n t r o l t h m o v e m e n t o R u b b e rD u c k i e : u p d o w n , l e f t o r i g h t b u t n o tn e c e s s a r i l y t o w a r d t h t u b .

T h d i s k c o n t a i n s t h r e e g a m e s : E r n i e ' sC h a l l e n g e , E r n i e ' s F u P a C h a l l e n g ea n E r n i e ' s S u p e r C h a l l e n g e . E a c hg a m e i n t r o d u c e s n e e l e m e n t t i c r e a s e t h e c h a l l e n g e f o c h i l d r e n w h h a v e b e c o m e f a m i l i a r w i t h t h b a s i c i d e ao f b u i l d i n g t h p a t h w a y .

A c h i l d r e n g e m o r e a n m o r e s k i l l e da c r e a t i n g a p a s s a g e f o E r n i e ' s D u c k i e ,p a r e n t s c a n e n c o u r a g e t h e m t p r e d i c tt h n u m b e r o p i e c e s t h e y w i l l n e e d t c o m p l e t e t h p a t h w a y . T h e y c a a l s o a s t h e m t d e s i g n p a t h w a y s u s i n g t h l e a s tn u m b e r o p i e c e s p o s s i b l e , o a m a n yp i e c e s a s p o s s i b l e .

V I C 2 0 C o r r e c t i o nT h o s e o y o w h h a v e t r i e d t u s P - T e r m . V 1 2 K c o n t a i n e d o V I i s s u e ( V ) T L m a h a v e n o t i c e dp r o b l e m . D i s k u s e r s a r s o m e t i m e st o l d t " P r e s s P l a y O T a p e " . T h p r o b l e m l i e s i l i n e 7 0 w h i c h u s e sm e m o r y l o c a t i o n 1 8 t a s c e r t a i nw h i c h d e v i c e , t a p e o d i s k , w a u e t l o a d t h m a i n b o d y o t h p r g r a m . T h e s i m p l e s t s o l u t i o n i t c h a n g e t h P e e k i t h a t l i n e t s i m p l e ' 8 s o t h a t t h e l i n e r e a d s :7 i p e e k ( 1 2 2 8 8 ) < > 1 6 9

t h e n l o a d " t e r m / v i c . c 2 " , 8 , 1A l s o , t h e L i s t - m e s a y s t h a t t h es e c o n d a r y p r o g r a m i p a t c h . I r e a l i t y , i i t h m a c h i n e l a n g u a g ep o r t i o n o f t h e t e r m i n a l p r o g r a mm e c u l p a . W a p o l o g i z e f o a n i c o n v e n i e n c e s t h i s e r r o r m a h a v ec a u s e d .

R i c h a r d B e s tT P U G V I 2 L i b r a r i a n

T P U G M a g a z i n e 4

Page 48: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 48/52

A s S o m e o n e W h K n o w sI y o e n j o y J i S t r a s m a ' s m a n y b o o k s , a n h i

a r t i c l e s i t h i s a n o t h e r m a g a z i n e s , y o u ' l l b g l a dh a l s o e d i t s h i o w h i g h l y - a c c l a i m e d c o m p u t e rm a g a z i n e , n o i i t s i x t h y e a r o c o n t i n u o u sp u b l i c a t i o n . W r i t t e n j u s t f o o w n e r s o C o m o d o r e ' s m a n y c o m p u t e r s , e a c h M i d n i t e S o f t w a r eG a z e t t e c o n t a i n s h u n d r e d s o b r i e f , h o n e s tr e v i e w s .

M i d n i t e a l s o f e a t u r e s t i m e l y C o m m o d o r e 'n e w s , h i n t s a n a r t i c l e s , a l o r g a n i z e d f o i n s t a n tr e f e r e n c e , a n n e v e r w a s t e d w o r d . W h e t h e r y o a r j u s t b e g i n n i n g o l o n g - t i m e h o b b y i s t , e a c hi s s u e w i l l h e l p y o a n y o u r c o m p u t e r t w o r kt o g e t h e r e f f e c t i v e l y .

s i i s s u e a n n u a l s u b s c r i p t i o n i $ 2 3 . T s u b s c r i b e , o r e q u e s t s a m p l e i s s u e , j u s t w r i t e :

M I D N I T E S O F T W A R E G A Z E T T EP . O . B o 1 7 4 7

C h a m p a i g n , I 6 1 8 2 0

Y o u ' l l b g l a d y o d i d !

T u n e y o u r C o m p u t e r i n t oM I D I

I y o o w C o m m o d o r e , A t a r i S T o A p p l e , t h e n y o m a w a n t t t u r n i o t t h w o r l d o M u s i c w i t h k e y b o a r da n i n t e r f a c e . W s t o c k t h m o s t p o p u l a rM I D I i n t e r f a c e s ( s t a r t i n g a $ 4 9 . 9 5 ) p l u sw h a v e l i m i t e d o f f e r o t h C A S I OC Z 1 0 1 D i g i t a l M I D I S y n t h , f o o n l y $ 2 6 9I t ' s e a s y t t u r n y o u r c o m p u t e r i n t op l a y e r p i a n o * w i t h t h Q R P l a y e r P i a n oR o l l D i s k s t h a t f e a t u r e m u s i c f r o m 1 9 0 0 ' st t o d a y ( f r o m S c o t t J o p l i n t M a d o n n a ) .I n t e r f a c e s w i t h s o n g m u s i c d i s k s t a r ta l o a $ 4 9 . 9 5 a n t h d e m o h a G e r s h w i n p l a y i n g R h a p s o d y i B l u e .

W h a v e s e q u e n c e r s o f tw a r e , c a b l e s , C A S I O a n K O R G k e y b o a r d s , m u s i cd i s k s , M I D I i n t e r f a c e s ,p l u s m o r e . W r i t e o c a l lf o m o r e i n f o r m a t i o n .

C A L L - 2 0 1 - 8 3 8 9 0 2 7o w r i t e u a

D I S T R I B U T I N G I N W J R o u t e 1 f l u i k r

D E A L E R I N Q U I R E S I N V I T E D• R E Q U I R E S M I D I K E Y B O A R D

1 0 % D I S C O U N TT T P U G M E M B E R S

O N S O F T W A R E . B O O K S A N D A C C E S S O R I E S( E X C L U D I N G S A L E S 1 I E M S IP H O N E O R D E R S A C C E P T E D

( 4 1 6 ) 6 3 3 - 5 6 0 5

Page 49: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 49/52

B u l l e t i n B o a r dC o m p u t e r s i e d u c a t i o nT h C e n t r e f o A d v a n c e d T e c h n o l o g y i E d u c a t i o n h a p u b l i s h e d t h p r o c e e d i n g s o t h 1 9 8 5 S u m m e r C o n f e r e n c e :E x t e n d i n g t h H u m a n M i n d : C o m p u t e r s i E d u c a t i o n . T h 3 8 8 - p a g e b o o k i d i v i d e d i n t o t h r e e s e c t i o n s c o n t a i n i n g 4 p a p e r s : C u r r i c u l u m A p p l i c a t i o n s ; L e a r n i n g a n T e a c h i n g ; a n d C l a s s r o o m a n d S c h o o l M a n a g e m e n t .

T h i s b o o k , a n v o l u m e s c o n t a i n i n g ( h p r o c e e d i n g s o p r e v i o u s c o n f e r e n c e s , c a b o r d e r e d f r o m E R I C C l e a r i n gh o u s e o n E d u c a t i o n a l M a n a g e m e n t , C e n t r e f o A d v a n c e dT e c h n o l o g y i E d u c a t i o n , 1 7 8 7 A g a t e S t r e e t , E u g e n e ,O r e g o n , U 9 7 4 0 3 .

A l s o f r o m E u g e n e , O r e g o n , c o m e s t h a n n o u n c e m e n t o i h f o r m a t i o n o S ! G C S S p e c i a l I n t e r e s t G r o u p f o C o p u t e r S c i e n c e w h o s e p r i m a r y g o a l i t o p e n c o m m u n i c at i o n s b e t w e e n c o m p u t e r s c i e n c e t e a c h e r s b p r o v i d i n gn e w s l e t t e r a n h e l p i n g t e s t a b l i s h l o c a l g r o u p s .

T h g r o u p h a s b e e n f o r m e d u n d e r t h a e g i s o t h I n t e rn a t i o n a l C o u n c i l f o C o m p u t e r s i E d u c a t i o n ( I C C E ) , a n i i n t e n d i n g t e x p l o r e a n p r o m o t e t h t e a c h i n g o c o m p u t e rs c i e n c e . T h n e w s l e t t e r w i l l c o v e r s u c h t o p i c s a s c l a s s r o o mm a t e r i a l s , e t h i c a l a n s o c i a l i s s u e s , a n d p r o g r a m m i n g i v a r i e t y o l a n g u a g e s . F o f u r t h e r i n f o r m a t i o n c o n t a c t S I G C Sp r e s i d e n t Z a W a r r e n , P h i l l i p s A c a d e m y , A n d o v e r ,M a r y l a n d , U 0 1 8 1 0 .

M i a m i M . I . C . E .t h a b e e n b r o u g h t t o u a t t e n t i o n t h a t n e u s e rg r o u p h a s b e e n f o r m e d i t h S u n s h i n e S t a t e , c a l l e d M i a m iI n d i v i d u a l s w i t h C o m m o d o r e E q u i p m e n t . M e e t i n g s a r h e l do t h t h i r d F r i d a y o e a c h m o n t h a t h F l o r i d a i n t e r n a t i o n a lU n i v e r s i t y T a m i a m i c a m p u s a 7 : 3 0 p m T h c o n t a c t p e s o i B e C D e m b y J r . . P r e s i d e n t , c / 1 1 1 1 0 B i r d R o a d ,M i a m i , F l o r i d a 3 3 1 6 5 , t e l e p h o n e ( 3 0 5 ) 2 2 1 - 7 1 1 5 .

T w o t h e r u s e r g r o u p s h a v e a n n o u n c e d t h e i r f o r m a t i o n :T h M S D i s k D r i v e I n f o r m a t i o n E x c h a n g e h a b e e ne s t a b l i s h e d t s e r v e t h n e e d s o u s e r s o t h e s e p r o d u c t sn o t h a t t h m a n u f a c t u r e r i n l o n g e r i b u s i n e s s . T h o s ew h c o n t r i b u t e i n f o r m a t i o n t t h e x c h a n g e w i l l b e n t i t l e dt r e c e i v e : l i s t o s o f t w a r e c o m p a t i b l e w i t h t h e d r i v e s ,t e c h n i c a l d a t a , a n f a c t s a b o u t p a r t s a n s e r v i c e a v a i l a b i l it y a p r o v i d e d b o t h e r u s e r s . F u r t h e r i n f o r m a t i o n a b o u tt h i s n o n - p r o f i t o r g a n i z a t i o n c a n b e o b t a i n e d f r o m P a u l E c k l e r ,2 7 0 5 H u l m a n S t . , T e r r e H a u t e , I n d i a n a , U 4 7 8 0 3 .

T h I n t e r n a t i o n a l C o m m o d o r e L a n g u a g e I n t e r e s t G r o u ph a b e e n e s t a b l i s h e d t i n f o r m p r o g r a m m e r s a b o u t n e t o o l s a n a l g o r i t h m s i p r o g r a m m i n g l a n g u a g e s . I C L I Gp u b l i s h e s n e w s l e t t e r , a n m a i n t a i n s a p u b l i c d o m a i n s o f tw a r e l i b r a r y . F u r t h e r i n f o r m a t i o n c a b o b t a i n e d f r o m K e n tT e g e l s , m a n a g e r o I C L I G , a 1 8 1 2 N o r t h I F r e m o n t ,N e b r a s k a , U 6 8 0 2 5 , o t e l e p h o n e ( 4 0 2 ) 7 2 1 - 4 3 4 6 .

F i n a l l y t h R o c h e s t e r F O R T H A p p l i c a t i o n s C o n f e r e n c e i h o l d i n g i t ' s s i x t h c o n f e r e n c e a t h e U n i v e r s i t y o R o c h e s t e r ,f r o m t h e 1 1 t h o J u n e t i l l t h 1 4 t h o J u n e . T h f o c u s o t h i sy e a r s c o n f e r e n c e i ' r e a l - t i m e a r t i f i c i a l i n t e l l i g e n c e ' . F o m o r ei n f o r m a t i o n c o n t a c t M a r i a G r e s s a ( 7 1 6 ) 2 3 5 - 0 1 6 8 .

I N T R O D U C I N GT H H R S U P E R - R E S

G R A P H I C S B O A R D

T h i s t a g r a p h i c s b o a r d w h i c h i u n i v e r s a l l y c o m p a t i b l e w i t h a l m o d e l s o P E T ' s W i t h S u p e r p e t s ( b o t h a n b o a r d s ) I w o r k s e q u a l l y w e l l o b o t h t h 6 5 0 2 a n 6 8 0 9 s i d e a w e l l a w i l h 0 S - 9 .

P f e a s e s e n d c h e q u e o M . O . f o S 2 0 0 . 0 0 U . S . / S . 0 C m p l u s S s h i p p i n ga n h a n d l i n g ( O n t a r i o r e s i d e n t s p l e a s e a d 7 P r o v . S a t e s T a x ) T o H I G H R E T E C H N O L O G I E S . 1 E N G L I S H I V Y W A Y . T O R O N T O . O N T A R I O M 2 3 M 4 .N o t e : P l e a s e s p e c i f y c o m p u t e r a n d d i s k d r i v e m o d e l n u m b e r s .

( 4 1 6 ) 4 9 7 - 6 4 9 3

C l a s s i f i e d sT h i s s p a c e i f o t h a d o T P U G m e m b e r s . W a n t e do f o s a l e i t e m s o n l y . C o s t i 2 c e n t s p e w o r d . N d e a l e r a d a c c e p t e d .

F o S a t e : I E E E i n t e r f a c e s f o C - 6 4 . B u s c a r d t ! , b r a n d n e w .C 6 4 - ! i n k ( 4 1 6 ) 4 9 9 - 0 7 9 7 .

1 5 2 6 / 8 0 2 F o n t s : T r i p l e , H e i g h t O l d e E n g l i s h , a n O l d eE n g l i s h C o n d e n s e d ; D o u b l e H e i g h t , L a r g e B f o c k a n S i n g l e H e i g h t O l d e E n g l i s h ; C o m p u t e r , a n G r e e k f o n t s ;C u s t o m L e t t e r h e a d p r o g r a m ; a n 5 c h a r a c t e r - h i g h c u s t o ml o g o . S e n d $ 4 0 . 0 0 t A l p h a c o m 1 5 I s a b e l S t r e e t ,P e t a w a w a , O n t a r i o , C a n a d a K 8 1 Z ( 6 1 3 ) 6 8 7 - 2 4 6 1 .

T P U G M a g a z i n e 4

Page 50: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 50/52

B r a n t f o r d E d u c a t i o n a l S e r v i c e sC h e a t s h e e t P r o d u c t s I n c .C O M A L U s e r s G r o u p , U S C o m s p e c C o m m u n i c a t i o n sC o m p u t e r R e n t a l sJ o h n D u n l o p A s s o c i a t e sE l e c t r o n i c s 2 0 0 1T h G u i d eH i g h R e T e c h n o l o g i e sK o b e t e k S y s t e m s L t d .L a t t i c e . I n c .M e g a s o f tM i c r o - W D i s t r i b u t i n gM i d n i t e S o f t w a r e G a z e t t eN o r t h O h i o F i r m w a r eP r o g r a m m e r s G u i l d P r o d u c t sT P U G ( D i s k S u b s c r i p t i o n s )T P U G ( O S / 9 )T P U G ( O S / 9 S o f t w a r e )T h T r a n s a c t o rV i d e o V a r i a b l e sW i l a n t a A r t sW o r l d H i s t o r y

3 8 , 3 7

4 2

I B 4 3

B 3 4 . 3 5

4 4 3 1

I F 3 1

1 1 2

T P U G M a g a z i n eD i s t r i b u t o r s

D e a l e r s : I y o w o u l d l i k e t c a r r y T P U G M a g a z i n e i y o u r s t o r e , y o m a o r d e r f r o m a n o n e o f t k e f o U o u r i n gd i s t r i b u t o r s :

C A N A D AM a s t e r M e d i a , O a k v i l l e , O n t . 4 1 6 - 8 4 2 - 1 5 5 5I n g r a m S o f t w a r e , C o n c o r d , O n t . 4 1 6 - 6 6 5 - 0 2 2 2C o m p u l i t D i s t r i b u t o r s , P o r t C o q u i t l a m , B 6 0 4 - 4 6 4 - 1 2 2 1

U S P r a i r i e N e w s , C h i c a g o , I 3 1 2 - 3 8 4 - 5 3 5 0L e v i t y D i s t r i b u t o r s , N o r t h H o l l y w o o d , C 8 1 8 - 5 0 6 - 7 9 5 8W h o l e L i f e D i s t r i b u t o r s , E n g l e w o o d , C 3 0 3 - 7 6 1 - 2 4 3 5M - D i s t r i b u t i o n , H o u s t o n , T 7 1 3 - 7 7 8 - 3 0 0 2T h H o m i n g P i g e o n , E l g i n , T 5 1 2 - 2 7 6 - 7 9 6 2N o r t h e a s t N e w s D i s t r i b u t o r s , K i n g s t o n , N 9 1 4 - 3 8 2 - 2 0 0 0F r e d B a y N e w s C o . , P o r t l a n d , O 5 0 3 - 2 2 8 - 0 2 5 1A J o n s o B o o k P e r i o d i c a l , A l e x a n d r i a , V 7 0 3 - 7 6 5 - 1 2 1 1C o r n u c o p i a D i s t r i b u t i o n , S e a t t l e , W 2 0 6 - 3 2 3 - 6 2 4 7G u i l d N e w s , A t l a n t a , G 4 0 4 - 2 5 2 - 4 1 6 6M i c r o - P A C E , C h a m p a i g n . I 8 0 0 - 3 6 2 - 9 6 5 3N e l s o n N e w s 4 6 5 1 S t r e e t , O m a h a , N 6 8 1 2 7M i c h i a n n a N e w s , F t W a y n e , I 2 1 9 / 4 8 4 - 0 5 7 1T o t a l C i r c u l a t i o n , S o u t h H a c k e n s a c k , N 2 0 1 7 3 4 2 - 6 3 3 4

T P U G C o n t a c t sT P U G O F F I C E 4 1 6 / 4 4 5 - 4 5 2 4

T P U G B B 4 1 6 / 2 7 3 - 6 3 0 0T P U G M E E T I N G S I N F O 4 1 6 / 4 4 5 - 9 0 4 0

B o a r d o D i r e c t o r sP r e s i d e n t C h r i s B e n n e t tV i c e - P r e s i d e n t G e r r y G o l dV i c e - P r e s i d e n t C a r l E p s t e i nR e c o r d i n g S e c .

D a v i d B r a d l e yR i c h a r d B r a d l e yG a r y C r o f tM i k e D o n e g a nJ o h n E a s t o nK e i t h F a l k n e rA n n e G u d z

G e n e r a l M a n a g e r B r u c e H a m p s o nT P U G M a g a z i n eP u b l i s h e r B r u c e H a m p s o nE d i t o r N i c k S u l l i v a nA s s i s t a n t E d i t o r s T i m G r a n t h a m

A d a m H e r s tP r o d u c t i o n M a n a g e r A s t r i d K u m a sA S a l e s J o h n M a t h e s o nM e e t i n g C o - o r d i n a t o r sB r a m p t o n C h a p t e r J a c k i e B i n g l e yC - 6 4 C h a p t e r K e i t h F a u l k n e rC O M A L C h a p t e r D o n a l d D a l l e y

V i c t o r G o u g hC o m m u n i c a t i o n s D a r r e l l G r a i n g e rE a s t s i d e C h a p t e r N i n a N a n a nH a r d w a r e C h a p t e r F r a n k H u t c h i n g sS u p e r P E T C h a p t e r G e r r y G o l dV I 2 C h a p t e r A n n e G u d zW e s t s i d e C h a p t e r J o h n E a s t o n

A F a r q u h a r s o nB u s i n e s s C h a p t e rN e U s e r s C h a p t e rC - 1 2 8 C h a p t e r A d a m H e r s tA m i g a C h a p t e r M i k e D o n e g a n

L i b r a r i a n sC O M A L V i c t o r G o u g hP E M i k e D o n e g a nS u p e r P E T B i l l D u t f i e l dV I 2 R i c h a r d B e s tC o m m o d o r e 6 4 D e r i c k C a m p b e l lB - 1 2 8 P a u l A i t c h i s o nA m i g a M i k e D o n e g a nC - 1 2 8 A d a m H e r s t ( C P / M )

c / 4 1 6 / 4 4 5 - 4 5 2 44 1 6 / 2 2 5 - 8 7 6 04 1 6 / 4 9 2 - 0 2 2 2

c / 4 1 6 / 4 4 5 - 4 5 2 4c / 4 1 6 / 4 4 5 - 4 5 2 4

4 1 6 / 7 2 7 - 8 7 9 54 1 6 / 6 3 9 - 0 3 2 94 1 6 / 2 5 1 - 1 5 1 14 1 6 / 4 8 1 - 0 6 7 8

c / o 4 1 6 / 4 4 5 - 4 5 2 44 1 6 / 4 4 5 - 4 5 2 4

4 1 6 / 4 4 5 - 4 5 2 44 1 6 / 4 4 5 - 4 5 2 44 1 6 / 4 4 5 - 4 5 2 44 1 6 / 4 4 5 - 4 5 2 44 1 6 / 4 4 5 - 4 5 2 44 1 6 / 4 4 5 - 4 5 2 4

c / 4 1 6 / 4 4 5 - 4 5 2 44 1 6 / 4 8 1 - 0 6 7 84 1 6 / 7 4 2 - 3 7 9 04 1 6 / 6 7 7 - 8 8 4 0

c / 4 1 6 / 4 4 5 - 4 5 2 4c / 4 1 6 / 4 4 5 - 4 5 2 4c / 4 1 6 / 4 4 5 - 4 5 2 4

4 1 6 / 2 2 5 - 8 7 6 0c / 4 1 6 / 4 4 5 - 4 5 2 4

4 1 6 / 2 5 1 - 1 5 1 15 1 9 / 4 4 2 - 7 0 0 0

c / 4 1 6 / 4 4 5 - 4 5 2 44 1 6 / 6 3 9 - 0 3 2 9

4 1 6 / 6 7 7 - 8 8 4 04 1 6 / 6 3 9 - 0 3 2 94 1 6 / 2 2 4 - 0 6 4 2

c / 4 1 6 / 4 4 5 - 4 5 2 44 1 6 / 4 9 2 - 9 5 1 8

c / 4 1 6 / 4 4 5 - 4 5 2 44 1 6 / 6 3 9 - 0 3 2 9

c / 4 1 6 / 4 4 5 - 4 5 2 4J a m e s K o k k i n e n ( C - 1 2 8 ) c / 4 1 6 / 4 4 5 - 4 5 2 4

M S / D O S C o l i n J u s t a s o nT P U G B u l l e t i n B o a r dS y s o p ( v o i c e , w e e k d a y s ) S y l v i a G a l l u sA s s i s t a n t S y s o p S t e v e P u n t e r

c / 4 1 6 / 4 4 5 - 4 5 2 4

c / 4 1 6 / 8 9 6 - 1 4 4 6c / 4 1 6 / 8 9 6 - 1 4 4 6

Page 51: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 51/52

M o n t h l y P u b l i c a t i o nF o

C o m m o d o r e ™ O w n e r sC o m m o d o r e s u p p o r t w i t h t w i s t . . . P e r s o n a b l e a n e v e n h u m o r o u s . . T i m e l y n e w s . . H e l p f u l t u t o r i a l s . . O n - g o i n g s u p o r t f o s e v e r a l l a n g u a g e s : B A S I C ( i n c l u d i n g B A S I C 7 . 0 a s f e a t u r e d i t h 1 2 P C ) , M a c h i n e L a n g u a g e , C O M A L , a n P a s c a l. . P r o g r a m L i s t i n g s . . H o n e s t s o f t w a r e r e v i e w s .

T h G u i d e f e a t u r e s s o m e o t h b e s t c o m p u t e r h u m o r i s t s t b f o u n d .I n t r o d u c e y o u r " w i d o w " t t h C o m p u t e r W i d o w ' s C o m p e n d i u m .

T u t o r i a l s a n f e a t u r e a r t i c l e s b t h f a m o u s M i n d y S k e l t o n .F e a t u r i n g S h e l l y R o b e r t s ' " I ' m S o r r y . . B u D o n ' t S p e a k H e x i d e c i m a l . " D i s c o v e r w h S h e l l y j u s tm a b t h A n d y R o o n e y o t h c o m p u t e r w o r l d !

W f e e l w h a v e a s s e m b l e d o n o t h m o s t t a l e n t e d s t a f f o w r i t e r s i t h C o m m o d o r e w o r l d . R e c e i v e e a c h m o n t h t h m o s tf r i e n d l y a n h e l p f u l C o m m o d o r e p u b l i c a t i o n a v a i l a b l e . W r i t t e n b C o m m o d o r e u s e r s w h a r w r i t i n g t y o u , n o t d o w n a y o u .

L i m i t e d o f f e r F R E E W i t h E a c h S u b s c r i p t i o nS u b s c r i b e N O t c a p i t a l i z e o f r e e s o f t w a r e o f f e r !

R e c e i v e u t $ 9 9 . 8 5 i h i g h q u a l i t y s o f t w a r e !W i t h e a c h y e a r ' s s u b s c r i p t i o n ( o r e n e w a l ) o r d e r e d , r e c e i v e y o u r c h o i c e o t h s o f t w a r e p a c k a g e s l i s t e d b e l o w , i n c l u d i n g t h a w a r d w i n n i n g e d u c a t i o n a l g a m e s f r o m D i s n e y , o r O m i t e r m T e r m i n a l w r i t t e n b y o u r o w B o R i c h a r d s o n .

S u b s c r i p t i o n R a t e C a n a d i a n R e c e i v e F R E EO n Y e a rT w Y e a r sT h r e e Y e a r s

M 8 . 0 0' 3 5 . 0 0M 8 . 0 0

A n s o f t w a r e t i t l e l i s t e d b e l o wA n t w o t h t i t l e s b e l o wA l t h r e e o t h t i t l e s b e l o w

' 2 4 . 0 0 ( U . S . )' 4 7 . 0 0 ( U . S . )' 6 4 . 0 0 ( U . S . )

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

O m i t e r m T e r m i n a l P r o g r a mW r i t t e n b O S G $ u h U o w B o

W i n n i e T h P o o hI T h H u n d r e d A c r e W o o d

D o n a l d D u c k ' s P l a y g r o u n dC E S o f t w a r e S h o w c a s e w a r d W i nn e r ! D i s n e y a n i m a t i o n a i t b e s t !C h i l d r e n p l a y f o u r g a m e s t " e a r n "m o n e y t b u p l a y g r o u n d e q u i pm e n t . B u i l d s m o n e y h a n d l i n g s k i l l s .S u p e r b g r a p h i c s . b e s t s e l l e r ! $ 3 9 . 9 5r e t a i l v a l u e .

3 8 0 8 S . E . L i c y n t r a C t P o r t l a n d , O 9 7 2 2 2

P l a y e r s e x p l o r e t h H u n d r e d A c r eW o o d t f i n d l o s t a r t i c l e s l i k e O w ' l sb o o k s , P o o h ' s h o n e y p o a n E e y o r e ' s t a i l , a n r e t u r n t h e m t t h e i r r i g h t f u l o w n e r s . C h e e r y m u s i cf r o m t h D i s n e y m o v i e c a p s o f t h i sc o m p u t e r r e n d i t i o n o t h b e l o v e dc l a s s i c . $ 3 9 . 9 5 r e t a i l v a l u e .

R i c h a r d s o n . F u l l y s u p p o r t s t h n e 1 6 6 0 M o d e m 3 0 0 ! ( T h e O N c o m e r c i a l t e r m i n a l p a c k a g e t h a t c u r e n t l y f u l l y s u p p o r t s t h 1 6 6 0 ! ! !

M o d e m c o n i r u h a c c e s s i b l e f r o m I h k e > l > < i i i r d• P u n i e r p r o l u c o l u p l o a d d o w n l o a d

3 0 0 / 1 2 D O b a u d• T e n p r o g r a m m a b l e f u n c t i o n k e > s■ 1 n u m b e r p h o n e d i r e c t o r y• 2 0 k r e c e i v e b u f f e r• T o n e o r p u l s e d i a l i n g■ A u l o d i a l / r e - d i a l• I I a i r / f u l l d u p l e x

$ 1 9 . 9 5 r e t a i l v a l u e .D o n ' t d e l a y m a i l t o d a y ! S u p p l i e s a r l i m i t e d .

N a m e .

A d d r e s s .

Y o a r e n t i t l e d t o n F R E E s o f t w a r e p a c k a g e , a d e s c r i b e d a b o v e , f o e a c h y e a r ' s s u b s c r i p t i o n p u r c h a se d P l e a s e l i s t y o u r s e c o n d c h o i c e , a s u p p l i e s a r e l i m i t e do t h D i s n e y t i t l e s ! P l e a s e a l l o w s i t o e i g h t w e e k s f o d e l i v e r y .

C i t y , S t a t e Z i p . M f i r s t c h o i c e i s : .

E n t e r M S u b s c r i p t i o n f o r :l Y e a r Y e a r s Y e a r s M s e c o n d c h o i c e i s

P l e a s e C h e c k O n e : N e R e n e w a l

Page 52: TPUG Issue 23 1986 May

8/2/2019 TPUG Issue 23 1986 May

http://slidepdf.com/reader/full/tpug-issue-23-1986-may 52/52

S o f t w a r e d e s i g n e d f o A M I G A .L a t t i c e C o m p i l e r $ 1 4 9 . 9 5W i t h m o r e t h a n 3 0 , 0 0 0 u s e r s w o r l d w i d e . L a t t i c e C o m p i l e r ss e t h i n d u s t r y s t a n d a r d f o M S - D O S s o f t w a r e d e v e l o p m e n t .L a t t i c e g i v e s y o a l y o u n e e d f o d e v e l o p m e n t o p r o g r a m so t h A M I G A . L a t t i c e i a f u l l I m p l e m e n t a t i o n o K e r a i g h a na n R i t c h i e w i t h t h A N S I e x t e n s i o n s a n m a n y a d d i t i o n a lf e a t u r e s .A M I G A C C r o s s C o m p i l e r $ 2 5 0 . 0 0A l l o w s A M I G A d e v e l o p m e n t o n y o u r M S - D O S s y s t e m . P r i c ei n c l u d e s t h a b o v e p r o d u c t .L a t t i c e S c r e e n E d i t o r ( L S E " 1 ) $ 1 0 0 . 0 0D e s i g n e d a p r o g r a m m e r ' s e d i t o r , L a t t i c e S c r e e n E d i t o r ( L S E )i f a s t , f l e x i b l e a n e a s y t o l e a r n . L S E ' s m u l t i - w i n d o w e n v i r o nm e n t p r o v i d e s n i t h e d i t o r f u n c t i o n s y o n e e d i n c l u d i n g b l o c km o v e s , p a t t e r n s e a r c h e s a n " c u t a n p a s t e . " I n a d d i t i o n , L S o f f e r s s p e c i a l f e a t u r e s f o p r o g r a m m e r s s u c h a a e r r o r t r a c ki n m o d e a n t h r e e A s s e m b l y L a n g u a g e i n p u t m o d e s . Y o c a a l s o c r e a t e m a c r o s o c u s t o m i z e k e y s t r o k e s , m e n u s , a n d p r o m p t st y o u r s t y l e a n p r e f e r e n c e s .L a t t i c e d B I I L i b r a r y $ 1 5 0 . 0 0T h e d B C I I I l i b r a r y l e t s y o c r e a t e , a c c e s s a n u p d a t e f i l e s t h a ta r c o m p a t i b l e w i t h A s h t o n - T a t e s d l i A S E s y s t e m . d / i C I l l ' sf u n c t i o n s l e y o e x t e n d e x i s t i n g d B A S E a p p l i c a t i o n s o a l l o wy o u r u s e r s t p r o c e s s t h e i r d a t a u s i n g d B 1 1 o d B A S E M l

L a t t i c e M a k e U t i l i t y ( L M K ™ ) $ 1 2 5 . 0 0A a u t o m a t e d p r o d u c t g e n e r a t i o n u t i l i t y c o m p a t i b l e w i t h I ' N I XM a k e , L a t t i c e M a k e U t i l i t y ( L M K ) l e t s y o r e b u i l d c o m p l e x p r g r a m s w i t h s i n g l e c o m m a n d . O n c e y o s p e c i f y t h r e l a t i o ns h i p s o f t h e v a r i o u s p i e c e s o y o u r s y s t e m i n d e p e n d e n c y f i l e ,I M a u t o m a t i c a l l y r e b u i l d s y o u r s y s t e m t h s a m e w a e v e r yt i m e , a n o n l y c o m p i l e s p r o g r a m f i l e s t h a t h a v e c h a n g e d . H u L M i n o l i m i t e d t u p d a t i n g p r o g r a m s . Y o c a u s I M t u p d a t e d o c u m e n t a t i o n o p e r f o r m a n e x e c u t a b l e c o m m a n d !L a t t i c e T e x t U t i l i t i e s $ 7 5 - 0 L a t t i c e T e x t U t i l i t i e s ( I T U ) c o n s i s t s o f e i g h t s o f t w a r e t o o l s t o h e l py o m a n a g e y o u r t e x t f i l e s . G K E P s e a r c h e s f i l e s f o t h s p e c if i e d p a t t e r n . D I F F c o m p a r e s t w o f i l e s a n l i s t s t h e i r d i f f e re n c e s . E X T R A C T c r e a t e s l i s t o f i l e n a m e s t h e x t r a c t e d f r o mt h c u r r e n t d i r e c t o r y . B U I L D c r e a t e s b a t c h f i l e s f r o m p r e v io u s l y g e n e r a t e d f i l e n a m e l i s t . W d i s p l a y s t h e n u m b e r o c h a r a c t e r s a n o p t i o n a l l y t h e c h e c k s u m o s p e c i f i e d f i l e . l : i l i n e e d i t o r w h i c h c a u t i l i z e o u t p u t f r o m o t h e r L T s o f tw a r e i a a u t o m a t e d b a t c h m o d e . S P L A T s e a r c h e s f i l e s f o r as p e c i f i e d c h a r a c t e r s t r i n g a n r e p l a c e s e v e r y o c c u r r e n c e w i t h

s p e c i f i e d s t r i n g . A n P I L E S l i s t s , c o p i e s , e r a s e s o r e m o v e s f i l e so e n t i r e d i r e c t o r y s t r u c t u r e s w h i c h m e e t t h e s p e c i f i e dc o n d i t i o n s .

L a t t i c e U n i c a l c 9 S p r e a d s h e e t $ 1 9 . 9 5C n i c a l c i s i m p l e - t o - o p e r a t e p r o g r a m t h a t t u r n s y o u r A M I G Ac o m p u t e r i n t o a e l e c t r o n i c s p r e a d s h e e t . U s i n g U n i c a l c y o c a e a s i l y c r e a t e s a l e s r e p o r t s , e x p e n s e a c c o u n t s , b a l a n c e s h e e t s ,o a n o t h e r r e p o r t s y o h a t d m a n u a l l yU n i c a l c o f f e r s t h v e r s a t i l i t y y o u ' v e c o m e t e x p e c t f r o m b u s in e s s s o f t w a r e , p l u s t h s p e e d a n d p r o c e s s i n g p o w e r o t h A M I G A .• 8 1 9 2 r o b y 2 5 6 c o l u m n p r o c e s s i n g a r e a C o m p r e h e n s i v ec o n t e x t - s e n s i t i v e h e l p s c r e e n s C e l l s c a c o n t a i n n u m e r i c .a l g e b r a i c f o r m u l a s a n t i t l e s * F o r e i g n l a n g u a g e c u s t o m i z a t i o nf o a l p r o m p t s a n d m e s s a g e s C o m p l e t e l i b r a r y o f a l g e b r a i ca n c o n d i t i o n a l f u n c t i o n s D u a l w i n d o w c a p a b i l i t i e s F l o a ti n g p o i n t a n s c i e n t i f i c n o t a t i o n a v a i l a b l e C o m p l e t e l o a d , s a v ea n p r i n t c a p a b i l i t i e s * U n i q u e c u s t o m i z a t i o n c a p a b i l i t y f o y o u re v e r y a p p l i c a t i o n F u l l c o m p a t i b i l i t y w i t h o t h e r l e a d i n gs p r e a d s h e e t s .

L a t t i c e M a c L i b r a r y $ 1 0 0 . 0 0T h L a t t i c e M a c L i b r a r y ' ' ' i c o l l e c t i o n o f m o r e t h a n s i x t yf u n c t i o n s w h i c h a l l o w y o t q u i c k l y a n e f f i c i e n t l y l a k ea d v a n t a g e o t h p o w e r f u l c a p a b i l i t i e s o f t h e A M I G A .E v e n i y o u r k n o w l e d g e o t h A M I G A i l i m i t e d , M a c L i b r a r yc a n e a s e y o u r j o o i m p l e m e n t i n g s c r e e n s , w i n d o w s a n g a d g e t s b y u t i l i z i n g t h e f u n c t i o n s , e x a m p l e s a n d s a m p l e p r g r a m s i n c l u d e d w i t h t h p a c k a g e .O t h e r M a c L i b r a r y r o u t i n e s a r e f u n c t i o n a l l y c o m p a t i b l e w i t h t h m o s t w i d e l y u s e d A p p l e " M a c i n t o s h 1 " Q u i c k d r a w R o u t i n e s ' " ,S t a n d a r d F i l e P a c k a g e a n T o o l b o x U t i l i t y R o u t i n e s e n a b l i n gy o t r a p i d l y c o n v e r t y o u r M a c i n t o s h p r o g r a m s t r u o t h A M I G AP a n e l $ 1 9 5 - 0 0P a n e l w i l l h e l p y o w r i t e y o u r s c r e e n p r o g r a m s a n l a y e r y o u rs c r e e n d e s i g n s w i t h u t t e o v e r l a p p i n g i m a g e s . P a n e l ' s s c r e e nl a y o u t s c a b a s s i g n e d t i n d i v i d u a l w i n d o w s a n m a b d y n a m i c a l l y l o a d e d f r o m f i l e s o c o m p i l e d I n t o a p r o g r a m . P a n e lw i l l o u t p u t s o u r c e f o i n c l u d i n g i y o u r a p p l i c a t i o n s . m o i t o r a n d k e y b o a r d u t i l i t y i a l s o i n c l u d e d t a l l o w y o t c u t o m i z e y o u r a p p l i c a t i o n s f o o t h e r s y s t e m s .

W i i l i L a t t i c e p r o d u c t s y o g e t L a t t i c e S e r r i c e I n c l u d i n g t e l e p h o n e s u p -p o n . n o t i c e o n e p r o d u c t s a n e n h a n c e m e n t s a n 3 0 - d a y m o n e y -b a c k g u a r a n t e e , C o r p o r a t e l i c e n s e a g r e e m e n t s a v a i l a b l e .

L a t t i c eL a t t i c e , I n c o r p o r a t e dP o s t O f f i c e B o 3 0 7 2G l e n E l l y n , I l l i n o i s 6 0 1 3 8( 3 8 5 8 - 7 9 5 0 T W 9 1 0 - 2 9 1 - 2 1 9 0

I N T E R N A T I O N A L S A L E S O F F I C E S :B e n t - l u x ; I n e s D a t a c o m ( 3 2 ) 2 7 2 0 5 1 6 1 E n g l a n d : R u u n d h i l l . ( 0 6 " " 2 ) S 4 6 " S

J a p a n : L i f e b o a t I n c . ( 0 3 ) 2 9 3 - 4 7 1 1 F r a n c e : S 1 4 6 - 6 6 - 1 1 - 5 5G e r m a n y : ( 4 9 ) 7 8 4 1 / 4 5 0 0