49
8/6/2019 Re-Run 1986 07-08 http://slidepdf.com/reader/full/re-run-1986-07-08 1/49 J u l y / A u g u s t 1 9 8 6 E d i t i o n R U P r o g r a m s o D i s k F o t h C - 6 4 a n C - 2 8 O R G A N I Z I N G Y O U R C - 6 4 D I S K S I S N A P W I T H D I S K K E E P E R ! B O O T M A K E R 1 2 8 / 6 4 - Q u i c k e r W a t R u P r o g r a m s P l u s : B o n u s P r o g r a m s ! I l i i l l * 1 2 8 m o d e p r o g r a m s i n c l u d e d

Re-Run 1986 07-08

Embed Size (px)

Citation preview

Page 1: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 1/49

J u l y / A u g u s t 1 9 8 6 E d i t i o n

R U P r o g r a m s o D i s kF o t h C - 6 4 a n C - 2 8

O R G A N I Z I N G Y O U R C - 6 4 D I S K SI S N A P W I T H D I S K K E E P E R !

B O O T M A K E R 1 2 8 / 6 4 -Q u i c k e r W a t R u P r o g r a m s

P l u s : B o n u s P r o g r a m s ! I l i i l l* 1 2 8 m o d e p r o g r a m s i n c l u d e d

Page 2: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 2/49

I n t r o d u c t i o nJ u l y / A u g u s t 9 8 6 R e R U N

W e l c o m e t o u r J u l y / A u g u s te d i t i o n o f R e R U N . T h i s d i s kh o l d s v a r i e t y o f u s e f u l p r g r a m s f o b o t h p r o g r a m m e r sa n a p p l i c a t i o n u s e r s . ( I t h d s c r i p t i o n s b e l o w , a r t i c l e t i t l e s a r i p a r e n t h e s e s i d i f f e r e n t f r o mt h d i s k f i l e n a m e s . )

R U N ' S J u l y i s s u e f o c u s e d o g r a p h i c s , o f f e r i n g t h r e e a p p l i c at i o n s a n u t i l i t i e s f o C - 6 4 a n C - 1 2 8 o w n e r s . H I - R E S W R I T E Ri 6 u t i l i t y t h a t l e t s y o p l a c et e x t o y o u r h i g h r e s o l u t i o ns c r e e n d i s p l a y s .

N E E D L E G R A P H i 6 4 a pp l i c a t i o n d e s i g n e d t p l e a s ec r a f t s m e n w h r e l y o p a t t e r n sa n c o l o r f o t h e i r c r e a t i o n s . T h p r o g r a m l e t s y o d e s i g n y o u ro w v a r i e g a t e d s q u a r e s , s a v et h e m a n p r i n t t h e m o u f o r f ut u r e u s e .

C - 1 2 8 o w n e r s c a g e p e e ka s o m e o t h n i f t y t r i c k s t h e i rc o m p u t e r c a p e r f o r m i 8 0 - c o l -u m n s f r o m b o t h C - 6 4 a n C - 1 2 8m o d e s . T r o u f o u r s h o r t d e m op r o g r a m s , V I D E O 1 2 a n ( V i d e o F a n t a s i a ) .

R U c o n t i n u e s t p r o v i d e i t r e a d e r s w i t h u s e f u l a p p l i c a t i o n st h a t w i l l m a k e l i f e e a s i e r . O u J u l y

