+ All Categories
Home > Documents > Re-Run 1987 05-06

Re-Run 1987 05-06

Date post: 08-Apr-2018
Category:
Upload: cubemanpdx
View: 220 times
Download: 0 times
Share this document with a friend
46
M a y / J u n e 1 9 8 7 E d i t i o n P r o g r a m s D i s k I n s i d e : S u p e r B o n u s P r o g r a m !
Transcript

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 1/45

M a y / J u n e1 9 8 7E d i t i o n

R U NP r o g r a m so nD i s k

I n s i d e :

S u p e rB o n u sP r o g r a m !

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 2/45

I n t r o d u c t i o nM a y - J u n e ' 8 7 R e R U N

I t c a n ' tb e d o n e .T h a t ' st h e

t h e m ea n dm o t i v a t i n gf a c t o rb e

h i n dt h e c r e a t i o no f t h i s M a y -

J u n eR e R U Nd i s k ,b u t m o r eo n

t h a ts u b j e c tl a t e r .

I a n dm a n yp e o p l eI k n o wc o n

s i d e rl a t es p r i n ga n de a r l ys u m m e rt o b e t h eb e s tt i m eo f t h ey e a r . A l

t h o u g ht h ew a r ma f t e r n o o n st e n d

t o m a k et h e b e a c h e si r r e s i s t i b l y

t e m p t i n g ,s e t a s i d es o m et i m ei n

t h ee v e n i n g sa n dr a i n yw e e k e n d s

f o r y o u rC o m m o d o r ea n dt r y o u t

t h e e x c e p t i o n a lp r o g r a m s o nt h i s

R e R U Nd i s k .

F o r e m o s to n o u rM a y - J u n ed i s k

i s P r e s t oW r i t e 1 2 8 ,a s u p e r b l ye x

e c u t e dB a s i c7 . 0 p r o g r a mw r i t t e n

f o r t h e C - 1 2 8 .I t e f f e c t i v e l yt u r n s

y o u rC - 1 2 8a n dp r i n t e r i n t oa n i n

t e l l i g e n tt y p e w r i t e rt h a ta l l o w sf o r

v i e w i n ga n de d i t i n go f e a c hl i n eo f

t e x t b e f o r ei t g e t s s e n t t o t h e

p r i n t e r .N e x to n t h e l i s t o f C - 1 2 8p r o

g r a m s ,y o u ' l lf i n d8 0 - C o l u m nC u s

t o mW i n d o w s — o n eo f t h o s ep r o

g r a m sy o uw i s hy o uo w n e d w h e n

y o us e e i t i n a c t i o no n s o m e o n e

e l s e ' sc o m p u t e r .I t l e t sy o u rC - 1 2 8

c r e a t ed a z z l i n g ,A m i g a - l i k ew i n

d o w st h a ta p p e a ra n dv a n i s ha s

q u i c k l yo r s l o w l ya s y o u w i s h .

H a n d yW i n d o w — f o rt h e 1 2 8 o r

6 4 — c o n s i s t so f e i g h t r o u t i n e st h a t

f u r n i s hy o uw i t hm o s to f t h e b e l l s

a n dw h i s t l e sf o u n do n f a n c i e ru p

g r a d ed e s k t o pa c c e s s o r i e s .

I f y o u ' r ea C - 6 4o w n e ri n

s e a r c ho f a p r o g r a m m i n gu t i l i t y

t h a to f f e r sa t r a c ef u n c t i o ns i m i l a rt o B a s i c7 . 0 ' sT R O N( T R a c eO N )

a n d T R O F F( T R a c eO F F )c o m

m a n d s ,l o o k n o f u r t h e r .B a s i c

B u gT r a pm a k e sT R O N ,T R O F Fa n d s e v e r a l o t h e rd e b u g g i n g

a i d sa v a i l a b l eo n y o u rC - 6 4 .I t ' s

o n e o f t h o s er a r eg e m st h a ta l l

C - 6 4u s e r s ,r e g a r d l e s so f t h e i r

p r o g r a m m i n ge x p e r t i s e ,w a n tt o

a d dt o t h e i rs o f t w a r el i b r a r i e s .

B y n o w ,n e a r l ye v e r yC - 1 2 8

o w n e rh a s a c q u i r e da p r o g r a m

t h a ta l l o w sh i mt o a c c e s st h e

C - 1 2 8 ' sn u m e r i ck e y p a df r o m

C - 6 4m o d e .H o w e v e r ,i f y o us t i l l

s u f f e rf r o mt h el a c ko f a C - 6 4m o d e

K e y p a dp r o g r a m , y o u rd a y so fs e a r c h i n ga n dy e a r n i n gh a v ee n d

e d . M a y ' sM e g aM a g i c — C - 1 2

K e y si n C - 6 4M o d e —g i v e sy o u r

C - 6 4m o d et h o s ek e y s .

R e t u r n i n gt o m yi n i t i a ls t a t e m e n t ,

I ' v ef o u n dt h a tm a n yC o m m o d o r

c o m p u t e r i s t sl i k et o h e a rs o m e o n e

m e n t i o na p a r t i c u l a rp r o g r a m m i n

o b j e c t i v ea n dt h e ns a yi t c a n ' tb ed o n e . A c c e p t i n gt h ec h a l l e n g e ,t h e

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 3/45

h a r d c o r ec o m p u t e r i s tt h e ns p e n d s

e v e r yf r e em o m e n tt r y i n gt o p r o v e

o t h e r w i s e .I n t h i se x a m p l e ,i t ' s

p r i n t i n gt h o s ee l u s i v es p r i t e s .S u r e ,

i t w a s n ' te a s y ,b u t S p r i t e - P r i n ti s

p r o o ft h a tt h o s es p r i t e st h a tl o o ks o

g o o do n t h es c r e e nc a nl o o kg o o d

o n p a p e r ,t o o .

H e r e ' s a n o t h e r" i t c a n ' tb e

d o n e " - i s m .I t h a s b e e ng e n e r a l l y

a c c e p t e dt h a to n l y1 4 4f i l e sf i t o n

o n es i d eo f a 1 5 4 1 - f o r m a t t e dd i s k .

N a t u r a l l y ,o n eo f t h e m o r ed e d ic a t e dC o m m o d o r eu s e r ss o u g h tt o

d o s o m e t h i n g a b o u tt h a tp r o b l e m ,

a n dD i s kS t u f f e rp r o v i d e sa n o t h e r

a n s w e r .I t c o n s i s t so f a t h r e e - p r o

g r a mp r o c e s st h a tm o d i f i e sy o u r

d i s kt o a c c e p tu p t o 2 8 8f i l e s .

P r o d u c i n gc l e a r ,l e g i b l ec h a r a c

t e r s w i t hC o m m o d o r e8 0 3o r 1 5 2 5

d o t m a t r i xp r i n t e r si s n ' te a s y ,b e

c a u s et h e yl a c kt h et r u ed e s c e n d

e r s n e e d e dt o p r o d u c er e a d a b l e

l e t t e r s .P r i n t R i t e6 4 g i v e sy o u r

p r i n t e rt h o s em u c h - n e e d e dd e

s c e n d e r s .I t a l s og i v e st h e mt o

y o u rR U NS c r i p td o c u m e n t sb y

w o r k i n gw i t hv e r s i o n1 . 0 o f R U NS c r i p t6 4 .

T h e 6 4N o t e p a d ,p u b l i s h e di n

R U Ni n S e p t e m b e r1 9 8 6 ,w i t ha n

u p d a t ei n J a n u a r y1 9 8 7 ,i s o n e

o f t h o s eu t i l i t i e st h a t f o l k sj u s t

s e e mt o f a l l i n l o v ew i t ht h e f i r s t

t i m e t h e yu s ei t . W ek n e wi t w a sa n

e x c e p t i o n a lp r o g r a m ,b u t t h ep o s i

t i v er e a d e rr e s p o n s ec a u g h tu s b y

s u r p r i s e .W eg o o n eb e t t e ri n t h i sR e R U Nw i t h6 4 N o t e p a dC o mm a n dC e n t e r ,t h e b e s tN o t e p a d

e n h a n c e m e n tt o d a t eb y p r o g r a m

m i n gw i z a r dB o b K o d a d e k .I n

c l u d e da r et w oo t h e rp r o g r a m s -

N o t e p a dB o o t ,f o r b o o t i n gu p

N o t e p a d ,a n d N o t e p a dS a v e ,f o r

s a v i n gN o t e p a dt o d i s ka s a b i

n a r yf i l e .

J o h nR y a n ,a n o t h e rp r o g r a m

m e r q u i c k l ye a r n i n gl e g e n d a r y

s t a t u si n C o m m o d o r ec i r c l e s ,p r o

v i d e du s w i t h P o w e rK e y ,a n

e a s y - t o - u s eu t i l i t yt h a t c h a n g e s

s c r e e nc o l o r sa n dt o g g l e sQ u o t em o d ei n a n i n s t a n t .

C o m p u t e r - g e n e r a t e d m u

j u s tp i c k e du p ac a t c h yc a d e n c e

w i t hD r u m m o d o r e ,a 6 4 p r o g r a m

t h a tc o n v e r t sy o u rc o m p u t e ri n t o —

y o u g u e s s e di t — ad r u mm a c h i n e .

T h i sw o u l dh a r d l yb e a R e R U Nd i s kw i t h o u ta n e d u c a t i o n a lp r o

g r a m ,a n dy o u ' l lf i n di t i n R o b o t -

g r a p h ,w h i c hc r e a t e sb a r g r a p h s

t o s h o wr e l a t i v ev a l u e s .A l i t t l er o

b o t m a k e st h e p r o c e s se n t e r t a i n

i n gb y p u l l i n gu p e a c hb a r .

F i n a l l y ,t h e r e ' st h i sm o n t h ' sb o

n u s p r o g r a m .W r i t t e nb y D a n i e l

M i l l e r ,P u z z l e r ' sC h o i c ec o n t a i n s

n o to n e ,n o t t w o ,b u tt h r e em i n d -c h a l l e n g i n gg a m e s .B e c a r e f u l o f

t h i so n ei f y o u ' r es t r e s s - p r o n e ,f o r

i t ' sd i f f i c u l t .

I h o p ey o ue n j o yt h ep r o g r a m s ;

d o n ' th e s i t a t e t ow r i t eo r c a l l i f

y o u h a v e p r o b l e m so r q u e s t i o n s

a b o u tR e R U N .

T i mW a l s hT e c h n i c a lE d i t o r

R U Nm a g a z i n e

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 4/45

H o wT o L o a dL o a d i n g f r o mM e n u

T og e ts t a r t e d ,C - 6 4u s e r ss h o u l d t y p eL O A D" M E N U6 4 " > 8a n dp r e s st h er e t u r n

k e y .W h e ny o ug e t t h eR e a d yp r o m p t ,t h em e n ui s l o a d e da n dy o us h o u l d t y p e

R U Nt o s e ea l i s to f t h ep r o g r a m so n y o u rd i s k .C - 1 2 8u s e r sn e e do n l yp r e s st h e

s h i f ta n dr u n - s t o p k e y s .W h e na l lt h ep r o g r a m sa r e d i s p l a y e do n t h es c r e e n ,y o u

c a nr u n t h eo n ey o us e l e c tb y p r e s s i n ga s i n g l ek e y .

L o a d i n gf r o mK e y b o a r d

I f y o ud o n o tw i s ht o u s et h em e n up r o g r a m ,f o l l o wt h e s ei n s t r u c t i o n s .

C - 6 4 :

T o l o a da C - 6 4 p r o g r a mw r i t t e ni n B a s i c ,t y p e :

L O A D" D I S KF I L E N A M E S

a n dt h e n p r e s st h er e t u r n k e y .T h ed r i v ew i l lw h i rw h i l et h es c r e e np r i n t sL O A D I N Ga n dt h e nR E A D Y ,w i t ha f l a s h i n gc u r s o r b e n e a t h .T y p eR U Na n dp r e s s t h er e t u r n

k e y .T h ep r o g r a mw i l lt h e ns t a r tr u n n i n g .

T o l o a da C - 6 4 p r o g r a mw r i t t e ni n m a c h i n el a n g u a g e( M L ) ,t y p e :

L O A D" D I S KF I L E N A M E - , 8 , 1

C - 1 2 8 :

A l lC - 6 4p r o g r a m sc a nb e r u no n t h eC - 1 2 8a s l o n ga s y o u rc o m p u t e ri s i n

C - 6 4m o d e .

A l lC - 1 2 8 p r o g r a m sa r ec l e a r l yl a b e l e do n t h ed i r e c t o r yp a g e . Y o u rC - 1 2 8m u s t

b e i n C - 1 2 8m o d et o r u nt h e s ep r o g r a m s .

T o l o a da C - 1 2 8 - m o d ep r o g r a m ,p r e s s t h eF 2 k e y ,t y p et h ed i s kf i l e n a m ea n d

t h e np r e s s t h er e t u r n k e y .W h e nt h ep r o g r a mh a sl o a d e d ,t y p eR U N .

M a k i n gC o p i e so f R e R U ND i s k s

S o m eo f t h ep r o g r a m so n y o u rR e R U Nd i s kh a v er o u t i n e st h a tr e q u i r ey o ut o

h a v ea s e p a r a t ed i s ko n t ow h i c ht h ep r o g r a mw r i t e so r s a v e ss u b f i l e s .I n o r d e rf o r

y o ut o u s et h e s e p r o g r a m s ,y o uw i l lf i r s th a v et o m a k ea c o p yo f t h e o r i g i n a lp r o g r a mo n t o a n o t h e rd i s kt h a th a se n o u g hf r e es p a c eo n i t t o h o l dt h e s en e w l y

w r i t t e ns u b f i l e s .

I f t h ep r o g r a mi s w r i t t e ni n B a s i c ,i t i s s i m p l et o m a k ea c o p yo f t h ep r o g r a m .

J u s t l o a d t h ep r o g r a mi n t oy o u rc o m p u t e rf o l l o w i n gt h ep r o c e d u r e so u t l i n e da b o v e ,

a n dt h e ns a v et h ep r o g r a m b a c ko n t oa s e p a r a t ed i s kt h a th a sp l e n t yo f f r e es p a c e

f o re x t r af i l e s .

I f t h ep r o g r a mi s w r i t t e ni n M L ,c o p y i n gi s n o ts o s i m p l e .Y o uc a n n o ts i m p l y l o a d

a n ds a v ea n M Lp r o g r a m .I n t h i sc a s e ,y o u ' l ln e e dt o u s ea d i s k - b a c k u pu t i l i t y

p r o g r a m ,s u c ha s t h eo n eo n y o u rC o m m o d o r eT e s tD e m od i s k .

i i i

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 5/45

D i r e c t o r y

P a g e

1

3

7

1 1

1 5

1 8

2 1

2 3

2 62 9

3 2

3 4

3 5

3 6

* C - 1 2 8

£ B o n u s

A r t i c l e

*

* P r e s t o W r i t e1 2 8

* 8 0 - C o l u m nC u s t o mW i n d o w s

* H a n d yW i n d o w

B a s i cB u gT r a p

S p r i t e - P r i n t

P r i n t R i t e6 4

D i s kS t u f f e r

6 4 N o t e p a dC o m m a n dC e n t e r

P o w e r K e yD r u m m o d o r e

R o b o t g r a p h

M e g a - M a g i c ,M a y

M e g a - M a g i c ,J u n e

£ P u z z l e r ' sC h o i c e

p r o g r a m

p r o g r a m

N O T E :R e a da r t i c l e sb e f o r er u n n i n gt h e s e

D i s kF i l e n a m e

M E N U1 2 8

M E N U6 4

P R E S T O W R I T E1 2 8

W I N D O W1 2 8

W I N D O WD E M OC U S T O MW I N D O W S

H A N D YW I N D O W1 2 8

H A N D YW I N D O W6 4

D E B U G G E R6 4

1 2 8K E Y SI N 6 4

S P R I T E - P R I N T1

S P R I T E - P R I N T2

S P R I T E - P R I N T3

P D U M P / 1 5 2 5

P R I N T R I T E6 4

L O N GD I R E C T O R Y 1

L O N GD I R E C T O R Y 2

L O N GD I R E C T O R Y 3

N O T E P A DD O S

N O T E P A DB O O T

N O T E P A DS A V E

P O W E RK E YD R U M M O D O R E

R O B O T G R A P H

1 2 8K E Y SI N 6 4

H I - T E C HS P R I T E S

P U Z Z L E R ' SC H O I C E

p r o g r a m s !

F i l eT y p e

B A S I C

B A S I C

B A S I C

B A S I C

B A S I C

M L

B A S I C

B A S I C

B A S I C

B A S I C

B A S I C

B A S I C

B A S I C

M L

B A S I C

B A S I C

B A S I C

B A S I C

B A S I C

B A S I C

B A S I C

B A S I CB A S I C

B A S I C

B A S I C

B A S I C

B A S I C

I V

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 6/45

R e R U NS t a f f

T e c h n i c a lE d i t o r :T i mW a l s h

M a n a g i n gE d i t o r / P r o d u c t i o n :S w a i nP r a t t

C o p yE d i t o r :P e g L e P a g e

P r o o f r e a d e r :H a r o l dR . B j o r n s e n

D e s i g na n dL a y o u t : K a r l aM . W h i t n e y

T y p e s e t t i n g :D o r e e n M e a n s ,B e t hK r o m m e s ,K e nS u t c l i f f e

S p e c i a lP r o d u c t sD i r e c t o r :J e f fD e T r a y

S p e c i a lP r o d u c t sM a n a g e r :V i v i a nM a t t i l a

S p e c i a lP r o d u c t sA s s i s t a n t s :D e b b i eB o u r g a u l t ,R o b y nJ o h n s o n

D i r e c tM a r k e t i n gC o o r d i n a t o r :D e b b i eW a l s h

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 7/45

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 8/45

A f t e ry o u t y p ea ^ - S e tc o mm a n di n t o y o u rd o c u m e n ta n d

p r e s s t h er e t u r n k e y ,P r e s t oW r i t e

w i l l p r o m p ty o u f o r m a r g i ns e t

t i n g s .T o c h o o s et h e d e f a u l t s e t

t i n g so f 5 l e f ta n d7 5 r i g h t ,p r e s s

r e t u r na g a i ni n a n s w e rt o e a c ho f

t h e s ep r o m p t s .T h e s es e t t i n g sw i l l

p r o d u c ea o n e - i n c hm a r g i no n e i

t h e rs i d eo f y o u rd o c u m e n t .

