47
8/6/2019 Re-Run 1985 Fall Edition http://slidepdf.com/reader/full/re-run-1985-fall-edition 1/47 M E d i t i o n 1 9 8 5 " L f u ' T h B e s t P r o g r a m s F r o m R U F o t h C - 6 4 a n C - 1 2 8 * P L U S : S e v e r a l N e P r o g r a m R e l e a s e s ! * I n C - 6 4 m o d e o n l y

Re-Run 1985 Fall Edition

Embed Size (px)

Citation preview

Page 1: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 1/47

M E d i t i o n 1 9 8 5

"

■ L f u ' ■ T h B e s t P r o g r a m s

F r o m R U F o t h C - 6 4 a n C - 1 2 8 *

P L U S :S e v e r a l N e P r o g r a m R e l e a s e s !* I n C - 6 4 m o d e o n l y

Page 2: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 2/47

P l e a s e s e n d m b a c k i s s u e s o R e R U NV o l .V o l . I S p r i n g E d i t i o nG a m e p a kS u m m e r E d i t i o n

C - 6 4V I C - 2 0

C a s s e t t e v e r s i o n ( s ) a $ 1 1 . 4 7 'D i s k v e r s i o n ( s ) a $ 2 1 . 4 7 '

P a y m e n t E n c l o s e d M V I S A A

C a r d i E x p . D a t e

S i g n a t u r eN a m eA d d r e s sC i t y S t a t e Z i

R e R U N 8 P i n e S t r e e t P e t e r b o r o u g h , N 0 3 4 5 8i ■ ■ , : . • 5 0 f l o g F w e f l n A r f t t e c ' c a s c a d d a n a d a : - c - \ i : $ ! . 5 0 p e ! > t e n > U t a

B E A T T H R U S H —O r d e r t h n e x t e d i t i o n n o w !P l e a s e s e n d m t h R e R U N W i n t e r E d i t i o n :

D i s k v e r s i o n ( s ) a $ 2 1 . 4 7 e a . 'i ) . , ■ ■ : ■ O Q S t a g e S h a n d l i n g f o r e i g n A i M a p l e a s e a d $ 1 , 5 0 p e i i e m U l a n d s d r a w o U t a n k s o n l y ,

W i n t e r E d i t i o n ( a v a i l a b l e i D e c e m b e r ) r u n s o C - 6 4 a n C - 1 2 8 o n l y .

P a y m e n t E n c l o s e d n M I V I S A A

C a r d

S i g n a t u r e

N a m e

A d d r e s sC i t y

R e R U N

E x p . D a t e

S t a t e Z i p8 P i n e S t r e e t P e t e r b o r o u g h , N 0 3 4 5 8

Page 3: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 3/47

I n t r o d u c t i o nW e l c o m e t t h R e R U N F a l l

E d i t i o n . I t h i s e d i t i o n , w g i v ey o w i d e v a r i e t y o p r o g r a m s ,m a n y o w h i c h a p p e a r e d i R U N ' s J u n e , J u l y a n A u g u s ti s s u e s . T h r e e h a v e n e v e r b e f o r eb e e n p u b l i s h e d . A l p r o g r a m s w i l lw o r k o n t h C - 6 4 a n o t h C - 1 2 8 ( i C - 6 4 m o d e ) . D i r e c t o r yt i t l e s a r c a p i t a l i z e d b e l o w a n a r u s u a l l y n o t t h e s a m e a t h a r t i c l e t i t l e s . Y o m u s t , o c o u r s e ,u s t h d i r e c t o r y t i t l e s w h e nl o a d i n g p r o g r a m s .

T h i s e d i t i o n o R e R U N o f f e r sy o t h r e e p o w e r f u l d i s k - u t i l i t y p r g r a m s . A U T O M E N U s i m p l i f i e sd i s k u s a g e b l o a d i n g a n r u n i n g p r o g r a m s w i t h j u s t s i n g l ek e y s t r o k e . T h i s p r o g r a m a p p e a r sf i r s t o y o u r d i s k , a n w h e n i t ' sr u n , i w i l l d i s p l a y t h e n t i r eR e R U N d i s k d i r e c t o r y . F r o mt h e r e , y o s i m p l y p r e s s t h l e t t e rc o r r e s p o n d i n g t t h p r o g r a mt h a t y o w a n t t r u n .

C a l l t h D o c t o r ( D I S K D O T O R ) o f f e r s y o r e m e d y f o j u s ta b o u t a l o y o u r d i s k p r o b l e m s .I i v a l u a b l e t o o l f o r e g u l a rd i s k c h e c k u p s a n i n c l u d e s o t i o n s t l i s t d i r e c t o r y , r e s t o r ef i l e , p a c k d i r e c t o r y , l i s t u s e db l o c k s , v i e w o m o d i f y b l o c k s ,f o r m a t d i s k a n s e n d a d i s kc o m m a n d .

T h t h i r d d i s k u t i l i t y i 6 D i s kD i r e c t o r y ( 6 D I R E C T O R Y ) . T h i sw i l l b o n o y o u r m o s t - u s e dp r o g r a m s , w h e t h e r y o u a r p r o g r a m m e r o s t r i c t l y a a p p l ic a t i o n s u s e r . J u s t l o a d a n r u 6 D I R E C T O R Y . W h e t h e r o n o y o u ' r e i t h m i d d l e o r u n n i n gp r o g r a m , y o c a s e d i r e ct o r y o a n d i s k i y o u r d r i v e w i t hj u s t t h p r e s s o f u n c t i o n k e y .

W h a v e t w p r o g r a m m e r ' sa i d s f o y o u . B y t e - S i z e C o m p i l e r( M I C R O C O M P I L E R ) i d i s k -b a s e d B a s i c c o m p i l e r t h a t w i l lc o n v e r t B a s i c p r o g r a m i n t om a c h i n e l a n g u a g e . I i e a s y t u s a n a l l o w s y o t t a k e a v a n t a g e o t h s p e e d o m a c h i n el a n g u a g e p r o g r a m s . T o a c c o mp a n y t h i s c o m p i l e r , w a r p r v i d i n g T E S T C O M P I L E R a n C O L O R S D E M O f o y o u r u s i t e s t i n g t h e c o m p i l e r .

D o z e n W i l l D I ( F U N C T I O NK E Y S ) o t t e r s p r o g r a m m e r s w a t g a i n a c c e s s t f u n c t i o nk e y s i n s t e a d o e i g h t . I p r e p r og r a m s t h f u n c t i o n k e y s t s e b a c k g r o u n d , b o r d e r a n c h a ra c t e r c o l o r s , t o l i s t p r o g r a ma n t r u a p r o g r a m . w i l l a l s ol o a d a d i s k d i r e c t d y i t h C - 6 4W e d g e i i p l a c e .

D o z e n W i l l D I a l s o o f f e r s

Page 4: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 4/47

y o C A L C U L A T O R , p r o g r a md e m o n s t r a t i n g t h v a r i o u s m e t ho d o a c c e s s i n g p r e p r o g r a mm e f u n c t i o n k e y s . I a l s o a c t sa s v a l u a b l e p e r s o n a l c a l c u l a t o r .

C - 6 4 B i L e t t e r s g i v e s y o t h r e e s e p a r a t e a p p l i c a t i o n p r g r a m s f o d e s i g n i n g c o l o r f u ls c r e e n s f u l l o l a r g e c h a r a c t e r s .B I L E T T E R S i a e d i t i n g p r g r a m t h a t l e t s y o d e s i g n y o u ro w b i g - l e t t e r s c r e e n d i r e c t l yf r o m y o u r k e y b o a r d . T I T L E M K E i v i d e o t a p e t i t l e - m a k i n gp r o g r a m t h a t a l l o w s y o t e n t e ry o u r t i t l e s a A S C I I n u m b e r sw i t h i n d a t a s t a t e m e n t s , t h u s m a i n i e a s y t s a v e a n r e u s ey o u r d e s i g n s . F i n a l l y , B A N N E RM A K E R l e t s y o t y p e i s e l f -

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