i s s u e h e l d n o t e w o r t h y a p p l ic a t i o n ( E x t r a ! E x t r a ! R e a d A l A b o u t I t f o d e s k t o p p u b l i s h e r s .I t e l l s y o h o y o u r g r o u p c a s a v e m o n e y a n t i m e b c r e a t i n gd i s k - b a s e d n e w s l e t t e r s o y o u rC - 6 4 . T h r e e p r o g r a m s , M A P R O D U C T I O N , M A R E A D E Ra n M A P R I N T E R , a r t h c o r en e e d e d t c r e a t e , e d i t , r e a d a n p r i n t o u y o u r n e w s l e t t e r . I o r d e rt g e g o i n g w i t h t h p r o d u c t i o ns i d e , y o w i l l , o c o u r s e , n e e d aw o r d p r o c e s s o r . R U S c r i p t 6 i s u g g e s t e d .

O u A u g u s t i s s u e h e l d h a n d ya u t o b o o t p r o g r a m f o C - 1 2 8o w n e r s w h o ' d l i k e t h l u x u r y o u t i l i z i n g t h n e c o m p u t e r ' s a t o b o o t f e a t u r e f o t h e i r C - 6 4d i s k s . B O O T M A K E R 1 2 8 / 6 4 l e t sy o d j u s t t h a t b s i m p l y p e rf o r m i n g f e p r e p a r a t o r y s t e p s .

C - 6 4 o w n e r s w i l l f i n d D I S KK E E P E R a i n v a l u a b l e h o u s ek e e p i n g t o o l . T h i s p r o g r a m l e t sy o d e v e r y t h i n g f r o m s o u p t n u t s w i t h y o u r d i s k s . N e e d d r e c t o r y ? F o r m a t d i s k ? R e n a m e

d i s k ? P r o t e c t y o u r f i l e s f r o mb e i n g a c c i d e n t a l l y d e l e t e d ? D I S KK E E P E R d o e s a l t h e s e t h i n g sa n m a k e s p r i n t o u t s o y o u r d i

Page 3: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 3/49

r e c t o r i e s a w e l l . I t h a t ' s n o e n o u g h , i w i l l a l s o p r i n t o u y o u rd i s k j a c k e t s .

M A K E C H A R S a n d U S E -C H A R S ( A d d S o m e C h a r a c t e r t Y o u r C - 6 4 ) r o u n d o u o u A u g u s to f f e r i n g s . T h e s e t w p r o g r a m st a k e a d v a n t a g e o t h e C - 6 4 ' su n i q u e a b i l i t y t r e d e f i n e a n c h a r a c t e r o t h k e y b o a r d . T h e ya l s o g i v e y o t h f l e x i b i l i t y t s w i t c h p l a c e m e n t o k e y s ( f o r e a m p l e , t c r e a t e D V O R A K k e b o a r d ) , o r t d e v e l o p n e c h a r a c t e r s e ( t h e G e r m a n a l p h ab e t , f o r i n s t a n c e ) .

A a l w a y s , w h a v e b o n u sp r o g r a m s f o y o u . T h i s e d i t i o n

c o n t a i n s s u p e r t h r e e - d i m e ns i o n a l g r a p h i c s e d i t o r f o C - 1 2 8m o d e u s e r s . 3 O B J E C T E D T O i t h f i r s t s e r i o u s m a t h em a t i c a l a p p l i c a t i o n t h a t h a v es e e n f o t h C - 1 2 8 . I n c l u d e d a r 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 - 6 4 o w n e r s h a v e M E N US U B R O U T I N E , s h o r t r o u t i n et h a t c a b m e r g e d i n t o y o u ro w p r o g r a m s t m a k e m e n up r o g r a m m i n g e a s i e r a n y o u rp r o g r a m s m o r e u s e r - f r i e n d l y .

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 4: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 4/49

D i r e c t o r y

1 1 1 2 2 2 2

£ 3 £ 3

3 3 3

M E N U 1 2 M E N U 6 V I D E OV I D E OV I D E OV I D E OH I - R E S W R I T E RN E E D L E G R A P HM A P R O D U C T I O NM A R E A D E RM A P R I N T E RB O O T M A K E R 1 2 8 / 6 4D I S K K E E P E RM A K E C H A R SU S E C H A R SM E N U S U B R O U T I N E3 O B J E C T E D I T O R3 D E M O . 13 D E M O . 23 D E M O . 3

C - 1 2 8C - 6 4C - 1 2 8C - 1 2 8C - 1 2 8C - 1 2 8C - 6 4C - 6 4C - 6 4C - 6 4C - 6 4C - 1 2 8C - 6 4C - 6 4C - 6 4C - 6 4C - 1 2 8C - 1 2 8C - 1 2 8C - 1 2 8

M O D E

M O D EM O D EM O D EM O D E

M O D E

M O D EM O D EM O D EM O D E

B A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I CB A S I C ( 4 c o l u m n s )S E S E S E

B o n u s p r o g r a m !T h e s e a r s e q u e n t i a l f i l e s , w h i c h c a b l o a d e d o n l y f r o mw i t h i n 3 O B J E C T E D I T O R .

i l

Page 5: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 5/49

H o T L o a dT h i s R e R U N p r o v i d e s m e n u p r o g r a m s f o b o t h C - 6 4 a n C - 1 2 8 u s e r s .

C - 6 4 u s e r s s h o u l d t y p e L O A D " M E N U 6 4 a n R U N . C - 1 2 8 u s e r s n e e do n l y p r e s s t h s h i f t a n r u n / s t o p k e y s . T h e s e m e n u s w i l l d i s p l a y a l o t h p r o g r a m s o n t h d i s k a n l e y o r u t h e m w i t h s i n g l e k e p r e s s .

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

C - 6 4 :T l o a d a C - 6 4 p r o g r a m w r i t t e n i B a s i c , t y p e :

L O A D " P R O G R A M N A M E " , 8a n t h e n p r e s s t h r e t u r n k e y . T h d r i v e w i l l w h i r w h i l e t h s c r e e n p r i n t sL O A D I N G , a n t h e n R E A D Y , w i 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 y . T h p r o g r a m w i l l t h e n b e g i n .

M a c h i n e l a n g u a g e ( M L ) p r o g r a m s w i l l b l o a d e d w i t h L O A D " P R O G R A MN A M E ' ' , 8 , 1 . W h e n t h e s e o c c u r , t h e y w i l l b c l e a r l y m a r k e d f o y o u o n t h d i r e c t o r y p a g e .

I

Page 6: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 6/49

C - 1 2 8 i C - 6 4 m o d e :A l C - 6 4 p r o g r a m s c a n b r u o t h C - 1 2 8 a l o n g a y o u r c o m p u t e r i

i C - 6 4 m o d e . T h i s i a c c o m p l i s h e d b y t y p i n g G O 6 4 a f t e r p o w e r i n g u y o u rC - 1 2 8 . A n s w e r a n p r e s s t h r e t u r n k e i r e s p o n s e t t h " A r e y o s u r e ? " p r o m p t . W h e n i C - 6 4 m o d e , u s t h i n s t r u c t i o n s a b o v e f o l o a d i n gC - 6 4 p r o g r a m s .

C - 1 2 8 i C - 1 2 8 m o d e :A l C - 1 2 8 m o d e p r o g r a m s a r c l e a r l y l a b e l e d o t h d i r e c t o r y p a g e . Y o u r

C - 1 2 8 m u s t b e i C - 1 2 8 m o d e t r u t h e s e p r o g r a m s . A l p r o g r a m s w i l l w o r ki b o t h 4 0 a n d 8 0 c o l u m n s , u n l e s s t h e y a r e s p e c i f i c a l l y m a r k e d o t h e r w i s e .

T l o a d a C - 1 2 8 m o d e p r o g r a m , j u s t p r e s s F a n t y p e t h e n a m e o t h p r o g r a m t h a t y o w i s h t o l o a d . U s t h e x a c t n a m e t h a t a p p e a r s o t h d i r e c t o r y p a g e . W h e n t h p r o g r a m h a l o a d e d , R E A D Y p r o m p t w i l l a p p e a r .B e n e a t h t h i s i t h f l a s h i n g c u r s o r w h e r e y o u s h o u l d t y p e R U a n p r e s st 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 r u n .

N O T E S :B e f o r e l o a d i n g a n p r o g r a m , a l w a y s r e f e r t o t h a r t i c l e i n t h i s b o o k l e t f o

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

p r o g r a m s . Y o u c a n a c c o m p l i s h t h i s b u s i n g t h e d i s k b a c k u p p r o g r a m s t h a tC o m m o d o r e p r o v i d e s f o t h 1 5 4 1 a n 1 5 7 1 d i s k d r i v e s .

Page 7: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 7/49

R e R U N S t a f fT e c h n i c a l M a n a g e r / E d i t o r : M a r g a r e t M o r a b i t oT e c h n i c a l E d i t o r : T i W a l s hA r D i r e c t o r : G l e n n A S u o k h oD e s i g n a n L a y o u t : K a r l a M W h i t n e yT y p e s e t t i n g : D o r e e n M e a n s

v

Page 8: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 8/49

V i d e o F a n t a s i aB N o e l N y m a n a n C h r i s N e w m a n

R U I R i g h tC - 1 2 8 ( i 8 0 - c o l u m n m o d e )

O n o t h e b e s t f e a t u r e s o t h C - 1 2 8 i i t a b i l i t y t s w i t c hb e t w e e n 4 0 a n 8 0 - c o l u m nm o d e s . B u d i y o k n o w t h a ty o u c a n r u p r o g r a m s i C - 6 4m o d e a n w a t c h t h e i r e x e c u t i o ni 8 0 - c o l u m n 1 2 m o d e ? T h i s a t i c l e p r o v i d e s t h p r o g r a m s a n k n o w - h o w n e e d e d t p e r f o r mt h e s e r e m a r k a b l e f e a t s .

T u n d e r s t a n d h o t h 8 0 - c o lu m s c r e e n w o r k s , i h e l p s t t h i n k o i a p e r i p h e r a l , n o u n l i k e p r i n t e r o r d i s k d r i v e ,w h i c h i s e n t i n f o r m a t i o n o n b i o b y t e a t i m e t h r o u g h" p o r t . " T h c o m p u t e r g i v e s t h p e r i p h e r a l s o m e d a t a , a l o n g w i t ha i n s t r u c t i o n o h o t u s i t T h d e v i c e t h e n m a n i p u l a t e s t h d a t a , u s i n g i t o w p r o c e s s o ra n m e m o r y .

T h C - 1 2 8 ' s 8 5 6 3 v i d e o c o t r o l l e r g e n e r a t e s t h 8 0 - c o l u m ns c r e e n a n u s e s i l i k e p e r i p he r a l . T h 8 5 6 3 h a 1 6 o R A M ,w h i c h h o l d s t h c h a r a c t e r s e t sa n t h s c r e e n a n c o l o r m e

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

T s e h o t h 8 5 6 3 c o n t r o l ss c r e e n f u n c t i o n s , f i r s t s t a r t u y o u r C - 1 2 8 i 8 0 - c o l u m n m o d e .N e x t , t y p e t h f o l l o w i n g c o m a n d i D i r e c t m o d e a n p r e s st h r e t u r n k e y .P O K E 5 4 7 8 4 , 2 4 : P O K E 5 4 7 8 5 ,X O R ( P E E K ( 5 4 7 8 5 ) , 6 4 )Y o s h o u l d s e t h e n t i r e 8 0 c o l u m n s c r e e n r e v e r s e . I t h a t ' sn o w h a t h a p p e n s , c h e c k t b s u r e y o t y p e d i t h c o m m a n dc o r r e c t l y .

T h c o m m a n d f i r s t P o k e s a 2 a 5 4 7 8 4 t t e l l t h 8 5 6 3 t h a t y o w a n t t w o r k w i t h r e g i s t e r 2 4 T h s e c o n d p a r t o t h c o m a n d f i r s t P e e k s l o c a t i o n 5 4 7 8 5t l o o k a t h v a l u e f r o m r e g i s t e r2 4 a n t h e n , u s i n g X O R , i c o b i n e s t h e v a l u e 6 w i t h t h d a t af r o m l o c a t i o n 5 4 7 8 4 a n d p u t s t h er e s u l t b a c k i t h s a m e l o c a t i o n .

Page 9: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 9/49

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

L e t ' s t r d i f f e r e n t r e g i s t e rw i t h s o m e u n d e r l i n e d t e x t o t h s c r e e n . P r e s s a n r e l e a s e t h C T R L a n k e y s s i m u l t an e o u s l y ; t h e n t y p e f e w o r d s .T h e y s h o u l d b u n d e r l i n e d a t h e y a p p e a r o t h s c r e e n .

T e x i t f r o m U n d e r l i n e m o d e ,s i m u l t a n e o u s l y p r e s s t h E S a n k e y s o p r e s s t h r e t u r nk e y . L e a v e l i n e o u n d e r l i n e dt e x t o t h s c r e e n , t h e n t y p e t h f o l l o w i n g c o m m a n d a n p r e s st h r e t u r n k e y .F O T 5 0 0 . F O R T 3 0 P O K E 5 4 7 8 4 , 2 9 : P O K E 5 4 7 8 5 , Y :N E X T . N E X T

R e g i s t e r 2 c o n t a i n s t h n u b e o t h l i n e w i t h i n e a c h c h a ra c t e r s e t t h a t t h 8 5 6 3 m u s ta c c e s s t a c h i e v e u n d e r l i n i n g .T r o t h e r v a l u e s i t h F O T 3 l o o p t s e h o t h e ys p e e d u a n s l o w d o w n t h l i n em o v e m e n t .

N o w , t r w r i t i n g s h o r t t h r e e -o f o u r - l i n e p r o g r a m a n t h e n e t e t h f o l l o w i n g c o m m a n d i D r e c t m o d e .P O K E 5 4 7 8 4 , 8 : P O K E 5 4 7 8 5 , 3

N e x t , p r e s s t h s h i f t a n C L k e y s a n t h e n l i s t y o u r p r o g r a m .I y o l o o k c l o s e l y , y o u ' l l s e t h a ty o h a v e t w s c r e e n s . O t h t o s c r e e n , f o u r p i x e l l i n e s a r u s e d f o e a c h c h a r a c t e r . T h r m a i n i n g f o u r p i x e l l i n e s a r u s e d

f o t h s a m e c h a r a c t e r s o t h b o t t o m s c r e e n . R e g i s t e r h o l d ss o m e i n f o r m a t i o n a b o u t i n t e r l a c em o d e s t h a t t h 8 5 6 3 u s e s t p r d u c e i t d i s p l a y . U s t h r u n / s t o pa n r e s t o r e k e y s t r e t u r n y o u rs c r e e n t n o r m a l .

V i d e o a n V i d e o 2 i l l u s t r a t et w r e g i s t e r s t h a t c o n t r o l t h h o i z o n t a l a n v e r t i c a l l o c a t i o n s o t h s c r e e n d i s p l a y .

T h e s e e x p e r i m e n t s a r u s e f u li t h a t t h e y s e r v e t i l l u s t r a t e h o t h e a d d r e s s / s t a t u s a n d a t a l c a t i o n s ( 5 4 7 8 4 a n 5 4 7 8 5 , r s p e c t i v e l y ) a r u s e d t c o m m u n ic a t e w i t h t h 8 5 6 3 v i d e o c o n t r o l l e r .T h r e s t o t h i s a r t i c l e d e a l s w i t ht h m a c h i n e l a n g u a g e t e c hn i q u e s t r e a d f r o m a n w r i t e t ot h 8 0 - c o l u m n s c r e e n .

8 0 - C O L U M N S C R E E NR E A D I N G A N W R I T I N GV i d e o i p r o g r a m t h a t d e

o n s t r a t e s h o t m a n i p u l a t ec h a r a c t e r s o t h 8 0 - c o l u m ns c r e e n . R u i t t h e n t r s o m e o t h f o l l o w i n g c o m m a n d s i 8 0 c o l u m n m o d e .

F i r s t , c l e a r t h s c r e e n , t h e ne n t e rS Y 3 3 2 8 , 0 , 0 , 1

Y o s h o u l d s e e a n i t h u p p e r - l e f t c o r n e r o t h s c r e e n .T h d e m o n s t r a t i o n p r o g r a m g e t st h r o n u m b e r , c o l u m n n u m b e ra n s c r e e n c o d e f o t h c h a ra c t e r f r o m t h e t h r e e n u m b e r s f o l -

Page 10: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 10/49

Page 11: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 11/49

Page 12: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 12/49

H i - R e s W r i t e rB B r u c e J a e g e r

R U I R i q h tC - 6 4 ; C 1 2 8 ( i C - 6 4 m < k )

H a v e y o e v e r d e s i g n e d p a t i c u l a r l y n i c e h i g h - r e s o l u t i o ng r a p h i c s s c r e e n a n w i s h e d y o c o u l d p r i n t s o m e t h i n g o i t L i k ey o u r n a m e ? O p e r h a p s y o w r o t e h i - r e s g a m e f o t h C - 6 4 , w i t h s p r i t e s , s o u n d e f f e c t s ,a n s o n a n f o u n d t h e r e w a n e a s y w a t p r i n t s o m e t h i n ga s i m p l e a t h p l a y e r ' s s c o r eo t h e s c r e e n .

W h i l e C o m a l , S i m o n s ' B a s i ca n t h C - 1 2 8 ' s B a s i c 7 . a l h a v e b u i l t - i n p r o v i s i o n s f o p r i n ti n c h a r a c t e r s o n h i - r e s s c r e e n ,t h C - 6 4 d o e s n ' t . H o w e v e r , w i t ht h a c c o m p a n y i n g p r o g r a m , H i R e W r i t e r , i t ' s n o r e m a r k a b l ye a s y t p l a c e t e x t o y o u r C - 6 4h i - r e s s c r e e n .

W R I T I N G O T H H I - R E S S C R E E N

s h a p e t a b l e ( l i k e t h s e o d r a w i n g i n s t r u c t i o n s o t h A p l e ) i s n ' t a v a i l a b l e o t h e C - 6 4 ,b u b i t - p a t t e r n c h a r a c t e r - p l o tt i n g m e t h o d i s T p l a c e a

o y o u r C - 6 4 ' s h i - r e s s c r e e n , y o P o k e i n t o s c r e e n m e m o r y t h e a c e i g h t b y t e s o i n f o r m a t i o n t h a tr e s e m b l e t h l e t t e r

B e s i d e s h a v i n g h i - r e s a d r e s s i n g a r r a n g e m e n t t h a t ' s f a i r l ye a s y t d e a l w i t h , t h C - 6 4 h a a n o t h e r a d v a n t a g e i d i s p l a y i n gt e x t — y o u d o n ' t h a v e t c r e a t ea n l o a d c h a r a c t e r s e t . W h s h o u l d y o u , w h e n t h 6 4 ' s o w 4 c h a r a c t e r s e R O i a v a i la b l e t b o r r o w f r o m ?B d i s a b l i n g t h i n t e r r u p t s a n c h a n g i n g t h 6 5 1 0 ' s b a n k - s w i t c hi n p o i n t e r s , y o u c a n l o o k i n t ot h C - 6 4 ' s n o r m a l l y h i d d e n c h a ra c t e r R O M s , l o c a t e d a $ D 0 0 0( 5 3 2 4 8 d e c i m a l ) . A t h i s a d d r e s s ,y o f i n d b o t h t h u p p e r / l o w e rc a s e a n u p p e r c a s e / g r a p h i c ss e t s , i n c l u d i n g a l r e v e r s e d c h a ra c t e r s . T h n e x t s t e p i t d i c o v e r h o t f i n d a i n d i v i d u a lc h a r a c t e r i t h i s R O a n d e c i d ew h e r e a n h o t p l a c e i o t h s c r e e n .

E a c h c h a r a c t e r i e i g h t b y t e sl o n g a n i s t o r e d i t h c h a ra c t e r R O i t h s a m e a l p h ab e t i c a l o r d e r t h a t y o m i g h to b s e r v e b P o k i n g a l t h s c r e e n

Page 13: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 13/49

c o d e s o n t o t h n o r m a l s c r e e n .T h f o l l o w i n g d e m o n s t r a t i o n p r g r a m p r i n t s t h a l p h a n u m e r i cc h a r a c t e r s , w h i c h a r f o u n d i l c a t i o n 5 3 2 7 2 .1 P R I N T C H R $ ( 1 4 7 ) R E C L E A R

S C R E E N2 P O K E 5 3 2 8 0 , 0 P O K E 5 3 2 8 1 , 0

R E B L A C K B O R D E R & S C R E E N3 P O K E 5 3 2 7 2 , 2 1 R E U S

U P P E R C A S E C H A R A C T E R S E 4 F O T 2 5 5 P O K E 1 0 2 4 X R E P O K E

C H A R A C T E R O N T O S C R E E N6 P O K E 5 5 2 9 6 + X . R E P O K E

W H I T E B E H I N D I I C O L O R R A M7 N E X T8 G O T O 8

T h f i r s t c h a r a c t e r s e s t a r t sw i t h " @ A B C D E F . . . " . T f i n d ,f o e x a m p l e , t h u p p e r c a s e 6 y o t a k e i t A S C ( x ) v a l u e , w h i c hi 6 6 , s u b t r a c t 6 ( g e t t i n g 2 ) a n t h e n m u l t i p l y b 8 ( b e c a u s e e a c hc h a r a c t e r u s e s e i g h t b y t e s ) . T h i sm e a n s t h a t , s i n c e t h e u p p e r c a s e /g r a p h i c s s e b e g i n s a 5 3 2 4 8 , t h e i g h t n u m b e r s d e f i n i n g t h l e t t e r

b e g i n a 5 3 2 6 4 ( 5 3 2 4 8 1 6 ) .( T h e c h a r a c t e r i a 5 3 2 4 8 t 5 3 2 5 5 ; t h i a 5 3 2 5 6 t 5 3 2 6 3 . ) Y o a l w a y s h a v e t d b i o t r i a l - a n d - e r r o r w o r k t g e t h p r o p e r c h a r a c t e r u s i n g i t A C I c o d e .

H i - R e s W r i t e r u s e s w h a t a r s o m e t i m e s c a l l e d s c r e e n P o k ec o d e s . T h e m e s s a g e i p r i n t e d a t h t o o t h n o r m a l t e x t s c r e e n ,w h i c h i n o v i s i b l e w h e n y o a r i H i g h - r e s o l u t i o n m o d e . T h e E

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

W h e n c a l l e d , t h m a c h i n e l a g u a g e r o u t i n e l o o k s a t h a c t u a lv a l u e s i t h m e m o r y a d d r e s s e s" b e h i n d " t h l e t t e r s ( s t a r t i n g a t1 0 2 4 d e c i m a l ) . T h i s l i t t l e t r i c k e r yy i e l d s n u m b e r s t h a t c a b d r e c t l y l o o k e d u i t h e c h a r a c t e rR O M s , s a v i n g l o t s o c o m p l ic a t e d ( a n d s l o w ! ) m a t h e m a t i c a lc o m p u t a t i o n .O c o u r s e , y o n e e d n ' t f u l l y u d e r s t a n d a n o t h i s t u s H i - R e sW r i t e r i y o u r o w p r o g r a m s . I t ' se x t r e m e l y e a s y t u s e .

H i - R e s W r i t e rB e f o r e r u n n i n g H i - R e s W r i t e r ,

r e m o v e o d i s a b l e a n B a s i c - e xt e n s i o n o r c a r t r i d g e p r o g r a m s ; i y o d o n ' t , y o u r c o m p u t e r m a l o c k u p

T h H i g h - R e s W r i t e r p r o g r a mf i r s t s e t s u t h h i g h - r e s o l u t i o nb i m a a n c l e a r s t h s c r e e n .I t h e n s e t s a l c o l o r s t y e l l o wf o r e g r o u n d o n d a r k - g r a y b a c kg r o u n d . f a m i l i a r q u o t a t i o n i p r i n t e d o t h s c r e e n , a l o n g w i t ht h p r o m p t , " P r e s s s p a c e b a t c o n t i n u e . "

T a k e l o o k a t h c o l o r s b f o r e p r e s s i n g t h a t s p a c e b a r .N o t e t h a t t h w o r d s d i s p l a y e dh a v e f o r e g r o u n d a n b a c kg r o u n d c o l o r s t h a t d i f f e r e n t i r e l yf r o m t h r e s t o t h s c r e e n — a ne f f e c t n o t p o s s i b l e i n o r m a l T e x tm o d e . ( Y o u c a a c h i e v e s o m e -

Page 14: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 14/49

w h a t t h s a m e e f f e c t w i t h t h 6 4 ' s E x t e n d e d B a c k g r o u n dC o l o r m o d e , b u t y o u ' r e l i m i t e d t

f e c h a r a c t e r s a n t o t a l o o n l y f o u r c o l o r s ; h e r e y o c a u s a l 1 6 . )

T h e s e c o n d d e m o n s t r a t i o ns c r e e n b e g i n s a f t e r y o p r e s s t h s p a c e b a r . T h s c r e e n i a g a i nc l e a r e d , a n t h c o l o r m e m o r yi s e u w i t h b l a c k b a c kg r o u n d a n w h i t e f o r e g r o u n d .( N o t e t h a t t h p r o g r a m s e t s i t o w c o l o r s i n d e p e n d e n t l y . ) S e e r a l w h i t e o n e - p i x e l " s t a r s " a r t h e n r a n d o m l y P o k e d o n t o t h

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

U S I N G H I - R E S W R I T E R I Y O U R P R O G R A M ST h e o r e t i c a l l y , t h e i g h t - b y t e

c h a r a c t e r d e f i n i t i o n c a b p l a c e d a n y w h e r e o t h h i g h -r e s o l u t i o n s c r e e n . I ' v e l i m i t e d t h p o s i t i o n i n g o t h c h a r a c t e r s t t h s a m e 4 h o r i z o n t a l a n 2 v e r t i c a l p o s i t i o n s o t h s t a n d a r ds c r e e n . T h i s e l i m i n a t e s l o o s l o w B a s i c n u m b e r c r u n c h i n ga n r e a l l y i s n ' t t h a t m u c h o l i m i t a t i o n . ( S e e p p 1 2 2 - 1 2 7 o

Page 15: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 15/49

T h C o m m o d o r e 6 P r o g r a mm e r ' s R e f e r e n c e G u i d e f o c o m p l e t e d e s c r i p t i o n o t h h i g h -r e s o l u t i o n b i t - m a p a d d r e s s i n g . )

Y o m a e a s i l y u s t h h i - r e st e x t s u b r o u t i n e i y o u r p r o g r a m s ,a l o n g w i t h t h o t h e r m a c h i n e l a g u a g e a i d s . T h r o u t i n e i w r i t t e nt u s o n o t h f a v o r i t e m e o r l o c a t i o n s f o t h e h i g h - r e s ol u t i o n b i m a a n c o l o r m e m o r y :t h b i m a i a $ 6 0 0 0 ( 2 4 5 7 6d e c i m a l ) a n t h c o l o r m e m o r yi a $ 5 C 0 0 ( 2 3 5 5 2 d e c i m a l ) .N o t e t h a t t h e s e a r e t h e s a m e a d r e s s e s u s e d b y C i t y S o f t w a r e ' sD o o d l e ! d r a w i n g p r o g r a m , s y o c a l o a d D o o d l e ! - p r o -d u c e d s c r e e n i n t o y o u r p r o g r a m .

F i r s t , o c o u r s e , y o u r p r o g r a mh a t P o k e o s o m e h o w l o a dt h m a c h i n e l a n g u a g e p r o g r a mi n t o m e m o r y . l o c a t e d t h m c h i n e l a n g u a g e a $ 8 0 0 0 ( 3 2 7 6 8d e c i m a l ) , w h i c h n o r m a l l y i s n ' tu s e d w h e n t h h i g h - r e s o l u t i o n b i m a i s e a $ 6 0 0 0 .

T h e n , a s i l i n e 2 1 o t h p r o g r a m , t h t o p - o f - B a s i c m u s tb r e s e t t p r o t e c t t h b i m a ( a n d t h m a c h i n e l a n g u a g ec o d e ) f r o m B a s i c v a r i a b l e s .

H e r e ' s a e x p l a n a t i o n o h o t s e u a n u s t h r o u t i n ew i t h i n H i - R e s W r i t e r . E a c h t i m eb e f o r e c a l l i n g t h t e x t s u b r o u t i n e ,y o h a v e t m a k e s u r e t h a t t h f o l l o w i n g f i v e v a r i a b l e s a r s e t :

1 T h e m e s s a g e t b p r i n t e di s t o r e d i v a r i a b l e S $ Y o u rm e s s a g e m a c o n t a i n a n c o b i n a t i o n o a l p h a n u m e r i c c h a ra c t e r s ; j u s t d o n ' t u s c o n t r o lc h a r a c t e r s , s u c h a c o l o rc h a n g e s o r e v e r s e .

2 T h f o r e g r o u n d c o l o r m u s tb s p e c i f i e d i v a r i a b l e F C U s t h s t a n d a r d v a l u e s 0 - 1 5 f o t h c o l o r s b l a c k t h r o u g h l i g h t g r a y ,a n s t o r e t h c h o s e n v a l u e i v a r i a b l e F C . F o r e x a m p l e , i w a n t m m e s s a g e t b p r i n t e di l i g h t g r a y , I ' a s s i g n t h e v a l u eo 1 t F b e f o r e c a l l i n g t h t e x t s u b r o u t i n e .

3 T h b a c k g r o u n d c o l o r i a s i g n e d i v a r i a b l e B C A g a i n , u s t h s t a n d a r d v a l u e s 0 - 1 5 f o t h c o l o r s b l a c k t h r o u g h l i g h t g r a y ,a n s t o r e t h c h o s e n v a l u e i v a r ia b l e B C F o e x a m p l e : f o b l a c kb a c k g r o u n d , l e B 0

4 T h h o r i z o n t a l s t a r t i n g p s i t i o n o y o u r m e s s a g e i s t o r e di v a r i a b l e H T h i s i v a l u e f r o m

t 4 0 5 S t o r e t h v e r t i c a l s t a r t i n g p

s i t i o n o y o u r m e s s a g e ( 1 - 2 5 ) i v a r i a b l e V F o e x a m p l e , t s t a r ty o u r m e s s a g e h a l f w a y d o w n t h l e f t - h a n d s i d e o t h e s c r e e n , a s s i g n

a n 1 3 A f t e r s e t t i n g t h o s e f i v e v a r i

a b l e s , j u s t e n t e r t h G o s u b c o m a n d w i t h t h s t a r t i n g l i n e n u b e r , a n y o u ' l l b a l s e t . I

Page 16: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 16/49

N e e d l e g r a p hB D o u g V e n a t o r

R U I R i g h0 6 4 ; 0 1 2 8 ( i 0 6 m o d e ) ; d i s k d r i v e ; p r i n t e r

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

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

S h w a c r e a t i n g c o l o r f u l d s i g n s b w e a v i n g t h y a r n i n t ol i t t l e m e s h s q u a r e s , w h i c h s h t h e n s e w e d i n t o c u b e s t f o r md u r a b l e b l o c k s f o c h i l d r e n t op l a y w i t h . S h w a n t e d p r o g r a mt h a t w o u l d s i m u l a t e t h m e s hg r i d s h w a u s i n g . H e i n t e n t i o nw a t p l a c e v a r i - c o l o r e ds q u a r e s , r e p r e s e n t i n g t h e y a r ns t i t c h e s , o t h g r i d , a n t h e n" e d i t " t h c o l o r s u n t i l s h g o t t h ed e s i g n s h w a n t e d .

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

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

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

P r o g r a m D e s c r i p t i o nT h p r o g r a m , w r i t t e n i B a s i c ,

i f a i r l y f a s t , a l t h o u g h w h e n i t ' sc o m p i l e d , t h r o u t i n e s w i l l b e e c u t e d e v e n m o r e q u i c k l y . O n c ey o r u t h p r o g r a m , t h s c r e e nd i s p l a y s 1 5 b y 1 5 d r a w i n g g r i do s q u a r e s , r e p r e s e n t e d b a t e r i s k s , a l o n g w i t h i n s t r u c t i o n s f o m o s t o t h k e c o m m a n d s .

T h p r o g r a m b e g i n s i t h D r a w m o d e . I t h u p p e r - l e f t c o n e i b l i n k i n g c u r s o r , w h i c hy o c a m o v e a r o u n d t h g r i dw i t h t h c u r s o r c o n t r o l s i t h s a m e m a n n e r a i n o r m a l B a s i c .I y o m o v e i o f a n e d g e o t h g r i d , i w i l l w r a p a r o u n d t t h o p p o s i t e s i d e .

P r e s s i n g t h e s p a c e b a w i l l f i l lt h c u r s o r p o s i t i o n w i t h t h c o l o ri n d i c a t e d b t h s q u a r e i t h u p p e r - l e f t c o r n e r o t h s c r e e n .T c o l o r l i n e o s q u a r e s i t h c u r r e n t c o l o r , h o l d d o w n t h s p a c e b a r ; t h l i n e w i l l e x t e n d i t h d i r e c t i o n o t h l a s t c u r s o rk e p r e s s e d .

Page 17: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 17/49

Page 18: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 18/49

P R E S SP R E S SP R E S SP R E S SS H I F TS H I F T

S H I F T C L T C L E A Rs h i f tT i i O U E

S H I F TT L O A D

S H I F TT S A U E

S H I F TT Q U I T

2 . 3 4 X P

F O F O F O F O F O P R i r

C O L O RC O L O RC O L O RC O L O R

C F C F C F C F

A L C O L O R

T C H A N G E )T C H A N G E )T C H A N G E )T C H A N G E )T C O L O R = =