P r e s t oW r i t e ' ss c r e e ne d i t o r

c r e a t e sl i n e so f u p t o 8 0 c h a r a c

t e r s .T o m a n i p u l a t et e x t ,u s et h ec u r s o r ,d e l e t ea n d i n s e r tk e y s ,

p l u se s c a p e - k e ys e q u e n c e ss u c h

a s e s c a p e - D ,w h i c hd e l e t e sa n

e n t i r el i n e .S e ey o u rC - 1 2 8 S y s t e m

G u i d eo r C - 1 2 8P r o g r a m m e r ' s

R e f e r e n c eG u i d ef o r d e s c r i p t i o n s

o f t h ee s c a p ef u n c t i o n sa v a i l a b l e .

Y o uc a nu s et h ec a p s - l o c ka n d

h o m ek e y sw i t hP r e s t oW r i t e ,b u t

n e v e rp r e s st h e h o m ek e yt w i c e

i n s u c c e s s i o no r y o u ' l l e x i tt h ee d

i t i n gw i n d o w .

A f t e ry o u e n t e ra l i n eo f t e x t

a n dc h e c ki t f o r e r r o r s ,p r e s sr e

t u r nt o p r i n ti t o u t .I f y o uf o r g e tt o

t u r no n y o u rp r i n t e r ,t h ep r o g r a m

w i l la l e r ty o ua n dl e t y o uc o r r e c tt h e s i t u a t i o nw i t h o u th a v i n gt o

t y p et h e l i n eo v e ra g a i n .

P A S S I N GP A R A M E T E R SB a s i c7 . 0 r e a l l ys h i n e si n p a s s

i n g p a r a m e t e r s( s h a r i n gd a t a )

b e t w e e nB a s i ca n d m a c h i n el a n g u a g e .W i t ht h e S Y S c o m

m a n d ,y o u c a np l a c ev a l u e sd i

r e c t l yi n t ot h e a c c u m u l a t o r ,x , y

a n d s t a t u sr e g i s t e r sb e f o r et h e

m a c h i n el a n g u a g er o u t i n ei s

c a l l e df r o m B a s i ca n d w i t h o u t

u s i n gc u m b e r s o m eP e e k sa n d

P o k e s .I n a d d i t i o n ,B a s i c7 . 0h a s

a n u n d o c u m e n t e dR R E Gc o mm a n dt h a tr e a d st h e 8 5 0 2r e g i s

t e r sa n d p l a c e st h e i rv a l u e si n t o

B a s i cv a r i a b l e s .T h e f o r m a tf o rR R E Gi s R R E GA , X , Y , S R .

F o r e x a m p l e ,i n l i n e 7 0 , t h e

S Y S2 8 1 6 , Lc o m m a n dl o a d st h e

a c c u m u l a t o rw i t ht h ev a l u eo f t h e

c u r r e n tl e f t m a r g i ns e t t i n g .T h e n

t h e m a c h i n el a n g u a g er o u t i n e

s t o r e st h i si n f o r m a t i o nt o b e u s e d

l a t e ri n f o r m a t t i n gt h ep r i n t e do u t

p u t .T h em a c h i n el a n g u a g er o u

t i n er e t u r n st o B a s i cw i t ho n eo f

t h r e ev a l u e sh e l d i n t h e a c c u

m u l a t o rr e g i s t e r .

T h e R R E GA c o m m a n dt h e n

p l a c e st h i sv a l u ei n t ot h e B a s i c

v a r i a b l e A .I f A i s f o u n dt o e q u a l

9 5 , a C L I c o m m a n dc h a r a c t e r

w a sd e t e c t e dd u r i n gi n p u t ,a n dt h eo u t p u tr o u t i n ea b o r t s ;o r , i f A

e q u a l s2 5 5 ,t h ep r i n t e ri s n ' tp r e s

e n t .O t h e r w i s e ,a z e r oi s r e t u r n e d

i n t h ea c c u m u l a t o r ,i n d i c a t i n gt h a t

n o e r r o ro c c u r r e da n dn o c o r r e c

t i v ea c t i o ni s n e c e s s a r y .■

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 9/45

8 0 - C o l u m n

C u s t o mW i n d o w s

B y F r e d e r i c kG o d d a r d

R f U NI t R i g h t

C - 1 2 8

I ' v e l o n ge n v i e dt h e A m i g a ' s

a b i l i t yt o c r e a t et e m p o r a r yw i n

d o w st h a ta l l o wy o ut o v i e wt h e

d i s kd i r e c t o r y o rl i s t a p r o g r a m

w i t h o u td i s t u r b i n gt h e o r i g i n a l

s c r e e nd i s p l a y .T o t a k ea d v a n

t a g eo f t h e C - 1 2 8 ' ss i m i l a rc a

p a b i l i t i e s ,I d e s i g n e d8 0 - C o l u m n

C u s t o mW i n d o w s ,a u t i l i t yt h a t

g i v e sC - 1 2 8 o w n e r sa c c e s st o

A m i g a - l i k ew i n d o w i n gf e a t s .I t

w i l ln o t t u r ny o u rC - 1 2 8i n t oa n

A m i g a ,b u t i t w i l l a l l o wy o u t oc r e a t et e m p o r a r yw i n d o w sw i t h

e i t h e rB a s i co r d i r e c tk e y b o a r d

c o m m a n d s .

T h i su t i l i t y i sl i g h t n i n gf a s ta n d

p r o v i d e su p t o e i g h tb o r d e r e d

w i n d o w sw i t ha s h a d o w ,o r 3 - D ,

e f f e c t .Y o uc a ne n t e rc o m m a n d s

i n t h e w i n d o w s ,l i s ta n dc h a n g e

l i n e si n a p r o g r a m ,d i s p l a ya d i s kd i r e c t o r ya n de n t e r t h em a c h i n e

l a n g u a g em o n i t o r .8 0 - C o l u m nC u s t o mW i n d o w sd o e s n ' ta l t e r

y o u r c o m p u t e r ' so p e r a t i n gs y s

t e m i n a n y w a y .W h e ny o u ' r e

f i n i s h e d w i t ht h e w i n d o w s ,y o u

c a ne r a s e t h e m ,l e a v i n gt h eo r i g

i n a ls c r e e ni n t a c t .

G E T T I N GS T A R T E D

W i n d o w1 2 8 c r e a t e sa m ac h i n el a n g u a g ep r o g r a mc a l l e d

C u s t o mW i n d o w so n t h e d i s k .

W h e ny o ul o a da n d r u nC u s t o m

W i n d o w s ,t h e s c r e e nc l e a r sa n d

a t i t l eb o x a p p e a r s ,t e l l i n gy o u

t h a tt h e p r o g r a mi s a c t i v ea n d

y o uh a v e9 6 , 7 6 5b y t e sf r e e .T h i s

m a c h i n el a n g u a g ev e r s i o nl o a d sa n d r u n sl i k ea B a s i cp r o g r a m ,

s o i f y o us a v ei t a s a n a u t o b o o t

p r o g r a m ,b e s u r et o i d e n t i f yi t a s

b e i n gi n B a s i c .

W i n d o wD e m oi s a s h o r tp r o

g r a mt h a ts h o w sy o u h o wy o u

c a nu s eC u s t o mW i n d o w s .O n c e

y o u r u n t h e C u s t o mW i n d o w s

p r o g r a m ,r u n W i n d o wD e m ot o

s e e a n a m a z i n gd e m o n s t r a t i o n

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 10/45

H O WI T W O R K SC u s t o mW i n d o w so c c u p i e s

s p e c i f i cm e m o r yl o c a t i o n sa t

7 1 6 9 - 8 7 8 5( $ 1 C 0 1 - $ 2 2 5 1 ) .T h eb e g i n n i n go f B a s i ci s m o v e d

u p t o 1 6 3 8 5( $ 4 0 0 1 )w i t h a

G r a p h i c 1 : G r a p h i c 5c o m m a n d .S o m eo f t h e v a r i a b l em e m o r yi n

B a n k1 i s r e s e r v e dt o s t o r et h e

s c r e e nt e x ta n da t t r i b u t e su n d e r

n e a t ht h e w i n d o w sy o u c r e a t e .

T h e d e f a u l tv a l u ef o r t h i s a l l o

c a t i o ni s 1 6 K ,b u ty o u c a n p o k ea d i f f e r e n ta m o u n ti f y o uw i s h( a s

l i t t l ea s 4 K o r a s m u c ha s 3 2 K ) .

I t t a k e s2 K o f m e m o r yt o c r e a t e

a t e m p o r a r yw i n d o wt h a tc o v e r s

h a l ft h e s c r e e n ,s o t h e d e f a u l t

v a l u eo f 1 6 Ki s a m p l e .

T h e p r o g r a mt h u s l e t s y o u

o p e nu p t o e i g h t8 0 - c o l u m nt e m

p o r a r yw i n d o w sa t a t i m e ;w h e n

t h ew i n d o w sa r ec l o s e d ,t h eo r i g

i n a l s c r e e nw i l lr e a p p e a ri n t a c t .

E a c h w i n d o wh a s a n u m b e r

( 1 - 8 )d i s p l a y e di n t h e u p p e r - l e f t

c o r n e r .T h ep r o c e d u r ef o ro p e n

i n g a w i n d o wi s t h e s a m ew h e t h e ry o uu s e B a s i co r d i r e c t

k e y b o a r dc o m m a n d s .T o o p e na w i n d o w , y o uf i r s t

s e t t h e c o l o r .I n B a s i cy o u c a n

u s ee i t h e rt h eC o l o ro r P r i n tc o mm a n dt o d o t h i s ; i nI m m e d i a t e

m o d e ,y o u u s e t h e c o n t r o la n d

l o g ok e y s ,a l o n gw i t h n u m b e r

k e y s1 - 8 .Y o ug e t t h e m o s ta t

t r a c t i v e r e s u l t si f y o uc h o o s el i g h t

s h a d e s . ( D a r ks h a d e sn u l l i f yt h es h a d o we f f e c t . )

N e x t ,s e t t h e s i z ea n dl o c a t i o n

o f t h e w i n d o w .U s et h e W i n d o w

c o m m a n di n B a s i co r p o s i t i o n

t h e c u r s o ra t t h e t o p - l e f tc o r n e r

o f t h e n e ww i n d o wa n d p r e s s

E S CT ; t h e np o s i t i o nt h e c u r s o r

a t t h e b o t t o m - r i g h tc o r n e ra n d

p r e s sE S CB . B e s u r et o a l l o w

t w oe x t r ac o l u m n sa n d r o w sf o r

t h e b o r d e r .

T h i r d ,o p e nt h ew i n d o w ,u s i n g

t h e c o m m a n d sl i s t e db e l o w .

W h e ny o ui s s u ea c o m m a n dt oc l o s ea w i n d o w ,t h e l a s tw i n d o w

o p e n e dw i l lb e c l o s e d ,a n d t h e

s c r e e nw i l ld i s p l a yt h e t e x tt h a t

e x i s t e db e f o r et h a tw i n d o w w a s

o p e n e d .

T o u s eC u s t o mW i n d o w si n a

B a s i cp r o g r a m ,i n s e r tt h e f o l l o w

i n g l i n e s a tt h e b e g i n n i n go f t h e

p r o g r a m :

2 G R A P H I C 1 : G R A P H I C 5

3 B L O A D " C u s t o mW i n d o w s " B O , P 7 1 6

4 X = 1 6 : P O K E7 1 9 4 , X : S Y S 7 1 9 7 : C L

L i n e2 s e t st h es t a r to f t h e B a s i c

p r o g r a ma t $ 4 0 0 1t o a l l o ws p a c e

f o rC u s t o mW i n d o w s .L i n e3 l o a d sC u s t o mW i n d o w s .L i n e4 s e t st h e

n u m b e ro f k i l o b y t e s t ob e a l l o

c a t e df o r w i n d o wm e m o r y .( T h e

d e f a u l ti s 1 6 ;c h a n g et h e v a l u eo f

X t o a n o t h e rn u m b e rf r o m4 t o 3 2

t o a l l o c a t e l e s so r m o r eB a n k1

m e m o r yf o rt h i sp u r p o s e . )L i n e4

a l s oe x e c u t e sS Y S7 1 9 7t o a c t i

v a t eC u s t o mW i n d o w sa n d s e t

v a r i a b l ep o i n t e r s .

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 11/45

C O M M A N DO P T I O N SA c t i v a t e t h ep r o g r a m .C l e a r s

t h e s c r e e n ,p r i n t sa t i t l eb o xi n

d i c a t i n gt h e n u m b e ro f b y t e s

f r e e ,s e t st h ep o i n t e r st o t h en e x t

w i n d o w ,r e d e f i n e st h e r u n k e y ,

a n ds e t sa n i n t e r r u p tw e d g ef o r

d i r e c tk e y b o a r dc o m m a n d s .I n

B a s i c ,u s e S Y S7 1 9 7 .Y o uc a n

a c t i v a t et h e p r o g r a mw i t h o u t

p r i n t i n gt h e t i t l e b o x w i t hS Y S

8 4 4 2 .I f y o u ' r eg o i n gt o u s et h e

p r o g r a me x c l u s i v e l ya s a B a s i cp r o g r a ms u b r o u t i n ea n d d o n ' t

w a n tt o a c t i v a t et h e i n t e r r u p t

w e d g ef o rd i r e c tk e y b o a r de n t r y ,

u s eS Y S8 2 2 0 .

O p e na w i n d o w .I n B a s i c ,u s e

S Y S7 2 0 0 .D i r e c tf r o mt h e k e y

b o a r d ,s i m u l t a n e o u s l yp r e s st h e

c o n t r o la n ds t o pk e y s .

C l o s ea w i n d o w .I n B a s i c ,u s e

S Y S7 2 0 3 .D i r e c tf r o mt h e k e y

b o a r d ,s i m u l t a n e o u s l yp r e s st h e

l o g oa n ds t o pk e y s .( Y o u s h o u l d

a l w a y s e x e c u t ea P r i n tc o m m a n d

a f t e ry o u c l o s ew i n d o w1 f r o m

B a s i c . )

R e s e tp o i n t e r sa n de n a b l ei n

t e r r u p t .I n B a s i c ,u s e S Y S8 3 6 4 , 1 .D i r e c tf r o m t h e k e y

b o a r d ,s i m u l t a n e o u s l yp r e s st h e

s h i f ta n ds t o pk e y s .R e s e t t i n gt h e

p o i n t e r s l o c k si n e x i s t i n gw i n

d o w sa n da l s os e t st h e n e x tw i n

d o wt o b e o p e n e da t 1 .

R e s e tp o i n t e r sa n dd i s a b l ei n t e r

r u p t .I n B a s i c ,u s et h eS Y S8 3 6 4 , 0

c o m m a n d .D i r e c tf r o mt h e k e y

b o a r d ,s i m u l t a n e o u s l yp r e s st h e

A L Ta n ds t o pk e y s .

R e s e t( i n t e r r u p tu n c h a n g e d ) .I n

B a s i c ,u s eS Y S8 2 2 0 .

E n a b l ei n t e r r u p t( p o i n t e r su n

c h a n g e d ) .I n B a s i c ,u s e S Y S

8 3 1 9 .

D i s a b l ei n t e r r u p t( p o i n t e r su n

c h a n g e d ) .I n B a s i c ,u s et h eS Y S8 3 7 1c o m m a n d .

O p e na d i r e c t o r yw i n d o w .P u t s

a s p e c i a lw i n d o wo n t h e s c r e e n

d e s i g n e df o r d i r e c t o r yd i s p l a y s .

T h el e f te d g eo f t h ew i n d o wi s i nt h e c o l u m ni n w h i c ht h e c u r s o r

w a sl o c a t e dw h e nt h ec o m m a n dw a s i s s u e d .Y o u m u s ti s s u ea

s e p a r a t eD i r e c t o r yc o m m a n dt o

d i s p l a yt h e d i s kd i r e c t o r yi n t h i s

w i n d o w .I n B a s i c ,u s eS Y S8 6 6 6 .

D i r e c tf r o mt h e k e y b o a r d ,s i m u l

t a n e o u s l y p r e s st h e c o n t r o la n d

A L Tk e y s .

L I M I T A T I O N S

I f y o ut r y t o o p e na n i n t hw i n

d o w ,t h e p r o g r a mw i l li g n o r e t h e

c o m m a n d .I t w i l l a l s oi g n o r ea

c o m m a n dt o o p e na w i n d o wi f

t h e r ei s n ' t e n o u g hm e m o r yi n

B a n k1 t o h o l da l l t h e t e x ta n da t t r i b u t e su n d e rt h en e ww i n d o w ,

o r i f t h e w i n d o wh a sf e w e rt h a n

f o u rr o w so r e i g h tc o l u m n s .

W h e ny o u i s s u ea C l o s eW i n

d o wc o m m a n d ,t h e l a s tw i n d o w

o p e n e dw i l lb e c l o s e d .T h a ti s , i f

y o u h a v et h r e ew i n d o w so n t h e

s c r e e n ,i t i s n o tp o s s i b l et o c l o s e

w i n d o w2 b e f o r ec l o s i n gw i n d o w3 . I f y o u u s eC u s t o mW i n d o w si n

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 12/45

a B a s i cp r o g r a m ,y o um u s t ,a f t e r

c l o s i n gw i n d o w1 , i s s u ea P r i n t

c o m m a n dt o s e tt h es c r e e np o i n t

e r sb e f o r ey o uc a no p e na n yn e w

w i n d o w s .

W h e ny o uu s ed i r e c tk e y b o a r d

c o m m a n d s( a so p p o s e dt o B a s i c

c o m m a n d s ) ,t h e p r o g r a mw o r k s

t h r o u g ha n i n t e r r u p tw e d g e .T h i s

p r o d u c e sg h o s tc u r s o r so n t h e

s c r e e ni f y o uu s ed i f f e r e n tc o l o r s

f o r t h e w i n d o w s .T h e s ec u r s o r s

w o n ' ta f f e c tt h e v a l i d i t yo f t h es c r e e nt e x t , b u t t h e y w i l l b e

o b v i o u s .

Y o uc a nm i n i m i z et h eg h o s tc u r

s o r sb y a p p l y i n gt h ef o l l o w i n gt w o

r u l e s .F i r s t ,n e v e ro p e na w i n d o w

w i t ht h ec u r s o ri n t h e l e f t - m o s to r

r i g h t - m o s tc o l u m no f t h ew i n d o w .

A s i m p l ec u r s o r - r i g h tk e ye n t r yb e