H i g h P e r f o r m a n c e T u r t l e ( T U RT L G R A P H I C S ) a d d s t e n e c o m m a n d s t y o u r c o m p u t e rf o u s i n g h i g h - r e s o l u t i o n t u r t l eg r a p h i c s . I i B a s i c l o a d e r t h a ti n s t a l l s t h f o l l o w i n g g r a p h i c sc o m m a n d s : R e s e t , H i r e s , T e x t ,C o i r , L e f t , R i g h t , M o v e , T a i l u p , T a i l -d o w n a n P l o t . T U R T L E D E M Oi a a c c o m p a n y i n g d e m o n s t r at i o n p r o g r a m t h a t i l l u s t r a t e s s o m eo t h a m a z i n g g r a p h i c s d e s i g n sy o c a a c h i e v e u s i n g t h e s ec o m m a n d s .

W h a v e n ' t f o r g o t t e n e d u c at i o n . T E S T M A K E R l e t s y o c r a t e , m o d i f y a n s a v e f i l e s o t e s tq u e s t i o n s a n a n s w e r s . O n c e

Page 5: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 5/47

q u e s t i o n f i l e h a b e e n c r e a t e d ,T E S T T A K E R w i l l l o a d y o u r t e s t -q u e s t i o n f i l e a n g i v e y o t h o p t i o n o e i t h e r t e s t i n g y o u r s t d e n t s o d r i l l i n g t h e m w i t h r a d o s e l e c t i o n s f r o m t h t e s t f i l e .

L a s t l y , w h a v e t w b r a n d - n e wg a m e s . H O M E R U D E R B Yp l a c e s y o a n i g h t g a m ew i t h b a s e b a l l f a n s j a m m i n g t h s t a n d s . Y o c a h i a n p i t c h ,w i t h t h g o a l o h i t t i n g a m a n yh o m e r u n s a s p o s s i b l e .

I G O L D G R A B B E R , y o u c o nt r o l d a r i n g a d v e n t u r e r , F l y n n ,i h i q u e s t t c a t c h b a g s o g o l da n h i d e t h e m i h i h i l l t o p r t r e a t . W a t c h o u f o t h h u n g r ye a g l e a n f a l l i n g t e n - t o n w e i g h t s .

T h e r e y o h a v e i f o a n o t h e r

a c t i o n - p a c k e d e d i t i o n o R e R U N .W a r e l o o k i n g f o r w a r d t b r i n gi n y o t h P R O D U C T I V I T Y P A l a t e r t h i s f a l l . I w i l l b o u s e c o n dR e R U N S p e c i a l E d i t i o n , a n w i l lb f i l l e d w i t h p r o d u c t i v e a p p l ic a t i o n s f o y o u r C - 6 4 a n d C - 1 2 8( i C - 6 4 m o d e ) . W a l s o h a v eg r e a t p l a n s f o t h R e R U N W i t e E d i t i o n , w h i c h w i l l c o n t a i n t h eb e s t p r o g r a m s f r o m R U N ' s S e t e m b e r , O c t o b e r a n N o v e m b e ri s s u e s .

M A R G A R E T M O R A B I T OT e c h n i c a l M a n a g e rR U M a g a z i n e

Page 6: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 6/47

H o t L o a dD I S K :T l o a d a n o t h p r o g r a m s , t y p e :

L O A D " p r o g r a m n a m e " , 8

t h e n p r e s s t h R E T U R N k e y .T h d i s k d r i v e s h o u l d w h i r w h i l e t h s c r e e n p r i n t s S E A R C H I N G F O R ( p r o g r a mn a m e ) . T h s c r e e n s h o u l d t h e n p r i n t L O A D I N G a n t h e n f i n a l l y R E A D Y , w i t ht h e f l a s h i n g c u r s o r b e n e a t h . T y p e R U a n p r e s s t h R E T U R N k e y . T h p r o g r a m w i l l t h e n b e g i n .

C A S S E T T E :I n s e r t t h c a s s e t t e t a p e i n t o t h e D a t a s s e t t e r e c o r d e r , w i t h t h p r o p e r s i d e f a c i n gu p M a k e s u r e t h a t t h t a p e i r e w o u n d a l t h w a t t h b e g i n n i n g . T y p e :

L O A D " p r o g r a m n a m e "t h e n p r e s s t h R E T U R N k e y . T h s c r e e n w i l l d i s p l a y P R E S S P L A Y O T A P E ,Y o s h o u l d t h e n p u s h t h e p l a y b u t t o n o y o u r D a t a s s e t t e r e c o r d e r .

W h e n t h p r o g r a m h a b e e n f o u n d , t h s c r e e n w i l l d i s p l a y F O U N D ( p r o g r a mn a m e ) . O s o m e C o m m o d o r e c o m p u t e r s , y o m a t h e n h a v e t p r e s s t h C ( C o m m o d o r e s y m b o l ) k e t l o a d t h p r o g r a m . O o t h e r C o m m o d o r em a c h i n e s , t h p r o g r a m w i l l l o a d a u t o m a t i c a l l y . C h e c k y o u r o w n e r ' s m a n u a lf o s p e c i f i c l o a d i n g p r o c e d u r e s .W h e n t h p r o g r a m h a f i n i s h e d l o a d i n g , y o w i l l s e t h R E A D Y p r o m p ta n t h f l a s h i n g c u r s o r b e n e a t h . T y p e R U a n p r e s s t h R E T U R N k e t s t a r t t h p r o g r a m .

N O T E S :Y o s h o u l d u s t h e n t i r e p r o g r a m n a m e e x a c t l y a l i s t e d t a v o i d l o a d i n gp r o g r a m s t h a t h a v e s i m i l a r t i t l e s .B e f o r e l o a d i n g a p r o g r a m , a l w a y s r e f e r t t h a r t i c l e i t h b o o k l e t f o s p e c i a li n s t r u c t i o n s .B s u r e y o u r C - 1 2 8 i i C - 6 4 m o d e b e f o r e a t t e m p t i n g t l o a d t h e s e p r o g r a m s .

I

Page 7: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 7/47

D i r e c t o r yC A S S E T T E1 B I L E T T E R S1 T I T L E M A K E R1 B A N N E R M A K E R1 T U R T L E G R A P H I C S '1 T U R T L E D E M O2 C A L C U L A T O R2 F U N C T I O N K E Y S2 T E S T M A K E R +2 T E S T T A K E R2 H O M E R U D E R B Y3 G O L D G R A B B E R

D I S KA U T O M E N U "D I S K D O C T O R

1 6 D I R E C T O R Y1 B I L E T T E R S1 T I T L E M A K E R1 B A N N E R M A K E R1 T U R T L E G R A P H I C S1 T U R T L E D E M O2 C A L C U L A T O R2 F U N C T I O N K E Y S2 T E S T M A K E R +2 T E S T T A K E R2 H O M E R U D E R B Y3 G O L D G R A B B E R

• 3 M I C R O C O M P I L E R3 T E S T C O M P I L E R

■ 3 C O L O R S D E M OY o m u s t l o a d a n r u T U R T L E G R A P H I C S b e f o r ey o c a l o a d a n r u T U R T L E D E M O .Y o m u s t c r e a t e q u e s t i o n s f i l e u s i n g T E S T M A K E Rb e f o r e y o c a u s T E S T T A K E R .R e a d t h I n t r o d u c t i o n b e f o r e t r y i n g t l o a d a n p r o g r a m s .