n I T S D E S I G N O P R I N

■ H B T

M • " " " D O U G " "

H E B B B B1

H H M Hl « m ■ D E B " "

H I B f l

■ b h b S

T E

' 1 9 8 5

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

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

A a l t e r n a t i v e t o f i l l i n g i t h s q u a r e s i n d i v i d u a l l y i t l o a dp r e v i o u s l y s a v e d s o l i d b a c kg r o u n d b e f o r e s t a r t i n g y o u rd e s i g n .

S h i f t e d X T h i s c o m b i n a t i o ne n a b l e s y o u t c h a n g e a l s q u a r e s c o n t a i n i n g c o l o r t c o l o r 2

S h i f t e d P T h i s c o m b i n a t i o n o k e y s p r o m p t s y o u f o t i t l e f o t h o n - s c r e e n d e s i g n , a n t h e n

1

Page 19: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 19/49

p r i n t s t h t i t l e , t h d e s i g n a n c o l o r k e t a b l e t t h p r i n t e r . T h d e s i g n i p r i n t e d a g r i d o l e t t e r s , w i t h e a c h l e t t e r c o r r es p o n d i n g t o n o t h e 6 4 ' s 1 c o l o r s a i n d i c a t e d i t h c o l o rk e t a b l e p r i n t e d b e s i d e t h g r i d .E a c h l e t t e r r e p r e s e n t s o n s t i t c ho y a r n o t h c o l o r i n d i c a t e d . A m e n t i o n e d b e f o r e , t h e s e p r i n to u t s m a k e g r e a t c o l o r - b y - l e t t e re x e r c i s e s t h a t c h i l d r e n g r e a t l ye n j o y .C L R / H O M E : T h i s k e ( u n -s h i f t e d ) r e t u r n s t h b l i n k i n g c u s o t t h u p p e r - l e f t c o r n e r o t h d r a w i n g g r i d .

S h i f t e d / C L R : T h i s k e c o b i n a t i o n c l e a r s t h d r a w i n g g r i do a l c o l o r s a n c o v e r s i w i t hw h i t e a s t e r i s k s , a i t h p r o g r a mh a j u s t b e e n l o a d e d a n r u n .

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

S h i f t e d Q : T h i s c o m b i n a t i o nr e s t o r e s u s o t h r u n / s t o p a n r e s t o r e k e y s , e n d s t h p r o g r a ma n r e t u r n s t h c o m p u t e r t B a s i c .

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

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

1

Page 20: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 20/49

E x t r a ! E x t r a !R e a d A l A b o u t I B D a v i d A H o o k

C - 6 4 ; O 1 2 8 ( i n C - 6 4 m d e )T h w o r l d o l i t e r a t u r e c h a n g e d

d r a m a t i c a l l y w i t h t h d e v e l o pm e n t o t h p r i n t i n g p r e s s ; n l o n g e r w a m a n u a l t r a n s c r i p t i o nt h e o n l y w a t p r o d u c e c o p i e so v a l u a b l e w o r k s . I o u c e n t u r y ,t h p h o t o c o p y m a c h i n e p r o v e dt b a n o t h e r l i b e r a t i n g s t e p f o m a s s a c c e s s t t h p r i n t e d w o r d .Y e t t h e s e p r o c e s s e s , w h e t h e rm a n u a l o a u t o m a t i c , s t i l l i n v o l v et r a d i t i o n a l p a p e r c o p i e s .

Y o h a v e a l h e a r d o t h " p p e r l e s s s o c i e t y " t h a t c o m p u t e r iz a t i o n i m a k i n g p o s s i b l e . i n v i t ey o t t a k e a n o t h e r s t e p t o w a r d st h i s g o a l .

E L E C T R O N I CN E W S L E T T E RO n o t h b e n e f i t s o o u t h r i v

i n 1 2 5 - m e m b e r l o c a l c o m p u t e rc l u b , t h B a r r i e U s e r ' s G r o u p( B U G ) , h a b e e n f r e e , 2 4 - p a g e

m o n t h l y n e w s l e t t e r — a n a m b it i o u s u n d e r t a k i n g f o s m a l lg r o u p . A l t h o u g h w e n j o y e d t h l o w - c o s t s e r v i c e s o a " a f t e r -h o u r s " p r i n t e r , i b e c a m e p h y s ic a l l y a n f i n a n c i a l l y i m p o s s i b l e t p r o d u c e a n d i s t r i b u t e s m a n yp r i n t e d p a g e s .

s o l u t i o n c a m e t m i n d d u i n t h C h r i s t m a s 1 9 8 4 s e a s o n .R o b e r t S i m s , w h o s e t e l e c o mm u n i c a t i o n s t a l e n t s a r n o f m i l i a r t R U r e a d e r s , h a s t a r t e d

d i s k - b a s e d m a g a z i n e c a l l e dB o z a r t . P r o g r a m u p d a t e s , t e c hn i c a l i n f o r m a t i o n a n s e r i a l i z e dw o r k o f i c t i o n m a r k e d t h e a r l yc o p i e s . W h y , w o n d e r e d , c o u l d n ' to u u s e r ' s g r o u p p u t o u t d i s k -b a s e d n e w s l e t t e r ?

I n s p i r e d b B o z a r t , b e g a n d ev e l o p i n g t h p r o c e s s . O u n e w sl e t t e r t e x t c o u l d b e p r o d u c e dw i t h t h w o r d p r o c e s s o r , t h e np u i n t o t h f o r m o t e x t f i l e .f i l e - r e a d i n g p r o g r a m w o u l d t h e ne n a b l e m e m b e r s t s e t h i s s u eo t h e i r m o n i t o r s c r e e n s .

1

Page 21: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 21/49

M e m b e r s w e r e a l r e a d y t u r n i n gi d i s k e a c h m o n t h t g e o u p u b l i c d o m a i n l i b r a r y r e l e a s e s ;n o t h e y c o u l d s u p p l y s e c o n dd i s k f o t h n e w s l e t t e r , a n o u p r o b l e m s w o u l d b e s o l v e d . N c o m m e r c i a l p r i n t e r t p a y , n l e a d t i m e a n v i r t u a l l y n c o s t !( W d h a v e n u m b e r o m e b e r s w i t h d u a l d i s k d r i v e s , a n n s h o r t a g e o a s s i s t a n c e i m a k i n g u t h d i s k c o p i e s . )

W q u i c k l y d e v e l o p e d p r g r a m s t p r o d u c e t h t e x t f i l e ,r e a d i t t h s c r e e n a n p r i n tp a p e r c o p y . R e f i n e m e n t s h a v eb e e n m a d e o v e r t h e p a s t y e a rt i n c l u d e c o l o r f u l c o v e r p a g e( e i t h e r K o a l a P a i n t e r o D o o d l ef o r m a t ) . T h o u g h w h a v e b e e nu s i n g t h e P a p e r C l i p w o r d p r c e s s o r , t h a r r i v a l o R o b e r tR o c k e f e l l e r ' s R U S c r i p t 6 w o r dp r o c e s s o r ( s e e R U N , M a r c h a n dA p r i l 1 9 8 6 ) m a k e s t h i s s y s t e ma v a i l a b l e t y o f o f r e e .