f o r et h e C o n t r o l / S t o pc o m m a n dg e n e r a l l yw i l l f i xt h i s .S e c o n d ,a l

w a y sc h a n g et h e c h a r a c t e rc o l o r

t o t h e p r e v i o u sw i n d o w ' sc o l o r

a n dc l e a rt h ec u r r e n tw i n d o wb e

f o r e i s s u i n gt h e C l o s eW i n d o w

c o m m a n d( l o g o / s t o p ) .

F i n a l l y ,y o u c a nl o a da n d r u n

a p r o g r a mw i t hC u s t o mW i n d o w s

a c t i v a t e da s l o n ga s t h ep r o g r a m

d o e s n ' to v e r w r i t eC u s t o mW i n

d o w si n m e m o r yl o c a t i o n s

7 1 6 9 - 8 7 8 5 .T h i sm e a n st h a ty o u

c a n ' tr u n p r o g r a m st h a tu s e4 0 -

c o l u m n ,h i g h - r e s o l u t i o ng r a p h i c s

w h i l eC u s t o mW i n d o w si s a c t i v e .

B e f o r er u n n i n ga n yc o m m e r c i a ls o f t w a r eo r p r o g r a m st h a t u s e

s u c hg r a p h i c s ,r e s e tt h e c o m

p u t e rb y p r e s s i n g t h er e s e tb u t

t o no r t h e s t o pa n dr e s t o r ek e y s .

E i g h t y - C o l u m nC u s t o mW i n

d o w si s a v e r yu s e f u la n da t t r a c

t i v eu t i l i t y .I ' v ep u t i t t o w o r ka s

a n a u t o b o o tp r o g r a m o na l l m yd i s k s ,a s i t ' s v e r yh e l p f u lw h e n

I ' mw r i t i n gp r o g r a m so r c l e a n i n g

u p d i s k s .I h o p ey o u h a v ea s

m u c hf u nw i t hi t a s I h a v e .■

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 13/45

H a n d yW i n d o w

B y I a nA d a m

t R i g h t

0 6 4& rC - 1 2 8

H a n d yW i n d o wi s a c o l l e c t i o n

o f e i g h tc o m p u t e rr o u t i n e st h a t

g i v ey o uf u l lc o n t r o lo f a m e m op a d , a n a c c u r a t ed i g i t a lc l o c k

a n da n a l a r m ,a s w e l la s a c c e s s

t o t h e p r i n t e r .B o t ht h eC - 6 4a n d

C - 1 2 8v e r s i o n s a r es o e a s ya n d

c o n v e n i e n tt o u s et h a ty o u ' l lw o n

d e r h o w y o u e v e r c o m p u t e dw i t h o u ti t .

A f t e ry o u ' v e l o a d e dt h e v e r

s i o no f t h e p r o g r a ma p p r o p r i a t e

t o y o u rC - 6 4o r C - 1 2 8( 4 0 - c o l -

u m ns c r e e no n l y ) ,y o uc a n p r o

c e e dw i t hp r o g r a m m i n g ,o r y o u

c a n r u n a B a s i cp r o g r a m .Y o u

o n l y h a v e t o r e m e m b e rt h a t

H a n d y W i n d o wu s e sj u s t t w ok e y s :s h i f ta n dc o n t r o l .P r e s s i n g

t h e ma t t h e s a m et i m ed i s p l a y s

t h e H a n d y W i n d o wm e n u ;t h e

s a m ec o m b i n a t i o nr e m o v e st h e

m e n uf r o mt h e s c r e e na n d r e

t u r n sy o u t o t h e p r o g r a my o u

w e r ei n b e f o r e .

G E T T I N GS T A R T E DW h e ny o ur u nH a n d yW i n d o w ,

i t p r o m p t sy o u t o i n s e r ta d i s k

f o rt h ec o d e .I n s e r ta n yf o r m a t t e d

d i s k ,t h e np r e s sa n yk e yt o c r e

a t e a f i l e c a l l e d. H A N D Y 6 4o r

. H A N D Y 1 2 8o n t h e d i s k .T h i s

p r o c e s st a k e sa b o u t3 0 s e c o n d s .

Y o uc a np l a c ea c o p yo f H a n d yW i n d o wo n a n y o f y o u ro t h e r

d i s k sb y r u n n i n g t h ep r o g r a m

o n c ef o r e a c hd i s k .

T h er e s u l t i n gf i l e i s n ' ta B a s i c

p r o g r a mt h a ty o u c a nl o a da n d

r u n ;i t ' sa m a c h i n el a n g u a g ef i l e

t h a tm u s t b ee x e c u t e d .O n t h eC - 6 4 ,y o u e x e c u t et h e f i l e w i t h

t h e f o l l o w i n gt w o - l i n ep r o g r a m :

1 0 I F P E E K ( 4 9 1 5 2 ) 0 1 2 0T H E N

L O A D " . H A N D Y 6 4 " , 8 , 1

2 0 S Y S4 9 1 5 2 : N E W

O n t h e C - 1 2 8i n 1 2 8m o d e ,a

d i f f e r e n tt w o - l i n ep r o g r a mi s

r e q u i r e d :

1 0 B L O A D " . H A N D Y 1 2 8 "

2 0 S Y S4 8 6 4

H O WT O U S EI T

T h eH a n d yW i n d o wm e n ug i v e s

y o ue i g h tc h o i c e s ,f r o mw h i c hy o u

m a k es e l e c t i o n sb y p r e s s i n g t h e

c o r r e s p o n d i n gk e y s .T h e s ea r e t h e

e i g h to p t i o n s :

M e m oP a d( A ) .C h o o s i n gA p r o -

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 14/45

d u c e sa b l a n ks c r e e no n w h i c h

y o u c a nt y p em e m o st o y o u r s e l f .

A l l s c r e e ne d i t i n gf u n c t i o n sa r e

a c t i v e ,i n c l u d i n gs c r o l l i n ga n ds c r e e nc l e a r ,s o b e c a r e f u ln o tt o

e r a s e y o u rm e s s a g e .P r e s st h e

s h i f t e dc o n t r o lk e yt o r e t u r n t ot h e

m o d ey o u w e r ei n w h e ny o u

p r e s s e dA . I f y o u c h o o s eAa g a i n ,y o u rn o t e sw i l l s t i l l b e

t h e r e ,w a i t i n gf o ry o u .

S h o wC l o c k( B ) T h e d i g i t a l

c l o c ki s a l w a y sd i s p l a y e dw h e n

t h e m e n ui s o n - s c r e e n .I f y o u

c h o o s et h i so p t i o n ,h o w e v e r ,t h e

c l o c kw i l la l s ob e d i s p l a y e dw h e n

y o ul e a v e t h em e n ut o e n t e rt h e

M e m om o d eo r r e t u r n t oy o u r

o r i g i n a lp r o g r a m .A b u l l ' s - e y ea p

p e a r sb e s i d et h e l e t t e rB t o a c

k n o w l e d g ey o u rs e l e c t i o n .H i d e C l o c k( C ) :W h e ny o us e l e c t

t h i so p t i o n ,t h e o n l yi m m e d i a t er e

s u l ti s t h a tt h e b u l l ' s - e y em o v e s

d o w nb e s i d et h e l e t t e rC . W h e ny o u l e a v e t h em e n ul a t e r ,t h e

c l o c kw i l ln o l o n g e rb e d i s p l a y e d .

I t w i l lc o n t i n u et o k e e pt i m e ,h o we v e r ,s o y o u ' l lb e a b l et o r e t r i e v e

i t l a t e rw i t hm e n uc h o i c eB .

S e t C l o c k( D ) :W h e ny o u f i r s t

a c c e s st h em e n u ,t h ec l o c ka t t h e

t o pp r o b a b l y w o n ' tb e r u n n i n g .I f

y o up r e s sD , t h e c u r s o rw i l la p

p e a ra t t h e t i m ed i s p l a y .S i m p l y

t y p ei n t h e p r e s e n tt i m ed i r e c t l y

o v e rt h e d i s p l a y ,m a k i n gs u r et o

s e t a m o r p m ,t h e np r e s st h e r e

t u r n k e y .T h ec l o c kw i l lb e s e t t o

w h a t e v e ri s s h o w i n gi n t h e t i m e

d i s p l a ya r e aa n dw i l ls t a r tr u n n i n g

i m m e d i a t e l y .

T o g e t a s t o p w a t c h / t i m e r ,s e

l e c t D , t h e np r e s ss h i f t - C L Rt oc l e a rt h es c r e e n .W h e ny o up r e s s

t h er e t u r nk e y ,t h es t o p w a t c h ,s e t

t o z e r o s ,b e g i n sr u n n i n g .P r e s sDa g a i nt o s t o pi t .

S e t A l a r m( E ) .T h ea l a r mt i m e

i s s h o w na t t h e b o t t o mo f t h e

m e n u .W h e ny o u p r e s sE , t h e

c u r s o ra p p e a r st h e r e ,a n d y o u

e n t e rt h e a l a r mt i m ej u s ta s y o u

d i dw h e ns e t t i n gt h ec l o c k ,a g a i n

r e m e m b e r i n gt o s e ta m o r p m .

W h e ny o up r e s st h e r e t u r nk e y ,

t h e a l a r mi s e n a b l e d ,a n d t h e

d i s p l a yc h a n g e st o A L O N t o

r e m i n dy o u .

W h e nt h e p r e s e tt i m ea r r i v e s ,a

b u z z e ro r b e l l w i l l s o u n d ,t h e

s c r e e nw i l lf l a s ho r a n g ea n d

b l a c k ,a n dA L A R Mw i l lb e p r i n t e d

o n t h es c r e e n .Y o ua c k n o w l e d g e

i t b y p r e s s i n gt h es h i f ta n dc o n t r o l

k e y ss i m u l t a n e o u s l y ,w h i c h ,o f

c o u r s e , b r i n g su p t h e m e n u .I f

t h ea l a r ms o u n d sw h i l et h em e n u

i s d i s p l a y e d ,y o u c a nc a n c e li t b y

p r e s s i n gF .N o A l a r m( F ) \ T h i so p t i o nd i s

a b l e st h ea l a r ma n dc h a n g e st h e

d i s p l a yt o A L O F F .T h et i m es e t

r e m a i n sd i s p l a y e d ,h o w e v e r ,a n d

y o u c a n r e a c t i v a t ei t l a t e rb y

p r e s s i n gE a n dt h e r e t u r nk e y( t o

e n t e r t h et i m es h o w n ) .T h i sw o u l d

b e h a n d yi f , f o r e x a m p l e ,y o u

w e r eu s i n gt h e c o m p u t e ra l a r m

t o g e tu p f o rw o r ko r s c h o o la n d

8

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 15/45

w a n t e dt o d i s a b l ei t t e m p o r a r i l y

o n t h ew e e k e n d .

P r i n tS c r e e n( G ) : P r e s s i n gG

s e n d sw h a t e v e rw a s o n t h es c r e e nt o t h e p r i n t e r .T h i si s a

s i m p l er o u t i n e ,s o d o n ' te x p e c t

a n y t h i n gf a n c y .I t ' s g r e a tf o r a

q u i c ks n a p s h o to f t h e s c r e e n ,

t h o u g h .

P r i n tM e m o( H ) :O p t i o nH s e n d s

t h e c o n t e n t so f y o u rm e m op a d

t o t h e p r i n t e r .

H O WI T W O R K SB e c a u s et h ep r o g r a mi s i n m a

c h i n e l a n g u a g e ,y o uc a na c h i e v e

s o m ee f f e c t s — s u c h a st h ei n s t a n t

t r a n s f e r o fi n f o r m a t i o ns c r e e n s —

t h a t a r e a l m o s ti m p o s s i b l et o

a c h i e v ei n B a s i c .T h e p r o g r a m

f o r t h e C - 6 4i s p l a c e di n h i g h

R A Ma t 4 9 1 5 2 ,a n d s t o r a g ef o r

e x t r as c r e e n so f i n f o r m a t i o ni s i n

h i d d e nR A Mb e h i n dt h e B a s i c

R O M .T h eC - 1 2 8v e r s i o ni s l o

c a t e di n t h ea p p l i c a t i o n sp r o g r a m

a r e aa t R A Ml o c a t i o n4 8 6 4 ,a n d

e x t r as c r e e n sa r e s t o r e da t t h e

t o p o f B a n k0 , s l i g h t l yr e d u c i n g

t h e s p a c ea v a i l a b l ef o r B a s i cp r o g r a m s .

T h ep r o g r a ma l s ou s e st h e I n

t e r r u p tr o u t i n eo f t h e C - 6 4o r

C - 1 2 8 .S i x t yt i m e se v e r ys e c o n d ,

t h e c o m p u t e rs t o p sw h a t i t ' s

d o i n g ,s e t sa s i d ei t s w o r ka n d

p e r f o r m ss o m e" h o u s e k e e p i n g " —

r e a d i n gt h e k e y b o a r d ,u p d a t i n g

t h eT l $c l o c k ,a n ds o o n .B ym o di f y i n gt h e v e c t o rf o r t h i sI n t e r r u p t

r o u t i n es o t h a ti t p o i n t st o y o u rp r o

g r a m ,y o uc a na d dt h ee x t r af u n c

t i o n st o t h e l i s t o f h o u s e k e e p i n

c h o r e s . T h i sa l l o w sy o ut o c a r r yo u to t h e ra c t i v i t i e s ,s u c ha s w r i t i n go r

r u n n i n ga n o t h e rp r o g r a m ,w h i l e

H a n d yW i n d o wc h e c k si n t o s e e

w h e t h e ri t ' sn e e d e d .I n e f f e c t ,t h e

c o m p u t e ri s r u n n i n gt w op r o g r a m s

s i m u l t a n e o u s l y .

T h e d i g i t a lc l o c k d o e s n ' tu s e

T l $t o g e t t h et i m eb e c a u s eT l $

i s i n a c c u r a t e ,p a r t i c u l a r l yo n t h e

C - 6 4 .I t t e n d st o r u nt o of a s ta n d

s t o p se n t i r e l yw h e nt h ec o m p u t e r

a c c e s s e sa p e r i p h e r a l . I n s t e

t h ec l o c ki s b a s e d o nt h et i m e - o f -

d a y f e a t u r eo f o n e o f t h e t w o

6 5 2 6C I Ai n t e r f a c e c h i p s .T h e s e

c h i p s a r eu s e df o r t i m i n ga v a r i

e t y o fi n t e r n a la c t i v i t i e s ,a s w e l la s

c o m m u n i c a t i n gw i t ht h e d i s k

d r i v ea n d m o d e m .T h et i m e - o f -

d a yf e a t u r ei s n o tn o r m a l l y u s e d

b u t i t ' s e x t r e m e l ya c c u r a t e .B e

c a u s et h e r ea r e t w oC I Ac h i p s ,

y o uc o u l dt h e o r e t i c a l l yh a v e t w o

c l o c k sf o r d i f f e r e n tt i m ez o n e s .

F I N A LT I P SH a n d yW i n d o ws h a r e sc o m

p u t e ra s s e t sw i t hw h a t e v e ro t h e r

p r o g r a m sy o um i g h tb e r u n n i n g .

I t w i l ld o j u s tf i n ea s l o n ga s t h e

o t h e rp r o g r a m sd o n ' t o v e r w r i t

t h es a m ea r e a si n m e m o r y .B u ti t

w o n ' tw o r ki f t h e o t h e rp r o g r a m s

c h a n g et h e i n t e r r u p tv e c t o r ,a n d

i t ' s i n c o m p a t i b l ew i t h a n y p r o

g r a mt h a t u s e st h e s a m eR A M

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 16/45

f o r s t o r a g e .I f y o u ' r eu n c e r t a i n

w h e t h e ra p r o g r a mi s c o m p a t i b l e

w i t hH a n d yW i n d o w ,y o u ' l lh a v e

t o t r y i t a n df i n do u t .D o n ' ta t t e m p tt o u s e H a n d y

W i n d o w w h e na n y i n p u t / o u t p u t

p r o c e s s e s( s u c ha s p r i n t i n g ,d i s k

a c c e s so r m o d e mc o m m u n i c a

t i o n )a r e a c t i v e .B e c a u s eH a n d y

W i n d o wi n t e r r u p t sn o r m a lo p e r a

t i o n ,i t w i l ls h u td o w nt h e s ea c t i v

i t i e sa u t o m a t i c a l l y .

I f t h e H a n d yW i n d o w m e n u

s h o u l df a i l t o a p p e a rw h e ny o u

p r e s st h e s h i f t e dc o n t r o l k e y ,t h e

i n t e r r u p tv e c t o rp r o b a b l yh a s

b e e nc h a n g e d .T h i sc a nh a p p e n

e a s i l y — f o re x a m p l e ,i f y o up r e s s

t h e r u n - s t o p / r e s t o r ec o m b i n a t i o n

b y m i s t a k e .T o r e s t o r eH a n d y

W i n d o w ,j u s tt y p e

S Y S4 9 1 5 2< r e t u r n >

f o rt h eC - 6 4 , o r

S Y S4 8 6 4< r e t u r n >

f o r t h e C - 1 2 8 .

F i n a l l y ,H a n d y W i n d o wd o e s n ' t

w o r k o nt h e C - 1 2 8 ' s8 0 - c o l u m n

s c r e e n .I f y o u i n v o k ei t i n t h i s

m o d e ,y o u ' l lg e t t h e m e n u ,b u t

n o n eo f t h e f u n c t i o n sw i l l w o r k

p r o p e r l y .■

1 0

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 17/45

B a s i cB u gT r a p

B y M i c h a e l B r o u s s a r d

R U NI t R i g h t

0 6 4

I f y o u ' r ec u r s i n gt h e e l u s i v e -

n e s so f t h e b u g sp l a g u i n gy o u r

p r o g r a m s ,D e b u g g e r 6 4c a n

c o m et o t h e r e s c u e !T h i su t i l i t y

e l i m i n a t e st h e n e e df o r a d d i n g

a n dd e l e t i n gS t o pa n dP r i n ts t a t e

m e n t st o f i n da B a s i cp r o g r a m

b u g . I n s t e a d ,i t a d d st o B a s i c

s e v e r a ln e wc o m m a n d st h a tl e t

y o u s e t d y n a m i cb r e a k p o i n t s ,

s t e pt h r o u g hy o u rp r o g r a mo n e

s t a t e m e n ta t a t i m e ,e x a m i n e

y o u rp r o g r a m ' sh i s t o r yo f G o s u b

i n v o c a t i o n sa n d v i e wt h e l i n e