Page 8: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 8/47

Page 9: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 9/47

D I S K O I R E C T O R V / FA U T O M E N U / J U L YP E R S C A L C / J U N1 S O F T K E Y S / J U HD I S K D O C / J U N ES C R E E N F O R M A T / A UF I L E E D / B U N K E RQ U E S T I O N S / B U N K E RF L V N NM I C R i M P I L E R

B I L E T T E R :B I L E T T E R ST U R T L E G R A P H I C ST U R T L E D E M OH O M E R U N D E R B Y

M A K E R

M A K E R / D I S K

s c r e e n a n d i s p l a y l o a d i n gm e s s a g e . t y p i c a l m e s s a g e d i p l a y i a f o l l o w s :

L O A D " P R O G R A M N A M * " , 8 , 1S E A R C H I N G F O R P R O G R A MN A M *L O A D I N G

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

p u t e r a u t o m a t i c a l l y i n i t i a t e sR u c o m m a n d . F i n a l l y , t h m e n up r o g r a m i r e m o v e d f r o m m e o r w i t h N e c o m m a n d .

T f a c i l i t a t e t h a u t o - r u n o e r a t i o n , t h a s t e r i s k ( * p a t t e r n -m a t c h i n g f o r m a t i u s e d i A u t oM e n u ' s l o a d i n g i n s t r u c t i o n , a d e s c r i b e d i t h 1 5 4 1 u s e r ' sg u i d e . P a t t e r n m a t c h i n g s i m p l ym e a n s t h a t t h d r i v e w i l l l o a d t h f i r s t p r o g r a m t h a t h a n a m em a t c h i n g t h l e t t e r s i t h L o a di n s t r u c t i o n . I t h i s p r o g r a m , t h

Page 10: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 10/47

f i r s t 1 l e t t e r s o f p r o g r a m n a m e sa r e u s e d . A i t ' s u n l i k e l y t h a td i s k w i l l h a v e t w p r o g r a m s w i t ht h s a m e n a m e , t h i s p a t t e r n -m a t c h i n g f o r m a t s h o u l d n o p o s ea p r o b l e m .

S a v e A u t o M e n u o n e a c h o y o u r d i s k s . W h e n y o w a n t t u s i t l o a d a n r u i t T h a t o m a t e d o p e r a t i o n s u r e b e a t st y p i n g i l o a d i n g c o m m a n d s !

Page 11: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 11/47

Page 12: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 12/47

( i r e v e r s e v i d e o ) w h e n t h d r e c t o r y i l i s t e d , y o m a a t t e m p tt b r i n g i b a c k .

E v e n t h o u g h p r o g r a m n a m er e m a i n s i t h d i r e c t o r y , t h p r o g r a m i t s e l f m a h a v e b e e no v e r w r i t t e n . T h e r e i s h o w e v e r ,n h a r m i t r y i n g t r e s t o r ep r o g r a m . Y o w i l l b i n f o r m e dw h e t h e r o n o t h a t t e m p t w a s u c c e s s f u l .

A t h e d i r e c t o r y i l i s t e d , i t e m sw i l l s c r o l l o f t h t o o t h s c r e e n . T f r e e z e t h s c r e e n ,p r e s s a n k e y . T o r e s u m e t h l i s t i n g , p r e s s a n k e a g a i n .

P r e s s t h e k e i y o w i s h t e n t h l i s t i n g , a n t h m e n uw i l l r e a p p e a r o t h e s c r e e n . T h i st e c h n i q u e f o e n d i n g a o p t i o no f r e e z i n g t h e s c r e e n i t h s a m e i o t h e r p a r t s o f t h i s p r g r a m w h e r e i t e m s s c r o l l o f t h s c r e e n .

W h e n y o u w a n t t t r r e s t o r i n gp r o g r a m , s e l e c t n u m b e r i

t h m e n u . Y o w i l l b e a s k e d f o t h e f i l e n a m e . A f t e r y o e n t e r i a n p r e s s t h r e t u r n k e y , n e m e n u w i l l a p p e a r :

I t h f i l e1 p r o g r a m2 s e q u e n t i a l f i l e

P r o g r a m f i l e s a n s e q u e n t i a lf i l e s a r e t h e o n l y t y p e s o f i l e st h a t c a b s u c c e s s f u l l y r e s t o r e d .M a k e t h a p p r o p r i a t e s e l e c t i o na n w a i t f o t h p r o g r a m t d i t w o r k . W h e n i i f i n i s h e d , y o

w i l l b g i v e n o n o t h r e e p o s i b l e m e s s a g e s : C a n n o t R e s t o r e ,S u c c e s s f u l R e s t o r e o P a r t i a lR e s t o r e .

I i p o s s i b l e t h a t p a r t o t h f i l e i r e c o v e r a b l e w h i l e t h r e s to t h p r o g r a m h a b e e n w r i t t e no v e r . E v e n w h e n t h S u c c e s s f u lR e s t o r e m e s s a g e a p p e a r s , y o s h o u l d v e r i f y t h a t t h f i l e i t h o n y o e x p e c t e d . T h o u g h v e r yr a r e , i i p o s s i b l e t h a t n e f i l eh a o v e r w r i t t e n t h o l o n e a n dt h e n b e e n s c r a t c h e d . D i s k D o t o h a n w a o k n o w i n g t h a ti h a l a t c h e d o n t o t h w r o n g f i l e .

M O D I F Y B L O C Kv e r y p o w e r f u l c a p a b i l i t y p r

v i d e d b D i s k D o c t o r i t h a b i l i t yt m o d i f y d a t a s t o r e d a n y w h e r eo t h d i s k . T h a t ' s h o t h i s p r g r a m i a b l e t r e s t o r e f i l et h a t ' s b e e n s c r a t c h e d . T h e a pp r o p r i a t e b y t e s i t h e d i s k d i r e ct o r y a r m o d i f i e d t i n d i c a t e t h a tt h p r o g r a m s t i l l e x i s t s .

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

D o n ' t b a f r a i d t o f o o l a r o u n dw i t h p r a c t i c e d i s k , s i n c e y o c a n n o t p h y s i c a l l y d a m a g e t h d i s k i a n w a y . P l e n t y o d i r e ct o r i e s w e r e r e n d e r e d u n r e a d a b l ew h i l e d e b u g g i n g D i s k D o c t o r .Y o c a u s D i s k D o c t o r t

Page 13: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 13/47

1 L I S T D I R E C T O R Y2 R E S T O R E f F I L E3 P A C K D I R E C T O R Y4 L I S T U S E D S L O C K S5 U I E W O M O D I F YB L O C K6 F O R M A T D I S K7 S E N D D I S K C O M M A N D

h e l p y o l e a r n a b o u t t h f o r m a to t h d i r e c t o r y . I p r o v i d e s y o w i t h w a t e x a m i n e t h d a t ac o n t a i n e d o n a n y b l o c k . T r s l e c t i n g i t e m n u m b e r ( v i e w o m o d i f y b l o c k ) f r o m t h m a i nm e n u , a n d y o w i l l b p r e s e n t e dw i t h n e m e n u :1 r e a d b l o c k2 v i e w b l o c k3 m o d i f y b l o c k4 w r i t e b l o c k b a c kp r e s s t e x i t

L e t ' s r e a d b l o c k f r o m t h d i r e c t o r y . S e l e c t i t e m n u m b e r( r e a d b l o c k ) . W h e n t h s c r e e np r o m p t s y o u f o t h t r a c k a n s e c t o r , t y p e i 1 8 , 1 a n p r e s st h e r e t u r n k e y .

T h d i s k d i r e c t o r y i s t o r e d e t i r e l y o t r a c k 1 8 S e c t o r i t h f i r s t s e c t o r i t h d i r e c t o r y ; h o e v e r , s e c t o r i t h f i r s t s e c t o rc o n t a i n i n g f i l e n a m e s .

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

w i l l r e a p p e a r o t h s c r e e n . S e

Page 14: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 14/47

Page 15: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 15/47

Page 16: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 16/47

c o n v e n i e n c e . I i u s e d t f o r m a td i s k . S i n c e t h N e c o m m a n d

i u s e d i n f r e q u e n t l y , m o s t p e o p l ef o r g e t t h e x a c t s y n t a x a n m u s tc o n s u l t t h d i s k m a n u a l . D i s kD o c t o r w i l l s e n d t h c o m m a n df o y o u . m e r e l y a s k i n g y o f o t h d i s k n a m e a n I D

F I N A L W O R D SD i s k D o c t o r i f a i r l y e a s y p r

g r a m t u s e . I m a s e e m a t h o u g h t h e r e ' s l o t r e m e m

b e r , b u t t h e p r o g r a m p r o m p t sy o f o a n i n f o r m a t i o n t h a t i tn e e d s .

U s u a l l y , w h e n a o p t i o n i s l e c t e d , t h p r o g r a m w i l l o p e nd i s k f i l e , t h e n c l o s e t h f i l e w h e ny o r e t u r n t t h m a i n m e n u .S i n c e y o s h o u l d n o c h a n g ed i s k s w i t h o u t c l o s i n g a l t h f i l e s ,

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

E x t e n s i v e e r r o r c h e c k i n g i p e r f o r m e d b y r e a d i n g t h d i s k -e r r o r c h a n n e l e a c h t i m e d i s k

Page 17: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 17/47

o p e r a t i o n i p e r f o r m e d . D i s kD o c t o r a u t o m a t i c a l l y p r i n t s o u m e s s a g e i n f o r m i n g y o o t h e r o r , s h o u l d o n o c c u r . R e a d i n gt h e r r o r c h a n n e l c l e a r s t h e e r r o rs t h a t y o m a p r o c e e d w i t h o u te x i t i n g t h p r o g r a m .

a c e r t a i n t h a t y o w i l l f i n dD i s k D o c t o r v a l u a b l e a d d i t i o nt y o u r u t i l i t y p r o g r a m s . E v e n i y o n e v e r n e e d a n o t h e s ef u n c t i o n s t d o c t o r y o u r d i s k s ,y o c a u s t h i s p r o g r a m t l e a r n h o d a t a i k e p t t r a c k o a n s t o r e d o t h d i s k . H i

1

Page 18: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 18/47

T h K e t Y o u rD i s k D i r e c t o r yW i t h t h i s h a n d y u t i l i t y , a c c e s s i n g y o u r d i s k

d i r e c t o r y i o n l y f u n c t i o n k e a w a y , e v e n w h i l ey o u r p r o g r a m i r u n n i n g .

B y R o b i n F r a n z e l

R U I R i g h t0 6 4 ; 0 1 2 8 ( i 0 6 m o d e ) ; d i s k d r i v e

H a v e y o e v e r b e e n r u n n i n gd a t a b a s e p r o g r a m a n f o r g o t

t e f i l e n a m e w h e n p r o m p t e df o i t Y o p r o b a b l y h a t p e f o r m n u m b e r o i n c o n v e n i e n tp r o c e d u r e s ( s u c h a i n t e r r u p t i n gy o u r p r o g r a m t e n t e r " @ $ " ) i o r d e r t d e t e r m i n e t h e f i l e n a m e .T h e a c c o m p a n y i n g m a c h i n e l a g u a g e D i s k D i r e c t o r y p r o g r a me n a b l e s y o t d i s p l a y t h d i s kd i r e c t o r y s i m p l y b p r e s s i n gf u n c t i o n k e y , e v e n w h i l e y o u rp r o g r a m i r u n n i n g .

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

a n k e y . T h i s w i l l w o r k e v e nw h e n y o a r e x e c u t i n g B a s i co m a c h i n e l a n g u a g e p r o g r a m .

P r e s s i n g t h r u n / s t o p a n r s t o r e k e y s w i l l d i s a b l e t h e d i r e ct o r y u t i l i t y ; t r e - e n a b l e i t s i m p l ye n t e r S Y 4 9 4 0 8 .

I y o u w a n t t l i s t t h e d i r e c t o r yu s i n g a k e y o t h e r t h a n f 3 j u s tP o k e i t h a p p r o p r i a t e k e c o d ef o l o c a t i o n 1 9 7 . F o r e x a m p l e , t m a k e t h f k e l i s t t h d i r e c t o r y ,e n t e r P O K E 4 9 4 4 4 , 3 .w a n t e d p r o g r a m t h a t w o u l du s l i t t l e m e m o r y , e x e c u t e q u i c k l ya n r e s i d e i m e m o r y w i t h b o t ht h D O w e d g e a n t h S c r e e nD u m p u t i l i t y . ( S e e " P r i n t Y o u rS c r e e n , " R U N , D e c e m b e r 1 9 8 4 . )T h i s p r o g r a m m e e t s a l t h o s es t a n d a r d s . I w o r k s w i t h a n p r g r a m e x c e p t t h o s e t h a t u s t h

1

Page 19: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 19/47

C O M M O D O R E § D I S K D I R E C T O R VB R O B I N F R A N Z E L

P R E S S F 3 F O R D I R E C T O R V

s a m e m e m o r y s p a c e , w h i c h i S C 1 O O t $ C 3 D A { 4 9 4 0 8 t 5 0 1 3 8 ) .

I w i l l e v e n w o r k w i t h m a c h i n el a n g u a g e m o n i t o r s r e s i d e n t ! ( N m o r e F o r m u l a - t o o - c o m p l e x e r o r s . ) T h e p r o g r a m d o e s n o r q u i r e a n d e d i c a t e d m e m o r ya r e a o u t s i d e t h e b o u n d a r i e s o t h p r o g r a m i t s e l f , b e c a u s e a l

z e r o - p a g e l o c a t i o n s a r s a v e da n t h e n r e s t o r e d a t h e n o t h d i r e c t o r y l i s t i n g .

k e e p t h D i s k D i r e c t o r y p r g r a m i m c o m p u t e r j u s t a b o u ta l t h t i m e i t ' s t u r n e d o n T h m o r e y o u u s e t h i s p r o g r a m , t h m o r e y o u ' l l w o n d e r h o y o e v e r m a n a g e d w i t h o u t i t H a v ef u n !

1

Page 20: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 20/47

Page 21: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 21/47

H E L L O .T H I S I f T E S T .

I O L I T T L E L E T T E R S , i l l * I 1 I E I 1 U P

d e r i v e d f r o m t h A S C I I a p p e nd i x , i n c l u d i n g t h e e d i t o r a n c o l o r - c h a n g i n g f u n c t i o n s .

F o e x a m p l e , t h p r o g r a mc o n t a i n s t e s t m e s s a g e t h a tu s e s b i l e t t e r s , s m a l l l e t t e r s , e i t o r c o n t r o l s a n c o l o r c h a n g e s .S i n c e t h p r o g r a m s c r o l l s , t h e r ei v i r t u a l l y n l i m i t t t h l e n g t ho t h t i t l e s y o c a n m a k e .

I y o l o o k a t h p o r t i o n o t h l i s t i n g b e g i n n i n g w i t h d a t a l i n e7 1 0 , y o u c a n s e w h a t w i l l h a p e b l o o k i n g a t h d a t a i t e r m s o A S C I I . T h 1 7 a r e c u rs o d o w n s , s t h v i d e o t i t l ep r e s e n t a t i o n b e g i n s w i t h s c r o l lf r o m t h b o t t o m o t h s c r e e n ;

t h 3 2 a r s p a c e s t c e n t e r t e x to l i n e . T h e n c o m e s t h t e x tA S C I I : 6 1 i b u i l t - i n , o n e - a n d -a - h a l f - s e c o n d t i m e r d e l a y y o c a u s a n y t i m e a n a o f t e n a y o w i s h ; 9 2 , 9 a n 9 a r e t h ec o l o r c h a n g e r s — t h e c o l o r i b u m p e d u b e a c h t i m e .

I l i n e 7 6 0 , t h n u m b e r 2 0 i c o d e b w h i c h t h p r o g r a md o e s G o s u b t l i n e 1 0 0 0 ,w h i c h a d j u s t s t h e a c t u a l c u r s o rt t h e d e s i r e d l o c a t i o n a n t h e np r i n t s m e s s a g e i r e g u l a r s m a l ll e t t e r s . Y o w i l l h a v e t w o r k a g e t t i n g t h e s m a l l l e t t e r s e x a c t l yw h e r e y o u w a n t t h e m .

F i n a l l y , u s c o d e 2 5 5 a t h

1

Page 22: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 22/47

l a s t d a t a e n t r y a n t h e r e w i l l b n O u t - o f - D a t a m e s s a g e . J u s t h i t h s h i f t k e w h e n y o h a v e f i i s h e d v i d e o t a p i n g y o u r c r e a t i o n .

T h t h i r d p r o g r a m , B a n n e rM a k e r , i l i t t l e d i f f e r e n t . Y o c a u s a l 6 c h a r a c t e r s , u t 3 2 0 0 o t h e m , t c r e a t e s e l f -r e p e a t i n g b i g - l e t t e r b a n n e r r i g h ti t h m i d d l e o t h s c r e e n . A t h p r o g r a m b e g i n s , y o e n t e ry o u r m e s s a g e i r e g u l a r t w o - l i n es e g m e n t s , u t 4 i n p u t s . Y o c a n ' t i n s e r t c o l o n s o c o m m a si n t o y o u r s e n t e n c e s .

T h e n , w h e n y o p r e s s t h s h i f tk e y , y o u r m e s s a g e w i l l s t r e a mf r o m r i g h t t l e f t a a v e r y r e a da b l e s p e e d , i b i o r a n g e l e t t e r sa g a i n s t a b l a c k b a c k g r o u n d .( O t h e r c o l o r s p r o d u c e f l a w s o f l a s h e s i t h s c r o l l i n g c h i p ! )

Y o c o u l d u s t h p r o g r a m t l e a v e a a t t e n t i o n - g e t t i n g m e s a g e f o s o m e o n e e l s e r i g h t o y o u r m o n i t o r o T s c r e e n . Y o c o u l d a l s o m a k e t e r r i f i c w i n d o wd i s p l a y f o b u s i n e s s o s o c i a lf u n c t i o n . E

1

Page 23: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 23/47

Page 24: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 24/47

1

Page 25: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 25/47

b s p e l l e d C O L O R , b u t t h ee m b e d d e d O k e y w o r d p r v e n t s i t . )