O c o u r s e , c l u b n e w s l e t t e r i n o t h o n l y u s f o t h i s s y s t e m .W i t h i t y o c o u l d p r o v i d e d o u m e n t a t i o n f o a n o t h e r p r o g r a mi s c r e e n - r e a d a b l e , r a t h e r t h a np r i n t e d , f o r m . M a y b e y o u r f a m i l yC h r i s t m a s l e t t e r t c o m p u t e r -e q u i p p e d r e l a t i v e s c o u l d t a k er e v o l u t i o n a r y f o r m .

A f t e r m o r e t h a n d o z e n i s s u e s ,o u m e m b e r s a r s t i l l e n t h u s i a s t i c .L i n e u p s f o t h c o v e r a r a r l o n g — a l o o p e o p l e h a v e t h g r a p h i c s p a c k a g e s a n l o v e t

s h a r e t h e i r c r e a t i o n s . A n t h i n kw a r l e s s i n t i m i d a t i n g t o p o t e nt i a l w r i t e r s i t h i s f o r m . T h e n p r o d u c t p r o v i d e s b i g g e r a n b e t t e r s e r v i c e t o u m e m b e r s h i p .P e r h a p s y o u r l o c a l g r o u p h a b e e n u n a b l e t p r o d u c e a n e w sl e t t e r f o l a c k o f u n d s o r s o u r c e s . I s o y o m i g h t t a k ec l o s e l o o k a o u e x p e r i e n c e . I c o u l d b t h a n s w e r f o y o u , t o o .

R E Q U I R E M E N T SC h a n g i n g f r o m p r i n t e d t a e l e c t r o n i c n e w s l e t t e r r e q u i r e ss o m e p r e p a r a t i o n . F i r s t , y o m u s t h a v e C - 6 4 , d i s k d r i v ea n c o p y o t h R U S c r i p tw o r d p r o c e s s o r .

T h K o a l a P a i n t e r o r D o o d l ec o v e r p a g e i o p t i o n a l . A t h p u b l i s h e r , y o d o n ' t n e e d t h g r a p h i c s s o f t w a r e . T h f i n i s h e dp i c t u r e m a b p r e p a r e d b y a n yo n w i t h t h e s e p a c k a g e s ; t h e n i c a n b e c o p i e d o v e r t t h n e w sl e t t e r d i s k .

U s f i l e c o p y u t i l i t y , s u c h a J i B u t t e r f i e l d ' s U n i c o p y , t t r a n s f e r t h K o a l a o D o o d l e p i t u r e t t h n e w s l e t t e r d i s k . ( M a k es u r e i t n a m e m a t c h e s t h o n y o u s i t h M a R e a d e r D a t as t a t e m e n t , w h i c h w i l l b e p l a i n e d l a t e r i t h i s a r t i c l e . )

E a c h a r t i c l e o n e w s i t e m a p e a r i n g i t h n e w s l e t t e r m u s t b p r e p a r e d u s i n g R U S c r i p t . Y o m u s t a d f e c o m m a n d s t c r e a t e t h s p e c i a l t e x t f i l e s y o

1

Page 22: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 22/49

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

T h r e e p r o g r a m s m a k e u t h s y s t e m : M a P r o d u c t i o n , M a R e a d e r a n M a P r i n t e r . T h e y ' r ea l w r i t t e n i B a s i c , s j u s t f o l l o wt h n o r m a l l o a d i n g p r o c e d u r e .B s u r e t s a v e t h e m , b u d o n ' tr u t h e m y e t , a w e ' r e n o r e a d yt u s t h e m .

M a P r o d u c t i o n h a a l t h f u n c t i o n s n e c e s s a r y t p r e p a r et h l a r g e r e l a t i v e f i l e ( t h e e n t i r en e w s l e t t e r ) . M a R e a d e r i f l e xi b l e , s c r e e n - o r i e n t e d d i s p l a y p r g r a m , w h i c h r e a d s t h r e l a t i v ef i l e a n s e n d s i t t h e s c r e e n ,o n p a g e a t i m e . F u n c t i o nk e y s c o n t r o l t h e v a r i o u s m o d e so o p e r a t i o n a y o s t e p t h r o u g ht h m a g a z i n e . M a P r i n t e r i f o t h o s e w h w i s h p a r t i a l o c o p l e t e c o p y o t h n e w s l e t t e r o p a p e r .

O n l y t h n e w s l e t t e r ' s e d i t o ru s e s M a P r o d u c t i o n . T h o t h e rt w p r o g r a m s , M a R e a d e r a n M a P r i n t e r , m u s t b c o p i e d t t h n e w s l e t t e r d i s k f o e a c h i s u e , s t h a t i c a b r e a d a n c o p i e d .

T H E D I T I N G P R O C E S SB e f o r e u s i n g a n o t h t h r e e

p r o g r a m s , c o n t r i b u t o r s w i l l h a v et p r e p a r e t h e i r a r t i c l e s o n w o r d p r o c e s s o r . Y o c a a c c e p ta r t i c l e s u b m i s s i o n s i R U S c r i p to o t h e r c o m p a t i b l e f o r m a t ( P a p e rc l i p s e q u e n t i a l t e x t f i l e s a r u

a b l e ) . T e l l y o u r w r i t e r s n o t i n s e r ts p e c i a l c o d e s , s u c h a d o u b l es p a c i n g , j u s t i f i c a t i o n , u n d e r l i n i n g ,h e a d e r s o p a g e n u m b e r i n g ; o t e r w i s e , y o u ' l l j u s t h a v e t r e m o v et h e m . J u s t h a v e t h e m s e n d y o t h p l a i n - J a n e , r a w - t e x t f i l e .

E x e r c i s e y o u r e d i t o r i a l b l u ep e n c i l v i a w o r d p r o c e s s o r u n t i lt h a r t i c l e i r e a d y f o p u b l i c at i o n . T h e n , f r o m w i t h i n R U S c r i p t , i n s e r t t h f o l l o w i n g f o r m a tl i n e a t h f i r s t l i n e o t h a r t i c l e( d o n ' t f o r g e t t t e r m i n a t e t h l i n ew i t h R e t u r n ) :. p l 2 5 . p w 4 1 . I m 1 . r m 1 . t m 1 . b m 1

T h i s s e t s u " s c r e e n p a g e "o 2 l i n e s , w i t h m i n i m u m m a rg i n s o a l s i d e s . A t h i s p o i n t ,y o c a s a v e f i l e s a e i t h e r p r g r a m o s e q u e n t i a l . L a t e r , h o e v e r , a n y p r o g r a m f i l e s w i l l b c o n v e r t e d t s e q u e n t i a l f o r m . S e a s i d e t w d i s k s f o y o u r m a g az i n e p r e p a r a t i o n : s o u r c e d i s ka n n e w s l e t t e r d i s k . S a v e t h a r t i c l e a t h i s p o i n t , u s i n g a p p r op r i a t e ( a n d s h o r t ) f i l e n a m e s . R p e a t t h i s p r o c e s s f o a l t h o t h e ra r t i c l e s i t h i s s u e . Y o u r s o u r c ed i s k s h o u l d h a v e t e x t f i l e s o n l y .

T h n e w s l e t t e r d i s k w i l l h o l dt h a r t i c l e s f r o m y o u r s o u r c e d i s kt h a t y o w i l l m o d i f y s l i g h t l y . ( Y o us h o u l d p u t t h e M a R e a d e r a n M a P r i n t e r o t h i s d i s k , t o o . )U s i n g R U S c r i p t , y o w i l l t r a n sf e a r t i c l e s f r o m t h s o u r c e d i s kt t h n e w s l e t t e r d i s k . I w i l l r c e i v e t h e m o d i f i e d t e x t f i l e s , t o o .

1

Page 23: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 23/49

O u t p u t f r o m R U S c r i p t w i l ln o b d i r e c t e d t t h d i s k d r i v e ,i n s t e a d o f t o p r i n t e r . H e r e ' sh o t a c c o m p l i s h t h i s . R e l o a dt h f i r s t a r t i c l e i n t o R U S c r i p tf r o m t h s o u r c e d i s k . I n s e r t t h n e w s l e t t e r d i s k a n a c t i v a t e t h P r i n t c o m m a n d . S p e c i f y " 8 a t h o u t p u t d e v i c e . Y o u ' l l t h e n b a s k e d f o f i l e n a m e . I " t e x t i "i t h t i t l e o t h f i r s t a r t i c l e , t h e nr e s p o n d w i t h " p / t e x t 1 , s , w " . T h o u t p u t o t e x t t t h d i s k w i l l b c o n t i n u o u s , u n t i l t h e n t i r e a r t i c l eh a b e e n s t o r e d . ( O u t p u t i a r e g u l a r C o m m o d o r e f i l e , n o s t r a i g h t A S C I I . )

T h p r e f i x " p / " i h a n d y d e i g n a t i o n f o t h e s e s p e c i a l " p r i n t e rf i l e " a r t i c l e c o n v e r s i o n s . T h s u f i " , s , w " s p e c i f i e s s e q u e n t i a lf i l e . T h i s i n o o p t i o n a l .R e p e a t t h e p r o c e s s : L o a de a c h a r t i c l e f r o m i t s o u r c e d i s k ,c h a n g e d i s k s a n p r i n t i t t h n e w s l e t t e r d i s k . M a k e n o t e o t h e x a c t f i l e n a m e s . T h e s e " p / " f i l e sm a b p r e p a r e d i a n o r d e r ,n o n e c e s s a r i l y t h o r d e r i w h i c h t h e y w i l l a p p e a r i t h m a g a z i n e .

E x i t R U S c r i p t f o t h e t i m eb e i n g . N o y o a r r e a d y t u s t h f i r s t p r o g r a m c o n t a i n e d i t h i s a r t i c l e .

M A P R O D U C T I O NL o a d M a P r o d u c t i o n a n l i s tl i n e s 7 0 0 0 - 8 0 0 0 . T h D a t a s t a t e

m e n t s i n c l u d e d e f a u l t i s s u e

n a m e f o t h m a g a z i n e , t h n u b e o t h d r i v e ( u s u a l l y 0 w h e r et h n e w s l e t t e r d i s k r e s i d e s a n

s u g g e s t e d l e n g t h o 6 s c r e e np a g e s . C h a n g e t h e s e t s u i t y o u ro w p r e f e r e n c e s o e q u i p m e n t ,t h e n r u t h p r o g r a m . T h m e n up r o v i d e s s i o p t i o n s .7 C r e a t e . S e l e c t t h i s o p t i o n t

c r e a t e n e i s s u e .I n s e r t t h n e w s l e t t e r d i s k . T h i

s u n a m e ( f r o m t h e D a t a s t a t em e n t ) w i l l a p p e a r t t h r i g h t o t h q u e s t i o n m a r k . Y o m a c h a n g e i i y o w i s h ; i y o u ' r e s a t i s f i e d , j u s tp r e s s t h r e t u r n k e y .

T h d r i v e n u m b e r a n i t d f a u l t w i l l b o f f e r e d n e x t , s r e p l ya c c o r d i n g l y . T h t h i r d q u e s t i o no f f e r s c h a n g e i l e n g t h f r o mt h d e f a u l t v a l u e .

B f i r s t c h a n g i n g t h d a t a v a u e s , y o n e e d o n l y p r e s s t h r e t u r n k e i r e s p o n s e t e a c hp r o m p t , t h e r e b y s a v i n g t i m e . I w i l l t a k e f e m o m e n t s t c r e a t et h r e l a t i v e f i l e . W h e n t h i s i d o n e , p r e s s t h s p a c e b a t r t u r n t o t h m e n u .2 A d d . S e l e c t t h i s o p t i o n t a d a a r t i c l e t t h i s s u e .

R e s p o n d t t h f i r s t t w p r o m p t s a b e f o r e . T h t h i r dp r o m p t w i l l a s f o t e x t f i l en a m e . Y o m u s t a s s e m b l e y o u rn e w s i t e m s i t h o r d e r i w h i c hy o w a n t t h e m r e a d . P r o v i d e t h f i l e n a m e o t h f i r s t " p / " f i l e ( t h el e a d n e w s i t e m o t h i s s u e ) . I t h e x a m p l e a b o v e , y o w o u l d

1

Page 24: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 24/49

S O F T W A R E r i A G A Z I N EC c ) 1 3 8 B D a v i d A H o o k

1 C r e a t e N e w I s s u e! A d T o A n I s s u eI T a b l e D C o n t e n t s

4 D e l e t e T e x t F i l e si F i P a g e C o u n t e r

u Q u i t P r o g r a m

C h o i c e C l - 5 ) :

r e s p o n d " p / t e x t 1 " . D n o a d t h " , s , w " s u f f i x ! Y o u ' l l h a v e t e n t e r t h d r i v e n u m b e r n e x t ;t h e n t h " W o r k i n g . . . " m e s s a g ew i l l a p p e a r .

W h i l e t h t e x t f i l e i b e i n gt r a n s f e r r e d t t h r e l a t i v e f i l e , t h d i s k e r r o r l i g h t w i l l b l i n k o a n o f f . T h i s i n o r m a l , s y o s h o u l d n ' tb c o n c e r n e d . I t h e r e i r e a ld i s k e r r o r , t h p r o g r a m w i l l a b o r t ,g i v i n g f u l l d e s c r i p t i o n o t h e r o r . ( G h a v e c u o c o f f e e i y o u r t e x t f i l e i l o n g ; t h i s p r o c e s st a k e s w h i l e . )

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

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

C o n t i n u e a c c e s s i n g m e n u o t i o n f o e a c h a r t i c l e t b a d d e d t t h i s s u e .3 T a b l e o f C o n t e n t s . W i t h y o u rh a n d w r i t t e n r e c o r d o a r t i c l e t i t l e sa n t h e i r p a g e n u m b e r s , y o u ' r er e a d y t e x i t t h M a P r o d u c t i o np r o g r a m a n r e l o a d R U S c r i p t .Y o w i l l c r e a t e t h e t a b l e o c o t e n t s ( T O C ) u s i n g R U S c r i p ta n t h e n p r i n t t h f i l e t d i s k a d e s c r i b e d i " T h e E d i t i n g P r c e s s , " a b o v e .

I ' v e p r o v i d e d s a m p l e s c r e e nd u m p f o y o u r g u i d a n c e ( s e e F i u r 1 ) Y o c a n n o t e x c e e d 2 2l i n e s o f t e x t o y o u ' l l c l o b b e r p o t h i s s u e . s u g g e s t y o d e s i g n

1

Page 25: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 25/49

y o u r o w m o d e l a n s a v e i f o f u t u r e i s s u e s . O n c e y o g e i r i g h t , y o w o n ' t n e e d t w o r r ya b o u t o v e r f l o w .

Y o m u s t m a k e t h T O i n t o" p / " f i l e , a y o d i w i t h e a c h

a r t i c l e . P r i n t i t t h n e w s l e t t e rd i s k . E x i t R U S c r i p t a n r e l o a dM a P r o d u c t i o n .