n u m b e ro f e a c hs t a t e m e n ta s i t ' s

e x e c u t e d .

T o u s e D e b u g g e r6 4 , l o a di t

i n t om e m o r ya n d r u n i t t o a c t i

v a t et h e d e b u g g i n gc o m m a n d s .

T h e nl o a d t h ep r o g r a my o uw a n t

t o d e b u g ,o r t y p eo n e i n f r o m

s c r a t c h .

D e b u g g e r6 4 ' sc o m m a n d sa r e

m e a n tt o b e u s e d i n D i r e c t

m o d e ,b u t m o s tw i l l a l s ow o r k

f r o m w i t h i na n o t h e rp r o g r a m .

T h e c o m m a n d sb e g i nw i t ht h e

@ c h a r a c t e r ,t o d i s t i n g u i s ht h e m

f r o mr e g u l a rB a s i cc o m m a n d s .

A b r i e fd e s c r i p t i o no f e a c h

c o m m a n da p p e a r si n T a b l e1 .

T h e i ru s ei s d e m o n s t r a t e db y t h e

s a m p l eB a s i cp r o g r a mb e l o w .

D E B U G G E R6 4 I N A C T I O NL o a d a n dr u n D e b u g g e r6 4 ,

t h e nt y p ei n a n ds a v et h ef o l l o w

i n gc o d e :

1 0 P R I N T" S A M P L ED E B U G G E R

P R O G R A M "

2 0 G O S U B1 0 0

3 0 P R I N T" E N DO F P R O G R A M "

4 0 E N D

1 0 0 P R I N T ' T H I SI S L I N E1 0 0 . " :

P R I N T ' T I M ET O G O S U B ! "

1 1 0G O S U B2 0 0

1 2 0R E T U R N

2 0 0 P R I N T ' T H I SI S L I N E2 0 0 . "2 1 0G O S U B3 0 0

2 2 0 R E T U R N

3 0 0P R I N T" T H I SI S L I N E3 0 0 . "

3 1 0 X = 1 0

3 2 0X = X * 2+ 5 : R E T U R N

W h e ny o u ' r ed o n e ,r u n t h e

s a m p l ep r o g r a mo n c et o s e e

h o wi t w o r k s .T h e ne n t e r© H E L Po r @ ?t o v i e wa s u m m a r yo f t h e

D e b u g g e r6 4 c o m m a n d s .

1 1

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 18/45

* * * D E B U G G E RC

© T R O N© T R O F F

© B R E A K< L I N E >

© L IS T

© R E S E T< L I N E >

© R E S E T*

© C O N T

© S T E P

© S T A C K© O F F

© H E L P ,© ?

O M M A N DS U M M A R Y* * *

- - T R A C EO N- - T R A C EO F F

- - S E T A B R E A K

- - L I S TB R E A K S

- - R E S E T1 B R E A K

- - R E S TA L L B R E A K S

- - R E S U M E E X E C U T I O N

- - S T E P1 S T A T E M E N T

- - G O S U B S T A C K T R A C E- - T U R NO F F D E B U G G E R

- ~ C O M M A N DS U M M A R Y

N o we n t e r@ T R O Na n d r u n

t h e s a m p l ep r o g r a ma g a i n .N o t e

h o wD e b u g g e r6 4 p r i n t sa l i n e

n u m b e r m e s s a g ei n r e v e r s e

v i d e ob e f o r ee a c h l i n e o f t h e

s a m p l ei s e x e c u t e d .

N e x tt u r n@ T R O Nm o d eo f fb y

e n t e r i n g@ T R O F F ,s e t a b r e a k

p o i n tb y e n t e r i n g© B R E A K2 0 0

a n d r u n t h es a m p l ep r o g r a ma

t h i r dt i m e .E x e c u t i o np a u s e sj u s t

b e f o r el i n e2 0 0 ,a n d a B r e a ki n

2 0 0m e s s a g ea p p e a r s .

T o e x a m i n et h e h i s t o r y o fG o -

s u bi n v o c a t i o n s ,e n t e r© S T A C K .

T h er e s u l t i n gd i s p l a yl o o k sl i k e :

* * * S T A C KT R A C E* * *

G O S U B1 0 0F R O ML I N E 2 0

G O S U B2 0 0F R O ML I N E1 1 0

E n t e r© B R E A K3 0 0 a n dp r e s s

t h e r e t u r nk e y , f o l l o w e db y

© B R E A K3 1 0 a n d a n o t h e rr e

t u r n .T h e n ,t o c h e c kt h e b r e a k

p o i n t sy o u ' v es e t , e n t e r© L I S T .

T h r e eb r e a k p o i n tn u m b e r s — 2 0 0 ,

3 0 0a n d3 1 0 — s h o u l da p p e a r .

N o wr e s u m ee x e c u t i o no f y o u r

p r o g r a mb y e n t e r i n g@ C O N T .T h eP r i n ts t a t e m e n ti n l i n e2 0 0w i l l

b e e x e c u t e d ,b u tt h e n e x tb r e a k

p o i n tw i l lm a k et h ep r o g r a mh a l ta t

l i n e3 0 0 . E n t e r© C O N To n c e

m o r et o c o n t i n u ee x e c u t i o nu n t i lt h e l a s tb r e a k p o i n tp r o d u c e st h e

m e s s a g e , B r e a ki n 3 1 0 .

T h e n ,w h e ny o u r e i n s p e c tt h e

G o s u bh i s t o r yw i t h© S T A C K ,t h e

f o l l o w i n gd i s p l a ya p p e a r s :

* * *S T A C KT R A C E* * *

G O S U B1 0 0F R O ML I N E2 0

G O S U B2 0 0F R O ML I N E1 1 0

G O S U B3 0 0F R O ML I N E2 1 0

1 2

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 19/45

@ H E L Po r © ? :D i s p l a y sa s u m

m a r yo f a l l t h e D e b u g g e r 6 4

c o m m a n d so n t h e s c r e e n .

@ T R O N :T r a c eO n . D i s p l a y s

e a c h l i n e n u m b e ri n r e v e r s e

v i d e o b e f o r et h el i n ei s e x e c u t e d ,

s o y o uc a nt r a c et h ef l o wo f y o u r

p r o g r a m .

@ T R O F F :T r a c eO f f .D i s a b l e s t h e

l i n en u m b e rt r a c i n ga c t i v a t e db y

@ T R O N .

© B R E A K :S e t sa p r o g r a mb r e a k

p o i n t .T h i sc o m m a n dm u s tb e e x e

c u t e di n D i r e c tm o d e ,a n di t m u s t

b e f o l l o w e db y al i n en u m b e r .

F o r e x a m p l e ,i f y o u e n t e r

© B R E A K2 3 5 ,D e b u g g e r 6 4w i l l

s u s p e n de x e c u t i o n b e f o r ee a c h

s t a t e m e n ti n

l i n e2 3 5o f y o u rp r og r a m .T h e na b r e a km e s s a g ew i l l

t e l l y o u a t w h a tl i n et h e b r e a k

o c c u r r e d .W h e ny o u rp r o g r a m

h a ss t o p p e da t a b r e a k p o i n t ,y o u

c a n l i s t p o r t i o n so f i t , d i s p l a y o r

c h a n g et h e v a l u e so f v a r i a b l e s ,

s e t m o r eb r e a k p o i n t s ,a n ds o o n .

© B R E A Ki s a n i m p r o v e m e n t

o v e rt h e s t a n d a r dB a s i cS t o pc o m m a n d ,b e c a u s ei t l e t sy o us e t

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

a l t e r i n gy o u r p r o g r a m .

© C O N T :R e s u m e se x e c u t i o n

f r o ma b r e a k p o i n t .D o n ' tt r y t o

u s e t h e B a s i cC O N Tc o m m a n d

t o c o n t i n u ee x e c u t i o nf r o ma D e

b u g g e r6 4 b r e a k p o i n t !S i m i l a r l y ,

e x e c u t i n g© C O N Tw h e ny o u r

p r o g r a mi s n o t a t a d e b u g g e r

T a b l e1 . D e b u g g e r6 4 c o m m a n d s .

b r e a k p o i n th a s u n p r e d i c t a b l

r e s u l t s .

A s w i t ht h e B a s i cC O N Tc o mm a n d ,i f y o ua l t e ry o u rp r o g r a m

o r e n c o u n t e ra n e r r o rw h i l ee x e

c u t i o ni s s u s p e n d e d ,y o u c a n ' t

c o n t i n u ee x e c u t i o n ,b u tm u s tr es t a r tt h e p r o g r a mw i t ht h e R u n

c o m m a n d .

© S T E P :A n a l t e r n a t i v et o

© C O N T .W h e ny o u rp r o g r a mi s

a t a b r e a k p o i n t ,© S T E Pp e r f o r m s

t h e n e x tl o g i c a lp r o g r a ms t a t e

m e n t , t h e ns u s p e n d se x e c u t i o n

a s i f a n o t h e r© B R E A Kh a db e e n

e n c o u n t e r e d .I n t h i sw a y ,y o uc a n

e x e c u t eo n es t a t e m e n ta t a t i m e

w i t h o u th a v i n gt o s e tb r e a k p o i n t

a t e v e r yl i n e .S i n c e© S T E Pi s a n

a l t e r n a t i v et o © C O N T ,u s ei t o n l y

w h e ny o u rp r o g r a mi s s t o p p e da t

a d e b u g g e rb r e a k p o i n t .

© L I S T :D i s p l a y sa l i s to f a l l t h e

b r e a k p o i n t sc u r r e n t l ys e t .

© R E S E T :C l e a r sa b r e a k p o i n t

F o r e x a m p l e ,© R E S E T2 4 0 r e

m o v e st h e b r e a k p o i n tf r o ml i n e

2 4 0 .E n t e r© R E S E T* t o r e s e ta l l

t h e b r e a k p o i n t sa t o n c e .

© S T A C K :D i s p l a y sa l l c u r r e n t l y

a c t i v eG o s u bi n v o c a t i o n s .I f m o r e

t h a no n eG o s u bi s a c t i v eo n t h e

s t a c k ,t h e y ' r el i s t e di n o r d e rf r o m

t h e f i r s tt o t h e m o s tr e c e n t .

© O F F :D i s a b l e sD e b u g g e r6 4 .

A f t e ru s i n gt h i s c o m m a n d ,d e

b u g g e rc o m m a n d sw o n ' tw o r k

u n t i ly o ur e - e n a b l et h e mb y t y p

i n gS Y S4 9 1 5 2 .

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 20/45

E x a m i n el i n e3 1 0 b y e n t e r i n g

L I S T3 1 0 ,a n dc h e c kt h ev a l u eo f

X b y e n t e r i n gP R I N TX . S i n c el i n e

3 1 0 h a s n ' tb e e ne x e c u t e d ,t h e

v a l u es h o u l db e 0 . O n c ey o u ' v e

v e r i f i e dt h i s ,e n t e r© S T E P .D e

b u g g e r6 4 t h e ne x e c u t e sl i n e3 1 0

a n d p r i n t sa S t e p p i n g :B r e a ki n

3 2 0m e s s a g et o t h e s c r e e n .

N e x te n t e rP R I N TX a g a i na n d

n o t i c et h a t t h e v a l u eo f X h a s

c h a n g e dt o 1 0 . E n t e r© S T E Pa n di n s p e c tt h e v a l u eo f X o n c e

m o r e ;t h i st i m ei t s h o u l db e 2 5 .

F i n a l l y ,r e s u m ee x e c u t i o no f y o u r

p r o g r a mw i t h© C O N T .W h e nt h e E n d o f P r o g r a m

m e s s a g ea p p e a r s ,e n t e r© R ES E T* t o d e l e t et h e b r e a k p o i n t s .

T h e nu s e © L I S Ta g a i nt o v e r i f y

t h a tt h e yn o l o n g e re x i s t .

A D D I N GC O M M A N D S

T O B A S I CE a c ht i m e t h eC - 6 4o p e r a t i n g

s y s t e me x e c u t e sa B a s i cp r o

g r a ms t a t e m e n t ,i t j u m p st o t h e

a d d r e s ss t o r e di n R A Ml o c a t i o n s

7 7 6 a n d 7 7 7 . D e b u g g e r6 4

c h a n g e st h e a d d r e s s e si n t h e s e

l o c a t i o n ss o t h eo p e r a t i n gs y s t e m

j u m p st o t h e d e b u g g e r ,r a t h e r

t h a nt o t h e n o r m a lK e r n a lR O M ,

t o e x e c u t ea s t a t e m e n t .

W h e ni n u s e , D e b u g g e r 6 4

c h e c k st o s e e i f t h e n e x ts t a t e

m e n ti s a d e b u g g e rc o m m a n d

a n d ,i f s o , e x e c u t e si t . I f n o t , i t

j u m p st o t h e K e r n a lR O Ms o t h a t

t h e s t a t e m e n ti s e x e c u t e dn o r

m a l l yb y B a s i c .■

1 4

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 21/45

S p r i t e - P r i n t

B y R o yD u n c a n

R U NI t R i g h t

0 6 4 ;p r i n t e r

M o v a b l eo b j e c tb l o c k s , b e t t e r

k n o w na s s p r i t e s ,a r e a n i c e

c o m p l e m e n tt o t h eC - 6 4 ' sg r a p h

i c s . U n f o r t u n a t e l y ,s p r i t e sc a n ' t

b e p r i n t e di n a c o n v e n t i o n a l

m a n n e r .T h i s p r o g r a mi s f o r

t h o s eo f y o uw h oh a v ea l w a y s

w a n t e dt o p r i n ts p r i t e sb u tw e r e

a f r a i d t oa s k h o w .S p r i t e - P r i n ti s a m e n u - d r i v e n

p r o g r a mt h a t l e t s y o u c o p y

s p r i t e so n t o ah i g h - r e s o l u t i o ng r a p h i c ss c r e e nb e g i n n i n ga t a d

d r e s s8 1 9 2 .T h ep r o g r a mp r i n t s

t h ec o n t e n t so f t h i sh i - r e ss c r e e n

a n da l s oa l l o w sy o ut o c o p y a n d

p r i n tt e x ta l o n gw i t ht h e s p r i t e s .

H O WT O U S E

S P R I T E - P R I N TS p r i n t - P r i n t1 i s t h e m a i np r o

g r a m .I t d o e sa l l t h e w o r k ,w i t h

t h e e x c e p t i o no f p r i n t i n gt h e

s c r e e n .S p r i n t - P r i n t2 p r i n t st h e

s c r e e nb y c r e a t i n ga s h o r tm a

c h i n el a n g u a g ef i l e c a l l e dP D U M P / 1 5 2 5 .W h e n e v e ry o us e

l e c tt h e P r i n to p t i o n ,t h i sf i l e i s

l o a d e df r o mt h ed i s k .S p r i t e - P r i n t

3 c r e a t e s t h es p r i t e .

F i r s t ,r u n S p r i t e - P r i n t3 . W h e nt h e c u r s o rr e a p p e a r s , l o a da n d

r u nS p r i t e - P r i n t1 w i t h o u t c l e a r i n

t h e s c r e e n .W h e nt h e o p t i o n s

s c r e e n a p p e a r s ,s e l e c to p t i o n6

t o c l e a rt h e h i - r e ss c r e e n ,t h e n

p r e s s1 t o c r e a t ea s c r e e ni n a

d i f f e r e n ta r e ao f m e m o r y .N e x t ,

s e l e c to p t i o n2 o r 3 f o r u p p e r

c a s eo r l o w e r c a s e ,r e s p e c t i v e l y

F i n a l l y ,s e l e c tt h e n o r m a lC o mm o d o r ec h a r a c t e rs e t .

A f t e ra f e wm i n u t e s ,t h es p r i t e

c r e a t e db y S p r i t e - P r i n t3 w i l lb e

g i nt o f o r mo n t h es c r e e n .O n c et h ec u r s o rr e t u r n s ,c h o o s eo p t i o n

4 f r o mt h e m a i nm e n ut o p r i n t

t h e s p r i t e .W h e nt h e p r o g r a mi s

f i n i s h e d ,p r e s sa n yk e yt o r e t u r n

t o t h e o p t i o n ss c r e e n .

P R O G R A MO P E R A T I O NH e r e ' sh o w e a c h o p t i o ni n

S p r i t e - P r i n t1 w o r k s :

O p t i o n1 , C r e a t eS c r e e n .

W h e ny o us e l e c tt h i so p t i o n ,t h e

c o m p u t e ra s k sw h a ty o uw a n tt oc o p y , t h e n p l a c e st h a td a t ao n

1 5

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 22/45

t h e h i - r e ss c r e e n .T h i s o p t i o n

d o e sn o ta l t e rt h ec o n t e n t so f t h e

s c r e e n .I f y o u w a n tt o c o p y

s p r i t e s ,y o u m a y n o t w a n tt o

e r a s et h e h i - r e ss c r e e n .

O p t i o n1 a l s oo f f e r st h e a b i l i t y

t o l o a da n a l t e r n a t ec h a r a c t e rs e t

f r o md i s k .T h ef i r s tt w ob y t e so f

t h e c h a r a c t e r - s e tf i l ec o n t a i nt h e

a d d r e s s f r o m w h i c ht h a tf i l ew a s

s a v e d .S i n c e t h e s eb y t e sa r e n o t

p a r to f t h e c h a r a c t e rs e t ,t h e ya r e

r e m o v e di n l i n e 2 5 9 0 .I f y o u rc h a r a c t e rs e t a p p e a r st o b e a l

t e r e d ,c h a n g el i n e2 5 9 0t o :

2 5 9 0T = 5 0 1 7 6

O p t i o n2 , S a v eS c r e e nt o D i s k .

T h i s o p t i o ns a v e sa h i - r e ss c r e e n

t o d i s k .T o s e e h o wt h i sf e a t u r e

w o r k s , r u nS p r i t e - P r i n t3 , t h e n

r u nS p r i t e - P r i n t1 w i t h o u tc l e a r i n g

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

c l e a rt h e h i - r e ss c r e e n , f o l l o w e d

b y o p t i o n1 t o c r e a t ea s c r e e n .

F o l l o w t h ep r o m p t sg e n e r a t e db y

o p t i o n1 t o c r e a t ey o u rs p r i t eo n

t h eh i - r e ss c r e e n .O n c et h es p r i t e

i s c r e a t e d ,p r e s sa n yk e yt o r e

t u r nt o t h e m a i nm e n u .F i n a l l y ,

s e l e c to p t i o n2 . E n t e ra f i l e n a m e

a t t h e p r o m p ta n dp r e s st h e r e