L E F T a l t e r s t h t u r t l e ' sh e a d i n g i t h c o u n t e r c l o c k w i s ed i r e c t i o n . i a n n u m b e r o n m e r i c e x p r e s s i o n a n i m e s u r e d i d e g r e e s .

R I G H T a l t e r s t h t u r t l e ' sh e a d i n g i t h c l o c k w i s e d i r e ct i o n . i a n n u m b e r o n u m e r i ce x p r e s s i o n a n i m e a s u r e d i d e g r e e s .

M O V E i t h c o m m a n d t h a tp r o p e l s t h t u r t l e , c a u s i n g i t d r a w l i n e o t h e s c r e e n . i a n n u m b e r o n u m e r i c e x p r e ss i o n . H o w e v e r , i i n e g a t i v e ,n m o v e w i l l t a k e p l a c e .

T A I L U P c a u s e s t h t u r t l e t l i f ti t s t a i l , a l l o w i n g i t m o v e w i t h o u td r a w i n g .

T A I L D O W N s e t s t h t u r t l e ' st a i l d o w n s t h a t i w i l l l e a v el i n e w h e n i t ' s m o v e d . T h e t a i l i sa l w a y s s e d o w n b R E S E T .

1

Page 26: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 26/47

P L O T p l o t s a n s p e c i f i e d X , Np o i n t o t h h i - r e s s c r e e n . v a u e a r l i m i t e d t o t h r a n g e 0 -3 1 9 , v a l u e s t 0 - 1 9 9 .