S e l e c t o p t i o n t c r e a t e t h t a b l e o c o n t e n t s . A t h " c o nt e n t s " p r o m p t , s u p p l y t h e " p / "f i l e n a m e y o g a v e t t h T O C ,a n i w i l l b q u i c k l y t r a n s f e r r e dt t h r e l a t i v e f i l e .4 D e l e t e T e x t F i l e s . T h i s o p t i o nh a b e e n p r o v i d e d f o y o u r c o v e n i e n c e . T h " p / " f i l e s a r j u s tt h i n t e r m e d i a t e f i l e s a n r e a l l yd o n ' t b e l o n g o t h f i n i s h e dn e w s l e t t e r d i s k . I y o w e r e c o ns i s t e n t i u s i n g p r e f i x l i k e" p / " f o a l o t h e s e , t h e n o p t i o n

w o u l d a u t o m a t i c a l l y d e l e t et h e m f r o m t h n e w s l e t t e r d i s k .O t h e r w i s e , y o u ' l l h a v e t d t h i sm a n u a l l y .

T h p r o m p t l e t s y o u s a o t h e r p r e f i x , i n l i e u o " p / " . Y o u ' l lh a v e o n l a s t c h a n c e t a b o r t b f o r e a n s c r a t c h i n g t a k e s p l a c e .

T h i s w i l l m o s t l i k e l y b t h l a s ts t e p y o u ' l l p e r f o r m o t h i s n e w sl e t t e r , a i i n o f i n i s h e d .5 F i P a g e C o u n t e r . T h i s o p t i o nm i g h t b c a l l e d t h " O o p s " f u n ct i o n . I l e t s y o r e s e t t h e n d i n gp a g e n u m b e r t a n v a l u e .

I m a b t h a t y o i n a d v e rt e n t l y p r o c e s s e d t h f i l e s i t h

w r o n g o r d e r a n w o u l d l i k e t r e b u i l d t h m a g a z i n e . Y o c o u l da l w a y s s t a r t f r o m t h b e g i n n i n g( C r e a t e ) , b u t h a t ' s o f t e n l o o w o r k . U s t h i s o p t i o n t s e t h p a g e t t h e n o t h l a s t" g o o d " n e w s i t e m , t h e n r e s u m et h A d p r o c e s s .

P e r h a p s y o u ' v e d i s c o v e r e ds i g n i f i c a n t e r r o r i t h f i n i s h e d i s u e ? M a k e ( c o r r e c t e d ) n e " p / " f i l e w i t h R U S c r i p t . L o a da n r u M a P r o d u c t i o n a n n o t e t h e c u r r e n t e n d i n g p a g e .R e s e t t h p a g e c o u n t e r j u s t b f o r e t h s t a r t i n g p o i n t o t h o l f i l e , p e r f o r m t h A d d , t h e n r e s e ta g a i n t t h p r o p e r e n d i n g p a g e .

Y o m a f i n d o t h e r u s e s f o t h i s o p t i o n w h e n s o m e t h i n g g o e sw r o n g . W h e n f i n i s h e d w i t h M a P r o d u c t i o n , p r e s s f r o m t h m e n u t e x i t t h p r o g r a m . N e x t ,y o u ' l l w o r k o M a R e a d e r .

C U S T O M I Z I N G M A R E A D E RY o w i l l h a v e t c u s t o m i z e

M a R e a d e r f o y o u r o w u s e .L o a d t h p r o g r a m a n l i s t l i n e s6 9 9 9 - 8 0 0 0 . T h d a t a i t e m s i d e nt i f y t h v a r i a b l e s t h a t m u s t b c h a n g e d f o e a c h i s s u e .

c h o s e w h i t e b a c k g r o u n da n b o r d e r w i t h l i g h t - b l u e t e x t f o re a s y r e a d a b i l i t y . Y o c a c h a n g et h v a l u e s i l i n e 7 0 0 0 t s u i ty o u r p r e f e r e n c e .

T h g r a p h i c s p i c t u r e i n f o r m at i o n a p p e a r s i l i n e 7 1 0 0 . I i t ' s

1

Page 26: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 26/49

K o a l a t y p e , u s i t e x a c t n a m e ,w i t h o u t t h g r a p h i c s s y m b o l o t h e x t r a s p a c e s a t h e n d . T h s e c o n d f i e l d m u s t b " k t s i g n i f y i t t y p e . F o D o o d l et y p e , d o n ' t i n c l u d e t h e " d d " p r f i i t h f i e l d , a n u s " d f o t h s e c o n d f i e l d .

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

d u m m y n a m e i t h D a t a s t a t em e n t . A l s o , p u a " n i t h s e o n f i e l d , t i n d i c a t e n g r a p h i c sp i c t u r e . T h t h i r d f i e l d i t h c o l o rf o t h b o r d e r o t h e s c r e e n .C h a n g e t h i s t s u i t y o u r p i c t u r e .

I l i n e 7 2 0 0 , y o n e e d t p r v i d e t h i s s u e n a m e , w h i c h i t h e x a c t n a m e y o u c h o s e w h e n y o c r e a t e d t h i s s u e w i t h o p t i o n o M a P r o d u c t i o n .

T h e r e i t i t l e s c r e e n i t h p r g r a m . d a t e a n n a m e f o y o u rn e w s l e t t e r s h o u l d r e p l a c e t h e d a t ai l i n e 7 3 0 0 .

N o y o c a s a v e t h i s m o d i f i e dv e r s i o n t t h n e w s l e t t e r d i s k . u s

" m o n t h " s u f f i x a n a m i n g c o nv e n t i o n f o t h e m o d i f i e d v e r s i o n( e . g . , M a R e a d e r — j u l ) . T h u s e rl o a d s a n r u n s t h i s p r o g r a m t r e a d t h d i s k m a g a z i n e .

C U S T O M I Z I N G M A P R I N T E RL o a d M a P r i n t e r a n l i s t l i n e s

8 9 0 - 1 0 0 0 . N o t e t h D a t a s t a t em e n t w i t h t h i s s u e n a m e . C o r r e c tt h i s t t h n a m e y o u c h o s e i t h C r e a t e o p t i o n . S a v e t h i s m o d i f i e d

v e r s i o n t t h n e w s l e t t e r d i s k ( M a gP r i n t e r — j u l ) .

N o y o u ' v e r e a l l y c o m p l e t e dt h n e w s l e t t e r . P a s s t h d i s k o v e rt y o u r c o p y i n g t e a m t m a k e d p l i c a t e s f o y o u r m e m b e r s . Y o c a t a k e i e a s y u n t i l n e x t m o n t h ' sd e a d l i n e .

S O M E T E C H N I C A L J A Z ZA l t h r e e p r o g r a m s r e l y o f i l e -

r e a d i n g u t i l i t y c a l l e d T h S t r i n gT h i n g . T h i s w a o r i g i n a l l y c o p o s e d f o t h P E T / C B M c o p u t e r s b B i l l M a c L e a n , P r e s i d e n to B M C o m p u s c i e n c e i M i l t o n ,O n t a r i o . J i B u t t e r f i e l d r e w o r k e dt h i n p u t f u n c t i o n t o m a k e i m o r ee f f i c i e n t . T h U n i v e r s a l S t r i n gT h i n g w a p u b l i s h e d i t h S e t e m b e r / O c t o b e r 1 9 8 2 i s s u e o T h T r a n s a c t o r m a g a z i n e , a n t h f o l o w - u p C - 6 4 v e r s i o n i t h a t m a a z i n e ' s A p r i l 1 9 8 3 i s s u e .

T h S t r i n g T h i n g r e a d s f i l ef r o m d i s k w i t h o u t c h o k i n g o c o m a s , q u o t a t i o n m a r k s o r c o l o n s ,a d o e s B a s i c ' s l n p u t # i n s t r u c t i o n .Y o d e f i n e t h i n p u t ' s m a x i m u ml e n g t h i v a r i a b l e A $ t h f i r s t v a r ia b l e u s e d i t h p r o g r a m ( p r e s e tt l e n g t h 4 o 4 h e r e ) . c a r i a g e r e t u r n ( i t h f i l e ) w i l l d e l i m i tt h s t r i n g . R A l o c a t i o n h o l d st h a c t u a l s t r i n g l e n g t h , a n d aP e e k w i l l f e t c h i t T h i s m a c h i n e l a g u a g e s u b r o u t i n e i f a n t a s t i c u t i li t y . T h a l t e r n a t i v e t t h i s w o u l dh a v e b e e n c o n v o l u t e d ( a n ds l o w ) G e t # l o o p .

1

Page 27: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 27/49