t u r nk e y .

T h eh i - r e ss c r e e ni s s a v e dt o

d i s ka s a p r o g r a mf i l e . I f y o u

c h o o s et h i so p t i o na c c i d e n t a l l y ,

e n t e rf i l e n a m e$ t o r e t u r nt o t h e

m a i nm e n u .

O p t i o n3 , L o a dS c r e e nf r o mD i s k .A f t e ry o u c h o o s et h i so p

t i o n ,f o l l o wt h e s t e p so u t l i n e df o r

o p t i o n2 t o c r e a t ea s c r e e nf i l e .

P l a c et h e d i s k c o n t a i n i n gt h e

s c r e e ni n t h e d r i v ea n d s e l e c t

o p t i o n3 . E n t e r t h e s c r e e n ' sf i l e

n a m ea n d p r e s st h e r e t u r nk e y

t o l o a d t h es c r e e ni n t om e m o r y .

T h ep r o g r a mw i l lr e m a i na t t h e

m a i nm e n ui f i te n c o u n t e r sa l o a d

e r r o r .A g a i n ,i f y o us h o u l dh a p

p e nt o c h o o s et h i so p t i o na c c i

d e n t a l l y ,e n t e rf i l e n a m e$ t o

r e t u r n t ot h e m a i nm e n u .O p t i o n4 , P r i n tS c r e e n . T h i s

o p t i o np r i n t st h eg r a p h i c ss c r e e n

i n m e m o r yt o a 1 5 2 5 ,M P S - 8 0 1 ,M P S - 8 0 3o r o t h e r1 5 2 5 - c o m p a t

i b l e p r i n t e r .W h e ny o u c a l l t h i s

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

f i l e c r e a t e db y S p r i t e - P r i n t2 ,

c a l l e dP D U M P / 1 5 2 5 ,i s l o a d e d

f r o md i s k .I f a d i s ke r r o ro c c u r sd u r i n gl o a d i n g ,t h e p r o g r a mw i l l

r e t u r ny o u t o t h e m a i nm e n u .

Y o uc a n c h a n g et h e P D U M P /1 5 2 5f i l e n a m ea s l o n ga s t h e

c h a n g ei s r e f l e c t e di n t h e v a l u e

F $ i n l i n e2 2 6 0 .

O p t i o n5 , D i s p l a y S c r e e n .T h i s

d i s p l a y st h e h i - r e ss c r e e ni n

m e m o r y .P r e s s i n ga n y k e y r e

t u r n sy o ut o t h e m a i nm e n u .

O p t i o n6 , C l e a r S c r e e n .T h i s

o p t i o nc l e a r sh i - r e sc o l o rm e m o r y

a n dt h e h i - r e ss c r e e n .

O p t i o n7 , E x i tP r o g r a m .

W h e nt h e p r o g r a mi s w a i t i n g

f o ry o ut o p r e s sa k e y ,t h e c u r s o r

w i l lf l a s hi n t h e u p p e r - l e f tc o r n e ro f t h e s c r e e n .T h i st e l l sy o ut h a t

1 6

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 23/45

t h e p r o g r a mh a sf i n i s h e dd r a wi n g t h e h i - r e ss c r e e n .

S U B R O U T I N E SS p r i t e - P r i n ta l s oc o n t a i n s t h r e e

s h o r tm a c h i n e - c o d es u b r o u t i n e s .

T h ef i r s t ,a c c e s s e dw i t hS Y S8 2 8 ,

c o p i e s1 2 8c h a r a c t e r sf r o mR O Mt o R A M .T h es e c o n di s a c t i v a t e d

b y S Y S8 6 9 a n d c l e a r sh i - r e s

m e m o r yb y p o k i n gz e r o si n t ol o

c a t i o n s8 1 9 2t o 1 6 1 9 1 .T h et h i r d

s u b r o u t i n ei s a c t i v a t e d w i t haS Y S9 2 3 a n df i l l sh i - r e sc o l o r

m e m o r y ,b e g i n n i n ga t 1 0 2 4 ,w i t h

p r e d e t e r m i n e dv a l u e s .T h e d e

f a u l tc o l o rv a l u ei s 1 2 ,w h i c hc r e

a t e sb l a c kp l o t t i n go n am e d i u m

g r a yb a c k g r o u n d .T o c h a n g et h e

c o l o rc o m b i n a t i o n ,c h a n g et h e

P O K E2 5 1 , 1 2i n l i n e s8 0 a n d

2 3 4 0t o P O K E2 5 1 . x ,w h e r ex

= [ p l o tc o l o r ] *1 6 + [ s c r e e n

c o l o r ] .

T H EP R I N TS U B R O U T I N EI d e s i g n e dt h ep r i n t i n gs u b r o u

t i n ea s a s e p a r a t ep r o g r a ms o

y o u c a nu s e i t i n y o u ro w np r o

g r a m s .J u s t l o a d t h es u b r o u t i n e

w i t ht h e c o m m a n d

L O A D" f i l e n a m e ", 8 , 1

T h e np o k e4 9 1 5 2w i t ht h e v a l u e

o f t h eh i - r e ss c r e e n ' ss t a r t i n ga d

d r e s sd i v i d e db y 2 5 6 .S p r i t e - P r i n

p r i n t st h eh i - r e ss c r e e n b e g i n n i

a t 8 1 9 2 ,r e q u i r i n gy o ut o e n t e r

P O K E4 9 1 5 2 , 8 1 9 2 / 2 5 6

b e f o r ep r i n t i n g .T h eP r i n ts u b r o ut i n ec a nb e e x e c u t e da s f o l l o w s :

O P E N 4 , 4 : P R I N T # 4 : S Y S3 2 9 5 9 :

P R I N T # 4 : C L O S E4

T h er o u t i n eu s e sl o c a t i o n s2 5 1t o

2 5 4 ,a s w e l la s 4 9 1 5 2t o 4 9 1 7 3 .

W h e t h e r y o uu s eS p r i t e - P r i n ti n

i t s e n t i r e t yo r u s ej u s ta f e wo f i t s

s u b r o u t i n e s ,I t h i n ky o uw i l lf i n di t

u s e f u lf o rm a n ya p p l i c a t i o n s .■

1 7

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 24/45

P r i n t R i t e6 4

B y B o bK o d a d e k

R U NI t R i g h t

0 6 4 ;1 5 2 5 ,M P S - 8 0 1o rM P S - 8 0 3p r i n t e r

F r o my o u r e x p e r i e n c ew i t h

t y p e w r i t t e n o rp r i n t e dm a t e r i a l ,

y o u k n o wt h a ts o m el o w e r c a s e

c h a r a c t e r s( g , j , p , q a n dy ) , t h e

c o m m aa n dt h e s e m i c o l o nh a v e

" t a i l s "e x t e n d i n gb e l o wt h eb a s e

o f t h e p r i n t e dl i n e .T h e s ea r e

c a l l e dd e s c e n d e r s .

U n f o r t u n a t e l y ,s o m eC o m m od o r ed o tm a t r i xp r i n t e r s ,s u c ha s

t h e 1 5 2 5 ,M P S - 8 0 1a n d M P S -

8 0 3 ,u s ef o n t si n w h i c ht h ep u n c

t u a t i o nm a r k s a n dc h a r a c t e r s

w i t hd e s c e n d e r sa r e m o v e du p

a b o v et h e p r i n t e dl i n e ,m a k i n g

t h e ml o o ku n n a t u r a la n d s o m e

t i m e sd i f f i c u l tt o r e a d .A l t h o u g ha de q u a t ef o r r o u g hd r a f t s ,t h i st y p e

o f p r i n ti s u n s u i t a b l ef o rf o r m a ld o c

u m e n t so r c o r r e s p o n d e n c e .T h e s e

p r i n t e r sa l s o l a c ka m u c h - n e e d e d

u n d e r l i n ec o m m a n d .

P r i n t R i t e6 4 i s a h a n d yC - 6 4

w e d g ep r o g r a mt h a ta d d st r u e

d e s c e n d e r st o t h e l o w e r c a s el e t

t e r s a n d p u n c t u a t i o np r o d u c e db y t h e 1 5 2 5 a n d M P S - 8 0 1 / 8 0 3

p r i n t e r s .I t a l s oc r e a t e st h e m i s s

i n gU n d e r l i n ec o m m a n d .A s a n a d d e db o n u s ,P r i n t R i t e

6 4 i s d e s i g n e dt o b o o t R U NS c r i p t6 4 V e r s i o n1 . 0 ( R U N ,

M a r c h a n dA p r i l1 9 8 6 ) .I t c a n

a l s o f u n c t i o ni n I m m e d i a t em o d e

a n d b e a c c e s s e db y a n y B a s i c

o r m a c h i n el a n g u a g ep r o g r a ma s

l o n ga s c e r t a i nc o m m a n dr e s t r i c

t i o n sa r e o b s e r v e d .

U S I N GP R I N T R I T E6 4

W I T HR U NS C R I P T1 . 0

A n y t i m e y o u w i s h t o u s e

P r i n t R i t e6 4 , j u s tl o a da n dr u ni t .

T h ep r o g r a mw i l lp r o m p t y o uw i t h

L O A DR U N S C R I P T ?( Y o rN ) . I f

y o u a n s w e ry e s , t h e p r o g r a m

a s k sf o rt h ed e v i c en u m b e r .Y o u

t h e ni n s e r ta d i s ko r t a p ec o n t a i ni n gR U NS c r i p ta n dp r e s s1 , 8 o r

9 , a s a p p r o p r i a t e .T h ep r o g r a m

s e a r c h e sf o r a n d l o a d sa p r o

g r a mf i l en a m e dR U N S C R I P T .I t

t h e nm o v e st h ec h a r a c t e rs e t ,d e

f i n e st h e m a c r o s ,a l t e r st h e v e c

t o r sa n db o o t sR U NS c r i p t .

B e f o r ep r i n t i n ga d o c u m e n t ,

y o u m u s tc h a n g et h e p a g el e n g t hf r o mt h e d e f a u l tv a l u eo f

1 8

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 25/45

6 6 t o a v a l u eo f 4 9 . E n t e r t h e

R U NS c r i p td o t c o m m a n d. p l 4 9

a t t h e b e g i n n i n go f e a c hd o c u

m e n tt o m a k et h i sc h a n g e .T o u n d e r l i n ea w o r d ,s e n t e n c e

o r p h r a s e ,u s e t h e m a c r oc h a r

a c t e ru . P l a c et h i sm a c r ob e f o r e

a n d a f t e rt h e t e x tt o b e u n d e r

l i n e d .O t h e rp r e d e f i n e dm a c r o

c h a r a c t e r sa r e R ( r e v e r s eo n ) ,r

( r e v e r s eo f f ) ,D ( d o u b l ew i d t ho n ) ,

a n d d( d o u b l ew i d t ho f f ) .

C O M M A N DL I M I T A T I O N S

T o p r e s e r v et h e i n t e g r i t yo f

P r i n t R i t e6 4 , t h e o n l yv a l i dp r i n t

c o m m a n d sa r ea s f o l l o w s :

C H R $ ( 1 3 ) — c a r r i a g er e t u r n

C H R $ ( 1 4 ) — e n t e rD o u b l e - W i d t h

m o d e

C H R $ ( 1 5 ) — e n t e rS t a n d a r d

C h a r a c t e rm o d eC H R $ ( 1 7 ) — u n d e r l i n et o g g l e

C H R $ ( 1 8 ) — e n t e rr e v e r s ef i e l d

C H R $ ( 1 4 6 ) — t u r no f fr e v e r s ef i e l d

F u r t h e rr e s t r i c t i o n sa p p l yt o t h e

u s eo f d o u b l e - w i d t ho r r e v e r s e - f i e l d

c h a r a c t e r s .I n n e i t h e rc a s ec a ny o u

i n c l u d ea n ys p e c i a lc h a r a c t e r si n

t h ew o r do r p h r a s et o b e p r i n t e d ,

a n d a n yd o u b l e - w i d t ht e x t m u s t

a p p e a ro n a s e p a r a t el i n e .

R U NS c r i p t1 . 0 n o r m a l l yu s e s

a l l t h eC - 6 4 ' sm e m o r yb y s w i t c h

i n go u t t h eB a s i ci n t e r p r e t e ra n d

l e a v i n go n l yt h e o p e r a t i n gs y s

t e m ,o r K e r n a l ,i n t a c t .R U NS c r i p t

u s e sl o c a t i o n s6 6 9 1a n d6 6 9 2a s

p o i n t e r st o t h e t o p o f a v a i l a b l e

m e m o r y .T h eB o o tr o u t i n ep l a c e s

a s m a l l e rv a l u ei n t h e s et w ol o

c a t i o n st o a l l o wP r i n t R i t e6 4 t o

r e s i d ec o n c u r r e n t l yi n R A Ma t

5 1 9 6 8 - 5 3 2 4 7 .

U S I N GT H EP R O G R A M

F R O MB A S I CO RI M M E D I A T EM O D ET o u s et h e w e d g ei n I m m e d i

a t e m o d eo r f r o ma B a s i cp r o

g r a m ,f i r s tl o a da n dr u nP r i n t R i t e

6 4 .W h e np r o m p t e dt o l o a dR U NS c r i p t1 . 0 ,p r e s sN . A l w a y so p e n

t h e p r i n t e rw i t ha d e v i c en u m b e r

o f 4 a n ds e c o n d a r ya d d r e s so f 7 ;

f o r e x a m p l e :O P E N4 , 4 , 7 .A n y

p r o g r a mt h a to b s e r v e st h ea b o v e

g u i d e l i n e sa n d d o e s n ' to c c u p y

t h e s a m em e m o r ya r e as h o u l d

b e c o m p a t i b l ew i t hP r i n t R i t e6 4 .

Y o u c a n d i s a b l e t h ew e d g e

f r o mB a s i cb y p r e s s i n gr u n - s t o p

/ r e s t o r ef r o mB a s i co r a f t e re x i t i n g

R U NS c r i p t .Y o uc a nr e s t a r ti t b y

e n t e r i n gS Y S5 2 2 9 6 .

T h e p r i n t e r ' sd e f a u l tc o m m aa n d s e m i c o l o na r e u s e dt o i n

c r e a s eo u t p u ts p e e d .I f y o uw a n t

t o u s et h e s ec h a r a c t e r s ,r e m o v et h e t w oR E Ms t a t e m e n t si n l i n e s

1 0 a n d 1 1 o f t h e B a s i cl o a d e r

b e f o r er u n n i n gi t . Y o uc a n a l s o

m a k et h e s et w o P o k e si n I m m e

d i a t em o d e .T o d i s a b l ee i t h e r

c h a r a c t e r ,p o k ea 1 0 i n t h e l o

c a t i o ns h o w n .

H O WI T W O R K SA l l d a t at r a n s f e r r e df o r o u t p u t

1 9

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 26/45

o n t h e c o m p u t e r ' ss e r i a lb u s i s

i n t e r c e p t e da n d h a n d l e db y a

w e d g ea t l o c a t i o n s$ 0 3 2 6 -$ 0 3 2 7( 8 0 6 - 8 0 7 ) .L o c a t i o n$ 9 A( 1 5 4 )i s c h e c k e dt o s e e w h e t h e ra

c h a n n e lt o a p r i n t e rw a so p e n e d

w i t hd e v i c en u m b e r4 . I f t h i sv a l u e

i s n o tf o u n d , t h ed a t ai s s e n tt o i t s

i n t e n d e d d e s t i n a t i o n — t h es c r e e n

o r t h ed i s kd r i v e .

I f a c h a n n e lt o a p r i n t e rw a so p e n e d ,t h ed a t ai s t e s t e dt o s e e

w h e t h e ri t ' s a c o m m a n db e i n gs e n tt o t h ep r i n t e r .A l lc o m m a n d so t h e rt h a n C H R $ ( 1 3 )a n dC H R $ ( 1 7 )a r ev a l i d a t e da n ds e n t

t o t h e p r i n t e r .T h e r e m a i n i n g

b y t e sa r ec o n s i d e r e dt o b e c h a r

a c t e r sa n da r e t h e n e v a l u a t e da s

e i t h e rs t a n d a r do r s p e c i a l .S p e

c i a lc h a r a c t e r sa r e t h el o w e r c a s e

l e t t e r sg , j , p , q a n dy , a l o n gw i t h

t h ec o m m a ,s e m i c o l o n ,q u o t a t i o n

m a r k a n du n d e r l i n e .A l ls t a n d a r d

c h a r a c t e r s a r ep r i n t e du s i n g t h e

c h a r a c t e rs e t r e s i d i n gi n t h ep r i n t

e r ' s R O M .S p e c i a lc h a r a c t e r s ,

p r i n t e di n G r a p h i c sm o d e ,a r e

r e a l l yc o m p o s e do f t w oc h a r a c

t e r s ,o n e t h e t o p h a l f ,a n d t h eo t h e rt h e p a r tt h a td e s c e n d sb e

l o wt h e l i n e .

W h e nP r i n t R i t e6 4 i s a c t i v a t e d ,

t h ep r i n t e rp r i n t se a c hl i n ei n t w o

p a s s e s .O nt h ef i r s tp a s s ,t h er o u

t i n e c o u n t st h e l e a d i n gs p a c e s

a n dd e t e r m i n e st h el e f tm a r g i n .I t

t h e np o s i t i o n st h e p r i n t h e a d ,u s

i n g t h e c o m m a n dt o s e t a t a b ,

C H R $ ( 1 6 ) .T h ep r o g r a mp r i n t sa l l

n o r m a lc h a r a c t e r sa n d t h e t o p

h a l fo f a l l s p e c i a lc h a r a c t e r so n

t h i sp a s s .

O n t h e s e c o n dp a s s ,t h e p r o

g r a mc h e c k st h e b u f f e rf o r s p e

c i a lc h a r a c t e r s ,u n d e r l i n et o g g l e s

a n d c a r r i a g er e t u r n s . P r i n t R i

t h e nd e t e r m i n e st h ep l a c e m e n to f

t h e s es p e c i a l c h a r a c t e r s .I t l o

c a t e s t h ep r i n t h e a d ,l o o k su p t h e

g r a p h i c sd a t a f r o ma t a b l ea n d

p r i n t st h ec h a r a c t e r .

T o s p e e du p t h e p r i n t i n gp r oc e s s ,t h e r o u t i n es c a n sf r o mt h e

c u r r e n tp r i n tp o s i t i o nt o t h e e n d

o f t h e l i n e .I f n o v a l i dc h a r a c t e r s

e x i s t ,o r i f t h e l i n e c o n s i s t so f