I t h t u r t l e ' s t r a v e l t a k e s i o f t h s c r e e n , n h a r m i d o n e . T h p o i n t o l i n e i s i m p l y n o P o k e di n t o m e m o r y . H o w e v e r , i t h

c a s e o t h P L O T c o m m a n d ,v a l u e g r e a t e r t h a n 2 5 w i l l

c a u s e a O u O R a n g e e r r o r .h o p e y o h a v e f u w i t h t h i s

p r o g r a m . I a a n p o i n t y o f i n dt h c o m p u t e r r e j e c t i n g t h t u r t l ec o m m a n d s , P O K E 1 , 5 4 s h o u l dc o r r e c t t h p r o b l e m .

1

Page 27: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 27/47

D o z e n W i l l D I T h C - 6 4 ' s e i g h t f u n c t i o n k e y s c a b e c o m e 1 b m e a n s o s o m e p r o g r a m m i n g m a g i c .

B R o n a l d G r e e n b e r g

R U I R i g h t0 6 4 ; 0 1 2 8 ( 0 6 m o d e )

W i t h l i t t l e c r e a t i v e p r o g r a mm i n g , y o u c a n t u r n y o u r C - 6 4 ' se i g h t f u n c t i o n k e y s i n t o 1 2 T h i s a t i c l e s h o w s y o h o t o f i n d t h o s ef o u r e x t r a f u n c t i o n k e y s a n h o t a p p l y t h e m f o B a s i c a n m c h i n e l a n g u a g e p r o g r a m m i n g .

T h r o u g h t h u s o t h h a r dw a r e i n t e r r u p t a n m a c h i n el a n g u a g e s u b r o u t i n e , t h e s e 1 k e y s c a f u n c t i o n i t h b a c kg r o u n d a p a r t o f t h e o p e r a t i n gs y s t e m e v e n w h i l e B a s i c p r og r a m i r u n n i n g .

T h C o m m o d o r e f u n c t i o n k e y sa r t y p i c a l l y u s e d i B a s i c i r s p o n s e t s t a t e m e n t s u c h a s G E A $ I A = " F 1 " T H E Na c t i o nT h " a c t i o n " c a n b e G o t oc o m m a n d , P r i n t s t a t e m e n t ,m a t h e m a t i c a l e x p r e s s i o n o o t h e rc o m m a n d . T h e x p r e s s i o n

a b o v e c a a l s o b w r i t t e n u s i n gn u m e r i c a l r e p r e s e n t a t i o n f o

c h a r a c t e r r a t h e r t h a n c h a r a c t e rn a m e . F o e x a m p l e :G E A $ I A C H R $ ( 1 3 3 )T H E N a c t i o nT h e x p r e s s i o n C H R $ ( 1 3 3 ) i t h c o m p u t e r ' s n u m e r i c a l r e p r e s e nt a t i o n o H T h C H R S v a l u e s o a i e i g h t f u n c t i o n k e y s a r e g i v e no p a g e 1 3 o t h C o m m o d o r e6 U s e r ' s G u i d e .