T h o t h e r m a c h i n e l a n g u a g ep r o g r a m a p p e a r s i M a R e a d e ro n l y . I t p u r p o s e i t m o v e l a r g ep o r t i o n s o h i - r e s g r a p h i c s c h a ra c t e r s i n t o t h e i r p r o p e r p l a c e , t h e na c t i v a t e t h e c o r r e c t g r a p h i c sm o d e . R A ( l o c a t i o n 2 w i l l h a v eb e e n p r e s e t t i d e n t i f y t h t y p e o c o v e r p i c t u r e .

I ' v e d o c u m e n t e d t h p r o g r a m sw i t h l o t s o R E s t a t e m e n t s , s y o s h o u l d b a b l e t o f o l l o w t h l o g i c f a i r l y e a s i l y .

M A R E A D E R F E A T U R E SY o u ' l l s e H e l p s c r e e n w h i l e

t h h i - r e s c o v e r p a g e l o a d s f r o mt h d i s k . T h g r a p h i c s p i c t u r e w i l lt h e n b d i s p l a y e d . P r e s s a n k e o t h s p a c e b a t a d v a n c e b ey o n d t h c o v e r p i c t u r e .

N e x t , y o u ' l l s e t h t e x t c o v e rp a g e , w h i c h g i v e s y o u r n e w s l e t t e rt i t l e a n i t i s s u e m o n t h .

p r o m p t l i n e w i l l a l w a y s a p p e a ro t h b o t t o m l i n e o t h e s c r e e n .I i d e n t i f i e s h o t a c c e s s t h H e l ps c r e e n a n i n d i c a t e s t h p a g en u m b e r y o a r r e a d i n g . S i n c eh e l p i a l w a y s a v a i l a b l e , t h p r g r a m i s e l f - e x p l a n a t o r y .

I y o t r t a d v a n c e p a s t t h el a s t p a g e o t h i s s u e , t h l a s tp a g e i r e d i s p l a y e d . I y o b a c ku f r o m p 1 y o u ' l l s e t h c o v e ra g a i n . T h t a b l e o c o n t e n t s i a w a y s j u s t o n k e y s t r o k e a w a y ( F 1 ) ;t h e n y o u c a n g t a n p a g e u i n t h F k e y .

M A P R I N T E R F E A T U R E ST h i s p r o g r a m w i l l d u m p t h i

s u e i t h e r t o t h s c r e e n ( d e v i c e 3 o t t h p r i n t e r ( d e v i c e o 5 ) M o s t p r i n t e r s t h a t a r i n t e r f a c e d t t h C - 6 4 w i l l r e q u i r e t h a t y o s e t h s e c o n d a r y a d d r e s s t 7 s t h a t u p p e r - a n l o w e r c a s e w i l l b p r i n t e d .

B s u r e t h a t y o u r p r i n t e r i t u r n e d o n Y o m u s t u s c o n t i n uo u s - f o r m p a p e r ( f a n - f o l d o r o l l ) .A d v a n c e t h p a p e r s o t h a t t h p e r f o r a t i o n i o n e - h a l f i n c h ( t h r e el i n e s ) a b o v e t h p r i n t h e a d . T h p r o g r a m w i l l p r i n t 6 l i n e s o t e x t ,t h e n s k i p o v e r t h p e r f o r a t i o n ( s i xb l a n k l i n e s ) .

Y o m a s e l e c t t h r a n g e o s c r e e n p a g e s . I y o w i s h t p a u s e t h p r i n t i n g , s t r i k e a n k e ( e x c e p t t h r u n / s t o p ) . R e s u m e b s t r i k i n g a n o t h e r k e ( w i l l q u i t t h p r o g r a m ) .

T h e r e y o h a v e i t c o m m e r c i a l -q u a l i t y s y s t e m t h a t a l l o w s y o t p r o d u c e s o f t w a r e m a g a z i n e w i t hy o u r C - 6 4 a n R U S c r i p t w o r dp r o c e s s o r . A f t e r o n i s s u e , y o u ' l lf i n d i t b p r e t t y r o u t i n e p r c e s s . I w i l l n e i t h e r t a y o u r s k i l l ,n o r t a k e h o r r e n d o u s a m o u n t s o y o u r t i m e t p r o d u c e t h f i n i s h e dp r o d u c t . T h e n y o u ' l l b a b l e t c o n c e n t r a t e o t h m a i n f u n c t i o no a e d i t o r — f l o g g i n g a u t h o r s t g e t h e m t m e e t d e a d l i n e s !

2

Page 28: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 28/49

B o o t m a k e r 1 2 8 / 6 4B B i l l P y t l o v a n y

R U I R i q h t& 1 2 8 ; d i s k d r i v e

O n o t h m o s t r e f r e s h i n g f e t u r e s o t h C o m m o d o r e 1 2 i i t a b i l i t y t a u t o m a t i c a l l y l o a da n e x e c u t e s p e c i f i e d C - 1 2 8 p r g r a m s t h a t a r o y o u r d i s k . A e x a m p l e i t h C P / M s y s t e m d i s kp a c k a g e d w i t h t h e 1 2 8 ; y o n e e d o n l y t u r n o t h c o m p u t e rw i t h t h i s d i s k i t h d r i v e , a n t h C P / M o p e r a t i n g s y s t e m w i l lb a u t o m a t i c a l l y a c t i v a t e d . W i t hs o m e m o d i f i c a t i o n , y o m a a p l t h i s a u t o b o o t f u n c t i o n t a n d i s k u s e d o t h C - 1 2 8 .

B o o t m a k e r 1 2 8 / 6 4 p e r m i t s y o t u s t h i s s p e c i a l f e a t u r e i C - 6 4 m o d e a w e l l . A n d , w i t h i t y o n l o n g e r h a v e t p r e s sd o w n y o u r C o m m o d o r e k e o t y p e G O 6 4 w h e n p o w e r i n g u p T h p r o g r a m w o r k s w i t h t h 1 5 7 1 , 1 5 4 1 a n o t h e r C o m m od o r e - c o m p a t i b l e d i s k d r i v e s .

W H A T I D O E SB o o t m a k e r 1 2 8 / 6 4 p e r f o r m s

t w o p e r a t i o n s . F i r s t , i c r e a t e s

w h a t i c a l l e d b o o t s e c t o r o t r a c k 1 / s e c t o r o y o u r d i s k . I y o u r d i s k d r i v e i t u r n e d o w h e nt h C - 1 2 8 o f f / o n s w i t c h i a c t iv a t e d o w h e n t h C - 1 2 8 r e s e tb u t t o n i p u s h e d , t h e n t h i s b o o ts e c t o r i c h e c k e d f o p r o g r a mi n f o r m a t i o n . B o o t m a k e r 1 2 8 / 6 4p l a c e s i t h i s s e c t o r t h i n f o rm a t i o n n e e d e d t l o a d p r g r a m c a l l e d B O O T 6 4 .

S e c o n d , i p e r f o r m s t h a c t u a lc r e a t i o n o t h P 1 B O O T 6 4 p r g r a m o y o u r d i s k . T h i s m a c h i n el a n g u a g e p r o g r a m c o n t a i n s t h ed a t a r e q u i r e d t s w i t c h t h eC - 1 2 8 i n t o C - 6 4 m o d e , w h i l e s t i l lr e t a i n i n g t h n a m e o t h p r g r a m y o w i s h t b l o a d e d a n e x e c u t e d .

H O T U S I J u s t l o a d B o o t m a k e r 1 2 8 / 6 4

i n t o y o u r C - 1 2 8 c o m p u t e r i C - 1 2 8 m o d e ( i e i t h e r 4 0 o 8 0 c o l u m n ) a n r u i t T h p r o g r a mw i l l i n s t r u c t y o t i n s e r t y o u rC - 6 4 d i s k a n p r o m p t y o t e t e t h n a m e o t h C - 6 4 p r g r a m y o w i s h t b o o t . A f t e rt y p i n g i t h n a m e o t h p r o -

2

Page 29: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 29/49

g r a m a n d p r e s s i n g t h e r e t u r nk e y , t h p r o g r a m w i l l r u f o a b o u t 1 0 - 1 5 s e c o n d s w h i l e i d i s p l a y s t h e p h r a s e " c r e a t i n gB O O T S E C T O R " f o l l o w e d b " s a v i n g P 1 B O O T " . I w i l l t h e n t e l ly o w h e n i t o p e r a t i o n h a b e e nc o m p l e t e d , a n y o m a t e s ty o u r n e w l y b o o t a b l e d i s k b p r e s s i n g t h r e s e t b u t t o n .

S i b a c k a n w a t c h . I f e s e c o n d s , y o u r c o m p u t e r w i l ls w i t c h t 6 4 m o d e . Y o w i l l s e t h 6 s t a r t - u p s c r e e n a n m e s s a g e f r o m t h a u t h o r a s y o u rs p e c i f i e d 6 p r o g r a m a u t o m a t ic a l l y l o a d s a n r u n s .

T I P S A N S U G G E S T I O N ST r B o o t m a k e r 1 2 8 / 6 4 f i r s t o d i s k y o c a a f f o r d t o l o s e -

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

c o p y o o n o y o u r C - 6 4 p r g r a m s o i a n u s i a t e s t .

U s e x t r e m e c a u t i o n i y o w a n t t u s t h P 1 B O O T 6 4 p r g r a m o c o m m e r c i a l p r o g r a m s .M a n y c o m m e r c i a l l y p r o d u c e dd i s k s m a b d a m a g e d b w r i ti n a n t y p e o d a t a t t h e m .M a k e w o r k i n g b a c k u p o y o u rd i s k f i r s t !

B s u r e y o h a v e s u f f i c i e n tn u m b e r o f r e e b l o c k s o y o u rd i s k . I y o u r d i s k i a l m o s t f u l l ,u s d i s k e d i t o r p r o g r a m t d t e r m i n e i t r a c k 1 / s e c t o r i f r e ef o u s e .

U s t h i s p r o g r a m t a u t o b o o tm e n u p r o g r a m s u c h a t h o s e

c o m m o n l y a v a i l a b l e f r o m o n - l i n es e r v i c e s o r u s e r g r o u p p u b l i c d m a i n l i b r a r i e s . ( S e e R U N ' s A p r i li s s u e f o C - 6 4 m e n u p r o g r a m . )

S o , i n s t e a d o h o l d i n g d o w nt h C o m m o d o r e k e o t y p i n gL O A D " w h a t e v e r " , 8 , g e u o u o y o u r c h a i r a n s - t - r - e - t - c - hw h i l e y o u r p r o g r a m l o a d s . I r e a l l y c a n ' t b b e a t ! I

2

Page 30: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 30/49

Page 31: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 31/49

t u r n y o t t h m a i n m e n u a n a b o r t t h o p e r a t i o n i p r o g r e s s .

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

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

M Y P R O G P R G <T h s a m p l e e n t r y s h o w s t h a t

M Y P R O G i p r o g r a m ( P R G ) f i l et h a t t a k e s u s e v e n d i s k b l o c k s .T h " < c h a r a c t e r a f t e r t h f i l e -t y p e m e a n s t h a t M Y P R O G i p r o t e c t e d f i l e a n c a n ' t b d l e t e d . ( P r o t e c t e d f i l e s a r d s c r i b e d i m o r e d e t a i l l a t e r . )

T e f i l e e n t r i e s a r s h o w n a t i m e , a n y o a d v a n c e t t h n e x tt e b p r e s s i n g a n k e y . ( P r e s st h c u r s o r - u p k e t m o v e b a c ks c r e e n . ) W h e n a l t h f i l e s h a v eb e e n d i s p l a y e d , p r e s s i n g a n k e r e t u r n s y o t t h m a i n m e n u . T a b o r t t h d i s p l a y a a n t i m e ,p r e s s t h a s t e r i s k ( * k e y .

W h e n y o a s f o d i r e c t o r yd i s p l a y , D i s k K e e p e r r e a d s t h d i s k ' s n a m e a n c o m p a r e s i t t h n a m e o t h l a s t d i s k i r e a d .I t h n a m e s m a t c h a n D i s kK e e p e r t h i n k s y o h a v e n ' t d o n ea n y t h i n g t t h d i r e c t o r y i t h m e a n t i m e ( s u c h a s c r a t c h i n gf i l e ) , t h p r o g r a m s a v e s t i m e b n o b o t h e r i n g t r e a d t h r e s t o t h d i r e c t o r y . I a s s u m e s t h a t t h f i l e i n f o r m a t i o n i r e a d t h f i r s tt i m e i s t i l l v a l i d a n u s e s i a g a i n .

M a k e D i s k L a b e l . C h o o s i n gt h i s m e n u o p t i o n a l l o w s y o t m a k e h a r d - c o p y l i s t i n g s o t h i n f o r m a t i o n d i s p l a y e d b o p t i o n1 Y o a r a s k e d t c h o o s el a b e l f o r m a t :1 J A C K E T I N S E R T2 F U L L J A C K E TI y o c h o o s e f o r m a t 1 t h p r g r a m s e n d s t t h p r i n t e r a a p h a b e t i z e d l i s t i n g t h a t y o u c a nc u o u a n s l i p i n t o t h d i s kj a c k e t a l o n g w i t h t h d i s k . I y o h a v e t r o u b l e k e e p i n g t h l a b e la n t h d i s k t o g e t h e r , o i t h d i s k j a c k e t i t s e l f i b e c o m i n gw o r n , y o u c a n c h o o s e f o r m a ti n s t e a d . T h i s p r o d u c e s d i r e ct o r y l i s t i n g t h a t y o c u o u a n f o l d i n t o b r a n d n e d i s k j a c k e t ,w i t h t h e f i l e n a m e s p r i n t e d r i g h to t h f r o n t ! A s s e m b l i n g t h j a c k e t i e a s y . S i m p l y c u a l o n gt h e o u t s i d e l i n e s o n l y , a n f o l da s h o w n b e l o w .

C

F o l d f l a p a l i n e 1 F o l d f l a p sa n a t l i n e s a n 3 S e c u r et h f l a p s i t h b a c k w i t h S c o t c ht a p e o g l u e . W a r n i n g : i y o u s

2

Page 32: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 32/49

1 2 3 4 5 6 7 8 9

D I S P L A Y D I R E C T O R YM A K E D I S K L A B E LC L E A N U D I S KP R O T E C T F I L EU N P R O T E C T F I L ER E N A M E D I S KF O R M A T N E W D I S KS E N D D I S K C O M M A N DE X I T

S E L E C T I O N :

g l u e t s e c u r e t h f l a p s , m a k ea b s o l u t e l y s u r e t h g l u e i d r b e f o r e y o p u d i s k i t h j a c k e t .

A f t e r s p e c i f y i n g t h o u t p u t f o m a t , y o a r a s k e d t s u p p l y a o p t i o n a l l a b e l s t r i n g o f u t 2 c h a r a c t e r s . T y p e i a n y c h a r a ct e r s y o l i k e , a n t h e y w i l l a p e a r o t h l i s t i n g n e x t t t h d i s k n a m e .

I y o u h a v e b e e n r e a d i n g R U f o w h i l e , y o m a n o t i c e t h a tt h d i s k l a b e l o u t p u t f o t h j a c k e t i n s e r t i v e r y s i m i l a r t t h o u t p u t p r o d u c e d b m d i s k l b e u t i l i t y p u b l i s h e d i t h A p r i l

1 9 8 4 i s s u e ( " C a l l i n g D i s k D i r e ct o r i e s t O r d e r " ) . T h e r e a r f e d i f f e r e n c e s , h o w e v e r .

T h o l d e r p r o g r a m d o e s n o p r i n t t h t w o - c h a r a c t e r d i s k I D A l s o , D i s k K e e p e r u s e s c o p l e t e l y d i f f e r e n t m e t h o d o r e a di n t h d i r e c t o r y , a n t h s o r t i n o w r i t t e n i m a c h i n e l a n g u a g ea n i m u c h f a s t e r . F o d i s kw i t h 4 f i l e s o i t D i s k K e e p e rr e a d s a n s o r t s t h d i r e c t o r yt h r e e t i m e s f a s t e r t h a n t h p r v i o u s v e r s i o n ! I a d d i t i o n , D i s kK e e p e r d o e s n ' t u s a n C o m o d o r e - s p e c i f i c g r a p h i c s c h a ra c t e r s w h e n p r i n t i n g l a b e l s , s i

2

Page 33: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 33/49

i c o m p a t i b l e w i t h w i d e r r a n g eo p r i n t e r s .

D i s k K e e p e r a s s u m e s t h a ty o u r p r i n t e r i d e v i c e # o t h s e r i a l b u s . I y o a r e u s i n gd i f f e r e n t d e v i c e n u m b e r f o y o u rp r i n t e r , c h a n g e t h e v a l u e a s i g n e d t t h v a r i a b l e P i l i n e1 1 o t h p r o g r a m . ( D o n ' t f o r g e tt s a v e y o u r m o d i f i e d v e r s i o n . )A l s o , D i s k K e e p e r a s s u m e s t h a ty o u r p r i n t e r p r i n t s i s t a n d a r dp i c a t y p e . I y o h a v e a p r i n t e rt h a t u s e s t h s m a l l e r , e l i t e t y p ef a c e ( s u c h a s C o m m o d o r e ' s1 5 2 6 ) , c h a n g e f r o m t t h v a l u e a s s i g n e d t t h v a r i a b l e" E l i t e " i l i n e 1 1 0 . ( F a i l u r e t d t h i s w i l l p r o d u c e d i s k j a c k e t s t h a ta r e t o o s m a l l i y o c h o o s e f o m a o p t i o n 2 .

D i s k K e e p e r p r i n t s i t b o r d e ra n s e p a r a t o r l i n e s u s i n g t h h p h e n f o h o r i z o n t a l l i n e s a n t h c o l o n f o v e r t i c a l l i n e s . D e p e n d i n go t h g r a p h i c s s e t o f y o u r p r i n t e r ,y o m i g h t l i k e t e x p e r i m e n t b c h a n g i n g t h e s e t s o m e o t h e rc h a r a c t e r s . T h i s i e a s i l y d o n e b c h a n g i n g t h v a l u e s a s s i g n e d t t h v a r i a b l e s A a n B i l i n e1 1 0 . I y o u h a v e C o m m o d o r ep r i n t e r , t r y s e t t i n g A C H R $ ( 1 9 2 )a n d B $ C H R $ ( 2 2 1 ) .

C l e a n U D i s k . A f t e r y o h a v e b e e n u s i n g d i s k f o w h i l e , i b e g i n s t f i l l u p l o o t h f i l e s e v e n t u a l l y b e c o m e o s o l e t e . W h e n y o c h o o s e t h i sm e n u o p t i o n , D i s k K e e p e r r e a d s

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

A f t e r y o a r a s k e d a b o u t a l t h f i l e s o t h d i s k , D i s k K e e p e rg o e s t h r o u g h a n d e l e t e s t h o n e s y o s p e c i f i e d . B e f o r e t h m a s s d e l e t i o n s t a r t s , y o a r a l s oa s k e d i y o u w a n t t v a l i d a t e t h d i s k . I y o a n s w e r Y t h d i s ki v a l i d a t e d a f t e r t h f i l e s h a v eb e e n s c r a t c h e d .

Y o c a a b o r t a n r e t u r n t t h m a i n m e n u w i t h o u t d e l e t i n ga n f i l e s b p r e s s i n g t h e r e t u r nk e i r e s p o n s e t a n q u e s t i o nb e f o r e t h d e l e t i o n p r o c e s s a t u a l l y b e g i n s . A l s o , o n c e y o h a v e s p e c i f i e d s o m e f i l e s f o d e l e t i o n , y o c a s k i p t h " D l e t e T h i s F i l e ? " q u e s t i o n f o t h r e s t o t h f i l e s o t h d i s k b t y p i n g i a a s t e r i s k i r e s p o n s et t h p r o m p t .

P r o t e c t F i l e . ( C a u t i o n : D n o u s t h i s f e a t u r e w i t h R U S c r i p t6 f i l e s . ) l i t t l e - k n o w n f e a t u r e o t h d i s k o p e r a t i n g s y s t e m i t h a b i l i t y t p r o t e c t f i l e s t h a t i c a n ' t b a c c i d e n t a l l y d e l e t e d b t h S c r a t c h c o m m a n d . Y o n e e do n l y t y p e i n t o t h i n p u t w i n d o wt h n a m e o t h f i l e y o u w a n t t p r o t e c t a n p r e s s t h r e t u r n k e y .P r o t e c t e d f i l e s s h o w u i t h d i r e c t o r y w i t h " < n e x t t t h f i l e t y p e .

U n p r o t e c t F i l e . O n c e f i l eh a b e e n p r o t e c t e d w i t h t h P r t e c t F i l e o p t i o n a b o v e , i c a n ' t b

2

Page 34: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 34/49

d e l e t e d ( s c r a t c h e d ) u n t i l i h a b e e n " u n p r o t e c t e d . " T h i s o p t i o np r o m p t s y o u f o t h n a m e o t h f i l e t u n p r o t e c t , a n t u r n s t h p r o t e c t b i o f i t h d i r e c t o r y .

R e n a m e D i s k . A l t h o u g h i i e a s y t c h a n g e t h n a m e o f i l e u s i n g n o r m a l D O c o m a n d s , t h e r e i n r e g u l a r D O c o m m a n d f o c h a n g i n g t h n a m e o d i s k . W h e n y o c h o o s e t h i s o p t i o n , t h n a m e o t h d i s k c u r r e n t l y i t h d r i v e i d i s p l a y e d , a n D i s k K e e p e rp r o m p t s y o u f o n e n a m e .T y p e i n t o t h i n p u t w i n d o w w h a te v e r n e n a m e y o w i s h a n p r e s s t h r e t u r n k e y . T h d i s kw i l l b r e n a m e d .

F o r m a t N e D i s k . B e f o r en e d i s k c a b u s e d i t h C o m m o d o r e 1 5 4 1 d i s k d r i v e , i m u s t b e f o r m a t t e d . T h i s i n v o l v e sa s s i g n i n g t h d i s k n a m e a n

t w o - c h a r a c t e r I D ( T h e d i s k I i w r i t t e n o n t o e v e r y t r a c k a n s e c t o r d u r i n g t h e f o r m a t t i n g p r c e s s . ) W h e n y o c h o o s e t h i sm e n u o p t i o n , D i s k K e e p e rp r o m p t s y o f i r s t f o n a m e a n t h e n f o t w o - c h a r a c t e r I f o t h n e d i s k . Y o a r w a r n e dt h a t f o r m a t t i n g t h d i s k w i l l d s t r o y a n e x i s t i n g f i l e s o i t

Y o a r t h e n a s k e d i y o w i s ht p r o c e e d ; t h d i s k w i l l b f o m a t t e d o n l y i y o a n s w e r t t h q u e s t i o n . ( N o t e : W h e nc h o o s i n g d i s k I D b s u r e t s e l e c t t w c h a r a c t e r s y o u h a ve n ' t u s e d a a I f o a n o y o u r o t h e r d i s k s . I D O s e e s t w d i s k s w i t h t h s a m e d i s k I D i m a m i s t a k e n l y a s s u m e t h a t t h t w d i s k s a r e t h e s a m e d i s k , w i t hd i s a s t r o u s r e s u l t s t t h f i l e st h e r e o n . )S e n d D i s k C o m m a n d . T h i so p t i o n a l l o w s y o t s e n d t t h d i s k d r i v e a n D O c o m m a n d o y o u r l i k i n g . Y o s i m p l y t y p e t h c o m m a n d i n t o t h i n p u t w i n d o wa n p r e s s t h r e t u r n k e y . D i s kK e e p e r s e n d s t h c o m m a n d a n t h e n r e a d s t h e r r o r c h a n n e l a n d i s p l a y s t h d i s k s t a t u s . F o e a m p l e , t s c r a t c h f i l e n a m e d" O L D - P R O G " f r o m t h d i s k , y o w o u l d s i m p l y t y p e :S 0 : O L D - P R O Ga n p r e s s t h r e t u r n k e y .

E x i t . C h o o s i n g t h i s m e n u o t i o n a l l o w s y o t e x i t f r o m D i s kK e e p e r a n r e t u r n s y o t B a s i c .

W e l l , t h a t ' s a l t h e r e i t u s i n gD i s k K e e p e r . I

2

Page 35: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 35/49

A d S o m eC h a r a c t e r t Y o u r C - 6 4B V i t o S o l i m e n e

0 6 4 ; 0 1 2 8 ( i 0 6 m k ) \ p r i n t e r o p t m dn i c e f e a t u r e o t h C o m m o

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

H o w e v e r , t m a k e a c u s t o mc h a r a c t e r s e t h i s w a y , y o u h a v et s i d o w n w i t h p e n c i l a n s o m e g r a p h p a p e r a n d d r a w e e r c h a r a c t e r y o u w a n t t m o i f y ; y o m u s t t h e n a d u t h b i t s t f o r m t h c h a r a c t e r . O n c et h i s i d o n e , y o u h a v e t t a k et h d a t a a n d P o k e i i n t o c h a ra c t e r m e m o r y t s e h o i l o o k s .

W i t h m M A K E C H A R S p r

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

T H P R O G R A MW h e n y o f i r s t r u M A K E -C H A R S , t h s c r e e n w i l l c l e a r a n d i s p l a y t h m e s s a g e t h a t t h 6 i i t h p r o c e s s o c o p y i n g t h c h a r a c t e r s e t .

T h p r o g r a m c o p i e s t h e n t i r ec h a r a c t e r R O ( a l l 4 0 9 6 b y t e s )i n t o R A M . W h e n f i r s t w r o t e t h p r o g r a m , u s e d B a s i c t d t h c o p y i n g . H o w e v e r , i t o o k t o l o n g , s w r o t e t h c o p y r o u t i n ei m a c h i n e l a n g u a g e . T h c o p yr o u t i n e t a k e s t h c h a r a c t e r s a 5 3 2 4 8 ( $ D 0 0 0 ) a n c o p i e s t h e mi n t o 1 2 2 8 8 ( $ 3 0 0 0 ) . ( K e e p i m i n d t h a t r e r u n n i n g t h e p r o g r a mw i l l c a u s e t h e c h a r a c t e r s e t b r e c o p i e d . )

A f t e r t h i s i d o n e , p r o m p t w i l l

2

Page 36: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 36/49

a p p e a r , a s k i n g y o w h i c h c h a ra c t e r s e y o w o u l d l i k e t e d i t .A n s w e r b p r e s s i n g t h e c o r r es p o n d i n g n u m b e r . I y o a n s w e rw i t h a X t h p r o g r a m w i l l e n d .

T h n e x t s c r e e n i k n o w n a t h e d i t i n g s c r e e n . T h i s i w h e r ea l m o s t e v e r y t h i n g t a k e s p l a c e .O t h e t o p o t h e s c r e e n , m e s a g e w i l l a p p e a r ( " X X X - Y Y ' Q T Q U I T ' H F O R H E L PC H A R # ? " ) . T h X X i t h l o e s n u m b e r a l l o w e d t b e t e r e d a n t h Y Y i t h h i g h e s t .T h e s e n u m b e r s d e p e n d o t h c h a r a c t e r s e y o p i c k e d e a r l i e r .T h i s i k n o w n a t h P r o m p tm o d e . m e s s a g e a t h b o t t o mo t h s c r e e n s h o u l d a p p e a r t c o n f i r m t h i s .

I y o p r e s s H h e l p s c r e e n

w i l l a p p e a r , g i v i n g b r i e f d s c r i p t i o n o a l t h e o p t i o n s a v a i la b l e t y o u . I y o e n t e r Q y o u ' l lb r e t u r n e d t t h b e g i n n i n g o t h p r o g r a m , w h e r e y o c a p i c ka n o t h e r c h a r a c t e r s e t e d i t o q u i t t h p r o g r a m .

O n c e y o c h o o s e n u m b e ra n p r e s s t h r e t u r n k e y , b o w i l l b d r a w n , w i t h t h e c h a r a c t e ry o p i c k e d i n s i d e . T h b o i e i g h t c o l u m n s w i d e a n e i g h tl i n e s h i g h . E a c h l i n e c o r r e s p o n d st o n b y t e o t h e c h a r a c t e rs h a p e , a n e a c h c o l u m n c o r r es p o n d s t o n b i t i n t h a t b y t e .f e c o l u m n s t t h r i g h t o t h i sb o i t h c h a r a c t e r y o a r c u r e n t l y w o r k i n g o n i i t a c t u a ls i z e . Y o a r n o i t h E d i tm o d e , a n m e s s a g e s h o u l d

2

Page 37: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 37/49

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

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

i t h P r o m p t m o d e . T h f e t u r e s a r e :

C u r s o r c o n t r o l s . T h c u r s o r - c o nt r o l k e y s e n a b l e y o t m o v ef l a s h i n g c u r s o r a r o u n d i t h b o x .

A s t e r i s k k e ( * ) . W h e n y o p r e s s t h i s k e y , a a s t e r i s k i p l a c e d a t h c u r r e n t c u r s o r l c a t i o n . N o t e : T h i s w i l l n o a v a n c e t h c u r s o r i a n d i r e c t i o n .

S p a c e b a r . W h e n y o p r e s st h s p a c e b a r , a s p a c e i p l a c e da t h c u r r e n t c u r s o r l o c a t i o n .L i k e t h a s t e r i s k , i d o e s n o a v a n c e t h e c u r s o r i a n d i r e c t i o n .

C L R / H O M E . D e p r e s s i n g t h i sk e d o e s n ' t c h a n g e t h c h a r a ct e i a n w a y ; i j u s t p u t s t h c u r s o r i t h u p p e r - l e f t c o r n e r o t h e b o x .

S h i f t w i t h C L R / H O M E . I y o s i m u l t a n e o u s l y p r e s s t h s h i f ta n C L R / H O M E k e y s , t h c h a ra c t e r b o i c l e a r e d a n y o u rc h a r a c t e r e r a s e d .

C T R L 9 W h e n y o p r e s s t h c o n t r o l k e w i t h t h k e y , t h c u r r e n t c h a r a c t e r i r e v e r s e d .E a c h a s t e r i s k b e c o m e s s p a c ea n e a c h s p a c e b e c o m e s a a s t e r i s k .

k e y . T h i s a d v a n c e s y o t t h e n e x t c h a r a c t e r i n u m e r i c a lo r d e r w i t h o u t r e t u r n i n g y o t t h P r o m p t m o d e .

k e y . T h i s i t h e x a c t o

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

F 1 P r e s s i n g t h i s k e w h i l e i t h E d i t m o d e c a u s e s t h c h a n g e sm a d e i t h e n l a r g e d c h a r a c t e rb o t b t r a n s f e r r e d t m e m o r ya n t b d i s p l a y e d . N o t e : A n a l t e r a t i o n s t t h c h a r a c t e r w i l ln o b i n c o r p o r a t e d i n t o t h a t u a l c h a r a c t e r u n t i l t h i s k e i p r e s s e d .

F 3 T h i s k e w i l l r e t u r n y o t t h P r o m p t m o d e .

F 5 P r e s s i n g t h i s k e a l l o w sy o t s a v e t d i s k o t a p e t h c h a r a c t e r s e y o u ' r e w o r k i n g o n O n c e y o p r e s s t h i s k e y , m e s a g e w i l l a p p e a r a t h t o o t h s c r e e n , a s k i n g f o t h d e v i c e t w h i c h y o u w a n t t s a v e y o u rf i l e . A f t e r y o h a v e a n s w e r e d ,a n o t h e r p r o m p t a p p e a r s u d e r n e a t h , a s k i n g y o f o t h f i l e - n a m e . I y o p r e s s e d F b m i s t a k e , r e s p o n d i n g w i t h a r e t u r n s y o t t h P r o m p t m o d e .

F 6 P r e s s i n g t h i s k e a l l o w sy o t l o a d c h a r a c t e r s e f r o md i s k o r t a p e . A f t e r y o p r e s s F 6 t h s c r e e n c l e a r s , a n d a m e s a g e a p p e a r s , a s k i n g f o t h d v i c e f r o m w h i c h t l o a d y o u rc h a r a c t e r f i l e . T h F f e a t u r e h a t h s a m e p r o t e c t i o n a g a i n s t a c i d e n t a l p r e s s i n g s a F 5

F 7 P r e s s i n g t h i s k e a l l o w sy o t p r i n t t h d a t a f o t h c u t o c h a r a c t e r s t s c r e e n o p r i n t e r ( y o u m u s t i n s t r u c t i b

3

Page 38: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 38/49

e n t e r i n g e i t h e r o P ) I f a a n t i m e , y o w i s h t s t o p p r i n t i n gt h d a t a , p r e s s a n k e y . T r s t a r t t h p r i n t i n g , p r e s s C f o c o n t i n u e . T s t o p p r i n t i n g , p r e s sX a n y o u ' l l b r e t u r n e d t t h P r o m p t m o d e . B a w a r e t h a t t h f i r s t n u m b e r i t h D a t a s t a t em e n t s s h o u l d n o b u s e d , s i n c ei i t h n u m b e r o t h c h a r a c t e ra n i f o r e f e r e n c e o n l y .

N o t e : I y o a r w o r k i n g o t h e r e v e r s e u p p e r c a s e c h a r a c t e rs e t , f o e x a m p l e , a n d e c i d e t s a v e y o u r f i l e , i w i l l b r e l o a d e di t h p l a c e o t h n o r m a l r

v e r s e u p p e r c a s e c h a r a c t e r s e t .T h i s i t r u e o e a c h o t h o t h e rc h a r a c t e r s e t s a w e l l .

W H A T N O W ?S o y o h a v e l i s t o D a t as t a t e m e n t s — n o w , w h a t d y o d w i t h t h e m ? I ' v e i n c l u d e d a o t h e r p r o g r a m , U S E C H A R S ,w h i c h t a k e s c a r e o t h i s p r o b l e m .

c a l l i s k e l e t o n p r o g r a m . I c o n t a i n s a l y o n e e d i o r d e r t u s t h D a t a s t a t e m e n t s , e x c e p t ,o c o u r s e , t h d a t a , w h i c h y o uw i l l p r o v i d e .

3

Page 39: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 39/49

T h C h o i c e i \ b u r sB M i c h a e l B r o u s s a r d

R U I R i g h t0 6

M o r e a n m o r e p r o g r a m m e r sa r e u s i n g m e n u - d r i v e n p r o g r a m sf o a p p l i c a t i o n s r e q u i r i n g l o o i n t e r a c t i o n w i t h t h u s e r . T h i s a t i c l e d e s c r i b e s s u b r o u t i n e y o c a u s t m a k e m e n u h a n d l i n g

s n a p .S u p p o s e , f o e x a m p l e , t h a t

y o u h a v e a p r o g r a m t h a t e x p e c t sa i n p u t t h n a m e o c o l o r -b l u e , g r e e n o y e l l o w . P a r t o t h p r o g r a m m i g h t l o o k l i k e t h i s :1 I N P U T " W H A T I Y O U R C O L O R

C H O I C E " ; C $2 I C " G R E E N " T H E N 1 0 3 I C " B L U E " T H E N 2 0 4 I C " Y E L L O W " T H E N 3 0 5 P R I N T " I N V A L I D C O L O R " G O T O 1

A l t h o u g h t h a b o v e p r o g r a mf r a g m e n t a c c o m p l i s h e s w h a t y o uw a n t , i h a l o o d i s a d v a nt a g e s . F o o n t h i n g , y o u h a v et t y p e i t h n a m e o y o u r c o l o rc h o i c e . I y o m i s s p e l l i t o t y p ei c o l o r t h p r o g r a m i n o e x p e c t i n g ( r e d , f o e x a m p l e ) , t h p r o g r a m c o m p l a i n s , a n y o h a v e t t y p e t h c o l o r i a g a i n .

A n o t h e r p r o b l e m i t h a t q u i t ef e l i n e s o B a s i c w e r e n e e d e d

t p r i n t t h p r o m p t a n a n a l y z et h i n p u t . I y o u h a v e t g t h r o u g h a l t h a t t r o u b l e e v e r yt i m e y o u w a n t t d i s p l a y d i f e r e n t m e n u , y o a r s p e n d i n gt o m u c h t i m e p r o g r a m m i n g .

S U B R O U T I N E S H O R T C U TT h s o l u t i o n i t u s t h s u

r o u t i n e d e s c r i b e d b e l o w . I p r i n t sm e n u o n u m b e r e d c h o i c e s

a n t h e n p a t i e n t l y w a i t s u n t i l y o p i c k o n e . t y p i c a l m e n u m i g h tl o o k l i k e t h i s :1 G R E E N2 B L U E3 Y E L L O WC H O I C E ?

S i n c e t h e r e a r t h r e e c h o i c e si t h i s m e n u , t h e s u b r o u t i n e w i l lp r i n t a e r r o r m e s s a g e i y o t r t i n p u t a n y t h i n g b e s i d e s 1 o 3 A f t e r t h e r r o r m e s s a g e i p r i n t e d b e l o w t h m e n u , t h c u r s o r m o v e s b a c k u t t h C H O I C E ? p r o m p t a n g i v e s y o a n o t h e r c h a n c e . O n c e y o m a k e

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

T h p r o g r a m d e m o n s t r a t e s t h

3

Page 40: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 40/49

Page 41: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 41/49

Page 42: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 42/49

Page 43: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 43/49

3 - O b j e c t E d i t o rB L o u i s R W a l l a c e

R U I R i g h t0 1 2 8

H a v e y o e v e r s e e n t h o s eg r a p h i c s c o m p u t e r s y s t e m s t h a ta l l o w y o t c r e a t e t h r e e - d i m e ns i o n a l o b j e c t s a n r o t a t e t h e m i s p a c e ? T h e y a r e i m p r e s s i v e a n d ,f o t h m o s t p a r t , e x p e n s i v e . B u w i t h t h p r o p e r s o f t w a r e , y o u rC - 1 2 8 c a a l s o g e n e r a t e t h e s e3 - o b j e c t s .

I y o u ' v e e v e r t r i e d y o u r h a n da p r o g r a m m i n g 3 - g r a p h i c s ,y o u ' r e p r o b a b l y a w a r e o t h d i f i c u l t i e s i e n t a i l s . T h e r e ' s l o o c o m p l e x m a t h i n v o l v e d j u s t i c o n v e r t i n g a o b j e c t d e f i n e d i t h r e e - d i m e n s i o n a l s p a c e t t h p l a n e o t h c o m p u t e r s c r e e n .A n i y o w a n t t r o t a t e , s c a l eo r e f l e c t t h o b j e c t , t h m a t h em a t i c a l o v e r h e a d g e t s v e r yh e a v y i n d e e d . O t o o e v e r yt h i n g e l s e , y o u m u s t h a v e w a o e n t e r i n g i n t o t h c o m p u t e r t h d a t a t h a t d e s c r i b e s t h o b j e c t .

W i t h t h 3 - O b j e c t E d i t o r , y o c a n , i 4 0 - c o l u m n m o d e , c r e a t ec o m p l e x f o r m s , m a n i p u l a t e t h e mi v a r i o u s w a y s , s t o r e t h n e

v e r s i o n s a n e v e n s a v e t h p i t u r e s y o g e n e r a t e f o u s i o t h e r p r o g r a m s . T h p r o g r a mc o n t a i n s b o t h e d i t i n g a n m a n i pu l a t i n g f e a t u r e s , w h i c h m e a n sy o c a u s i t a l t e r y o u r d a t af i l e s , c o r r e c t m i s t a k e s o m a k ea d d i t i o n s t l i n e v e c t o r s y o h a v ea l r e a d y e n t e r e d .

C R E A T I N G I 3 - B e f o r e y o u c a n m a n i p u l a t e o

a l t e r 3 - o b j e c t , y o m u s t f i r s tc r e a t e i t T h i m a g e s a r m a d ef r o m s e r i e s o 3 - l i n e v e c t o r s .T h e s e a r l i n e s e g m e n t s d e f i n e db y p a i r o f e n d p o i n t s , b u t , u l i k e n o r m a l c o m p u t e r l i n e s w h o s ee n d p o i n t s a r e a c h i d e n t i f i e d b t w c o o r d i n a t e s ( X 1 , Y 1 ; X 2 . Y 2 ) ,t h e s e h a v e a a d d i t i o n a l v a l u e ,t h c o o r d i n a t e ( X 1 , Y 1 , Z 1 ;X 2 , Y 2 , Z 2 ) .

A y o k n o w , o n c o m p u t e rs c r e e n s t h v a l u e r e f e r s t t h h o r i z o n t a l a x i s , a n t h v a l u et t h v e r t i c a l a x i s . T h v a l u er e f e r s t t h i r d a x i s , w h i c h a p e a r s t c o m e o u o t h s c r e e nt o w a r d y o u , g i v i n g t h e f f e c t o t h r e e d i m e n s i o n s . T h c e n t e r o t h s c r e e n i t h o r i g i n , w i t h c o

3

Page 44: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 44/49

Page 45: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 45/49

s c r e e n c l e a r e d b e f o r e d r a w i n g ?I m o s t c a s e s , y o u ' d r e s p o n dw i t h f o y e s , b u s o m e t i m e sy o m i g h t w i s h t h a v e s e v e r a lv e r s i o n s o t h s a m e o b j e c t o t h s c r e e n s i m u l t a n e o u s l y a n s w o u l d n o w a n t t h e p r e v i o u sd r a w i n g s e r a s e d .

N e x t , d y o u w a n t t u s F a s tm o d e ? T h C - 1 2 8 h a s p e c i a lf e a t u r e t h a t a l l o w s y o t d o u b l et h m i c r o p r o c e s s o r s p e e d s t h a t y o u r p r o g r a m r u n s a b o u tt w i c e a f a s t . T h i s i u s e f u l i t h e r e i s o m e h e a v y c o m p u t a t i o ni n v o l v e d , a t h e r e o f t e n w i l l b i c o n v e r t i n g y o u r d a t a t s c r e e nc o o r d i n a t e s . T h d r a w b a c k t F a s t m o d e i t h a t t h s c r e e n w i l lg b l a n k w h i l e t h c o m p u t e r c a c u l a t e s . I y o u h a v e o n l y f e l i n e s ( a w i t h t h e c u b e ) , F a s tm o d e i r e a l l y u n n e c e s s a r y , b u i t h c a s e o a o b j e c t d s c r i b e d w i t h , s a y , 5 0 l i n e s , i b e c o m e s s i g n i f i c a n t t i m e - s a v e r .

T R A N S F O R M A T I O N SN e x t , t h " v i e w i n g d i s t a n c e "

i d i s p l a y e d o t h e s c r e e n , a n y o u ' r e a s k e d i y o u w a n t t c h a n g e i t T h i s v a l u e d e t e r m i n e st h a p p a r e n t s i z e o f t h o b j e c to t h s c r e e n . T h g r e a t e r t h ed i s t a n c e v a l u e , t h b i g g e r t h o b j e c t a p p e a r s . I i a k i n t s h i ni n f l a s h l i g h t a w a l l . T h c i r c l e o l i g h t d e c r e a s e s i s i z ea y o m o v e c l o s e r t t h w a l la n i n c r e a s e s a y o m o v e

a w a y . T h i s c h a n g i n g o s i z e i o n l y v i s u a l ; t h d a t a t h a t d s c r i b e s t h o b j e c t i u n c h a n g e d .

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

A f t e r y o u ' v e s e e n t h c u b e ,y o m a w a n t t t r a n s f o r m i t P r e s s i n g t h e r e t u r n k e w i l l b r i n gy o b a c k f r o m t h v i e w s c r e e nt t h m e n u . F o s t a r t e r s , I ' s u g e s t c h o o s i n g R o t a t i o n f r o m t h m a i n m e n u , a n r o t a t i n g t h c u b e 2 d e g r e e s a b o u t t h a x i s . Y o u ' l l b p r o m p t e d f o t h i n f o r m a t i o n n e e d e d ; j u s t e n t e r i a t h p r o p e r p l a c e s . O n c e t h r o t a t i o n i c o m p l e t e , y o u ' l l r e t u r na g a i n t t h m e n u , w h e r e y o c a c h o o s e D r a w F i l e t s e y o u r n e w l y r o t a t e d c u b e .

A n o t h e r i n t e r e s t i n g t r a n s f o rm a t i o n i t " s c a l e " t h 3 - f i u r e , u s i n g o p t i o n 3 S c a l i n gs i m p l y m e a n s m u l t i p l y i n g t h v a u e o n e a c h a x i s b s o m e n u b e r , t h u s m a k i n g t h o b j e c tb i g g e r o s m a l l e r . f a c t o r o fl e a v e s t h e o b j e c t u n c h a n g e d ,f r a c t i o n l e s s t h a n r e d u c e s t h s i z e , a n d a n u m b e r g r e a t e r t h a n

i n c r e a s e s i t A l s o , e a c h a x i sc a b i n d i v i d u a l l y s c a l e d , a l l o wi n y o t d i s t o r t t h i m a g e i v a r i o u s d i r e c t i o n s .

I t h i m a g e g e t s t o o l a r g e t

3

Page 46: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 46/49

3 G R A P H I C S S Y S T E M0 I n p u t / O u t p u t 1 D r a w F i l e2 R o t a t i o n 3 S c a l i n g4 R e f l e c t i o n s 5 S w a p A r r a y6 D i s p l a y S c r e e n 7 T r a n s l a t i o n8 A d T e x t 9 Q u i t

W h i c h d y o r e q u i r e ?

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

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

t i v e , w h i l e a l n e g a t i v e c o o r d in a t e v a l u e s , i a n y , b e c o m e p o s it i v e . R e f l e c t i o n a l o n g t h X - a n X - Y p l a n e s p r o d u c e s c o m p ar a b l e m i r r o r i m a g e s .

S t i l l a n o t h e r u s e f u l t r a n s f o rm a t i o n f e a t u r e i t h a b i l i t y t " t r a n s l a t e " t h e o b j e c t , w h i c hm e a n s t o s l i d e i i g i v e n d r e c t i o n , k e e p i n g i t o r i e n t a t i o nt h s a m e . O n v e r s i o n o t h i ss i m p l y m o v e s t h o b j e c t t t h o r i g i n , w h i c h i u s e f u l f o c e n t e ri n i t B u m o r e v e r s a t i l i t y i p o s i b l e w i t h t h e r e g u l a r T r a n s l a t eo p t i o n , w h i c h a l l o w s y o t m o v et h e o b j e c t i a n d i r e c t i o n f o a n c h o s e n d i s t a n c e . Y o j u s t e n t e rt h a m o u n t ( p o s i t i v e o n e g a t i v e )o t h d i s p l a c e m e n t , a n t h o j e c t i t r a n s l a t e d a c c o r d i n g l y .

3

Page 47: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 47/49

Page 48: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 48/49

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 NS p r i n g E d i t i o n C - 6 4 C a s s e t t e v e r s i o n ( s ) a t $ 1 1 . 4 7 *G a m e p a k V I C - 2 0 D i s k v e r s i o n s ) a $ 2 1 . 4 7S u m m e r E d i t i o nF a l l E d i t i o nP r o d u c t i v i t y P a ( D i s k o n l y )W i n t e r E d i t i o n

J a n . / F e b . 1 9 8 6 ( D i s k o n l y ) * *M a r c h / A p r i l 1 9 8 6 ( D i s k o n l y ) * *

M a y / J u n e 1 9 8 6 ( D i s k o n l y ) * *P r i c e s i n c l u d e p o s t a g e a n h a n d l i n g . F o r e i g n A i M a i l p l e a s e a d U S $ 1 . 5 0 p e i t e m a n $ 2 p e s u b s c r i p t i o n . P r e p a y m e n t o n l y .

* I n c l u d e s 1 2 m o d e p r o g r a m s .P a y m e n t E n c l o s e d D M V I S A D A

C a r d # E x p . D a t eN a m eA d d r e s sC i t yS i g n a t u r e

R e R U N E l S t r e e t

S t a t e

P e t e r b o r o u g h , N

Z i

0 3 4 5 8

B E A T T H R U S H !P l e a s e s e n d m e

y e a r ( i s s u e s ) f o $ 8 9 . 9 7S e p t e m b e r / O c t o b e r R e R U N d i s k f o $ 2 1 . 4 7 . *

^ A v a i l a b l e i n O c t o b e r .I n c l u d e s p r o g r a m s f o O 6 a n G 1 2 8 ( i b o t h 6 a n 1 2 m o d e s ) .P r i c e i n c l u d e s p o s t a g e h a n d l i n g . F o r e i g n A i M a i l p l e a s e a d U S $ 1 . 5 0 p e i t e m a n $ 2 p e s u b s c r i p t i o n . P r e p a y m e n t o n l y .

P a y m e n t E n c l o s e d D M V I S A A C a r d # E x p . D a t eN a m eA d d r e s sC i t yS i g n a t u r e

R e R U N E l S t r e e t

S t a t e

P e t e r b o r o u g h , N

Z i

• 0 3 4 5 8

Page 49: Re-Run 1986 07-08

8/6/2019 Re-Run 1986 07-08

http://slidepdf.com/reader/full/re-run-1986-07-08 49/49

R U P r o g r a m s I n c l u d e d o t h i s D i s k :H i - R e s / L o w - R e s G r a p h i c s D i s k U t i l i t i e sP r o g r a m m i n g A i d s D e s k t o p P u b l i s h i n g

A p p l i c a t i o n s

F r o m t h J u l y R U N :H i - R e s W r i t e rN e e d l e g r a p hE x t r a ! E x t r a ! R e a d A l A b o u t I

* V i d e o F a n t a s i a ( 1 2 8 )

F r o m t h A u g u s t R U N :B o o t m a k e r 1 2 8 / 6 4 ( 1 2 8 )

. * D i s k K e e p e r" * A d S o m e C h a r a c t e r t Y o u r C - 6 4

P L U S B o n u s P r o g r a m s :» ■ M e n u S u b r o u t i n e

3 O b j e c t E d i t o r ( 1 2 8 )

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

R e R U N E l S t r e e t P e t e r b o r o u g h , N 0 3 4 5 8

R e p l a c e m e n t s w i l l n o b m a d e i t h 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 i s h o w s s i g n s o e x c e s s i v e w e a r o i d a m a g e d b y e q u i p m e n t .

T h p r o g r a m s i R e R U N a r t a k e n d i r e c t l y f r o m l i s t i n g s p r e p a r e d t a c c o m p a n y a r t i c l e s i R U m a g a z i n e .T h e y 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 t h R U I 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 t h e a c h a r t i c l e a y o u r g u i d e .

T h e n t i r e c o n t e n t s a r c o p y r i g h t e d 1 9 8 6 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 v i 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 6 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