s p a c e s ,a c a r r i a g er e t u r ni s

p r i n t e di m m e d i a t e l y .W i t h o u tt h i s

t e c h n i q u e ,p r i n t i n gs p e e dw o u l d

b e r e d u c e dt o a c r a w l .

A l lc a r r i a g er e t u r n sa r e p r i n t e d

i n t h e G r a p h i c sm o d ea t n i n e

l i n e sp e ri n c h .T h i st e c h n i q u ea l

l o w sn o s p a c i n gb e t w e e nt h et o p

a n d b o t t o mo f e a c hc h a r a c t e r .

T h e r e f o r e ,e a c ht w o - p a r ts p e c i a l

c h a r a c t e ra p p e a r sa s a u n i t y .

S i n c et w oc a r r i a g er e t u r n sa r er e

q u i r e df o re a c hp r i n t e dl i n eo f t e x t ,

t h el i n e - f e e ds p a c i n ge f f e c t i v e l yb e

c o m e s4 % l i n e sp e r i n c h .T h i si s

w h yt h e p a g el e n g t hm u s tb e 4 9

i n s t e a do f t h en o r m a l6 6 .

P r i n t R i t e6 4 c a n i m p r o v et h e

q u a l i t yo f y o u r d o c u m e n t s ,m a k i n g

t h e mm o r er e a d a b l ea n d a t t r a c

t i v e .I t ' sa w e l c o m ea d d i t i o n t oa n y

w o r dp r o c e s s i n ga p p l i c a t i o n .■

2 0

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 27/45

D i s kS t u f f e r

B y S t e v eC a n n y

R U NI t R i g h t

G 6 4 ;C - 1 2 8 ;1 5 4 1d i s kd r i v e ,1 5 7 1d i s kd r i v e

( i n1 5 4 1m d e )

L o n gD i r e c t o r yi s a g r o u po f

t h r e ep r o g r a m st h a tu t i l i z en o r

m a l l yw a s t e dd i s ks p a c ew h e n

y o u ' r es t o r i n gl o t so f l i t t l eg r a p h

i c s f i l e s ,s u c ha s t h o s e c r e a t e d

b y T h e P r i n tS h o pa n d P r i n t -

M a s t e r .I t w i l l l e ty o us a v eu p t o

2 8 8o f t h e s ef i l e so n o n es i d eo f

a 1 5 4 1d i s k ,p r o v i d e dt h e yd o n ' t

e x c e e da t o t a lo f 6 6 4b l o c k s .

T o c r e a t ea " l o n gd i r e c t o r y , "

l o a da n d r u n L o n gD i r e c t o r y l ,

r e m o v et h e p r o g r a md i s k ,i n s e r t

a b l a n kd a t ad i s ka n df o l l o wt h e

s c r e e ni n s t r u c t i o n s .L o n gD i r e c

t o r y la l l o c a t e st r a c k1 9 o n t h e

d a t ad i s k ,s o t h eD O Sw o n ' ts a v e

a n yf i l e st h e r e .

W h e nL o n gD i r e c t o r y li s f i n

i s h e d ,t e s ti t b y e n t e r i n gt h eN e wc o m m a n d ,f o l l o w e db y t h i s

o n e - l i n e r :

1 0 F O R T = 1 T O 1 4 4 : S A V E " T E S T "

+ S T R $ ( T ) , 8 : N E X T

T h i sw i l ls a v e1 4 4t e s tf i l e st o

t h e d a t ad i s ki n a b o u tt e n m i n

u t e s .T h e nl o a da n d r u n L o n g

D i r e c t o r y 2f r o mt h ep r o g r a md i s k ,r e i n s e r tt h e d a t ad i s ka n df o l l o w

t h e s c r e e ni n s t r u c t i o n sa g a i n .

L o n gD i r e c t o r y 2t r a n s f e r st h e

c o n t e n t so f t r a c k1 8 t o t r a c k1 9

a n dr e f o r m a t st r a c k1 8 t o a c c e p t

a n a d d i t i o n a l1 4 4 f i l e s .W h e nL o n gD i r e c t o r y 2i s d o n e ,e n t e r

t h e N e wc o m m a n da n du s et h e

o n e - l i n e rt o a d da n o t h e r1 4 4t e s t

f i l e st o t h ed a t ad i s k .J u s tc h a n g e

t h e T E S Ti n t h e o n e - l i n e r t o

T E S T St h i st i m ea r o u n d .

N o wl o a da n dr u nL o n gD i r e c -

t o r y 3f r o mt h ep r o g r a md i s k ,r e i n

s e r tt h e d a t ad i s ka n df o l l o wt h e

s c r e e n p r o m p t s .L o n gD i r e c t o r y 3

f i n d st h e l a s ts e c t o ro n t r a c k1 8

o n t h ed a t ad i s ka n dc h a n g e st h e

s e c t o rl i n kt o p o i n tt o s e c t o r1 o n

t r a c k1 9 , w h i c hc o n t a i n st h es e c

o n dd i r e c t o r ya d d e dt o t h e d i s k .

L o n gD i r e c t o r y 3t h e n l i n k st h e

f i r s t1 4 4f i l e sw i t ht h es e c o n d1 4 4

f i l e sa n dv a l i d a t e st h ed i s kt o p r e

v e n to v e r w r i t i n g .A f t e ry o u ' v e

m o d i f i e dt h e d a t ad i s kw i t hL o n g

2 1

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 28/45

D i r e c t o r y 3 ,p l a c ea w r i t e - p r o t e c tW h e ny o ul o a dt h ed a t ad i s k ' s

t a bo n i t t o p r e v e n ta l t e r a t i o n s . d i r e c t o r ya n dl i s ti t , y o u ' l lf i n d t h a t

Y o uc a n ' tv a l i d a t ed i s k sm o d i - t h e t e s tf i l ea p p e a r s2 8 8t i m e s ,

f i e db y L o n gD i r e c t o r y ,n o rc a n T o u s eL o n gD i r e c t o r yw i t hy o u r

y o u s c r a t c hf i l e sf r o mt h e mo r o w nf i l e s ,j u s ts u b s t i t u t et h e mf o r

a d d f i l e st o t h e m .A l s o ,i f y o u t h e o n e - l i n e ra f t e rr u n n i n gL o n gh a v ea 1 5 7 1d r i v e ,y o uc a nr e a d D i r e c t o r i e s ia n d- 2 . ■t h ed i r e c t o r yi n 1 5 4 1m o d eo n l y .

2 2

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 29/45

6 4 N o t e p a d

C o m m a n dC e n t e r

B yB o bK o d a d e k

R U NI t R i g h t

C 6 4 ;p r i n t e ro p t i m a l

I n t h e J a n u a r y1 9 8 7i s s u eo f

R U N ,I p r e s e n t e dt h e f i r s te n

h a n c e m e n tt o m y 6 4 N o t e p a d

p r o g r a mf r o m t h e S e p t e m b e r

1 9 8 6i s s u e .F o rt h o s ew h om a yh a v em i s s e di t , 6 4 N o t e p a di s a

p r o g r a mt h a tt a k e so v e rc o n t r o l

o f t h eC - 6 4t o p r o v i d ea n i n s t a n t -

a c c e s st e x t w i n d o wf o r j o t t i n g

d o w na n d r e c a l l i n gp r o g r a m

m i n gn o t e s — w i t h o u ta f f e c t i n gt h e

o r i g i n a ls c r e e nd i s p l a y .I t i s a m ac h i n el a n g u a g er o u t i n et h a t ' s

t r a n s p a r e n tt o m o s to t h e rB a s i c

p r o g r a m s ,a n ds o w o n ' ti n t e r f e r e

w i t ht h e m .

T h ep r o g r a mi n t h i sa r t i c l e ,a

B a s i c l o a d e rc a l l e dN o t e p a dD O S ,w i l la d de v e nm o r ep o w e r

t o y o u r6 4 N o t e p a dw i n d o w .I t

p r o v i d e sa m e n u - d r i v e nD O S

c o m m a n dc e n t e rf o r v i e w i n gt h ed i s kd i r e c t o r y ,f o r m a t t i n go r v a l

i d a t i n ga d i s k , i n i t i a l i z i n gt h e

d r i v e ,o r r e n a m i n g ,c o p y i n go r

s c r a t c h i n gf i l e s ,e a c ho p e r a t i o n

a c c o m p l i s h e db y p r e s s i n go n l y

o n e k e y . I ' v e a l s o i n c l u d e da

c o m m a n dt h a tl o a d sa b i n a r yf i l e

w i t h o u ta l t e r i n gt h e B a s i cm e mo r y p o i n t e r s .

B e c a u s ey o ud o n ' tn e e dt o e n

t e r c o m m a n ds t r i n g s ,N o t e p a dD O Si s f a s t e r ,m o r ec o n v e n i e n t

a n de a s i e rt o u s et h a nt h e D O SW e d g e .I t s f u n c t i o n sw i l l w o r k

w h i l ea n o t h e rp r o g r a mi s e x e

c u t i n g ,a n dy o u ' l lf i n dt h e ms e l f -

e x p l a n a t o r y .T h eS i m p l eA p p e n d

p r o g r a mt h a tw a se m p l o y e di n

J a n u a r yt o c r e a t e6 4 N o t e p a dI I

i s a l s ou s e dh e r et o c r e a t eN o t e

p a dI I I ,b y a d d i n gN o t e p a dD O St o N o t e p a dI I .

S i n c et h e N o t e p a dD O Se n h a n c e m e n tm a k e s6 4 N o t e

p a d r a t h e rl a r g e ,i t n o wt a k e sa

l o n gw h i l ef o rt h eD a t as t a t e m e n t

i n f o r m a t i o nt o b e p o k e di n t o

m e m o r y . T os a v et i m e ,I ' v e i nc l u d e da s m a l lB a s i cp r o g r a m ,

c a l l e dN o t e p a dS a v e ,t h a t w i l l

2 3

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 30/45

D

NR

1

B

V

C

S

Q

D i r e c t o r y

F o r m a tR e n a m e

I n i t i a l i z e

B L o a d

V a l i d a t e

C o p y

S c r a t c h

Q u i t

T a b l e1 . N o t e p a dD O Sc o m m a n d s .

T o o b t a i nt h e 6 4 N o t e p a d ,6 4

N o t e p a dI I a n dS i m p l eA p p e n d

p r o g r a m s ,o r d e rt h e S e p t e m b e r -

O c t o b e r1 9 8 6a n dJ a n u a r y - F e b

r u a r y1 9 8 7R e R U Nd i s k s . Y o u ' l l

f i n da n o r d e rf o r mo n t h e b a c k

p a g eo f t h i sb o o k l e t .

m a k ea f a s t - l o a d i n gb i n a r yf i l e

o u t o f N o t e p a dI I I .

C R E A T I N GN O T E P A DI I I

F i r s t ,y o um u s t h a v ea w o r k i n g

c o p yo f 6 4 N o t e p a dI I f r o mJ a n

u a r yo n d i s k .[ I f y o u d o n ' ta l

r e a d yh a v et h e 6 4 N o t e p a d ,6 4

N o t e p a dI I a n d S i m p l eA p p e n d

p r o g r a m s ,s e e t h e n o t e i n t h e

t a b l ea b o v ef o r i n s t r u c t i o n so n

o b t a i n i n gt h e m . ]T h e nl o a dN o t e

p a d D O S ,s o y o u c a na d d i t t o

N o t e p a dI I w i t ht h e S i m p l eA p

p e n dp r o g r a m .T h e p r o p e rs y nt a x f o r a n a p p e n di s S Y S( S A ) ,

" F I L E N A M E " ,w i t ht h e v a r i a b l e

S A h o l d i n gt h e s t a r t i n ga d d r e s s

o f t h e a p p e n dr o u t i n e .T h eS A

v a l u ey o u s h o u l du s e i s t h e d e

f a u l ta d d r e s s8 2 8i n t h e c a s s e t t e

b u f f e r .

L o a d a n dr u nS i m p l eA p p e n d ,

t h e nl o a dN o t e p a dI I . N e x t ,p l a c e

t h e d i s kc o n t a i n i n gN o t e p a d

D O Si n t h e d r i v e ,a n d , i n D i

r e c t m o d e ,e n t e r t h ef o l l o w i n g

c o m m a n d :

S Y S8 2 8 , " N O T E P A DD O S "

I f n o e r r o r so c c u r , t h eO Km e s

s a g ew i l l a p p e a r ,i n d i c a t i n gt h a t

y o uh a v ea c o p yo f N o t e p a dI I I i n

m e m o r y . T os a v ei t , e n t e rt h ef o l

l o w i n gl i n e :

S A V E " 6 4N O T E P A DI I I " , 8

N o w ,w i t ht h e p r o g r a ms a f e l yo nd i s k ,y o u ' r er e a d yt o t r y i t o u t .

U S I N GT H EN E WR O U T I N E S

Y o uc a na c c e s st h eD O Sm e n uw h e n e v e rt h eN o t e p a dw i n d o wi s

o p e nb y p r e s s i n gc o n t r o l / D .T h e

o n e - k e yc o m m a n d st h a tw i l la p

p e a ra r e l i s t e di n T a b l e1 . T o s e

l e c t t h e f u n c t i o ny o u w a n t ,j u s t

p r e s st h e a p p r o p r i a t ek e y .I f t h e

r o u t i n en e e d sa n y i n f o r m a t i o n

f r o my o u ,i t w i l li s s u ea p r o m p ta t

t h e a p p r o p r i a t et i m e .

Y o uc a n a b o r ta n y o p e r a t i o n

o n t h em e n ub y p r e s s i n gt h es t o p

k e y ,a n dt h ec u r r e n ts t a t u so f t h e

e r r o rc h a n n e l a l w a y sa p p e a r sa tt h e b o t t o mo f t h e m e n us c r e e n .

T o r e t u r nt o v i e w i n gy o u rn o t e s ,

2 4

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 31/45

s e l e c tt h eE x i to p t i o n ,o r ,t o r e t u r n

t o B a s i c ,p r e s sc o n t r o l / Ct o c l o s e

t h ew i n d o w .

C O N V E R T I N GB A S I C

T O B I N A R Y

A s I m e n t i o n e d ,I ' v ei n c l u d e di n

t h e N o t e p a dp a c k a g ea p r o g r a m

c a l l e dN o t e p a dS a v ef o r c o n v e r t

i n gN o t e p a dI I I i n t oa f a s t - l o a d i n g

b i n a r yf i l e .I t w o u l db e a g o o di d e a

t o s t o r et h e b i n a r yf i l et h a tN o t e p a d

S a v ew i l lc r e a t eo n an e w l yf o r

m a t t e dd i s k ,s o p r e p a r eo n e a n d

h a v ei t h a n d y .T h e nt u r ny o u rc o mp u t e ro f fa n do n t o c l e a ro u ta n y

r e s i d e n tp r o g r a m s .

N e x t ,l o a da n dr u nN o t e p a dI I I ,

a n d ,a t t h e r e a d yp r o m p t ,p r e s s

t h e r u n - s t o pa n dr e s t o r ek e y ss i

m u l t a n e o u s l yt o d i s a b l et h eN o t ep a di n t e r r u p t .N o w ,l o a da n dr u n

N o t e p a dS a v e ,a n dw h e ni t a s k s

f o rt h ef i l e n a m ea n dl o c a t i o n so f

t h e m a c h i n el a n g u a g ep r o g r a m ,

r e s p o n da s f o l l o w s :

F I L E N A M E ?6 4 N O T E P A DV 3 . 0

S T A R TA D D R E S S ?5 0 4 4 8

E N DA D D R E S S ?5 2 8 0 1

W h e ny o ui n s e r tt h e f o r m a t t e d

d i s ka n d p r e s sr e t u r n ,N o t e p a d

w i l lb e s t o r e da s a b i n a r yf i l e .

T o e x e c u t et h i sf i l e ,y o un e e d

t h eN o t e p a dB o o tp r o g r a m .S a v e

i t o n t h es a m ed i s ka s t h e b i n a r y

f i l e .N o w , w h e n e v e ry o u w a n tt o

u s e 6 4 N o t e p a d ,j u s t l o a da n d

r u nN o t e p a dB o o t .T h eb i n a r yf i l ew i l lb o o ti n o n l ye i g h ts e c o n d s ,a

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

Y o uc a nu s eN o t e p a d S a v et o

m a k ea b i n a r yf i l eo u to f a n yd a t a

a r e ai n m e m o r y ,w h e t h e ri t b e a

m a c h i n el a n g u a g ep r o g r a m ,a h i

r e ss c r e e n ,a s p r i t eo r s o m e t h i n g

e l s e .A l l y o u n e e da r e t h es t a r t

i n ga n de n d i n ga d d r e s s e so f t h es e c t i o no f m e m o r yy o u w a n tt o

b e s a v e d .T h e s eb i n a r yf i l e sc a n

b e l o a d e dw i t ht h e , 8 , 1 s y n t a x

o r t h e N o t e p a dD O SB L o a dc o m m a n d .■

2 5

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 32/45

P o w e rK e y

B yJ o h nR y a n

R U NI t R i g h t

C - 6 4

L i k em a n yo t h e rC - 6 4o w n e r s ,

m y c o l l e c t i o no f p r o g r a m m i n g

u t i l i t i e sh a s g r o w nc o n s i d e r a b l y

o v e r t h e y e a r s . U n f o r t u n a t e l y ,

m o s to f m y B a s i cu t i l i t i e sa r e n o t

t a i l o r e d t om e e t m y s p e c i f i c

n e e d s ;I ' m l e f t a t t h e m e r c yo ft h e a u t h o r ' so w ni d e ao f w h a ta

u t i l i t ys h o u l da n ds h o u l dn o td o .

I w r o t et h e P o w e r K e yp r o

g r a mt o h e l pm e d e s i g na u t i l i t y

t h a tm e e t sm y n e e d s ,n o t t h o s e

o f s o m e o n ee l s e .I t p r o v i d e so n e -

k e y e n t r yo f B a s i ck e y w o r d s ,

p l u so t h e rc o m m a n d st h a t p e r

f o r mv a r i o u ss c r e e na n d e d i t i n g

f u n c t i o n s .

P o w e rK e yl e t sy o ua s s i g nu p

t o 1 6 B a s i ck e y w o r d st o t h ef u n c

t i o nk e y so n y o u rC - 6 4 ;o r y o u

c a n c h o o s et h e p r o g r a m ' sD e

f a u l to p t i o n ,w h i c ha s s i g n s p r e