F O U R M O R EF U N C T I O N K E Y ST h e i g h t C - 6 4 f u n c t i o n k e y s

a r a c t u a l l y f o u r p h y s i c a l k e y s ,s h i f t e d o r u n s h i f t e d . F o e x a mp l e , s h i f t i n g t h f k e g i v e s f 2 w h i c h h a s d i f f e r e n t C H R Sv a l u e . T g a i n a c c e s s t f o u r e t r f u n c t i o n k e y s , y o u s t h C o m m o d o r e k e a s e c o n dt y p e o s h i f t k e y . H o w e v e r , t h i sc a n n o t b e d o n e i s t r a i g h t f o rw a r d m a n n e r , s i n c e s h i f t f a n

2

Page 28: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 28/47

Page 29: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 29/47

T h a c t i o n s r e s u l t i n g f r o m p r e s si n t h f u n c t i o n k e y s a r a f o l l o w s :C o m m o d o r e f s e t s t h e s c r e e nc o l o r s t t h C o m m o d o r e b l u e .S h i f t f s e t s t h s c r e e n t b l a c ko g r e y , w h i c h i m u c h e a s i e r t s e t h a n b l u e o b l u e .C o m m o d o r e f c y c l e s t h r o u g ht h b a c k g r o u n d c o l o r s w i t h o u th a v i n g t P o k e a n v a l u e s i n t om e m o r y .S h i f t f 3 c y c l e s t h r o u g h b o r d e rc o l o r s .C o m m o d o r e f c y c l e s t h r o u g hc u r s o r c o l o r s .

S h i f t f 5 l o a d s t h d i s k d i r e c t o r yi t h w e d g e i b e i n g u s e d .C o m m o d o r e f l i s t s y o u r p r e s e n tB a s i c p r o g r a m .S h i f t f r u n s y o u r B a s i c p r o g r a m .

W h e n y o a r c y c l i n g t h r o u g ht h c o l o r s , y o u c a n c o n t i n u o u s l yh o l d d o w n t h f u n c t i o n k e u n t i lt h d e s i r e d c o l o r i o b t a i n e d .T h i s p r o g r a m w i l l k e e p r u n n i n gi t h b a c k g r o u n d u n t i l y o h i t h e r u n / s t o p a n r e s t o r e k e y s . T r e s u m e t h i s p r o g r a m , j u s t t y p eS Y 4 9 1 5 2 ( r e t u r n ) . E

2

Page 30: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 30/47

T e s t M a k e rH e r e \ c h a n c e t m a k e y o u r o w t e s t s . Y o c a q u i z y o u r s e l f o r y o u r f r i e n d s o a n t o p i c , a n t h n u m b e r o q u e s t i o n s y o a s i l i m i t e d o n l y b y o u r c o m p u t e r ' s m e m o r y .B T h o m a s B u n k e r

R U I R i g h t0 6 4 ; 0 1 2 8 ( i 0 6 m o d e )

T h i s p r o g r a m w o r k s a s o r to s o p h i s t i c a t e d e l e c t r o n i c f l a s hc a r d , w i t h t h c o m p u t e r s h o w i n gy o u r q u e s t i o n s , r e p e a t i n g t h eo n e s y o g e w r o n g a n d k e e p i n gs c o r e .

T h p r o g r a m h a t w s e t i o n s — T e s t M a k e r , t o a s s i s t y o i w r i t i n g q u e s t i o n - a n d - a n s w e rf i l e , a n T e s t T a k e r , w h i c h u s e st h e s e f i l e s t t e s t y o u r k n o w l e d g eo s u b j e c t .

A f t e r y o h a v e c r e a t e d a n s a v e d y o u r f i l e o t e s t q u e s t i o n sa n a n s w e r s , u s i n g T e s t M a k e r ,l o a d a n r u T e s t T a k e r . W h e ni h a l o a d e d y o u r f i l e , t h q u e st i o n s w i l l b p r i n t e d o t h s c r e e n o n a t i m e . T d e t e rm i n e i t h r e s p o n s e s t t h q u e s t i o n s a r e c o r r e c t o i n c o rr e c t , t h c o m p u t e r c o m p a r e s t h

a n s w e r i n p u t f r o m t h k e y b o a r dw i t h t h e c o r r e c t a n s w e r i t h f i l e .

T e s t T a k e r h a s t w m o d e s o o p e r a t i o n : T e s t a n D r i l l . I t h T e s t m o d e , t h q u e s t i o n s a r p r e s e n t e d o n c e , i t h s a m e o d e i w h i c h t h e y w e r e w r i t t e n ,w i t h t h c o m p u t e r s h o w i n gr u n n i n g t o t a l o f r i g h t o w r o n gr e s p o n s e s a n s u m m a r y o f r es u l t s u p o n c o m p l e t i o n o t h t e s t .

I t h D r i l l m o d e , t h q u e s t i o n sa r r a n d o m l y s e l e c t e d f r o mp o o l t h a t i n i t i a l l y c o n t a i n s a l t h q u e s t i o n s i t h f i l e . c o r r e c ta n s w e r r e m o v e s q u e s t i o n f r o mt h e p o o f w h i l e a i n c o r r e c t a s w e r l e a v e s t h e q u e s t i o n t r e a pp e a r u n t i l i i a n s w e r e d c o r e c t l y . Y o m u s t a n s w e r a l t h q u e s t i o n s c o r r e c t l y t o f i n i s h t h d r i l l .

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

2

Page 31: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 31/47

Page 32: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 32/47

Page 33: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 33/47

* #

R E P L R C E F I L EN f l M E O F I L E

Q U I Z 9 8

I N S E R T Q U E S T I O N F I L E D I S K . P R E S S F l N V K E W H E N R E f l B V .

F I L E Q U I 2 9 8N O I M E M O R V W I T H

, E N T R I E S

t e a n d s a v e d u s i n g t h e F i l eE d i t o r ) a i n d i c a t e d b y s c r e e np r o m p t s . m e n u w i l l l e t y o c h o o s e e i t h e r t y p e o t e s t o l o a d

n e p r o g r a m . I e i t h e r T e s t o D r i l l m o d e , t h n u m b e r o t h q u e s t i o n c u r r e n t l y o t h s c r e e nw i l l b d i s p l a y e d i t h u p p e rl e f t - h a n d c o r n e r . Y o c a q u i t e t h e r t e s t b e f o r e f i n i s h i n g a n j u m p b a c k t t h m e n u b y e nt e r i n g t h p o u n d s i g n ( < £ ) i r s p o n s e t q u e s t i o n .

Q U E S T I O N G U I D E L I N E ST h s t a n d a r d C o m m o d o r e I

p u s t a t e m e n t w a u s e d i t h

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

W h e n y o a r r e a d y t e n t e rq u e s t i o n , t h e c u r s o r w i l l b

f l a s h i n g a t h e x t r e m e l e f t s i d eo t h s c r e e n ; t h i s a l l o w s y o t e n t e r f o u r s c r e e n l i n e s o t h V I o t w s c r e e n l i n e s o t h 6 4 W h e n y o r u n T e s t T a k e r , q u e st i o n s w i l l a p p e a r e x a c t l y a y o t y p e t h e m i n t o T e s t M a k e r s y o m u s t f o r m a t y o u r e n t r y t a v o i dl e a v i n g p a r t o w o r d a t h e n o l i n e . I y o a r i d o u b t ,

2

Page 34: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 34/47

w r i t e q u e s t i o n a n j u m p t t h E d i t m o d e t s e w h a t h a s a t u a l l y b e e n r e c o r d e d i t h f i l e .

W h e n w r i t i n g y o u r a n s w e r s , r m e m b e r t h a t t h c o m p u t e r r q u i r e s a e x a c t m a t c h t i n d i c a t e

c o r r e c t r e s p o n s e . I w i l l e v e nm a k e d i s t i n c t i o n b e t w e e n c a i t a l l e t t e r a n a l o w e r c a s e l e t t e r .

I t h c o r r e c t a n s w e r c a o n l yt a k e o n f o r m — f o r e x a m p l e , i i t ' s y e a r o c i t y — t h e n t h a ta n s w e r s h o u l d b e n t e r e d c o p l e t e l y . H o w e v e r , i a a n s w e rc o u l d b s t a t e d i v a r i o u s w a y s ,y o m i g h t w a n t t d e s i g n a m u t i p l e - c h o i c e q u e s t i o n , u s i n g l e t e t i n d i c a t e t h p r o p e r a n s w e r .

I m i g h t b h e l p f u l t u n d e rs t a n d h o t h c o m p u t e r d e c i d e sw h e t h e r o n o i h a r e c e i v e dc o r r e c t r e s p o n s e . T h n u m b e r o l e t t e r s i f i l e a n s w e r i t h n u b e o l e t t e r s t h c o m p u t e r l o o k sa i t h r e s p o n s e .

F o e x a m p l e , i y o u w a n t t h c o r r e c t r e s p o n s e t b C a l i f o r n i a ,

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