d e f i n e dk e y w o r d st o t h ef u n c t i o n

k e y s .A s a b o n u s ,a n u m b e ro f

f u n c t i o n st h a te n h a n c et h e c o n

t r o l k e ya r e a l s oi n c l u d e d .

U S I N GP O W E RK E YA f t e rl o a d i n gP o w e rK e y ,t y p e

S Y S4 9 1 5 2t o r u n t h ee d i t o rp o r

t i o n o ft h e p r o g r a m ,w h e r ey o u

c a n c u s t o m i z ei t a s y o u w i s h .

Y o u ' r eg i v e nt h e t w oo p t i o n so f

a s s i g n i n g t h ed e f a u l tk e y w o r d s

o r y o u ro w n .

I f y o uc h o o s et h e D e f a u l to p

t i o n ,P o w e r K e ya s s i g n st h et w o

s e t so f B a s i ck e y w o r d si n T a b l e1 t o t h e f u n c t i o n k e y s .I f y o u

c h o o s et o d e f i n ey o u ro w n ,

P o w e rK e yp r i n t st h e n a m eo f

t h e f u n c t i o nk e y a n d p r o m p t s

y o u t o e n t e ra B a s i ck e y w o r d .

S i n c eB a s i c2 . 0k e y w o r d s c a nb e

n o m o r et h a ns i x c h a r a c t e r si n

l e n g t h ,P o w e r K e yr e a d so n l yt h e

f i r s ts i x c h a r a c t e r so f y o u ri n p u t .

T o k e e pt h e p r o g r a ms h o r t ,

I ' v ei n c l u d e dn o c h e c kf o r s p e l l

i n g , s o b e s u r et h a te a c hk e y

w o r dy o u e n t e ri s s p e l l e dc o r

r e c t l y .O t h e r w i s e ,i t w i l lc a u s ea

s y n t a xe r r o rw h e nu s e di n y o u r

p r o g r a m .

O n c ey o u ' v e a s s i g n e dt h ek e y

w o r d s ,y o u c a n s a v et h e mt o

d i s k a s a s m a l lm a c h i n el a n -

2 6

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 33/45

g u a g ef i l e u n d e r af i l e n a m eo f

y o u rc h o i c e .A f t e rs a v i n gt h ef i l e ,

y o u ' r eg i v e nt h e o p t i o nt o c r e a t e

a n o t h e rf i l e .I f y o u a n s w e ry e s ,t h e p r o c e s so f a s s i g n i n gk e y

w o r d sr e p e a t s .I f y o ua n s w e rn o ,

t h e p r o g r a me x i t st o B a s i c .

S h o u l dy o uc h o o s et o c r e a t es e v

e r a lf i l e sw i t hm a n yd i f f e r e n tk e y

w o r d s ,I s u g g e s tw r i t i n gt h e

f i l e n a m e sa n dt h e i rf u n c t i o nk e y

d e f i n i t i o n so n 5 - b y - 7c a r d sf o r

r e f e r e n c e .

P R O G R A M M I N GW I T H

P O W E RK E YU s i n gP o w e r K e yi n y o u ro w n

B a s i cp r o g r a m m i n gi s e a s y .

D o n ' tl o a d t h em a i nP o w e r K e y

p r o g r a m .I n s t e a d ,l o a do n e o f

t h e f i l e sy o u ' v ec r e a t e dw i t ht h ep r o g r a m .U s et h e s y n t a xL O A D" f i l e n a m e " , 8 , 1f o rt h i so p e r a t i o n .

A f t e rt h e f i l eh a s l o a d e d ,t y p e

N E Wt o r e s e tt h e B a s i cp o i n t e r s ,

a n d e n t e rS Y S4 9 6 6 2 .P o w e r

K e yw i l lt h e nb e a c t i v a t e d ,a l o n g

w i t ht h e f o l l o w i n gk e yf u n c t i o n s :

F 1 - F 8 :P r i n tB a s i ck e y w o r d s .C o m m o d o r ek e y :T o g g l e st h e

c o m p u t e rb e t w e e nt h e t w os e t s

o f B a s i ck e y w o r d s .W h e ny o ui n i

t i a l l ya c t i v a t ea P o w e rK e yf i l e ,

k e y w o r ds e t # 1 i s a c t i v e .P r e s s

t h e C o m m o d o r ek e y t o a c c e s s

t h e s e c o n ds e t , a n d p r e s si t

a g a i nt o c h a n g eb a c kt o t h ef i r s t .

C o n t r o l / B :C h a n g e st h eb o r d e r

c o l o r .

C o n t r o l / S :C h a n g e st h es c r e e n

c o l o r .

C o n t r o l / L :C h a n g e st h e c o l o r

o f e v e r yc h a r a c t e ro n t h es c r e e n .C o n t r o l / E :E s c a p e s Q u o t

m o d e .C o n t r o l / Ei s t h e o n l yf u n c

t i o nt h a tw o r k sw h i l et h ec o m p u t e r

i s i n Q u o t e m o d e ,d e a c t i v a t i n gi t i f

y o un e e dt o u s eP o w e rK e yf u n c

t i o n s .I t p r o v i d e sa w a yt o e n t e r

k e y w o r d sa s s i g n e dt o t h e F 1 - F 8

k e y sa n d c o n t r o l / c o l o rc o m b i n a

t i o n s w i t h i nB a s i cs t r i n g s .

H o l d i n gd o w nt h ec o n t r o l k e y :

F r e e z e st h e C - 6 4 ' st i m ec l o c k

a n ds u s p e n d st h e e x e c u t i o no f a

B a s i co r m a c h i n el a n g u a g ep r o

g r a mu n t i lt h e k e y i s r e l e a s e d .

T h i sf u n c t i o ni s u s e f u lf o r e x a m

i n i n gB a s i cp r o g r a ml i s t i n g s ,o r

f o r e x a m i n i n gs c r e e nd i s p l a y sd u r i n ga p r o g r a m ' se x e c u t i o n .

T h e C o m m o d o r ek e y c a n b e

u s e di n a s i m i l a rm a n n e r ,b u t i t

t o g g l e s t h ek e y w o r ds e t e a c h

t i m ei t ' s p r e s s e d .

T o e x i tP o w e rK e y , p r e s st h e

r u n - s t o p / r e s t o r ek e yc o m b i n a t i o n .

A l l o f P o w e rK e y ' sf u n c t i o n sw o r ki n b o t hP r o g r a ma n dD i r e c t

m o d e s .T h i si s p o s s i b l eb e c a u s e

t h ep r o g r a md i v e r t st h eh a r d w a r e

i n t e r r u p tv e c t o r( C I N V$ 0 3 1 4 -

$ 0 3 1 5 )t o p o i n tt o t h eP o w e rK e y

r o u t i n e sb e f o r ep e r f o r m i n gh o u s e

k e e p i n g c h o r e sl i k ef l a s h i n gt h e

c u r s o r ,u p d a t i n gt h e c l o c ka n d

s c a n n i n gt h ek e y b o a r d .

I f a f u n c t i o nk e y h a s b e e n

2 7

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 34/45

S E T# 1

F 1 L I S T

F 2 G O T O

F 3 G O S U B

F 4 R E T U R N

F 5 P R I N T

F 6 R E M :

F 7 P O K E

F 8 P E E K

T a b l e1 . L i s t sk e y w o r d s .

S E T# 2

F 1 D A T A

F 2 R E A D

F 3 T H E N

F 4 N E X T

F 5 R I G H T S

F 6 L E F T S

F 7 L O A D

F 8 S A V E

o f d e f a u l t

p r e s s e d ,t h ep r o g r a ma t t e m p t st o

m a t c ht h e k e y ' sA S C I Iv a l u ew i t h

v a l u e ss t o r e di n a r e f e r e n c et a b l e

i n m e m o r y .W h e na m a t c hi s

f o u n d ,a B a s i ck e y w o r di s p r i n t e d ;

o t h e r w i s en o r m a lp r o g r a mc o n t r o lc o n t i n u e s .

I f y o u ' v ep r e s s e dt h ec o n t r o l o r

C o m m o d o r ek e ya t l o c a t i o n6 5 3 ,

P o w e rK e y e i t h e rp e r f o r m sa

s c r e e nf u n c t i o n o rt o g g l e st h ek e y

w o r ds e t ,d e p e n d i n g o nw h i c hk e y

y o u p r e s s e d .A v a l u eo f 2 r e p r e

s e n t s t h eC o m m o d o r ek e y ;a v a l u e

o f 4 , t h e c o n t r o lk e y .Y o uc a ni n

c l u d et h e s t a t e m e n tX = P E E K( 6 5 3 ) : P R I N TX i n y o u rB a s i c p r o

g r a m st o d e t e r m i n ei f e i t h e rt h e

s h i f t ,c o n t r o l o rC o m m o d o r ek e y

h a sb e e np r e s s e d .■

2 8

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 35/45

D r u m m o d o r e

B y L a r r yC o t t o n

R U NI t R i g h t

0 6 4

D r u mm a c h i n e s ,d i g i t a ld e

v i c e st h a ts i m u l a t et h es o u n d so f

p e r c u s s i o ni n s t r u m e n t s ,a r e f a s t

b e c o m i n gp o p u l a rw i t hb o t h

p r o f e s s i o n a la n d a m a t e u rm u s i

c i a n s .T h es o u n d sa r e e n c o d e d

o n R O Mc h i p s ,s o t h e " d r u m

m e r "h a so n l yt o t a p a f e wk e y s

o n t h e k e y b o a r dt o s o u n dl i k ea

s t u d i om u s i c i a n .

I w r o t eD r u mM a c h i n et o e mu l a t ec o m m e r c i a ld r u mm ac h i n e s .I t d e m o n s t r a t e sb a s i c

f e a t u r e so f t h e m o r es o p h i s t i

c a t e d p r o d u c t sa n d w i l l l e t y o u

c r e a t es o m ed r u mm u s i co f y o u r

o w n .W i t hi t , y o uc a nr e c o r da n dp l a ys e q u e n c e so f d r u mb e a t s ,

e d i t t h e m ,v a r y t h e i rt e m p o s ,

p l a c et h e mi n c o n t i n u o u sl o o p s

a n ds a v et h e mt o a n dl o a dt h e m

f r o md i s k .

A l t h o u g ht h e p r o g r a mi s w r i t

t e n c o m p l e t e l yi n B a s i c ,i t c a n

p l a ya s e q u e n c ea c c u r a t e l ya n d

q u i c k l y .I a c h i e v e dt h es p e e db y

a s s i g n i n gl e t t e rn a m e st o c o n

s t a n t sa n db y k e e p i n gt h e m a i n

r e c o r d i n ga n dp l a y i n gl o o pc o mp a c t .I u s e dt h eC - 6 4 ' sb u i l t - i nT l

f u n c t i o n( n o tF o r / N e x tl o o p s )t o

c r e a t ea c c u r a t e b e a td u r a t i o n s .

T H EM E N UW h e ny o ur u nD r u mM a c h i n e ,

a m e n ul i s t i n ga l l t h es o u n d st h e

p r o g r a mw i l lm a k e ,p l u s t h ep r o

g r a mf u n c t i o n s ,w i l l a p p e a ro n

t h e s c r e e n .T o p r o d u c ea s o u n d

o r a c c e s sa f u n c t i o n ,j u s tp r e s s

t h e a p p r o p r i a t ek e y .

T h ef i r s tg r o u po f m e n ui t e m s

i n c l u d e st h e n i n ep e r c u s s i o n

s o u n d sa n da n a s t e r i s k .T h ea s

t e r i s ki s u s e dt o d e f i n el o o ps e

q u e n c e s ,a s I w i l ld e s c r i b el a t e r .

S u m m a r i e so f t h ef u n c t i o nk e y

c o m m a n d sa p p e a rn e x t .T h e r ea r e n i n eo f t h e m ,i n s t e a do f t h e

e i g h ty o um i g h te x p e c t ,b e c a u s e

F 5 t o g g l e sb e t w e e nt h eP l a ya n d

S t o pm o d e s .

T h er e t u r nk e ye r a s e st h e s e

q u e n c ey o u ' r ew o r k i n go n s o

y o u c a ns t a r to v e rf r o ms c r a t c h .

T h i sf u n c t i o ni n c l u d e sa s a f e t y

m e s s a g e ,s o i f y o uh i t r e t u r nb y

m i s t a k eo r c h a n g ey o u rm i n d

2 9

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 36/45

a b o u ts t a r t i n go v e r ,y o uc a ns t o p

t h e e r a s u r e .

T h e n e x tt w o i t e m so n t h e

m e n us c r e e nl e t y o uc h a n g et h et e m p oo f a s e q u e n c ea n d

c h o o s et h e p r o g r a mm o d ey o u

w a n tt o w o r ki n . O n em o r ei t e m ,

w h i c hc o u n t st h e n u m b e ro f

b e a t si n a s e q u e n c e ,a p p e a r so n

t h e m e n us c r e e nw h e ny o ua c

c e s sR e c o r do r P l a ym o d e .

P R A C T I C I N GA l l t h e s o u n d sa r e p r o d u c e d

w i t he i g h to f t h eb o t t o m - r o wk e y s

a n dt h e s p a c eb a r . Y o u ' l lf i n di t

e a s i e s tt o p l a yw i t ht h ef i n g e r so f

y o u rl e f th a n do n k e y sZ t h r o u g h

V , t h ef i n g e r so f y o u rr i g h th a n d

o n B t h r o u g h< a n dy o u rt h u m b s

o n t h e s p a c eb a r .

T h ep r o g r a ms t a r t so f fi n P r a c

t i c e m o d e , w h e r et h e s o u n d s

d o n ' t g e tr e c o r d e d .P r a c t i c e

a w h i l et o g e tu s e dt o t h es o u n d s

a n dt h ea l m o s ti m p e r c e p t i b l el a g

b e t w e e np r e s s i n ga k e y a n d

h e a r i n gi t . W h e ny o u ' r e r e c o r d

i n g , y o u ' l lh a v et o i g n o r et h i sl a g ,

b e c a u s ei f y o uw a i tf o rt h ec o mp u t e rt o " c a t c hu p , "y o u ' l lf i n d

y o u r s e l f p l a y i n gs l o w e ra n ds l o w e r .

S t a yi n P r a c t i c em o d eu n t i ly o u

g e t t h e s e q u e n c et h e w a yy o u

w a n ti t ; t h e n p r e s sF 1 t o r e c o r d .

R E C O R D I N GI n R e c o r dm o d e ,w h e ny o u

p r e s st h e f i r s t s o u n dk e y , t h e

t i m e rw i l ls t a r ta n dk e e pr u n n i n g

a s l o n ga s y o u ' r ei n t h a tm o d e .

B e c a u s ei t k e e p sr u n n i n g ,i f y o u

p a u s ea f t e ra b e a t ,t h ec o m p u t e rw i l lt h i n kt h a tb e a ti s a v e r yl o n g

o n e .T h e n ,w h e ny o u p l a yt h e

s e q u e n c eb a c k , t h ec o m p u t e r

w i l ls e e mt o g e ts t u c k ,p r o d u c i n g

n o s o u n d s ,w h i l ei t w a i t sf o r t h e

" l o n g "b e a tt o e n d .T o f i x a s i t

u a t i o nl i k et h i s ,y o u h a v et o e d i t

t h e l o n gb e a to u t ;s e et h ee d i t i n g

i n s t r u c t i o n sb e l o w .

I n c o n t r a s tt o s o m ep r o f e s

s i o n a ld r u mm a c h i n e s ,m y p r o

g r a mc a n p r o d u c eo n l y o n e

s o u n da t a t i m e ,a n dt h e r e ' sn o

p r o v i s i o nf o rv a r y i n gt h ed u r a t i o n

o f a b e a t .T h em a x i m u mn u m b e r

o f b e a t sy o uc a n r e c o r di s 5 0 0 ,

b u t t h e r e ' sn o s i g n a lw h e ny o u

p a s st h e l i m i t .

T o i n c r e a s eo r d e c r e a s et h e

t e m p oo f a s e q u e n c e ,p r e s sF 3

o r F 4 , k e e p i n gi n m i n dt h a tt h e

b e a t sw i l ls t a r tt o r u n t o g e t h e ra t

a b o u t3 0 . I t ' s b e s tt o r e c o r da t

t e m p o1 0 . I f y o uh a v ea d i f f i c u l t

s e q u e n c et o r e c o r d ,t r y p r e s s i n g

t h e k e y ss l o w l y ,t h e ns p e e d i n gu p t h e t e m p o ,u s i n gF 3 .

T o l i s t e nt o y o u rs e q u e n c ea t

a n y p o i n t ,p r e s sF 5 , f o r P l a y

m o d e .A f t e rt h e e n t i r es e q u e n c e

h a s p l a y e dt h r o u g h , t h ec o m

p u t e rw i l l a u t o m a t i c a l l y s w i

b a c kt o R e c o r dm o d e ,w h e r e

y o uc a na d dm o r eb e a t so r e d i t

w h a ty o u ' v ea l r e a d yg o t .

Y o u c a n h a l t a p l a y i n gs e -

3 0

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 37/45

q u e n c eb y t a p p i n gF 5 a g a i nt o

p l a c et h e c o m p u t e ri n S t o p

m o d e .T h e n ,f r o mS t o pm o d e ,

y o u c a na c c e s so t h e rf u n c t i o n sb y p r e s s i n g t h e a p p r o p r i a t ek e y ,

o r r e t u r n t op l a y i n g — f r o mt h eb e

g i n n i n go f t h e s e q u e n c e — b yp r e s s i n gF 5 y e t a g a i n .A n ys o u n d sy o u p l a yi n S t o pm o d ew o n ' tb e r e c o r d e d .

P r e s s i n gF 7 o r F 8 l e t sy o ul o a d

a s e q u e n c ef r o md i s ko r s a v ei t

t o d i s k .W h e nl o a d i n g ,b e s u r et o t y p et h es e q u e n c e ' sn a m ee x

a c t l ya s y o u s a v e di t .

E D I T I N G

T oe d i ta s e q u e n c e , y o um u s tb e

i n e i t h e rR e c o r do r S t o pm o d e .

T h eo n l yw a yt o m a k ec h a n g e si s

t o p r e s sF 6t o b a c ku p t h r o u g ht h e

s e q u e n c e ,e r a s i n gb e a t sa s y o u

g o .T h e ny o uc a na d do n r e p l a c e

m e n t sa s y o uw i s h .

B e c a u s et h i si s D r u mM ac h i n e ' s o n l ye d i t i n gf e a t u r e ,i f y o u