W h e n j u a r e e n t e r i n g y o u rq u e s t i o n s L . n d a n s w e r s i t h T e s t M a k e r p r o g r a m , i y o t y p et h p o u n d s i g n ( £ i m m e d i a t el a f t e r t h a c c e p t a b l e a n s w e r( d o n ' t l e a v e s p a c e ) , t h e c o p u t e r w i l l i g n o r e t h r e m a i n d e ro t h e e n t r y w h e n e v a l u a t i n g t h er e s p o n s e f r o m t h m a i n p r g r a m . Y o c a a l s o u s t h p o u n d s i g n t f u r t h e r e l a b o r a t eu p o n t h a n s w e r o a d a h m o r o u s r e m a r k t h a t m i g h t b e a pp r o p r i a t e a f t e r p e r s o n h a e n t e r e d a i n c o r r e c t r e s p o n s e .

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

2

Page 35: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 35/47

H o m e R u D e r b yK o i t f a x v s C l e m e n t e , S e a v e r v s R o s e , D r y s d a l ev s M a y s , G o s s a g e v s R i c e . E x p e r i e n c e t h t h r i l l a n e x c i t e m e n t o t h e s e c l a s s i c p i t c h e r / b a t t e r c o n f r o n t a t i o n sw i t h t h i s t o p - q u a l i t y p r o g r a m .B M a r k J o r d a n

R U I R i g h tC M ; C - 1 2 8 # n G 6 4 m o d e )

O n o t w o j o y s t i c k

H o m e R u D e r b y i a f u n c o p u t e r b a s e b a l l g a m e w i t h t w t w i s t s . O n e , i n s t e a d o r e g u l a rb a s e b a l l c o n t e s t , i t ' s j u s t y o a g a i n s ! t h p i t c h e r , a n c r a c k ! — y o u ' r e g o i n g f o t h f e n c e . Y o c a p l a y a g a i n s t t h ec o m p u t e r o a n o t h e r p e r s o n . T h o t h e r t w i s t i t h a t t h g a m e i p l a y e d a n i g h t .

O n c e H o m e R u D e r b y l o a d s ,y o u ' l l b t r a n s p o r t e d t c o l o rf u l , l i g h t e d s t a d i u m p a c k e d w i t he n t h u s i a s t i c f a n s . T h l i g h t s a r s b r i g h t y o c a s e t h b a l l ' ss h a d o w f o l l o w t h b a l l a i th e a d s f o t h f e n c e .

T h c o n c e p t i s i m p l e . I e a c ho t h e n i n e i n n i n g s , y o a n y o u ro p p o n e n t g e c e r t a i n n u m b e ro p i t c h e s ; y o t r t h i a m a n y

b a l l s o v e r t h f e n c e a y o c a n .I y o p l a y a l o n e , y o u c a n h i f o b o t h s i d e s . T s w i n g , y o s i m p l yp r e s s t h f i r e - b u t t o n ( j o y s t i c k i p o r t 2 ) Y o h a v e t h e o p t i o n o a l l o w i n g t h c o m p u t e r t d a l t h p i t c h i n g , o r y o a n y o u ro p p o n e n t , d e p e n d i n g o w h o ' sp i t c h i n g , m a c o n t r o l t h t y p e o p i t c h t h r o w n .

I y o o p f o p l a y e r - c o n t r o l l e dp i t c h i n g , y o u ' l l n e e d t p l u gs e c o n d j o y s t i c k i n t o p o r t 1 D p e n d i n g o j o y s t i c k p o s i t i o n s ,y o h a v e n i n e p i t c h e s a v a i l a b l e( s e e T a b l e 1 )

T r e l e a s e y o u r p i t c h , j u s tp o i n t t h j o y s t i c k i t h p r o p e rd i r e c t i o n a n p r e s s t h b u t t o n .B m i x i n g u t h p i t c h e s , t h d e f e n s i v e p l a y e r c a e f f e c t i v e l yp r e v e n t t h b a t t e r f r o m g e t t i n gi n t o " g r o o v e . " I t h c o m p u t e ri c o n t r o l l i n g t h p i t c h i n g , i w i l ld t h m i x i n g a u t o m a t i c a l l y .

H i t t i n g t h b a l l o v e r t h w a l l m a s e e m h a r d a f i r s t , b u b p a t i e n t ;

2

Page 36: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 36/47

Page 37: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 37/47

Page 38: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 38/47

G o l d G r a b b e rB a g s o f g o l d a r d r o p p i n g f r o m t h s k y , a n y o u ' v e g o t b q u i c k t c a t c h a n b u r y t h e m i t h i sn i n e - l e v e l g a m e o f u a n s t r a t e g y .B P a s q u a l e L o n g o

R U I R i g h t0 6 4 ; 0 1 2 8 ( i 0 6 m o d e )

J o y s t i c k

I F l y n n ' s G o l d , F l y n n i d a i n a d v e n t u r e r . H h i d e s b e h i n d

h i l l w a t c h i n g b a g s o g o l d f a l li n d o w n f r o m t h s k y . A e g l s o a r s , s w o o p s a n g l i d e so v e r h e a d .

F l y n n m u s t r u o u t , c a t c h t h g o l d , b r i n g i b a c k t t h h i l l a n b u r y i t

T h i s i d a n g e r o u s t a s k . G i a n tt e n - t o n w e i g h t s r a i n d o w n o F l y n n e v e r y t i m e h l e a v e s t h s a f e t y o t h h i l l . I t h e a g l e i h u n g r y , h m i g h t a t t a c k h i m .G u i d e F l y n n w i t h j o y s t i c kp l u g g e d i n t o p o r t 2 T c a t c hb a o g o l d , p o s i t i o n F l y n n u n d e ri t B u r y t h g o l d b g u i d i n g F l y n nb a c k t t h h i l l a n p r e s s i n g t h f i r e - b u t t o n .

Y o r e c e i v e p o i n t s f o e a c hb a o g o l d c a u g h t . Y o a l s or e c e i v e p o i n t s w h e n y o b u r y t h

g o l d . T h e b a g s o g o l d v a r y i p o i n t v a l u e , w i t h t h o s e g r e a t e s ti v a l u e f a l l i n g f a r t h e s t t t h l e f t .B u r y i n g a b a g i v e s y o a d d it i o n a l p o i n t s .

F l y n n c a o n l y c a r r y a n b u r yo n e b a g o g o l d a t i m e — t h el a s t o n c a u g h t . T h e r e f o r e , w h e ny o a r e r u n n i n g t b u r y m o r ev a l u a b l e b a o g o l d , y o u m u s tb c a r e f u l n o t t c a t c h b a o l e s s e r v a l u e , a t h i s b a w i l l r p l a c e t h o n y o w e r e h o l d i n g .Y o u ' l l r e t a i n a l t h p o i n t s y o e a r n e d f o h a v i n g c a u g h t t h m o r e v a l u a b l e b a g , b u b e c a u s ey o l o s t t h b a b e f o r e b u r y i n gi t y o w o n ' t e a r n a m a n y p o i n t su p o n b u r i a l .

T h g a m e e n d s w h e n y o h a v e c a u g h t a n b u r i e d 2 5 b a g so g o l d .

T p l a y t h e g a m e , y o u ' r eg i v e n t h r e e F l y n n s . T h g a m ee n d s w h e n y o l o s e a l o t h e m .

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

3

Page 39: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 39/47

( w h e n t h g a m e i w a i t i n g f o y o t p r e s s f 1 b p r e s s i n g 1 3 T h h i g h e r t h e l e v e l , t h m o r ep o i n t s y o r e c e i v e f o c a t c h i n g

b a o g o l d a n f o b u r y i n g i t I y o g e o f t b a s t a r t ,

y o c a r e s t a r t t h g a m e b p r e s s i n g t h s t o p k e y . T q u i tt h g a m e e n t i r e l y , p r e s s t h r s t o r e k e y .

T h e p r o g r a m t a k e s a b o u t t h r e em i n u t e s t l o a d . I B

3

Page 40: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 40/47

Page 41: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 41/47

Page 42: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 42/47

a n c a b o n o t h f o l l o w i n g :( e q u a l s ) , ( g r e a t e r t h a n ) ,

< ( n o t e q u a l t o o ( l e s st h a n ) .

T h f o l l o w i n g a r e x a m p l e s o v a l i d s t a t e m e n t s :

R P E E K ( A ) 1 0 I Y M 2 0 2 3 T H E N

P R I N T C H R $ ( 1 4 7 ) ;F O T

P R I N T 6 N E X TS Y B + 1 0 2 4 R E T U R NG O S U B 5 0 P R I N T ' T O T A L " ; TG O T O 2 P O K E A - l . A N 1 E N

T h f o l l o w i n g a r e x a m p l e s o i n v a l i d s t a t e m e n t s :

C O S ( B )P R I N T T l G E X $ ( l )O P E N 1 5 . 8 , 1 5

L i k e r e g u l a r B a s i c , t h e " L E T "i o p t i o n a l i t h e L e t c o m m a n d .I i u s e d t a s s i g n a e x p r e s s i o nt v a r i a b l e . A e x p r e s s i o n m u s tb e g i n w i t h v a r i a b l e , n u m b e ro t h P e e k f u n c t i o n o v a r i a b l eo n u m b e r . I c a n b e f o l l o w e d b o t h e r v a r i a b l e s o n u m b e r s , a l o n g a t h e y a r e s e p a r a t e d b

- / A N o O R

3

Page 43: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 43/47

Page 44: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 44/47

M I C R O C O M P I L E RS O U R C E N R M E ? T E S T C O M P I L E RS T R R T I N G R D D R E S S ? 4 9 1 5 ' 1C O M P I L E DE R R O R SR D B R E S S R f l M D E 4 9 1 5 2 - 4 9 1 5 9S O U R C E N R M E ? T E S T C O M P I L E R C O M P I L E D ,T I M E : 0 0 0 1 2 61 - S f l V E 2 * E X E C 3 » C 0 M P 4 = Q U I T

o e r r o r s e n c o u n t e r e d . I w i l l t h e nd i s p l a y t h f o l l o w i n g o p t i o n s :

1 S a v e — u s e t s a v e t h m c h i n e l a n g u a g e c o d e .

2 E x e c u t e — w i l l e x e c u t e t h m a c h i n e l a n g u a g e c o d e .

3 C o m p i l e — w i l l a l l o w y o t c o m p i l e a n o t h e r p r o g r a m .4 Q u i t — w i l l s e n d y o b a c k t B a s i c .

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

C o l o r s D e m o d e m o n s t r a t e s t h d i f f e r e n c e i s p e e d b e t w e e n a n

u n c o m p i l e d v e r s u s c o m p i l e dp r o g r a m . T h i s p r o g r a m f i l l s t h s c r e e n w i t h v a r i o u s c o l o r d s i g n s . F i r s t , t y p e i t i a n r u i t n o t i n g h o l o n g i t a k e s t f i l l t h s c r e e n w i t h c o l o r p a t t e r n s . N o l o a d a n r u n t h e c o m p i l e r . W h e np r o m p t e d f o t h s o u r c e n a m e ,e n t e r C o l o r s D e m o a n e n t e rs t a r t i n g a d d r e s s o 4 9 1 5 2 . W h e nt h p r o g r a m h a b e e n c o m p i l e d ,e n t e r o p t i o n 4 t t e r m i n a t e t h ec o m p i l e r .

N o e n t e r S Y 4 9 1 5 2 t e e c u t e t h c o m p i l e d m a c h i n e l a g u a g e c o d e . T h s c r e e n s h o u l df i l l i n s t a n t l y , c o m p a r e d t t h m i n u t e o m o r e r e q u i r e d f o t h

3

B a s i c v e r s i o n . T h i s s h o u l d c o W i t h t h i s c o m p i l e r , y o u ' l l b

Page 45: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 45/47

v i n c e y o o o n o t h a d v a nt a g e s o u s i n g c o m p i l e r p r og r a m . T h c o m p i l e d v e r s i o n s o B a s i c p r o g r a m s a r s f a s t t h a ty o w i l l o f t e n h a v e t i n s e r tF o r . . . N e x t l o o p t h o l d p r g r a m t c o n t r o l l a b l e s p e e d s .

a b l e t d e v e l o p p r o g r a m s u s i n gh i g h - l e v e l l a n g u a g e { s u b s e t

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

3

Page 46: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 46/47

N o t e s

Page 47: Re-Run 1985 Fall Edition

8/6/2019 Re-Run 1985 Fall Edition

http://slidepdf.com/reader/full/re-run-1985-fall-edition 47/47

G a m e s U t i l i t i e s E d u c a t i o iG r a p h i c s A p p l i c a t i o n s

E x c i t i n g P r o g r a m sF r o m R U N s J u n e , J u l y a n A u g u s t i s s u e s !

I n c l u d i n g . . .H o m e R u D e r b yB i L e t t e r sT u r t l e G r a p h i c sF u n c t i o n K e y sT e s t M a k e rG o l d G r a b b e rA n M o r e !

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

i i - l ( U 8 0 P i n e S t r e e t P e t e f b o r o u g h , N 0 3 4 5 B

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

T h o s e p r o g r a m s w i l l n o r u u n d e r a l s y s t e m c o n f i g u r a t i o n s U s I h R U I t R i g h t i n f o r m a t i o n i n c l u d e d w i i he a c h a r t i c l e a s y o u r g u i d e

T h e n t i r e c o n l e n l s a r c o p y r i g h l e d 1 9 8 5 b C C o m m u n i c a t i o n s / P e t e r b o r o u g h U n a u t h o r i z e d d u p l i c a t i o n i e o l a t i o n o a p p l i c a b l e l a w s .

© C o p y r i g h t 1 9 8 5 C C o m m u n i c a t i o n s / P e t e r b o r o u g h

: : c c o m m u n i c a t i o n s / P e t e r b o r o u g h