w a n tt o m a k ea c h a n g en e a rt h e

b e g i n n i n go f a l o n gs e q u e n c e ,

i t ' s e a s i e s tt o j u s th i t r e t u r na n d

s t a r to v e r .I t ' se v e nb e t t e r t oe d

i t a s e q u e n c ei n s m a l lc h u n k sa s y o u g o a l o n g ,s o y o u d o n ' t

h a v et o m a k ec h a n g e sa l o n g

w a yb a c k .

D E F I N I N GL O O P SY o uc a nu s eD r u mM a c h i n et o

a c c o m p a n yo t h e rm u s i c b yp l a c

i n g a s e q u e n c ei n a c o n t i n u o u s

l o o p .Y o ud o t h i si n R e c o r dm o d eb y p r e s s i n gt h e * k e ya f t e rt h e

l a s tb e a ty o uw a n ti n t h el o o p .B e

s u r et o a l l o wa n i n s t a n t o ft i m e

b e t w e e nt h el a s tb e a ta n dh i t t i n g

t h e * k e y ,s o y o ud o n ' t c u tt h e

l a s tb e a ts h o r t .

O n c ey o u ' v ef l a g g e dt h ee n do f

t h el o o pw i t ha n * , t h e o n l yw a yt o

a d dt o i t i s t o e d i to u t t h ef l a g .P r o b

a b l yt h em i n i m u my o u ' dw a n tf o r

a c o n t i n u o u sl o o ps e q u e n c ew o u l d

b e o n eb a s sd r u mb e a ta n d o n es n a r ed r u mb e a t .■

3 1

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 38/45

R o b o t g r a p h

B y R i c kK e p h a r t

R U NI t R i g h t

C - 6 4

R o b o t g r a p hi s a " m u l t i m e d i a "

p r o g r a mI d e s i g n e dt o h e l pc h i l

d r e ni n t h e m i d d l eg r a d e sl e a r n

h o wt o u s eb a r g r a p h s .T h ep r o

g r a m ' sa n i m a t i o nw i l lc a p t u r et h e

y o u n g s t e r s 'a t t e n t i o n ,a n d t h e

s o u n dw i l lr e i n f o r c et h e r e l a t i o n

s h i pb e t w e e nt h e v a l u eo f e a c h

b a r a n d i t s h e i g h t .

W h e ny o u r u n R o b o t g r a p h ,i t

f i r s ts e t su p a h o r i z o n t a lx - a x i s ,

l a b e l e dA t h r o u g hH , a n da v e r

t i c a ly - a x i s ,l a b e l e d1 t h r o u g h1 0 .

T h e b a r s ,A - H ,w i l le x t e n du p

f r o mt h e x - a x i s t ov a l u e sm e a

s u r e do n t h e y - a x i s .

N e x t ,t h e p r o g r a mr e q u e s t sav a l u ef o rt h ef i r s tb a r ,A . Y o uc a n

e n t e ra n y w h o l en u m b e rf r o m0

t h r o u g h1 0 o r a n y h a l f - v a l u ei n

b e t w e e n ,w r i t t e ni n d e c i m a lf o r m .

A f t e ry o ue n t e ra v a l i dn u m b e r ,

a b e e p i n gr o b o td e s c e n d sf r o m

t h e t o p o f t h e s c r e e n ,a n da s i t

r e a c h e st h e x - a x i s ,i t s t o p sa n d

e x t e n d sa c l a w .T h er o b o tu s e s

t h e c l a wt o " l i f t "t h e b a r r e p r e

s e n t i n gt h e v a l u ey o u t y p e di n

u p t o t h e c o r r e c th e i g h t .T h e

g r o w t ho f t h e b a r i s m a r k e db y

a t o n ea t e a c hi n c r e m e n to f o n e .W h e nt h e b a ri s c o m p l e t e ,t h e

r o b o tr e t r a c t si t s c l a wa n d d i s

a p p e a r so f ft h et o po f t h es c r e e n .

T h e n R o b o t g r a p hr e q u e s t sa

v a l u ef o r t h e n e x tb a r a n d r e

p e a t st h e p r o c e s su n t i le i g h td i f

f e r e n tc o l o r e db a r sh a v e b e e n

d r a w n .

Y o uc a n r e v i e w t h ev a l u eo f

e a c hb a r b y p r e s s i n g t h el e t t e r

c o r r e s p o n d i n gt o t h a t b a r .P r e s s

i n g t h e r e t u r nk e yw i l ls e t u p a

n e wg r a p h .

T o e x a m i n et h es p r i t e sr e s p o n

s i b l ef o r t h e a n i m a t i o n ,u s e t h e

f o l l o w i n gp r o c e d u r e .F i r s t ,l o a d

a n d r u n t h ep r o g r a mn o r m a l l y ,i n p u t t i n ga n y v a l i dv a l u ef o r A .

A s s o o na s t h e r o b o ti s a b o u t

h a l f w a yd o w nt h e s c r e e n ,h i tt h e

r u n - s t o pk e y t o h a l t e x e c u t i o n .

( D o n ' th i t t h e r u n - s t o pa n d r e

s t o r ek e y st o g e t h e r . )

N o wp r e s ss h i f t / c l r - h o m e t oc l e a r

t h es c r e e no f a l lb u tt h er o b o t ,a n d ,

w i t ht h e c u r s o ra t t h e t o p o f t h e

s c r e e n ,t y p eP O K EB , f o l l o w e db y

3 2

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 39/45

a n u m b e rf r o m2 0 0t h r o u g h2 1 0

( t h eb l o c kn u m b e r s ) .P O K EB , 2 0 0

a n dP O K EB . 2 0 1w i l ld i s p l a yt h e

t w os p r i t e su s e df o r t h e d e s c e n t

a n d a s c e n ta n i m a t i o n .P O K E

B . 2 0 2t h r o u g hP O K EB . 2 0 9w i l l

d i s p l a yt h e s p r i t e si n t h e a r m - o u t

a n i m a t i o n( o ra r m - i n ,i n t h e r e v e r s e

o r d e r ) .P O K EB . 2 0 9a n d P O K E

B . 2 1 0w i l ld i s p l a yt h e t w os p r i t e s

u s e df o r t h e a s c e n d - w i t h - a r m -

a n i m a t i o n .■

3 3

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 40/45

M e g a - M a g i c

M a y

B yJ i mB o r d e n

R U NI t R i g h t

G 1 2 8 ( i n G 6 4 n u ) d e )

T h eC - 1 2 8K e y si n C - 6 4M o d e

p r o g r a mw i l l l e t y o u u s e y o u r

C - 1 2 8 ' s k e y p a d ,n o - s c r o l lk e y

a n d c u r s o rk e y sw h i l er u n n i n g

p r o g r a m si n C - 6 4m o d e .I t w o r k s

b y r e w r i t i n gt h e I R Qr o u t i n es o

n e wk e y b o a r d - s c a nc o d ec a nb e

a d d e d .T h ep r o g r a ms t o r e si t s e l f

a t a d d r e s s e s4 9 1 5 2 - 4 9 4 5 4 ,b u t ,

i f y o u ' r ef a m i l i a rw i t h m a c h i n e

l a n g u a g ea n d h a v en e e d ,y o u

s h o u l db e a b l et o m o v ei t e l s e

w h e r ew i t hl i t t l et r o u b l e .

T h ep r o g r a ma c t i v a t e st h e n o -s c r o l lk e yb y c h a n g i n gt h eK e r n a l

C H R O U Tv e c t o rt o f r e e z et h e

c o m p u t e ri n t h e I R Qr o u t i n e

w h e nt h e k e yi s p r e s s e d .W h e ny o u ' v ep a u s e dp r i n t i n g ,y o uc a n

p r e s sa n y k e y t o s t a r ti t a g a i n ,

b u t I ' d s u g g e s tu s i n gt h e n o -

s c r o l lk e y .

T h e1 2 8K e y si n 6 4 M o d ep r o

g r a mm a yn o t w o r kw i t hs o m e

c o m m e r c i a ls o f t w a r e ,d e p e n d i n g

o n h o wm u c ht h e l a t t e rc h a n g e s

t h e B a s i cp o i n t e r s .H o w e v e r ,i t

s h o u l dw o r kw i t ha n yB a s i cp r o

g r a mt h a td o e s n ' tu s et h e s a m e

m e m o r ya d d r e s s e s .■

3 4

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 41/45

M e g a - M a g i c

J u n e

B yJ i mB o r d e n

R U NI t R i g h t

C 6 4 ;C - 1 2 8

T h e S h a p eo f S p r i t e st o C o m ei s a p r o g r a mt h a tc y c l e st h r o u g h

t h e c r e a t i o na n dd e l e t i o no f f o u r

s p r i t e ss t o r e di n a n a r r a y .

W h e ny o u r u n t h e p r o g r a m ,

t h e f i r s ts p r i t et h a ta p p e a r sr e

p l a c e si t s b y t e su n t i li t a s s u m e s

a n o t h e rs h a p e .D e l e t el i n e s8 0

a n d9 0 t o s e et h eo r d e ri n w h i c h

t h eb y t e sa r er e p l a c e d .A r a n d o m

n u m b e ri s s w a p p e dw i t ht h eX t h

e l e m e n ti n t h e a r r a y ,t o s h u f f l e

t h e o r d e ri n w h i c ht h e i m a g e

c h a n g e s ,w i t h o n l y o n e p a s s

t h r o u g ht h ea r r a y .

T h eP o k e si n l i n e 1 0 0 d e t e r

m i n et h e s c r e e nl o c a t i o n o ft h es p r i t e( f o rt h e C - 6 4 )a n d e x p a n d

t h e s p r i t ei n t w od i r e c t i o n s .E x

p a n d i n gm a k e si t e a s i e rt o s e e

t h e s p r i t ea s i t s b y t e s a r er e

p l a c e d . L i n e1 1 0s e t st h e s p r i t e

b l o c kt o t h ep r o p e rl o c a t i o n ,t u r n s

t h es p r i t eo n a n ds e t st h es p r i t e ' s

c o l o rt o w h i t e .

T h ev a l u eo f Y c y c l e st h r o u g h

t h es p r i t ei m a g e si n l i n e1 2 0 .T h e

F o r - N e x t l o o p t a k e st h eX t hn u mb e rf r o mt h eo r d e ra r r a y ,a d d si t t o

t h e s p r i t em e m o r yp o i n t e ra n d

p o k e st h a t l o c a t i o nw i t ht h ea p p r o

p r i a t eb y t ef r o ms p r i t ei m a g eY .

S p r i t ei m a g eY i s t h e ni n c r e m e n t e d

a n dt h er a n g e c h e c k e d .H a v ef u ne x p e r i m e n t i n gw i t hd i f f e r e n tv a l u e s

i n a l l o f t h e s el o c a t i o n s .■

3 5

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 42/45

P u z z l e r ' sC h o i c e

B y D a n i e lM i l l e r

R U NI t R i g h t

0 6 4

Y o ua r eh e r e b yi n v i t e dt o t r yP u z

z l e r ' sC h o i c e ,w h i c hc o n t a i n st h r e e

p u z z l e sf o ry o u re n t e r t a i n m e n t .

A L P H A B E TP U Z Z L E

A l p h a b e tP u z z l ei s t h e m i c r o

c o m p u t e rr e n d i t i o n o ft h e m o v e -

t h e - b l o c k sp u z z l ew e ' v ea l l p l a y e d

a t o n et i m eo r a n o t h e r .I n t h i sv e r

s i o n ,t h et i l e so r i g i n a l l yn u m b e r e d

1 - 1 5a r e l e t t e r e dA - O .Y o u ro b

j e c t i v ei s t o a r r a n g et h e l e t t e r s

i n t ot h e s e q u e n c ep r i n t e do n t h e

s c r e e n .

E n t e r t h el e t t e ro f t h e t i l e y o u

w a n tt o m o v e ,a n d ,i f t h em o v ei s

v a l i d ,t h e t i l ew i l le n t e r t h ee m p t y

y e l l o ws p a c e .I l l e g a lm o v e sm a k e

a n e r r o rm e s s a g ef l a s ho n t h e

s c r e e n ,a f t e rw h i c hy o u c a nr e - e n

t e r y o u rm o v e .

T h e r ea r e m o r et h a nt e n t r i l l i o n

s o l v a b l ec o m b i n a t i o n sf o rt h i sp u z

z l e ,w i t ha n e q u a ln u m b e rt h a ta r e

i m p o s s i b l et o s o l v e .D o n ' tw o r r y ,t h o u g h — t h ec o m p u t e rw i l lo n l y

p r e s e n tp o s s i b l ec o m b i n a t i o n s . A

t i m e s ,y o u m a ys e e t h e p u z z l e

b o a r dc h a n g es e v e r a lt i m e su n t i l

t h ep r o g r a ms e t t l e so n as o l v a b l ea r r a n g e m e n t .

J U G G E R N A U TJ u g g e r n a u tu s e ss p r i t e sa n d

k e y b o a r dg r a p h i c st o p r o v i d ea n

o t h e r c h a l l e n g e .T h eo b j e c t i v ei s

t o r e a r r a n g et h e a l t e r n a t i n gs e

q u e n c eo f r e da n dy e l l o w" c h e c k

e r s "i n t oa l i n eo f y e l l o wc h e c k e r so n t h el e f ta n dr e dc h e c k e r so n t h e

r i g h t .

B e n e a t ht h e p l a y i n gb o a r da p

p e a rt h el e t t e r sA - H .S e l e c ta l e t

t e r ,a n dt h et w oc h e c k e r sa b o v ei t

w i l lr i s ei n t ot h ee m p t ys l o t s .C o n

s i d e ry o u rm o v e sc a r e f u l l y ,b e

c a u s ey o ug e t o n l yf o u ro f t h e m .I f

y o ug e ts t u c k ,p r e s sF 1 t o i n i t i a t e

t h eA u t o - S o l v em o d e .

A s t o t h e n a m eo f t h e p u z z l e ,

t h e p l a y i n gb o a r df a n c i f u l l yr e

s e m b l e st h e m u l t i w h e e l e dc a r t ,

t h e J u g g e r n a u t ,t h a tc a r r i e dt h e

i n c a r n a t i o no f t h e H i n d ud e i t y ,

V i s h n u .F r e n z i e dw o r s h i p p e r s

t h r e w t h e m s e l v e s b e n e a t h ew h e e l sa s i t p a s s e db y .

3 6

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 43/45

S O L I

Pu

A

' F l 1

J T I

uB

> —

O N :

u u

M I W H a

• «A B C

■ H

U JC D E F

E N T E R M O V E

A U T OS O L V E

i ; u r . \ i

i • tD E

■ i

uG

[ A -

J U H

> •b G

uH

I ] :

' F 7

• <

H

UI

I

■ | L i l !

j

M E N U

C H E C K E R SS W I T C H

I c o n s i d e rC h e c k e r sS w i t c ht h e

t o u g h e s t c h a l l e n g eo f t h e t h r e e

p u z z l e si n t h i s c o l l e c t i o n .R e d

a n db l a c kc h e c k e r sa r ea r r a n g e d

o n o p p o s i t es i d e so f t h ec h e c k e r

b o a r d .U s i n go n l yl e g a lc h e c k e r s

m o v e sa n d j u m p s ,y o u m u s t

s w i t c ht h ep o s i t i o n so f t h ec h e c k

e r s t o t h e o p p o s i t es i d e s .

E n t e ry o u rm o v e sb y d e s i g n a t

i n g t h e r o wa n dc o l u m no f e a c h

s p a c e y o uw a n tt o m o v ef r o m

a n dt o . C o l u m nn u m b e r sa p p e a r

i n i n v e r s ep r i n ta l o n gt h et o p .A s

i n t h e r e a l g a m e ,y o u m a yn o t

m o v et h ec h e c k e r s b a c k w a r d

T h i sp u z z l ec a n b es o l v e di n

5 2 m o v e s .O n c ea g a i n ,y o uc a n

p r e s sF 1 f o rA u t o - S o l v e .■

3 7

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 44/45

8/6/2019 Re-Run 1987 05-06

http://slidepdf.com/reader/full/re-run-1987-05-06 45/45

1 4P r o g r a m sI n c l u d e do n t h i sD i s k :

W i n d o w i n gU t i l i t i e sN o t e p a dD O S

M i n iW o r dP r o c e s s o rP r o g r a mD e b u g g e r

D r u mM a c h i n eS p r i t eP r i n tU t i l i t y

E d u c a t i o nG a m e s

F r o mt h eM a yR U N :

8 0 - C o l u m nC u s t o mW i n d o w s

D i s kS t a f f e r

S p r i t e P r i n t

1 2 8K e y si n 6 4M o d e

P r i n t R i t e6 4

H a n d yW i n d o w

F r o mt h eJ u n eR U N :N o t e p a dD O S

D r u m m o d o r e

P o w e r K e y

B a s i cB u gT r a p

R o b o t g r a p h

P r e s t oW r i t e1 2 8

T h eS h a p eo f S p r i t e st o C o m e

B o n u sP r o g r a m :

P u z z l e r ' sC h o i c e

I f a n ym a n u f a c t u r i n gd e f e c tb e c o m e sa p p a r e n t , t h ed e f e c t i v e d i s kw i l lb e r e p l a c e df r e eo f c h a r g ei f r e t u r n e db y

p r e p a i dm a i lw i t h i n3 0 d a y so f p u r c h a s e .S e n di t , w i t ha l e t t e rs p e c i f y i n gt h ed e f e c t ,t o :

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

R e p l a c e m e n t sw i l ln o tb e m a d ei f t h ed i s kh a sb e e na l t e r e d ,r e p a i r e d o rm i s u s e dt h r o u g hn e g l i g e n c e ,o r i f i t

s h o w ss i g n so f e x c e s s i v ew e a ro r i s d a m a g e db y e q u i p m e n t .

T h ep r o g r a m si n R e R U Na r e t a k e nd i r e c t l yf r o ml i s t i n g sp r e p a r e dt o a c c o m p a n ya r t i c l e si n B U Nm a g a z i n e .

T h e yw i l ln o t r u nu n d e ra l l s y s t e mc o n f i g u r a t i o n s .U s et h eR U NI t R i g h ti n f o r m a t i o ni n c l u d e dw i t he a c ha r t i c l ea s

y o u rg u i d e .

T h ee n t i r ec o n t e n t s a r ec o p y r i g h t e d1 9 8 7b y C WC 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 dd u p l i c a t i o ni s a

v i o l a t i o no f a p p l i c a b l el a w s .


Recommended