Upload
cubemanpdx
View
222
Download
0
Embed Size (px)
Citation preview
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 1/314
I N S I DA N DO U T
A ni n t r o d u c t i o nt o G E O S ,i t sa p p l i c a t i o n sa n di n t e r n a l s
A b a c u sA D a t a B e c k e rb o o k
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 2/314
I N 3 I DA N DO U T
A n i n t r o d u c t i o nt o G E O S ,i t s a p p l i c a t i o n sa n d i n t e r n a l s
B y M . T o r n s d o r fa n dR . K e r k l o h
A D a t aB e c k e rB o o k
P u b l i s h e db y
A b a c u s
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 3/314
F i r s tP r i n t i n g ,N o v e m b e r1 9 8 6
P r i n t e di n U . S . A .C o p y r i g h t© 1 9 8 6 D a t a B e c k e rG m b H
M e r o w i n g e r s t r . 3 04 0 0 0D u s s e l d o r f ,W e s t G e r m a n y
C o p y r i g h t© 1 9 8 6 A b a c u sS o f t w a r e ,I n c .
P . O .B o x7 2 1 9G r a n dR a p i d s ,M I4 9 5 1 0
T h i sb o o ki s c o p y r i g h t e d .N op a r to f t h i sb o o km a yb e r e p r o d u c e d ,s t o r e d
i n a r e t r i e v a ls y s t e m ,o r t r a n s m i t t e di n a n yf o r mo r b y a n ym e a n s ,e l e c t r o n i c ,m e c h a n i c a l , p h o t o c o p y i n g ,r e c o r d i n go r o t h e r w i s e ,w i t h o u tt h e
p r i o rw r i t t e np e r m i s s i o n o fA b a c u sS o f t w a r eo rD a t aB e c k e r ,G m b H .
C o m m o d o r e6 4 ,C o m m o d o r e6 4 C ,C o m m o d o r e1 2 8 ,C o m m o d o r e1 5 4 1a n dC o m m o d o r e1 5 7 1a r e t r a d e m a r k so r r e g i s t e r e dt r a d e m a r k s o fC o m m o d o r eE l e c t r o n i c s ,L t d .
G E O S ,d e s k T o p ,g e o P a i n t ,a n dg e o W r i t ea r e ( C )C o p y r i g h t B e r k e l eS o f t w o r k s1 9 8 5 .
I S B N 0 - 9 1 6 4 3 9 - 8 6 - X
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 4/314
F o r e w o r d
G E O S( G r a p h i cE n v i r o n m e n tO p e r a t i n gS y s t e m )h a sc h a n g e dt h e f a c eo f
h o m ec o m p u t i n g .U n t i ln o w ,h o m ec o m p u t e ru s e r sw e r ep r e t t ym u c ho nt h e i ro w no n c et h e yb o u g h tt h ec o m p u t e r ,a n de i t h e rh a dt o s h e l lo u tt h e
m o n e yf o rr e a d y - t o - r u np r o g r a m s ,o r g o t h r o u g ht h et e d i o u sp r o c e s so fl e a r n i n ga c o m p u t e rl a n g u a g ea n dd o t h e i ro w np r o g r a m m i n g .B u tG E O Sc o m e sw i t ht h e6 4 Cw h e ny o ub u yi t — y o u ' r e r e a d yt o r u ni t t h em o m e n ty o ug e th o m e .
S i n c ew e f o l l o wC o m m o d o r ec l o s e l y ,w e w e r ew o n d e r i n gj u s tw h a td i f f e r e n c et h e r ew a sb e t w e e nt h e" n e w "6 4 Ca n dt h eo l dC - 6 4 .W h e nw es a wG E O S ,w ew e r eo v e r j o y e d .T h e6 4n o wh a sa n a d v a n c e du s e ri n t e r f a c e
s i m i l a rt o G E M ,a n i n t e r f a c ep r e v i o u s l ya v a i l a b l eo n l yi n m u c hh i g h e r -
p r i c e dc o m p u t e r s .M o s t c o m m a n d sd o n ' tn e e dt o b e t y p e di n . I n s t e a d ,g r a p h i cs y m b o l sa r eu s e d .N o ww h e ny o uw a n tt o d e l e t ea f i l e ,y o un ol o n g e rn e e dt o t y p e :
O P E N 1 , 8 , 1 5 , " S O : N A M E " : C L O S E 1
N o wy o uj u s tm o v ea n i c o n ,o r s y m b o lt h a tr e p r e s e n t s t h ep r o g r a m ,a n d" d e p o s i t "i t i n t oa n o t h e ri c o nt h a tl o o k sl i k ea w a s t eb a s k e t .I t ' sh a r dt o
b e l i e v ew h a tt h ed e v e l o p e r so f G E O Sh a v ed o n ew i t ht h e6 4 .W e ' v es p e n tm a n yh o u r si n f r o n to f o u r6 4 ' sl e a r n i n ga b o u tt h e t h en e wG E O Ss y s t e m ,
a n dw e ' r ec o n s t a n t l ya m a z e db y i t sc a p a b i l i t i e s .G E O Si s t h eu s e r - f r i e n d l yi n t e r f a c et h a tb e g i n n e r sh a v eb e e nw a i t i n gf o r .
A f e wp o i n t sa b o u to u rb o o k :
1 . I f y o uh a v e b o u g h tt h i sb o o kb e c a u s ey o ua r es t i l lh e s i t a n ta b o u t
b u y i n ga c o m p u t e ra n dw a n ts o m ei n f o r m a t i o na b o u tt h e6 4 Ca n dG E O S ,t o a g r e a t e x t e n tw ew r o t et h i sb o o kf o ry o u .T h e r ei s a
t h o r o u g hi n t r o d u c t i o nt o w o r k i n gw i t hG E O S ,w i t hs c o r e so fa c t u a ls c r e e ni l l u s t r a t i o n s ,t o h e l py o um a k ey o u rd e c i s i o n sa b o u t
y o u r c o m p u t e rp u r c h a s e .
2 . I f y o ua r ea m o n gt h o s ew h oa l r e a d yh a v ea 6 4 C( o ra n o l d e rC - 6 4 )a n dG E O S ,y o uw i l la l s o f i n d t h ei n t r o d u c t i o nt o G E O Sv a l u a b l e .W e ' l lb e p o i n t i n go u ta l lt h e t h i n g st h a tG E O Sc a nd o .
G i v ey o u rc r e a t i v i t yf r e er e i n ;w e ' l lt r yt o s p a r ky o u ri m a g i n a t i o n
w i t ht h es u g g e s t i o n sa n dh i n t sw e h a v et o o f f e r .G E O Sw i l l
a l l o wt h e a r t i s ti n y o ut o r u n w i l d .K e e pt h i sb o o kh a n d yw h e n e v e ry o uw o r kw i t hg e o W r i t ea n dg e o P a i n t .
m
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 5/314
D oy o uh a v ea f a v o r i t eB A S I Cp r o g r a mi n ' 6 4f o r m a t — o re v e nam a c h i n el a n g u a g ep r o g r a m — t h a t y o u w o u l dl i k et o r u nu n d e rG E O S ? D oy o uw a n tt o c r e a t ey o u ro w nc u s t o mi c o n sf o ry o u r
p r o g r a m sr u n n i n gu n d e rG E O S ?O r d o y o u w a n tt o a d d y o u rn a m et o t h e i n f ob o xt o i d e n t i f yy o u r s e l fa s t h e a u t h o ro f ap r o g r a m ?I f y o ua n s w e r e dy e st o a n yo f t h e s eq u e s t i o n s ,t h e n
C h a p t e r5 s h o u l db e o f s p e c i a li n t e r e s tt o y o u .I t c o n t a i n st h e
p e r t i n e n ti n f o r m a t i o na n dt h eF I L E M A S T E Rp r o g r a m ,w h i c h
e n a b l e sy o ut o d o a l lo f t h e s et h i n g sa n dm o r e .
3 . S o m eo f y o um a yb e p r o g r a m m e r sw h ow o u l dl i k et o c o m b i n ey o u ro w np r o g r a mr o u t i n e sw i t hG E O S .T h i sb o o ks h o u l d
c l a r i f yt h e s t e p sy o un e e dt o k n o w .W eh a v es a v e dy o ut h e
t r o u b l eo f d o i n gt h e " g r u n tw o r k "o f f i n d i n gG E O Sf i l es t r u c t u r e ,j o y s t i c kc o n t r o l ,e t c .A p p l yy o u re n e r g i e st o t h ep r o g r a m m i n g ,a n du s et h ei n f o r m a t i o na n da s s i s t a n c ec o n t a i n e di n t h i sb o o ka s
r e f e r e n c e .
W et h i n kt h a ti t ' sw e l lw o r t ht h ee f f o r tt o w r i t ep r o g r a m sf o ra n du n d e rG E O S ,a n dw ew a n tt h i sb o o kt o s u p p o r tl a t e ra d a p t a t i o n s
o f t h eG E O Sc o n c e p t .H o w e v e r ,s i n c eG E O Si s a c o m p l e t e l yn e wo p e r a t i m gs y s t e m ,s o m em e m o r yl o c a t i o n ss p e c i f i e di n t h i s
b o o km a yd i f f e rb y a f e wb y t e sf r o mt h o s eo fy o u rs y s t e m .
W ew i s ht o t h a n kC o m m o d o r ef o ri t s f r i e n d l ys u p p o r t .I n p a r t i c u l a r ,w ew o u l dl i k e t ot h a n kD r .K i t t e l ,w h oh e l p e du s a l o n gt h r o u g h o u tt h ep r o j e c t .
M a n f r e dT o r n s d o r f
R i i d i g e rK e r k l o hM u e n s t e r ,G e r m a n y
J u l y3 0 , 1 9 8 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 6/314
T a b l eo fC o n t e n t s
F o r e w o r d
C h a p t e r1 U s i n gt h i sb o o k
C h a p t e r22 . 1
2 . 2
2 . 3
2 . 4
2 . 5
C h a p t e r33 . 1
3 . 2
3 . 3
3 . 3 . 1
3 . 3 . 2
3 . 3 . 3
3 . 3 . 4
3 . 4
3 . 4 . 1
3 . 4 . 2
3 . 4 . 3
3 . 5
3 . 5 . 1
3 . 5 . 2
3 . 5 . 3
3 . 5 . 4
3 . 6
3 . 6 . 1 .
3 . 6 . 23 . 6 . 3
3 . 6 . 4
3 . 6 . 5
3 . 6 . 6 .
C h a p t e r44 . 1
4 . 1 . 1
4 . 1 . 2
4 . 1 . 34 . 2
m
G E O Sf o rb e g i n n e r s
B a c k u pc o p i e sa n dw o r kd i s k e t t e s
P r e p a r i n gd i ew o r kd i s k e t t e
T h ep e r f e c ts e t u p :T h eP r e f e r e n c eM a n a g e rW o r kd i s k e t t e s :D e l e t i n ga n da d d i n gf i l e s
A p p l i c a t i o n s :g e o W r i t e
G E O Si n d e t a i l
d e s k T o p :T h ew i n d o wd e s k T o p :M e n ua n di t e m s
d e s k T o p :F u n c t i o n s
d e s k T o pf u n c t i o n sp e r f o r m e dw i t hi c o n s
K e y b o a r dC l i c k i n g
T h er e m a i n i n gf u n c t i o n s
g e o P a i n t
S t a r t i n gg e o P a i n t
T h em e n uT h et o o l k i t
g e o W r i t e
S t a r t i n gg e o W r i t e
T h em e n uE n t e r i n gt e x t
F o r m a t t i n gt e x t
A c c e s s o r i e s
A l a r mc l o c k
C a l c u l a t o rN o t e p a d
T h eP r e f e r e n c eM a n a g e rT h eP h o t oM a n a g e rT h eT e x tM a n a g e r
G E O Sa p p l i c a t i o n s
M a k i n gd i a g r a m su s i n gg e o P a i n t
P i ec h a r t
B a rc h a r t
L i n eg r a p hO r g a n i z i n ga n dp l a n n i n g w i t h g e o P a i n t
5
71 1
1 7
1 9
2 4
2 93 1
3 3
3 93 9
4 04 04 1
4 2
4 24 4
4 95 75 7
5 96 4
6 56 76 7
7 07 1
7 3
7 68 0
8 7
8 78 8
9 3
9 81 0 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 7/314
4 . 2 . 1
4 . 2 . 2
4 . 3
4 . 3 . 1
4 . 3 . 2
4 . 4
4 . 4 . 1
4 . 4 . 2
4 . 4 . 3
4 . 4 . 4
C h a p t e r5
5 . 1
5 . 1 . 1
5 . 1 . 2
5 . 1 . 1 . 1
5 . 1 . 3
5 . 1 . 4
5 . 1 . 5
5 . 2
5 . 2 . 1
5 . 2 . 2
5 . 2 . 3
5 . 2 . 45 . 3
5 . 3 . 1
5 . 3 . 2
5 . 3 . 3
5 . 3 . 4
C h a p t e r66 . 1
6 . 2
6 . 2 . 1
6 . 2 . 2
6 . 2 . 3
6 . 3
6 . 4
6 . 5
6 . 5 . 1
6 . 5 . 2
6 . 5 . 3
6 . 5 . 46 . 5 . 5
R o o ml a y o u tL a y i n go u ta g a r d e n
E l e c t r o n i cc i r c u i t s
P CB o a r dS c h e m a t i c s
G E O Sa n de d u c a t i o n a la p p l i c a t i o n s
D i a g r a m si n r e p o r t s
T e a c h e r ' sf o r m sS e a t i n gc h a r t s
S c i e n c ec l a s sd i a g r a m s
G E O ST r i c k sa n dT i p s
T i p sa n dT r i c k sf o r t h eG E O Su s e ri n t e r f a c e
P r o b l e m sl o a d i n gG E O Sd e s k T o p" D o ' sa n dD o n ' t s "
G E O Sf i l em a n a g e m e n ta n dp r i n t i n g
T i p sa n dT r i c k sw i t hg e o P a i n t
T i p sa n dT r i c k sf o rg e o W r i t eT i p sa n dT r i c k sf o rN o t e p a d
P r o g r a m si n G E O Sf o r m a t
F I L E M A S T E R
D e s c r i p t i o no f t h eF I L E M A S T E Rp r o g r a m
T h eF I L E M A S T E Rm e n u
U s i n gF I L E M A S T E RT h ef u n c t i o no f t h e r e a l - t i m ec l o c k
P r o g r a m m i n gt h ec l o c k
T h er o u t i n e s i nG E O ST h et i m ea t a g l a n c e
T h ef o r e i g na b e r r a t i o ni n t h eG E O SK E R N A L
I n s i d eG E O ST h es i n g l es t e ps i m u l a t o r
W i n d o wt e c h n i q u e s
C h a r a c t e r i s t i c so f w i n d o w sC u s t o mw i n d o w si n G E O ST h r e e e x a m p l e sf r o mG E O ST h es y s t e mi n t e r r u p t
J o bl o o p /J o bs t r u c t u r e
T h eG E O Sf i l es t r u c t u r e
F i l em a n a g e m e n tu n d e rC o m m o d o r eD O SA f i l ee n t r yu n d e rG E O ST h eI N F Os e c t o r
T h eb o r d e ra n dG E O Sf o r m a tV 1 . 0F i l et y p e/ F i l es t r u c t u r e
1 0 01 0 61 0 8
1 0 81 1 1
1 2 0
1 2 01 2 1
1 2 2
1 2 2
1 2 31 2 5
1 2 51 2 81 2 91 3 1
1 3 7
1 4 4
1 4 8
1 4 9
1 6 0
1 7 1
1 7 5
1 7 8
1 7 8
1 8 01 8 71 9 7
2 0 12 0 32 1 8
2 2 02 2 52 3 4
2 4 4
2 4 72 5 2
2 5 2
2 5 32 5 5
2 5 82 6 2
V I
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 8/314
6 . 6 W r i t i n gy o u ro w nG E O Sp r o g r a m s 2 6 76 . 6 . 1 H o wt o l o a dy o u ro w np r o g r a m s 2 6 76 . 6 . 2 H o wt o e x t e n dG E O Sw i t hy o u ro w np r o g r a m s 2 6 86 . 7 M e m o r yl a y o u ta n dm e m o r yl o c a t i o n s 2 7 4
6 . 7 . 1 M e m o r y m a p 2 7 46 . 7 . 2 I m p o r t a n tm e m o r yl o c a t i o n s 2 7 5
G l o s s a r y 2 7 9I n d e x 2 8 7
v u
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 9/314
L i s to fF i g u r e s
F i g u r e1 T h ed e s k T o p 1 1
F i g u r e2 d i s ks u b - m e n u 1 2
F i g u r e3 R e n a m ew i n d o w 1 3F i g u r e4 i n f ob o x 1 5
F i g u r e5 d e s k T o pw / oG E O S ,G E O SB O O T o r G E O SK E R N A L 1 6F i g u r e6 P r e f e r e n c eM a n a g e r 1 7
F i g u r e7 F o r m a tw i n d o w 1 9
F i g u r e8 g e o W r i t es o u t ho f t h eb o r d e r 2 0F i g u r e9 R e a d yt o c o p y 2 2F i g u r e1 0 C o p i e rd i a l o g u eb o x 2 3F i g u r e1 1 g e o W r i t ed i a l o g u eb o x 2 5F i g u r e 1 2L e t t e rt o D e b 2 6
F i g u r e 1 3F o n ts u b - m e n u 2 7F i g u r e1 4 P o i n ts i z e si n G E O S 2 8F i g u r e1 5 T h ed e s k T o pw i n d o w 3 1
F i g u r e1 6 F i l e sa r r a n g e db y S I Z E 3 5F i g u r e 1 7g e o P a i n t 4 3
F i g u r e1 8 c h a n g eb r u s h — 3 2d i f f e r e n tb r u s h e s 4 8F i g u r e 1 9E d i tb o x 4 9
F i g u r e2 0 R u l e ra n dl i n e s 5 1F i g u r e2 1 R e p e a t e de f f e c tw i t h b r u s h 5 2
F i g u r e2 2 T e x tp r o c e s s i n gw i t hG E O S 5 3F i g u r e2 3 P a t t e r nb o xw i t h3 2p a t t e r n s 5 6F i g u r e2 4 T h eg e o W r i t ew i n d o w 5 8
F i g u r e2 5 M a r k e dg e o W r i t ed o c u m e n ts e c t i o n 6 1F i g u r e2 6 G r a p h i ci n g e o W r i t ed o c u m e n t 6 2
F i g u r e2 7 A l a r mc l o c k 6 8F i g u r e2 8 C a l c u l a t o r 7 0F i g u r e2 9 N o t e p a d 7 2F i g u r e3 0 P r e f e r e n c eM a n a g e r 7 3F i g u r e3 1 P h o t o M a n a g e r — s t a r t i n gm e n u 7 7
F i g u r e3 2 p h o t om a n a g e r — G r a p h i cf o rT o D e b 7 8
F i g u r e3 3 T e x ta n dg r a p h i c sw i t hp h o t o m a n a g e r 7 9
F i g u r e3 4 M a r k i n gt e x tf o rt e x t s c r a p 8 0
F i g u r e3 5 E m p t yt e x t a l b u m 8 1
F i g u r e3 6 M a r k e dt e x ti n t h eT e x tA l b u m 8 2
F i g u r e3 7 T i t l ea n dc i r c l e 8 9
F i g u r e3 8 C h a r ts e g m e n t sw i t hf i l lp a t t e r n s 9 0F i g u r e3 9 C h a r ts e g m e n t sw i t ha c t u a lp e r c e n t a g e s 9 1
F i g u r e4 0 F i n i s h e dp i ec h a r t 9 2
F i g u r e4 1 S t a r t i n gt h ev e r t i c a la x i s 9 4
v i i i
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 10/314
F i g u r e4 2 Z e r o p o i n ta n dh o r i z o n t a la x i sw i t hd i v i s i o n s 9 5F i g u r e4 3 T w os i d e so f a b a r 9 6F i g u r e4 4 S e c t i o no f t h e f i n i s h e db a rc h a r t 9 7
F i g u r e4 5 B a rc h a r ti n p r e v i e wm o d e 9 8F i g u r e4 6 L i n eg r a p h 9 9F i g u r e4 7 W a l l sa n dd i m e n s i o n s 1 0 1F i g u r e4 8 T h eb e d 1 0 3F i g u r e4 9 R i g h th a l fo f t h eb e d r o o m 1 0 4F i g u r e5 0 F u l l y f u r n i s h e dr o o m 1 0 5
F i g u r e5 1 G a r d e n 1 0 7
F i g u r e5 2 P C B o a r d 1 0 9
F i g u r e5 3 A nI C i n p i x e le d i t m o d e 1 1 0F i g u r e5 4 M u l t i v i b r a t o rs c h e m a t i c 1 1 2
F i g u r e5 5 O h ms y m b o l( O m e g a ) 1 1 3F i g u r e5 6 S t a r t i n gt h es c h e m a t i cf o r t h em u l t i v i b r a t o r 1 1 4
F i g u r e5 7 M u 1 1 5
F i g u r e5 8 C a p a c i t o ra n dt r a n s i s t o r 1 1 6F i g u r e5 9 C o p y i n gt r a n s i s t o r s 1 1 7F i g u r e6 0 M i r r o r i n gp o t e n t i o m e t e r s 1 1 8
F i g u r e6 1 p r e v i e wo f t h es c h e m a t i c 1 1 9F i g u r e6 2 R u s s i a ne c o n o m i cs t r u c t u r e — 1 9 1 3 1 2 1
F i g u r e6 3 U s i n gp a t t e r n s 1 3 4F i g u r e6 4 D o t t e dl i n e s1 0 1 1 3 5
F i g u r e6 5 D o t t e dl i n e s1 0 2 1 3 6F i g u r e6 6 D o t t e dl i n e s1 0 3( m i x e dw i t hp a t t e r n s ) 1 3 7F i g u r e6 7 U n f o r m a t t e dl e t t e r 1 3 8
F i g u r e6 8 L e f ta n dr i g h tm a r g i n s 1 3 9F i g u r e6 9 H i g h l i g h t i n gw o r d s 1 4 1
F i g u r e7 0 D e l e t e p a g e b r e a k ? 1 4 3F i g u r e7 1 N o t e p a da s d a i l yc a l e n d a r 1 4 4F i g u r e7 2 N o t e p a da s a d d r e s sb o o k 1 4 5
F i g u r e7 3 N o t e p a da s a r e c i p ef i l e 1 4 6
F i g u r e7 4 C o n s t a n td i s p l a yc l o c k w i t hw i n d o w 1 8 8F i g u r e7 5 T h eS t e p p e r 2 1 5F i g u r e7 6 A no u t p u tw i n d o w :e r r o rb o x 2 1 8F i g u r e7 7 D i a l o g u eb o x 2 1 9F i g u r e7 8 R e d r a w i n ga w i n d o w 2 2 1
F i g u r e7 9 O d d - s h a p e dw i n d o w 2 2 2F i g u r e8 0 D i f f e r e n tt y p es t y l e s 2 2 2F i g u r e 8 1P a t t e r n e ds h a d o w 2 2 3F i g u r e8 2 T w o - b u t t o nd i a l o g u eb o x 2 2 4
F i g u r e8 3 C u s t o mw i n d o w 2 2 9
F i g u r e8 4 w i n d o wd e m o n s t r a t i o n 2 4 3
v c
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 11/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 12/314
C h a p t e rO n e
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 13/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 14/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
U s i n gt h i sb o o k
V e r s i o n s :G E O SV 1 . 0a n dG E O SV L 2
A t t h et i m eo f t h i sw r i t i n g ,t h e r e a r es t i l la f e wd i f f i c u l t i e si n u s i n gG E O SV 1 . 2 .A ne a r l i e rr e l e a s e ,G E O SV 1 . 0 ,m a ys t i l lb e o n t h em a r k e t
T h eF I L E M A S T E Rp r o g r a mi n C h a p t e r5 w i l lw o r kw i t hb o t hG E O SV L Oa n dG E O SV I . 2 .T h eo t h e rp r o g r a m sw o r ko n l yw i t hG E O SV I . 2 .I t ' s
u n f o r t u n a t et h a tt h ei n t e r n a ld i f f e r e n c e sb e t w e e nV L Oa n dV I . 2a r es o g r e a t
t h a tm o s to f t h ed o c u m e n t a t i o no f m a n yr o u t i n e sa n dm e m o r yl o c a t i o n sa p p l yo n l yt o V I . 2 .
H e r e ' sh o wt o t e l lV L Of r o mo t h e rv e r s i o n s :
• P a g e1 o f t h ed i r e c t o r yd o e sn o th a v et h eB A C K U Pp r o g r a m .V 1 . 0
u s e r sc a nu s ea n yc o p yp r o g r a m .
• T h ei n d i v i d u a lp a g e so f t h ed i r e c t o r yc a no n l yb e s e e nb y f l i p p i n g
t h o s ep a g e s .
• g e o P a i n tw i l ld r a wo n l ym o n o c h r o m ep i c t u r e s .
W eh o p et h a ty o uh a v eG E O SV 1 . 2!
P r e s e n t a t i o n
D o n ' tb e s u r p r i s e dw h e ny o ur u n i n t os i m i l a rf o r m a t sa n df o r m u l a s
t h r o u g h o u tt h i sb o o k .W ed o t h i st o e n s u r ey o u rs u c c e s sw i t ht h i sb o o k .
G E O Sw a ss y s t e m a t i c a l l yd e s i g n e d ,a n dw e h a v et a k e ng r e a te f f o r t st om a k eo u rb o o ka s s y s t e m a t i ca n dt h o r o u g ha s p o s s i b l e .Y o u ' l l s e et h a tt h e
c h a p t e r s a r ea l la r r a n g e di n a s i m i l a rf o r m a t .Y o u l ln o t i c eq u i t ea b i to f t h i s
o v e r l a p p i n gi n o u rb o o kr e g a r d i n gi n d i v i d u a lp r o g r a ms e c t i o n s .W ed i dt h i s
n o ts o m u c hf o rc r e a t i v ep u r p o s e s , b u tt o e n s u r et h a tt h er e a d e r u n d e r s t a n d
t h e m a t e r i a lc o m p l e t e l y .
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 15/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
R e p e t i t i o n
T h e r ei s a s e c o n d ,s u b t l ec h a r a c t e r i s t i cy o uw i l ls e ea s y o ur e a dt h i sb o o k .I n f o r m a t i o ni s o f t e nr e p e a t e df r o mc h a p t e rt o c h a p t e r ,e v e nt h o u g hs t a t i n g
t h es a m ei n f o r m a t i o no n c ei n a s i n g l ec h a p t e rw o u l db e s u f f i c i e n t .W ed i d
t h i st o s a v ey o up a g e - t u r n i n g .W ek n o wh o wd i f f i c u l ti t i s t o w o r kw i t ho n eh a n dt r y i n g t of i n dt h e p a g e ,a n dt h eo t h e rt r y i n g t oh a n d l et h ec o m p u t e r .
W ee s s e n t i a l l yw a n t e de a c hc h a p t e rt o b e a n i n d e p e n d e n ts e c t i o no f t h e
b o o k ,s o y o uw o u l d n ' th a v et o t u r na l o to f p a g e s .
I l l u s t r a t i o n s
A sy o ut h u m bt h r o u g ht h i sb o o k ,y o um a yb e w o n d e r i n gw h yw ei n c l u d e d
s o m a n yi l l u s t r a t i o n s ,a n dw h e t h e ra l lt h e s es c r e e nd u m p sw e r en e c e s s a r y
w h e ny o uc a ns e ef o ry o u r s e l fw h a t ' so n t h es c r e e n .W ed e c i d e dt h a tt h i s
b o o k ,o r a t l e a s ta g o o dp a r to f i t , w o u l db e d e s i g n e df o rs i m p l yr e a d i n g
a b o u tt h ec a p a b i l i t i e so f G E O S .T h ei l l u s t r a t i o n sa l s oh e l pt o u s e rt o r e a d
n o w ,s e et h er e s u l t si m m e d i a t e l y ,a n dt r y t h ep r o c e d u r e sl a t e ro n h i s
c o m p u t e r .
A n o t h e ra d v a n t a g et o a l lt h e s ei l l u s t r a t i o n si s t h a te v e r y t i m ey o u ra c t u a l
s c r e e na p p e a r s ,y o uc a nc o m p a r ei t w i t ht h ei l l u s t r a t i o n ,t o m a k es u r et h a te v e r y t h i n gi s c o r r e c t
R e m a r k s
Y o uw i l ls e es o m ed i f f e r e n c e sb e t w e e nm o s to f t h ei l l u s t r a t i o n si n t h i sb o o ka n dy o u ro w ns c r e e n .T h i si s b e c a u s eh a r d c o p y( a p r i n t o u to f t h e s c r e e n )
d o e sn o td i s p l a ys p r i t e s .D i f f e r e n to b j e c t si n G E O S — f o re x a m p l e ,t h e
p o i n t e r ,t h es m a l lr e c t a n g l ei n t h ep a g ep o i n t e r ,a n dc u r r e n t c o l o rm a r k e ri n
c o l o r l i s t — a r e c o n s t r u c t e da s s p r i t e s ,a n dt h e r e f o r ed o n o ta p p e a ro n t h e
s c r e e n .H o w e v e r ,d o n ' tb e c o n c e r n e da b o u tt h ed i f f e r e n c e sb e t w e e no u r
i l l u s t r a t i o n sa n dy o u rs c r e e n s .W h e nt h ei c o n sa r e i ns p r i t ef o r m a ta n dd o n ' t
a p p e a ro n o u ri l l u s t r a t i o n s ,t h e yw i l ls t i l la p p e a rn o r m a l l yo n y o u rG E O Ss c r e e n s .
4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 16/314
C h a p t e rT w o
( G E O SF o rB e g i n n e r s )
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 17/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 18/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
G E O Sf o rb e g i n n e r s
Y o um a yb e w o n d e r i n gw h yw ei n c l u d e dt h i sc h a p t e ra t a l l ,c o n s i d e r i n gy o ua l r e a d yh a v ea c o p yo f t h eG E O SU s e r ' sG u i d e . T h i ss e c t i o ni s f o r t h e
c o m p u t e rt e n d e r f o o tl o o k i n gi n t oa s t r a n g el a n d ,v i e w i n gt h i sg e o g r a p h y
f r o ma d i f f e r e n tp e r s p e c t i v et h a nt h ev e t e r a nu s e r .T h eG E O SU s e r ' sG u i d em a yn o tb e a p p r o p r i a t ef o rt h ef i r s t - t i m e r .B u tt h ec o r r e s p o n d i n gc h a p t e r so ft h i sb o o kw e r ew r i t t e nt o m a k et h e l e a r n i n gp r o c e s se a s i e rf o r t h o s e
n e w c o m e r sw i t ha m i n i m a lk n o w l e d g eo fc o m p u t e r s .
I f y o us t i l lh a v eq u e s t i o n sa b o u tw o r d so r p h r a s e s ,t h eG l o s s a r ya t t h ee n do f t h i sb o o kd e f i n e st h ec o m m o nt e r m s .
2 . 1B a c k u pc o p i e sa n dw o r kd i s k e t t e s
B e f o r ey o us t a r tw o r k i n gw i t hG E O S ,y o ua b s o l u t e l ym u s tm a k ea b a c k u p
c o p yo f y o u ro r i g i n a ld i s k e t t e .I t ' sa l l t o oe a s yt o a c c i d e n t a l l y d e l e t ea
p r o g r a mf o r e v e rf r o mt h eo r i g i n a ld i s k e t t e .
T h eo n l y r e a s o ny o us h o u l du s ey o u ro r i g i n a l d i s k e t t ei s t o l o a d( b o o t )
G E O S .U s et h eb a c k u p sa n dw o r kd i s k e t t e s f o ry o u ra p p l i c a t i o n s .
T o m a k ea b a c k u pc o p yo f t h e o r i g i n a lG E O Sd i s k e t t e ,p e r f o r mt h ef o l l o w i n gs t e p s :
1 . T u r no ny o u r c o m p u t e r a n dd i s kd r i v e .P l u gt h e j o y s t i c ki n t ot h e
p o r tc l o s e s t t oy o uo n t h er i g h t h a n ds i d eo f t h e' 6 4 .T u r no f ft h e
p r i n t e r ,i f y o uh a v eo n ec o n n e c t e d .
2 . I n s e r tt h eG E O Sd i s t r i b u t i o nd i s k e t t ea n dt y p e :
L O A DH G E O S" , 8 , 1< R E T U R N >
A f t e rf i v es e c o n d sB O O T I N GG E O Sa p p e a r so n t h es c r e e n .
G E O Si s l o a d e di n a b o u t3 0 s e c o n d s ,a n dt h ed i f f e r e n ti c o n s
( s y m b o l s )a p p e a ro n t h es c r e e n .I f a l lh a sg o n ew e l l ,p r o c e e dt o
s t e p3 o n t h en e x tp a g e .
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 19/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I f t h em a i nw i n d o wd o e s n ' ta p p e a ro n t h em o n i t o r ,o n eo f t w ot h i n g sm a yh a p p e ni n s t e a d :
• A f t e rf i v es e c o n d s ,B O O T I N GG E O Sa p p e a r so n t h es c r e e n ;s u d d e n l yt h es c r e e nc o m p r e s s e sa n dr e t u r n sy o ut o t h e6 4p o w e r - u ps c r e e n .T h i sm e a n st h a tG E O St h i n k st h ed i s k e t t e
i s n o tc o p yp r o t e c t e d .Y o um u s ts t a r to v e ra n dL O A D1 1G E O S" , 8 , 1 t o r e - t r yt h e o p e r a t i o n .I f G E O Sk e e p s
r e f u s i n gt o l o a d ,s e eC h a p t e r5 . 1 . 1f o rh e l p .I f a l le l s ef a i l s ,
t a k et h eG E O Sd i s k e t t et o y o u rC o m m o d o r ed e a l e r — e i t h e r
t h eG E O Sd i s k e t t ei s d e f e c t i v eo r y o u rd i s k d r i v en e e d sa l i g n m e n t
• T h es t a t u sl a m p( r e d f o r1 5 4 1d r i v e s ,g r e e nf o r1 5 7 1d r i v e s )l i g h t sa n dg o e so u t ,y e tt h e6 4 d o e s n ' tr e a c t .T h i sm e a n sa
l o a de r r o rh a so c c u r r e d — y o u ' l lh a v et o s t a r to v e r .I f t h i s
h a p p e n sr e p e a t e d l y , t a k e t h ed i s k e t t eb a c kt o y o u rC o m m o d o r ed e a l e rf o rr e p l a c e m e n t
3 . W h e nt h ei c o n sa p p e a ro n t h es c r e e na n dt h ed i s kd r i v es t o p s ,
l o o kf o ra n a r r o wi n t h eu p p e rl e f tc o r n e ro f t h es c r e e n .T h i s
a r r o w , o rp o i n t e r ,i s m o v e dw i t hy o u rj o y s t i c k .M o v et h ep o i n t e r
t o t h eB A C K U Pi c o na n dp r e s s t h ef i r eb u t t o n .T h ei c o nw i l l
c h a n g ec o l o r .M o v et h e p o i n t e rt o t h ef i r s tl i n eo f t h ew i n d o w
( t h ec o m m a n dm e n u ) ,t o t h e r e c t a n g l et h a tr e a d sf i l e .P r e s st h e
f i r eb u t t o no n t h ej o y s t i c k .A s u b - m e n ud r o p sd o w nw i t hs e v e r a l
c h o i c e sc a l l e di t e m s .T h ep o i n t e ri s a u t o m a t i c a l l ys e to n o p e n .P r e s st h ef i r eb u t t o na g a i n .
4 . T h ed i s kd r i v er u n s ,t h e nt h ef o l l o w i n ga p p e a r so n t h es c r e e n :
D I S K B A C K U P / R E S T O R E U T I L I T Y
I N S E R TD E S T I N A T I O N D I S KT O B E F O R M A T T E DA N DE N T E RF T O F O R M A T ,O R Q T O Q U I T( F / Q )
R e m o v et h eo r i g i n a l d i s k e t t ef r o mt h ed i s kd r i v ea n di n s e r ta
n e w ,b l a n kd i s k e t t e .( T h i sb e c o m e st h e" d e s t i n a t i o nd i s k e t t e " ) .
5 . P r e s st h e F k e y a n dt h e n< R E T U R N > .F O R M A T T I N GD E S T I N A T I O ND I S Ka p p e a r so n t h e s c r e e n .T h ed i s k e t t ei s
f o r m a t t e di n a b o u to n ea n da h a l fm i n u t e s .R e m o v et h i sd i s k e t t e .
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 20/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 21/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
Y o us h o u l dh a v et h r e ed i s k e t t e sn o w :
• O r i g i n a ld i s k e t t e
• B a c k u pc o p y
• W o r kd i s k e t t e
A f t e ry o ur e - i n s e r tt h eo r i g i n a ld i s k e t t ea n dp r e s s< R E S T O R E > ,t h em a i nG E O Sw i n d o wr e a p p e a r s .
N o t e :O n c et h eG E O Sw i n d o wr e a p p e a r s ,r e m o v et h eo r i g i n a l d i s k e t t ef r o mt h ed i s kd r i v ea n dr e p l a c ei t w i t ht h ew o r kd i s k e t t e .
1 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 22/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
2 . 2P r e p a r i n gt h ew o r kd i s k e t t e
N o wt h a ty o uh a v ea w o r kd i s k e t t e ,y o u ' r er e a d yt o s t a r tl e a r n i n gG E O S *
I f y o uh a v e n ' ty e tl o a d e dG E O S ,b u ty o uh a v e y o u rb a c k u pa n dw o r kd i s k e t t e sm a d e ,t h e n l o a dG E O Sf r o mt h eo r i g i n a ld i s k e t t e w i t h :
L O A D " G E O S " ,8 , 1 < R E T U R N >
A f t e rG E O Si s l o a d e d ,r e m o v et h eo r i g i n a ld i s k e t t e .U s et h eo r i g i n a l
d i s k e t t eo n l yf o r t h ei n i t i a ll o a d i n gp r o c e s s .U s ew o r kd i s k e t t e sf o r t h eo t h e r
p r o c e d u r e s .
Y o u rs c r e e ns h o u l dl o o kl i k et h i s :
1 q e o sj f i l ej u i e u jj d i s k\ s p e c i a l
G E Q SW 2
K b y t e su s e d 8 K b u t e sf r e e
C E O SB O O T C E O SK E R M f l LD E S K T O P
C E O P f l l H T C E O W P I T E G & C K U P
1
F i g u r e1 : T h ed e s k T o p
1 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 23/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
B e f o r ew eb e g i nw o r k i n gw i t hG E O S ,t h e r e a r e t h r e e t h i n g sy o um u s td o :
1 . G E O Sk n o w sw h e ny o uh a v e c h a n g e dd i s k e t t e s .T h eo r i g i n a l
d i s k e t t ew a su s e dt o l o a dG E O S ,a n dy o us h o u l dh a v er e p l a c e d
i t w i t ht h ew o r kd i s k e t t e .M o v et h ep o i n t e rw i t hy o u rj o y s t i c kt o
t h ew o r dd i s ko n t h ec o m m a n dm e n u .P r e s s i n gt h ef i r eb u t t o n
o n t h i sc h o i c eo p e n su p a s u b - m e n uo f i t e m s( j u s ta s y o uu s e d
o p e nf o rB A C K U P )w h i c h y o uc h o o s eb y m o v i n gt h e p o i n t e rt o
t h a tc o m m a n da n dp r e s s i n gt h ef i r eb u t t o n .
A f t e ry o uc l i c kd i s kt h es u b - m e n ua p p e a r so n t h es c r e e n :
F i g u r e2 : d i s ks u b - m e n u
P l a c et h ep o i n t e ro n t h ec l o s ei t e ma n dp r e s st h ef i r eb u t t o n
( w e ' l l c a l lt h i s c l i c k i n gf r o mh e r e o n ) . T h e i c o n s
c h a n g e — i n s t e a do f t h ed i s k e t t ei c o ni n t h eu p p e rr i g h tc o r n e r ,a ni c o nw i t h aq u e s t i o nm a r ka p p e a r s .G E O Si s w a i t i n gf o ry o ut o
o p e nt h ed i s k e t t et h a ty o uh a v ei n s e r t e d .
1 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 24/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
C l i c kd i s ka g a i n ,a n dc l i c ko p e nf r o mt h es u b - m e n u .T h ed i s k
d r i v ew i l lr u nf o ra f e ws e c o n d s ,a n dt h e i c o n so f t h ed i s k
d i r e c t o r yw i l la p p e a r .T h i si s y o u rw o r kd i s k e t t ed i r e c t o r y .
I t i s e x t r e m e l y i m p o r t a n tt h a tt h ed i f f e r e n t d i s k e t t e sy o uu s ew i t hG E O Sh a v ed i f f e r e n tn a m e sf r o m o n ea n o t h e r .S i n c et h e
B A C K U Pp r o g r a mp r o d u c e sa c o m p l e t ec o p yo f t h eo r i g i n a l
d i s k e t t ei n c l u d i n gt h e d i s k e t t en a m e ,y o us h o u l dc h a n g et h e
n a m eo f t h ew o r kd i s k e t t e .T h i si s p r e t t ye a s yt o d o i n G E O S :
C l i c kt h ed i s km e n u ,t h e ns e l e c tt h ei t e mr e n a m e .A d i a l o g u e
b o xa p p e a r so n t h es c r e e nw i t ht h i sp r o m p t :
P l e a s ee n t e rn e w d i s kn a m e :
F i g u r e3 : R e n a m ew i n d o w
T h e< D E L >k e yd e l e t e st h eo l dn a m e .Y o uh a v eu p t o t w ol i n e s
t o e n t e ra n e wn a m e .E n t e ra n e wn a m ef o r t h i sd i s k .F o r
e x a m p l e ,w eu s e dW O R K1 .
1 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 25/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
P r e s s< R E T U R N >a f t e rt h en e wd i s k e t t en a m e .T h ew i n d o ww i l ld i s a p p e a r .N o wy o uc a nt e l lt h eo r i g i n a lf r o mt h ew o r kd i s k e t t eb y i t sn a m e .
3 . T h el a s ts t e pb e f o r es t a r t i n gG E O Si s t o m a k es o m er o o mo n t h e
w o r kd i s k e t t e .A m e s s a g ea t t h et o po f t h em a i nm e n us a y s :
0 K b y t e sf r e e .
T h eG E O Sd i s k e t t ei s f u l lo f p r o g r a m s .I n f a c t ,i n o r d e rf o ry o ut o u s eG E O S ,o n eo r m o r ep r o g r a m sm u s tb e d e l e t e df r o mt h e
d i s k e t t e .S i n c eo n l yt h r e ep r o g r a m so n t h ed i s t r i b u t i o nd i s k e t t e
a r en e e d e dt o b o o tG E O S ,y o uc a nd e l e t et h e s ef i l e sf r o my o u r
b a c k u pa n dw o r kd i s k e t t e :G E O S ,G E O SB O O Ta n dG E O SK E R N A L .B e f o r ed e l e t i n gt h e s ep r o g r a m s ,b e s u r et h a tt h e w r i t e
p r o t e c t t a bi s r e m o v e d( t h ew r i t e p r o t e c t t a bc o v e r i n gt h en o t c ho nt h e s i d eo f t h ed i s k e t t en o r m a l l yp r e v e n t sa c c i d e n t a ld e l e t i o n ) .
G E O Sh a si n f ob o x e sf o re v e r yp r o g r a m ,i n t ow h i c ht h e w r i t e
p r o t e c tb o xd a t ai s s t o r e d .M o v et h e p o i n t e rt o G E O SK E R N A La n dc l i c ki t o n c e .T h ei c o nc h a n g e sc o l o r .G E O St e l l sy o uw h a t
c o m m a n d sa r e a v a i l a b l ei n G E O SK E R N A L .C h o o s et h ef i l e
m e n u ,a n dc l i c ki n f o .T h ed i s kd r i v ew i l l r u n ,a n dt h ei n f ob o xa p p e a r s :
1 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 26/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
f q e o sj f i l ej M i e mj d i g kj s p e c i a l
T h i si s t h e c o r eo f t h eG E O So p e r a t i n g s y s t e m .
F i g u r e4 : i n f ob o x
T h i sw i n d o wc o n t a i n si n f o r m a t i o na b o u tt h ep r o g r a m .W ea r ei n t e r e s t e d i n
o n el i n ei n p a r t i c u l a r :W r i t eP r o t e c t .T h es m a l lf i l l e db o xi n t h i sl i n e
s i g n i f i e sa c t i v ew r i t ep r o t e c t i o n .T o d e a c t i v a t et h ew r i t ep r o t e c t f u n c t i o n ,
c l i c kt h ew r i t ep r o t e c tb o x .I t t u r n sw h i t e ,a n dG E O SK E R N A Lc a nn o wb ed e l e t e d .S a v et h i sc h a n g et o d i s k e t t ea n dc l o s et h ew i n d o w( c l i c kt h ec l o s e
i c o no n t h eu p p e rr i g h tc o r n e ro f t h ew i n d o w ) .T h ew i n d o wc l o s e s ,t h ed i s k
d r i v er u n s ,a n dG E O SK E R N A Li s n o wd e l e t a b l e .
N o t e :B e f o r ey o ud e l e t eG E O SK E R N A L ,b e s u r ey o uh a v et h ew o r kd i s k e t t ei n t h ed i s k d r i v ea n dn o tt h eo r i g i n a ld i s k e t t e .
N e v e rd e l e t ea p r o g r a mf r o mt h eo r i g i n a ld i s k e t t e .
G E O SK E R N A Ls h o u l dn o wb e a d a r k e rc o l o rt h a nt h eo t h e ri c o n s .I f t h i si s
n o t t h e c a s e , c l i c kG E O SK E R N A Lo n c e .C l i c kG E O SK E R N A La g a i n . W h e ny o um o v et h ej o y s t i c k ,a n i m a g eo f G E O SK E R N A Lm o v e si n s t e a do f t h ep o i n t e r( t h i si s a g h o s ti c o n ) .M o v et h ei n v e r t e di m a g et o t h ew a s t eb a s k e ti n t h el o w e rr i g h tc o r n e ra n dp r e s s t h ef i r eb u t t o n .T h ed i s k
d r i v er u n s ,a n dt h ep l a c eG E O SK E R N A Lo c c u p i e di s n o we m p t y .
1 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 27/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
R e p e a tt h ep r o c e d u r ef o rG E O Sa n dG E O SB O O T ,C l i c kt h ei c o n ,m o v et h ei n v e r t e di m a g et o t h ew a s t eb a s k e ta n dc l i c ka g a i n .N o wy o us h o u l dh a v er o o mo ny o u rw o r kd i s k e t t ef o rf i l e s ,a n dy o u rs c r e e ns h o u l dl o o kl i k et h i s :
i o g1 t i l « aj M ia m j d i s kj s p « a c i c i l
F i g u r e5 : d e s k T o pw i t h o u tG E O S ,G E O SB O O To r G E O SK E R N A L
1 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 28/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
2 3 T h ep e r f e c t s e t u p :T h eP r e f e r e n c eM a n a g e r
G E O Sh a ss e v e r a la c c e s s o r yp r o g r a m si n a d d i t i o nt o t h em a i na p p l i c a t i o np r o g r a m s g e o W r i t ea n dg e o P a i n t .O n es u c ha c c e s s o r yi s t h eP r e f e r e n c e
M a n a g e r ,w i t hw h i c hy o uc a nc h a n g e a n ds t o r ec e r t a i np a r a m e t e r st o y o u ro w nl i k i n g ( p o i n t e rs p e e da n ds h a p e ,i n s t a l l a t i o nd a t a ,e t c . ) -T h i sa c c e s s o r y
i s l o a d e d e v e r yt i m eG E O Si s l o a d e d .C h a n g i n gt h e s ep a r a m e t e r sw i l ln o t
d e s t r o ya n yo f y o u rd o c u m e n t s ,s o d o n ' tb e a f r a i d t oe x p e r i m e n tw i t ht h e m .
L e t f sl o a dt h eP r e f e r e n c eM a n a g e r .A l lt h e a c c e s s o r i e sa p p e a ra s i c o n so n
t h es c r e e na n da s f i l e n a m e su n d e rt h eg e o sm e n u .G ot o t h eg e o sm e n ua n dc l i c kt h ed e s i r e da c c e s s o r y .F o re x a m p l e ,t o o p e nt h eP r e f e r e n c e
M a n a g e r ,m o v et h ej o y s t i c k p o i n t e rt o t h eu p p e rl e f tc o r n e r , c l i c ko n g e o s ,t h e nm o v et h e p o i n t e rt o p r e f e r e n c e m g ra n dp r e s st h ef i r eb u t t o no nt h a t s e l e c t i o n .T h ed i s kd r i v ew i l lr u nf o r a f e ws e c o n d s ,t h e na n e ww i n d o wa p p e a r s :
q e o si f i l ej v i e wI d i s kI s p e c i a l
B O R D E RC H E K I TB . G R O U N DC ] L O A D
F i g u r e6 : P r e f e r e n c eM a n a g e r
1 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 29/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h ef i r s tt h i n gy o us h o u l dd o i s c h a n g et h et i m ea n dd a t e .Y o us h o u l dd ot h i se v e r yt i m ey o uw o r kw i t hG E O S ,s i n c ee v e r yd o c u m e n tf i l ei s m a r k e dw i t ht h ed a t ea n dt i m e .T h i sh e l p sy o ut o i m m e d i a t e l yd e t e r m i n et h el a s tt i m e
y o ue d i t e da d o c u m e n tf i l e ,f o re x a m p l e .M o v et h e p o i n t e rt o T I M ES E T .
M o v et h et e x tc u r s o rt o t h eP w i t ht h e s p a c e b a r .T h en u m b e r sa r en o te r a s e d
b y t h es p a c e b a r — o n l yt h ec u r s o ri s m o v e d .G E O Sw i l la c c e p to n l yv a l i d
t e r m s .Y o uc a n c h a n g et h eP Mt o a n A M ,a n dt h a t ' sa b o u ta l l .G E O Sw i l l
i g n o r ea n yo t h e rk e y sa t t h i sp a r t i c u l a rp o i n t .M o v et h et e x tc u r s o rt o t h e
f i r s tn u m b e ra n d c h a n g et h et i m e .
F o re x a m p l e ,p r e s s0 9 4 5 3 0 A < R E T U R N > .T h ec l o c kn o wr e a d s
0 9 : 4 5 : 3 0A M .C h a n g et h ec l o c kt o t h ec u r r e n tt i m e( h o u r sf r o m0 t o 1 2
o n l y ) .
N o wc h a n g et h e d a t eb y s e t t i n gt h e p o i n t e rt o D A T ES E Ta n de n t e r i n g t h e
d a t ei n t h ef o r m a tM o n t h / D a y / Y e a r .T h ec u r s o ra l s oc a nb e m o v e dh e r eb yt h es p a c e b a r .R e m e m b e rt o p r e s s< R E T U R N >w h e nd o n ee d i t i n g t h ed a t e .
M a n yo t h e rc h a n g e s c a nb e m a d ew i t ht h eP r e f e r e n c eM a n a g e r . S e eC h a p t e r3 . 6 . 4 f o rc o m p l e t ed e t a i l so n t h eP r e f e r e n c eM a n a g e r .F o rn o w ,t h o u g h ,
y o u ' l lo n l yu s et h i sa c c e s s o r yt o s e tt h e c u r r e n tt i m ea n dd a t e .
W h e nw o r k i n gw i t ht h e s ea c c e s s o r i e s ,y o us h o u l dk n o wt h a tm e m o r yl i m i t a t i o n sm a yp r e v e n tp r o g r a m ss u c ha s t h eP r e f e r e n c eM a n a g e rf r o ml o a d i n g .A s l o n ga s y o u rw o r kd i s k e t t eh a se n o u g hm e m o r y ,t h i sw o n ' t
h a p p e n .H o w e v e r ,w h e nt h e r e a r el e s st h a n5 K f r e eo n a d i s k e t t e ,G E O Sd i s p l a y sa n e r r o rm e s s a g e :
N O TE N O U G HD I S KS P A C E
T h i sm e a n st h a tG E O Sn e e d sm o r ed i s ks p a c e ,o t h e r w i s et h ea c c e s s o r yw i l l
n o tb e l o a d e d .G E O Ss t o r e sa s e c t i o no f i t s e l fo n d i s kb e f o r e l o a d i n ga n
a c c e s s o r y .T h i si s c a l l e da S W A Pf i l e .I f t h e r ei s n o te n o u g hm e m o r yo n t h ed i s k e t t e ,t h e e r r o rm e s s a g ea p p e a r s .M a k ea b s o l u t e l y s u r et h a tt h e r ei s
e n o u g hr o o mo n t h ew o r kd i s k e t t e .
N o wl e t ' sr e t u r nt o t h ed e s k T o p .M o v et h ep o i n t e rt o t h eu p p e rr i g h tc o r n e r
( E X I T )a n dp r e s s t h ef i r eb u t t o n .T h em a i nG E O Sw i n d o ww i l la p p e a ra f t e r
a f e ws e c o n d s .
1 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 30/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
2 . 4W o r kd i s k e t t e s :D e l e t i n ga n da d d i n gf i l e s
W em e n t i o n e di n t h el a s tc h a p t e rh o wi m p o r t a n ti t i s t o h a v ee n o u g hr o o mo n y o u rw o r kd i s k e t t e .W eh a v et w oo p t i o n sw h e nd e v e l o p i n ga w o r k
d i s k e t t e *F o ro n e ,w ec a ns t a r to v e rw i t hB A C K U P ,m a k ea c o p y a n dd e l e t e
t h es a m et h r e ep r o g r a m sa s w e d i da f e wp a g e sa g o ,t o f r e eu p s o m em e m o r y .
H o w e v e r ,w h e ny o u w o u l dl i k et o u s ea d i s k e t t ee x c l u s i v e l y f o rl e t t e rf i l e s ,
f o re x a m p l e ,i t ' st i m e - c o n s u m i n gt o g o t h r o u g ht h i sc o p y / u n p r o t e c t / d e l e t
p r o c e s so v e ra n do v e ra g a i n .G E O Sa l l o w sy o ut o c o p yi n d i v i d u a lf i l e s
f r o md i s k e t t e t od i s k e t t e ,a n dt h e r e f o r el e ty o um a k ey o u ro w np e r s o n a l i z e d
w o r kd i s k e t t e s .T o l e a r nh o wt h i si s d o n e ,w e l lp u tt o g e t h e ra d i s k e t t ec a l l e dL e t t e r st o c o n t a i ny o u rp e r s o n a ll e t t e r sa n dn o t e s .
F i r s ty o u l ln e e da b l a n kd i s k e t t e .I n s e r tt h i sb l a n kd i s k e t t ei n t h ed i s kd r i v e
i n p l a c eo f t h ew o r kd i s k e t t e .C l i c kt h e d i s km e n ua n dc h o o s et h e
s u b - m e n ui t e mf o r m a t .A d i a l o g u eb o xa p p e a r s a s k i n gt h a ty o un a m et h e
d i s k e t t e .T y p ei n t h en a m eL e t t e r s< R E T U R N > .T h ed i s k e t t e w i l lb ef o r m a t t e da n dg i v e nt h a tn a m e .
I q e o sj f i l ej v i e wI d i s kj s p e c i a l
P u t d i s kt o f o r m a ti n d r i v e : A
a n d e n t e ra n a m ef o r i t :
F i g u r e7 : F o r m a tw i n d o w
1 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 31/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
R e m o v et h en e w l y - f o r m a t t e dL e t t e r sd i s k e t t e , i n s e r tt h e d i s k e t t en a m e d
W o r k1 , a n dc l i c kO K .T o c o p yf i l e st o y o u rn e wd i s k e t t e ,p r o c e e da s
f o l l o w s :
M o v et h e p o i n t e rt o t h eg e o W ri t e i c o n ,a n dc l i c ki t T h ei c o nc h a n g e si n t o
a g h o s ti c o n .A f t e ra m o m e n t ' sp a u s e ,c l i c ki t a g a i n .N o wy o uc a nm o v et h e
i c o n a r o u n d .Y o u ' l lr e m e m b e rt h i sf r o mC h a p t e r1 . 2 ,w h e ny o ud r a g g e d
i c o n st o t h ew a s t eb a s k e tt o d e l e t ef i l e s .N o wm o v eg e o W r i t eb e l o wt h e
e d g eo f t h ew i n d o w ,a n dc l i c ki t ( p r e s st h ef i r eb u t t o n ) .g e o W r i t ei s n o wb e l o wt h ew i n d o w ,a n dt h ep o i n t e ri s a g a i nv i s i b l e .Y o u rs c r e e ns h o u l d
l o o ks o m e t h i n gl i k et h i s :
e o si f i l e| u i e u uj d i s k| s p e c i a l
F i g u r e8 : g e o W r i t es o u t ho f t h eb o r d e r
Y o ua r en o wr e a d yt o c o p yg e o W r i t et o t h eL e t t e r sd i s k e t t e .B u tw e ' r eg o i n gt o w a n ts o m eo t h e rf i l e sw h i c ha r ei m p o r t a n tt o t h ep r o g r a m .
Y o uh a v et h r e ep r o g r a m si n t h ed e s k T o p w i n d o w , a n dg e o W r i t eb e l o wt h e
w i n d o w .H o w e v e r ,t h ed i s k e t t ec o n t a i n sm a n ym o r ep r o g r a m sw h i c ha r e
i n v i s i b l ea t t h em o m e n t .Y o u m a ya l r e a d yk n o wt h a te a c hp a g e( s e c t i o n )o f
t h ed i s kd i r e c t o r yc a nc o n t a i nu p t o e i g h tf i l ee n t r i e s .S i n c eG E O Sn o r m a l l y
d i s p l a y sa s e c t o ri n i c o nf o r m ,y o uc a ns e ee i g h tp r o g r a m sa s i c o n sa t a
t i m e .
2 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 32/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T o s e e t h er e s to f t h ep r o g r a m s ,y o um u s tt u r n t ot h en e x tp a g eo f t h e
d i r e c t o r y .Y o u l ln o t i c et h a tt h el o w e rl e f tc o r n e ro f t h ew i n d o wh a sa
d o g e a r ,s i m i l a rt o t h ef o l d e dc o r n e r so n a n o l d b o o k .W h e ny o uc l i c k t h e
f o l d e dp a r to f t h ec o r n e r , t h e d i r e c t o r yf l i p st o t h en e x tp a g e .C l i c k i n gt h e
u n f o l d e da r e at a k e sy o ut o t h ep r e v i o u sd i r e c t o r yp a g e .
B e f o r ew e d o s o m ep a g e - f l i p p i n g ,l o o ka t t h el o w e re d g eo f t h ew i n d o w .T h e r ei s a 1 i n t h em i d d l e ,w h i c ho b v i o u s l yr e f e r st o p a g e1 . N o wc l i c kt h e
u p p e rp o r t i o no f t h ed o g e a r .T h en e ww i n d o wi s p a g e2 , a n dt h e r ea r ea s e t
o f d i f f e r e n tp r o g r a mi c o n so n t h i sp a g e .T h eP r e f e r e n c eM a n a g e ri s l o c a t e d
h e r e ,w h i c hw et a l k e da b o u t af e wp a g e sa g o .B u tw ea r e n ' ti n t e r e s t e d i nt h e
P r e f e r e n c eM a n a g e r .I n s t e a d ,w ew a n tt o c o p yt h eT e x tM a n a g e ri n s t e a d .
T h i sp r o g r a mw i l ll a t e ra l l o wu s t o " c u t " s e c t i o n so f t e x t ,a n dt h e n" p a s t e "
t h e mi n t oa t e x ta l b u m .C l i c kT e x tM a n a g e ro n c e ,t h e n a g a i na f t e ra b r i e f
p a u s e .M o v et h ei c o nt o t h ea r e ab e l o wt h ew i n d o wa n dc l i c ka g a i n .I t
s h o u l dn o wb e b e l o wt h ew i n d o wa n dn e x tt o g e o W r i t e .
N e x tw e ' l lw a n tt o c o p ys o m tf o n t sf o rl a t e ru s e .W en e e dt o t u r na p a g e ,
b u td o n ! tu s et h ed o g e a rt h i st i m e .T h e r ei s a s i m p l e rm e t h o d — j u s tp r e s st h e
d e s i r e dn u m b e r .T o g e tt o p a g e3 , s i m p l yp r e s st h e3 k e yo n t h eu p p e rr o wo f t h ek e y b o a r d .G E O St u r n st h ep a g e ,a n dd i s p l a y st h eF o n tp a g e .T h i s
p a g ec o n t a i n sa l lt h e f o n t s a v a i l a b l e t og e o W r i t e — y o um a yw e l lw a n tt o u s e
a l lo f t h e m .D r a ga l lf i v eF o n ti c o n st o t h ea r e ab e l o wt h ew i n d o w ,j u s ta s
y o u V ed o n ea b o v e .
Y o um a yw o n d e rw h yw ew a n ty o ut o c o p ya l lt h e f o n tf i l e s ;w e l l ,t h i si s
g o i n gt o b e a d i s k e t t ef o rl e t t e r s ,a n dw ew a n tt o b e a s f l e x i b l ew i t ho u rt e x t
e f f e c t sa s p o s s i b l e .B e s i d e s , t h en e x tc h a p t e rd e a l sw i t hs o m eo f G E O Sc a p a b i l i t i e s ,a n dw e ' l ln e e dt h o s ef o n t s .
2 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 33/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
f q e o sj f i l eI ' v ' i e c uj d i s kI s p e c i a l
M o r k - 1
2 3 f i l e s M 3K b y t e su s e d 2 3 K b y t e sf r e e
F i g u r e9 : R e a d yt o c o p y
N o ww e h a v ee v e r y t h i n gw e n e e df o r c o p y i n g .P u tt h e n e wd i s k e t t e
L e t t e r si n t ot h ed i s kd r i v e .C l i c kd i s k ,t h e ns e l e c tt h ei t e mc l o s e .O p e nt h en e wd i s k e t t ew i t hd i s ka n dt h eo p e ni t e m .G E O Sd i s p l a y s t h e
d i r e c t o r yo f L e t t e r s ,w h i c hi s e m p t y( c o n t a i n sn o i c o n s ) .Y o u l lu s et h e
s a m ep r o c e s sy o uu s e dt o m o v et h ei c o n sf r o mt h ew o r kd i s k e t t e ,t o m o v e
t h e mo n t ot h ee m p t yw i n d o wo f L e t t e r s( c l i c k / p a u s e / c l i c k ) .C l i c k
a n y w h e r eo n t h ee m p t y w i n d o w .I m m e d i a t e l ya n e wd i a l o g u eb o xa p p e a r s
a s k i n gy o ut o i n s e r tW or k 1 , a n dc l i c kO K .
2 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 34/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
q e o sj f i l ej v i e u uj d i s kj s p e c i a l
P l e a s ei n s e r td i s k :
W o r k1
S n d r i v e : A
F i g u r e1 0 :C o p i e rd i a l o g u eb o x
I n s e r tW o r k1 i n t ot h e d r i v ea n dc l i c kO K .A f t e r as h o r tw h i l ea n e wd i a l o g u eb o xa p p e a r sw i t ht h em e s s a g e :
P l e a s eI n s e r tD i s k :L e t t e r s
E x c h a n g et h ed i s k e t t e si n t h ed r i v ea n dc l i c kO K . S i n c eg e o W r i t ei s a f a i r l y
l a r g ep r o g r a m ,i t c a n ' tb e c o p i e di n o n ep a s s ,a n dy o uw i l lh a v et o c h a n g e
b e t w e e nW o r k1 a n dL e t t e r sm o r et h a no n c e .W h e ny o uc l i c kO K ,G E O Sc o p i e st h er e s to f t h ep r o g r a m ,a n ds o o na n e wd i r e c t o r yw i n d o w
a p p e a r s .g e o W r i t ei s n o wp a r to f t h eL e t t e r sd i s k e t t e .
C o p yt h eT e x tM a n a g e rn e x t .C l i c ki t o n c e ,p a u s ea m o m e n t ,a n dc l i c k
a g a i n .M o v et h eg h o s ti c o nt o a n ya r e ao f t h eG E O Sw i n d o wa n dc l i c ki t .
G E O Sa s k sy o ut o i n s e r tW o r k1 . C h a n g ed i s k sw h e ny o ua r ea s k e dt o d o
s o b y G E O S ,a n ds o o nt h eT e x tM a n a g e rw i l lb e o n t h eL e t t e r sd i s k .
F o l l o wt h i sp r o c e d u r ef o r t h er e s to f t h ef i l e sy o uw i s ht o c o p y .
B e f o r ew eu s ea G E O Sa p p l i c a t i o nf o rt h ef i r s tt i m e ,o p e nW o r k1 n o w .C l i c ka n yi c o nb e l o wt h e b o r d e r ,m o v et h eg h o s ti c o nb a c ki n t ot h e
w i n d o w ,a n dc l i c ki t i n t o p l a c e .D ot h i sw i t ht h er e s to f t h ei c o n s .G E O Sw i l lu n d e r s t a n dt h a tt h e s ef i l e sa r et o g o o n t ot h i sd i s k ,a n dt h a ty o uw o n ' t
n e e dt o c o p yt h e ma g a i n .
2 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 35/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
2 . 5A p p l i c a t i o n s :g e o W r i t e
I n a d d i t i o nt o t h e a c c e s s o r i e s ,G E O SV I, 2 a l s oi n c l u d e st w oc o m p l e t e
a p p l i c a t i o np r o g r a m s .T h e ya r eg e o W r i t ea n dg e o P a i n t .F o rt h em o m e n tw e ' l lb e d i s c u s s i n gg e o W r i t e .
Y o u n o ws h o u l dh a v et h e L e t t e r sd i s ki n y o u rd r i v e . L e t ' sl o a dg e o W r i t e .U n t i ln o w ,w e V eh a dy o ul o a df i l e sb yc l i c k i n gt h ei c o n ,t h e nt h e
f i l em e n u ,t h e nt h eo p e ni t e mf r o mt h a tm e n u .
B u tt h e r ei s a s e c o n d ,f a s t e rm e t h o do fl o a d i n gp r o g r a m s .M o v et h e j o y s t i c k
p o i n t e rt o t h eg e o W r i t ei c o na n dp r e s s t h ef i r eb u t t o nt w i c ei n r a p i d
s u c c e s s i o n .T h ep r o g r a ml o a d s .N o wy o uu n d e r s t a n dw h yw e h a dy o up a u s eb e t w e e nc l i c k si n t h ee a r l i e rc h a p t e r s .S on o w w eh a v et h r e em e t h o d s
o f c l i c k i n ga n i c o n :
1 . S i n g l ec l i c k :T h ei c o nc h a n g e sc o l o r .T h i ss i g n a l sG E O St h a ta n yc o m m a n d ss e n tb y y o un o wc o n c e r nt h i sp r o g r a m .T o e x i tt h i s
p r o c e s s ,j u s t c l i c ka n o t h e ri c o n ,o r a n yf r e es p a c eb e t w e e ni c o n s .
2 . D o u b l ec l i c kw i t ha p a u s eb e t w e e nt h et w oc l i c k s :T h i sa l l o w s
y o ut o m o v et h ei c o n .T h i sm o v e m e n ti s u s e df o rd r a g g i n ga n
i c o nb e l o wt h eb o r d e ro r t o t h ew a s t eb a s k e t .
3 . D o u b l e - c l i c k :S e l e c t sa n dl o a d st h ep r o g r a m .
W e V el o a d e dg e o W r i t ew i t ha d o u b l e - c l i c k .A f t e rl o a d i n g ,a d i a l o g u eb o xa p p e a r s ,o f f e r i n gy o ut h ef o l l o w i n go p t i o n s :
2 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 36/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
[ q e o s| f i l ej e d i t :j o p t i o n s| f o n t| s t y l e
F i g u r e1 1 :g e o W r i t ed i a l o gb o x
C l i c kC R E A T E .T h i st e l l sG E O St h a ty o uw a n tt o w r i t ea n e wl e t t e r .
A n o t h e rd i a l o g u eb o xa p p e a r s ,a s k i n gy o ut o e n t e r t h en a m eo f y o u rl e t t e r .E n t e ra n a m e — T oD e b ,f o re x a m p l e .T h e np r e s s t h e< R E T U R N >k e y ;
p a r to f t h e" t y p i n gp a p e r "w i n d o ww i l la p p e a r .
N o wy o uc a nb e g i nt o w r i t e .H e r e ' sw h a to u rs a m p l el e t t e rl o o k sl i k e :
2 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 37/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
| q « a o fj ( i l i aj a d i tj o p t i o n sj f o n tj s t y l o| | - j j ^ f f■ " ■ ' " " ■ ■ ■ gT o D f t b
3 e a rD e b ,
M o t h e ri s f i n en o w .S h ej u s tf i n i s h e db a k i n g af a m o u sb a t c ho f - h e r
a w a r dw i n n i n gc o o k i e s( y o u rf a v o r i t e ) .D a di s d o i n gw e l l t o o .H e w e n t
f i s h i n gw i t hT a da n dB i f f .M u f f ym i s s e sy o us o o o o om u c h . ,e v e nt h o u g h
s h e ' sh a p p yt o h a v ea r o o mo f h e r o w n .
F i g u r e1 2 :L e t t e r t oD e b
Y o u l ln o t et h a ta t e x tc u r s o ra p p e a r sw h e r et h en e x tc h a r a c t e ri s t o b e t y p e d .
P r e s s< R E T U R N >a t t h ee n do f e v e r yl i n ef o rn o w( i . e . ,t h er i g h tb o r d e ro f
t h es c r e e n ) .Y o uc a nt y p eb e y o n dt h er i g h te d g e o ft h es c r e e n ;g e o W r i t eo n l yd i s p l a y st w ot h i r d so f t h ew i n d o wa t a t i m e ,a n dp r e s e n t l ys h o w st h e
l e f tt w o - t h i r d s .T h ew i n d o ws c r o l l s t ot h er i g h tw h e ny o ut y p ep a s tt h er i g h t
b o r d e r ,b u tt h i st e n d st o b e c o n f u s i n g .W e ! Ue x p l a i nl a t e rh o wt o w o r kw i t h
t h e" h i d d e n 1 1 r i g h ts e c t i o no f t h e p a p e r .
A f t e ry o u ' v e t y p e d af e wl i n e s ,y o uc a n e x p e r i m e n ta b i tw i t hg e o W r i t e ! s
d i f f e r e n tf o n t s .C l i c kf o n ta n dt h e nt h e f o n tR o m a .A s e c o n dm e n ua p p e a r s ,s h o w i n gf o u rd i f f e r e n tp o i n ts i z e s :
2 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 38/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
[ q e o sj f i l ej e d i tj o p t i o n s
D e a r D e b ,
M o t h e ri s f i n en o w .S h e
a w a r dw i n n i n gc o o k i e s
f i s h i n gw i t hT a da n dB i f f . j
s h e ' sh a p p yt o h a v ea
x i t c h o f h e r
» l l t o o .H e w e n t
s o o o o om u c h ,e v e nt h o u g
F i g u r e1 3 :F o n ts u b - m e n u
T r y1 8 - p o i n tb y c l i c k i n gt h a ti t e m .T h es e c o n dm e n u , f r o m w h i c hy o u
s e l e c t e d 1 8 - p o i n t , c o n t r o l s t h es i z eo f t h ec h a r a c t e r s .N o t h i n gs e e m st oh a p p e nw h e ny o up i c kt h ef o n ts i z e ,s u c ha s a w i n d o wc h a n g e *H o w e v e r ,w h e ny o up r e s sa f e wk e y s , t h ed i s kd r i v er u n sa n dt h ec h a r a c t e r sa p p e a ri n
t h e s e l e c t e ds i z e .
2 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 39/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
g e o sj f i l ej e d i tj o p t i o n sj f o n tj s t y l e
M o t h e ri s f i n en o w .S h ej u s tf i n i s h e db a k i n g af a m o u sb a t c ho f h e r
a w a r dw i n n i n gc o o k i e s( y o u rf a v o r i t e ) .D a di s d o i n gw e l lt o o .H e w e n t
f i s h i n gw i t h T a da n d B i f f .M u f f ym i s s e sy o us o o o o om u c h , e v e nt h o u g h
s h e ' sh a p p yt o h a v ea r o o mo f h e ro w n .
V o u r sl o v i n g l y . .G e n e
p s I * *i *W t o i n t l k ,E e r y ,C a l i f o r n i aa n d
l a s tb u t n o tl e a s t ,U n i v e r s i t y
F i g u r e1 4 :P o i n ts i z e si n G E O S
W e ' v ew r i t t e nG e n ei n R o m a1 8 - p o i n t ,a n da f e wo f t h eo t h e rf o n t s .T h i si s
j u s ta h i n to f t h ed i f f e r e n tp o s s i b i l i t i e sG E O So f f e r s f o rt e x tp r o c e s s i n g .Y o u l lf i n dt h a ta l lo f t h e s ef o n t s a r eo n t h eL e t t e r sd i s k e t t e ,p r o v i d e dy o uc o p i e dt h e mi n t h ep r e v i o u sc h a p t e r .N o wy o um i g h tu n d e r s t a n dw h yw e h a dy o uc o p yt h e m . F e e lf r e et o e x p e r i m e n tw i t ht h e f o n t sa n dp o i n t
s i z e s — y o u ' l lf i n dy o ul i k es o m ef o n t sb e t t e rt h a no t h e r s .
T oe x i tg e o W r i t ea n dr e t u r n t ot h ed e s k T o p ,s e l e c tt h ef i l em e n ua n dt h e
q u i ti t e m .A d i a l o g u eb o xa p p e a r sa n ds a y s :
P l e a s ei n s e r ta d i s k c o n t a i n i n gt h e d e s k T o p
Y o u l lr e c a l l t h a tw e d i d n ' tc o p yt h e d e s k T o po v e rt o t h e L e t t e r sd i s k e t t e .W ed i dt h i st o l e a v ea s m u c hd i s ks p a c ea s p o s s i b l e f o r t e x tI f y o u
p r e f e r ,y o um a yc o p yt h i sf i l et o t h eL e t t e r sd i s k e t t el a t e r .F o rn o w ,
t h o u g h ,i n s e r tW o r k1 i n t ot h ed i s k d r i v ea n dc l i c kO K .d e s k T o pw i l ls o o n
a p p e a r .
O u rf i r s te n c o u n t e r w i t hG E O Si s n o wc o m p l e t e .W eh o p ey o u ' v ee n j o y e d
i t . I n t h ec o m i n gc h a p t e r sw ew i l ls y s t e m a t i c a l l yg u i d ey o ut h r o u g ht h er e s t
o f G E O S .
2 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 40/314
C h a p t e rT h r e e
( G E O SI n D e t a i l)
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 41/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 42/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
G E O Si n d e t a i l
Y o uh a v e c o m p l e t e d y o u rf i r s ts t e p sw i t hG E O S ,a n dh a v e e v e ns e e na f e wo f i t sf e a t u r e s .T h i sc h a p t e rc o n t a i n ss y s t e m a t i cd e s c r i p t i o no f t h ep r o g r a m sw h i c hm a k eu p G E O S -F i r s tw e l ld e s c r i b et h ew i n d o wl a y o u t ,t h e nt h e
m e n ua n ds u b - m e n ui t e m s( w h e r ea p p l i c a b l e ) . F i n a l l y ,w e l ld i s c u s sh o wy o uu s et h ep r o g r a m .
3 . 1d e s k T o p :T h e w i n d o w
A ni m p o r t a n tp a r to f t h eG E O Sc o n c e p ti s t h ed e s k T o p .F o ra l o n gt i m e ,t h e
p r i m a r ym a s s - s t o r a g ed e v i c ef o r t h eC - 6 4w a st h eD A T A S E T T E .T h u st h e
L O A Da n dS A V Ec o m m a n d sd e f a u l t e dt o d e v i c en u m b e r 1 — t h ec a s s e t t e
d r i v e — r a t h e rt h a nt h ed i s kd r i v e ,d e v i c en u m b e r8 . G E O Su s e st h ed i s k
d r i v ee x c l u s i v e l y .S i n c eG E O Si s s u p p l i e dw i t he v e r yn e w6 4 C ,t h ed a y s o f
t h eD A T A S E T T Ea r en u m b e r e d .
d e s k T o ps i m p l i f i e s d i s k e t t ea c c e s so n t h e! 6 4 ,s a v i n gy o ut i m ea n de f f o r t .
f q e a sI f i l e1 v i e wj d i s kj
G E O SB O O T C E O SK E B N f t LD E S K T O P
F i g u r e1 5 :T h ed e s k T o pw i n d o w
3 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 43/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
T h et o p m o s tl i n eo f t h ed e s k T o pw i n d o wi s t h ec o m m a n dm e n u .E a c ho ft h et e r m si n t h ec o m m a n dm e n ur e p r e s e n t sa s u b - m e n u ,w h i c hi s c a l l e db yc l i c k i n gi t s r e s p e c t i v ew o r d .T h ei n d i v i d u a lc h o i c e si n t h i ss u b - m e n ua r e
k n o w na s i t e m s .T h ef i r s tt w ol i n e si n t h ed e s k T o pw i n d o wc o m p r i s et h e
t i t l el i n ea n dt h ei n f ob o x .T h et i t l el i n ec o n t a i n st h e d i s k e t t en a m e .T h e
i n f ob o xc o n t a i n st h en u m b e ro f f i l e so n t h ed i s k e t t e ,t h ea m o u n to f s p a c e
u s e d ,a n dt h ea m o u n to f u n u s e ds p a c et h a tr e m a i n s .
T h ei n f ob o xa l s oh a sa s m a l lb o xc o n t a i n i n ga s m a l l e r b l a c kb o xi n t h e
u p p e rr i g h t c o r n e r .T h i sb o xi s t h e c l o s ei c o n .C l i c k i n gt h i sb o xc l o s e s t h e
d i s k e t t e ,j u s t a si f y o uc l i c k e dc l o s ei n t h ed i s km e n u .Y o u ' l l f i n dt h i s
b o xf r e q u e n t l yi n G E O Sw i n d o w s . F o re x a m p l e ,t h ei n f ob o xh a sa c l o s e
i c o n ,w h i c hl e t sy o us a v ei n f o r m a t i o na n de x i tt h ew i n d o w .T h eo p p o s i t eo f
t h ec l o s ei c o ni s t h ed i s k e t t e i c o n ,a t t h eu p p e rr i g h tc o r n e ro f t h es c r e e n .I ti s l a b e l e dw i t ht h en a m eo f t h ed i s k e t t e .W h e ny o uc l i c kt h i si c o n ,t h e
d i s k e t t eo p e n s .T h ed i s k e t t ei s b l a c kw h e na d i s k e t t ei s o p e n e d ,a n db e c o m e sa g h o s ti c o nw i t h aq u e s t i o nm a r kw h e nc l o s e d .
T h er e s to f t h es c r e e nb e n e a t ht h em e n ua r e c a l l e dG E O Sw i n d o w s , a n d
d i s p l a yu p t o e i g h td i s k e t t ef i l ee n t r i e sp e rp a g e .T h ep a g e sa r e f l i p p e db yc l i c k i n g t h ed o g e a r si n t h e i rl o w e rl e f tc o r n e r .C l i c k i n gt h e" f o l d "a d v a n c e s
t o t h en e x tp a g e ,w h i l ec l i c k i n g t h ec o r n e rp a g e sb a c k w a r d s .P a g e sc a na l s o
b e t u r n e db y t y p i n gi n t h ep a g en u m b e rf r o mt h en u m b e rk e y so n t h e
k e y b o a r d .T h e r ea r et w oi c o n sa t t h el o w e rr i g h ts e c t i o no f t h es c r e e n :Aw a s t eb a s k e ta n da p r i n t e r .T o p r i n ta t e x tf i l e ,y o ud o n ' th a v et o a c c e s s
g e o W r i t ef i r s t — j u s tc l i c kt h ei c o nt h a tr e p r e s e n t sy o u rt e x tf i l ea n dt h ep r i n t e ri c o nt o p r i n t .D r a gt h ei c o no v e rt o t h ew a s t eb a s k e ta n dc l i c kt o
d e l e t e .T h ei c o n si n d i c a t ea f i l e t y p e .
3 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 44/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
G E O Su s e st h ef o l l o w i n gf i l e t y p e s( i f y o uw o n ' tb e u s i n gy o u ro w np r o g r a m sw i t hG E O S ,y o uc a ns l a pt h i s ) :
1 . S y s t e mf i l e :I m p o r t a n ts y s t e mp r o g r a m sl i k eG E O SK E R N A L a n ds y s t e md a t al i k ep h o t os c r a p s .
2 . P r o g r a mf i l e :A p p l i c a t i o n s( g e o W r i t e ) ,a c c e s s o r i e s( P r e f e r e n c eM a n a g e r ) a n ds e l f - s t a r t i n gm a c h i n el a n g u a g eo r B A S I Cp r o g r a m s .
3 . D a t af i l e s :D o c u m e n t s( t e x t / p i c t u r e s ) ,f o n tf i l e s ,n o n - G E O Sd a t a .
4 . I n t e r f a c ef i l e s :P r o g r a m s / d a t af o rv a r i o u sp r i n t e r so r i n p u td e v i c e s .
5 . N o n - G E O Sf i l e s :N o tc r e a t e db y G E O S ,o r a l t e r e dp r o g r a m sa n dd a t ai n G E O Sf o r m a tT h e y ' r ei d e n t i f i e db y t h eC =s y m b o l .
3 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 45/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 . 2d e s k T o p :m e n ua n di t e m s
N o ww e l le x p l a i nt h ef u n c t i o n so f t h em e n u sa n d s u b - m e n ui t e m s .T h em e n ui s l i s t e df i r s t ,f o l l o w e db y i t sr e s p e c t i v es u b - m e n ui t e m s :
q e o s f i l e v i e u j d i s k s p e c i a l
g e o s :
T h i sm e n uc o n t a i n sc o m m a n d st o d i s p l a yp r o g r a mi n f o r m a t i o n ,s p e c i f y
i n p u ta n do u t p u td e v i c e s ,a n ds e l e c ta c c e s s o r i e s :
g e o s i n f o :
D i s p l a y sa w i n d o ww i t ht h en a m e so f t h ea u t h o r so f G E O S .
d e s k T o pi n f o :
D i s p l a y sa w i n d o wn a m i n gt h ep r o g r a m m e rw h od e s i g n e dt h ed e s k T o p .
s e l e c tp r i n t e r :
L i s t st h ep r i n t e rd r i v e r sa v a i l a b l eo n t h ed i s k e t t e .C h o o s ea p r i n t e rd r i v e rb yc l i c k i n g t h ed e s i r e dp r i n t e r .T h en a m ec h a n g e sc o l o r .T h ep r i n t e rd r i v e ri s
i n s t a l l e dw h e ny o uc l i c kO K .
s e l e c ti n p u t :
S i m i l a rt o s e l e c tp r i n t e r ,e x c e p tt h i sa l l o w sy o ut o s e l e c ti n p u t
d e v i c e s .A t t h et i m eo f t h i sw r i t i n g ,o n l yt h eJ O Y S T I C Kd r i v e ri s a v a i l a b l e
f o rj o y s t i c ko r m o u s e .O t h e ri n p u td r i v e r sa r ep l a n n e d ,e . g .f o rl i g h t p e n s .
p r e f e r e n c em a n a g e r :
D i s p l a y st h e u s e r - s p e c i f i e dp a r a m e t e r s( s c r e e nc o l o r s ,p o i n t e rs p e e d ,t i m e ,d a t e ,e t c . ) .
n o t e p a d :
A 1 2 7 - p a g e n o t e p a do n t ow h i c hy o uc a ne n t e rc o m m e n t a r yo r n o t e s .T h e s en o t e sa r es a v e da n dr e l o a d e d w i t ht h eG E O Ss y s t e m .
p h o t om a n a g e r :
A no n l i n e" p h o t o a l b u m " .H e r ey o uc a ns t o r ed o c u m e n t so n a l b u mp a g e s ,
a n d" c u t 1 1a n d" p a s t e "t h e mt o u s e w i t ho t h e rd o c u m e n t so r t e x t
3 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 46/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
t e x t m a n a g e r :
S i m i l a rt o p h o t om a n a g e r ,e x c e p ti t w o r k sw i t ht e x tY o uc a nc r e a t eat e x ta l b u mo f f r e q u e n t l y - u s e dt e x t sa n d" p a s t e 1 1t h e s ei n t oo t h e rt e x t s .
c a l c u l a t o r :
A no n l i n ep o c k e tc a l c u l a t o rw i t ht h ec o m m o n l y - u s e d m a t hf u n c t i o n s .
a l a r mc l p c k :
A no n l i n ed i g i t a lc l o c k w i t ha n a d j u s t a b l ea u d i oa l a r m .
f i l e :
T h i sm e n uc o n t a i n sa l l t h e c o m m a n d sa p p l i c a b l et o i n d i v i d u a lf i l e s
( p r o g r a m s ,l e t t e r s ,p i c t u r e s ,e t c . ) .
o p e n :
L o a d sa p r o g r a m . T r y i n gt o l o a d an o n - p r o g r a mf i l e( e . g . ,p r i n t e r d r i v e r s )
w i l lc a u s ea n e r r o r .E x c e p t i o n st o t h i sr u l e a r ed o c u m e n tf i l e sa n da l b u m s ,w h i c hl o a da f t e ra u t o m a t i c a l l yl o a d i n gt h ea p p l i c a t i o np r o g r a m( f o ri n s t a n c e ,
o p e n i n ga t e x td o c u m e n tf i l e f i r s tl o a d s g e o W r i t e ) .
d u p l i c a t e :C o p i e st h es e l e c t e dp r o g r a mt o t h es a m ed i s k e t t e .Y o ua r ea s k e dt o e n t e ran a m ef o r t h e d u p l i c a t ef i l e ,f o l l o w e db y a < R E T U R N > .
r e n a m e :
C h a n g e st h en a m eo f a f i l e .A d i a l o g u eb o xa p p e a r sc o n t a i n i n gt h eo l df i l e n a m e .E n t e ra n e wf i l e n a m ef o l l o w e db y < R E T U R N > .
i n f o :
A l lG E O Sf o r m a tf i l e sh a v ea n i n f ob o x .W h e nt h i si t e mi s s e l e c t e d ,ad i a l o g u eb o xi s o p e n e d .C l i c k i n gt h ew r i t ep r o t e c tb o xa c t i v a t e s( b l a c k )o rd e a c t i v a t e s( w h i t e )t h e w r i t ep r o t e c t i o n .Y o uc a ne n t e ry o u ro w nn o t e so rd e s c r i p t i o ni n t h ea r e ab e l o wt h e w r i t ep r o t e c tb o x ,a n dt h i st e x ti s s a v e da sp a r to f t h a tf i l e ' si n f o r m a t i o n .
3 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 47/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
p r i n t :
D o c u m e n t sc r e a t e dw i t hg e o W r i t eo r g e o P a i n tc a nb e o u t p u tt o a g r a p h i cp r i n t e r( u s u a l l ya d o t - m a t r i xp r i n t e r ) .B e s u r et h a ty o uh a v ep r e v i o u s l y
s e l e c t e d t h ec o r r e c tp r i n t e rd r i v e ru s i n gs e l e c tp r i n t e r .
q e o si f i l ej M i e c uj d i s kj s p e c i a l
1 K o y t e sf r e e1 6 5k b u t e su s e d
G E O P A I N T
G E O M R I T E
G E O SK E R N A L
D E S KT O P
U n i v e r s i t yR o m aC a l i f o r n i a
p h o t o
A p p l i c a t i o n
A p p l i c a t i o n
S y s t e mF i l e
S y s t e mF i l e
F o n tF i l eF o n tF i l e
F o n tF i l e
D e s kA c c e s s o r y
F i g u r e1 6 :F i l e sa r r a n g e db y S I Z E
v i e w :
d e s k T o pn o r m a l l yd i s p l a y sf i l e sa s i c o n s .T h i sm e n ua l l o w sy o ut o c h a n g et h ef o r m a t o ft h ed i s p l a y .T h ef i l e sc a nb e d i s p l a y e db y n a m er a t h e rt h a ni c o n .H o w e v e r ,y o uc a nm o v ea n ds e l e c tf i l e so n l yi f t h e ya r ed i s p l a y e da s
i c o n s .A f t e r d i s p l a y i n gt h e s ef i l e si n o n eo f t h e s e f o r m a t s , r e t u r nt o i c o nm o d et o c o n t i n u ey o u rw o r k .
b y I C O N :
D i s p l a y st h ef i l e sa s i c o n sf r o ml e f tt o r i g h ta n dt o pt o b o t t o m ,i nt h eo r d e rt h e ya r e s t o r e do n t h ed i s k e t t e .
b y S I Z E :
D i s p l a y sf i l ee n t r i e sa c c o r d i n gt o f i l es i z e ,s t a r t i n gw i t ht h el a r g e s t
t o t h es m a l l e s t .
3 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 48/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
b y T Y P E :
D i s p l a y st h ef i l e sa c c o r d i n gt o G E O Sf i l e t y p e .F i l e t y p e sc a nb e
f o u n di n t h ei n f ob o x .
b y D A T E :
D i s p l a y st h ef i l e sa c c o r d i n gt o d a t e .E v e r yG E O Sf i l eh a s ad a t e .
T h ef i l e sa r ed i s p l a y e ds t a r t i n gw i t ht h em o s tr e c e n t l y - o p e n e df i l e .
b y N A M E :
A r r a n g e st h ef i l e si n a l p h a b e t i c a lo r d e r .
S i n c eG E O Sc a no n l yd i s p l a yo n l ye i g h tf i l ee n t r i e sa t a t i m e ,y o uc a nu s et h es c r o l lb o xt o s e et h e o t h e re n t r i e s .A s c r o l lb o xh a st w oa r r o w s .C l i c k i n g
t h e s ea r r o w ss c r o l l st h el i s tu p o r d o w n .H o l d i n gd o w nt h ef i r eb u t t o ns c r o l l st h el i s ta u t o m a t i c a l l y .
d i s k :
T h i sm e n ui t e mc o n t a i n sa l l c o m m a n d si n v o l v i n ga c c e s st o a n e n t i r e
d i s k e t t e .
o p e n :
G E O S" o p e n s "t h ed i s k e t t ef o u n di n t h ed i s kd r i v e .T h ep e r t i n e n td i s k e t t e
d a t aa p p e a r si n t h ew i n d o w( e . g . ,d i s k e t t en a m e ,f r e em e m o r y ,e t c . ) .
A tt h es a m et i m eG E O St e s t st h ed i s k e t t ef o rG E O Sf o r m a tI f t h ed i s k e t t ei s
n o ti n G E O Sf o r m a t ,t h es y s t e ma s k si f t h ed i s k e t t es h o u l db ec o n v e r t e d .
T h i s h a s n o t h i n gt o d o w i t ht h eF O R M A Tc o m m a n d ,w h i c hc o m p l e t e l ye r a s e sa n dr e f o r m a t st h ed i s k e t t e .I n c o n v e r s i o n ,G E O Sw r i t e sa n o t h e r
s e c t o rt o t h i sd i s k e t t ew h i c hn o t e st h ef i l e so u t s i d et h ew i n d o wb o r d e r .T h i s
b o r d e ri s u s e dw h e nc o p y i n gi n d i v i d u a lf i l e s ,a s y o u ' v ea l r e a d ys e e n .T h u s ,G E O Sc a nh a v ei c o n so u t s i d et h el o w e rb o r d e r o n l yw h e nt h ed i s k e t t ei s i nG E O Sf o r m a t .
c l o s e :
C l i c kt h i sc o m m a n db e f o r ee x c h a n g i n gd i s k e t t e s .O n c ea d i s k e t t eh a sb e e n
e x c h a n g e d ,t h e nc l i c ko p e n .
3 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 49/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
r e n a m e :
R e n a m e st h ed i s k e t t e .T h ec u r r e n td i s k e t t en a m ei s d i s p l a y e d .Y o uc a nt h e n
e r a s et h i sn a m ew i t ht h e< D E L >k e y a n de n t e ra n e wn a m ef o l l o w e db y
< R E T U R N > ,o r c a n c e lt h ec o m m a n db y c l i c k i n gC a n c e l .Y o uc a na v o i d al o to fc o n f u s i o nb y g i v i n gy o u rd i s k e t t e s d i f f e r e n tn a m e s .
c o p y :
C o p i e st h ec o n t e n t so f t h e c u r r e n td i s k e t t et o a n o t h e rd i s k e t t e .Y o u ' l lb ea s k e dt o i n s e r tt h e d e s t i n a t i o nd i s k e t t e .T h ed e s t i n a t i o nd i s k e t t es h o u l db ee i t h e ra b l a n kd i s k e t t e ,o r a d i s k e t t ew h o s ec o n t e n t s a r en o l o n g e rn e e d e d .
A f t e ry o u V ei n s e r t e d t h e d e s t i n a t i o nd i s k e t t ea n dc l i c k e dO K ,G E O Sr e a d s
t h en a m eo f t h ed i s k e t t e .I f t h ed i s k e t t ei s u n f o r m a t t e d ,G E O Sa s k si f t h e
n e wd i s k e t t es h o u l db e f o r m a t t e d .
O n c eG E O Sh a st h en a m eo f t h ed e s t i n a t i o nd i s k e t t e ,i t a s k sy o ut o i n s e r t
t h es o u r c ed i s k e t t e( t h eo n ef r o m w h i c hy o uw i s ht o c o p y ) ,a n da f t e ry o u
c l i c kO K ,a s k sy o ut o i n s e r tt h e d e s t i n a t i o nd i s k e t t e .G E O Sw i l l r e f e r t ot h e
t w od i s k e t t e sb y t h e i rn a m e s ,n o ts i m p l yS O U R C Ea n dD E S T I N A T I O N .
T h ec o p y c o m m a n di s m e a n tm a i n l yf o r t h eu s e rw i t ht w od i s kd r i v e s .I f
y o uo n l yh a v e o n ed r i v e ,t h e nt h i sc o m m a n di s n o tw o r t h w h i l et o y o u ,s i n c e
y o u w o u l dh a v et o e x c h a n g ed i s k s3 0 t i m e sf o r a f u l ls o u r c ed i s k e t t e .Y o u ' r eb e s t o f fu s i n gt h eB A C K U Pp r o g r a m — i tr e q u i r e so n l yt h r e ep a s s e s .
a d c id r i v e :
T h i sc o m m a n da l l o w st h et w o - d r i v eG E O Su s e rt o a c t i v a t ea s e c o n dd i s k
d r i v e .T h ei n d i v i d u a ls t e p sn e e d e da r ed e s c r i b e di n a w i n d o w . T u r no f ft h e
p r e v i o u s l y - u s e dd r i v e ,a n dt u r no n t h es e c o n dd r i v e .F o l l o wt h ed i r e c t i o n s
i n t h ew i n d o w .T h es e c o n dd i s kd r i v ei s a s s i g n e dt h ed e v i c en u m b e r9 , a n d
i s r e f e r r e dt o a sD R I V EB . N o wt u r no n t h eo r i g i n a l d r i v e ,w h i c hi s
D R I V EA w i t hd e v i c en u m b e ro f 8 .
v a l i d a t e :
T h i sc o m m a n d" c l e a n su p 1 1t h ed i s k e t t e .S e c t o r so f t h ed i s k e t t e t h a td o n o t
c o n t a i nv a l i dd a t aa r ef r e e df o rs u b s e q u e n tu s e .
W a r n i n g :A G E O Sf i l et a k e su pm o r es e c t o r st h a na n o n - G E O Sf i l e .T h e s e
a d d e ds e c t o r s a r en o tr e c o g n i z e do u t s i d eo f G E O Sb y t h eV A L I D A T Ec o m m a n d .N e v e ru s et h en o r m a lC - 6 4V A L I D A T Ec o m m a n dw i t ha G E O Sd i s k e t t e . I fy o u d ot h i s ,i m m e d i a t e l yl o a dG E O Sa n de x e c u t ea G E O S
v a l i d a t e .
3 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 50/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
f o r m a t :
G E O Sa s k sy o ut o e n t e ra n a m ef o r t h ed i s k e t t ef o l l o w e db y < R E T U R N > .T h ed i s k e t t ei s a u t o m a t i c a l l yf o r m a t t e di n G E O Sf o r m a t
s p e c i a l :
T h i sm e n uc o n t a i n st h r e ec o m m a n d st h a tb y p a s sG E O S ,
B A S I C :
T h i sc o m m a n de x i t sG E O Sa n dr e t u r n sy o ut o t h eB A S I Ci n t e r p r e t e r .T or e b o o t ,i n s e r tt h eo r i g i n a lG E O Sd i s k e t t ea n dp r e s st h e< R E S T O R E >k e y .
r e s e t :
T h i si t e mr e - i n i t i a l i z e sG E O S .T h ei m p o r t a n td a t a v a l u e sa r er e s e tt o t h e i r
d e f a u l t v a l u e s ,a n dt h ec u r r e n td i s k e t t ei s o p e n e d .Y o um i g h tt r yt o u s et h i s
i t e mw h e n y o u V ef o r g o t t e nt o p e r f o r ma d i s k e t t ec h a n g e ,a n dy o u ' r es t u c ki n a n e r r o r l o o p .
Q - l i n k :
T h i sc o m m a n dc o n n e c t sy o ut o Q L I N K( Q u a n t u m L i n k ) ,d e s i g n e df o r
o n - l i n ec o m m u n i c a t i o n s .I t a l l o w sC - 6 4u s e r sw i t hG E O Sa n da m o d e mt o
t a l k t ot h ew o r l dt h r o u g ht e l e c o m m u n i c a t i o n s .
3 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 51/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 3 d e s k T o p :F u n c t i o n s
I n a d d i t i o nt o t h ec o m m a n d si n t h eG E O Sc o m m a n dm e n u ,t h e r ea r ea l s oan u m b e ro f f u n c t i o n st o m a k ey o u rw o r ks i m p l e rf o ry o u .S o m eo f t h e s ef u n c t i o n s ,s u c ha s c o p y i n g ,d e l e t i n ga n dc l i c k i n gf i l e s ,a n dd i f f e r e n tc l i c ki t e m s , a r ea l r e a d yf a m i l i a rt o y o u .L e t ' st a k ea c l o s e rl o o ka t t h e s ef u n c t i o n s .
3 3 . 1d e s k T o pf u n c t i o n sp e r f o r m e dw i t hi c o n s
Y o uc a nc l o s et h ec u r r e n td i s k e t t eb yc l i c k i n go n t h e c l o s ei c o ni n t h et i t l e
l i n e .T h i s i c o n l o o k sl i k ea t i n yc a s s e t t e .T h ei c o n sd i s a p p e a r ,a n dt h ed i s k e t t ei c o no n t h er i g h t s i d eo f t h es c r e e nb e c o m e sa g h o s ti c o n ,w i t h aq u e s t i o nm a r ka t i t sc e n t e r :
o p e n
d o s e
r e n a m e
c o p y
a d d d r i v e
v a l i d a t e
f o r m a t
F i g u r e1 6 . 5 :D i s k e t t eg h o s t i c o n
W h e ny o uc l i c kt h eq u e s t i o nm a r ki n s i d et h ed i s k e t t ei c o ni n t h er i g h tc o r n e r
o f t h es c r e e n , t h e d i s k e t t ei s o p e n e d .N o h a r mi s d o n ei f y o uf o r g o tt o
c l o s et h ed i s k e t t ea n dc l i c ko p e na g a i nt o o p e na n o t h e rd i s k e t t e .I t ' s
e n o u g ht o j u s t c l i c kt h ei c o nd i r e c t l y .
4 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 52/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I n t h el o w e rc o r n e ro f t h es c r e e ni s t h ep r i n t e r i c o n . I fy o us e l e c ta d o c u m e n tf i l ei c o na n dt h e nd r a gi t sg h o s ti c o nt o t h e t h ep r i n t e r i c o n ,a p r i n t o u to f t h ef i l ei s p r o d u c e d .
T o t h er i g h to f t h ep r i n t e ri c o ni s t h ew a s t eb a s k e t .T o d e l e t ea f i l e ,y o us i m p l yd r a gt h e d e s i r e df i l e ' si c o nt o t h ew a s t eb a s k e t .I f t h e e r r o rm e s s a g e
W R I T E P R O T E C T O Na p p e a r s ,y o um u s tg o i n t ot h ei n f ob o x( c l i c kt h e
i n f of r o mf i l e ) ,c l i c k t h es q u a r et o t h el e f to f t h ew r i t ep r o t e c tb o x ,a n dt h e nr e t r yt h ed e l e t e o p e r a t i o n .
T h ed o g e a ri n t h el o w e rl e f tc o r n e r o ft h eG E O Sw i n d o wi s u s e dt o v i e wm u l t i p l ep a g e so f t h ed i r e c t o r y .C l i c k i n gi t a d v a n c e st h ew i n d o wt o t h en e x t
p a g e . C l i c k i n gt h e" u n f o l d e d " c o r n e rd i s p l a y st h ep r e v i o u sd i r e c t o r yp a g e .
3 3 . 2K e y b o a r d
P r e s sk e y s1 t h r o u g h 9o n t h et o pr o wo f t h em a i nk e y b o a r dt o s e l e c tt h e
d i r e c t o r yp a g e s .T og o t o p a g e3 o f t h ed i s kd i r e c t o r y ,p r e s s t h e< 3 >k e y .G E O St u r n st o t h a td i r e c t o r yp a g e .
3 . 3 . 3C l i c k i n g
Y o uc a nc l i c kG E O Si c o n sw i t ht h e j o y s t i c kf i r eb u t t o ni n t h ef o l l o w i n g
w a y s :
S i m p l ed i c k :
T h ei c o nc h a n g e sc o l o r .T h ei c o ni s t h e nr e a d yf o rd i f f e r e n to p e r a t i o n ss u c h
a s l o o k i n ga t t h ei n f ob o xo r p r i n t i n gt h ef i l e .Y o uc a ne x i ta s i m p l ec l i c kb y c l i c k i n ga n yo t h e ri c o n ,o r b y c l i c k i n g t h eb l a n ka r e a o u t s i d eo f t h ei c o n .
T w oc l i c k s :
C l i c k ,t h e np a u s eb r i e f l y( a t l e a s ta h a l f - s e c o n d ) ,t h e nc l i c ka g a i n .T h i s
c l i c k i n gs e l e c t st h ei c o n ,a n da l l o w sy o ut o m o v ei t a n y w h e r ea r o u n dt h e
s c r e e n ,s u c ha s o u t s i d eo f t h eb o r d e r .Y o uc a ng e to u to f t h i sm o d eb y
c l i c k i n ga g a i n .
4 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 53/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
C l i c k i n ga n i c o n :
D e p e n d i n go n t h es i t u a t i o n ,a c l i c kc a n h a v ed i f f e r e n tr e s u l t s( p r i n t ,d e l e t e ,
m o v eb e l o wt h eb o r d e r ) .C l i c k i n g a g a i nr e t u r n st h ei c o nt o i t so r i g i n a ls t a t e .
D o u b l e - d i c k :
D o u b l e - c l i c k i n gm e a n sv e r yq u i c k l yp r e s s i n gt h ef i r eb u t t o nt w i c e w i t h o u t a
p a u s e .T h ed o u b l e - c l i c ko p e n sa f i l e ,a n da u t o m a t i c a l l yo p e n st h e
c o r r e s p o n d i n ga p p l i c a t i o np r o g r a m .
3 . 3 . 4T h er e m a i n i n gf u n c t i o n s
C o p y i n g :
W h e ny o uc l i c ka f i l et w i c ea n dd r a gi t b e l o wt h ew i n d o wb o r d e r ,y o uc a n
t h e nc o p yi t . I n s e r tt h ed e s t i n a t i o nd i s k e t t ea n do p e nt h a td i s k e t t e .N o wy o uc a nm o v et h ei c o ni n t ot h en e wG E O Sw i n d o wa n dc l i c ki t t h e r e .
G E O Sp r o m p t sy o ut o c h a n g et h ed i s k e t t e sa s n e e d e du n t i lt h ef i l ei s c o p i e d .
T h eb o r d e ri s n o t o n l yu s e df o rc o p y i n gp r o g r a m s — i tc a na l s ob e u s e df o r
c h a n g i n gt h eo r d e ro f p r o g r a m so n t h ed i s k e t t e .Y o uc a nh a v eu p t o e i g h t
f i l e sb e l o wt h e b o r d e r .I f y o uw a n tt o c h a n g et h eo r d e ro f t h ei c o n s ,m o v e
t h ei c o n sb e l o wt h eb o r d e ra n dt h e nd r a gt h e mb a c ki n t o t h eG E O Sw i n d o wi n t h ed e s i r e do r d e r .T h eo r d e ri n w h i c ht h ei c o n sa p p e a rr e p r e s e n tt h e i r
p o s i t i o no n t h ed i s k e t t e .I f ,f o re x a m p l e ,y o u w a n tt o s w i t c hg e o P a i n t( 3 r d
p o s i t i o n )a n dB A C K U P( 7 t hp o s i t i o n ) ,c l i c ke a c hf i l e ,d r a ge a c hf i l eb e l o wt h eb o r d e r ,t h e nd r a ge a c hi c o nt o t h ed e s i r e dp o s i t i o n( g e o P a i n tw h e r e
B A C K U Pw a s ,a n dv i c ev e r s a ) .G E O Sf i l l si n f r e ep o s i t i o n sf r o ml e f tt o
r i g h ta n df r o mt o pt o b o t t o m .
Y o uc a nm o v ea n i c o nt o a n o t h e rp a g ew i t h i nt h eG E O Sw i n d o w .P l a c et h e
f i l ea t t h es p a c eb e l o wt h e b o r d e r ,p r e s sa n u m b e r ,a n dm o v et h ei c o nb a c k
u p t o t h ep a g e .
4 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 54/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
3 . 4 g e o P a i n t
3 A 1S t a r t i n gg e o P a i n t
O n eo f t h et w oa p p l i c a t i o n si n c l u d e dw i t hG E O Si s g e o P a i n t .T h eg e o P a i n ta p p l i c a t i o nh a sm a n ye x t r a si n a d d i t i o nt o t h en o r m a lf u n c t i o n s .Y o uc a n
c r e a t ec o l o rd o c u m e n t sf r o mt h e s i x t e e n c o l o r su s e df o rc h a r a c t e r sa n db a c k g r o u n d .F o r e g r o u n d a n d b a c k g r o u n dc o l o r sw o r ki n 8 x 8 - p i x e l
m a t r i c e s .Y o uc a na l s oa d dt e x ti n d i f f e r e n t y b n t et o t h ed o c u m e n t
g e o P a i n td o c u m e n t sa r es e tu p i n a s t a n d a r d( 8 . 5 "x 1 1 " )p a g ef o r m a t .
T h e r e f o r e ,y o us e eo n l ya p a r to f t h ew h o l ep i c t u r e .B u ty o ua l s oh a v et h e
o p t i o no f v i e w i n gt h ee n t i r ed o c u m e n t o nt h es c r e e ni n a r e d u c e dr e s o l u t i o n .
Y o uc a na c c e s sg e o P a i n tf r o mt h ed e s k T o pi n o n eo f t h r e ew a y s :
1 . C l i c kt h eg e o P a i n ti c o na n do p e nt h ef i l ef r o mt h ef i l em e n u .
2 . D o u b l e - c l i c kg e o P a i n t .
3 . W h e ny o uh a v ea d o c u m e n ta l r e a d ym a d e ,c l i c kt h a td o c u m e n t ' si c o n .T h i sa u t o m a t i c a l l yl o a d sg e o P a i n t ,a n dt h e nt h ed o c u m e n t .
I f y o uc l i c kg e o P a i n ta n dn o ta p r e - e x i s t i n gd o c u m e n t ,a d i a l o g u eb o xa p p e a r so f f e r i n g t h r e e c h o i c e s :
c r e a t e :
C l i c kt h i si t e mt o c r e a t ea n e wd o c u m e n t .g e o P a i n ta s k sy o ut o n a m et h e
d o c u m e n t .E n t e rt h en a m ea n dp r e s s< R E T U T R N > .
o p e n :
C l i c kt h i si t e mt o d i s p l a yt h en a m e so f e x i s t i n gg e o P a i n td o c u m e n t s .S i n c e
o n l yf i v ea r es h o w na t a t i m e , t h es c r o l lb o xc a nb e u s e dt o s c r o l lt h r o u g h
t h e l i s t i n g .N o t e :g e o P a i n to n l ys h o w st h e f i r s t1 6 d o c u m e n t so n t h e
d i s k e t t e . I fy o uh a v em o r et h a n1 6 f i l e s ,y o um a yn e e dt o c h a n g et h eo r d e r
o f f i l e s( s e eS e c t i o n3 . 3 . 4 ) .
q u i t :
C l i c kt h i si t e mt o e x i tg e o P a i n ta n dr e t u r nt o t h ed e s k T o p .
4 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 55/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I f y o us e l e c tc r e a t ea n de n t e ra f i l e n a m e ,t h ew i n d o wa p p e a r sa s f o l l o w s :
F i g u r e1 7 :g e o P a i n t
T h et o p m o s tl i n e t ot h el e f ti s t h ec o m m a n dm e n u ,a n dt h en a m eo f t h e
d o c u m e n ti s t o t h er i g h tT h eg e o P a i n tw i n d o wt a k e su p m o s to f t h es c r e e n
t o t h er i g h to f t h e t o o l k i tT h i si s w h e r ep a r to f t h ed o c u m e n ti s d i s p l a y e d
T h et o o l k i ti s o n t h el e f ts i d eo f t h es c r e e n .I t c o n t a i n s t h ed i f f e r e n t t o o l s
a v a i l a b l e f o r c r e a t i n ga n dm o d i f y i n gg e o P a i n td o c u m e n t s .C l i c ka t o o lo n c e
t o a c t i v a t ei t S o m et o o l sr e q u i r ea s e c o n dc l i c kt o s e l e c ta n o t h e rf u n c t i o n .
T h ec u r r e n t p a t t e r ni s i n d i c a t e di n t h el o w e rl e f tT h eA i r b r u s ht o o lu s e st h e
p a t t e r n .
T h es t a t u sb o xi s t o t h er i g h to f t h ep a t t e r n .I n m o s tc a s e s ,i t c o n t a i n s
i n f o r m a t i o na b o u tt h e t o o lb e i n gu s e d .W h e ny o ub e g i nw o r k i n gw i t h
g e o P a i n t ,t h e p e n c i li s t h e d e f a u l tt o o l .Y o uc a nt e l lw h i c ht o o li s " a c t i v e "
b e c a u s ei t si m a g ei s d a r k e rt h a nt h eo t h e r s .
T h es t a t u sb o xw i l ld i s p l a yi n f o r m a t i o na b o u tt h e a c t i v et o o l .T o t h el e f ti s
t h ep a g em a p ,i n w h i c ht h e r ei s y e ta n o t h e r s m a l lr e c t a n g l ei n t h eu p p e rl e f t
c o r n e ro f t h ep a g ed i s p l a y .
4 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 56/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
N o t e :A sw em e n t i o n e da t t h eb e g i n n i n g o ft h i sb o o k ,s p r i t e sd on o ta p p e a ri n h a r d c o p y . T h e r e f o r et h es m a l lr e c t a n g l ed o e sn o ta p p e a ri n F i g u r eV
T h i sr e c t a n g l ec o r r e s p o n d st o t h e s e c t i o no f t h ed o c u m e n tv i s i b l eo n t h e
s c r e e n .T h u st h eu p p e rl e f tc o r n e ro f t h ed o c u m e n ti s n o wd i s p l a y e d .N e x tt o t h i sd i s p l a yi s t h ec o l o ri n d i c a t o r( s m a l ls q u a r e ) ,w h i c h s h o w st h e c u r r e n t
c o l o rb e i n gu s e d .T h ec o l o rl i s t i n gt o t h er i g h to f t h ec o l o ri n d i c a t o rs h o w st h es i x t e e n a v a i l a b l ec o l o r s ,w h i l et h ea r r o wa b o v et h i sl i n es h o w st h e
c u r r e n t c o l o rs e l e c t e d .
Y o us e l e c ta t o o lb y p o i n t i n gt o i t a n dc l i c k i n g .U s et h et o o l i nt h ew i n d o wp a g e b ym o v i n gt h e p o i n t e rt o t h e d e s i r e dt o o li c o n ,c l i c k i n gt o a c t i v a t e ,
u s i n gt h et o o l ,a n dc l i c k i n g t od e a c t i v a t e .T h ep o i n t e rw i l lc h a n g ec o l o r
w h e no n o r o f f .
3 . 4 . 2T h eg e o P a i n tm e n u
A s a l r e a d ys e e ni n d e s k T o p , e a c hm e n uh a sa s u b - m e n uf r o m w h i c hy o um a yc h o o s ei t e m s .T h i ss u b - m e n ud r o p sd o w n w h e ny o uc l i c ka m e n u .W h a ts o r t so f f u n c t i o n sd ow eh a v eh e r e ,a n d w h a tc a nt h e yd o f o ry o u ?
g e o s :
H e r ey o u ' l lf i n de s s e n t i a l l yt h es a m ei t e m sa s f o u n di n t h es a m ea r e au n d e r
d e s k T o p .g e o P a i n ti n f or e p l a c e sd e s k T o pi n f o ,a n dd i s p l a y st h e
n a m e so f t h ea u t h o r so f g e o P a i n t . A f t e rt h a tt h e a c c e s s o r i e s f o r t h ec u r r e n t
d i s k e t t ef o l l o w .C l i c k i n gt h es u b - m e n us e l e c t i o ni s e n o u g ht o s t a r tt h e
a c c e s s o r y .
T h es u b - i t e m ss e l e c tp r i n t e ra n ds e l e c ti n p u ta r en o ta v a i l a b l e
h e r e .T h e r e f o r e ,r e m e m b e rt o s e l e c ta p r i n t e rd r i v e rb e f o r ep r i n t i n gag e o P a i n tp i c t u r e .
4 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 57/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
f i l e :
T h i sm e n uc o n t a i n st h ei t e m st h a th a n d l e g e o P a i n td o c u m e n t s :
c l o s e :
T h i sc o m m a n dc l o s e sy o u rd o c u m e n tf i l e .T h i si s u s e dw h e ny o u ' r e
t h r o u g hw i t hy o u rp i c t u r e .T h i sd o e sX L Q Lc l o s ey o u rw o r k s p a c e( i . e .
g e o P a i n t ) .g e o P a i n ta s k si f y o uw i s ht o c r e a t ea n e wp i c t u r e ,o p e na n o t h e rp i c t u r e ,o r q u i tt o t h ed e s k T o p .
u p d a t e :
N o r m a l l y ,g e o P a i n td o e sn o t s a v et h e c h a n g e sy o uh a v em a d et o a
d o c u m e n t .S o m e t i m e sy o um a yw a n tt o s a v ea p i c t u r et o d i s k e t t e .Y o uc a n
u s et h i si t e mt o s a v et h em o s tc u r r e n td o c u m e n ta n dc o n t i n u ew o r k .I f y o um a k ea m i s t a k el a t e r ,y o uc a nc l i c kr e c o v e rt o r e t u r nt o t h ed o c u m e n t
p i c t u r et h a tw a sl a s tu p d a t e d .
p r e v i e w :
g e o P a i n td o c u m e n t sa r es e tu p i n a t o t a lr e s o l u t i o no f 8 0 0 x6 4 0p i x e l s .T h i s
g i v e sy o u m o r er o o mt o w o r k ,a n da g r e a td e g r e e o fd e t a i l .T h i sc o m m a n da l l o w sy o ut o s t a n db a c kt o g e ta n o v e r a l ll o o ka t t h ed o c u m e n t ;t h ep i c t u r e
s h r i n k st o l e t y o us e et h ee n t i r ed o c u m e n to n t h es c r e e na t a r e d u c e d
r e s o l u t i o n .C l i c kO Kt o e x i tt h i sm o d e .
r e c o v e r :
T h i sc o m m a n dw o r k si n c o n j u n c t i o nw i t hu p d a t e ,r e c o v e rr e l o a d st h e
l a s t - s a v e dp i c t u r e .N o t e :T h ep i c t u r ec u r r e n t l yo n t h es c r e e ni s l o s tw h e nt h ep r e v i o u sp i c t u r ei s r e c o v e r e d .
r e n a m e :
L e t sy o uc h a n g et h en a m eo f a d o c u m e n t .T h ec u r r e n tn a m ei s d i s p l a y e d —d e l e t ei t w i t ht h e< D E L >k e y ,e n t e ra n e wn a m e , a n dp r e s s< R E T U R N > .
p r i n t :
T h i sc o m m a n dw o r k st h es a m ea s t h ed e s k T o pv e r s i o n .T h ee n t i r ep i c t u r ei s
o u t p u tt o a p r i n t e r .R e m e m b e rt o c h o o s ea p r i n t e rd r i v e rf r o m d e s k T o pb e f o r e u s i n gg e o P a i n tt o p r i n t
q u i t :
T h i sc o m m a n dc l o s e st h ef i l e ,e x i t sg e o P a i n t ,a n dr e t u r n sy o ut o t h ed e s k T o p .T h el a s tp i c t u r ei s a u t o m a t i c a l l y s a v e d .
4 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 58/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
e d i t :
T h i sm e n uc o n t a i n sc o m m a n d sf o re d i t i n gd o c u m e n t s .g e o P a i n tl e t sy o ut o
" p a s t e " p o r t i o n so f a p i c t u r ei n t oa n a l b u m .Y o uc a nt h e nc o p yt h ea l b u mt o
a n e wp i c t u r e ,o r m e r g et h e p i c t u r ew i t ht e x t .
c u t :
T h i sc o m m a n di s s i m i l a rt o u s i n g ap a i ro f s c i s s o r s ,c u tr e m o v e sa s e c t i o n
o f t h ep i c t u r e ,a n d o n c ec u t ,t h e s e c t i o nd i s a p p e a r s .T h es e c t i o ni s d e l i m i t e d
b e f o r e b e f o r ec u t t i n gb y c l i c k i n gt h ee d i tb o xi n t h eu p p e rr i g h tc o r n e ro f t h e
t o o l k i t .N o wm o v et h ep o i n t e r ,w h i c ha p p e a r sa s c r o s s h a i r s ,t o t h eu p p e r
l e f tc o r n e ro f t h ed e s i r e ds e c t i o n .W h e ny o uc l i c k ,g e o P a i n tm a r k st h i sp o i n t
a n dc h a n g e st h ec o l o ro f t h ec r o s s h a i r .
M o v i n gt h ep o i n t e rt o t h el o w e rr i g h t c r e a t e sa d a s h e dr e c t a n g l et h a td e l i m i t st h eb o xf o rc u t t i n g .C l i c kt h i sc o r n e rt o f i xt h es i z eo f t h eb o x .N o wc h o o s e
f i l e ,a n dc l i c kc u t .T h ed i s kd r i v es p i n s ,a n dg e o P a i n ts a v e st h i ss e c t i o n
t o d i s k e t t eu n d e rt h e n a m ep h o t o s c r a p .Y o uc a nu s ep h o t om a n a g e rl a t e rt o p a s t et h i ss c r a pi n t oa n a l b u m .
c o p y :
T h i sc o m m a n di s d i f f e r e n tf r o mc u t i n t h a tt h ed e l i m i t e da r e ai s n o t
r e m o v e d ,b u ts i m p l y c o p i e di n t op h o to s c r a p .
p a s t e :
T h i sc o m m a n dl e t sy o up a s t et h e c u r r e n tp h o t os c r a pt o a n ya r e ao f t h e
d o c u m e n t .T h ed e s t i n a t i o ni s s p e c i f i e db y t h ee d i tb o x .I f t h e a r e ai s t o o
s m a l l ,t h e no n l ya p o r t i o no f t h ed o c u m e n ti s p a s t e d .
p a s t el e t sy o uc o p yp a r to f t h eg e o P a i n tw i n d o w .C u to r c o p yt h e d e s i r e d
a r e at o p h o t os c r a p( u s i n g t h ee d i tb o xw i t hc u to r c o p y ) ,m o v et h e
g e o P a i n tw i n d o wt o t h e d e s i r e dd e s t i n a t i o na r e ao f t h ep a g e( w i t ht h es c r o l l
b o x ) ,m a r kt h e d e s t i n a t i o na n dt h e nc l i c kp a s t e .
R e m e m b e rt h ef o l l o w i n gw h e ny o u w o r kw i t ht h e s e t h r e ec o m m a n d s :
p h o t os c r a pc a nh a n d l eo n l yo n eg e o P a i n ts e c t i o na t a t i m e .W h e nt h e r e
i s a l r e a d ya s e c t i o ni n t h a ta r e aa n dy o uc u to r c o p ya n e ws e c t i o n ,t h e
o l dp h o t os c r a pi s r e p l a c e db y t h en e wo n e .T h u s ,y o uc a nc o p yo n l yo n e
s e g m e n ta t a t i m et o p h o t oa l b u m .W h e ny o uw a n tt o p a s t es e v e r a l
w i n d o wr a n g e si n t oy o u ra l b u m ,p u t as e c t i o ni n t op h o t os c r a p ,c a l lu p
p h o t om a n a g e ra n dp a s t ei t i n .A f t e ry o ul e a v ep h o t om a n a g e r ,y o u
c a nu s ep h o t os c r a pa g a i n .
4 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 59/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
o p t i o n s :
T h i sm e n uc o n t a i n s v a r i o u si t e m st h a ta l l o wy o ut o f u r t h e re d i ta d o c u m e n t .
p i x e le d i t :
T h i sc o m m a n da l l o w sy o u t o c r e a t e d e t a i l e dd o c u m e n t su n d e r" m a g n i f i c a t i o n . "C l i c k i n gt h i si t e md i s p l a y sa z o o mm a r k e rw i t hf o u r
c o r n e r s — t h ez o o ma r e a .S e tt h ez o o mm a r k e ro v e rt h e a r e ay o uw i s ht o
e n l a r g e .C l i c ko n c e ,a n dt h ee n l a r g e da r e aa p p e a r si n a w i n d o w .E a c hp o i n t
i s n o wr e p r e s e n t e db y a s m a l ls q u a r e .A c t i v a t et h ep e n c i la n dc l i c ka n a r e ai n
t h ew i n d o w — ap o i n tw i l lt u r n" o n " .T h i si s t h ee q u i v a l e n to f d r a w i n ga
p i c t u r eo n p a p e rw i t ho n l yd o t s .C l i c kt h e p e n c i la g a i nt o t u r n t h ep o i n t
" o f f 1 .
Y o uc a nu s et h ee r a s e rt o t u r no f f( r e s e t )t h ei n d i v i d u a lp o i n t s .C l i c k ap o i n t
t h a ty o uw a n tt u r n e do f f .T h ee r a s e rr e m o v e st h a tp o i n tC l i c ka g a i nt o t u r n
t h a tp o i n to n .Y o uh a v eb o t he r a s e ra n dp e n c i la v a i l a b l es i m u l t a n e o u s l y .
W i t ha l i t t l ep r a c t i c e ,y o uc a nc r e a t ee x t r e m e l yd e t a i l e dd r a w i n g sw i t h
p i x e le d i t .G E O Ss h o w st h es e c t i o nb e i n ge d i t e di n i t so r i g i n a l s i z ei n
t h el o w e rl e f tc o r n e ro f t h ew i n d o w ,s o t h a ty o uc a nv i e wy o u rw o r kf r o ma
d i s t a n c e .T h es c r o l lb a rp e r f o r m sa n o t h e rf u n c t i o ni n p i x e le d i t .W h e ny o uw a n tt o m o v et h ez o o mw i n d o w ,c l i c kt h e s c r o l lb o xi n t h eu p p e rl e f t
c o r n e ro f t h et o o l k i t .T h ez o o mw i n d o wm o v e si n t h e s p e c i f i e dd i r e c t i o n .
T h ef o l l o w i n gt o o l sa r en o ta v a i l a b l ei n t h i sm o d e :t e x t ,e d i tb o x ,c i r c l ea n df i l l e dc i r c l e .
n o r m a le d i t :
T h i sc o m m a n ds w i t c h e sb a c kt o t h en o r m a lw i n d o w .
c h a n g eb r u s h :
g e o P a i n to f f e r sa t o t a lo f 3 2 d i f f e r e n tb r u s h e s w i t hw h i c hy o uc a n p r o d u c e
s o m er e m a r k a b l ee f f e c t s .C l i c k i n gc h a n g eb r u s ha l l o w sy o ut o s e l e c to n eo f t h e s e b r u s h e s .C l i c kt h ed e s i r e db r u s h .I t i s o u t l i n e db y a s m a l l
s q u a r e .
4 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 60/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
g e o sj f i l ej e d i tj o p t i o n s1 f o n t s
F i g u r e1 8 :c h a n g eb r u s h — 3 2d i f f e r e n tb r u s h e s
C l i c kt h eb r u s hi c o ni n t h et o o l k i tt o u s et h eb r u s h .
c o l o ro f f :
W h e ny o uh a v ea c o l o rp i c t u r eb u tn o c o l o rp r i n t e r ,y o uc a no b t a i na
h a r d c o p yp r i n t o u to fy o u r d r a w i n gb y c l i c k i n gc o l o ro f f .g e o P a i n tt h e n
d i s p l a y sy o u rd o c u m e n ti n b l a c ka n dw h i t e .I f y o ul o o ka t t h eo p t i o n sm e n un o w ,t h e f o u r t hi t e mw i l lr e a dc o l o ro n i n s t e a do f c o l o ro f f .C l i c k i n gt h i sr e t u r n sy o ut o y o u rc o l o rd o c u m e n t .
f o n t :
O n eo fg e o P a i n t ' sg r e a t s t r e n g t h si s t h a ti t a l l o w sy o ut o u s ed i f f e r e n tf o n t si n y o u rd o c u m e n t s .T h ed i f f e r e n tf o n t sa r e c h o s e nu n d e ro p t i o n s .C l i c k i n ga n i t e md i s p l a y sa n o t h e rw i n d o wt h a tl i s t sd i f f e r e n tf o n t si n s e v e r a l
p o i n ts i z e s .C l i c kt h ed e s i r e d f o n ta n ds i z e .
4 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 61/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 . 4 . 3T h et o o l k i t
T h et o o l k i t o f f e r sy o ud i f f e r e n td e s i g ht o o l sa n df u n c t i o n s .W e ' l le x p l a i n t h e
t o o l k i ti c o n sa n df u n c t i o n si n d e t a i ln o w ,b e g i n n i n ga t t h et o pl e f tc o r n e r ,m o v i n gl e f tt o r i g h ta n dt o pt o b o t t o m .
S c r o l lb o x :
T h ef o u ra r r o w sr e p r e s e n tt h ed i f f e r e n t d i r e c t i o n s i nw h i c hy o uc a nm o v et h e s e c t i o nm a r k e r . C l i c kt h es c r o l lb o x ,a n da f t e ra s h o r tt i m et h em a r k e ra p p e a r si n t h em i d d l e o ft h eg e o P a i n tw i n d o w .M o v i n gt h e j o y s t i c km o v e st h e s e c t i o ni n t h ea p p r o p r i a t ed i r e c t i o n ,a s l o n ga s t h eb o r d e ro f t h e p i c t u r e
h a sn o tb e e nr e a c h e d .A sy o um o v e ,t h es e c t i o nt h a tb e c o m e s" h i d d e n "i ss a v e dt o d i s k e t t e ,a n dt h en e ws e c t i o nt o w h i c hw ea r es c r o l l i n gi s l o a d e df r o md i s k e t t e .W h e nt h e d e s i r e ds e c t i o ni s d i s p l a y e d ,c l i c ki t .T h es c r o l lb o x
h a sa n o t h e rp u r p o s ei n p i x e le d i t :c l i c k i n gi t l e t sy o um o v et h ez o o mw i n d o wa r o u n dt h es c r e e n .
mE d i tb o x :
M a r k e ds e c t i o n sa r e n e e d e df o r m o r et h a nc u t ,c o p ya n dp a s t e .g e o P a i n tc a np e r f o r mm a n yf u n c t i o n su s i n ga n e n c l o s e da r e a .W h e ny o uc l i c kt h ee d i tb o x ,t h es t a t u sb o x s h o w st h ea v a i l a b l ec o m m a n d s :
I q e o si f i l eI e d i t\ o p t i o n sj f o n t s
E d i tm o d e : m m o v e
□ m j r r o rx □ i n v e r tD m i r r o ru □ r o t a t e
F i g u r e1 9 :E d i tb o x
5 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 62/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
E n c l o s ea n a r e ab y m o v i n gt h ec r o s s h a i r st o t h eu p p e rl e f tc o r n e r o ft h e
d e s i r e d a r e aa n dc l i c k i n g .N e x t ,m o v et h e c r o s s h a i r sd o w nt o t h el o w e rr i g h tc o r n e ro f t h e d e s i r e d a r e aa n dc l i c k a g a i n .T h ee n c l o s e da r e ai s s e to f f
b y a d o t t e dr e c t a n g l e .N o wy o uc a nu s et h ee d i tm o d et o c u t ,c o p y ,o r
p a s t et h i se n c l o s e da r e ai n p h o t os c r a p .O r ,s e l e c to n eo f t h e
c o m m a n d si n t h es t a t u sl i n e :
m i r r o rX m i r r o r st h ei m a g ei n t h eY a x i s( i . e .l e f tt o r i g h t ) .
m i r r o rY m i r r o r st h ei m a g ei n t h eX a x i s( t o pt o b o t t o m ) .
i nv er t i n v e r t st h ed i s p l a yo f t h ee n c l o s e da r e a — s e tp i x e l s a r e
t u r n e do f f ,a n du n s e tp i x e l sa r et u r n e do n .T h i sg i v e s
y o ua " r e v e r s ev i d e o "e f f e c t .
r o t a t e r o t a t e st h e e n c l o s e da r e a9 0 d e g r e e sc l o c k w i s e .
r o t a t ea n a r e af o u rt i m e s ,a n dy o ur e t u r nt o y o u ro r i g i n a lo r i e n t a t i o n .A s e g m e n tj u s to u t s i d et h e
e n c l o s e da r e ac a n e n d u p d i s a p p e a r i n gd u r i n g
r o t a t i o n .T h es o l u t i o ni s t o e i t h e rm a k et h em a r k e d
a r e aa s s q u a r ea s p o s s i b l e ,o r m a r ka n a r e al a r g e
e n o u g ht o e n c o m p a s sa l ls e c t i o n so f t h ed o c u m e n t .
c l e a r d e l e t e st h ee n c l o s e da r e a .
T h em o v ea n dc o p yc o m m a n d sa r es i m i l a r .T h em a i nd i s t i n c t i o ni s t h a t
m o v ep h y s i c a l l ym o v e st h ee n c l o s e da r e at o a d i f f e r e n tl o c a t i o n ,w h i l e
c o p yl e a v e s t h eo r i g i n a le n c l o s e da r e aa n dd u p l i c a t e si t a t a d i f f e r e n t
l o c a t i o n .B e s u r et h a tt h ea r e ai s e n c l o s e df i r s t .C l i c kt h e a p p r o p r i a t eb o x e s
i n t h es t a t u sb o xt o a c t i v a t et h e s ec o m m a n d s .T o e x e c u t et h ec o m m a n d ,c l i c k i n s i d et h ee n c l o s e da r e aw i t ht h ep o i n t e r .W h e ny o um o v et h ep o i n t e r ,
n o t et h a tt h ee n c l o s e da r e a" f o l l o w s . "W h e ny o uh a v er e a c h e dt h e" n e w "
a r e a ,c l i c k a g a i n ,a n dt h ee n c l o s e da r e ai s m o v e do r c o p i e da s o r d e r e d .
Y o uc a nu s ec o p yt o c r e a t e d u p l i c a t e so f t h ee n c l o s e da r e a .C l i c kt h e c e n t e r
o f t h ee n c l o s e da r e a ;t h e c r o s s h a i rw i l lc h a n g ec o l o r .M o v et h ec r o s s h a i rt o
t h en e wl o c a t i o n ,a n dc l i c k a g a i n . P r e s t o !A c o p yo f t h ec o p y .D ot h i sa so f t e na s i s r e q u i r e d .
P a t t e r nF i l l :
T h et o o lt h a tl o o k sl i k ea w a t e rf a u c e tl e t sy o uf i l la r e a sw i t ha s p e c i f i e d
p a t t e r n .T h i sp a t t e r ni s d i s p l a y e di n a b o xb e n e a t ht h et o o l k i t .T h ea r e at o b e
f i l l e dm u s tb e c o m p l e t e l ye n c l o s e d — o t h e r w i s et h ee n t i r ew i n d o ww i l lb e
f i l l e di n .C l i c kt h ef a u c e ti c o n ,m o v et o t h ea r e at o b e f i l l e d ,a n dc l i c k .T h ea r e aw i l lf i l li n w i t ht h es p e c i f i e dp a t t e r n .
5 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 63/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
A i r b r u s h :
T h ea i r b r u s hw o r k sl i k ea c a no f s p r a yp a i n t .I t s p r a y si n t h e p a t t e r n
i n d i c a t e di n t h ep a t t e r nb o x .
R u l e r . [ ^T h er u l e rl e t sy o um e a s u r ey o u rd o c u m e n ta n dd e t e r m i n ed i m e n s i o n sa n d
p o s i t i o n s .W h e ny o uc l i c ki t si c o n ,t h es t a t u s l i n el o o k sl i k et h i s :
j g e o sI f i i ej e d i tj o p t i o n sj f o n t s p i c t u r e
□ cM e a s u r eu n i t s : □ i n c h e s M p i x e l s
X : 3 8 V : 8 d i s t a n c e : 3 8
F i g u r e2 0 :R u l e ra n dl i n e s
Y o uc a n c h o o s ey o u rm e a s u r e m e n ti n p i x e l so r i n c h e s .O n ep i x e l( p i c t u r e
e l e m e n t )i s t h e s m a l l e s t p o i n tu s e a b l ei n a p i c t u r e .C l i c kt h ea p p r o p r i a t eb o x .
X , Y a n dd i s t a n c ea r em e a s u r e df r o mt h e s t a r t i n gp o i n t .M o v et h e
c r o s s h a i r st o t h ep o i n tt h a ty o uw a n tt o s t a r tf r o m .W h e ny o uc l i c kh e r e ,t h em e s s a g er e a d s :
x 0 d i s t a n c e
M e a s u r e m e n t sa r e t a k e nf r o mt h i sp o i n t .M o v et h e c r o s s h a i r sa n dt h e
d i s p l a yr e a d sa c c o r d i n g l y .T h eX m e a s u r e sm o v e m e n tt o t h er i g h t ,a n dYm e a s u r e su p o r d o w n .D i s t a n c ei s t h ed i s t a n c eb e t w e e nt h es t a r t i n gp o i n t ,o r
o r i g i n a lc o o r d i n a t e s ,a n dt h e c u r r e n t p o s i t i o no f t h ec r o s s h a i r s .
5 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 64/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
L i n e s :
T h i st o o ll e t sy o ud r a ws t r a i g h tl i n e s .I t f u n c t i o n sb a s i c a l l yt h es a m ea s t h e
r u l e ra b o v e .C l i c ka s t a r t i n g p o i n t ,m o v et h ec r o s s h a i r st o t h e d e s i r e d
e n d p o i n t ,a n dg e o P a i n td r a w sa l i n eb e t w e e nt h et w op o i n t s .T h ee n d p o i n t
c a nt h e nb e c h a n g e dt o a n yd e g r e e ,w h i c he r a s e st h ep r e v i o u sl i n ea n dd r a w sa n e wo n e .O n c ey o uc l i c k a g a i n ,t h el i n es t a y s a si s .H e r e ,t o o ,y o uc a nw o r ka c c u r a t e l yw i t hc o o r d i n a t e sa n dd i s t a n c ei n t h es t a t u sl i n e .
B r u s h : ^
T h eb r u s h i c o na l l o w sy o ut o s p e c i f yo n eo f 3 2 d i f f e r e n tb r u s h e s .C h o o s e
a n o t h e rb r u s hb y s e l e c t i n gc h a n g eb r u s hi n t h eo p t i o n sm e n u .I n
a d d i t i o nt o t h ed i f f e r e n ts i z e sa n df o r m s ,t h e r ea r ea f e wb r u s h e su s e df o r
s p e c i a le f f e c t s .E x p e r i m e n tw i t h t h e m .T r yo u tt h eb r u s hi n t h eb o t t o mr o w ,
f i f t hf r o mt h er i g h t — y o u l lg e ta m u l t i p l el i n e :
q e o sj f i l eI e d i t :I o p t i o n sj f o n t s
F i g u r e2 1 :R e p e a t e de f f e c tw i t h b r u s h
P e n d l :
T h i st o o li s t h e d e f a u l tf o rg e o P a i n t .Y o uc a nd r a wf r e e h a n d w i t ht h i st o o l .
M o v et h ep o i n t e rt o t h ew i n d o wa n dc l i c ki t . T h ep e n c i ld r a wa s i n g l ed o t .
M o v i n gt h ep e n c i la f t e ry o uc l i c ki t d r a w sa l i n e .C l i c ka g a i nt o t u r no f ft h e
p e n c i l .
5 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 65/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
D o u b l e - c l i c k i n gt h ep e n c i ls w i t c h e st o p i x e le d i tm o d e .A sw i t ha l lt h e
t o o l s ,y o uc a nc h a n g et h ec o l o ro f t h ep e n c i l .
E r a s e rT h ee r a s e rr e m o v e sl i n e sm u c hl i k ea r u b b e re r a s e r ,b u ty o ud o n ' th a v et o
r u bi t b a c ka n df o r t h a sy o u d ow i t h ar e a l e r a s e r .Y o uc a ne r a s et h ee n t i r e
g e o P a i n tw i n d o wb y d o u b l e - c l i c k i n gt h e e r a s e ri c o n .W e ' v ef o u n dt h a tt h i s
d o e s n ' to c c u ri n s t a n t l y .S o m e t i m e sy o uh a v et o d o u b l e - c l i c kt h e e r a s e r
s e v e r a lt i m e st o w i p eo u t t h e d e s i r e da r e a .I t s e e m st h a tw h e ny o ud o u b l e - c l i c kg e o P a i n tq u i c k l y , t h es e c o n dc l i c kd o e s n ' tr e g i s t e r .T r yt o
d o u b l e - c l i c ka l i t t l es l o w e rt h a nu s u a l .I f y o uh a v ep r o b l e m sa n dw a n ta na l t e r n a t i v e ,m a r kt h ee n t i r eg e o P a i n tw i n d o wo f fw i t ht h ee d i tb o x ,a n dc l i c k
c l e a ri n t h es t a t u sl i n e .D o u b l e - c l i c k i n gi n p i x e le d i te r a s e so n l yt h e
r a n g ev i s i b l eu n d e rt h ez o o mw i n d o w .
x iT e x t :
O n eo f g e o P a i n t ' s g r e a ts t r e n g t h si s t h en u m b e ro f f o n t sa n dt y p es t y l e sy o uc a nu s ew i t h i ny o u rd o c u m e n t s .F o re x a m p l e ,i t ' se x t r e m e l y s i m p l et o d ot e c h n i c a ld r a w i n g st h a n k st o f e a t u r e .W h e ny o us e l e c tt h ef o n ta n df o n ts i z e ,
a n dy o uc l i c kT f o rT e x t ,t h es t a t u s l i n el o o k sl i k et h i s :
q e o sj r i l ej e d i t| o p t i o n sj f o n t s
F i g u r e2 2 :T e x tp r o c e s s i n gw i t hG E O S
5 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 66/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
Y o uh a v et e x tc o n t r o la l m o s tc o m p a r a b l et o g e o W r i t e . F i v et y p es t y l e sc a n
b e c o m b i n e d :B o l d , I t a l i c s ,U n d e r l i n e , O u t l i n e ,a n d
R e v e r s e .E a c hv a r i a t i o ni s s e l e c t e db y c l i c k i n gi t s b o xi n t h es t a t u sb o x ,
a n dc l i c k i n ga g a i nt o d e a c t i v a t e ,p l a i nt e x tr e t u r n sy o ut o t h ed e f a u l t .
W h e ny o uh a v et h ed e s i r e dc o m b i n a t i o n ,y o um u s tm a r ko f fa t e x tw i n d o w ,i . e .d e t e r m i n ew h e r et h et e x tw i l lb e w r i t t e n .Y o uc a nw r i t et h i st e x ti n t h e
w i n d o wa s y o ud o i n g e o W r i t ew i t hw o r dw r a p ,e t c .M a y b ey o u m a r k e da
l a r g e rt e x tw i n d o wt h a ny o un e e d e d .I f y o uh a v ea l r e a d y c l i c k e dT , m o v et h ep o i n t e rt o t h eu p p e rl e f tc o r n e r o ft h ed e s i r e dt e x ta r e a .W h e ny o um o v et h e p o i n t e rt o t h el o w e rr i g h tc o r n e ro f t h em a r k e r ,t h ee d i tb o x b e c o m e sa
d a s h e dr e c t a n g l es u r r o u n d i n gt h et e x t .C l i c kw h e nt h et e x tw i n d o wi s t h e
d e s i r e ds i z e .A t e x tc u r s o r a p p e a r sa t t h eu p p e rl e f tc o r n e r ,a n dy o uc a n
e n t e rt e x tW h e nt h et e x ti s r e a d y ,y o uc a n c h a n g et h et e x ta s f o l l o w s :
Y o uc a nm a k ec h a n g e st o t h ef o n ta s y o u ' r et y p i n gi n t e x t .T h et e x ti n t h e
w i n d o wc h a n g e sa c c o r d i n g l y .Y o uc a nc h a n g et e x t t oR e v e r s e ,o r c h a n g e
R o m at o U ni v er s i t y , f o re x a m p l e .
Y o uc a nm o v et h ew i n d o wt o a n o t h e rl o c a t i o no n t h es c r e e na n dc h a n g et h e
s i z eo f t h et e x tw i n d o w .M o v et h ep o i n t e rt o t h ep o s i t i o no f t h en e wu p p e rl e f tc o r n e ro f t h ew i n d o w .C l i c ko n c e .T h ew i n d o wm o v e st o t h a t p o s i t i o n .
Y o uc a nc h a n g et h es i z ea n df o r mo f t h ew i n d o w .g e o P a i n tr e d r a w st h et e x t
i n t h en e ww i n d o w .I f t h ew i n d o we n d su p b e i n g t o os m a l l ,t h e nt h ee n t i r e
t e x tm a yb e i n v i s i b l e ,a n dd e p e n d e n tu p o nt h ew i d t h o ft h ew i n d o w ,m a yb ed i v i d e di n t om o r el i n e so f d i f f e r i n gw i d t h s .B u ty o uc a nc h a n g et h en e wf o r m a t o ft h et e x t .T of i n i s ht h i sp r o c e d u r e ,c l o s e t h ew i n d o wb y c l i c k i n g
t h eT ( t e x t )o r a n yo t h e rt o o l i c o n .T h et e x tr e g i o nv a n i s h e s .
R e c t a n g l e :
T h i st o o ll e t sy o uq u i c k l ya n de a s i l yd r a wr e c t a n g l e so fd i f f e r e n tf o r m sa n ds i z e s .C l i c kt h et o o l .M o v et h ec r o s s h a i r s t ot h ed e s i r e du p p e rl e f tc o r n e rp o s i t i o n ,a n dm a r kt h i sc o r n e r w i t ha c l i c k .N o wm o v et o t h el o w e rr i g h t
c o r n e r .g e o P a i n tw i l ld r a wr e c t a n g l e sa s y o um o v e .W h e ny o ua r es a t i s f i e d
w i t ht h er e s u l t ,c l i c ka g a i n ,a n dt h e r e c t a n g l ei s c o m p l e t e .
F i l l e dr e c t a n g l e :
T h i sf u n c t i o nw o r k st h es a m ea s t h er e c t a n g l ed e s c r i b e da b o v e ,e x c e p ti t i s
f i l l e dw i t ht h ep a t t e r nd i s p l a y e di n t h e p a t t e r nb o x .
5 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 67/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
C i r c l e :
A f t e rc h o o s i n gt h i st o o l ,m o v et h ep o i n t e rt o t h ec e n t e r p o i n to f t h ec i r c l e
a n dc l i c k .T h e nm o v et h ep o i n t e rt o a n yp o i n to n t h e r a d i u sa n dc l i c k .
g e o P a i n td r a w si t i m m e d i a t e l y .
c o l o r }
F i l l e dc i r c l e :
S a m ea s a b o v e , e x c e p tt h ec i r c l ei s f i l l e dw i t ht h ec u r r e n tp a t t e r n .
C o l o r :
g e o P a i n ta l l o w sy o ut o c h o o s ef r o ms i x t e e n c o l o r sf o r t h ed r a w i n go r
b a c k g r o u n dc o l o r .W h e ny o uc l i c kc o l o r ,t w oc o l o rl i n e sa p p e a ri n t h e
s t a t u sb o x .T h eu p p e rl i n er e p r e s e n t s t h ed r a w i n gc o l o r s .T h el o w e rl i n e
r e p r e s e n t st h eb a c k g r o u n dc o l o r s .T h ea r r o wi n e a c hl i n ep o i n t st o t h e
c u r r e n t c h o i c e s .T oc h a n g et o a n o t h e rc o l o r ,g i v ea s i n g l ec l i c k .
M a k et h ep o i n tc o l o rd i f f e r e n tt h a nt h eb a c k g r o u n d .W h e ny o uc h a n g et h e
f o r e g r o u n dc o l o r ,e v e r yn e w l ys e tp o i n tw i l lb e t h a t c o l o r .T h eb a c k
g r o u n dc o l o rm u s tb e c h a n g e dm a n u a l l y .F o rt h i sr e a s o n ,t h e r ei s a s q u a r e
b e n e a t ht h ec o l o ra s a t o o l .W h e ny o ud r a gi t t o t h ed r a w i n gs u r f a c ea n d
c l i c k ,t h eb a c k g r o u n da r e ac h a n g e si n t ot h ed e s i r e dc o l o r .Y o uc a nr e m o v et h es q u a r ew i t ha n o t h e rc l i c k .
T h e r ei s a p r o b l e mw i t hc o l o rs e l e c t i o n ,d u et o a p e c u l i a r i t yo f t h e! 6 4 .I n
h i g h - r e s o l u t i o nm o d e( i n w h i c hg e o P a i n tu s e st o d r a wd o c u m e n t s )t h e
f o r e g r o u n da n d b a c k g r o u n dc o l o r sc a no n l yb e s e ti n b l o c k so f 8 x 8 p i x e l s .
T h u st h eb a c k g r o u n dc o l o rd e p e n d st o a g r e a te x t e n tu p o nt h es i z eo f t h e
s q u a r eb e i n gc h a n g e dt o t h en e wc o l o r .Y o um a yb e t h i n k i n g ," O k a y ,b u tI
c a ns e te v e r yn e wp o i n ti n t h ef o r e g r o u n di n d i f f e r e n tc o l o r — w h yn o tt h e
b a c k g r o u n d ? 1 1
W h e ny o uc h a n g et h ec o l o r so f s e tp o i n t sa n du s ed i f f e r e n tc o l o r sf o r
d i f f e r e n tp o i n t sw i t h i n ab l o c k ,t h e s e p o i n t sm a yc h a n g et o o n ec o l o r ,s i n c e
t h e8 x 8 b l o c ki n t e r f e r e sw i t ht h ec o l o rs e l e c t i o n .
Y o us h o u l dk e e pi n m i n dt h i sc o l o rs e l e c t i o nl i m i t a t i o n — t h ef a c t t h a ty o uc a no n l yc h a n g ec o l o rf r o mb l o c kt o b l o c k — w h e ny o ua r ed e v e l o p i n g
c o l o r f u l g r a p h i c s .T r yt o p r e - p l a nd i f f e r e n tg r a p h i c ss o t h a tm u l t i p l e c o l o r
c h a n g e sd o n ! to c c u rw i t h i nt h es a m e8 x 8b l o c k .I f i t d o e s h a p p e n ,t h e n
y o uc a n a l w a y sm o v et h eb l o c kt o a n o t h e ra r e a .
5 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 68/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
U n d o !U n d o : _ _T h i sc o m m a n da l l o w sy o ut o r e c o v e r ap r e v i o u sp i c t u r e .( Y o u ro t h e ro p t i o n
i s t h er e c o v e rc o m m a n df r o mt h ef i l em e n u ,d i s c u s s e de a r l i e r ) .I f y o ud o n ' tl i k et h el i n ey o u V ej u s td r a w n ,o r y o ud o n ' tl i k et h er a n g ey o uj u s t
m a r k e do f f ,U n d or e v e r t s t ot h em o s tr e c e n tc o m m a n d .Y o uc a n n o tU n d o
c o m m a n d sf r o mt h em e n u .Y o um u s tc l i c kU n d oi m m e d i a t e l ya f t e rt h e
e r r o n e o u sc o m m a n di s p e r f o r m e d .W h e ny o uh a v ed r a w na b a dc i r c l e ,a n d
t h e nu s e dt h ee r a s e r ,b u tc h a n g e y o u rm i n da n dc l i c kU n d o ,t h ec i r c l e
d o e s n ' tg e te r a s e d — t h ee r a s e rj u s td i s a p p e a r s .H o w e v e r ,u n d oc a n b ea
l i f e s a v e r .
P a t t e r nb o x :
T h ep a t t e r nb o xi s n o te x a c t l ya t o o l .R a t h e r ,i t d i s p l a y st h ec u r r e n t p a t t e r n
s e l e c t e df r o mp a t t e r n .T oc h o o s ea n o t h e r ,c l i c kt h ep a t t e r nb o x ,a n dt h e
a v a i l a b l e p a t t e r n sa p p e a r .S i m p l yc l i c kt o c h o o s ef r o m o n eo f t h e 3 2p a t t e r n s .
I c j e o s1 f i l ej e d i tj o p t i o n sj f o n t s
F i g u r e2 3 :P a t t e r nb o xw i t h3 2p a t t e r n s
5 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 69/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 . 5 g e o W r i t e
3 . 5 . 1S t a r t i n gg e o W r i t e
T h eg e o W r i t ew o r dp r o c e s s o ri s t h es e c o n da p p l i c a t i o na v a i l a b l et o y o ui n
G E O SV I . 2 .I t h a s an u m b e ro f f e a t u r e st h a t s e ti t a p a r tf r o mo t h e rw o r dp r o c e s s i n gp r o g r a m s .
F i r s t ,g e o W r i t ep r i n t s t e x tw i t hp r o p o r t i o n a ls p a c i n g .T h i sm e a n st h a tt h e
c h a r a c t e r" I "i s m o r en a r r o wt h a n a" W " .P r o p o r t i o n a ls p a c i n gg i v e sy o u r
g e o W r i t ed o c u m e n ta m o r ep r o f e s s i o n a ll o o k .
g e o W r i t el e t sy o uu s es e v e r a ld i f f e r e n tf o n t s ,p o i n ts i z e sa n dt y p es t y l e s .
g e o P a i n td o c u m e n t sc a na l s ob e a d d e dt o g e o W r i t et e x td o c u m e n t s .
L i k eg e o P a i n t ,g e o W r i t e c a n b el o a d e di n o n eo f t h r e ew a y s :
1 ) C l i c kt h eg e o W r i t ei c o no n c e , t h e nc l i c ko p e ni n t h ef i l em e n u .
2 ) D o u b l e - c l i c kg e o W r i t et o l o a di t d i r e c t l y .
3 ) o p e na t e x td o c u m e n tf i l ec r e a t e di n g e o W r i t e .g e o W r i t ei s
l o a d e da n dt h e nt h es e l e c t e dd o c u m e n tf i l ei s l o a d e d ,s o y o uc a ni m m e d i a t e l ye d i tt h ef i l e .
W h e ny o uc h o o s eo n eo f t h ef i r s tt w oi t e m sf o rl o a d i n g ,a d i a l o g u eb o xa p p e a r so f f e r i n gy o ut h r e e o p t i o n s :
c r e a t e :C r e a t ea n e wg e o W r i t e d o c u m e n t .
o p e n : O p e na n e x i s t i n gg e o W r i t e d o c u m e n t . g e o W r i t ed i s p l a y s
t h ef i r s tf i v en a m e so fa t o t a lo f s i x t e e na l l o w a b l ef i l e si n
a w i n d o w .C l i c kt h ed e s i r e dn a m e , a n dt h e nc l i c ko p e n .
q ui t : R e t u r n sy o ut o t h ed e s k T o p .
5 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 70/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
W h e ny o uc l i c kc r e a t e ,t h es c r e e n l o o k sl i k et h i s :
[ q e o sj f i l ej e d i tj o p t i o n sj f o n tj s t y l e. . _ , _ ;1 2 .
= T o " * ' ' '
a
F i g u r e2 4 :T h eg e o W r i t ew i n d o w
T h ec o m m a n dm e n ui s i n t h eu p p e rl e f th a l fo f t h et o p m o s tl i n e .T h ep a g e
n u m b e ri n a p p r o x i m a t e l yt h ec e n t e r ,w h i c ha t t h em o m e n tr e a d s1 , i s
d i s p l a y e d .N e x tt o t h i sy o u l ls e et h es c r o l lb o x( t w oa r r o w s )a n dt h et i t l e
b o x .
T h en e x tl i n ed o w ni s t h ep o s i t i o nl i n e .T h i s c o r r e s p o n d st o t h eb a ro n a
t y p e w r i t e rt h a ti s u s e dt o s e tt h el e f ta n dr i g h tm a r g i n sa n dt a bp o s i t i o n s .
T h er e s to f t h es c r e e ni s t h eg e o W r i t ew i n d o w .I t s h o w sp a r to f a p a g e
w h i c hy o uc a ne d i t .T h ep o s i t i o no f t h eg e o W r i t ew i n d o wo n t h ep a g ei si n d i c a t e db y t h es m a l lr e c t a n g l ew i t h i nt h ep a g ed i s p l a y .I t i sc u r r e n t l ya t t h e
u p p e rl e f tc o m e r .Y o u l la l s os e ey o u rt e x tc u r s o ra t t h eu p p e rl e f tc o m e ro f
t h eg e o W r i t ew i n d o w .I t i n d i c a t e sw h e r et h en e x tc h a r a c t e rw i l la p p e a rw h e ny o ut y p ei t .
5 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 71/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 . 5 . 2T h eg e o W r i t em e n u
A sw e ' v es e e na t t h ed e s k T o p ,s e l e c t i n ga n i t e mf r o mt h ec o m m a n dm e n ud i s p l a y sa d r o p - d o w n s u b - m e n uf r o mw h i c hy o um a k ey o u rs e l e c t i o n .
W h a ta r et h e s ei t e m si n t h e s es u b - m e n u s ,a n dh o wd o t h e yw o r k ?
g e o s :
T h i sm e n ul i s t st h en a m e so f t h ep r o g r a m m e r sw h ow r o t eg e o W r i t e .T h ea c c e s s o r i e st h a ta r e c u r r e n t l yo n t h ed i s k e t t ea r ea l s ol i s t e d .C l i c kt h ed e s i r e da c c e s s o r yt o l o a di t .
Y o uc a n n o ts e l e c tp r i n t e ro r s e l e c ti n p u ti n g e o W r i t e .I f y o up l a nt o d o a n yp r i n t i n g ,y o um u s tr e m e m b e rt o s e l e c tt h en e c e s s a r yp r i n t e r
d r i v e rf r o mt h ed e s k T o pb e f o r e l o a d i n gg e o W r i t e .
f i l e :
T h i sm e n uc o n t a i n sa l lt h ec o m m a n d sa p p l i c a b l et o f i l e s( y o u rt e x t s ) .
c l o s e :
T h i sc l o s e sa d o c u m e n tf i l e .T h ef i l ei s c l o s e d ,b u tg e o W r i t ei s s t i l la c t i v e .
Y o uc a nu s ec r e a t et o s t a r ta n e wd o c u m e n tf i l e ,o p e nt o c a l la n e x i s t i n g
f i l e ,o r q u i t t i n gt o t h ed e s k T o p .
u p d a t e :
g e o W r i t ed o e s n ' ts t o r ed o c u m e n tf i l ec h a n g e st o d i s k e t t ei m m e d i a t e l y .
I n s t e a d ,t h i sh a p p e n sw h e ny o us c r o l lt o a n o t h e rs e c t i o no f t h ew i n d o wo r
w h e ny o ua r ed o n ew o r k i n go n y o u rd o c u m e n t .I t ' sw i s et o o c c a s i o n a l l y
s a v et h ec u r r e n tc h a n g e st o d i s k e t t e .F o re x a m p l e ,w h e ny o u w a n tt o c h a n g e
t h e c o n t e n t so f a d o c u m e n tf i l e ,s a v et h ec u r r e n tf i l et o d i s k e t t ew i t hu p d a t eb e f o r ee x p e r i m e n t i n g .T h e ni f y o um a k ea m i s t a k e ,y o uc a n
a l w a y sr e c o v e rt h ep r e v i o u sv e r s i o n .
p r e v i e w :
g e o W r i t ed o c u m e n t sa r es e tu p i n a n 8 . 5 "x 1 1 "p a g ef o r m a t ,e v e nt h o u g hi t
i s n o ta l w a y sv i s i b l e .U s et h ep r e v i e wc o m m a n dt o v i e wt h ee n t i r ep a g eo n s c r e e n — i ti s d i s p l a y e da s a m i n i a t u r ep a g ea t r e d u c e dr e s o l u t i o n .T h e
l e t t e r sw o n ! tb e r e a d a b l e ,b u tp r e v i e ww i l la t l e a s tg i v ey o ua n i d e ao f t h e
p a g el a y o u t . .
6 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 72/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
r e c o v e r :
T h i sc o m m a n dw o r k si n c o n j u n c t i o nw i t hu p d a t e ,r e c o v e rr e s t o r e s t h e
l a s tu p d a t et o t h e s c r e e n .W a r n i n g : T h ec u r r e n td o c u m e n tf i l ed i s p l a y e d
o n s c r e e ni s i r r e t r i e v a b l yl o s t .
r e n a m e :
T h i sc o m m a n dl e t sy o uc h a n g et h en a m eo f t h ed o c u m e n tf i l e .T h ec u r r e n t
n a m ei s d i s p l a y e di n a d i a l o g u e b o x .D e l e t et h eo l dn a m ew i t ht h e< D E L >k e ya n de n t e rt h en e wn a m ef o l l o w e db y < R E T U R N > .
p r i n t :Y o u ' l lr e m e m b e rt h i sc o m m a n df r o mt h ed e s k T o p .Y o u re n t i r eg e o W r i t e
d o c u m e n ti s o u t p u tt o t h ep r i n t e r .R e m e m b e rt o f i r s ts e l e c tp r i n t e ri n
t h ed e s k T o pb e f o r ey o uu s i n gt h i sc o m m a n d .
q u i t :
T h i sc l o s e sb o t ht h e d o c u m e n ta n dg e o W r i t e ,a n dr e t u r n sy o ut o t h e
d e s k T o p .
e d i t :
T h ef o l l o w i n ge d i t i n gc o m m a n d ss h o u l db e f a m i l i a rt o y o uf r o mt h es e c t i o n so n t h ep h o t o m a n a g e ra n dt e x t m a n a g e r .g e o W r i t ea l l o w s
y o ut o k e e po f t e n - u s e dt e x tp a s s a g e si n a t e x ta l b u m ,c o p yt h e mf r o mt h i s
a l b u ma n d" p a s t e 1 1t h e mi n t oa d i f f e r e n td o c u m e n tf i l e .Y o uc a na l s op a s t e
g e o P a i n td o c u m e n t sa n do t h e ri t e m sf r o my o u rp h o t oa l b u mi n y o u rt e x t s .
c u t :
c u t a l l o w sy o ut o r e m o v ea s e g m e n tf r o ma g e o W r i t e d o c u m e n t .T h i sw o r k sm u c hl i k ec u t t i n ga s e c t i o n ( b l o c k )f r o mt h en e w s p a p e rw i t hs c i s s o r s :
T h es e c t i o nd i s a p p e a r sf r o my o u rt e x tU n l i k eg e o P a i n t ,h o w e v e r ,b l o c k s o ft e x ta r e n ' tm a r k e dw i t ha r e c t a n g l e .R a t h e r ,y o um a r ka b l o c ka s f o l l o w s :
S e tt h ep o i n t e ro n t h ef i r s tc h a r a c t e ro f t e x t .P r e s sa n dh o l dt h ef i r eb u t t o n .
D r a gt h ep o i n t e rt o t h ee n do f t h eb l o c ka n dr e l e a s e t h ef i r eb u t t o n .T h eb l o c ki s i n d i c a t e db y a c o l o rb a r .I f t h eb l o c kc o n s i s t so f s e v e r a ll i n e s ,t h e n
y o um a r kt h eb e g i n n i n g( h o l d i n gd o w nt h ef i r eb u t t o n )a n dp u l lt h et e x t
c u r s o rd o w na l i n ea t a t i m er a t h e rt h a n aw o r da t a t i m e .O n c ey o u V em a r k e dt h e b l o c k ,y o uc a n p r o c e e dt o t h e n e x tc o m m a n d .Y o uc a n" u n m a r k "t h eb l o c kb y c l i c k i n ga n yo t h e r" u n m a r k e d "a r e ao f t h ep a g e .
6 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 73/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
A m a r k e db l o c kl o o k ss o m e t h i n gl i k et h i s :
I j h i *j g d i tj o p t i o n sj f o n tj s t ^ l a| - j | 2
i u u j a r d : X y i r i n i F i j Qc o o k i e su a o u r i n M u n t e x ' D l a d \ \ sd o i n g . ,u u . e l lt o o ,H e . . u j e n i t
f i s h i n g u u i t hT a d i :a n d ;B i f f :M u f r u : m i s s e s :q o u s o o o o om u c h , e u e nt h o u q l
s h e sh a p p yt o h a v ea r o o mo r h e ro w n .
F i g u r e2 5 :M a r k e dg e o W r i t ed o c u m e n ts e c t i o n
N o wm o v et h em o u s et o f i l ea n dc l i c kc u t -T h ed i s k d r i v er u n sa n d
g e o W r i t es a v e st h i ss e c t i o no f t e x t( b l o c k )t o d i s k e t t ew i t ht h en a m et e x ts c r a p -Y o uc a nl a t e rp a s t et h i si n t oa t e x ta l b u mu s i n gt e x t m a n a g e r .
c o p y :
T h i sc o m m a n dw o r k sv e r ym u c hl i k ec u t ,b u tt h eb l o c ki s n o tr e m o v e d
f r o mt h eg e o W r i t e d o c u m e n t .I t i s s i m p l y c o p i e dt o t e x t s c r a p .
p a s t e :
T h i sc o m m a n dl e t sy o up a s t et h e c u r r e n tt e x t s c r a pt o a n e wl o c a t i o n .
Y o uc a na l s op a s t eg r a p h i cd o c u m e n t sf r o mg e o P a i n t .W h e ny o uc l i c k
p a s t e ,a n o t h e r d i a l o g u eb o xa p p e a r sa n da s k sw h e t h e ry o uw i s ht o i n s e r t
t e x to r g r a p h i c s .T h er a n g ei s p a s t e da t t h e c u r r e n tt e x tc u r s o rl o c a t i o n .T h i s
i s w h a ti t l o o k sl i k ew h e nw ei n s e r ta g r a p h i ci n t oa d o c u m e n tf i l e :
6 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 74/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
[ q e o sj t i l ej e d i tj o p t i o n sj f o n tj s t g l ej 1 | ^* ■ * « a ■ « ' » « | I , « | , i, * ■ * « a
s o I a d j u s t e dy o u rc h a r t t os h o i ut h a io i l y o u rp a r t ym o n e y ' sr e a l l y "
g o i n gi n t oh o u s i n g .
H o u s i n g
P e r s o n a l
L a i
O t h e r
F i g u r e2 6 :G r a p h i ci n g e o W r i t ed o c u m e n t
P l e a s en o t et h ef o l l o w i n gw h e nu s i n gt h e s et h r e ec o m m a n d s :
t e x t s c r a po n l y h a sr o o mf o ro n ee x t r a c ta t a t i m e .I f y o uc u to r c o p ya g e o W r i t ed o c u m e n tp a s s a g e ,b u tt e x t s c r a pa l r e a d y
c o n t a i n sa p a s s a g e ,t h ep r e v i o u sp a s s a g ei s r e p l a c e db y t h em o s t
r e c e n t l yc u tp a s s a g e .B y t h es a m et o k e n ,y o uc a np a s t eo n l yo n e
t e x tp a s s a g ea t a t i m et o t h et e x t a l b u m .
I f y o uw i s ht o p a s t es e v e r a lg e o W r i t ed o c u m e n ts e g m e n t s ,y o u ' l l
h a v et o p a s t ea s e g m e n ti n t ot e x t s c r a p ,l o a dt h et e x tm a n a g e ra n dp a s t ei n t h e s e g m e n t .O n c ey o ul e a v et e x t
m a n a g e r ,y o uc a nc u ta n o t h e rt e x t s c r a pa n dr e p e a tt h eo p e r a t i o n .
A g e o P a i n td o c u m e n tw h i c hh a sb e e np a s t e di n g e o W r i t ed o c u m e n tm a yb e d e l e t e dl i k et e x t .P o s i t i o nt h e t e x tc u r s o ra t t h e f i r s t
c h a r a c t e rf o l l o w i n gt h eg e o P a i n td o c u m e n t ,a n dp r e s s< D E L > .U n f o r t u n a t e l y ,y o uc a n ' tw r i t ea n y t h i n gi n g e o W r i t ei n s i d eo f t h i s
i n s e r t e dg e o P a i n td o c u m e n t
6 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 75/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
o p t i o n s :
T h i sm e n uh a se s s e n t i a l l yt h es a m ec o m m a n d sa s i n t h ep a g ef o r m a ts e c t i o n
o f g e o P a i n t .
p r e v i o u sp a g e :
T h i sc o m m a n dg o e sb a c k o n ep a g ei n t h ed o c u m e n t( w o r k s o n l yi f y o u rd o c u m e n th a sm o r et h a no n ep a g e ) .
n e x t p a g e :
T h i sc o m m a n dg o e sf o r w a r do n e p a g ei n t h e d o c u m e n t .A g a i n ,t h e
c o m m a n do n l yw o r k sw h e nm o r et h a no n e p a g ee x i s t s .
g o t o p a g e :T h i sc o m m a n dd i s p l a y sa s p e c i f i cp a g ei n a d o c u m e n t .C l i c kt h i sc o m m a n da n de n t e r t h ed e s i r e dp a g en u m b e ri n t h ed o c u m e n t
h i d ep i c t u r e s :
T h i sc o m m a n di s v e r y i m p o r t a n tw h e ny o ui n c l u d eg e o P a i n td o c u m e n t si n
y o u rt e x td o c u m e n t .T h a t ' sb e c a u s et h e ya r el o a d e df r o md i s k e t t e ,r a t h e r
t h a ns t o r e di n t e x tm e m o r y .W h e ny o uw a n tt o h i d et h e m ,u s e t h i s
c o m m a n d .A r e c t a n g l e r e p l a c e st h e g e o P a i n td o c u m e n t .T h ef r e q u e n t
l o a d i n g p r o c e s s e ss t o p ,a n dy o us a v ea l o to f t i m e :T h ed o c u m e n tw i l lb e
p r i n t e dw i t h o u tg r a p h i c s .B u tr e m e m b e r ,t h i sc o m m a n df u n c t i o n so n l yu n d e rg e o W r i t e .
p a g eb r e a k :
T h ef i n a li t e mi n t h eo p t i o n ss u b - m e n ul e t sy o um a r kt h ee n do f a p a g e .A h o r i z o n t a ll i n ei s d r a w na t t h et e x tc u r s o rl o c a t i o na n dt h et e x tc u r s o ri s
a d v a n c e dt o t h en e x tp a g e .Y o uc a nr e m o v et h ep a g eb r e a kb y m o v i n gt h e
c u r s o rt o t h eu p p e rl e f tc o r n e ro f t h ep a g eb r e a ka n dp r e s s i n g< D E L > .g e o W r i t ea s k sw h e t h e ry o uw i s ht o d e l e t et h el a s tc h a r a c t e ro f t h ep r e c e d i n g
p a g e( t h el a s tc h a r a c t e ri s t h ep a g eb r e a k ) .C l i c kY E Sa n dt h ep a g eb r e a ki s g o n e .
F r e q u e n tu s e o fp a g eb r e a kc a ns a v ey o ua g r e a td e a lo f t i m e .W h e ny o um u s ti n s e r tt e x ti n a m u l t i p l e - p a g ef i l e ,t h ea l t e r e dt e x to f t e ns p i l l so v e rt o t h e
p a g e st h a tf o l l o ww h e nt h e r ei s n o r o o mo n t h ec u r r e n tp a g e ,p a g e b r e a kl e t sy o ur e f o r m a tt h ep a g e st o m a k er o o m .
6 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 76/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
f o n t :
O n eo f g e o W r i t e ' sg r e a t s t r e n g t h si s t h a ti t a l l o w sy o ut o u s em u l t i p l ef o n t s
i n y o u rt e x t s .W h e ny o uc l i c kf o n t ,a n u m b e ro f f o n t sa p p e a r . S e l e c t i n g
t h e f o n tc a l l su p a l i s to f p o i n ts i z e s .C l i c kt h e d e s i r e dp o i n ts i z e .T h ec u r r e n t f o n ti s m a r k e db y a n a s t e r i s k .
s t y l e :T h i sm e n ui t e mc o n t a i n st h ed i f f e r e n tt y p es t y l e s ( v a r i a n t s )w h i c hy o uc a n
s e l e c t i n d i v i d u a l l y .T h ea c t i v et y p es t y l e sa r em a r k e db y a s t e r i s k s ,p l a i n
t e x tt u r n so f fa l lt y p es t y l e sa n dr e t u r n sy o ut o n o r m a lt e x t .
3 . 5 3E n t e r i n gt e x t
U s i n gg e o W r i t e ,t e x ti s e n t e r e ds i m p l yb y t y p i n gi t i n .T h et e x ta p p e a r sa t
t h et e x tc u r s o r ' sp r e s e n tp o s i t i o n .g e o W r i t ed i s p l a y st h e l e f t m o s tt w o - t h i r d s
o f t h et e x t — w h e ny o ur e a c ht h er i g h tb o r d e ro f t h es c r e e n ,t h ed o c u m e n ts c r o l l st o t h el e f t ,a l l o w i n gy o ut o s e ei t sr i g h t m o s tt w o - t h i r d s .
Y o uc a ne r a s et h el a s tc h a r a c t e rt y p e db y p r e s s i n g< D E L > .T h et e x tc u r s o r
d e l e t e st h ec h a r a c t e rt o t h el e f t .W h e ny o up r e s st h e< D E L >k e yr e p e a t e d l y
u n t i ly o u ' r ea t t h ef i r s tc h a r a c t e ro f al i n e ,t h et e x tc u r s o rm o v e st o t h ep r e c e d i n gl i n e .T h ec u r s o rk e y sw o r kd i f f e r e n t l yt h a ny o u ' de x p e c t .T h e yd e l e t e c h a r a c t e r si n g e o W r i t e ,l i k et h e< D E L >k e y .T o m o v et h et e x tc u r s o r
w i t h i na d o c u m e n t ,s e tt h ej o y s t i c k p o i n t e rt o t h ed e s i r e d a r e aa n dc l i c k .
g e o W r i t eh a sw o r dw r a p .T h i sm e a n st h a tw o r d sa r en o ts e p a r a t e da t t h e
e n do f a l i n e ,a s w i t ha t y p e w r i t e r .I f t h ew o r di s t o ol o n gt o f i ta t t h ee n do fa l i n e ,i t i s " m o v e d "t o t h eb e g i n n i n g o ft h en e x tl i n e .
W h e ny o uw a n tt o a d dt o o r d e l e t ef r o ma n e x i s t i n g s e c t i o no f t e x t ,m o v e
t h ej o y s t i c k p o i n t e rt o t h ed e s i r e da r e aa n dc l i c k .N o ww h e ny o ut y p ei nc h a r a c t e r s ,t h e ya r ei n s e r t e da t t h en e wt e x tc u r s o rp o s i t i o n .T h ee x i s t i n g
c h a r a c t e r sa r em o v e dt o t h e r i g h tt o m a k er o o mf o r t h en e wt e x tT e x tt o t h e
l e f to f t h ec u r s o ri s d e l e t e dw i t h< D E L >o r a c u r s o r k e y .A l lo f t h ek e y sr e p e a tu s i n gg e o W r i t e .I n s t e a do f r e p e a t e d l yp r e s s i n ga k e y ,j u s th o l di t
d o w n ;t h ek e yr e p e a t sa u t o m a t i c a l l y .
T o i n s e r ta b l a n kl i n e ,m o v et h et e x tc u r s o rt o t h eb e g i n n i n go f w h e r ey o uw a n tt h eb l a n kl i n e( m o v et h ep o i n t e r ,a n dt h e nc l i c k ) ,t h e np r e s s t h e< R E T U R N >k e y .T h et e x tw i l lm o v eo n el i n ed o w nf r o mt h ec u r s o r ,a n d
t h eb l a n kl i n ew i l la p p e a r .T or e m o v ea b l a n kl i n e ,m o v et h et e x tc u r s o rt o
6 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 77/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
t h eb e g i n n i n g o ft h a tb l a n kl i n ea n dp r e s s< D E L > .I t i sa l s op o s s i b l et o
m o v ea p a g eb r e a kt h i sw a y( g e o W r i t ed r a w sa l i n es i g n i f y i n gt h eb e g i n n i n g
o f t h en e x tp a g e ) .S e tt h et e x tc u r s o rp a s tt h el a s tc h a r a c t e rb e f o r et h ep a g eb r e a k ,a n dp r e s s< R E T U R N > .T h eb r e a km o v e sd o w no n el i n e ,a n dy o un o wh a v ea n e wb l a n kl i n e .
W h e ny o um o v et h ep o i n t e rt o a p o i n tp a s t t h ee n do fy o u rt e x t ,t h ec u r s o ri s
p l a c e da t t h ef i r s tb l a n ka r e af o l l o w i n gt h et e x t .Y o uc a n n o tm o v et h e p o i n t e r
b e y o n dt h ee n do f y o u rt e x t .T om o v et h ee n do f t e x td o w n w a r d ,p r e s s t h e
< R E T U R N >k e yr e p e a t e d l y .A n o t h e rm e t h o di s t h e t a b ,w h i c h w e l ld i s c u s ss h o r t l y .
3 . 5 . 4F o r m a t t i n gT e x t
W h e ny o uw a n tt o e n da l i n e ,p r e s st h e< R E T U R N >k e y .T h i sw i l le n dt h e
c u r r e n tl i n ea n dm o v et h et e x tc u r s o rt o t h eb e g i n n i n go f t h en e x tl i n e .
N o ww ec o m et o t h ee l e m e n t so f t e x tf o r m a t t i n g .T h ep o s i t i o nl i n ea t t h et o p
o f t h ew i n d o wi s f o rt e x tf o r m a t t i n g .T y p e w r i t e r sh a v ea s i m i l a rl i n ef o r
s e t t i n gl e f ta n dr i g h tm a r g i n sa n df o rs e t t i n gt a b st oj u m pa c r o s sa n u m b e ro fc o l u m n sa t a k e y p r e s s .
T h ep o s i t i o nl i n eh a st w oM m a r k e r sf o rs e t t i n gy o u rm a r g i n s .T h ef i r s ti s o nt h el e f ts i d eo f t h e p o s i t i o nl i n e .C l i c ki t ,m o v ei t t o t h ed e s i r e dp o s i t i o n ,a n dy o u rl e f tm a r g i ni s s e t .T h i sm e a n st h a tt e x tl i n e sw i l ls t a r ta t t h a t p o s i t i o n .
T h eo t h e rm a r k e ri s s e ta t t h ef a r r i g h to f t h e p o s i t i o nl i n e .Y o uc a n ' ts e ei t a t
t h em o m e n t ,b e c a u s eg e o W r i t eo n l yd i s p l a y s t w o - t h i r d so f t h ew i n d o wa t a
t i m e .M o v et h e p o i n t e rt o t h er i g h te d g eo f t h ew i n d o w .T h ew i n d o ww i l l
s c r o l lt o l e ty o us e e t h er i g h tp o r t i o no f t h ew i n d o wa n dt h eo t h e rM m a r k e r .
C l i c ki t , m o v ei t t o t h ed e s i r e dp o s i t i o n ,a n dc l i c k a g a i n .g e o W r i t ew i l l
i m m e d i a t e l ya d j u s t t o t h en e wr i g h tm a r g i ns e t t i n g .
D u r i n gt e x t e n t r y ,y o us h o u l ds e ty o u rl e f tm a r g i na t 1 a n dt h er i g h tm a r g i n
a t 5 ( t h en u m b e r sa r eo n t h e p o s i t i o nl i n e ) .T h i sm a k e st h ee n t i r e t e x tl i n e
v i s i b l eo n s c r e e n( i m p o r t a n ti n p r o o f r e a d i n g ) ,a n ds a v e sy o ut i m es i n c ey o ud o n ' th a v et o s c r o l lb a c ka n df o r t hb e t w e e ns c r e e n s .W h e ny o u rt e x ti s
c o m p l e t ea n dr e a d y ,t h e ny o uc a nm o v et h el e f ta n dr i g h tm a r g i n st o t h e i r
p r o p e rp o s i t i o n sf o rp r i n t o u t .
6 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 78/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
Y o uc a ns e tu p t o e i g h tt a b s i nt h e p o s i t i o nl i n e .P o i n tt o t h es p o to n t h e
p o s i t i o nl i n ea t w h i c hy o uw a n ta t a b u l a t o rs e t ,a t t h es a m eh e i g h ta s t h eMm a r k e r s .W h e ny o uc l i c kt h i ss p o t ,t h ed i s kd r i v ew i l l r u n ,a n da n p o i n t e r
( t h et a bm a r k e r )a p p e a r s .A t a bc a nb e c l i c k e da n dm o v e dt o a n o t h e rp l a c eo n t h e p o s i t i o nl i n e .T or e m o v ea t a b ,c l i c ki t a n dm o v et h ea r r o wu p t o t h e
n u m b e r so n t h el i n e .I f y o uc l i c k a g a i n ,i t i s d e l e t e d .
H o wd o y o uu s et a b s ?Y o up r e s sa n dh o l dd o w nt h e< C T R L >k e ya t t h e
t o pl e f to f t h ek e y b o a r da n dt h e nt h ei k e y ,o r < C T R L >i . I f t h et e x tc u r s o r
h a s n o tr e a c h e dt h ee n do f a l i n e ,i t j u m p st o t h en e x tt a bc o l u m n .
T h eg e o W r i t ew i n d o wd i s p l a y so n l y as m a l lp a r to f y o u re n t i r et e x t .Y o uc a nm o v ea r o u n dt h ep a g ei n s e v e r a lw a y s .F o ro n e ,w h e nt h et e x ti s w i d e r
t h a nt h es c r e e nw i d t ha n dy o uc a nn o l o n g e r s e eb o t hm a r g i n s ,y o uc a no v e r l a pb e t w e e ns c r e e n sw i t ht h ep o i n t e r .J u s tm o v et h e p o i n t e rt o t h er i g h t
o r t h el e f tb o r d e r s .Y o uc a na l s om o v eu p o r d o w nt h ew i n d o wb y c l i c k i n g
t h es c r o l lb o xa r r o w s .T h i sm o v e st h et e x ti n t h eg e o W r i t ew i n d o wu p o rd o w no n el i n e .H o l d i n gd o w nt h ef i r eb u t t o ns c r o l l sg e o W r i t el i n eb y l i n e .
T h ep a g ed i s p l a yc a n b eu s e df o r f u r t h e r p o s i t i o nc h a n g e s .A sy o u k n o w ,i t
d i s p l a y s t h e c u r r e n tp a g en u m b e r , a n di s l o c a t e dt o t h el e f to f t h es c r o l lb o x .
I n a d d i t i o nt o t h ep a g en u m b e r ,t h e d i s p l a ya l s os h o w st h er e l a t i v ep o s i t i o n
i n t h ed o c u m e n ta s a s m a l l b l a c ks q u a r e .C l i c kt h i sr e c t a n g l e ,s l i d ei t t o t h e
d e s i r e da r e ao f t h ed o c u m e n tp a g e a n dc l i c k a g a i n .A f t e ra f e wm o m e n t s ,t h eg e o W r i t ew i n d o wd i s p l a y s t h en e wt e x t l o c a t i o n .
F i n a l l yw ec o m et o t h eP A G Ec o m m a n d s ,w h i c hl e ty o um o v et o a s p e c i f i c
p a g ei n t h ed o c u m e n tY o uc a nm a r kp a s s a g e si n g e o W r i t ea n du s ed i f f e r e n t
c o m m a n d si n t h e s e b l o c k s .M o v et h ep o i n t e rt o t h eb e g i n n i n go f t h ep a s s a g e
( t h ef i r s tc h a r a c t e r ) ,a n dm o v et o t h el a s tc h a r a c t e rw h i l eh o l d i n gd o w nt h e
f i r eb u t t o n .T h em a r k e db l o c kw i l lt u r nd a r k .Y o uc a nn o wd o o n eo f t h e
f o l l o w i n gw i t ht h i sb l o c k :
• c u tt h et e x ta n dm a k ei t a t e x t s c r a p
• c o p ya n dm a k ei t a t e x t s c r a p• D e l e t ei t w i t ht h e< D E L >k e y
• R e p l a c et h i sb l o c kw i t hn e wt e x t ,j u s tb y t y p i n gi n t h en e wt e x t .
P r e s s i n ga n yk e ya u t o m a t i c a l l yd e l e t e s t h eb l o c k .
• S e l e c ta n o t h e rf o n t ,t y p es t y l eo r p o i n ts i z eb y c l i c k i n g t h e
s e l e c t i o n .I f t h ea l t e r e dt e x tt a k e su p m o r er o o mt h a nb e f o r e
b e c a u s e o fl a r g e rp o i n ts i z e s ,t h et e x tf o l l o w i n gt h eb l o c ki s
m o v e d d o w nt o m a k e r o o mf o rt h en e wf o n t .
6 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 79/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 . 6A c c e s s o r i e s
W i t ht h et w oa p p l i c a t i o n sg e o W r i t e a n dg e o P a i n t ,G E O Sh a sa n u m b e ro fa c c e s s o r i e st h a tc a nm a k ey o u rw o r ke a s i e r .T h ea d v a n t a g e o ft h e s e
a c c e s s o r i e si s t h a tt h e yc a n b el o a d e df r o ma n a p p l i c a t i o n .F o ri n s t a n c e ,y o uc a nu s et h e c a l c u l a t o rw h i l ew o r k i n gi n g e o W r i t e ,a n dd r a wg r a p h i c sf r o map h o t oa l b u mw h i l ei n g e o P a i n t
Y o u ' l ln e e ds u f f i c i e n tm e m o r yo n d i s k e t t et o h a v et h e s e a c c e s s o r i e s
a v a i l a b l e .A S W A Pf i l ei s s e tu p o n d i s k e t t e .I t r e c o r d st h ec u r r e n ts t a t eo fy o u rw o r ka n ds t o r e sp r o g r a ms e c t i o n st h a tm i g h tb e o v e r w r i t t e nb y t h e
a c c e s s o r y .W h e ny o ul e a v et h e a c c e s s o r y , t h eS W A Pf i l ei s r e l o a d e da n dt h e
p r o g r a mp i c k su p f r o m w h e r ei t l e f to f f .I t ' sv e r yi m p o r t a n tt h a tt h e r ei se n o u g hs p a c eo n t h ed i s k e t t e t om a i n t a i nt h i sf i l e ,w h i c hc a nb e u p t o 1 5 Ki n
s i z e .
A l la v a i l a b l ea c c e s s o r i e sa r el i s t e du n d e rt h eg e o sm e n u .A s i n g l e c l i c k
l o a d st h ea c c e s s o r y .I f y o up r e f e r ,y o uc a nd o u b l e - c l i c kt h ea c c e s s o r yn a m e
i n t h eg e o sm e n u ,o r c l i c kt h ea c c e s s o r y ,t h e nf i l e ,t h e no p e n .W h e ny o uw a n tt o l e a v et h ea c c e s s o r y ,c l i c k t h e c l o s ei c o n( t h a ts m a l lb o xi n t h e
u p p e rr i g h to f t h ew i n d o w ) .
3 . 6 . 1 .A l a r mc l o c k
T h ea l a r mc l o c ki n G E O Sh a ss e v e r a la d v a n t a g e st o i t :
• Y o uh a v ea d i g i t a lc l o c ka v a i l a b l ea t a n yt i m e .
• Y o uc a ns e ta ne x a c tt i m ef o r t h ea l a r mt o g oo f f .
• Y o uc a ns a v et e x ta n dg r a p h i c sw i t ht h ed a t ea n dt i m e ,t o
q u i c k l yd e t e r m i n ew h i c hi s t h em o s tc u r r e n tv e r s i o no fa f i l e .
B e s u r ey o ue n t e r t h e c u r r e n td a t ea n dt i m ef r o mt h ed e s k T o pa t t h e
b e g i n n i n go f e v e r yG E O Ss e s s i o n .T h ee a s i e s tw a yt o d o t h i si s t o u s et h e
p r e f e r e n c em a n a g e r ,w h i c hl e t sy o us e tb o t ht h ed a t ea n dt h et i m e .
6 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 80/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
W h e ny o ul o a dt h ea l a r mc l o c k ,t h es c r e e nw i l ll o o ks o m e t h i n gl i k et h i s :
I q e o sI f i l ej v i e w1 d i s kj s p e c i a l
F i g u r e2 7 : A l a r mc l o c k
T h ec e n t e rs e c t i o nh a sa n e i g h t - d i g i tt i m ed i s p l a y .T h ef i r s ts i xd i g i t sa r et h ec l o c kt i m ei n h o u r s ,m i n u t e sa n ds e c o n d s ;t h el a t t e rt w of i g u r e sr e a dA Mf o r
b e f o r en o o na n dP Mf o ra f t e rn o o n .T h ei t e m sb e n e a t ht h et i m e ,l o o k i n gf r o ml e f tt o r i g h t ,s e r v et h ef o l l o w i n gf u n c t i o n s :
M o d eb u t t o n :
T h i sg i v e st h et i m em o d e ,i n w h i c ht h et i m ei s n o r m a l l yd i s p l a y e d .T h em o d eb u t t o ni s n o r m a l l ya w h i t ec l o c ko n b l a c kb a c k g r o u n d .T h eo t h e rm o d ei s a l a r mm o d e ,i n d i c a t e db y a b e l l ,w h i c ha p p e a r sw h e nt h ea l a r mi s
s e t .
S e tb u t t o n :
T h i sb u t t o nl e t sy o us e tt h et i m e .
C l o s eb u t t o n :
C l i c k i n gt h i si c o nc l o s e st h ea l a r mc l o c k .
T h ea l a r mb e l lw i l la p p e a rt o t h er i g h to f t h e c l o s ei c o n .
6 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 81/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T o s e tt h ec u r r e n tt i m e ,m o v et h et e x tc u r s o r( w h i c hs h o u l db e a t t h eP o f
P M )t o t h ef i r s td i g i tb y p r e s s i n gt h es p a c e b a r .T h es p a c e b a rm o v e sy o uf r o md i g i tt o d i g i tw i t h o u te r a s i n go r c h a n g i n g n u m b e r s .N o wy o uc a ne n t e r
t h en e wt i m e .R e m e m b e rt h a tG E O Sa c c e p t so n l yv a l i dd a t a .T h a ti s ,y o uc a n ' te n t e ra 2 f o rt h ef i r s td i g i t ,s i n c eh o u r sc a no n l yb e b e t w e e n0 1 a n d1 2 .
T h el a s tc h a r a c t e rm a yb e o n l yA o r P . W h e ny o ua r e f i n i s h e ds e t t i n gt h e
t i m e , p r e s s< R E T U R N >o r c l i c kt h es e tb u t t o n .
I n t h es a m em a n n e ry o uc a ns e tt h ed e s i r e da l a r mt i m e .Y o um u s tb e i n t h e
a l a r mt i m em o d e .C l i c kt h em o d eb u t t o n .Y o uc a nt o g g l eb a c ka n df o r t h
b e t w e e nm o d e sb yp r e s s i n gt h e< M >k e y .N o ws e tt h et i m ea n dc l i c kt h es e t
b u t t o no r p r e s st h e< R E T U R N >k e y .A na c t i v ea l a r mi s s i g n a l e db y t h e
d i s p l a yo f a b e l ls y m b o l .
T o e x i tt h e a l a r m ,c l i c kt h ec l o s ei c o n o rp r e s s< S H I F T >a n d< Q >a t t h e
s a m et i m e .A l t h o u g hy o u V el e f tt h ec l o c km o d e ,t h ec l o c kr e m a i n sr u n n i n g
— a n dt h ea l a r mi s s t i l la c t i v e .W h e nt h ea l a r mt i m ei s r e a c h e d ,a t o n ew i l ls o u n df o rf i v es e c o n d s .
T h eG E O Sc l o c kw a sd e s i g n e df o r6 0 H ze l e c t r i c a lp o w e r .H o w e v e r ,s o m eE u r o p e a nc o u n t r i e sh a v e5 0 H zp o w e r .B e c a u s et h i sb o o ki s d i s t r i b u t e d
i n t e r n a t i o n a l l y ,f o r o u rE u r o p e a nr e a d e r sw e ' v ew r i t t e na r o u t i n et h a t
c o r r e c t st h et i m i n g( a n dk e e p st h ec l o c ka c c u r a t ea t 5 0 H z ) .T h i sp r o g r a mi s
i n c l u d e di n C h a p t e r5 , T i p sa n dT r i c k s ,a n do n t h e o p t i o n a ld i s k e t t e f o rt h i s
b o o k .
A na n n o y i n gf e a t u r eo f t h ea l a r mc l o c ki s t h a ty o uh a v et o l o a di t t o g e t t h e
c u r r e n tt i m e .A n o t h e rd i s a d v a n t a g ei s t h a ty o uc a n ' td e t e r m i n et h ea l a r mt i m e w i t h o u tr e s e t t i n gi t a g a i n .F o rt h e s er e a s o n s ,w e w r o t ea G E O Sp r o g r a mt h a td i s p l a y s t h e c u r r e n tt i m ea n da l a r mt i m eo n t h es c r e e n .T h i s
p r o g r a mi s a l s of o u n di n C h a p t e r 5a n di n c l u d e do n t h e o p t i o n a ld i s k e t t e .
7 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 82/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 . 6 . 2C a l c u l a t o r
A n o t h e ra c c e s s o r yi s t h ec a l c u l a t o r .T h i sp e r f o r m st h eu s u a lb a s i cm a t hf u n c t i o n s .W h e ny o ul o a di t , t h ew i n d o wa p p e a r sa s f o l l o w s :
e o sj f i l ei v i e wj d i s kI s p e c i a l
F i g u r e2 8 :C a l c u l a t o r
T h e r ea r et w ow a y st o e n t e rn u m b e r so r p e r f o r mc a l c u l a t i o n s .Y o uc a np o i n t
t o a n dc l i c kt h ed e s i r e dk e y sw i t ht h ep o i n t e r ,o r y o uc a nu s et h eC - 6 4k e y b o a r dt o e n t e r t h en u m b e r sa n do p e r a t i o n s .T h ek e y so n t h ek e y b o a r dh a v et h ef o l l o w i n gf u n c t i o n s :
A d d i t i o n :
S u b t r a c t i o n :
M u l t i p l i c a t i o n :
D i v i s i o n
E x p o n e n t i a t i o n :
C l e a r
C l e a re n t r y :
C l o s e :
+
—
/
E
C
C E
< S H I F T > Q
7 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 83/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
F o re x a m p l e ,t o c o m p u t et h ee q u a t i o n :
3 . 4 5x 1 0 8 x1 . 1 2 3x l O 4
y o uw o u l dt y p e :
3 . 4 5 E 8 * 1 . 1 2 3 E 4 =
T h er e s u l ti s :
3 . 8 7 E 1 2
T h er a n g eo fe x p o n e n t sc a nb e n oh i g h e r t h a n3 7 a n dn o l e s st h a n- 3 7 .
T h ec l o s ei c o ni s t h ed a r kb o xa t t h eu p p e rr i g h to f t h ec a l c u l a t o rk e y b o a r d .C l i c kt h i st o e x i tt h ec a l c u l a t o r .
3 . 6 . 3N o t e p a d
T ou s ea n " o l d - f a s h i o n e d "d e s ke f f e c t i v e l y ,y o un e e da n o t e p a dt o j o td o w nt i m e s , n o t e s ,a p p o i n t m e n t sa n dc o m m e n t sd u r i n gc o n v e r s a t i o n ,j u s t t o
m e n t i o na f e we x a m p l e s .G E O Sh a s an o t e p a dt o o .I t a l l o w sy o ut o k e e pu pt o 1 2 7p a g e so f n o t e sa n ds t o r et h e mo n d i s k e t t e a sa n o t e b o o k .T h u s ,t h e
n o t e p a da n dn o t e b o o kg o t o g e t h e r .
A f t e rl o a d i n gt h ea c c e s s o i y ,a w i n d o wd i s p l a y i n gd o g e a r p a g e sa p p e a r s .
U n f o r t u n a t e l y ,i t i s i m p o s s i b l et o d i r e c t l ya c c e s sp a g e sw i t ht h en o t e p a da s
w i t ht h ed e s k T o p . P e r h a p st h i sd r a w b a c kw i l lb e e l i m i n a t e di n a l a t e r
v e r s i o no f G E O S .
Y o uc a ne n t e ry o u rt e x ti n t ot h en o t e p a da s u s u a l .T h e< D E L >k e yd e l e t e s
t h el a s tc h a r a c t e rt y p e da n dm o v e st h et e x tc u r s o ro n ec h a r a c t e rt o t h el e f t .
Y o u V ea l r e a d ys e e nt h i sf r o mg e o W r i t e .W eh a v ea l r e a d yt y p e di n a p a g eo n o u rn o t e p a d , s oy o uc a ns e eh o wi t w o r k s :
7 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 84/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
e o s: r i l e| u i e u j| d i s k: s p e c i a l
h i e s 1 4 9K t o j t e su s e d 1 7 K b y t e sf r e e
N o t e P o dH e l l o ,L u a n d a ! ! !
2 : 0 0 C a l lT r i x i ef o r p r i c e sp r « f « r « r i < «r n o r
3 : 8 0 M e e tT r i x i eu u / D o b e r m a n s .
• 4 : 6 6 S h o w e r
4 . 0 5 G e to u t t r a p e z ef o r C a r l a
F i g u r e2 9 :N o t e p a d
W h e ny o ua r e f i n i s h e dr e a d i n go r w r i t i n gy o u rn o t e sa n dw a n tt o e x i tt h e
p r o g r a m ,c l i c kt h ec l o s ei c o ni n t h eu p p e rr i g h tc o r n e ro f t h ew i n d o w .W h e ny o uw a n ta f r e s hn o t e p a d ,y o uc a nm o v et h ee x i s t i n gp a di n t ot h ew a s t e
b a s k e tT h i se r a s e si t sc u r r e n tc o n t e n t s ,a n dy o uh a v ea f r e s hn o t e p a d .
W e ' v es k i p p e dt w oo t h e rn o t e p a df u n c t i o n st h a tw o u l dm a k eG E O Sl i f e
e a s i e r .O n ei s t h a ta p a g ec a nb e d e l e t e do n a k e y p r e s s .T h eo t h e ri s t h a ty o uc a nf l i pt h r o u g h p a g e si f y o us o d e s i r e .
7 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 85/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 . 6 . 4T h eP r e f e r e n c eM a n a g e r
T h eP r e f e r e n c eM a n a g e ri s a n a c c e s s o r yt h a tl e t sy o us p e c i f y c e r t a i n
p r o g r a mp a r a m e t e r s( s i z e s ,v a l u e s )s u c ha s b a c k g r o u n dc o l o r .T h e s ev a l u e s
c a nt h e nb e s a v e da n dr e c a l l e da t a n yt i m e .
q e o sI f i l ej v i e u uj d i s kj s
I Z J E X I TC UL O A DC D S A U EC DC H A N G E□ D E F A U L T
F i g u r e3 0 :P r e f e r e n c eM a n a g e r
T h eP r e f e r e n c eM a n a g e rw i n d o wi s d i v i d e di n t os e v e r a ls e c t i o n s .T h ef i r s t
t h r e el i n e st o t h el e f tc o n t r o l t h es p e e d o ft h ep o i n t e r .B e l o wi s a w i n d o wt h a tl e t sy o uc h a n g et h ea p p e a r a n c e o ft h ep o i n t e r .L a t e rw e l ls e eh o wi t
w o r k s .T h et o p c e n t e rs p e c i f i e st h e c o l o rs e l e c t i o nf o r t h eb o r d e r ,
f o r e g r o u n d ,e t c .B e l o wa r e t h et w o w i n d o w st h a tl e ty o us e tt h et i m ea n dd a t e .T h eu p p e rr i g h tc o n t a i n s t h ec o m m a n dl i s tf o rt h eP r e f e r e n c eM a n a g e r .
T h ep o i n t e rs p e e dc o n t r o l s a r ei n t h eu p p e rl e f tc o r n e r .Y o uc a n c h a n g et h e
p a r a m e t e r sa n de x p e r i m e n tu n t i ly o uf i n d t h e" r i g h t "s e t t i n g s .
7 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 86/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
P o i n t e r s p e e d :
A C C E L E R A T I O N :
T h i sc o n t r o ll e t sy o us e th o wq u i c k l yt h ep o i n t e rr e a c h e sm a x i m u ms p e e d .W h e ny o uw o r ka l o tw i t ht h ed e s k T o p ,r a p i da c c e l e r a t i o ni s i m p o r t a n ti f
y o um o v et h ep o i n t e r f r e q u e n t l yf o r c l i c k i n gO K ,e t c .C l i c kt h ec o n t r o lb a rk n o bt o a n e wp o s i t i o na n dc l i c ka g a i nt o s e ti t .M o v i n gt h ek n o bt o t h el e f t
s l o w st h ep o i n t e r ,a n dm o v i n gi t t o t h er i g h ts p e e d su pt h ep o i n t e r .
M A XV E L O C I T Y :
H e r ey o us e tt h eh i g h e s ts p e e da t w h i c ht h e p o i n t e rt r a v e l s a f t e ra c c e l e r a t i n g .
A g a i n ,y o u ' l lw a n th i g hs p e e di f y o uf r e q u e n t l yu s et h ed e s k T o p( s h i f t e ra l l
t h ew a yt o t h er i g h t ) .
M I NV E L O C I T Y :
T h i sc o n t r o lb a ra d j u s t st h es t a r t i n gs p e e d o ft h ep o i n t e r .
I f y o uw o r ka l o tw i t hg e o P a i n ty o up r o b a b l yw a n tt o s t a r tw i t ha s l o wm i n i m u mv e l o c i t ya n da v e r a g ea c c e l e r a t i o n .T h i sm a k e si t s i m p l e rt o s e tt h e
c e n t e r p o i n to f ac i r c l e ,f o re x a m p l e .
I f y o uw a n tt o s e et h ee f f e c t so f t h ec h a n g ei m m e d i a t e l y ,c l i c kt h eC H A N G Eb u t t o n .W e l ld i s c u s st h eo t h e r b u t t o n ss h o r t l y ,b u tw em e n t i o nC H A N G Es o
t h a ty o uc a ns e et h ee f f e c t
P o i n t e ra p p e a r a n c e :
T h el a r g er e c t a n g l ei n t h el o w e rl e f td i s p l a y s t h e p o i n t e ri n b i t m a pm o d e ,w h i l et h es m a l lr e c t a n g l e d i s p l a y si t a s a n o r m a ls p r i t e .T o c h a n g et h e
a p p e a r a n c eo f t h ep o i n t e r ,m o v et h ep o i n t e ri n t ot h e l a r g er e c t a n g l e .T h i s
w i n d o w ' sp o i n t e rw o r k sa s a s m a l lp e n c i la n de r a s e r ,s i m i l a r t o g e o P a i n t '
p i x e le d i tm o d e .W h e ny o uc l i c kw h e r et h e r ei s n o s e tp o i n t ,a p o i n ti s
t u r n e d" o n " .C l i c k i n g ap o i n tt u r n si t " o f f 1 .A sy o ut u r n p i x e l so n a n do f f ,y o uc a ns e et h er e s u l t si n t h es m a l lr e c t a n g l e .T h ep o i n t e rw i t hw h i c hy o ua r ew o r k i n gd o e s n o tc h a n g e .T h er e a s o nf o rt h i si s t h a ti f y o ud e l e t e da l l
t h ep o i n t s ,y o u ' dh a v et h i si n v i s i b l ep o i n t e r ,a n dy o u ' db e u n a b l et o u s et h e
P r e f e r e n c eM a n a g e ra n yl o n g e r .T h i si s a n o t h e rr e a s o nw h ya l t e r a t i o n s
d o n ' tt a k ee f f e c tu n t i lC H A N G Ei s c l i c k e d .
7 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 87/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
C o l o r s :
E a c hr e s p e c t i v er a n g eo r a r e ac h a n g e sc o l o rw h e ny o u c l i c kt h e
c o r r e s p o n d i n gb u t t o n .Y o uc a nc h o o s ef r o m1 6 c o l o r s .T h e ya p p e a ri n
o r d e ra s y o uc l i c kt h eb u t t o n .Y o uc a n" c y c l e 1 1t h r o u g ha l l t h ec o l o r sb yc l i c k i n g1 6 t i m e s .
B O R D E Rc h a n g e st h eb o r d e rc o l o r .T h i si s n o tt h ed e s k T o pb o r d e rw h i c hw eu s et o c o p yf i l e s .I n s t e a d ,i t ' st h ee d g eo f t h ee n t i r es c r e e na r e a .
B . G R O U N Dc o n t r o l st h e c o l o ro f t h eb a c k g r o u n d ,a s y o um a yr e m e m b e rf r o mg e o P a i n t .
F . G R O U N Dc h a n g e st h ec o l o ro f t h ef o r e g r o u n d ,i . e . ,s e tp o i n t sa n dc o l o r s .
M O U S Ec o n t r o l s t h ec o l o ro f t h em o u s ep o i n t e r .
T h e r ei s a l i m i t t ot h ec h o i c e so f c o l o r s .Y o ua r en o ta l l o w e dt o c h o o s et h e
s a m ec o l o r sf o rb a c k g r o u n d ,f o r e g r o u n do r p o i n t e r .T h e r ei s g o o dr e a s o n
f o rt h i s :T h ew r o n gc h o i c ec o u l dr e s u l t i na n i n v i s i b l e p o i n t e r .T h e ny o uw o u l d n ' tb e a b l et o r e a de r r o rm e s s a g e s ,f o re x a m p l e .
T i m ea n dD a t e :
W e ' v ea l r e a d yd i s c u s s e dt h et i m ea n dd a t e — y o us h o u l d a l w a y ss e tt h e mw h e nw o r k i n gw i t hG E O S .W e f l lj u s tr e p e a t t h ei m p o r t a n ta s p e c t s :
Y o uc a nc h a n g et i m ea n dd a t eb yc l i c k i n gT I M E S E Ta n dD A T ES E Tw i t ht h ep o i n t e r .M o v et h et e x tc u r s o ro v e rt h e c h a r a c t e r sw i t ht h e s p a c e b a r .
T h e ya r en o te r a s e db y t h es p a c e b a r .E n t e rn u m b e r sf r o mt h ek e y b o a r d .
G E O Sa l l o w so n l yv a l i di n p u t ,e . g . ,A o r P f o rm o r n i n go r e v e n i n g .W h e ny o u ' r e r e a d y ,a n dt h ee n t r yi s c o m p l e t e ,p r e s s< R E T U R N > .I f y o u V e
f o r g o t t e na n da l r e a d y e x i t e dt h ea r e aw i t ht h ep o i n t e r ,t h ed a t ea n dt i m ew i l la s s u m et h e d e f a u l t v a l u e s .
R e m e m b e rt o s e tt h ed a t ea n dt i m et o t h ec u r r e n tv a l u e sw h e n e v e ry o us t a r t
G E O S .T h ed a t e / t i m ed a t ai s s a v e da l o n g w i t h e v e r yg e o W r i t ea n dg e o P a i n t
d o c u m e n tT h i sc a nb e e x t r e m e l yu s e f u lw h e nt r y i n g t od e t e r m i n et h em o s tu p - t o - d a t ev e r s i o no f a g r a p h i cd o c u m e n to r t e x td o c u m e n t .
7 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 88/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
C o m m a n db u t t o n s :
E X I T :
T h i sb u t t o ne x i t st h e P r e f e r e n c eM a n a g e r .Y o u rp a r a m e t e r sa r e n & la u t o m a t i c a l l ys a v e do r e x e c u t e d .
L O A D :
T h i sb u t t o nl o a d ss a v e dv a l u e s .
S A V E :
S a v e st h ec u r r e n tv a l u e s .T h e s ea r en o tn e c e s s a r i l y t h ed i s p l a y e dv a l u e s .
Y o um u s ta c t i v a t et h en e wv a l u e sb y c l i c k i n g t h eC H A N G Eb u t t o n .
I f t h e v a l u e sa r e n ' ts a v e d ,t h ea l t e r a t i o n sa r ec u r r e n to n l yf o rt h ed u r a t i o no ft h eG E O Ss e s s i o n .R e t u r n i n gt o t h ed e s k T o po r r e - b o o t i n gG E O Sw i l l r e s e t
t h ep r e v i o u s p a r a m e t e r s .T or e t a i nt h en e wp r e f e r e n c e s ,b e s u r et o S A V E
t h e m .A P r e f e r e n c e sf i l ei s s a v e dt o d i s k e t t e ,a n di s r e l o a d e dw h e nt h e
d i s k e t t ei s l a t e ro p e n e d .
C H A N G E :
A c t i v a t e st h ec h a n g e s .W h e ny o uh a v ec h a n g e dp a r a m e t e r sb y m o v i n gt h e
k n o bf o rM I NV E L O C I T Yt o t h el e f t ,t h ep o i n t e rw i l lm o v em o r es l o w l y .
V a l u e sa l t e r e dw i t hC H A N G Ec a nt h e nb e s t o r e dw i t hS A V E .
D E F A U L T :
T h i sc o m m a n dc a nb e v e r yu s e f u lw h e ny o uw i s ht o s e ta l lp a r a m e t e r sb a c kt o t h ed e f a u l t v a l u e s ,i . e . ,b a c kt o t h ev a l u e su s e db e f o r ey o us t a r t e d
c h a n g i n gt h ep r e f e r e n c e sw i t ht h ep r e f e r e n c em g r .
3 . 6 . 5T h eP h o t oM a n a g e r
T h eP h o t oM a n a g e rl e t sy o uo r g a n i z ea c o l l e c t i o no fy o u rb e s tp i c t u r e sa n ds e c t i o n so f g r a p h i c si n a c o m p u t e r i z e dp h o t oa l b u m .Y o uc a nl a t e rc o p yt h e s ep h o t o sf r o mt h ea l b u ma n dp a s t et h e mi n t ot e x to r g r a p h i c s .E a c hp h o t oa l b u mc a nc o n t a i nu p t o 1 2 7p i c t u r e s .T h i si s u s u a l l ye n o u g hr o o m— b u tm a k es u r e t h e r ei s e n o u g hd i s k e t t es p a c e .T h ep i c t u r e s e c t i o n sm u s tb e i n g e o P a i n tf o r m a t .
7 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 89/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
S e ta r a n g ew i t ht h er a n g em a r k e rf r o mt h et o o l k i ta n dc l i c k e i t h e rc u to r
c o p yf r o mt h ee d i tm e n u .T h i ss e g m e n ti s t h e n d e s i g n a t e da s a p h o t os c r a p ,w h i c hi s t h en a m eo f t h ef i l ec r e a t e do n d i s k e t t et o s t o r ei t . T h i s
p h o t os c r a pf i l ec o n n e c t s g e o P a i n ta n dt h ep h o t om a n a g e r ,a n da l l o w sa p i c t u r et o b e t r a n s f e r r e d .
N o t e :O n l yo n ep h o t os c r a pi s a l l o w e da t a t i m e .
W h e ny o uw a n tt o l o a dt h ep h o t om a n a g e r ,a n dy o ua l r e a d yh a v eap h o t oa l b u mo n d i s k e t t ew i t hw h i c hy o u w o u l dl i k et o w o r k ,y o uc a n
d o u b l e - c l i c kt h e p h o t o a l b u mf r o mt h e d e s k T o p .T h ep h o t om a n a g e ri s t h e nl o a d e d ,a l o n gw i t ht h ed e s i r e da l b u m .T h ea l t e r n a t i v ei s t o
f i r s to p e nt h ep h o t om a n a g e r .T h ef o l l o w i n g d i a l o g u eb o xa p p e a r s :
e o si f i l e! v i e u uj d i s kj s p e c i a l
P l e a s eS e l e c t O p t i o n :
1C r e a t e1 n e wp h o t oa l b u m
O p e n| e x i s t i n gp h o t oa l b u m
F i g u r e3 1 :P h o t oM a n a g e r — s t a r t i n gm e n u
T h et h r e ec h o i c e sa r ea l r e a d yf a m i l i a rt o y o uf r o mg e o W r i t ea n dg e o P a i n t
Y o uc a n c h o o s ec r e a t et o m a k ea n e wa l b u mi n t h ep h o t om a n a g e r ,
o p e nd i s p l a y st h ef i r s tf i v ea l b u m so n t h ed i s k e t t e ;a t o t a lo f 1 6a l b u m sc a nb e d i s p l a y e db y c l i c k i n g t h es c r o l lb o x e s .C l i c kt h ed e s i r e dn a m e( w h i c h
t u r n sd a r k )a n do p e nt o o p e nt h ef i l e ,q u i tr e t u r n sy o ut o t h ed e s k T o p .
7 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 90/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
W h e ny o uh a v ec r e a t e da n e wa l b u m ,a w i n d o wa p p e a r sa n dd i s p l a y s
E m p t y P h o t oA l b u m .I f t h ea l b u ma l r e a d ye x i s t s ,t h ef i r s td o c u m e n ti s
s h o w n .T h ed o g e a ri n t h el o w e rl e f tc o r n e rl e t sy o uf l i pt h r o u g ht h ep a g e s
o f t h ea l b u m ,a n dt h ec l o s ei c o na t t h et o po f t h ew i n d o wc l o s e s( e x i t s )t h ea l b u m .H e r ei s a p a g ef r o mo u ro w nP h o t oA l b u m ,s o y o uc a ns e et h e
l a y o u t :
q s o s1 f i l ej M i « 5 u jj d i s kj s p e c i a l
F i g u r e3 2 :p h o t om a n a g e r — G r a p h i cf o r T o D e b
T h eu p p e rl e f tc o r n e ri s a m e n uw i t ht w os u b - m e n u s ,f i l eh a st h et w o
i t e m sc l o s ea n dq u i t ,q u i te x i t st h ep h o t om a n a g e r ,a n dc l o s e
c l o s e st h ea l b u ma n dr e t u r n sy o ut o t h ec r e a t e / o p e n / q u i td i a l o g u e b o x .
e d i to f f e r st h ef o l l o w i n gi t e m s :
c u t :
C u t st h e i n d i c a t e d p i c t u r ef r o my o u ra l b u ma n ds e t si t i n p h o t os c r a p .
F r o mt h e r ey o um a yp a s t ei t i n t oa t e x to r a g r a p h i c .
c o p y :
C o p i e st h e i n d i c a t e dp i c t u r ei n t op h o t os c r a p ,w i t h o u tr e m o v i n gi t f r o m
t h eP h o t oA l b u m .
7 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 91/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
p a s t e :
P a s t e st h ep h o t os c r a pp i c t u r ei n t oy o u rP h o t oA l b u m .T h ep i c t u r ei s
c o p i e di n t ot h ea l b u m ,a n da l s or e m a i n sa s a p h o t os c r a p .
I n t h el o w e rl e f tc o r n e ro f t h ew i n d o w( b e n e a t ht h ed o g e a r )i s a n i c o ny o u l l
n e e dw h e nt h eg e o P a i n ts e g m e n td o e s n ' tc o m p l e t e l yf i t i n t ot h ep h o t om a n a g e rw i n d o w .T h eb l a c kr e c t a n g l eg i v e st h es i z eo f y o u rp i c t u r e .T h er e c t a n g u l a rb o r d e r sr e p r e s e n tt h ew i n d o w .Y o uc a nc l i c kt h eb o r d e ra n d
i n s e r tt h ep i c t u r e i na n o t h e rr a n g e .T h i sa p p e a r si n t h ew i n d o w .
T o h e l py o ub e t t e ru n d e r s t a n dw h a ty o uc a n d o u s i n gt h e p h o t om a n a g e ra n da l i t t l ep a s t e - u p ,w e ' v ew r i t t e na l e t t e ri n g e o W r i t e .N o ww e l li n c l u d ea g e o P a i n tg r a p h i c .
A s s u m i n gy o uh a v ea g e o P a i n td o c u m e n tr e a d y , d e l i m i tt h er a n g eu s i n ga n
e d i tb o x ,a n dc o p yt h er a n g ei n t op h o t os c r a p .N o ww e l o a dt h e
p h o t o m a n a g e ra n dp a s t et h eE x p e n s e sd o c u m e n ti n t ot h ea l b u m .
T h e nw e e x i tt h ep h o t om a n a g e ra n d o p e nt h ee x i s t i n gl e t t e rf i l eT o
D e b .M o v et h e c u r s o rt o t h ee n do f t h et e x t( O C T O B E R1 9 8 6 ) .N o wc l i c k
t h e p a s t ef u n c t i o nf r o mt h e e d i t m e n u .T h er e s u l ts h o u l dl o o k
s o m e t h i n gl i k et h i s :
g e o s1 f i l e\ e d i tj o p t i o n sj f o n tj s t y l e1 1 1 I d f c
s o I a d j u s t e dy o u rc h a r tt o s n o u j t h a ta l l y o u rp a r t ym o n e y 1 : -r e a l l y
g o i n gi n t oh o u s i n g .
H o u s i n g
P e r s o n a l
F i g u r e3 3 :T e x ta n dg r a p h i c sw i t ht h ep h o t o m a n a g e r
8 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 92/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h i st e x t / g r a p h i c i n t e g r a t i o nw a sn o te a s i l ya c c o m p l i s h e db e f o r eG E O S .W es h o u l dm e n t i o nt h a tt h ep i c t u r ew a sm a d ei n a b o u tt e nm i n u t e s .M a y b ey o uc a nd r e a m u pm o r ea p p l i c a t i o n sw i t hG E O S .
3 . 6 . 6 .T e x tM a n a g e r
T h eT e x tM a n a g e rl e t sy o us t o r eo f t e n - u s e dp a s s a g e si n s e v e r a lT e x tA l b u m s , a n dp a s t e t h e s ep a s s a g e si n n e wd o c u m e n t sa s n e e d e d .E a c hT e x tA l b u mc a nh a v eu p t o 1 2 7p a g e s ,t h es a m ea s P h o t oA l b u m sa n dn o t e p a d s .
T h et e x tp a s s a g e sm u s tb e c u tf r o md o c u m e n t sc r e a t e db y g e o W r i t e .M a r kt h et e x tb y s e t t i n gt h ep o i n t e rt o t h ef i r s tc h a r a c t e r ,p r e s sa n dh o l dt h ef i r e
b u t t o n ,a n dm o v et h e p o i n t e rt o t h ee n do f t h et e x tp a s s a g e .T h et e x tr a n g ew i l lt u r n d a r k .
[ q a o sj i i l *j a d i tj o p t i o n *j f o n tj
' ' ' ' ' * ' ^ * * * • f * ' • * ^ ' •
n w e i r d. w i n n i n gc o o k i e si j ^ o u r M u o . i ' i t e j .D a di s ' d o i n g . ,w e l lt o o . H e w e n t
f i s h i n gw i t h . . T a da n d B i f f :f v 1 u f f ym i s s e sy o us o o o o om u c h , e u e nt h o u g
s h e sh a p p yt o n a v ea r o o mo r h e r o w n .
F i g u r e3 4 :M a r k i n gt e x tf o rt e x t s c r a p
N o wc l i c ke d i t ,t h e nc l i c ke i t h e rc u t t o c u tt h es e g m e n t ,o r c o p yt o
m a k ea c o p yo f i t . T h i ss e g m e n ti s s a v e dt o a f i l eo n d i s k e t t ec a l l e dt e x t
s c r a p .T h i sf i l em a yc o n t a i no n l yo n et e x ts e g m e n ta t a t i m e .I t s e r v e st o
c o n n e c tg e o W r i t ea n dt h eT e x tM a n a g e r ,a c t i n ga s t h e" g o - b e t w e e n " .
8 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 93/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
Y o uc a ng o f r o mt h ed e s k T o pt o t h eT e x tA l b u m ,i f a T e x tA l b u mi s o n t h e
d i s k e t t e -T h eT e x tM a n a g e ri s f i r s tl o a d e da n dt h e nt h ea l b u mi s o p e n e d .
T h eo t h e r o p t i o ni s t o o p e nt h eT e x tM a n a g e rf i r s t .A f t e ra f e ws e c o n d sa
d i a l o g u eb o xa p p e a r s w i t ht h e s a m ei t e m sa s g e o P a i n to r g e o W r i t e
( c r e a t e ,o p e no r q u i t ) ,c r e a t ei s u s e dt o c r e a t ea n e wa l b u m ,o p e nd i s p l a y st h e f i r s tf i v ea l b u m n a m e s o nt h e d i s k e t t e .T o s e e t h e r e s t
( m a x i m u mo f 1 6a l b u m sp e rd i s k e t t e ) ,u s et h es c r o l lb o x e sa n dc l i c kd o w n
o r u p .C l i c kt h ed e s i r e dn a m e( i t w i l lt u r n d a r k ) ,t h e nc l i c ko p e n ,q u i tr e t u r n sy o ut o t h ed e s k T o p .
W h e ny o uc r e a t ea n e wa l b u m ,t h ef o l l o w i n gw i n d o wa p p e a r s :
I q e o si f i l ej v i e w\ d i s k\ s p e c i a l
F i g u r e3 5 :E m p t yt e x t a l b u m
I f t h ea l b u ma l r e a d ye x i s t s ,t h ef i r s tp a g eo f t e x ti s d i s p l a y e d .Y o uc a nf l i p
t h r o u g ht h ep a g e su s i n gt h ed o g e a ra t t h el o w e rl e f tc o r n e ro f t h ew i n d o w ,o r c l o s e( e x i t )t h ea l b u mw i t ht h e c l o s ei c o na t t h et o pr i g h tc o r n e ro f t h e
w i n d o w .T h eu p p e rl e f tc o r n e rc o n t a i n sa s h o r tm e n uw i t ht w os u b - m e n u s ,
f i l eh a st h ei t e m sc l o s ea n dq u i t ,c l o s ec l o s e s t h ea l b u mc u r r e n t l y
o p e n a n ds e n d sy o ub a c kt o t h ew i n d o wm e n uc r e a t e ;o p e na n dq u i te x i t st h eT e x tM a n a g e ra n dr e t u r n sy o ut o t h ed e s k T o p .
8 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 94/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
e d i to f f e r st h ef o l l o w i n gi t e m s :
c u t :
C u t s am a r k e dt e x ta r e af r o mt h ea l b u ma n ds e t si t i n t ot e x t s c r a p .F r o mt h e r e ,y o uc a np a s t ei t i n t oa n o t h e rd o c u m e n t
c o p y :
C o p i e st h em a r k e dt e x ti n t ot e x t s c r a p .U n l i k ec u t ,t h eo r i g i n a l t e x ti s
n o td e l e t e da n dr e m a i n si n t h eT e x tA l b u m ,a n di s c o p i e di n t ot e x ts c r a p .
p a s t e :
P a s t e st h et e x t s c r a pi n t oy o u rT e x tA l b u m .T h et e x ti s c o p i e do v e r ,s o
y o uc a nu s et e x t s c r a pf o ro t h e rp u r p o s e s( e v e na n o t h e rT e x t A l b u m ) .
B e l o wi s a n e x a m p l eo f m a r k e dt e x tp a s t e di n t oa T e x tA l b u m ,s o y o uc a ns e eh o wi t ' sd o n e :
[ g e o sj f i l ej e d i tj o p t i o n s\ f o n tj s t y l e T o D e b
D e a rD e b . .
M o t h e r
a w a r d
f i s h i n g
s h e ' sh i
f i l ej e d i t l e t t e r
M o t h e ri s f i n en o w .S h ej u s tf i n i s h e db a k i n gaf a m o u sb a t c ho f h e r
a w a r dw i n n i n gc o o k i e s( y o u rf a v o r i t e ) .D a di s d o i n gw e l lt o o .H e w e n t
i s J b j n gw i t hT a da n dB i f f .M u f f ym i s s e sy o us o o o o oi h , e v e nt h o u g h
1 o f 1
h e r
[ H ew e n t
I n t h o u g
F i g u r e3 6 :M a r k e dt e x t i nt h eT e x tA l b u m
8 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 95/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
N o t i c et h a t i nF i g u r e3 6 , t h et e x tl o o k ss o m e w h a td i f f e r e n tf r o mt h eo r i g i n a l
t e x t .F o re x a m p l e ,L o v e ,G e n ew a si n a d i f f e r e n tf o n ta l t o g e t h e r .T e x tp a s s a g e si n a T e x tA l b u mr e v e r t t oa s i n g l ef o n ta n dp o i n ts i z e .H o w e v e r ,G E O Sr e m e m b e r st h eo r i g i n a l f o n t sa n dt y p es t y l e s ,a n dw h e ny o up a s t ea
t e x tp a s s a g eb a c ki n t oa d o c u m e n t ,t h ep a s s a g ea p p e a r si n i t so r i g i n a lf o n t s ,
t y p es t y l e sa n dp o i n ts i z e s .
T h el o w e rl e f tc o r n e ro f t h ew i n d o w ,b e n e a t ht h ed o g e a r , c o n t a i n sa s c r o l l
b o xt h a ta l l o w sy o ut o s e ed o c u m e n t st h a ta r em u c hl a r g e rt h a nt h es c r e e n
a l l o w s .C l i c k i n ge i t h e ra r r o ws c r o l l st h r o u g ht h ed o c u m e n to n el i n ea t at i m e .Y o uc a n ,t h e r e f o r e ,p a s t el a r g e rt e x tp a s s a g e si n t ot h ea l b u m .Y o ud o n f tn e e dt o l i m i ty o u r s e l ft o t h eo n s c r e e np a g es i z e .
8 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 96/314
C h a p t e rF o u r
( G E O SA p p l i c a t i o n s)
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 97/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 98/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
G E O SA p p l i c a t i o n s
B y t h i st i m e y o u ' v e p r o b a b l yl e a r n e da l o ta b o u tG E O S 1f e a t u r e s .Y o u ' v ec r e a t e dy o u rf i r s tg r a p h i c sw i t h g e o P a i n ta n dw r i t t e nd o c u m e n t sw i t h
g e o W r i t e .Y o um a yh a v ec o m et o t h ep o i n tw h e r ey o ua r en o tq u i t es u r e
w h a tm o r e y o uc a nd o w i t ht h e s y s t e m — y o u ' v ew r i t t e nl e t t e r sw i t hi n t e r e s t i n g t e x tf o n t s t oa l ly o u rf r i e n d s ,a n dy o u ' v er u no u to fi d e a sf o rn e wg r a p h i c s .
T h i sc h a p t e rm a yh e l py o us e es o m eo f G E O S 'c a p a b i l i t i e sa n dg i v ey o um o r ec o n c e p t so f p r a c t i c a l a p p l i c a t i o n s .N o to n l yw i l lw ep r e s e n ti d e a s —w e ' l lg o t h r o u g ht h e i d e a ss t e pb y s t e p .I n t h i sw a yy o u ' l la l s ol e a r nh o wt o
p r o d u c et h ee f f e c t sy o uw a n tw i t hl e s sw o r k .
4 . 1M a k i n gd i a g r a m sw i t hg e o P a i n t
Y o un e e da g e o P a i n tw o r kd i s k e t t ew i t ha t l e a s t3 0 K o f e m p t ys p a c ef o r
t h i ss e c t i o n( w e ' l lr e f e rt o t h i sw o r kd i s k e t t e a sD i a g r a m ) .
Y o uc a ne r a s et h ef o l l o w i n gp r o g r a m st o c r e a t es u c ha d i s k e t t e :G E O S ,
G E O SB O O T ,G E O SK E R N A L , g e o W r i t e ,T E X TM A N A G E R ,a n da l lt h e
p r i n t e rd r i v e r st h a ty o ud o n ' tn e e d .
B e f o r eG E O Sw a sd e v e l o p e di t w a sd i f f i c u l tt o m i xg r a p h i c sa n dt e x tw i t ht h eC - 6 4c o m p u t e r .A t b e s t ,i t l o o k e da s t h o u g ht h eg r a p h i c sw e r e a d d e dl a t e r .I t i s m u c he a s i e rt o m i xg r a p h i c sa n dt e x tt o f o r ma d o c u m e n tu s i n g
G E O S .W e ' l ll o o ka t o n ea p p l i c a t i o no f t h i sn o w :p r o d u c i n gd i a g r a m s .
Y o u ' l lr e m e m b e rp a s t i n ga p i e c h a r ti n t oa d o c u m e n tu s i n gg e o W r i t ea n dt h e
T e x tM a n a g e r .I n t h i sc h a p t e rw e ' l le x a m i n eh o wy o uc a nu s eg e o P a i n tt o
p r o d u c e dt h et h r e em o s tc o m m o nt y p e so f d i a g r a m s :
• P i ec h a r t s
• B a rc h a r t s
• L i n eg r a p h s
8 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 99/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
A s a n e x a m p l ew e V ec h o s e na f i c t i o n a le x p e n s eb r e a k d o w nf o rM a y1 9 8 6 .
T h i sc a nb e r e p r e s e n t e dw e l lb y t h ef i r s tt w ok i n d so f c h a r t s — b u ta l i n e
g r a p hd o e s n o tl e n di t s e l ft o t h i sk i n do f d a t a .H o w e v e r ,w ec r e a t e da l i n e
g r a p hf o r t h e M a y1 9 8 6e x p e n d i t u r e s ,e v e nt h o u g hi t i s a p o o r
r e p r e s e n t a t i o n ,t o s h o wy o uh o wt o c r e a t e t h er e l e v a n tg r a p h i c sf o re a c ht y p e o f d i a g r a m .U s i n gt h em e t h o d ss h o w nh e r ey o uc a n p r o d u c eu s e f u l
c h a r t sf o ry o u ro w na p p l i c a t i o n s .
B e f o r ew ec a nr e p r e s e n tt h ed a t ag r a p h i c a l l y ,w em u s tf i r s th a v ei t i n f r o n t
o f u s .O u re x a m p l ei s t h e f o l l o w i n g :
H o u s e h o l d :
H o u s i n g :
F o o d :
C a r :
M i s c e l l a n e o u s :
P e r s o n a l :
M a v1 9 8 6
2 5 %2 0 %1 0 %3 0 %1 5 %
T o t a l : 1 0 0 %
N o ww e l ls t a r tt o g r a p h i c a l l y r e p r e s e n t t h ed a t a .W e l ls t a r tw i t ha p i e
c h a r t .
4 . 1 . 1P i ec h a r t
F i r s to p e nt h ew o r kd i s k e t t eD i a g r a ma n dl o a dg e o P a i n t .C h o o s ec r e a t e
a n de n t e rP i e M a ya s t h en a m eo f t h eg r a p h i ct o b e c r e a t e d .N o ww ec a n
b e g i nt o d r a wt h ec h a r t .
W e l ls t a r tw i t ht h et i t l e .W ec l i c k t h eT t o o l( T e x t )a n dt h e nc l i c kt h eB O L D ,
U N D E R L I N E ,a n dO U T L I N Et y p es t y l e s .T h e nw e t y p eE x p e n s e sM a y
1 9 8 6i n t h eu p p e rm i d d l es e c t i o no f t h ew i n d o w .
B e f o r ew ed r a wt h ec i r c l e ,w em u s tm a r kt h ec e n t e r .O t h e r w i s ei t i s d i f f i c u l t
t o d r a wt h el i n e sn e e d e df o rt h e p i ec h a r t .Y o u l ln o t i c et h i sr i g h ta w a yw h e ny o ut r yt o p l a c et h ec r o s s h a i r se x a c t l yw h e r ey o uw a n tt h ec e n t e r . I f
t h e j o y s t i c kp o i n t e r( i nt h i sc a s et h ec r o s s h a i r s )m o v e st o of a s tf o ry o u ,l o a d
t h ep r e f e r e n c e m a n a g e ra n ds e tM I N V E L O C I T Ya s f a r a sp o s s i b l e
t o t h el e f t ,a n dA C C E L E R A T I O Na p p r o x i m a t e l yi n t h em i d d l e .N o wt h e
j o y s t i c k p o i n t e rm o v e s m o r es l o w l y ,s o i t ' se a s i e rt o d o p r e c i s ew o r k.
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 100/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
W e l lu s et h ep e n c i l i c o nt o d r a wa s m a l lc r o s st o m a r kt h ec e n t e ro f t h ec i r c l e .C l i c kt h ec i r c l e i nt h et o o l k i ta n ds e tt h em a r k e re x a c t l yo nt h i sc r o s s .I f y o uh a v et r o u b l eg e t t i n gt h ec i r c l ea n dt h ec r o s sa l i g n e d( f o re x a m p l e ,y o u ' r ea l i t t l et o of a rt o t h el e f ta n dt h e nt o t h er i g h t ,e t c . ) ,i t h e l p st o m o v et h e c r o s ss e v e r a lp o i n t so v e ra n dt r ya g a i n .
q e o sI f i l ei e d i t ;o p t i o n sj f o n t s
M e a s u r eu n i t s : u i n c h e s ■ p i x e l s
X : V : d i s t a n c e :
F i g u r e3 7 :T i t l ea n dc i r c l e
W h e ny o u ' v eg o t t e nt h a tt o w o r k( d o n ' tw o r r y — i tg e t sm u c he a s i e rw i t h
p r a c t i c e ! ) ,c l i c ka n dm o v et h ec i r c l es o t h a ti t i s l o c a t e da p p r o x i m a t e l yw h e r eo u r si s i n t h ei l l u s t r a t i o n .I t ' si m p o r t a n tt h a tt h ew h o l ep i c t u r ef i t so n t h e
s c r e e n .E v e r y t h i n gt h a ti s d r a w no u t s i d et h eg e o P a i n tw i n d o wi s l o s t .
O n c et h ec i r c l ei s c o m p l e t e ,w en e e dt o a d ds e v e r a ll i n e st o t h e p i ec h a r t .
C h o o s et h el i n et o o l .C l i c kt h e c e n t e ro f t h ec i r c l ea n dt h e nm o v et h el i n e
u p w a r d .A s e c o n dc l i c ks t o p st h el i n e .N o ww en e e dt o d r a wa s e c t i o no f
p i et h a tc o n t a i n s2 0 %o f t h ew h o l e . S i n c ea q u a r t e ro f t h ep i ei s e x a c t l y
2 5 % ,t h ep i e c em u s tb e a l i t t l es m a l l e r t h a na q u a r t e r .B y M e y e - b a l l i n g f ti t ,
y o us h o u l db e a b l et o d o t h i sw i t hn op r o b l e m .
N o wd r a wt h el i n e sf o r t h eo t h e rp e r c e n t a g e s .I f y o u d r a wa l i n ei n c o r r e c t l y ,
y o uc a ne r a s ei t u s i n gt h eU n d of u n c t i o n .I f y o ud o n ' tl i k et h ew a yy o u
d i v i d e dt h ec i r c l e ,a n dj u s tw a n tt o g e tr i do f i n d i v i d u a ll i n e s ,y o uc a ne r a s e
8 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 101/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
t h el i n e si n p i x e le d i tm o d e .M a k es u r et h a ty o u rl i n e sa n dt h ec i r c l e
r e m a i ne n c l o s e df i g u r e s — i . e .d o n ' td e l e t ea f e wp o i n t sf r o mt h e m .O t h e r w i s e ,w h e ny o uu s et h ef i l lp a t t e r n s ,t h e p a t t e r n sm a ys p i l li n t oo t h e r
a r e a s .
O n c ey o u V ed r a w nt h e c i r c l ea n dd i v i d e di t i n t oa p p r o p r i a t e l y s i z e
s e c t i o n s ,y o u ' r ed o n ew i t ht h eh a r dp a r t .T h er e s ti s e a s y .N o wl e t ' sf i l lt h e
s e c t i o n sw i t hd i f f e r e n tp a t t e r n s .C l i c kp a t t e r nf i l l( f a u c e ti c o n )a n dt h e nt h e
p a t t e r nb o x .W en o wh a v e1 6 d i f f e r e n t p a t t e r n sa v a i l a b l e .C h o o s et h e
d e s i r e dp a t t e r n ,m o v et h e j o y s t i c kp o i n t e rt h et h ed e s i r e ds e c t i o no f t h ep i e
c h a r t ,a n dc l i c k .T h ep r o g r a mt a k e sc a r eo f t h er e s t .O n c e y o u V ef i l l e dt h e
f i v ep i e c e so f p i e ,t h er e s u l tl o o k ss o m e t h i n gl i k et h i s :
q e o ?j h i « aj a d i ti o p t i o n ;i f o n t s
F i g u r e3 8 :C h a r ts e g m e n t sw i t hf i l lp a t t e r n s
T om a k et h eg r a p h i ce v e ne a s i e r f o r o t h e r s t ou n d e r s t a n d ,w ec a nl a b e lt h e
s e c t i o n sw i t ht h e i rr e s p e c t i v ep e r c e n t a g e s .C l i c kT . T h e nc h o o s eB S W9
P o i n tf r o mf o n t sa n dp l a i nt e x ti n t h es t a t u sl i n eb e l o w .
N o wm o v et h e p o i n t e rt o t h ef i r s ts e c t i o no f p i e( u p p e rr i g h ts e c t i o no f
d i a g r a m ) .Y o un e e dt o c r e a t ea t e x tw i n d o wt h e r es o t h a tt h et e x tc a nb ew r i t t e ni n i t
9 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 102/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
C l i c kt h eu p p e rl e f tc o m e ro f t h et e x tw i n d o wa n dm o v ei t a b o u th a l fa n i n c hd o w na n dt o t h er i g h t .I t d o e s n ' tn e e dt o b e t o o b i gs i n c ei t o n l yn e e d st o
h o l dt h r e ec h a r a c t e r s :2 0 % ,T h er e s u l ts h o u l d l o o kl i k et h i s :
j f i t aj a d i tj o p t i o n : :j f o n t
F i g u r e3 9 :C h a r ts e g m e n t sw i t ha c t u a lp e r c e n t a g e s
W h e ny o ul i k et h es i z eo f t h ew i n d o w( i ts h o u l db e a l i t t l eb i g g e r t h a nt h e
l i g h ta r e ai n o u rp i e ) ,c l i c kT . A c u r s o ra p p e a r si n t h el e f tp a r to f t h e
w i n d o w .N o we n t e r t h et h r e e c h a r a c t e r s2 0% .I f y o u ' r es a t i s f i e d ,c l i c kt h eTa g a i n .T h et e x tw i n d o wd i s a p p e a r sa n dy o u ri n p u ti s s a v e d .Y o uc a n c h a n g e
t h ep o s i t i o no f t h e t h r e e c h a r a c t e r sb y s i m p l yc l i c k i n gt h en e wu p p e rl e f t
c o m e ro f t h et e x tw i n d o w .( K e e pi n m i n dt h a tp r o b l e m sm a yo c c u ri f t h i s
c o m e ri s i n s i d et h ep r e v i o u sw i n d o w ) .T h e nc l i c ka p o i n to u t s i d eo f t h ec i r c l e ,m o v et h ew i n d o w ,a n dc l i c k a g a i n .
g e o P a i n th a sc r e a t e da t e x tw i n d o wt h e r e .N o wy o uc a nc l i c ko n t h ed e s i r e d
p o i n ti n t h ep i e c eo f p i e — i ti s n ' ti n t h ew i n d o wa n y m o r e .T h a t ' sa b i t
c o m p l i c a t e d ,b u ti t c a nh e l p u sd oo u r w o r k .
W h e ny o u ' r es a t i s f i e dw i t ht h el a y o u to f t h et h r e e c h a r a c t e r sa n d h a v ec l o s e dt h et e x tw i n d o wb yc l i c k i n gT , w r i t et h eo t h e rf o u r p e r c e n t a g e si n t h e
a p p r o p r i a t e p i e c e so fp i e .
9 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 103/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
N o ww e ' r ea l m o s td o n e .W ej u s tn e e dt o l a b e lt h es e c t i o n ss o t h a tt h o s ew h ol o o ka t t h e c h a r tw i l lk n o ww h a te a c hs e c t i o nr e p r e s e n t s .C l i c k
u n d e r l i n ei n t h es t a t u sb o x .W r i t et h ei t e m sn e x tt o t h e i rc h a r ts e g m e n t s .
T h er e s u l t ss h o u l dr e s e m b l et h e f o l l o w i n g :
f q e o sj f i l eI e d i tj o p t i o n *I f o n t s
□ p l a i nt e x t u j f e t i f c y□ b o l d I u n d e r l i n e
F i g u r e4 0 :F i n i s h e dp i ec h a r t
Y o uc a na l s oa d dl i n e sf r o me a c hi t e mt o i t ss e c t i o no f t h ec i r c l e .N o wy o u r
p i ec h a r ti s d o n e .I t ' sa g o o di d e at o p u ti t i n a p h o t oa l b u ms o t h a ty o uc a n
p a s t ei t i n v a r i o u st e x t s .D e l i m i tt h ee n t i r ef i g u r ew i t ht h ee d i tb o xa n d
c h o o s ec o p yf r o mt h ee d i ts u b - m e n u .A f t e ra f e ws e c o n d s ,t h e s e c t i o ni s
s t o r e d i nt h ep h o to s c r a pf i l e .
I f y o u w a n tt o p a s t ei t i n a p h o t oa l b u mi m m e d i a t e l y , l o a dp h o t om a n a g e rf r o mt h eg e o sm e n u .I f y o ud o n ' th a v ea n a l b u my e t ,c r e a t eo n e
w i t ht h en a m eG r a p h i c s .W h e nt h ep h o t o m a n a g e rs h o w sy o ut h e
e m p t ya l b u m ,c h o o s ep a s t ef r o me d i t ,a n dy o u rp i ec h a r tw i l la p p e a ri n
t h ew i n d o w ,q u i tr e t u r n sy o ut o t h eg e o P a i n tp r o g r a m .
I f y o un o ww a n tt o c r e a t ea b a rc h a r tu s i n gt h e s ep e r c e n t a g e s ,c l o s e t h e
E x p e n s e s M a y1 9 86 f i l e( c l i c kf i l ea n dt h e nc l o s e ) . T h en e x t
s e c t i o nd e s c r i b e sh o wt o c r e a t ea b a r c h a r t
9 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 104/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
4 . 1 . 2B a rc h a r t
C l i c kc r e a t ea n de n t e rB a r C h a r ta s t h en a m e .W i t ht h el a s te x a m p l e ,w em a d es u r et h a tt h ep i ec h a r tf i ti n t h eg e o P a i n tw i n d o w .T h a tm a k e st h e
w o r ka l o te a s i e r ,b u t h a st h ed i s a d v a n t a g et h a tt h ei t e m sm u s tb e f a i r l y
s m a l l .N o ww ew a n tt o m a k ea f i g u r el a r g e rt h a nt h ew i n d o w .
F i r s tw e n e e dt o d e c i d eh o wl a r g ew e s h o u l dd r a wt h ec h a r t .S i n c et h el a r g e s tp e r c e n t a g e v a l u ef r o mo u rd a t at a b l eo n p a g e8 8 i s o n l y3 0 % ,w ed o n ' tn e e dt o e x t e n dt h e s c a l et o 1 0 0 % .W es e t t l e do n a b a rc h a r tt h a tg o e sf r o m0 %t o 5 0 % .W ea l s od e c i d e dt o r e p r e s e n te a c h1 0 %i n c r e m e n t w i t h4 0p i x e l s .E a c hb a rs h o u l db e 5 0 p i x e l sw i d e .W ea l s oi n c l u d e d a n o t h e r2 0
p o i n t sp e rb a rt o c r e a t ea t h r e e - d i m e n s i o n a le f f e c t .W i t ht h e s ec r i t e r i a ,w es e et h a tt h ev e r t i c a la x i sm u s tb e 5 x 4 0= 2 0 0p i x e l sl o n ga n dt h eh o r i z o n t a l
a x i sm u s tb e 5 x ( 5 0 + 2 0 )= 3 5 0p o i n t s l o n g .T h eb a rc h a r tw o n ' tf i ti n t h eg e o P a i n tw i n d o w .
N o ww ec a ns t a r td r a w i n g .T h ep a g e m a r k e rs h o w st h eu p p e rl e f tc o r n e ro f
t h eg e o P a i n tw i n d o w .W e l lp u tt h ev e r t i c a la x i sa b o u ta n i n c hf r o mt h el e f t
b o u n d a r ys o t h a tw e l l h a v ee n o u g hr o o mt o w r i t et h e p e r c e n t a g e s .C l i c kt h e
l i n et o o la n dp l a c et h e c r o s s h a i r si n a p p r o x i m a t e l yt h em i d d l e o ft h es c r e e n( b u tk e e pi t a n i n c hf r o mt h el e f tb o r d e r ) .T h e nm o v et h el i n eu n t i ly o ur e a c ht h eb o t t o mo f t h ew i n d o w ,t h e nc l i c ki t t h e r e .
W ew a n tt o m o v et h eg e o P a i n tw i n d o wa s l i t t l ea s p o s s i b l e ,s i n c ed o i n gt h i s
t a k e s al o t o f t i m e .W e w o n ' tf i n i s hd r a w i n gt h e v e r t i c a la x i sn o w( o t h e r w i s ew e ' dh a v et o m o v et h ew i n d o w ) .I n s t e a d ,w e l ld r a wt h ea x e s 1
d i v i s i o n sr i g h ta w a y . P u tt h ec r o s s h a i r so n t h eu p p e re n do f t h ea x i sa n dd r a wa 1 0 - p i x e l - l o n gd a s ht o t h el e f t .W e l lm a r kt h i sp o s i t i o nw i t h5 0 %l a t e r .
N o ww ec a nm a r kt h e p o s i t i o no n t h ec h a r tw h e r e4 0 %i s l o c a t e d .I t s h o u l db e 4 0p i x e l sb e l o wt h et o pd i v i s i o nm a r k e r . S i n c ew ed o n ' tw a n tt o h a v et o
c o u n to u t4 0p i x e l s ,w e l ls e tt h ec o o r d i n a t ep o i n t e ri n t h es t a t u sl i n e .W es e t
t h ec r o s so n t h e t o p p o i n to f t h ea x i sa n dc l i c k .T h e s ec o o r d i n a t e sa r es e tt o
z e r oa n dw e c a nm o v et o e x a c t l yt h er i g h ts p o to n t h ea x i s .O n c ey o u ' v e
f o u n di t , c l i c kt h e r ea n ds e tt h e s e c o o r d i n a t e st o 0 .
9 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 105/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
N o wc l i c ka g a i nt o d r a wa l i n et o t h el e f t( 1 0p i x e l si n l e n g t h ) .T h ed i v i s i o n
m a r k e rf o rt h e4 0 %i s n o wf i n i s h e d .N o ww ew a n tt o l a b e lt h ea x i si n t h e
v i s i b l ea r e a .C l i c kT a n dc h o o s et h eB S W9 P o i n ta n db o l di t e m s .N o ww r i t ei n t h ep e r c e n t a g e s .T h ev i s i b l ep a r to f t h eg e o P a i n tw i n d o wi s n o wf i n i s h e d .
I q e o s1 f i l ej e d i tj o p t i o n sj f o n t ;
D p l a i nt e x tB b o l d u n d e r l i n eC
© Q Q G U D f f l Q
F i g u r e4 1 :S t a r t i n gt h ev e r t i c a la x i s
N o ww en e e dt o m o v et h ew i n d o wd o w ns o t h a tw ec a nd r a wt h er e s to f t h e
v e r t i c a l a x i s .C l i c kt h es c r o l lb o x ,a n dm o v et h ew i n d o wa s f a rd o w na s y o u
c a nw h i l es t i l lb e i n ga b l et o s e et h e4 0 %d i v i s i o nm a r k e r .
N o wd r a wt h er e s to f t h ea x i sw i t ht h e d i v i s i o nm a r k s .I t ' sq u i c k e s ta n de a s i e s ti f y o ud r a wa 4 0 - p i x e ll i n ed o w na n dt h e na 1 0 - p i x e ll i n et o t h el e f t .
E v e n t u a l l yy o u ' l ln e e dt o m o v et h ew i n d o wa b i tf u r t h e rd o w nt o e n t e r t h e
z e r op o i n tO n c et h i si s d o n e ,w ec a ns t a r to n t h e h o r i z o n t a la x i s .
W en e e dt o d i v i d et h el i n ei n t o s e c t i o n so f l e n g t h s 5 0 ,2 0 ,5 0 ,2 0 ,e t c .W ec a nu s et h e s em a r k st o d r a wt h e i n d i v i d u a lb a r sl a t e r .
9 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 106/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
O u rc h a r ts h o u l d l o o ks o m e t h i n gl i k et h i sn o w :
g « a o sI f M j e d i tj o p t i o n sj f o n t s b a r c h c i r t
j i
D CM e a s u r eu n i t s : '
X : 1 4 V :
D i n c h e s■ - p i x e l sd i s t a n c e : 1 4
F i g u r e4 2 :Z e r o p o i n ta n dh o r i z o n t a la x i sw i t hd i v i s i o n s
M o v et h eg e o P a i n tw i n d o wf a re n o u g ht o t h er i g h ts o t h a ty o uc a nd r a wt h e
w h o l ea x i s .
W h e ny o u ' r ef i n i s h e d ,i t m i g h t b ea g o o di d e at o w r i t e t h ed e s c r i p t i o n sr i g h t
a w a y .S i n c e y o u ' v em a r k e di n 5 0 - p i x e l - l o n gs e c t i o n s ,y o uc a ne a s i l ys e e
w h e r et h e yg o .T h ew i n d o wi s a l r e a d ya l l t h ew a yo n t h er i g h t ,y o uc a n
l a b e lt h e s e c t i o n sf r o mr i g h tt o l e f t .W r i t eH o u s i n gf o rt h el a s ts e c t i o n ,
t h e nP e r s o n a l ,M i s c ,C a r , a n dF o o d .F o rt h el a s tt h r e e ,y o u ' l ln e e dt o
s c r o l lf a re n o u g hb a c ks o t h a ty o uc a ns e e t h ez e r op o i n t
N o ww ec a nd r a wt h eb a r s .W en e e dt o c a l c u l a t et h ep e r c e n t a g e si n p i x e l s .
T h a t ' sv e r ye a s y :1 0 %= 4 0p i x e l s
T h ef i r s tc o l u m nf o rf o o dm u s tb e 6 0p i x e l st a l l . I t ' sb e s tt o c l i c k t h el i n e
i c o na n ds e tt h e c r o s s h a i r se x a c t l yo n t h ez e r o p o i n t( 0 % ) .I f y o uc l i c kh e r e ,
m o v e6 0p i x e l su p t h ea x i sa n dy o uh a v et h e c o r r e c th e i g h tf o r t h eb a r .
9 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 107/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I f y o uk e e pt h e c r o s s h a i r so n t h ea x i s ,y o uc a nf i n d e x a c t l y t h e c o r r e
c o o r d i n a t e s .D o u b l e - c l i c kt o s e tt h ec o o r d i n a t e sd i s p l a y e di n t h es t a t u sb o xt o z e r o a g a i na n dm o v e5 0p i x e l st o t h er i g h t( w i d t ho f t h eb a r ) .T h e nd r a wa l i n ef r o mt h e r et o t h eh o r i z o n t a la x i s .
N o wl e t ' sa d da t h i r dd i m e n s i o nt o t h eb a r s .W ec a nd o t h i sa s f o l l o w s :
S e tt h e c r o s s h a i r so n t h eu p p e rl e f tc o r n e ro f t h eb a r .N o wd r a wa l i n e2 0p i x e l st o t h er i g h ta n d1 0 p o i n t s u p .C l i c ka n dt h e nd r a wa l i n e5 0 p i x e l s
l o n gt o w a r dt h er i g h t s i d eo f t h es c r e e n .N o wd r a wa n o t h e r2 0p i x e l st o t h e
l e f ta n d1 0d o w n .Y o u V ef i n i s h e dt h et o po f t h eb a r .
I t s h o u l d l o o kl i k et h i s :
q e o sI f i l ej e d i tj o p t i o n sj f o n t s M a yb a r c h a r t
L i v i n ge x p e n s e s
E d i tm o d e : ■ m o v e D c o p y
m i r r o rx □ i n v e r t D c l e a rm i r r o rq Q r o t a t e
F i g u r e4 3 :T w os i d e so f a b a r
I f y o ud r a wa v e r t i c a l l i n ef r o mt h er i g h t r e a rc o r n e ro f t h eb a rt o t h e
h o r i z o n t a la x i s ,t h e f i g u r ei s f i n i s h e d .
9 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 108/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
N o wr e p e a tt h i sf o rt h eo t h e rb a r s .O n c ey o u V ef i n i s h e d ,t h eb a rc h a r ti s
a l m o s td o n e .Y o uc a ni m p r o v et h ea p p e a r a n c ee v e nm o r eb y u s i n gt h ef i l l
p a t t e r n s .C l i c kt h ec u r r e n tp a t t e r ni c o nt o d i s p l a yt h e p a t t e r no p t i o n si n t h e
s t a t u sb o x .T h e nc h o o s et h ed e s i r e dp a t t e r nb y p o i n t i n gt o i t a n dc l i c k i n g .
T h en e wp a t t e r na p p e a r si n t h ec u r r e n tp a t t e r ni c o n .N o wc l i c kt h ef a u c e t
i c o n ,p l a c et h ec r o s s h a i r s i n s i d e t h eb a rt o b e f i l l e d ,a n dc l i c k .
O u rc h a r tl o o k sl i k et h i s :
j h i *i a d i tj o p t i o n sj f o n t ;
F i g u r e4 4 :S e c t i o no f t h e f i n i s h e db a rc h a r t
S i n c et h eg r a p hi s b i g g e rt h a nt h ew i n d o w ,i t ! su s e f u lt o l o o ka t t h ew h o l e
f i g u r ea t t h es a m et i m e .C h o o s ep r e v i e wf r o mt h ef i l em e n u .T h ep a g ei s r e d u c e da n dd i s p l a y e d .N o wy o uc a ns e eh o wt h e c h a r ta p p e a r so n t h ee n t i r ep a g e .T h ef u l lp a g ei n o u re x a m p l el o o k e dl i k et h i s :
9 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 109/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
g e o sj f i l ej e d i tj o p t i o n s| f o n
F i g u r e4 5 :B a rc h a r ti n p r e v i e wm o d e
4 . 1 . 3L i n eg r a p h
A l i n eg r a p hi s n ' ta v e r yg o o dr e p r e s e n t a t i o no f o u rE x p e n s e sd a t a .
T h e y ' r eb e s tw h e ny o uw a n tt o d i s p l a yd a t aw i t ha t i m ef a c t o r — f o re x a m p l e ,e x p e n d i t u r e so v e ra y e a r .B u tw e ' l lg r a p hi t a n y w a ys o y o uc a nc o m p a r et h ev a r i o u sk i n d so f d i a g r a m s .
F i r s tw en e e d t w oa x e s .T om a k ei t e a s yt o c o m p a r ea b a rc h a r ta n da l i n e
g r a p h ,w e l ld i v i d et h ea x e si n t h es a m ew a ya s w ed i df o rt h eb a rc h a r t s .
E a c h1 0 %d i v i s i o ns h o u l db e r e p r e s e n t e dw i t h4 0 p i x e l s .I f y o uh a v et r o u b l ed o i n gt h i s ,r e f e rt o t h ep r e v i o u ss e c t i o nw h e r ew ed e s c r i b et h es t e p sr e q u i r e d .
A f t e ry o u V ed r a w nt h ea x e s ,d r a wt h el i n e sf o rt h ec h a r t .S t a r tw i t ht h el i n e
i c o na t t h ez e r o p o i n ta n dd r a wa l i n e5 0p i x e l st o t h er i g h ta n d8 0 u p( 2 0 % ) .
T h e nd r a wa l i n e5 0 p i x e l st o t h er i g h ta n d4 0 d o w n( 1 0 % ) ,e t c . . .W ec h a n g e dt h el a b e l i n go f t h el o w e ra x i s t om a k et h ed i a g r a mm o r er e a d a b l e .
T ol e ty o uc o m p a r et h et w ok i n d so f c h a r t sm o r ee a s i l y ,h e r ei s a s e c t i o no f
o u rl i n eg r a p h :
9 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 110/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
q e o sj f i l ej e d i tj o p t i o n s\ f o n t s
C a r H o u s i n go t h e r
M e a s u r eu n i t s : u i n c h e s ■ p i x e l sX : 1 3 V : 6 d i s t a n c e : 1 3
F i g u r e4 6 :L i n e g r a p h
W eh o p et h a tt h e s ee x a m p l e sh e l py o up r o d u c ec h a r t sa n dg r a p h sm o r e
e a s i l y -U s i n gt h e s et h r e et y p e so f d i a g r a m s ,y o uc a ng r a p h i c a l l yr e p r e s e n tm o s tk i n d so f d a t a .
9 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 111/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
4 . 2O r g a n i z i n ga n dp l a n n i n g w i t hg e o P a i n t
Y o un e e dt h ef o l l o w i n gf o rt h i ss e c t i o n :
A g e o P a i n tw o r kd i s k e t t ew i t ha t l e a s t3 0 Ko f a v a i l a b l e s p a c e .Y o uc a n
e r a s eG E O S ,G E O SB O O T , G E O SK E R N A L ,g e o W r i t e ,T E X T
M A N A G E R ,a n da l lt h ep r i n t e r d r i v e r st h a ty o ud o n ' tr e q u i r e .
W h e nd r a w i n go b j e c t s ,y o um a yf i n dt h a ty o un e e dt o i n s e r ti d e n t i c a l
o b j e c t s s e v e r a l t i m e s .Y o um a yn e e dt o r e a r r a n g et h e o b j e c t st o g e tt h e mt h e
w a yy o u w a n tt h e m .U s i n gg e o P a i n ty o uc a na d da n da r r a n g eo b j e c t su n t i l
y o u ' v eg o tt h ef o r ma n dp o s i t i o n i n go f t h e o b j e c t se x a c t l yt h ew a yy o ul i k e
i t . W e l ll o o ka t t h e s ec a p a b i l i t i e sw i t ht w oe x a m p l e s .Y o u ' l ls e ew a y st om a k ey o u rw o r ke a s i e rb y u s i n gG E O P A I N T sc a p a b i l i t i e sf u l l y .
4 . 2 . 1R o o ml a y o u t
O u rf i r s te x a m p l ei s p l a n n i n gt h el a y o u to f a r o o m .T h i si s a g o o de x a m p l e
f o r g e o P a i n t ,s i n c ey o u ' l lp r o b a b l ym o v et h e f u r n i t u r ea r o u n dw h i l er e a r r a n g i n go n eo f y o u rr o o m s .W em a d et h i se x a m p l ef i ti n t h eg e o P a i n t
w i n d o wt o m a k ei t e a s i e r — y o uw o n ' th a v et o s p e n dt i m es c r o l l i n g .I n t h i s
w a y ,y o uc a ns e et h ew h o l ep i c t u r ea t o n c e .T o s i m p l i f yo u re x a m p l e ,w eu s e dm e t r i cm e a s u r e m e n t ss i n c et h ed i m e n s i o n sa r ee a s i l yd i v i d e db y 1 0 .
H e r ei s a l i s to f t h ev a l u e st h a t w e ' l lu s ef o rt h er o o ml a y o u t :
O b j e c t L e n g t h W i d t h
R o o mB e d
C u p b o a r dT a b l e
A r mc h a i r( 2 )
S h e l f
D e s kC h a i r
T a b l el a m p
6 . 0m2 . 0m2 . 0m1 . 0m0 . 5m1 . 8m1 . 4m0 . 4m2 5c m
3 . 0m1 . 0m0 . 5m1 . 0m0 . 5m0 . 3m0 . 7m0 . 4m2 5 c m
1 0 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 112/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
L e t ' ss t a r td r a w i n gt h er o o m .L o a dg e o P a i n t .L e t ' sc a l lt h ed o c u m e n tM yR o o m .
S i n c ew ew a n tt o s e et h ew h o l er o o mi n t h eg e o P a i n tw i n d o w ,w e ' l lu s et h es c a l eo f 1 . 0 m= 4 0 p i x e l s .S i n c ej u s td e s c r i b i n gh o wt o d r a wt h e f i g u r ei s
k i n d o fd r ya n dh a r dt o f o l l o w ,w ed o c u m e n t e di t w i t hp i c t u r e s .T h ef i r s t
p i c t u r es h o w sy o uw h a tt h ef i r s ts e v e r a lp a r a g r a p h sd e s c r i b e .T h i ss h o u l dm a k ei t e a s i e r t of o l l o wt h ed e s c r i p t i o n .
c j e o sI f i l ej e d i tj o p t i o n sj f o r r t s
F i g u r e4 7 :W a l l sa n dd i m e n s i o n s
T h el i n et o o li s p e r f e c tf o rd r a w i n gt h ew a l l s .D r a wt w oh o r i z o n t a ll i n e s2 4 0p i x e l si n l e n g t ha n dt w ov e r t i c a ll i n e s1 2 0p i x e l si n l e n g t h .L e a v es o m er o o mt o w r i t ed i m e n s i o n sa r o u n dt h ef i g u r e .N e x tm a r kt h ew i n d o w .T h et o pw i n d o wb e g i n s6 0p i x e l s( 1 . 5 m )f r o mt h el e f ta n di s 8 0 p i x e l sw i d e .T om a r ki t s p o s i t i o n ,d r a wt w ol i n e s t h a ta r e f i v ep i x e l sl o n g .U n f o r t u n a t e l y
y o uc a n ' tu s et h e r u l e r t om e a s u r et h ed i s t a n c e .T e c h n i c a l l y ,y o uc a n
m e a s u r et h ed i s t a n c e ,b u ty o uc a n ' tm a r kt h ee n dp o i n t s ot h a ty o uc a nd r a w
t h el i n e sw i t ht h ep e n c i lt o o l .
B u ty o uc a nu s et h et r i c kf r o mt h ep r e v i o u sc h a p t e r .D r a wa n e wl i n eo n t h e
w a l lt h a t ' sa l r e a d yt h e r e .T h e ny o uc a ne a s i l yf i n dh o wf a r6 0 p i x e l si s a n d
t h e nd r a wa v e r t i c a l l i n ef r o mt h a tp o i n tr i g h ta w a y .
1 0 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 113/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h er i g h tw i n d o wi s 4 4 p i x e l s( 1 . 1 m )f r o mt h et o p .I t i s6 0 p i x e l sw i d e .T h ed o o rs t a r t s3 2 p i x e l s( 0 . 8m ) f r o mt h eb o t t o m .S e tt h el i n et h e r ea n dd r a wa l i n e1 6 p i x e l sr i g h t ( 0 . 4m ) a n d 2 8p i x e l su p ( 0 . 7m ) .T o s h o wt h e
a r c f o rt h ed o o r ,u s et h ef o l l o w i n gt r i c k :
I t f sd i f f i c u l tt o d r a wa c u r v e dl i n e c o r r e c t l y ,s o c l i c kt h ec i r c l et o o la n dc h o o s et h ed o o rh i n g ea s t h ec e n t e rp o i n t .M o v et h ec i r c l e u n t i li t t o u c h e st h e
u p p e rc o r n e ro f t h ed o o r .A f t e rt h i s ,e r a s em o s to f t h ec i r c l ew i t ht h ee r a s e r
t o o l ,a n dr e m o v et h er e s t i np i x e le d i tm o d e .N o ww e h a v ea g o o dc u r v e dl i n e .
I t i s e a s yt o l a b e lt h eu p p e ra n dl o w e rw a l l s .W eu s e dU n i v e r s i t y6
p o i n tt y p e .T o w r i t eo n t h el e f tt o r i g h t w a l l s ,e n t e r t h el e n g t hi n t h e
m i d d l eo f t h er o o m ,s u r r o u n di t w i t h w i t ht h ec u tm a r k e r ,a n dt h e nu s er o t a t et o r o t a t et h ef i r s tl a b e lo n c e .U s er o t a t et o r o t a t et h e o t h e rl a b e l
t h r e et i m e s .T h e n y o uc a nm o v et h el a b e l s t ot h e i rc o r r e c tp o s i t i o n s .M a k et h eb o r d e rf o r t h ee d i tb o xa s s m a l la s p o s s i b l es o t h a ty o uw o n ' te r a s ep a r t
o f t h ew a l lw h e ny o uc o p y .
N o ww e c a nd r a wt h ef i r s to b j e c ta n dp u ti t i n a n a r b i t r a r yl o c a t i o ni n t h e
r o o m .W e l ls t a r tw i t ht h e b e ds i n c ei t ' s p r e t t yb i g a n dc a n ' tf i t j u s t
a n y w h e r e( y o u{ &n e e dt o o p e nt h ed o o r ! ) .D r a wa r e c t a n g l e8 0p i x e l sx 4 0
p i x e l s( 2 . 0 mx 1 . 0 m )i nt h e
m i d d l eo ft h e
r o o m . L a b e li t B e d .W e ' l lp u ti t
n e x tt o t h ew i n d o w .T h i se x a m p l e s h o w sh o we a s yi t i s t o m o v eo b j e c t s
a r o u n dt h er o o m .W e ' l ls h o wy o ut h er e s u l to f t h i si n t h ef o l l o w i n gp i c t u r e
b e f o r ew ed e s c r i b et h em o v i n gp r o c e s s :
1 0 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 114/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
q e o sI f i l ej e d i tj o p t i o n sj f o n t s
< 2 . 0 m >
M y R o o m
r n
E d i tm o d e : ■ m o v e
D m j r r o rx D i n v e r tD m i f f o fg D r o t a t e
D c o p y
D c l e a r
F i g u r e4 8 :T h eb e d
F i r s t r o t a t et h eb e d9 0d e g r e e s . S e l e c tt h ee d i tb o xi c o na n de n c l o s et h eb e d .
T h e nc l i c kr o t a t ei n t h es t a t u sb o x .N e x tc l i c kc o p yi n t h es t a t u sb o x .
N o wp o s i t i o nt h e c r o s s - h a i ro n t h eb e d a n dm o v ei t t o t h ew i n d o w ,c o p ya n dc l i c k t h el o w e rr i g h tc o m e ro f t h eb e d .M o v et h el o w e rr i g h tc o m e ro f
t h er o o m .T h el o w e rc o m e ro f t h eb e di s d e p o s i t e dw h e r et h e c r o s s h a i r si s
p o s i t i o n e d .U s i n gt h i st i p ,y o uc a np u tt h e o b j e c t e x a c t l yw h e r ey o uw a n ti t .
L e a v ea l i t t l es p a c eb e t w e e nt h eb e d a n dt h er i g h tw a l l s ot h a tt h ew i n d o wb o r d e rd o e s n ' t d i s a p p e a r .
W ed i d n ' tm o v et h e b e d .I n s t e a d ,w e u s e dc o p yt o p u ti t i n t h e c o r r e c t
p o s i t i o ns o t h a tw e c o u l ds h o wt h e b e dr o t a t e da n du n r o t a t e di n o u ri l l u s t r a t i o n .W eg o tr i do f t h e e x t r ab e di n t h em i d d l eb y c l e a r i n gt h e
s e l e c t e da r e a .
N o ww e c a nd r a wa n dp o s i t i o nt h er e s to f t h ef u r n i t u r e .H e r ei s t h er i g h t
h a l fo f t h er o o mo n c et h i si s c o m p l e t e d :
1 0 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 115/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
< 2 . 0 f t i >
S
m
DM e a s u r eu n i t s : □ i n c h e s ■ p i x e l sX : 6 4 V : 3 6 d i s t a n c e : 7 9
F i g u r e4 9 :R i g h th a l fo f t h eb e d r o o m
I t i s e a s i e s t t oc r e a t e t h e o b j e c t si n t h es a m ew a yy o um a d et h e b e d .D r a w
t h eo b j e c ti n t h em i d d l eo f t h er o o m ,r o t a t ei t i f n e c e s s a r y , t h e nm o v ei t t ot h e c o r r e c tl o c a t i o n .S i n c et h es e a t sa r es o s m a l l ,w el a b e l e dt h e mw i t hS i n
B S W9 p o i n tt y p e .
1 0 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 116/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
H e r e ' sh o wt h er o o ml o o k sf u l l yf u r n i s h e d :
q e o sI f i l ej e d i t :j o p t i o n sj f o n t s M y f t o o m
t£ . 0
s
s
©
S
t o w *
X '
£ . 0 0m
D
F i g u r e5 0 :F u l l y f u r n i s h e dr o o m
W ec a nd r a wt h el a m pL w i t ht h ec i r c l et o o l .W ec a nd r a wt h et a b l eT i n t h e
u p p e rl e f tc o r n e r .S i n c eg e o P a i n tr o t a t e si t e m s o n l yi n 9 0 d e g r e ei n c r e m e n t s
a n dt h i st a b l ei s r o t a t e d4 5 d e g r e e s ,w em u s t d r a wi t w i t ht h el i n et o o l .W el a b e l e di t w i t ht h eT i n p i x e1 e d i t m o d eu s i n gi n d i v i d u a lp o i n t s .
N o ww e ' r ef i n i s h e dl a y i n go u tt h er o o m .M a y b ey o u ' dl i k et o t ot r ym o v i n gt h e f u r n i t u r ea r o u n dt h er o o m .H e r e ' s al i t t l et i p :
S i n c et h er o o md o e s n ' th a v ee n o u g hf r e es p a c et o m o v et h el a r g eo b j e c t s
f r e e l y ,y o uc a nu s es o m ee d i tf u n c t i o n s .F o re x a m p l e ,t o e x c h a n g et h e
p o s i t i o no f t h eb e d a n dt h ed e s k ,e n c l o s et h ed e s ka n dc h a i rw i t ht h ee d i t
b o xa n du s ec u tt o p u tt h e s e c t i o ni n p h o t os c r a p . T h e nm o v et h eb e d
t o i t s n e wp l a c eu n d e rt h ew i n d o wa n dr o t a t ei t t h r e et i m e st o g e ti t
p o s i t i o n e dc o r r e c t l y .T h e nm o v ea l lt h e c h a i r sf a re n o u g ht o t h el e f ts o t h a t
y o uh a v er o o mf o rt h e d e s k . P o s i t i o ni t w i t hp a s t ea n dr o t a t ei t t o a n
a p p r o p r i a t ep l a c e .T h e ny o uc a nm o v et h ec h a i r s t o t h er i g h ta g a i n .I f t h e r e ' s
n o te n o u g hr o o mt o r o t a t e ,y o uc a nm o v et h eg e o P a i n tw i n d o wt o d i s p l a y
a n d u n u s e da r e a ,p u tt h eo b j e c tt h e r ew i t hp a s t e ,r o t a t ei t t h e r e ,a n dt h e n
u s ec u ta g a i nt o p u ti t i n p h o t os c r a p .
1 0 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 117/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
4 . 2 . 2L a y i n go u ta g a r d e n
W em a d et h ed r a w i n gf i t i n t h eg e o P a i n tw i n d o w w h e nw ed i dt h er o o ml a y o u t .H o w e v e r ,i f w ew a n tt o l a yo u ta n e n t i r eh o u s ew i t hg e o P a i n t ,w ew i l ln e e dt h ew h o l ep a g e .W et h o u g h ti t w o u l db e a g o o di d e at o g o t h r o u g ha d i f f e r e n te x a m p l eo fh o wt o d o t h i s .T r yt o p l a na n dl a yo u ta g a r d e nu s i n gg e o P a i n t .I n a t t e m p t i n gt h i sw ed i s c o v e r e d :
• y o uc a nd r a wa n a t t r a c t i v eg a r d e nu s i n gg e o P a i n t ,a n d
• w e ' r en o tp a r t i c u l a r l yg o o da t d r a w i n gg a r d e n s .
W h i l ew e w e r e n ' tc o m p l e t e l ys a t i s f i e dw i t ht h e r e s u l t so f o u ra r t i s t i c
e n d e a v o r s ,w e t h i n kt h a tu s i n gt h et r i c k sw e h a v el e a r n e d ,y o uw i l lm e e tw i t hg r e a t e rs u c c e s s .
W ed e s i g n e da 8 . 0 mx 8 . 6 mg a r d e na n du s e da s c a l eo f 1 . 0 m= 5 0 p i x e l s .
W en a m e dt h ed o c u m e n tM y G a r d e n .
F i r s td r a wa b o r d e ra r o u n dt h e g a r d e n .T h eu p p e rl i n ei s 4 3 0p i x e l s l o n g .
D o n ' ts t a r ti n t h eu p p e rl e f tc o r n e r .S t a r ta b o u ta n i n c hd o w na n dt o t h er i g h t
o f t h a tc o r n e r s oy o u ' l lh a v er o o mt o w r i t el a b e l sa n dt i t l et h ed r a w i n g .W ed r e wa d a s he v e r y1 0 0p i x e l sa n dl a b e l e dt h e ms o t h a tw e c o u l do r i e n t
o u r s e l v e si n t h ed r a w i n gm o r ee a s i l y .
T od r a wt h i sl i n e y o u ' l ln e e dt o m o v et h eg e o P a i n tw i n d o wt w i c ew i t ht h e
s c r o l lb o x .Y o uc a ns a v e al o to f t i m ei f y o um o v et h ew i n d o wa s l i t t l ea s
p o s s i b l e .W h e ny o u ' v ef i n i s h e dt h el i n et o t h er i g h t ,i t ' sb e s tt o d r a wt h e
4 0 0p i x e ll o n gv e r t i c a l l i n ei m m e d i a t e l y .
A f t e rt h eb o r d e ri s f i n i s h e d ,s t a r tw i t ht h et e r r a c ei n t h el o w e rr i g h tc o r n e r .
I t ' s1 3 0p i x e l sw i d ea n d1 0 0p i x e l sl o n g .T h et h r e e s t e p so n b o t hs i d e so ft h et e r r a c ea r e 5 0 , 4 0 ,a n d3 0 p i x e l sw i d ea n d1 0 p i x e l s l o n g .I n d e n te a c hh i g h e rs t e p5 p i x e l sf r o m w h e r et h ep r e c e d i n gs t e ps t a r t so nb o t hs i d e s .W et h e nc a nf i l lt h es t e p sw i t ha p a t t e r n .
T h es t e p sl e a dt o a p a t ht h a ti s 2 0p i x e l sw i d e .A no v a lr e p r e s e n t i n ga s m a l l
p o n di s i n t h em i d d l e o ft h ea r e as u r r o u n d e db y t h ep a t h .S i n c e g e o P a i n tc a nd r a wc i r c l e s ,b u tn o te l l i p s e s ,w eh a dt o u s e at r i c kt o d r a wi t .
1 0 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 118/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
F i r s tm a r kt h ec e n t e r ,a n dt h e nd r a wa c i r c l e .D r a wa v e r t i c a l l i n et h r o u g ht h ec e n t e r .T h e nu s et h ee d i tb o xt o m o v et h el e f th a l fo f t h ec i r c l ea b o u t 1 0p i x e l st o t h el e f t ,a n dt h er i g h th a l f1 0p i x e l st o t h er i g h tT h e nc o n n e c tt h e
t o p sa n db o t t o m s o ft h et w oh a l f - c i r c l e sa n de r a s et h ev e r t i c a ll i n e .N o wt h eo v a lf o r t h ep o n di s f i n i s h e d .
T h ep r e v i e wo p t i o nc a nh e l py o ui n l a y i n go u tt h eg a r d e n .W eu s e di t a
l o t . I ta l l o w sy o ut o s e eh o wt h es i z ea n dp o s i t i o n i n go f t h e i n d i v i d u a li t e m si n t h eg a r d e nl o o k .
H e r ei s w h a to u rg a r d e n l o o k e dl i k e :
1 6 6
2 6 6
F i g u r e5 1 :G a r d e n
W e ' r es u r ey o uh a v em o r el a n d s c a p i n gp o t e n t i a lt h a nw ed o . . .
1 0 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 119/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
4 . 3E l e c t r o n i cc i r c u i t s
Y o un e e dt h ef o l l o w i n gf o rt h i ss e c t i o n :
A g e o P a i n tw o r kd i s k e t t ew i t ha t l e a s t3 5 Ko f f r e es p a c e .Y o uc a np l a c et h e
f o l w i n gf i l e si n t h ew a s t eb a s k e t :G E O S ,G E O SB O O T ,G E O Sk e r n a l ,
g e o W r i t e ,T E X TM A N A G E R ,a n da l lp r i n t e r d r i v e r st h a ty o ud o n ! tn e e d .
I f y o ul o o k e di n s i d ey o u rC - 6 4 , y o u f ds e et h et h i nc o m p o s i t e b o a r dt h a t
h o l d sa n dc o n n e c t st h ed i f f e r e n tc o m p o n e n t sa n d c o m p u t e rc h i p s .I t i s
a c t u a l l ya l a r g ep r i n t e dc i r c u i tb o a r d .P Cb o a r d sa r eu s e di n t h ed e s i g na n dp r o d u c t i o no fv i r t u a l l ye v e r ye l e c t r o n i cd e v i c e .T h e r ea r ep r o g r a m sa v a i l a b l e
f o r l a y i n go u tc i r c u i t sa n dd e s i g n i n gp r i n t e dc i r c u i tb o a r d s w i t ht h e! 6 4 .
W e l ls h o wy o uh o wt o y o uc a n p e r f o r mt h i si n t r i c a t ew o r ku s i n gg e o P a i n t .
W e w e r es u r p r i s e dh o we a s yi t i s t o d r a we l e c t r o n i cc i r c u i t sa n dh o wp r o f e s s i o n a l t h er e s u l t sl o o k e d( i nc o n t r a s tt o o u rw o r kw i t ht h e g a r d e n ! ) .
F i r s tw e l lw o r kw i t ha n e x a m p l et h a tf i t s i n t h e g e o P a i n tw i n d o w :a
P C b o a r d .
4 . 3 . 1P CB o a r d
L o a dg e o P a i n ta n de n t e rP C B o a r da s t h en a m eo f t h ed o c u m e n t .W e l ls h o wt h er e s u l t sf i r s ts o t h a ty o uc a nf o l l o wt h e i n d i v i d u a ls t e p sm o r ee a s i l y :
1 0 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 120/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
q e o sj f i l ej e d i tj o p t i o n sj f o n t s P C B o a r d
T - A J
« NV k » -
— .* " »
L H i n kA O t t lK
L H W f c
L H 1 1 $ kA % mk
L H 1 1 * k
4 0 $ « . LK
1
l h i m4 0 n < LK
L H 1 1 - > k
4 0 $ * LK
= =— -
=
F i g u r e5 2 :P C B o a r d
F i r s td r a wt h eb o r d e ro f t h eP Cb o a r dq u i c k l y u s i n gt h el i n et o o l .
N e x t d r a wa p a t t e r n f o ra n i n t e g r a t e dc i r c u i t( I C ) i nt h em i d d l eo f t h eP Cb o a r d .I t ' se a s yt o d oi f y o uu s et h el i n et o o li n p i x e le d i tm o d e .T h eI C i s 4 2p i x e l sl o n ga n d2 1p i x e l sw i d e .T h i si s w h a ta nI Cl o o k sl i k eu n d e r
t h em a g n i f y i n gg l a s s :
1 0 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 121/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
[ q e o sj f i l ej e d i tj o p t i o n si f o n t s P C B o a r d
B B » M B B B B 8 1 B B B B B B I I B B S BB B B Ba B B B B B B B B a B B B B B B B B B B B B a B B B B B B B B B B B B B B B B B B B
■ •■ ■ ■
■ ■ ■ ■ ■ ■B S B B B
s . " r .
B B
! . "a a
L H4 0 N 1K
a
F i g u r e5 3 :A nI C i n p i x e le d i t m o d e
D r a wt h eI C sc o n n e c t i o np i n sn o w( b u tn o tt h el a b e l ,s i n c ei t v a r i e s f o r
d i f f e r e n t I C s ) *W h e ny o u ' r ef i n i s h e d ,c l i c kt h ee d i tb o xa n de n c l o s et h e I C .P u ti t i n p h o t os c r a pu s i n gt h ec o p yo p t i o n .N o wl a b e lt h eI C i n t h e
g e o P a i n tw i n d o ww i t hS A J 1 3 0 N T Z4 2 3 9 K . C h o o s eU n i v e r s i t y/
6 p o i n tt y p ef r o mt h ef o n t sm e n u .
N o wr o t a t et h eI C b y 9 0 d e g r e e s ,a n dt h e nm o v ei t t o t h eu p p e rl e f t
c o r n e ro f t h eP Cb o a r d .U s ec o p yt o m a k ea d u p l i c a t eo f i t i n t h el o w e rl e f t
c o r n e r .Y o uc a nd u p l i c a t et h eo t h e rI C si n t h es a m ew a y .C o p yt h eI C
p a t t e r nf r o mp h o t os c r a pw i t ht h ep a s t ec o m m a n d .L a b e li t L H 1 1 9
K 4 0 9 6 L K . T h e nm o v ei t w i t hm o v et o t h ee m p t ya r e ai n t h eu p p e rl e f tc o r n e r .P o s i t i o nt h er e s to f t h eI C su s i n gt h ec o p yc o m m a n d .
N o wy o uc a nd r a wt h ep o w e rc o n n e c t i o no n t h er i g h ts i d eo f t h eb o a r d .
Y o uc a ne a s i l yd o t h i su s i n gt h ep i x e le d i tm o d e .N o wt h eP Cb o a r di s
f i n i s h e d .I f y o uw a n tt o u s e t h e I C f o r f u t u r ed e s i g n s ,l o a dp h o t om a n a g e ra n dp u ti t i n a p h o t oa l b u m .I n t h i sw a y ,y o uc a ng r a d u a l l y
d e v e l o pa c o l l e c t i o no f c o m p o n e n t si n a p h o t oa l b u m .Y o uc a nt h e nu s e
t h e s ec o m p o n e n t st o d e s i g no t h e rP Cb o a r d s .
1 1 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 122/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
4 . 3 . 2S c h e m a t i c s
H e r e ' sa n o t h e re x a m p l eo f h o wy o uc a nu s eg e o P a i n tT h ef o l l o w i n gi s as c h e m a t i ct h a ti s o f t e nf o u n di n i n t r o d u c t o r ye l e c t r o n i cb o o k s :a
m u l t i v i b r a t o rw i t hr e l a y s .
W ew o n ! tl o o ka t t h et e c h n i c a l s i d eo f t h i sp r o b l e m( i . e . ,w e ' r en o t g o i n gt o
d r a wa c i r c u i tt h a tw i l lr e a l l yw o r k ) — w e ' r ej u s tg o i n gt o s h o wh o we a s yi t
i s t o d r a wa s c h e m a t i c w i t hg e o P a i n t *M o s tc i r c u i t so f t h i st y p ec o n t a i nj u s t
a f e wt y p e so f c o m p o n e n t s( r e s i s t o r s ,d i o d e s ,t r a n s i s t o r s ,e t c . ) -T o d e s i g n
m o r ep o w e r f u lc i r c u i t s ,c r e a t ea s p e c i a lp h o t oa l b u me x c l u s i v e l yf o r
t h e s ec o m p o n e n t s .T h e nj u s tp a s t et h er e q u i r e dc o m p o n e n ti n t h ec i r c u i ta n d
c o n n e c tt h e mw i t hw i r i n ga s t h e y ' r en e e d e d .
A n o t h e rs m a l lt r i c kt h a tc a ns a v ey o ua l o to f w o r ki s c r e a t i n ga n o t h e r
c h a r a c t e rs e t .A l m o s te v e r yt e c h n i c a lf i e l dh a ss p e c i a ls y m b o l st h a ti t u s e s .
g e o P a i n td o e s n ' th a v et h e s es p e c i a lc h a r a c t e rs y m b o l s - w en e e do m e g a( Q )a n dm u( | i )f o ro u rc i r c u i t .
W h i l ey o uc a n ' ta l t e rg e o P a i n t ' sc h a r a c t e rs e t ,t h e r ei s a t r i c ky o uc a nu s e .
A f t e rm a n u a l l yd r a w i n ga s p e c i a lc h a r a c t e r ,c o p yi t i n t op h o t os c r a p ,
a n dt h e np u ti t i n t h ep h o t oa l b u m .I f y o un e e da n o t h e rs p e c i a l c h a r a c t e r ,
p a s t et h ea l b u m ' ss p e c i a lc h a r a c t e rp a g ei n a n a r e ao f t h es c r e e nn o t b e i n g
u s e d ,d r a wt h en e ws p e c i a lc h a r a c t e ri n t h ea r e ap a s t e di n ,c o p yi t t o t h e
d e s i r e da r e a ,a n dp a s t et h ee x p a n d e ds p e c i a lc h a r a c t e rp a g e b a c ki n t h e
p h o t oa l b u m .I n t h i sw a y ,y o uc a nq u i c k l yb u i l du p a s e to f a l l t h e
c h a r a c t e r sy o un e e df o r t h e s es o r t so fa p p l i c a t i o n s .
B e f o r ew e s t a r tt o d e s c r i b eh o wt o d r a wt h ec i r c u i t ,w e ' l ls h o wy o ut h e
r e s u l t ss o y o uc a ng e ta n o v e r v i e wo f w h a tw e ' r eg o i n gt o d o :
1 1 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 123/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
F i g u r e5 4 :M u l t i v i b r a t o rs c h e m a t i c
W e ' l ls t a r ti n t h eu p p e rl e f tc o r n e r .F i r s td r a wt h e p a r to f t h ep o w e rs u p p l y
w i r i n g( + 9 V )t h a tf i t s i n t h e g e o P a i n tw i n d o w .T h e ns t a r tw i t ht h e
c o n n e c t i o nl i n et o t h er e s i s t o rR l .T h er e s i s t o r sa r e1 0 p i x e l sw i d ea n d3 0
p i x e l s l o n g .W ew r o t et h eR l 8 2 0l a b e lw i t hB S W9 p o i n tt y p e .T h ec h a r a c t e r" Q "f o ro h mi s t h ef i r s ts p e c i a lc h a r a c t e rt h a tw e l ln e e d .D r a wi t
u s i n gp i x e le d i t .H e r e ' sh o wi t l o o k si n t h a tm o d e :
1 1 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 124/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
q e o si f i l e\ e d i t : ;o p t i o n s\ f o n t s
F i g u r e5 5 :O h ms y m b o l( O m e g a )
L e a v ep i x e le d i tm o d e .E n c l o s ei t w i t ht h ee d i tb o xa n dc o p yi t i n t o
p h o t os c r a p ,s i n c ew e l ln e e di t s e v e r a lt i m e s .N o ww ec a nd r a wt h e
t o pc o n n e c t i o n .W ec a ne a s i l yd r a wi t w i t ht h ef i l l e dc i r c l et o o la n dt h ef i l l e d
s u r f a c ea s t h ep a t t e r ni n t h ep a t t e r nt a b l e :
1 1 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 125/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
q e o s! r i l ej e d i t\ o p t i o n s\ f o n t s
F i g u r e5 6 :S t a r t i n gt h es c h e m a t i cf o rt h em u l t i v i b r a t o r
W ec a nd r a wt h ec a p a c i t o ri n p i x e le d i t m o d ea n da l s op a s t ei t i n t h e
p h o t oa l b u m .W ec a na l s od r a wt h es p e c i a lc h a r a c t e rm u( | i )t h i sw a y .
W es a v e d al i t t l ew o r kb y e n t e r i n g1 5 0 0| I Fi n B S W9 p o i n t .W ej u s t
h a dt o a d da c o u p l ep o i n t st o t h e| i t o f i n i s ht h es p e c i a l c h a r a c t e r :
1 1 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 126/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
F i g u r e5 7 :
T h et r a n s i s t o rT l
i sp l a c e d b e n e a t h
t h ec a p a c i t o r .M o v et h eg e o P a i n t
w i n d o ww i t ht h es c r o l lb o xa s f a rd o w na s y o uc a na n ds t i l ls e e t h ec a p a c i t o r .T h e ny o uc a nd r a wt h ew i r i n gb e t w e e nt h ec o m p o n e n t s .H e r e ' sap r i n t o u to f t h i ss e c t i o n :
1 1 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 127/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
F i g u r e5 8 :C a p a c i t o ra n dt r a n s i s t o r
D r a wa s t r a i g h t l i n ef r o mt h ec a p a c i t o rt o t h et r a n s i s t o r t h a tg o e sa s f a r r i g h t
a s t h eT 1 - R 3c o n n e c t i o np o i n t .T h i ss a v e s u sa l o to f w o r kl a t e r .
D r a wt h ec i r c l ef o rt h et r a n s i s t o rs y m b o lw i t ht h ec i r c l et o o l .I t ! se a s i e s t t o
u s ep i x e le d i tt o d r a wt h el i n e sf o r t h ee m i t t e r ,b a s e ,a n dc o l l e c t o ro f
t h et r a n s i s t o r .T h e nd r a wt h ep o w e rs u p p l yi n t h ef a rl e f ts e c t i o no f t h e
s c r e e n .R e m e m b e r ,y o u ' l ls a v e t i m ei f y o uu s es c r o l lb o xa s s e l d o ma s
p o s s i b l e .
N e x t d r a wr e s i s t o rR 3 .I f y o uc o p yi t t o t h ep h o t oa l b u m ,y o uc a np a s t e
i t i n t h i sd o c u m e n ta n dm o v ei t t o i t sp r o p e rl o c a t i o n .T od o t h i s ,l o a dt h e
p h o t om a n a g e r .Y o uc a np a s t et h e s p e c i a lc h a r a c t e r sQ , a n dM n . i nt h e
a l b u mn o wa l s o ,i f y o uh a v e n ' t a l r e a d yd o n es o .T h ep o t e n t i o m e t e rP 1
l o c a t e db e l o wR l i s e a s yt o m a k e .C o p yR l ( w h i c ha l r e a d yh a st h es m a l l
c i r c l eb e l o w )t o t h ea r e ab e l o wi t W h e ny o un e e dt o p l a c es o m e t h i n gi n t h e
d o c u m e n t , c h e c kt o s e ei f y o uc a nc o p yp a r to f i t f r o ma n o t h e ra r e a ( u s i n g
m i r r o r so r r o t a t i o n s ) .F o rt h i sc i r c u i tw ed r e wo n l y af e wc o m p o n e n t s .T h er e s tw ed r e w b yc o p y i n gs e c t i o n so f t h ep a g e .
1 1 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 128/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
F i n a l l y ,c o m p l e t et h ew i r i n gt o t r a n s i s t o rT l ( t h a t ' st h el i n ew i t ht h es m a l l
d a s h )a n dt h et w oc o n n e c t i o n sf r o mP 1 t o t h el i n eb e l o w .
Y o u m a yw a n tt o d r a wt r a n s i s t o rT 2 f i r s ts o t h a ty o uc a nf i n dw h e r et h e
s e c o n d g r o u po f c o m p o n e n t ss h o u l dg o .U s et h es c r o l lb o xt o m o v eu p u n t i l
T l a n dC l a r ei n t h eg e o P a i n tw i n d o w .N o we n c l o s eb o t hw i t ht h ee d i t
b o x :
f q e o sj f i l ej e d i tj o p t i o n si f o n t s
E d i tm o d e : ■ m o v e u c o p y
□ m i n o rx □ i n v e r t □ c l e a r□ m i r r o rq □ r o t a t e
F i g u r e5 9 :C o p y i n gt r a n s i s t o r s
m o v et h ee n c l o s e da r e aa s f a ra s p o s s i b l et o r i g h t .T h e nr e f l e c ti t a b o u tt h e
Y - a x i s w i t hm i r r o rx , a n dy o u ' v ef i n i s h e d t h es e c o n dt r a n s i s t o rw i t h
c a p a c i t o r .I f n e c e s s a r y ,m o v et h eg e o P a i n tw i n d o wa l i t t l et o t h er i g h ta n d
t h e nm o v et h et r a n s i s t o rt o o .Y o u ' l ln e e dt o m a r ki t a g a i na f t e ru s i n gt h e
s c r o l lb o x .M a r kt h ec o n n e c t i o np o i n tb e t w e e nt h e c a p a c i t o ra n dt h ew i r i n gw i t h ab l a c k c o n n e c t i o np o i n t ,d r a w nu s i n gt h ec i r c l et o o l .
N e x tw e l lm a k er e s i s t o rR 2 a n dc a p a c i t o rC 2 .C o p yR l ( w i t h o u tt h e
d e s c r i p t i o n )i n s u c ha w a yt h a ti t ' sl o c a t e dr e l a t i v et o t r a n s i s t o rT 2 .C o p yt h ed e s c r i p t i o no n t h er e s i s t o r ' sl e f ts i d el a t e r .
1 1 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 129/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
Y o uw o n ' tn e e dt o d r a wr e s i s t o rR 4 a n dp o t e n t i o m e t e rP 2 .E n c l o s eR 3 a n d
P 1 w i t ht h ee d i tb o x .T h e nc o p yt h e s e c t i o nt o t h er i g h ta n dr e f l e c ti t u s i n g
t h em i r r o rX c o m m a n d .T h e nm o v ei t s o t h a tt h ec o n n e c t i o n sf r o mR 4
a n dT 2 f i t .N o wj u s te r a s et h e d e s c r i p t i o na n dt y p ea n e wo n e( y o uc a n
c o p yt h eo h mc h a r a c t e r( Q )f r o mR 3 ) .N o wt h el e f th a l fo f t h ec i r c u i ti s
f i n i s h e d :
F i g u r e6 0 :M i r r o r i n gp o t e n t i o m e t e r s
Y o uc a nc r e a t eR 5 b y r o t a t i n ga n o t h e rr e s i s t o r9 0 d e g r e e s . T r a n s i s t o rT 3
i s m a d eb y c o p y i n gT 2 a n dt h e nc h a n g i n gt h et i t l e .T h ec o m p o n e n tg r o u p
a b o v eT 3 c o n s i s t so f a d i o d e( D )a n da r e l a y .W ec r e a t e dt h ed i o d ei n
p i x e le d i tm o d e .I t i s l o c a t e d5 p o i n t sf r o mt h ec o r n e r .
T h e nw ed r e wt h er e s to f t h ew i r i n ga n dl a b e l e dt h ep o w e rs u p p l y .T h ed a s h
- a n dt h et e x t+ 9 V2 0 . .6 0 | X Aa r ew r i t t e ni n B S W9 p o i n t o u t l i n e
t y p e .W ec l i c k e db oI d f o rt h et i t l eM u l t i v i b r a t o r w i t hr e l a y .
1 1 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 130/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
H e r e ' st h ew a yt h er e d u c e dp i c t u r el o o k su s i n gp r e v i e w :
j r i t e\ e d i tj o p t i o n sj f o
F i g u r e6 1 :p r e v i e wo f t h es c h e m a t i c
L o o k i n ga t t h ed e s c r i p t i o n s ,i t i s e a s yt o r e c o g n i z et h ec o m p o n e n t s *T h ep r e v i e wo p t i o ni s v e r yg o o df o ro r i e n t i n gy o u r s e l ft o t h ep i c t u r ea n ds e e i n gi f y o u rl a y o u ti s c o r r e c t ,e s p e c i a l l yw h e ny o uc r e a t ed o c u m e n t st h a t
a r el a r g e rt h a nt h eg e o P a i n tw i n d o w .
W eh o p et h a ty o up a s t es o m a n yc o m p o n e n t s a n ds p e c i a lc h a r a c t e r si n t h e
c o m p o n e n t a l b u mt h a ty o u l ls o o n h a v ea c o m p l e t ec o l l e c t i o no f f i n i s h e d
c o m p o n e n t s .
1 1 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 131/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
4 . 4G E O Sa n de d u c a t i o n a la p p l i c a t i o n s
T e a c h e r sa n ds t u d e n t sa l i k ea r e c o n s t a n t l yr e q u i r e dt o p r o d u c ei l l u s t r a t i o n s ,
d r a w i n g s ,f o r m s ,t a b l e s ,a n do t h e r k i n d so f d o c u m e n t s .
W e f dl i k et o g i v ey o ua c o u p l eo fe x a m p l e so fh o wG E O Sc a nh e l pt e a c h e r s
a n ds t u d e n t ss a v et i m ea n dp r o d u c eh i g h e r - q u a l i t yd o c u m e n t s .W ew a n tt o
l o o ka t b o t ht h ea d v a n t a g e s o fG E O Sa s a g r a p h i ct o o l — s u c ha s i t s e a s y
e d i t i n g ,a n di t sd i v e r s er a n g e o fl a b e l i n gp o s s i b i l i t i e s .
W e ' l la l s ol o o ka t i t sd i s a d v a n t a g e s .W h i l ew o r k i n gw i t hg e o P a i n t ,w et r i e d
t o p r o d u c es o m ef i g u r e st h a ta r ej u s ta b o u ti m p o s s i b l ew i t ht h i sp r o g r a m .
F r e e h a n dd r a w i n g sa r ev e r yd i f f i c u l tt o d o w i t hg e o P a i n t .I t ' sb e s ti f t h e
d o c u m e n t sy o uc r e a t ea r ea l m o s te n t i r e l yc o m p o s e do fg e o m e t r i co b j e c t st h a t
g e o P a i n to f f e r s( i . e .c i r c l e s ,r e c t a n g l e s ,a n dl i n e s ) .F o re x a m p l e ,y o uc a n
m a k ee l l i p s e sb y d r a w i n ga c i r c l ea n dt h e nm o v e i n gt h et w oh a l v e so f t h e
c i r c l ea w a yf r o me a c ho t h e r .
Y o u l ll e a r nt o r e c o g n i z ew h a tc a na n dc a n n o tb e q u i c k l ya n de a s i l yd r a w nw i t ht h e g e o P a i n tp r o g r a m .N o wl e t ' sl o o ka t a f e we d u c a t i o n a l
a p p l i c a t i o n s .
4 A 1D i a g r a m si n r e p o r t s
S o m ei l l u s t r a t i o n sc a n ' tb e d r a w nw i t ho t h e r' 6 4 g r a p h i c sp r o g r a m s ,b e c a u s et h el a b e l i n gt e c h n i q u e sn e e d e dj u s ta r e n ' ta v a i l a b l e .B u tt h e s el a b e l s
c a nb e e a s i l yc r e a t e dw i t hg e o P a i n t .T h i sf i r s te x a m p l ei s a d i a g r a mf o ry o u rH i s t o r y1 0 1c l a s s :t h ee c o n o m i cs t r u c t u r eo f R u s s i ai n 1 9 1 3 . W e ' l lj u s t
s h o wy o ut h ef i n a lr e s u l t - s i n c eo u rd e s c r i p t i o n se a r l i e ri n t h i sc h a p t e r
s h o u l ds u f f i c e - a n dl e ty o uw o r ko ny o u ro w n .
I t d i d n ' tt a k eu s m u c ht i m et o d r a wi t , a n dt h ed i a g r a mc a nb e u s e df o r
v a r i o u sp r o j e c t s .Y o uc o u l d u s ei t i n a b o o kr e p o r to n ey e a r ,a n dt h e na s
p a r to f a c l a s sp a p e rt h e n e x t s e m e s t e r( a s l o n ga s y o ug e td i f f e r e n t
t e a c h e r s . . . ) .W el i k et o t h i n ko f t h i sa s " s c h o l a s t i cm u l t i - t a s k i n g " .
1 2 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 132/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
c j e o s| f i l ej e d i tj o p t i o n sj f o n t s
C l a s s S t r u c t u r e— R u s s i a .1 9 1 3
N o b l e s&
M i d d l eC l a s s
M e a s u r eu n i t s : □ i n c h e s ■ p i x e l sX : £ 8 V : 1 7 d i s t a n c e : 3 6
F i g u r e6 2 :R u s s i a ne c o n o m i cs t r u c t u r e - 1 9 1 3
4 . 4 . 2T e a c h e r f sf o r m s
E v e r yt e a c h e rn e e d st o d e s i g nf o r m sl i k ec o u r s eo u t l i n e s ,p r o j e c t s h e e t sa n da s s i g n m e n t st o e x p l a i na n do r g a n i z em a t e r i a l .I f y o u d ot h i sw i t hp a p e ra n dp e n c i l ,y o uq u i c k l ye n du p w i t ha f u l lt r a s hc a n ,b e c a u s ey o u ' r eb o u n dt o
d i v i d et h ep a g eu p i n c o r r e c t l y ,o r d i s c o v e rt h a to n ee l e m e n td o e s n ' tf i ti n t h e
s p a c ep r o v i d e d ,e t c .A l s o ,i f y o u ' v eb e e nt e a c h i n ga n yl e n g t ho f t i m e ,
y o u ' v ep r o b a b l ya l r e a d yg o t as t a c ko f o l dd o c u m e n t sf o re v e r yo c c a s i o n .
A l ly o un e e dt o d o i s c o p yt h ef o r m a t o fa f e wg o o de x a m p l e s ,t h e nf i l li n
n e wi n f o r m a t i o na s n e e d e d .
g e o P a i n ti s t e r r i f i cf o rt h i sk i n d o fa p p l i c a t i o n ,s i n c ei t h a sa l m o s te v e r y t h i n g
y o un e e d — c i r c l e s ,l i n e s ,r e c t a n g l e s ,a n dm a n yd i f f e r e n tt e x ts t y l e s ,f o n t s ,
a n dp o i n ts i z e s .Y o uc a ne v e nu s ey o u rf o r m so n a n o v e r h e a dp r o j e c t o r .
Y o uj u s tp r i n to u tt h ed o c u m e n t ,a n dt h e nc o p yi t o n t oa c l e a rs h e e to fa c e t a t e — v o i l a !
I l l
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 133/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
4 . 4 3S e a t i n gC h a r t s
Y o um i g h tn e e dt o m a k es e a t i n gc h a r t sa t t h eb e g i n n i n go f t h ey e a ro rs e m e s t e r .N o to n l yc a ny o ud o t h i su s i n gg e o P a i n t ,i t a l s oo f f e r st h e
f o l l o w i n g a d v a n t a g e s :
• S i n c es e a t i n gc h a r t sc h a n g eo n l yw h e nn e ws t u d e n t sa r r i v eo r
y o ud e c i d et o a l t e rt h ea r r a n g e m e n to f t h e d e s k s ,y o us i m p l ym o d i f yt h ee x i s t i n g s e a t i n g c h a r tt h a ty o u ' v es t o r e do n d i s k e t t e .
Y o ud o n ' tn e e dt o r e d r a wi t f r o ms c r a t c h .
• U s u a l l yt h en u m b e ra n dp l a c e m e n to f d e s k si s a l m o s ti d e n t i c a l
f r o mr o o mt o r o o m .Y o uc a nm a k ea m a s t e rt h a to t h e r t e a c h e r s
c a nu s ef o rt h e i rc l a s sr o o m s .T h e nt h e yj u s tn e e dt o e n t e r t h e
s t u d e n t s 'n a m e s .
4 . 4 . 4S c i e n c ec l a s sd i a g r a m s
I f y o u ' r ea s c i e n c et e a c h e r ,y o u rs t u d e n t sm u s to f t e np e r f o r me x p e r i m e n t s
a n du s u a l l yn e e da m e t h o dt o c h a r tt h ed a t a .I t w o u l db e n i c et o b e a b l et o
p r o d u c e d i a g r a m sq u i c k l y , a c c u r a t e l ya n de a s i l y .I t ' se a s yt o p r o d u c es c i e n t i f i cc h a r t sw i t ht h eg e o P a i n tp r o g r a m .Y o uc a nd r a wa f o r m a tp a g e
w i t ha r e c t a n g l ed i v i d e di n t os e c t i o n sa n dh a v et h e s t u d e n t s p l o ta n dl a b e la s
r e q u i r e d .
W eh a v e o n et i p .Y o um a yf i n dt h a ty o u w a n tt o m a k em i n o rm o d i f i c a t i o n s
t o a n de x i s t i n gd r a w i n gt o s a v es o m ew o r k .B u tb e c a r e f u l — d o n ' tp u tb o t h
t h eo r i g i n a la n dt h ec o p yo n t h es a m ed i s k e t t e .B e c a u s et h e yw i l lb e s o
s i m i l a r ,y o uc o u l dl o s et h eo r i g i n a l .
1 2 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 134/314
C h a p t e rF i v e
( G E O ST r i c k sa n dT i p sJ
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 135/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 136/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
G E O ST i p sa n dT r i c k s
E a c ht i m ew eu s e dG E O S ,w ew e r ea l w a y sa m a z e db y i t sc a p a b i l i t i e s ,a s
w e l la s b y t h ef l e x i b i l i t yo f i t sp r o g r a m m i n g .I n t h i sc h a p t e r w e ' r eg o i n gt o
p r e s e n ty o uw i t hs o m eo f t h e s ep o s s i b i l i t i e s ,a n dr e d u c et h et i m ey o u l ln e e dt o t a k et o g e tu p t o " f u l ls p e e d "w i t hG E O S .
B e c a u s et h i sb o o kw a sw r i t t e ni n G e r m a n ya n dw i l lb e s o l di n t e r n a t i o n a l l y ,
w e ' v ei n c l u d e da s e c t i o no na d j u s t i n g t h eG E O So p e r a t i n gs y s t e mt o o p e r a t e
a t t h eE u r o p e a ne l e c t r i c a ls t a n d a r do f 5 0 H z ( t h eA m e r i c a ns t a n d a r di s
6 0 H z ) .B e c a u s eo f t h i sm o d i f i c a t i o n ,c e r t a i np r o g r a m sm a yn o t b ec o m p a t i b l e .H o w e v e r ,e v e r yp r o g r a mi n t h i sb o o ko r o n t h e o p t i o n a l
d i s k e t t ei s c o m p a t i b l e w i t hG E O Sb o t hi n 6 0H zo p e r a t i o na n dm o d i f i e df o r
5 0H zo p e r a t i o n .
5 . 1T i p sa n dT r i c k sf o rt h eG E O Su s e ri n t e r f a c e
T h i sf i r s ts e c t i o ng i v e sy o ut h eb e n e f i t so f o u re x p e r i e n c ew i t ht h eu s e ri n t e r f a c ea n dt h ed i f f e r e n tp r o g r a m st h a tc o m p o s ei t . I n t h es e c o n ds e c t i o n
w ew i l le x p a n d a n d i m p r o v eu p o nw h a tw ed i s c u s s e di n t h ef i r s ts e c t i o n .
W eb e l i e v et h a tt h i sw i l lm a k eG E O Sb o t he a s i e rt o u s ea n dm o r ep o w e r f u l .
5 . 1 . 1P r o b l e m sl o a d i n gG E O S
Y o u l lp r o b a b l yh a v ep r o b l e m su s i n gG E O Sb e f o r ey o uu s et h e j o y s t i c ko r
t r yt o s t a r ty o u rf i r s ta p p l i c a t i o n .T h i sf i r s ts e c t i o nd e a l sw i t ht h ep r o b l e m sy o um i g h t h a v el o a d i n gG E O S .
T h e r ea r et w or e a s o n sw h yG E O Sh a st r o u b l e b o o t i n g .F i r s t ,G E O Sh a s av e r ys o p h i s t i c a t e dc o p yp r o t e c t i o ns c h e m e .I f t h ed i s t r i b u t i o nd i s k e t t ei s
c o p i e d ,t h en e wv e r s i o nw i l lb e u n a b l et o r u n b e c a u s eG E O Sw i l ln o tf i n d
s o m ei m p o r t a n tc o p yp r o t e c t i o n i n f o r m a t i o n .H o w e v e r ,o c c a s i o n a l l yG E O Sc a n ' tf i n dt h i si n f o r m a t i o ne v e ni f y o ua r eu s i n gt h eo r i g i n a lc o p yo f t h ep r o g r a m .
1 2 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 137/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h e r ea r ea l s op r o b l e m sa s s o c i a t e dw i t ht h ef a c tt h a tG E O Su s e sf a s td i s ka c c e s sr o u t i n e s .F o ro n e ,i f y o uh a v e y o u rp r i n t e rp o w e r e d u pw h i l ey o ub o o tG E O S ,i t m a yo r m a yn o tl o a d .
I f G E O Sd o e sn o tb o o tp r o p e r l y , t h e r ei s n o r e a s o nt o w o r r y .J u s tr e s t a r to r
r e s e t t h ec o m p u t e ra f t e ra n u n s u c c e s s f u ll o a d .
I f t h eB O O T I N GG E O Sm e s s a g ed i s a p p e a r sf r o mt h es c r e e n b e f o r et h eG E O Si s f i n i s h e d l o a d i n g , t u r nt h ec o m p u t e r a n dd i s kd r i v e o f fa n dt h e nb a c ko n a g a i n .
I f n o t h i n g h a p p e n s ,e v e na f t e ra f e wt r i e s ,t h e r ei s s t i l lh o p e .R e a dt h e
f o l l o w i n gt r o u b l e s h o o t i n gl i s ta n d a n s w e ra c c o r d i n g l y :
• D i d y o ut r yt o b o o t w i t ht h eo r i g i n a ld i s k e t t e ?T h i si s t h eo n l y
d i s k e t t et h a tG E O Sc a nb o o t .
• D oy o uh a v eo n l yo n ed i s kd r i v e( w i t hd e v i c ea d d r e s s8 ) t u r n e d
o n ? N o r m a l l yt h ed i s kd r i v eh a st h ed e v i c en u m b e r8 .
• D i d y o ut u r ny o u rp r i n t e rp o w e ro f f ?S o m e t i m e sG E O Sd o e s
n o tl i k eh a v i n ga p r i n t e ro n d u r i n gb o o t i n g .G E O Sw i l ld i s p l a y
t h ep r i n t e ra n dw a s t eb a s k e ti c o n s ,b u tw i l lt h e n w a i tu n t i lt h e
p r i n t e ri s t u r n e do f f .
I f a l lt h e s ep o i n t sh a v e b e e na d d r e s s e d ,b u ty o ua r es t i l lh a v i n gp r o b l e m sb o o t i n gG E O S ,t h e r ei s s t i l la t r i c kt h a tw i l lt a k ec a r eo fm o s tp r o b l e m s .
G E O Si s v e r yf i n i c k yw i t hd i s kd r i v e st h a ta r ep o o r l ya d j u s t e d .I t ' sp o s s i b l e
t h a tG E O Sw o n f tf i n dt h ec o p yp r o t e c t i o ni f t h er e a d / w r i t eh e a di s o u to fa l i g n m e n t .T h e r ea r et w ow a y st o t a k e c a r eo f t h i sp r o b l e m .
N o t e :I f y o u rd i s kd r i v eh a sm e c h a n i c a lp r o b l e m s ,n e i t h e ro f t h ef o l l o w i n g
p r o c e d u r e sw i l lw o r k — y o uw i l lh a v et o t a k ey o u rd i s kd r i v et o a d e a l e r f o r
r e a d j u s t m e n t
D o n ' tu s ee i t h e ro f t h e s e t e c h n i q u e sw i t hd i s kd r i v e st h a ta r ev e r yw a r m ,b e c a u s et h ep r o c e d u r e sc a nc a u s et h em e c h a n i c a lo p e r a t i o no f t h er e a d / w r i t e
h e a dt o m a l f u n c t i o n .I f y o u rd r i v ei s r u n n i n gv e r yw a r m ,w e s u g g e s tt h a t
y o ut u r ni t o f ff o r1 5 m i n u t e so r s oa n dr e a da f e wm o r ep a g e si n t h i sb o o k .
1 2 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 138/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
1 ) G e ta b l a n kd i s k e t t e ,o r ad i s k e t t ec o n t a i n i n gm a t e r i a ly o ud o n ' t
n e e da n yl o n g e r .F o r m a tt h i sd i s k e t t e .T h i sw i l la u t o m a t i c a l l y
r e a l i g n t h e r e a d / w r i t eh e a d( a sl o n ga s t h e r ea r en o m e c h a n i c a l
p r o b l e m s ) .
I f y o ud o n ' tk n o w h o wt o f o r m a ta d i s k e t t e ,t y p et h ef o l l o w i n g
o n t h e s c r e e ni n t h e C - 6 4d i r e c tm o d ea n d t h e np r e s s
< R E T U R N > .Y o uc a nr e p l a c eN A M Ew i t ha n yn a m eu p t o 1 5
c h a r a c t e r s ,a n d I D w i t ha n y t w o - c h a r a c t e ro r t w o - d i g i t
c o m b i n a t i o n :
O P E N 3 , 8 , 1 5 , " N : N A M E , I D " : C L O S E 3
A f t e ry o uh a v ed o n et h i s ,y o uw i l lh e a ra w h i r r i n g s o u n d .A f t e ra b o u to n ea n da h a l fm i n u t e st h es t a t u s l i g h to n t h ed i s k d r i v e
w i l lg o o u t .N o wt r yb o o t i n gt h eG E O Sd i s k e t t e a g a i n .
2 ) I f y o ud o n ' th a v e a n ys p a r ed i s k e t t e so r y o ua r el o o k i n gf o ra
s i m p l e rm e t h o d ,t y p ei n t h ef o l l o w i n gp r o g r a m :
1 0 R E MT h i sp r o g r a mm o v e st h e d i s kh e a d2 0 R E Mi n t o p o s t i o n3 0 O P E N3 , 8 , 1 5 , " I " : O p e n d i s k c h a n n e l
4 0 R E MI n i t i a l i z e5 0 P R I N T # 3 , " M - W " C H R $ ( 0 ) C H R $ ( 0 ) C H R $
6 0 C L O S E 3
T h eR E Ml i n e sa r e t h e r e f o re x p l a n a t i o no n l y ;y o um a yr e m o v e
t h e mi f y o uw i s h .S t a r tt h ep r o g r a mb y t y p i n gR U N ,y o uw i l l
t h e nh e a rt h e w h i r r i n g .A f t e r w a r d s ,t h e r e a d / w r i t eh e a di s
r e a l i g n e da n dr e a d yt o u s e .
I f n o n eo f t h e s ew o r k ,t r ya n o t h e ro r i g i n a l d i s k e t t eb e f o r er u n n i n go u tt oy o u rd e a l e rf o rd i s k d r i v er e p a i r .T r yt o b o r r o wa c o p yo f G E O Sf r o maf r i e n d ,o r a s ky o u rd e a l e r — t h i ss h o u l d n ' tb e a n yp r o b l e m .I f i t t u r n so u t
t h a tt h e r ei s s o m e t h i n gw r o n gw i t ht h e o r i g i n a ld i s k e t t e ,a s ky o u rC o m m o d o r ed e a l e rt o f i n do u tw h a tt o d on e x t .
J u s tr e m e m b e r - d on o tf o r m a to r u s ed i s k e t t e s i na v e r yw a r md i s kd r i v e .
1 2 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 139/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 . 1 . 2d e s k T o p" D o f sa n dD o n f t s "
W h e ny o u ! r ew o r k i n gw i t hG E O S ,a l w a y sf o l l o wt h e s eg u i d e l i n e s :
N e v e rc h a n g et h ed i s k e t t e sw i t h o u tf i r s tu s i n go p e n .T h a tm e a n st h a ty o u
c a n ' tc h a n g ed i s k e t t e su n l e s sy o ua r ew o r k i n gi n d e s k T o p ,s i n c et h eo p e nc o m m a n di s a v a i l a b l eo n l yf r o mt h ef i l em e n u .T h e r ea r es a f e g u a r d si n
G E O St o p r o t e c ty o uf r o mq u i t t i n ga p r o g r a mw i t h o u tt h e d i s k e t t e
c o n t a i n i n gt h e a c t i v ep r o g r a mb e i n gi n t h ed r i v e .
E v e nw i t ht h e s e s a f e g u a r d s ,e x c h a n g i n gg e o P a i n t w i t ht h es c r o l lb o xw h i l e
t h eg e o P a i n tw i n d o wi s s t i l la c t i v ew i l lp r o d u c es o m ei n t e r e s t i n gs c r e e n
e f f e c t s — n o tt o m e n t i o na s y s t e mc r a s h .
N e v e r o p e nt h e d r i v ed o o rw h e ny o us a v eo r l o a dG E O S .T h i sa l s om e a n sy o us h o u l dn e v e rt a k et h e d i s k e t t eo u to f t h ed r i v ew h e ns a v i n g o r l o a d i n gG E O S .
N e v e rt u r no f ft h ed i s k d r i v ep o w e rw h e nG E O Si s r u n n i n g .T h es w a pf i l e
G E O Su s e st o s t o r ed i s ki n p u t / o u t p u tw i l lb e l o s t .
A l w a y su s ed i f f e r e n tn a m e sf o re a c hd i s k e t t e .G E O Sc a n n o td i s t i n g u i s h
b e t w e e nd i f f e r e n t d i s k e t t e sw i t ht h es a m en a m e .U s i n gi d e n t i c a ld i s kn a m e sm a k e sc o p y i n ga n ds a v i n gf i l e sv e r yd i f f i c u l t
U s eo n l y t h eo r i g i n a lG E O Sd i s k e t t e f o rb o o t i n g .O n c ey o ua r e f i n i s h e d
b o o t i n gt h es y s t e m , p u ti t i n a s a f e p l a c e .I f y o uh a p p e nt o l o s eo n eo f t h e
f i r s tf o u rp r o g r a m sn e c e s s a r yf o rl o a d i n gG E O S ,y o uh a v et w oo p t i o n sf o r
r e s t o r i n gt h eo r i g i n a ld i s k e t t e :
1 ) I f y o ua r e s t i l li n G E O Sa n dy o un o t i c et h a to n eo f t h e
p r o g r a m si s m i s s i n g ,y o uc a nc o p yt h em i s s i n gf i l e sf r o my o u rb a c k u p c o p yo f G E O Sb a c kt o t h eo r i g i n a l d i s k e t t e( a s s u m i n g
y o um a d ea b a c k u po fy o u ro r i g i n a l ) .Y o us h o u l dt h e nb e a b l e
t o b o o tu p u s i n gt h eo r i g i n a ld i s k e t t e .
2 ) L o a dt h eB A C K U Pp r o g r a mf r o mt h eb a c k u pc o p yo f G E O Su s i n g :
L O A D " B A C K U P " , 8
1 2 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 140/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
S t a r tt h ep r o g r a mb y e n t e r i n gR U N .U s et h e o r i g i n a lc o p yo fG E O Sa s t h e d e s t i n a t i o nd i s k e t t eo f t h eb a c k u p .T h ec o p yp r o t e c t i o nw i l lr e m a i ni n t a c t ,e v e nd u r i n gf o r m a t t i n g .
U s ey o u rG E O Sd i s k e t t e so n l yw i t hG E O S .N e v e ru s et h eD O Sc o m m a n d s
V A L I D A T Ea n dS C R A T C Hw i t ht h e s ed i s k e t t e s . I fy o ud o t h i sa c c i d e n t a l l y ,
l o a dG E O Si m m e d i a t e l ya n du s et h eG E O Sv a l i d a t ec o m m a n du n d e r
d i s k .H o p e f u l l y ,G E O Sc a nc o r r e c tw h a tw a sd o n et o t h ed i s k e t t e .
5 . 1 . 1 . 1G E O Sf i l em a n a g e m e n ta n dp r i n t i n g
d e s k T o pa l l o w sm a n yd i f f e r e n tf i l em a n a g e m e n to p t i o n s .T a k ea d v a n t a g eo fi t sf l e x i b i l i t y .
O n eo f t h o s e o p t i o n si s t h eo r d e ri n w h i c ht h ef i l e sa r e s t o r e do n t h e
d i s k e t t e .L e t f ss a yt h a ty o uh a v ea d i s k e t t et h a ty o uu s u a l l yu s ef o rs t o r i n g
g e o P a i n td o c u m e n t s .Y o uc a ny o uc a nm o v et h ed o c u m e n t st o t h ef i r s tp a g eo f t h ed i r e c t o r y .N o wy o uc a nd o u b l e - c l i c kt h i sp a g ea n dg od i r e c t l yt o y o u rd o c u m e n t ,r a t h e rt h a nh a v i n gt o s e a r c ht h r o u g ha l lo f t h ep a g e s o ff i l e s .
S e c o n d ,u s et h ei n f ob o x .T h i sa l l o w sy o ut o m a i n t a i na v e r y o r d e r e da n de f f i c i e n tf i l es y s t e m :
a ) L o a dt h e c o r r e c tt i m ea n dd a t ew i t ht h eP r e f e r e n c eM a n a g e ri m m e d i a t e l ya f t e rb o o t i n gG E O S .T h i si s u s e f u lw h e ny o us t o r e d i f f e r e n tv e r s i o n so f a g r a p h i co r t e x td o c u m e n t .W h e ny o ul i s tt h ef i l e s ,y o uc a nu s et h ed a t ea n dt i m et o d e t e r m i n e
w h i c hf i l e i st h em o s tc u r r e n t ,a n d w h i c hi s t h eo r i g i n a l .
b ) U s i n gt h eh e l ps c r e e n ,y o uc a ns t o r ei m p o r t a n ti n f o r m a t i o n
a b o u te a c hp r o g r a m .T h i si n f o r m a t i o nc o u l di n c l u d e :
• I n f o r m a t i o n a b o u tw h a tt h ep r o g r a ma c t u a l l yd o e s
• T h ev e r s i o no f t h ep r o g r a m
• T h es t a r t i n ga d d r e s sf o rt h i sp r o g r a m( f o rp r o g r a m sw r i t t e ni n m a c h i n el a n g u a g e )
F o ri n s t a n c e ,y o uc a ns t o r ey o u rv i d e og a m e s 1P O K Ea d d r e s s
w h e r ey o uc a ni n c r e a s et h en u m b e ro f " l i v e s "y o ug e tf o ra
g a m e .O r y o uc a ns t o r ea n s w e r st o r i d d l e st o s p a r ky o u r
1 2 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 141/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
m e m o r yw h e ny o up l a y a d v e n t u r eg a m e s .B e f o r ey o uc a nd ot h i s ,t h eg a m em u s tb e c h a n g e dt o t h eG E O Sf o r m a t ,s o y o u
c a na c c e s st h ei n f os c r e e n .U s et h eF I L E M A S T E Rp r o g r a m
d i s c u s s e dl a t e ri n t h i sc h a p t e r .
G E O Sl e t sy o up r i n tg r a p h i c o rt e x td o c u m e n t sd i r e c t l yf r o mt h ed e s k T o po r
f r o ma n a p p l i c a t i o n sp r o g r a m .Y o uc a ni n s t a l lt h ep r i n t e rf i l eo n l yf r o md e s k T o p .T h e r ew e r em a n yt i m e sw h e nw e w a n t e dt o p r i n ta g r a p h i cd o c u m e n t f r o ma n a p p l i c a t i o n — o n l yt o r e a l i z et h a tw en e v e ri n i t i a l i z e dt h e
p r i n t e rf r o mt h ed e s k T o p .T h e r e f o r e ,y o uh a v et o l e a v et h ea p p l i c a t i o n ,
r e t u r nt o d e s k T o p ,i n i t i a l i z et h ep r i n t e ra n dt h e nr e t u r nt o t h ea p p l i c a t i o n .
W e V el e a r n e df r o me x p e r i e n c et h a ti t i s b e t t e rt o p r i n tg r a p h i ca n dt e x t
d o c u m e n t sw h i l er u n n i n gt h er e s p e c t i v ea p p l i c a t i o n .A t l e a s tw ef o u n dt h i s
t o b e t h ec a s ew i t ho u rp r i n t e r( a nF X - 8 5w i t hi n t e r f a c e ) .I t i si m p o s s i b l et o
r e t u r nt o d e s k T o pi f t h ep r i n t e ri s s t i l lt u r n e do n .G E O Sw i l ls t i l ld i s p l a y t h e
p r i n t e ra n dw a s t eb a s k e ti c o n s — b u tG E O Sw i l lw a i tu n t i lt h ep r i n t e ri s
t u r n e do f ft o c o n t i n u e .T h i sa l s oo c c u r sa f t e ru s i n gd e s k T o pt o p r i n t .W ed e c i d e d n o tt o p r i n tf r o md e s k T o pu n l e s si t w a sa b s o l u t e l y n e c e s s a r y .
D u r i n gp r i n t i n g ,a w i n d o wd i s p l a y i n gP r i n t i n g .. . C A N C E La p p e a r s .
I f y o uc l i c kC A N C E L ,y o uc a nh a l tt h ep r i n t i n g .T h ej o y s t i c kc u r s o ra p p e a r s
o v e rt h eC A N C E Lb u t t o n .H o w e v e r ,y o um i g h tn o tb e a b l et o s e ei t f o ra
s h o r tw h i l e .W e s u g g e s tt h a ty o uh o l dt h e f i r eb u t t o nd o w nu n t i lt h ew i n d o wd i s a p p e a r s .G E O Sr e g i s t e r st h i sa f t e ra f e ws e c o n d s .
T op r i n ta f i l ef r o md e s k T o p ,m a k es u r et h a tt h e d e s i r e dd o c u m e n ti s o n t h e
s a m ed i s k e t t ea s t h ea p p l i c a t i o n .F o ri n s t a n c e , t o p r i n ta l e t t e r ,t h el e t t e rm u s t
b e o n t h es a m ed i s k e t t ea s g e o W r i t e .
O n el a s tc o m m e n ta b o u tp r i n t i n g .W h e n e v e rp r i n t i n gf r o ma n a p p l i c a t i o n ,
G E O Sd i s p l a y s t h ee r r o rm e s s a g e :
P L E A S EI N S E R TA D I S K C O N T A I N I N GT H ED E S K T O P
. . . e v e nt h o u g hd e s k T o pi s a l r e a d yo n t h ed i s k e t t e i nt h ed r i v e .A f t e rt h e
p r i n t e ri s f i n i s h e d ,c l i c kO Kt o r e t u r nt o n o r m a l .
O c c a s i o n a l l yG E O Sw i l ln o tw a n tt o p r i n t t e x to rg r a p h i c s .I t w i l lo n l yp r i n t
b l a n kl i n e s .I f t h i sh a p p e n s ,w ec a no f f e ra t i p( n o ta f i x )f o rt h ep r o b l e m :
C o p yt h ed o c u m e n tt o a n o t h e rG E O Sd i s k e t t e .Y o uc a nn o wt r yt o p r i n tt h e
f i l eu s i n gt h i sd e s k T o p ,o rj u s tu s eB A C K U Pt o m a k ea n e ww o r k i n gc o p y .
1 3 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 142/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I f y o uh a v ea l o to f f i l e st o c o p y ,G E O Sh a s af e a t u r et o m a k el i f ea l i t t l e
e a s i e r :d u p l i c a t e .F i r s te n t e rt h e f i l e n a m ep a t t e r n s ,a n dt h e nu s e
d u p l i c a t et o m a k ea s m a n yc o p i e sa s y o uw a n t .
Y o uw i l lh a v et o g i v e ad i f f e r e n tn a m ef o re a c hc o p yy o um a k e .Y o uc a ns i m p l yc h a n g ea f e wc h a r a c t e r s f o re a c hn a m e ,o r a d da n u m b e rt o t h ee n do f t h en a m et o s h o wt h ev e r s i o n o rc o p yn u m b e r .I f y o um a k et h r e ec o p i e s
o f a f i l e( l e t ' ss a yf o rM e y e r ,M i l l e r ,a n dT y r o n e )y o uc o u l dn a m et h ef i l e s
M E Y ,M I La n dT Y R .
5 . 1 3T i p sa n dT r i c k sf o rg e o P a i n t
g e o P a i n ti s a g r e a tp r o g r a mf o r c r e a t i n gg r a p h i cd o c u m e n t s .T h em o r e y o uu s et h i sp r o g r a m ,t h em o r e w a y sy o u ' l lf i n dt o m a k et h ej o be a s i e r ,a n dt o
c r e a t e s p e c i a le f f e c t s .I n t h i ss e c t i o nw e ' r eg o i n gt o l o o ka t s o m eo f t h e
i n t e r e s t i n gp o i n t so fg e o P a i n t .
G r a p h i cf o r m a t sa n ds c a l i n g
T h ea r e aw i t hw h i c hg e o P a i n tc a nw o r ki s a c t u a l l y l a r g e rt h a nw h a t y o uc a ns e ei n t h eg e o P a i n tw i n d o w .F r o ml e f tt o r i g h t t h e r e a r e6 4 0p i x e l s ,a n df r o mt o pt o b o t t o mt h e r e a r e7 2 0p i x e l s .A l t o g e t h e r ,t h i si s a b o u t4 6 0 , 8 0 0i n d i v i d u a lp o i n t s .I n c o m p a r i s o n ,t h e C - 6 4w i t h o u tG E O Sh a do n l y
3 2 0 * 2 0 0 = 6 4 , 0 0 0p i x e l s .H o wd o e st h i sl o o ko n p a p e r w i t ht h e l a r g e r
w i n d o ws i z e ?T h i si s v e r y i m p o r t a n tw h e nt r y i n g t o v i s u a l i z e t h ef i n a l
p r o d u c t
T h es i z eo f t h ei m a g ei s d e p e n d e n tu p o nt h ep r i n t e r .H e r ew ep r e s e n tt h e
r e s u l t sf o rt h eF X - 8 5 , w h i c hi s t h em a i np r i n t e rw eu s e dw i t hG E O S .
I f y o uh a v ea d i f f e r e n tp r i n t e r ,y o uc a nd r a wa l i n e2 0 0p i x e l sf r o ml e f tt o
r i g h t ,a n da n o t h e rl i n e2 0 0p i x e l sf r o mt o pt o b o t t o m .N o wp r i n tt h i st o
y o u rp r i n t e ra n dm e a s u r ei t o n t h e p a p e r .T h eF X - 8 5c a nd r a wa m a x i m u ml i n ew i d t h o f2 4c m .T h i sc o r r e s p o n d st o 5 3 0p i x e l si n g e o P a i n t .I f y o uu s e
t h ep i x e l sf r o m5 3 0t o 6 4 0 ,t h e s ew i l ln o tb e p r i n t e do n t h e p a p e r .S i n c e
t h e r ei s n o e a s yw a yt o d e t e r m i n ew h e r et o s t o pd r a w i n g ,i t ' se a s i e ri f y o u
d r a wa b o u n d a r yl i n e .
1 3 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 143/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
T op r i n tt h ew h o l es c r e e ny o uw i l ln e e da n E P S O NF X - 1 8 5o r c o m p a t i b l e
p r i n t e r .
T h ee n t i r ep i c t u r ec a n b ep r i n t e do na s t a n d a r d8 . 5 "x 1 1 " s h e e to f p a p e ri n
t h ev e r t i c a l d i r e c t i o n .T h e7 2 0p i x e l s a r ep r i n t e di n 2 5 . 4c m .T h a tm e a n s1 0 0p i x e l s a r ei n 3 . 5c ma n d1 c mh a s 2 8 . 4p i x e l s .A l lo f t h e s ed i m e n s i o n s
a r ei n t h ef o l l o w i n gt a b l e :
S i z ea n dD i m e n s i o n s
H o r i z o n t a lm a x :
P r i n t i n g w i d t h :
V e r t i c a lm a x :
6 4 0p i x e l s
5 3 0p i x e l s
1 0 0p i x e l s
1 c m
1 i n c h
7 2 0p i x e l s
1 0 0p i x e l s
1 c m
1 i n c h
= 2 9 c m
= 2 4 c m
= 4 . 2c m
= 2 4p i x e l s
= 6 0 . 1p i x e l s
= 2 5 . 4c m
= 3 . 5c m
= 2 8 . 3p i x e l s
= 7 2 p i x e l s
= 1 0 . 6
= 8 . 8i n c h e s
= 1 . 6 6i n c h e s
= 1 0 i n c h e s
= 1 . 3 9i n c h e s
T h ed i f f e r e n c eo f 4 . 2c m( h o r i z o n t a l )a n d3 . 5c m( v e r t i c a l )f o r1 0 0p i x e l s
m e a n st h a ts q u a r e so n t h es c r e e nl o o kl i k er e c t a n g l e s ,a n dc i r c l e sl o o kl i k e
e l l i p s e sw h e np r i n t e do n p a p e r .I f y o uu s ea d i f f e r e n tp r i n t e r , t h i sm a yc h a n g e .
D o u b l e - c l i c k i n gt o o l s
Y o uc a na c t i v a t ee v e r yt o o li n t h et o o l b o xb y s i m p l yc l i c k i n g t h ei c o n .T h e r e
a r es o m et o o l s t h a th a v ea n a d d i t i o n a lf u n c t i o ni f y o ud o u b l e - c l i c kt h ei c o n .
F o re x a m p l e ,i f y o ua r e u s i n gt h e p e n c i la n dy o uw a n tt o u s e t h e
d o u b l e - c l i c kf e a t u r eo f t h ee r a s e r - e r a s et h ee n t i r eg r a p h i cv i s i b l ei n t h e
w i n d o w - a l ly o uh a v et o d o i s c l i c kt w i c eo n t h e e r a s e ri c o n .H e r ei s a l i s to f
t h et o o l s t h a ta l s oh a v ea s e c o n df u n c t i o n :
1 3 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 144/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
E d i t b o x :
I f t h i si t e mi s c h o s e n ,t h ee n t i r eg e o P a i n tw i n d o wi s e n c l o s e d .H o w e v e r ,i f
y o uo n l yw a n tp a r to f t h e w i n d o wt o b e s a v e di n a p h o t os c r a p ,d o u b l e - c l i c kt h ee d i tb o xi c o na n dt h e nc h o o s et h ec o p yo r c u t i t e m s
u n d e rt h ee d i tm e n u .
B r u s h :
D o u b l e - c l i c k i n gt h i si c o ni s t h es a m ea s c h o o s i n gt h ec h a n g eb r u s hi t e m
u n d e rt h eo p t i o n sm e n u .Y o uc a nt h e nc h o o s ef r o mt h e3 2 d i f f e r e n t
b r u s h e s .
P e n c i l :
D o u b l e - c l i c k i n gt o g g l e sb e t w e e nn o r m a le d i ta n dp i x e le d i t .
E r a s e r :
D o u b l e - c l i c k i n gt h i si c o ne r a s e st h ee n t i r ep i c t u r ei n t h eg e o P a i n tw i n d o w .
I f y o ua r eu s i n gp i x e le d i tt h e n o n l yt h ev i s i b l ep o r t i o ni s c l e a r e d .
B r u s h e sa n dP a t t e r n s
Y o uc a nd o m o r ew i t ht h ef i l lp a t t e r n st h a nj u s tu s et h e mw i t ht h ef a u c e to r
a i r b r u s h .Y o uc a nu s et h eb r u s ht o o lt o a c t u a l l y " p a i n t "t h ep a t t e r n sd i r e c t l y
o n t ot h e s c r e e n .W h e ny o uf i r s tr u ng e o P a i n t ,t h e p a t t e r ni s a s i m p l ec o l o r .
H o w e v e r ,a f t e ry o uc h o o s ea d i f f e r e n t p a t t e r n ,t h e p a i n tb r u s hu s e st h i s
p a t t e r nu n t i ly o us w i t c ha g a i n .Y o uc a nc r e a t ed i f f e r e n ts p e c i a le f f e c t sw i t h
d i f f e r e n t p a t t e r n sa n db r u s h e s .T r yd i f f e r e n tw i d t h s o fp a i n tb r u s h e sw i t h
d i f f e r e n tp a t t e r n s ;y o u l lb e s u r p r i s e dw h a ty o uc a nd o .
P a t t e r n s a r eu s e dw h e r e v e ry o ua r ew o r k i n g .T r yu s i n gt h ea i r b r u s hw i t ha
d i f f e r e n tp a t t e r na n ds e ew h a th a p p e n s .Y o uc a nu s ed i f f e r e n tp a t t e r n s i n s i d e
o f o t h e r s , a sw e l la s ,u s i n gt e x t .H e r ea r et h ed i f f e r e n tc o m b i n a t i o n si n t h e
f o l l o w i n gh a r d c o p y :
1 3 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 145/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
. * t ' » ' i ' » ' » 'i ' t ' i i ' i i i " i i " i i " i ' i ' » 'i - r T . . r T v f c i
F i g u r e6 3 :U s i n gp a t t e r n s
D o t t e dL i n e s
P e r h a p s y o u ' v e s e e nt e c h n i c a lg r a p h su s i n gd i f f e r e n td o t t e dl i n e st o
d i s t i n g u i s hb e t w e e nd i f f e r e n te v e n t s o rt o p i c s .Y o uc a nu s e af e wt r i c k st o
m a k eg r a p h st h a tu s ed o t t e dl i n e s .
T h eq u i c k e s ta n de a s i e s tw a yt o g e td o t t e dl i n e si s t o d r a wa r e g u l a rs o l i d
l i n ea n dt h e nu s et h es p r a yc a nw i t ht h ee m p t yp a t t e r n( u p p e rl e f to f t h e
p a t t e r nw i n d o w )t o s p r a ye m p t ys p o t so v e rt h es o l i dl i n e .T h i sw i l le r a s e
p a r t so f t h el i n e ,r e s u l t i n g i na d o t t e dl i n e .W h i l et h i si s n o tt h eb e s tm e t h o d ,
i t f se a s yt o u s ea n dw i l lm e e tt h en e e d s o fa l o to f a p p l i c a t i o n s .
Y o uc a nm a k el i n e sw i t ha r e g u l a rp a t t e r nb y d e c i d i n gw h i c hi n d i v i d u a l
p i x e l ss h o u l db e t u r n e do n a n dw h i c hs h o u l db e t u r n e do f f .U s i n gd i f f e r e n t
p a t t e r n sa n dp i x e la r r a n g e m e n t sy o uc a nc r e a t em a n yd i f f e r e n t p a t t e r n s .W eh a v et r i e dd i f f e r e n tc o m b i n a t i o n so fp i x e l s ,w h i c hw eh a v el i s t e db e l o w .I f
y o u ra p p l i c a t i o n r e q u i r e sa r e g u l a rp a t t e r nt o y o u rl i n e st h e nt h e s em i g h tb eu s e f u lf o rm a k i n gy o u rg r a p h s .
1 3 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 146/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
| q e o sI r i l ej e d i tj o p t i o n sj f o n t s
A
C
D
E
F
G
E d i tm o d e :
□ m i n o rxD m i r r o rq
£ ■ r n o u e
D i n v e r tD r o t a t e
□ c o p y
□ c l e a r
F i g u r e6 4 :D o t t e dl i n e s1 0 1
a ) N o r m a ls t r a i g h tl i n e
b ) S a m el i n ew i t ha i r b r u s he f f e c tc ) B r u s h2 . 5( 2 n dr o w ,5 t hf r o ml e f t )a n dp a t t e r n1 . 3
( r o w1 , 3 r df r o ml e f t ) .
d ) B r u s h2 . 5a n dp a t t e r n1 . 5
e ) B r u s h2 . 5a n dp a t t e r n1 . 7
f ) B r u s h2 . 5a n dp a t t e r n1 . 1 4
g ) B r u s h2 . 5a n dp a t t e r n 2 . 1
1 3 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 147/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
g « a o sj f i l eI a d i tI o p t i o n sj f o n t s
E d i tm o d e : ■ m o v e E Dc o p y
D m i r r o rx D i n v e r t D c l e a r□ m i r r o ru U r o t a t e
F i g u r e6 5 :D o t t e dl i n e s1 0 2
a ) B r u s h2 . 7a n dp a t t e r n1 . 3
b ) B r u s h2 . 7a n dp a t t e r n1 . 4c ) B r u s h2 . 7a n dp a t t e r n1 . 6 4
d ) B r u s h2 . 7a n dp a t t e r n1 . 9
e ) B r u s h2 . 7a n dp a t t e r n1 . 1 1
f ) B r u s h2 . 7a n dp a t t e r n1 . 1 2
g ) B r u s h2 . 7a n dp a t t e r n1 . 1 6
h ) B r u s h2 . 7a n dp a t t e r n2 . 1
W h a tw e ! r et r y i n gt o s h o wi s t h a tt h e r ea r e m a n yd i f f e r e n t p a t t e r n s
a v a i l a b l e — e x p e r i m e n ta n df i n d t h e b e s t p a t t e r n f o re a c ha p p l i c a t i o n .N o te v e r yp a t t e r nl o o k sg o o di n e v e r ya p p l i c a t i o n .A ne x a m p l es h o u l ds h o ww h a tw em e a n .
U s eb r u s h2 . 5 ( s m a l l e rb r u s h w i d t h )a n dp a t t e r n 2 . 2( b r i c k w a l l ) .T h eb r u s h
p a i n t so n l ya s m a l l p o r t i o no f t h ep a t t e r n .T h ep a t t e r np a i n t e dd e p e n d so nw h e r ei n t h ew a l ly o us t a r tp a i n t i n g .I f y o uh a p p e nt o s t a r tr i g h to n a l i n e
b e t w e e nb r i c k s ,y o uc o u l de n du p w i t h as o l i dl i n e ,o r i f y o us t a r ti n t h e
m i d d l eo f a r o wo f b r i c k sy o uc o u l de n du p w i t h a v e r ys p a r s ed o t t e dl i n e .
W eh a v ed r a w na d o c u m e n tt h a ts h o w s w h a tw ea r e t a l k i n g a b o u t .O nt h e
l e f tw ep a i n t e dw i t h a v e r yw i d eb r u s hu s i n gt w od i f f e r e n tp a t t e r n s .
1 3 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 148/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
A d j a c e n tt o e a c hw i d ep a t t e r na r e ai s t h es a m ep a t t e r np a i n t e du s i n ga v e r yt h i nb r u s h ,e a c hs t a r t i n gi n a d i f f e r e n ts p o ti n t h ep a t t e r n :
i q o o : ?j i r ' i l c i• a d i f c• o p t i o n *j f T r i w« ■ * T i p s
i T i L . ' i l i ' i ' . T . ' . ' .1 . ' . ' . ' . ' . ' . f . ' . ' . '
> i I i I i 1 i 1 ■ I ■ I ■ f i I i
□
F i g u r e6 6 :D o t t e dl i n e s1 0 3( m i x e dw i t hp a t t e r n s )
5 . 1 . 4T i p sa n dT r i c k sf o rg e o W r i t e
g e o W r i t ei s a W Y S I W Y G( w h a t - y o u - s e e - i s - w h a t - y o u - g e t )w o r dp r o c e s s o r .
T h i sm e a n st h a tw h a ty o us e eo n t h es c r e e nw i l la p p e a rw h e nt h ed o c u m e n ti s p r i n t e d .I f y o uu n d e r l i n e aw o r d ,t h e ni t w i l la p p e a ru n d e r l i n e do n t h e
s c r e e n .T h i si s m u c hn i c e rt h a np u t t i n ga c o n t r o l c h a r a c t e rb e f o r ea n da f t e r
t h ep o r t i o ny o uw a n tu n d e r l i n e d .
U s i n gt h i sa p p r o a c h ,g e o W r i t eh a sa f e wl i m i t a t i o n s .F o re x a m p l e ,t h e r ei s a
s h o r td e l a yf r o mt h et i m ey o ue n t e rt h et e x tu n t i li t a p p e a r so n t h es c r e e n .
B u t b yu s i n g af e wt r i c k sy o uc a ng e ta r o u n dm a n yo f t h e s ei n c o n v e n i e n c e s .
E n t e rs o m et e x tu s i n gB S W9 p o i n to r a n o t h e rf o n to f a s i m i l a rs i z e .
L e t ' ss a yy o ul a t e rw a n tt o p r i n to u tt h i st e x ti n D w i n e l l es c r i p t .I t ' sa
g o o di d e at o e n t e r t h et e x t i nt h es a m eB S W9 p o i n t .T h a t ' sb e c a u s ey o u
w o u l do n l yb e a b l et o s e ea f e wc h a r a c t e r si n D w i n e l l es c r i p ti n t h e
1 3 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 149/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
g e o W r i t ew i n d o w ,s i n c ei t ' ss o l a r g e .A f t e ry o uh a v ee n t e r e da n dc o r r e c t e d
a l lo f t h et e x t ,t h e nc h o o s et h ef o r m a ta n ds t y l eo f y o u rt e x t .W ew i l l
d e m o n s t r a t ew h a tw e m e a n .F i r s t ,w e w r o t ea l e t t e ri n B S W9 p o i n ts c r i p t .T h el i n e s t h a ta p p e a ri n t h eg e o W r i t ew i n d o wa r et o ow i d ei n
D w i n e1 l e t o f i to n a s i n g l es h e e to f s t a n d a r dp a p e r :
f q e o sj f i l ej e d i tj o p t i o n sI f o n tI s t y l eI 1 j ; j £
B e a r u e b ,
I q u e s si t ' s t i m ew e s t a r t e dp l a n n i n go u r v a c a t i o nf o r t h e s u m m e r .I t ' s
d i f f i c u l ta t b e s tt o c o m m u n i c a t ew i t he a c ho t h e rs i n c ey o u ' r ei n
e x a m sa t t h e m o m e n t .I u n d e r s t a n dt h i s ,b u t t i m ea w a yi s i m p o r t a n t ,
t o o . T h e r e f o r e ,I f e l t t h a t I s h o u l dd r o py o ua l i n er e g a r d i n go u r
s u m m e rv a c a t i o nt h i sg e a r .
P o r t m e r i o n . .W a l e s ,i s o u t o f t h e q u e s t i o n .I t ' s t o o e x p e n s i v e ,a n d
f o l k sw h oh a v es p e n tt i m et h e r et e l l m e t h a tb e c a u s eo f i t s
o u t - o f - t h e - w a yl o c a l e ,y o us o m e t i m e sf e e ll i k ea p r i s o n e r .O t h e r
p l a c e ss u c ha s L l a n f a i r< M et o o h a r dt o s a y ,a n do d d sm ^ n o n eo f
t h e i n h a b i t a n t so f L l a n f a i rs p e a kE n g l i s h( a n dI k n o wf o r a f a c t t h a t
y o u r W e l s hi s i n c r e d i b l yr u s t y ) .
I k n o wh o wm u c hy o u l o v eP a r i s ,b u t f r a n k l y ,I d i d n ' te n j o yi t t h e
l a s t t i m ew e w e r et h e r e , e s p e c i a l l yw h e nt h a tm a n w i t ht h e g u nw a s
F i g u r e6 7 :U n f o r m a t t e dl e t t e r
I t ' se a s yt o e n t e r t h et e x t — h o w e v e r ,y o uc a n ' ts e et h er i g h tm a r g i n .I n t h i s
c a s e ,y o um u s tu s et h e j o y s t i c kt o s e tt h er i g h tm a r g i no f t h e p a p e r .I t w i l l
t a k et w oo r t h r e es e c o n d sb e f o r et h es c r e e ns h o w st h i sc h a n g e .A ne a s i e r
m e t h o di s t o s e tt h el e f tm a r g i nt o 1 a n dt h er i g h tm a r g i nt o 5 . Y o u ' l l f i n d
t h e s en u m b e r s o nt h e p o s i t i o nb a r .T h ee d g e sa r ed i s t i n g u i s h e db y a n M o n
t h el e f te d g e ;t h er i g h ts i d ei s b a r e l yv i s i b l e .C l i c kt h ef i r eb u t t o n ,t h e n p o i n t
t h ep o i n t e rt o t h es p o ty o uw a n t a n dc l i c k a g a i n .T h i sm a k e st h el e t t e re a s i e r
t o r e a d ,a s s h o w ni n t h ef o l l o w i n gp i c t u r e :
1 3 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 150/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
[ q e o sj f i l ej e d i t \o p t i o n s\ f o n tj s t y l e| 1
T t e a rD e b ,
I g u e s si t ' s t i m ew e s t a r t e dp l a n n i n go u r v a c a t i o nf o r t h e
s u m m e r .I t ' s d i f f i c u l ta t b e s tt o c o m m u n i c a t eu j i t he a c ho t h e r
s i n c ey o u ' r ei n e x a m sa t t h e m o m e n t .I u n d e r s t a n dt h i s ,b u t
t i m ea w a yi s i m p o r t a n t . ,t o o .T h e r e f o r e . .I f e l t t h a tI s h o u l d
d r o py o ua l i n er e g a r d i n go u r s u m m e rv o c a t i o nt h i sy e a r .
P o r t m e r i o n ,W a l e s . ,i s o u t o f t h eq u e s t i o n .l t * st o o
e x p e n s i v e ,a n d f o l k sw h oh a v es p e n tt i m et h e r et e l l m e t h a t
b e c a u s eo f i t s o u t - o f - t h e - w a yl o c a l e ,y o us o m e t i m e sf e e l
l i k ea p r i s o n e r .O t h e r p l a c e ss u c ha s L l a n f a i ra t e t o o h a r dt o
s a y . ,a n do d d sa r e n o n eo f t h ei n h a b i t a n t so f L l a n f a i rs p e a k
E n g l i s h( a n dI k n o wf o ra f a c t t h a ty o u rW e l s hi s i n c r e d i b l yr u s t y ) .
I k n o wh o wm u c hy o ul o v eP a r i s ,b u t f r a n k l y ,I d i d n ' te n j o y
F i g u r e6 8 :L e f ta n dr i g h tm a r g i n s
B y s e t t i n gt h em a r g i n s ,t h el e t t e r sw i l ln o t o n l yb e e a s i e rt o r e a d ,b u ty o u
w i l la l s os a v ea l o to f t i m e .
W h e ny o uh a v ec o m p l e t e l ye n t e r e dt h et e x t ,y o uc a n c h o o s et h ed e s i r e d
f o n t .F i r s t ,y o uw i l lh a v et o m a r kt h eb l o c k o ft e x t .T od o t h i sc l i c k t h ef i r e
b u t t o no n t h ef i r s tc h a r a c t e ro f t h e b l o c k ,t h e n — k e e p i n gt h ef i r eb u t t o nk e yo r f i r eb u t t o np r e s s e d — m o v et h e j o y s t i c kt o t h el a s tc h a r a c t e ri n t h e b l o c k .W h e ny o ur e l e a s e t h e b u t t o n , t h eb l o c ki s m a r k e d ,a n da p p e a r si n r e v e r s e
v i d e o .N o w ,c h o o s et h e f o n tf r o mt h ef o n tm e n u ,a n dc h o o s et h et y p e
s t y l ew i t hs t y l e .
T h i sb r i n g su p a p r o b l e m .Y o uc a nm a r ko n l yt e x t t h a ty o uc a ns e ei n t h e
m a r k e dw i n d o w . O n l yt h e c h a r a c t e r si n t h em a r k e db l o c ko f t e x ta r e
c h a n g e d .T h et e x ta b o v e a n db e l o wt h ew i n d o wc a n n o tb e c h a n g e d .T h i sm e a n st h a ty o uh a v et o m o v et h ew i n d o w ,b u tt o d o t h a ty o uh a v et ou n m a r kt h ef i r s tb l o c k .
T h eo n l yp o s s i b i l i t yi s t o m a r ka n d c h a n g et h et e x ti n s e c t i o n s .T h i si s
r e l a t i v e l ye a s yt o d o ( a sl o n ga s y o u g of r o ma l a r g e r f o n tt o a s m a l l e rf o n t ,
t h ew a yw ed i di n o u re x a m p l e ) .I f y o uc h a n g ef r o ma l a r g e rp o i n ts i z e t oa
s m a l l e rp o i n ts i z e ,y o ua r ea c t u a l l ym a k i n gm o r er o o mo nt h es i n g l es h e e to f
1 3 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 151/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
p a p e r .T h i sp u s h e st h e e x t r at e x t i nt h ew i n d o wd o w nb e l o wt h e c u r r e n t
g e o W r i t ew i n d o w . Y o u l lt h e nh a v et o m a r kt h i st e x t ,w h i c hi n t u r np u s h e st h e o t h e rt e x td o w n , a n ds o f o r t hu n t i lt h ee n t i r ef i l ei s r e f o r m a t t e d .
g e o W r i t ea u t o m a t i c a l l ym o v e st e x tt o t h en e x tp a g e .Y o uc a ns e et h i si f y o uc h o o s et h en e x tp a g eo p t i o n .
C h a n g i n gt h et e x ta p o r t i o na t a t i m ei s s l o wa n da n n o y i n g . T h i si s b e c a u s et h eg e o W r i t ew i n d o wc a nd i s p l a yo n l y af e ww o r d si n , f o re x a m p l e ,t h e
D w i n el i e f o n tI f y o uw e r et o m a r kt h eb l o c ku s i n gB S W9 p o i n t ,t h e
t e x tw o u l do n l yt a k eu p t w oo r t h r e el i n e so n t h es c r e e n .T h er e s to f t h et e x t ,
w r i t t e ni n D w i n e l l e ,s t a y sb e l o wt h ew i n d o wa n do u to f s i g h t .T og e ti t
f r o m b e l o wt h e w i n d o wt o w h e r ei t s h o u l db e t a k e sa l o t o f w o r k .T h e r e f o r e ,i t i s b e t t e r t os t a r tu s i n ga s m a l l e r p o i n ts i z ea n df o n ta n dm o v i n g
t o a l a r g e rp o i n ts i z ea n df o n ti f r e q u i r e d .
I f y o uh a v ea l a r g ed o c u m e n t ,y o uc a ns a v ey o u r s e l fa l o to f t i m ea n dw o r kd u r i n gt h i sr e f o r m a t t i n gs t a g e .A l ly o un e e dt o d o i s s e tt h e t h el e f ta n dr i g h t
m a r g i n sa s c l o s et o t h ee d g e sa s p o s s i b l e .T h i sa l l o w sg e o W r i t et o c h a n g et h em a x i m u ma m o u n to f t e x t a to n et i m e .
N e x t ,y o uc a na l t e rt h et e x t t os t a n d o u tf r o mt h er e s to f t h ed o c u m e n t .T od o t h i s ,s i m p l ym a r kt h ew o r do r p h r a s ea n dc h o o s et h e a p p r o p r i a t es t y l e .
F o re x a m p l e :
1 4 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 152/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
[ q e o s| f i l ej e d i tj o p t i o n sj f o n tj s t y l e
I g u e s si t ' s t i m ew e s t a r t e dp l a n n i n go u rv a c a t i o n
f o rt h es u m m e r .I t ' sd i f f i c u l ta t b e s tt o
c o m m u n i c a t ew i t he a c ho t h e r s i n c ey o u ' r ei n e x a m s
a t t h em o m e n t .I u n d e r s t a n dt h i s ,b u tt i m ea w a y
i s i m p o r t a n t ,t o o .T h e r e f o r e ,I f e l tt h a tI s h o u l d
d r o py o ua l i n er e g a r d i n go u rs u m m e rv a c a t i o nt h i s
y e a r .
f t i r t m e r A w .W a l e s ,i s o u to f t h eq u e s t i o n .I t ' s t o o
e x p e n s i v e ,a n df o l k sw h oh a v e s p e n tt i m et h e r e
t e l lm e t h a tb e c a u s eo f i t s o u t - o f - t h e - w a yl o c a l e ,
F i g u r e6 9 :H i g h l i g h t i n gw o r d s
B e f o r ey o up r i n tt h ed o c u m e n tr e s e tt h em a r g i n sf o r t h ed e s i r e dp a g ew i d t h .
Y o uh a v ea m u c hg r e a t e rd e g r e e o fc o n t r o lo v e rt h e d e s i g n o fy o u rd o c u m e n tu s i n gg e o W r i t e ,s i m p l y b e c a u s ew h a ti s o n t h es c r e e ni s w h a ti s
p r i n t e do n t op a p e r — t r u eW Y S I W Y Gd i s p l a y .I f y o uw a n ta f e wl i n e st o
s t a r ta f e wm o r ec o l u m n st o t h er i g h t ,s i m p l ye n t e ra f e ws p a c e sb e f o r e
t y p i n gt o m o v et h el i n eo v e r al i t t l e .T h i sb r i n g su p t w on e wp r o b l e m s :
T h eb l a n ks p a c e sm a ym e a nt h a tt h ec h a r a c t e r sm a yn o tl i n eu p e x a c t l y .
E a c hb l a n kc h a r a c t e rm o v e st h ec u r s o rt o t h er i g h ta c e r t a i nn u m b e ro f
p i x e l s .T h en u m b e ro f p i x e l si s d e t e r m i n e db y t h e c u r r e n tf o n t .T h e r e f o r e ,
y o uc a no n l ym o v et h ec u r s o ri n a s e tn u m b e ro fp o s i t i o n s .
F o re x a m p l e :Y o uh a v et e ns p a c e s b e f o r ee a c hl i n e ,a n de a c hl i n es t a r t si n
c o l u m nt w o .L a t e r ,y o uc h a n g et h et e x tt o a l a r g e rf o n t .N o wt h eb l a n k sa r e
a l s ol a r g e ra n dt h et e x tn o ws t a r t si n c o l u m n3 . E v e r yt i m ey o uc h a n g et h e
s i z eo f t h ef o n t ,y o um u s tc h a n g et h en u m b e ro f s p a c e st o m a k et h et e x tn i c ea n d e v e na g a i n .
T h e r ei s a n e a s i e rw a y .U s et a b st o s t a r ta l i n e a ta d i f f e r e n tc o l u m n .T h i s
w a y ,i f y o uc h a n g et h es i z eo f t h ec h a r a c t e r s ,t h ef i r s tc h a r a c t e ro f e a c hl i n e
1 4 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 153/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
a l w a y ss t a r t si n t h es a m el o c a t i o n .O nt h eo t h e rh a n d ,i f y o uw a n tt o c h a n g ea l lo f t h el i n e st o s t a r ta t a n e wc o l u m n ,a l ly o un e e dt o d o i s c h a n g et h et a b
p o s i t i o n .T oc h a n g et h et a bs e t t i n g s ,j u s tc l i c ko n t h ec o l u m ny o uw a n tt h e
t a b .T h ec u r s o rw i l lm o v et o t h en e x tt a b l o c a t i o ne a c ht i m ey o up r e s st h e< C O N T R O L > ik e yc o m b i n a t i o n .
U s et h e< R E T U R N >k e ys p a r i n g l y .A s a r u l e ,y o us h o u l do n l y u s et h e
< R E T U R N >k e yw h e ny o ur e a c ht h ee n do f a p a r a g r a p h .I n o t h e rw o r d s ,
d o n ' te n de a c hl i n ew i t h a< R E T U R N > .g e o W r i t ea u t o m a t i c a l l ym o v e sa n y
w o r dt h a td o e s n ' tf i t o n t h e c u r r e n tl i n e t ot h en e x tl i n e .I f y o ud o p r e s s
< R E T U R N >a t t h ee n do f e a c hl i n e ,y o uw i l lr u n e n c o u n t e rp r o b l e m sw h e ny o ut r y t o f o r m a tt h e t e x t .P r e s s< R E T U R N >o n l ya t t h e e n do f ap a r a g r a p h .
Y o uc a nd e l e t ec h a r a c t e r si n t h em i d d l eo f t h ed o c u m e n ts i m p l yb y c l i c k i n g
t h ef i r eb u t t o nt o t h er i g h to f t h e c h a r a c t e r sy o uw a n tt o d e l e t e ,t h e n u s i n g
t h e< D E L >k e y .Y o uc a nc h a n g ei n d i v i d u a lc h a r a c t e r s ,r a t h e rt h a nj u s t
d e l e t i n gt h e m .L e t ' ss a yy o ut y p et h ew o r dl e t t e r ,b u ty o uw a n t e dt o
t y p eL e t t e r .J u s tp u tt h ec u r s o rt o t h er i g h to f t h e1 , p r e s st h e< D E L >k e y ,a n dt h e nt y p eL .
I t i ss i m p l e rt o c l i c ko n t h e1 , m o v et h ec u r s o rt o t h er i g h t( k e e pt h ef i r e
b u t t o nd e p r e s s e d ) ,a n dt h e nr e l e a s e t h ef i r eb u t t o na f t e rt h e1 i s m a r k e d .
T h e na l ly o uh a v et o d o i s t y p eL . T h i ss o u n d sd i f f i c u l t ,b u to n c ey o ut r yi t
a c o u p l eo f t i m e s ,i t i s r e a l l yv e r ye a s y .Y o uc a na l s ou s et h i sm e t h o dt o
c h a n g ee n t i r ew o r d so r p h r a s e s ,n o tj u s t c h a r a c t e r s .
U s et h ep r e v i e wo p t i o no f t h ef i l em e n uf r e q u e n t l y .W h e n e v e ry o uc h a n g et h em a r g i n so r t h ef o n t s ,y o u rc e n t e r e dt e x t ,e t c . ,w i l ln o tl o o k
c o r r e c tp r e v i e wr e t u r n sa l lt h et e x tt o i t sp r o p e rp e r s p e c t i v e .T h i si s a l o t
e a s i e rt h a nc o n t i n u i n g ,a n dt h e nh a v i n gt o c o m eb a c kt o r e a d j u s ta l lt h et e x t
s o t h a ti t l o o k s" r i g h t " .
T h e r ea r eo t h e rt r i c k sy o uc a nu s et o m a k et h et i m ey o us a v ee v e nm o r es i g n i f i c a n t . I fy o ut y p e a m u l t i - p a g ed o c u m e n t ,a n dl a t e rg o b a c ka n da d d
t e x tt o t h ef i r s tp a g e ,t h e e x t r al i n e so f t h ef i r s tp a g ea r en o wm o v e dt o t h e
s e c o n dp a g e ,a n dt h es o m eo f t h et e x tf r o mt h a tp a g ea r en o wo n t h et h i r d ,
a n ds o o n .I f y o uw a n tt o b r e a ka p a g e ,e v e nt h o u g ht h ep a g ei s n ' ty e tf u l l ,
y o uc a nu s ep a g eb r e a k .T h i so p t i o nc o u l db e a r e a lt i m e s a v e ri f y o u
r e a l l yw a n tp a g e st o e n da t s p e c i f i e dp o i n t s .
1 4 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 154/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I f y o ul a t e rd e c i d et h a ty o uw a n tt w op a g e ss e p a r a t e db y t h ep a g e b r e a k
t o b e p u tb a c kt o g e t h e ra g a i n ,a l l y o un e e dt o d o i s r e m o v et h ep a g eb r e a k ' ss p e c i a lc h a r a c t e r .T or e m o v et h ep a g eb r e a k ,j u s tp l a c et h ec u r s o r
t o t h er i g h to f t h es p e c i a lc h a r a c t e ra n dp r e s st h e< D E L >k e y .g e o W r i t ea s k sy o ut o c o n f i r m — c l i c kO K :
f i l eI e d i tj o p t i o n sj f o n tj s t y l e|
D e l e t e t h el a s t c h a r a c t e r
o f t h ep r e v i o u sp a g e ?
F i g u r e7 0 :D e l e t e p a g eb r e a k ?
Y o uc a nd o t h es a m et h i n gw i t hg r a p h i cd o c u m e n tT og e tr i do f t h eg r a p h i c
d o c u m e n t ,s i m p l yp l a c et h ec u r s o ra t t h ee n do f t h eg r a p h i cd o c u m e n ta n dp r e s s< D E L > .
S o m eg r a p h i cd o c u m e n ta r ea s w i d ea s t h et e x t .I f y o um a r kt h ed o c u m e n ta n dt h e nc h a n g et h ep o i n ts i z eo r u s et h et a b st o g e ta c o l u m no f s m a l l e r
t e x t ,s o m eo f t h ed o c u m e n ti s c u t o f fo n b o t ht h es c r e e na n dt h ep r i n t o u t .
Y o uc a np l a c ea p i c t u r ei n t h em i d d l eo f t e x tY o ud o n ' th a v et o w o r r ya b o u t
l e a v i n ge n o u g hs p a c ef o r t h ep i c t u r e ,b e f o r et h et e x tc o n t i n u e s .g e o W r i t ew i l lt a k e c a r eo f t h i sf o ry o ub y i n s e r t i n gt h eg r a p h i cd o c u m e n ti n t ot h et e x t
1 4 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 155/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 . 1 . 5T i p sa n dT r i c k sf o rN o t e p a d
N o t e p a di s a c o l l e c t i o no f 1 2 7n o t ep a g e s .Y o uc a nu s et h eN o t e p a d f r o mt h ed e s k T o po r f r o ma n ya p p l i c a t i o n .Y o uc a nu s et h eN o t e p a dt o w r i t e
y o u r s e l f n o t e sa t a n yt i m ea n dl o o ka t t h e ml a t e r .B u ty o uc a nd o e v e nm o r et h a nt h i sw i t ht h eN o t e p a d .
Y o uc a nu s et h eN o t e p a da s a d a i l yc a l e n d a r / r e m i n d e r .R e s e r v ea p a g ef o r
e a c hd a ya n de n t e ry o u ra p p o i n t m e n t so n t h ea p p r o p r i a t e p a g e .E a c hd a yy o uc a nc a l lu p t h ep a g ef o rt h a td a yt o r e v i e wt h ea p p o i n t m e n t sy o uh a v e
t h a td a y .A p a g ei n t h en o t e b o o kc a nl o o ks o m e t h i n gl i k et h ee x a m p l eb e l o w :
1 5 6K b y t e su s e d 1 6 k b y t e sf r e e
S u n d a y . .N o v .3 8 , 1 9 8 6
8 : 3 8 , 1 8 : 8 8 , 1 1 : 3 8 — - S e r v i c e s
1 : 8 8— L u n c h u j /p a r e n t s& D e b— C a l lF r a n kR E b u s i n e s st r i p
— D i n n e ru u / U a n U a n d e m a s( c a n c e li f y a c a n ! )
— E u c h r eu > / J i m , D a l e&D e u j e y
1 8 : 8 8. . - p l a nN j n e »o n r h . 8
F i g u r e7 1 :N o t e p a da s d a i l yc a l e n d a r
Y o uc a ne v e nu s et h ea p p o i n t m e n tc a l e n d a ra s a w a yo f c h e c k i n gt o s e e
w h a t y o ud i do n a n yg i v e nd a y .I f y o ul e f ty o u r s e l f n o t e sa b o u tc a l l i n g
s o m e o n eo r d o i n gs o m e t h i n g ,y o uc a nr e f e rb a c kt o t h e a p p r o p r i a t ed a ya n dc o n f i r mt h a ti t w a sd o n e .I n m o s tc a s e sy o um i g h tw a n tt o u s et h ec a l e n d a r
f o ra s i n g l em o n t h .P a g e1 i s a l w a y st h ef i r s tt o a p p e a rw h e ny o uu s e
N o t e p a d .Y o uh a v et o c l i c kt h ef o l d e d c o r n e ro f t h eN o t e p a dt o t u r nt h e
p a g ey o uw a n t .I f y o uh a v ea l o to f p a g e si t g e t sv e r ya n n o y i n gt o h a v et o
t u r nt h r o u g h al o to f p a g e st o g e tt o t h ec u r r e n t d a y .
1 4 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 156/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
I f t h en o t e b o o kb e c o m e sf u l la n dy o uf e e li t ' st i m et o s t a r to v e r ,y o uc a n
c l e a r t h eN o t e sf i l eo n t h ew o r kd i s k e t t e .T h en e x t t i m ey o us t a r tu p t h e
N o t e p a dy o uw i l lh a v ea c l e a nn o t e b o o k .
T h e n u m b e ro f c h a r a c t e r st h a tc a na p p e a ro n a s i n g l ep a g ei s d e p e n d e n to nt w of a c t o r s .O no n eh a n d ,t h em a x i m u mn u m b e ro f c h a r a c t e r sp e rp a g ei s
2 5 4 .O nt h eo t h e rh a n d ,y o uc a n n o ts t a r ta l i n ew h e r et h ed o g e a r e dc o r n e ri s
l o c a t e d .I f y o uu s ep r o p o r t i o n a lt e x t ,t h e nt h en u m b e ro f c h a r a c t e r sy o uc a nf i to n t h ep a g eo f t h en o t e b o o kw i l ld e p e n do n t h ew i d t h s o ft h e c h a r a c t e r s
y o uu s e .U s i n g n a r r o wc h a r a c t e r ss u c ha s " • " y o u w o u l du s ea l l 2 5 4c h a r a c t e r si n a b o u t2 / 3 r d so f t h ep a g e ;h o w e v e r ,i f y o uu s e da l lW f s ,y o uc o u l d n ' tf i t2 5 4c h a r a c t e r so n a s i n g l ep a g e .
Y o uc a nu s et h eN o t e p a dt o s t o r ei n f o r m a t i o nt h a ty o un e e dt o g e ta tq u i c k l y .W h a tw en e e di s a n o t e b o o km a n a g e r .Y o uc a nk e e pa d d r e s s e s o r
t e l e p h o n en u m b e r si n t h i sc o n v e n i e n tN o t e p a dm a n a g e r .F i g u r e7 2 h a sa
s a m p l eo f o n ew a yt o k e e pa n a d d r e s sb o o ku s i n gN o t e p a d :
1 q e o si f i l ej v i e wj d i s kj s p e c i a l
1 5 1K b q t e su s e d 1 5 K b y t e ?f r e e
k r a m d e n ,R .
3 2 5C h a u n c e yS t r e e t
B e n s o n h u r s t ,Q u e e n s . .N V( g e ta p a r t m e n tn u m b e rf r o mP H Q N E : 2 1 2 - 5 5 5 - 1 2 1 3
F i g u r e7 2 :U s i n g N o t e p a da s a n a d d r e s sb o o k
1 4 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 157/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
Y o uc a nk e e po t h e ri n f o r m a t i o ny o un e e di n t h en o t e b o o k .T h ec a t c hi s ,y o uc a no n l yh a v eo n en o t e b o o ko ne a c hw o r kd i s k e t t e .Y o uc a ng e ta r o u n dt h i s
b y k e e p i n gd i f f e r e n td a t ai n n o t e b o o k so n s e p a r a t ed i s k e t t e s .A ne x a m p l ew o u l db e t o k e e pa d d r e s s e sa n dp h o n en u m b e r si n o n en o t e b o o k ,r e c i p e si n
a n o t h e r ,a n dy o u rc a r ' sf u e lc o n s u m p t i o nr e c o r d si n y e ta n o t h e r .B e l o ww eh a v ea n o t h e re x a m p l eo f h o wt o u s et h en o t e b o o kf o ra r e c i p eb o x .B o nA p p e t i t !
j e o s1 r i l ej < v » i « 5 U Jj d i s kj s p e c i a l» w # x » « » « w $ ^ ^
N o t e
F i s hs t e u u p o t , n oa n c h o v i e sI g r . o n i o n s . 2T b s p .b u t t e r . . 5 . 6o z
r i c e . . 1c a n c r u s h e dt o m a t o e s ,
1 t s p s a l t , 83 / 4 o zm u s h r o o m s , 1c a n m u s s e l s . .1 c a n c r a b m e a t ,
1 g l a s sd r y u u h i t em i n e ,1 b u n d l e
f r e s hd i l l .2 8 m i n sp r e p a r a t i o n
t i m e ,2 5 m i n sc o o k i n gt i m e .
F i g u r e7 3 :N o t e p a da s a r e c i p ef i l e
I n t h i sn e x ts e c t i o nw e l ld i s c u s ss o m ep r o g r a m m i n gc o n c e p t sa n dh o wt o
u s e ad i s k e t t em o n i t o r ,a s w e l la s s o m e m o r et i p st o m a n a g et h en o t e b o o k .
I f y o uw a n tt o l e a r nm o r ea b o u tt h e b a s i ci n f o r m a t i o n ,r e a dt h e s e c t i o na b o u t
t h ev l I R f i l es t r u c t u r e i nC h a p t e r6 .
N o r m a l l y ,a f i l ee n t r yi n t h e d i r e c t o r yc o n t a i n sa p o i n t e rt o t h es t a r t i n g
l o c a t i o no f t h a tp r o g r a mo n d i s k e t t e .T h es e c t o r s t h a tc o m p o s et h ef i l ea r e
t h e nt i e dt o g e t h e rb y t h ef i r s tf e wb y t e so f e a c hs e c t o r . I fy o uw e r et o l o o k
a t t h ef i r s ts e c t o ra n df i l ee n t r y f o rN o t e s ,w h e r et h ed a t as h o u l ds t a r t ,
y o u l lf i n da g r o u po f n u m b e r si n s t e a d .T h e s en u m b e r sa r et h e p o i n t e r st o
t h et r a c k ,s e c t o rf o r m a t .T h e r e f o r e ,t h ef i r s tp o i n t e ri s f o r t h ef i r s tp a g e ,t h e
s e c o n di s f o r t h es e c o n dp a g e ,a n ds o o n .
1 4 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 158/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
I n o t h e rw o r d s ,t h i ss e c t o rc o n t a i n sp o i n t e r st o e a c hp a g ei n t h en o t e b o o k .W h a tw o u l dh a p p e ni f w eu s e da d i s k e t t em o n i t o rt o c h a n g et h e p o i n t e r s ?
L a t e r ,w h e nN o t e p a ds e a r c h e sf o ra p a g e ,i t w i l ld i s p l a ya d i f f e r e n tp a g et h a ni t w o u l dn o r m a l l y . T h e r e f o r e ,y o uc a nm a n i p u l a t eN o t e p a dw i t ha
B A S I Cp r o g r a m .J u s tr e a di n e a c hf i e l do f t h e f i l e( B - R :a n dB - wc o m m a n d s ) .
W i t ha s i m p l ep r o g r a my o uc o u l d :
• C h a n g et h ep a g e n u m b e r i n g
• C l e a rt h ef i r s tp a g e• C l e a rt h el a s tp a g e
• C l e a ra n yp a g ey o uw a n t
W h e ny o uh a v ec h a n g e dt h ep a g ey o uw a n t ,s i m p l ys a v et h ef i l ea n dt h e
n o t e b o o ki s c h a n g e d .
I f y o uu s ey o u rN o t e p a da s a n a p p o i n t m e n tc a l e n d a r ,a n dy o ud o n ' tl i k e
h a v i n gt o c l e a ro u t e v e r y t h i n ga t t h ee n do f e v e r ym o n t h ,w o u l d n ' ti t b e
e a s i e rt o w r i t ea p r o g r a mt h a tc l e a r so u tt h ef i r s tt w e n t yd a y sa n dm o v e st h e
r e m a i n i n g d a y st o t h ef r o n t — i . e .k e e p i n gy o u rc a l e n d a rr o t a t i n g ?A l s o ,t h i s
w a yt h ef i l ew i l ln e v e rg e tt o ol a r g e .
I t ' sn o tu s u a l l y p o s s i b l et o p r i n tt h ec o n t e n t so f t h en o t e b o o kt o a p r i n t e rd i r e c t l yf r o mG E O S .T h i si s a d e f i n i t ed i s a d v a n t a g e .H o w e v e r ,i t ' sp o s s i b l e
t o l o a dt h eA S C I If i l ed i r e c t l yf r o mt h eN o t e sf i l eo n d i s k e t t e t oa r e s e r v e d
a r e ai n m e m o r y .F r o mt h e r ey o uc a ns e n dt h ef i l ee i t h e r t ot h es c r e e no r t o a
p r i n t e r .U s i n gw h a tw el e a r n e da b o v e ,y o uc a np r i n ta n yp a g ey o uw a n t , o rt h ee n t i r eN o t e p a d .
T h e r e ' so n et h i n gy o uh a v et o r e m e m b e ri f y o ud ow a n tt o p r i n tt h ec o n t e n t s
o f t h eN o t e p a d .G E O Su s e sa f o r mo f s e c u r i t yo n t h ef i l e .T h e r e f o r e ,w h e ny o ur e a di n t h ef i l e ,y o uw i l la l s oh a v et o d o a f e wm a n i p u l a t i o n st o p r i n to u tt h ef i l ei n a l e g i b l ef o r m .
1 4 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 159/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 . 2 P r o g r a m si n G E O Sf o r m a t
I f y o u V ew o r k e dw i t hG E O Sf o ra w h i l e ,y o uh a v ep r o b a b l yn o t i c e dt h a t
y o uc o u l d n f ta d dy o u rn a m ea s t h ep r o g r a m m e ri n t h ei n f ob o x .P e r h a p sa
f r i e n do fy o u r sh a sc o p i e do n eo fy o u rp r o g r a m s ,b u th e c a n ' tt e l li t ' so n eo fy o u r s .O r m a y b ey o uh a v ea n i n t e r e s t i n gi d e af o ra n i c o nt h a tw o u l db ep e r f e c t f o r i d e n t i f y i n ga p r o g r a my o u V ew r i t t e n ,b u ty o uc a nm a r ko n l yG E O Sp r o g r a m s ,a n dn o ts t a n d a r dC - 6 4f i l e s .I f t h i si s t h ec a s e ,t h e nw eh a v ea s o l u t i o nt o t h e s ep r o b l e m s .
W o r k i n gw i t hG E O S ,w e h a v ec o m ea c r o s sm a n yd i f f e r e n tf i l ef o r m a t
p o s s i b i l i t i e s .W ec o u l dj u s ts e n dy o ut o C h a p t e r6 , I n s i d eG E O S ,t o r e a d
e v e r yd e t a i la b o u th o wt h ei n f ob o xi s h a n d l e d u n d e rG E O Sa n dh o wy o uc a na c c e s si t w i t ha d i s k m o n i t o r .B u tm a y b ey o ud o n ' th a v ea d i s k m o n i t o r ,
o r d o n ' th a v et h es l i g h t e s ti d e ao f w h a tt o d o w i t ho n e .
T h a ti s w h yw e ' v ed o n et h ew o r kf o ry o u .T h eF I L E M A S T E Rp r o g r a mi n
t h i ss e c t i o nq u i c k l ya n de a s i l yt r a n s f o r m sy o u rs t a n d a r dC - 6 4f i l e si n t o
G E O Sf o r m a t .
B e f o r ew e s t a r t ,l e t ' sh a v ea q u i c kl e s s o ni n h o wa f i l ei s c o n v e r t e dt o t h e
G E O Sf o r m a t .F o ra m o r ed e t a i l e ds u m m a r y ,r e f e rt o C h a p t e r6 a n d
A b a c u s 'A n a t o m yo f t h e1 5 4 1D i s kD r i v eo r 1 5 7 1I n t e r n a l s.
N o r m a l l y ,t h e d i r e c t o r yo f a d i s k e t t eh a sa n e n t r yf o re a c hf i l ew i t ht h e
f o l l o w i n gi n f o r m a t i o n :
1 ) F i l et y p e
2 ) T r a c k a n ds e c t o ro f t h ef i r s td a t ab l o c k
3 ) N a m eo f t h ef i l e ,e n d e d b yt h ec h a r a c t e r< S H I F T > < S P A C E >( A S C I I$ A 0 )
4 ) N u m b e ro f s e c t o r s i nt h ef i l e
E a c hf i l ee n t r yh a s3 0 b y t e sr e s e r v e df o ri t . H o w e v e r ,i t d o e sn o tu s et h e
f u l l3 0 b y t e s .T h eu n u s e db y t e sa r es i m p l ys e tt o 0 . G E O Su s e s t h e s e
u n u s e db y t e sf o rt h ef o l l o w i n gp u r p o s e s :
1 ) G E O Sf i l et y p e
2 ) T r a c ka n ds e c t o ro f t h ei n f ob o x
3 ) D a t e a n dt i m e
1 4 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 160/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 . 2 . 1F I L E M A S T E R
T o c o n v e r ta f i l et o G E O Sf o r m a t ,y o uw i l lh a v et o f r e eu p a s e c t o rf o r t h ei n f ob o x ,a n da d dt h e c o r r e c ti n f o r m a t i o nt o t h ef i l ee n t r yi n t h ed i r e c t o r y .
F i n a l l y ,t h ei c o na n dt h ea s s o c i a t e dt e x tm u s tb e e n t e r e da n ds a v e d .
F I L E M A S T E Rt a k e sc a r eo f a l l o f t h i sf o ry o u .T h ei c o nh a st h es a m ef o r m a ta s a s p r i t e ,w h i c hy o um a yb e f a m i l i a rw i t hf r o mt h e C - 6 4
h a n d b o o k .T h e r e f o r e ,F I L E M A S T E Ra l s oh a s ab u i l t - i n s p r i t eg e n e r a t o r .
B e f o r ey o ug o o n t o t h eF I L E M A S T E Rl i s t i n g ,w ew o u l dl i k et o m e n t i o nt h e c o n t r o lc o d e si n t h i sp r o g r a ml i s t i n g .W h e ni n c l u d e di n q u o t a t i o nm a r k s
a s p a r to f aB A S I CP R I N Ts t a t e m e n t ,t h e s ec o n t r o lc o d e sp e r f o r mf u n c t i o n s
d u r i n gp r o g r a me x e c u t i o n .T h e s ec o n t r o lc o d e sa r ed i f f i c u l tt o r e a da t b e s t
w h e na B A S I Cl i s t i n gi s p r i n t e do u to n a C o m m o d o r e - t y p ep r i n t e r .W eh a v e
l i s t e dF I L E M A S T E Ri n a f o r mt h a tm a k e st h e s ec o n t r o lc o d e sr e a d a b l e .
H e r ea r e t h ec o d e sa n dt h e i rm e a n i n g s :
[ H O M E ]
[ C L R ]
[ D O W N ]
[ R G H T ]
[ U P ]
[ L E F T ]
< C L R / H O M E > k e y
< S H I F T > e d< C L R / H O M E >k e y
< C R S RD O W N >k e y
< C R S RR I G H T >k e y
< S H I F T > e d< C R S RD O W N >k e y
< S H I F T > e d< C R S RR I G H T >k e y
1 4 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 161/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
2 0 r e m - f i l e m a s t e rm a n - f r e dt o r n s d o r - f
3 0 p r i n t c h r * < 1 4 >
4 0 - f o r i = 0 t o7 : r e a d s p X( i ) s n e x t i
6 0 p r i n t " E C L R 3 "
8 0 v = 5 3 2 4 8 s p o k e v + 2 1 , 0
1 0 0 p r i n t " £ C L R 3 E R G H T 3 £ R G H T 3 £ D O W N 3 E D O
e i n s e r td i s k e t t e& p r e s sa k e y . "
1 2 0 g e t a * s i - f a * = M 1 1t h e n1 2 0
1 4 0 o p e n S , 8 , 1 5 , " i "
1 6 0 o p e n 3 , 8 , 3 , " # 0 "
1 8 0 p r i n t " E C L R 3 "
2 0 0 p r i n t " E D O W N 3 E R G H T 3 E R G H T 3 C R G H T 3 E R
T 3 E R G H T 3 C R G H T 3 C R G H T 3 E R G H T 3E R G H T 3 E R G H T 3C R G H T 3 E R G H T 3
F I L E - M A S T E R "2 2 0 p r i n t " C R G H T 3 E R G H T 3 E R G H T 3 E R G H T 3 E R
T 3 E R G H T 3 E R G H T 3 CR G H T3 C R G H T3 E R G H T3 E R G H T3
2 4 0 p r i n t " E D O W N 3 E R G H T 3 E R G H T 3 E R G H T 3 C oF i l e si n
t o G E O S- f o r m a t . "
2 6 0 p r i n t " E D 0 W N 3 "
2 8 0 p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 D i s k d i r e c= d i r "
3 0 0 p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 L o a d s p r i t
= s p l "3 2 0 p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 C r e a t es p r i t e
= c s p "
3 4 0 p r i n t " E D O W N 3 E R G H T 3 E R G H T 3 E R G H T 3 R e- f i l e
= r f l "
3 8 0 p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 D i s p l a y- F i l ei n f o
= f d i "
4 0 0 p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 C r e a t eG E O S- f i l e
= g e o s "
4 2 0 p r i n t " E R G , H T 3 E R G H T 3 E R G H T 3 I n p u t / c h a d a t e= d a t e "
4 4 0 p r i n t " E D O W N 3 E R G H T 3 E R G H T 3 E R G H T 3 C h= d i s k "
4 6 0 p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 E n dp r o g r a m= e n d "
4 8 0 p r i n t " C R G H T 3 E R G H T 3 C R G H T 3 R e a di n f o= i n - f o "
5 0 0 n * = " x xx x ; <x x "
5 2 0 i n p u t " E D O W N 3 E R G H T 3 E R G H T 3 E R G H T 3 Y
1 5 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 162/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 4 0 i - f n * = " d i r " t h e n g o s u b4 0 6 0
5 6 0 i - f n * = " s p l "t h e n g o s u b 4 0 6 0
5 8 0 i - f n * = " c s p "t h e n g o s u b 2 3 2 0
6 0 0 i - f n * = " r f l "t h e n g o s u b8 0 0
6 2 0 i - f n * = " d a t e "t h e n g o s u b3 1 6 06 4 O i f n * = " f d i "a n d z i = l t h e np r i n t " E C L R 3 " : g o s u b9 8 0
6 6 0 i - f n * = " i n f o "t h e n g o s u b 5 1 O O
6 8 0 i f n * = " d i s k "t h e n c l a s e 3 : c l o s e 5 : g o t o 1 0 07 0 0 i f n * = " e n d " t h e n 7 6 0
7 2 0 i f n $ = " g e o 5 "t h e n g o s u b3 5 4 07 4 0 g o t o1 8 0
7 6 0 c l o s e 3 : c l o s e 5 : p o k e v + 2 1 ? 0 : s t o p7 8 0 s t o p : r e m * * $ * * * * * * * $ * * * * $ * $ * $ * *
8 0 0 z 1 = 0 : g o s u b1 3 8 0: i f t = 0 o r z l = 0t h e n r e t u r n
8 2 0 a t = t : r e m d i r — t r a c k f o u n d
8 4 0 a s = s :r e m d i r s e c t o rf o u n d8 6 0 a b = b p : r e n tb u f f e r p o i n t e rf i l e t y p e8 8 0 t f = t s : s f = s s : r e mt r a c kf i l e , s e c t o r f i l e9 O O f i * = n a *:
9 2 0 g o s u b 2 2 2 0 : f s = a : g o s u b 2 2 2 0 : g t = a : g o s u b 2a * = s t r * ( a )
9 3 0 g o s u b 2 2 2 0 : m o = a : m o * = s t r * < a >
9 4 0 g o s u b 2 2 2 0 : t a = a : t a * = s t r * ( a > : g o s u b 2 2 2 0
s t r * ( a )9 5 0 g o s u b 2 2 2 0 : m i = a : m i * = s t r * ( a )9 6 0 g o s u b 2 2 2 0 : 1 1 = a : g o s u b 2 2 2 0 : 1 h = a :
9 8 0 p r i n t " C U P 3 C U P 3 C R G H T 3 C R G H T 3 C R G H T 3 G H T 3 C R G H T 3 C R G H T 3 C R G H T 3C R 6 H T 3 C R G H T 3 " ; f i * ; " C D 0 WE D OW N 3 "
" ; t f
" ; s f
" ; f t
I I ■ f s
1 O O Op r i n f ' s t a r t i n gt r a c k
1 0 2 0p r i n t " s t a r t i n gs e c t o r
1 0 4 0p r i n t
1 0 6 0p r i n t " f i l et y p e
1 0 8 0p r i n f ' i n f ot r a c k1 1 O Op r i n t " i n f os e c t o r
1 1 2 0p r i n t # 5 , " b - p : " ; 3 ; b p + 2 11 1 4 0p r i n f f i l es t r u c t u r e
1 1 6 0p r i n t " g e o s f - t y p e
1 1 8 0i f g t = l t h e n p r i n t " = B a s i c "
1 2 0 0i f g t = 2t h e n p r i n t " = A s s e m b l e r '
1 2 2 0i f g t O l a n d g t < > 2t h e n p r i n t
1 2 4 0p r i n t " Y e a r: " ; j a
1 2 6 0p r i n t " M o n t h: " ; m o
1 5 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 163/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
1 2 8 0p r i n f ' D a y : " j t a
1 3 0 0p r i n t " H o u r: " 5 h o
1 3 2 0p r i n f ' H i n u t e: " ; m i
1 3 4 0p r i n f ' - f i l el e n g t h: " ; l l + 2 5 6 * l h
1 3 6 0i n p u t" C D O W N 3 C R G H T 3 Z R G H T 3 C R G H T 3 < Rt o g oo n " ; x * s r e t u r n
1 3 8 0r e m * * * * * * * * * * * * * * * * * * * * * * * * * * * *1 4 0 0p r i n t " C C L R 3 " : t = 1 8 : s = l :1 4 2 0i n p u t " C D O W N 3 C D O W N 3 C D O W N 3 C R G H T 3 C
e t o s e a r c hf o r : " ; s u *
1 4 4 0s u = l e n ( s u * )
1 4 6 0p r i n t " C C L R 3 "1 4 8 0s v * = " " : f o r i = l t o s u ss v = a s c( m i d *( s u $ ,i , 1 ) ) : i f
s v > 1 9 2a n d s v < 2 1 9t h e n s v = s v - 9 6
1 5 0 0s v $ = 5 v $ + c h r $ ( s v ) s n e x t i :
1 5 2 0p r i n t t t S j - ' b - r ^ ' S s O j t; s
1 5 4 0p r i n t # 5 , " b - p : " 3 , 0
1 5 6 0b p = 2
1 5 8 0g o s u b2 2 2 0
1 6 0 0t n * = a * : t n = a s c ( t n * )
1 6 2 0g o s u b2 2 2 0
1 6 4 0n a $ = " "1 6 6 0s n * = a * : s n = a s c ( s n * ) ! i f n * < > " i " t h e np r i n t " t = " ; t ;
s = " ; s1 6 8 0p r i n t # 5 , " b - p : " ; 3 ; 2
1 7 0 0- f o r j = l t o 8
1 7 2 0p r i n t # 5 , " b - p : " 5 3 ; b p
1 7 4 0g o s u b2 2 2 0 : - ft * = a * : - ft = a s c( - ft * )a n d 6 3
1 7 6 0g o s u b2 2 2 0 s t s * = a * : t s = a s c ( t s * )
1 7 8 0g o s u b 2 2 2 0 : s s t = a $ : s s = a s c ( s s * )
1 8 0 0f o r i = l t o 1 6 : g o s u b 2 2 2 01 8 2 0i - f a s c ( a * ) = 1 6 0t h e n i = 1 6 s g o t o1 8 6 0
1 8 4 0n a $ = n a * + a $ :
1 8 6 0n e x t i s1 8 8 0p r i n t # 5 , " b - p : " ; 3 ; b p + 1 9
1 9 0 0g o s u b 2 2 2 0 : i t * = a * : i t = a s c ( i t * ) :
1 9 2 0g o s u b 2 2 2 0 : is * = a * : is = a s c ( i s * ) :
1 9 4 0i - f - f t = Ot h e n 2 0 8 01 9 8 0p r i n t " " ; - f t ; " " ; t s ; " " j s s ; "" j c h r *( 3 4 ); n a *
j c h r * ( 3 4 ) ;
2 0 0 0p r i n t " " p i t ; 1 1 " ; i s
2 0 2 0i f n * = " i " t h e n2 O 8 O
2 0 4 0i f s u * = m i d * ( n a * , l , s u )t h e n p r i n t " C D O W N 3 C R G C R G H T 3C R G H T 3C R G H T 3 C R G H T 3C R G H T 3E R G H T 3 f o u n d . " : z 1= 1 : r
1 5 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 164/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
e t u r n
2 0 6 0i - f 5 v $ = m i d * ( n a $ , l , 5 u )t h e n p r i n t " C D O W N1 1 R G H T 1
C R G H T D C R G H T 3E R G H T 3 C R G H T 3 C R G H T 1 C R G H T 1 - f o u= 1 : r e
t u r n
2 0 8 0n a * = " " :2 1 0 0i f p e e k( 2 0 3 ) 0 6 4t h e n 2 1 8 0
2 1 2 0 b p = b p + 3 2
2 1 4 0n e x t j2 1 6 0i - f t n O Ot h e n p r i n t " C D 0 W N 3 " : t = t n : s = s n : g
2 1 8 0 r e t u r n
2 2 0 0r e t n * * S * $ * * $ $ $ * * $ *2 2 2 0 g e t # 3 , a * : i f a * = " " t h e n a * = c h r * < 0 >
2 2 4 0a = a s c ( a $ )
2 2 6 0r e t u r n2 2 8 0r e m * * * * * * * * * * * * * * * * * * * * * *
2 3 0 0- f o rk = 0 t o 6 2 s p o k e 8 3 2 + k ,0 : n e x t k
2 3 2 0p r i n t " E C L R 3 i : D O W N 3 S p r i t e m a s t e r "
2 3 6 0x l = 0 : y l = 0 : x = x l : y = y l s p s = 4 3
2 3 8 0v > j = O : v y = O s v t = Os
2 4 0 0p o k e 2 0 4 0 , 1 3 s p o k e v + 2 1 , 1 : p o k e v ? 3 0 : p o
2 4 2 0- f o r j = x l +1 4 t o x 1 + 2 3 + 1 4
2 4 4 0- f o r i = y l+ l t o y l + 2 1
2 4 6 0 p = 1 0 2 4 + i * 4 0 + j
2 4 8 0 g o s u b3 0 0 0s v a 7 . = v i 7 . a n d v n 7 .2 5 0 0i f v a %< > 0 t h e n p s = 4 2
2 5 2 0i f v a 7 . = 0 t h e n p s = 4 6
2 5 4 0i f p > 1 0 2 4a n d p < 2 0 2 3t h e n p o k e p , p s2 5 6 0 y = y + l s n e x ti s y = 0
2 5 8 0x = x + l s n e x t j ! x = O2 6 0 0 p s = 4 3
2 6 2 0 p = 1 0 2 4 + ( y + l ) t 4 0 + x + 1 42 6 4 0p r = p e e k ( p )
2 6 6 0i f p > 1 0 2 3 a n d p < 2 0 2 4t h e n p o k e p , p s2 6 8 0g e t a * : i f a * = " " t h e n 2 6 8 02 7 0 0i f a * = " E R G H T 3 " a n d x < 2 32 7 2 0i f a * = " C L E F T 3 " a n d x > 0
2 7 4 0i f a $ = " C D 0 W S v J l " a n d y < 2 0
2 7 6 0i f a $ = " C U P 3 " a n d y > 02 7 8 0i f a f = " * "t h e n p r = 4 2 :
2 8 0 0i f a * = " " t h e n p r = 4 6 s2 8 2 0i f a * = " e " t h e n3 1 2 02 8 4 0i f a * = " C C L R 3 " t h e n2 3 0 0
2 8 6 0 p o k e p s p r
t h e n x = x + l
t h e n x = x - l
t h e n y = y + l
t h e n y = y — 1
1 5 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 165/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
2 8 8 0i - f a $ O " * " a n d a $ < > "" t h e n 2 6 2 02 9 0 0 g o s u b 3 0 0 0
2 9 2 0i - f a * = " * " t h e np o k e v b X , v i Xo r v n 7 .
2 9 4 0i f a * = "" t h e n p o k e v b 7 . ,v i 7 . a n d s p 7 .( v t 7 . )
2 9 6 0 g o t o 2 6 2 02 9 8 0r e m * * * * * * * * * * * * * * * * *
3 0 0 0v y 7 . = y; v x 7 . = i n t( ( x ) / 8 ) s v t 7 . = x - v * 7 . * 8
3 0 2 0v b 7 . = 8 3 2 + v > ; X + v y % * 3: r e n t b y t e n u m b e r3 0 4 0v i " X = p e e k ( v b % ): r e mc o n t e n t s3 0 6 0v n 7 . = 2 T ( 7 - v t 7 . ) : r e mn e w b i t3 0 8 0r e t u r n
3 1 0 0r e i n * * * * * * * * * * * * * * * * * * *
3 1 2 0p o k e v + 2 1 , O : p r i n t " C C L R 3 " : r e t u r n3 1 4 0r e m * * * * * *s e t d a t e * * *
3 1 6 0p r in t " E C L R 3C D 0 W N 3 E R 6 H T 3 C R G H T 3 C R G H T 3C R G HT 3 E R 6 H T 3 E R G H T 3 D A T E
3 1 8 0 p r i n t " E R G H T 3C R G H T 3 E R G H T 3C R G H T 3 C R G H T 3 E R G HH T 3 E R G H T 3 E R G H T 3 E R G H T 3E R G H T 3 " ; m o * ;' 7 " ; t a $ ; " / 1 9 " s j a *; " " ; h o * ; " E " ; m i * ; " o ' c l o c k "
3 2 0 0 r e mp r i n t " E R G H T 3 E R G H T 3 E R G H T 3 E R G HT 3 E R G H T 3 E R G H T 3 E R G H T 3 E R G H T 3E R G H T 3 " ; t a ;
3 2 2 0p r i n t " E D O W N 3 E D O W N 3 "
3 2 4 0p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 Y e a r: " ; j a
3 2 6 0p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 M o n t hs " ; m o3 2 8 0p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 D a y: " ; t a
3 3 0 0p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 H o u r: " ; h o
3 3 2 0p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 M i n u t e: " ; m i
3 3 4 0p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 E D O W N 3 C - t y p e f
i r s t t w o c h a r a c t e r s o f c h o i c e( Y E M 0 , e t c . )
3 3 6 0p r i n t " E R G H T 3 E R G H T 3 E R G H T 3 D o n e- t y p e E N D
3 3 8 0i n p u t" E D O W N 3 E D O W N 3 E R G H T 3 E R G H T 3 E R
3 4 0 0i - f ; • ; * = " e n d "t h e n r e t u r n
3 4 2 0i f x $ = " y e " t h e ni n p u t " E D O W N 3 E D O W N 3 E R G 3 E R G H T 3 Y e a rs " ; _ i a $ :j a = v a l< j a * >s g o t o 3 1 6 03 4 4 0i f k $ = " ( h o 1 1t h e n i n p u t " E D 0 W N 3 C D O W N 3 E R G E R G H T
3 E R G H T 3 M o n t h: " ; m o * s n i o = v a l( m o $ )g g o t o 3 1 6 03 4 6 0i f > : $ = " d a "t h e n i n p u t " E D O W N 3 E D O W N 3 E R G 3 E R G H T 3 D a y : " ; t a $ : t a = v a l ( t a * ) s g o t o 3 1 6 03 4 8 0i f > ! * = " h o "t h e n i n p u t " E D O W N 3 C D O W N 3 E R G
3 C R G H T 3 H o u r; " ^ h o * s h o = v a l ( h o * ) s g o t o 3 1 6 03 5 0 0i f K * = " m i "t h e n i n p u t " E D O W N 3 E D O W N 3 E R G
3 E R G H T 3 l i i n u t es " ; m i * s m i = v a l< m i * )s g o t o 3 1 6 0
3 5 2 0g o t o 3 1 6 0
1 5 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 166/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 5 4 0p r i n t l i C C L R 3 " : r e m* * * * * g e o s- f i l e s e t * * * *3 5 6 Oi f i t O Ot h e n 3 6 6 0: r e n t s h o u l d b es e t
3 5 8 0i t = t f s i s = s f : p r i n t i t , i s
3 6 O O p r i n t # 5 , " b - a s u 0 ; i t ; i s3 6 2 O i n p u t # 5 , a , b * , c , d : p r i n t a , b $ , c , d :
3 6 4 0i f c < >0 t h e ni t = c : i s = d : g o t o 3 6 0 03 6 6 0 p r i n t " E D 0 W N 3 E D 0 W N 3C D 0 W N 3C R G H T 3 C R G H T 3 C R G H T
H T 3 P l e a s ei n p u tG E O S f i l e t y p e : "
3 6 8 0i n p u t " E D O W N 3 C R G H T 3 C R G H T 3 E R G H T 3 E RM
/ L = 2A c e . = 5 A p p l . = 6 " ; x * : x = v a l < x * >
3 7 0 0i f x < l a n d x > 6 t h e n 3 6 6 0
3 7 2 0f s = 0 : g t = x
3 7 4 0 p r i n t # 5 , " b - f s " 0 ; i t ; i s
3 7 6 0p r i n t # 5 , " b - r : " ; 3 ; 0 ; a t ; a s3 7 8 0p r i n t # 5 , " b - p : " 3 5 a b + 1 9
3 8 0 0p r i n t # 3 , c h r * ( i t ) j
3 8 2 0 p r i n t # 3 9 c h r * ( i s );
3 8 4 0 p r i n t # 3 , c h r * < f s > ;
3 8 6 0 p r i n t # 3 , c h r * ( g t ) ;
3 8 8 0 p r i n t # 3 , c h r * ( j a > ;
3 9 0 0 p r i n t # 3 , c h r * < m o > ;
3 9 2 0 p r i n t # 3 , c h r * ( t a ) ;3 9 4 0 p r i n t # 3 , c h r * ( h o > ;
3 9 6 0 p r i n t # 3 , c h r * ( m i ) ;3 9 7 0i f a t < l o r a t > 3 5t h e n p r i n t " C D O W N 3 E R G H T 3 E
3 C R G H T 3 E R R O R : I l l e g a lt r a c k H : g o t o 4 0 4 0
3 9 8 0 p r i n t # 5 , " m - w s " c h r $ ( 6 ) c h r *< 0 ) c h r * ( 2 ) c h r *< a t ) c h
r * ( a s )
4 0 0 0p r i n t # 5 , " m - w " c h r $ ( 0 ) c h r * ( 0 ) c h r * ( 1 ) c h4 0 2 0p r i n t " E D 0 W N 3C R G H T 3 C R G H T 3 E R G H T 3E R G H T 3 E R G H T 3E R G
H T 3 E R G H T 3 w r i t t e n " s
4 0 4 0i n p u t" E D O W N 3 < R E T U R N >t o c o n t i n u e " 5 x * : r e t u r n4 0 6 0r e m * * * l o o kf o r d i r& s p r i t e * * *
4 O 8 Op r i n t l i C C L R 3 i I : t = 1 8 s s = l ! i f n * = l l d i r " t h e 4 2 0 0
4 1 0 0 i n p u t l l E D O W N 3 C D O W N 3 C D O W N 3 C R G H Te t o s e a r c hf o r : " ; s u *
4 1 2 0 s u = l e n < s u * >
4 1 4 0 p r i n t " E C L R 3 "
4 1 6 0s v * = " " : f o r i = l t o s u : s v = a s c ( m i d * ( s u * , i ,) ) : i f s
v > 1 9 2 a n d s v < 2 1 9 t h e n s v = s v - 9 6
4 1 8 0s v * = s v * + c h r * < s v ) : n e x t i s4 2 0 0p r i n t # 5 , " b - r : " 3 ; 0 ; t; s
4 2 2 0p r i n t # 5 , n b - p 5 " 3 , 04 2 4 0 b p = 2
1 5 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 167/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
4 2 6 0 g o s u b 2 2 2 0
4 2 8 0t n $ = a * : t n = a s c ( t n t )4 3 0 0g o s u b2 2 2 0
4 3 2 0 n a * = " "
4 3 4 0 s n * = a * : s n = a s c ( s n * ): i f n * O " d i r" t h e np r i n t " t = " ;A . . l l £ = = "• « r* - » = » =
4 3 6 0p r i n t # 5 5 I 1 b - p : I ' ; 3 524 3 8 0- f o r j = l t o 8
4 4 0 0 p r i n t # 5 , " b - p : " ; 3 ; b p
4 4 2 0g o s u b2 2 2 0 :f l * = a * : f l = a s c( f l * )a n d 6 34 4 4 0g o s u b2 2 2 0 :
4 4 6 0 g o s u b2 2 2 0 :
4 4 8 0- f o r i = l t o 1 6 : g o s u b 2 2 2 0
4 5 0 0i f a s c ( a * ) = 1 6 0t h e n i = 1 6 : g o t o 4 5 4 0
4 5 2 0 n a $ = n a * + a $ :4 5 4 0n e x t i :
4 5 6 0p r i n t # 5 , " b - p : " ; 3 ; b p + 1 94 5 8 0g o s u b 2 2 2 0 : i l * = a * : i l = a s c ( i 1 * > :
4 6 0 0g o s u b 2 2 2 0 : i 2 * = a * : i 2 = a s c< i 2 * > s
4 6 2 0i f f l = 0 t h e n 4 7 4 0
4 6 4 0i f n * = " d i r "t h e n p r i n t " C R G H T 3 C R 6 H T 3 C R G T 3 " ; n a $ : g o t o 4 7 4 0
4 6 6 0p r i n t " " | c h r * ( 3 4 ) ; n a * ; c h r $ ( 3 4 )
4 6 8 0i f n * = " d i r "t h e n 4 7 4 0
4 7 0 0i f s u $ = m i d * ( n a $ , l , 5 u )t h e n p r i n t " C D O W N 3 C R G
C R G H T 3 C R G H T 3 C R G H T 3C R G H T 3 C R G H T 3C R G H T 3 F o u n d " : g o t o
0 0
4 7 2 0i f s v * = m i d * ( n a * , l , s u )t h e n p r i n t " C D O W N 3 C R G
C R G H T 3 C R G H T 3 C R G H T 3 C R G H T 3 C R G H T 3C R G H T 3 F o u n d " : g o t o4 9
0 0
4 7 4 0n a * = " "
4 7 6 0i f p e e k( 2 0 3 ) 0 6 4t h e n 4 8 6 0
4 7 8 0 b p = b p + 3 2
4 8 0 0n e x t j4 8 2 0i f t n < > 0t h e n p r i n t " C D 0 W N 3 " : t = t n : s = s n : g
0
4 8 4 0i f n * < > H d i r " t h e n p r i n t " C D 0 W N 3 C R G H TT 3 S o r r y 9n o t f o u n d . "
4 8 6 0i n p u t " C D O W N 3 < R E T U R N >t o c o n t i n u e " p x * : r e t u r n
4 9 0 0r e n t * * * r e a d s p r i t e * * *
4 9 2 0p r i n t " C C L R 3 C R G H T 3 C R G H T 3 C R G H T 3 C R
T 3 C R G H T 3 C R G H T 3 C R G H T 3 C R G H T 3C R G H T 3 C R G H T 3C R G H T 3 C R G H T
C R G H T 3 R e a ds p r i t e C U P 3 "
4 9 4 0i f i 1 = 0t h e n p r i n t " C C L R 3 s p r i t en o t y e t d e f i n e
1 5 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 168/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
d " : f o r z z = l t o 1 O O O : n e x t : g o t o 5 0 8 0
4 9 6 0p r i n t # 5 , " b - r : " 3 ; O ; i l; i 2
4 9 8 0p r i n t # 5 , " b - p : " 3 , 55 0 0 0f o r i = 0t o 6 2
5 O 2 Og o s u b 2 2 2 05 0 4 0p o k e 8 3 2 + i s a s p r i n t i , a § " C H O M E 3 "5 0 6 0n e x t i :
5 0 8 0r e t u r n
5 1 0 0 r e m * * * r e a di n - f os c r e e n * * * * *
5 1 2 0i f i t = 0 t h e nr e t u r n : r e n tt r a c k = 0
5 1 4 0p r i n t # 5 , " b - r : 1 1 3 ; O 5 i t ; i s5 1 6 0p r i n t # 5 , " b - p : " 3 , 0
5 1 8 0 f o r i = l t o 6 : a * < i , 2 ) = " " 5 n e x t i
5 2 0 0g o s u b 2 2 2 0 : i f a < >0 t h e n 5 6 0 0
5 2 0 5 g o s u b 2 2 2 0 : i f a < > 2 5 5t h e n 5 6 0 0
5 2 1 0g o s u b 2 2 2 0 : i f a < >3 t h e n 5 6 0 0
5 2 1 5g o s u b 2 2 2 0 : i f a < > 2 1t h e n 5 6 0 0
5 2 2 0 p r i n t # 5 , " b - p : " 3 , 7 15 2 4 0g o s u b2 2 2 0 : x = a
5 2 6 0g o s u b2 2 2 0 :x = x + 2 5 6 * a
5 2 8 0a * ( l , 2 ) = s t r * < x >5 3 0 0 g o s u b 2 2 2 0 : x = a
5 3 2 0 g o s u b2 2 2 0 : x = x + 2 5 6 * a
5 3 4 0 a * ( 2 , 2 ) = s t r * ( x >5 3 6 0 g o s u b2 2 2 0 : > : = a
5 3 8 0g o s u b2 2 2 0 s x = x + 2 5 6 * a
5 4 0 0a $ < 3 , 2 ) = s t r * ( x >
5 4 2 0 g o s u b2 2 2 0 s i f a = 0t h e n 5 4 6 0
5 4 4 0a * < 4 , 2 ) = a * < 4 , 2 ) + a $ : g o t o5 4 2 0
5 4 6 0p r i n t # 5 , " b - p : " 3 9 9 7
5 4 8 0g o s u b2 2 2 0 : i f a = 0t h e n 5 5 2 0
5 5 0 0a * ( 5 , 2 ) = a * < 5 , 2 ) + a * s g o t o5 4 8 0
5 5 2 0p r i n t # 5 , " b - p : " 3 , 1 6 0
5 5 4 0g o s u b2 2 2 0 : i f a = Qt h e n 5 5 8 0
5 5 6 0a $ ( 6 5 2 ) = a * ( 6 ; , 2 ) + a * s g o t o5 5 4 0
5 5 8 0r e m
5 6 0 0r e m * * * *c r e a t ei n f o s c r e e n * * * * * *
5 6 2 0 a * ( l 5 1 ) = " C D O W N 3 C R G H T 3 C R G H T 3 1L o a da d d r e s s• > >m
5 6 4 0a * < 2 : , l } = " C D 0 W l s n C R G H T 3 t R G H T 3 2 E n da d d r e s s. ■ •
5 6 6 0a * < 3 , 1 ) = " E D O W N 3 E R G H T 3 E R G H T 3 3E n t r yp o i n t• > •
5 6 8 0a $ < 4 , 1 ) = " E D O W N 3 C R G H T 3 E R G H T 3 4C l a s s
1 5 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 169/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 7 0 0a * ( 5 , l ) = " C D 0 W N ] C R G H T ] C R G H T ] 5 A u t h
5 7 2 0a * ( 6 , l ) = " C D 0 W N ] C R G H T ] C R G H T ] 6H e l p s c r e e n
■ I f
5 7 4 0r e m * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
5 7 6 0p r in t " C C L R ]C D O W N ] C R G H T ]C R G H T ] C R G H T ]C R G H T ]C R G HT D C R G H T 3 C R G H T D C R G H T ] C R G H T ] C R G H T ] C I n - f o
S c r e e n "
5 7 8 0f o r i = 1 t o 6 s p r i n t a * ( i , 1 ) ; a * ( i , 2 ) : n e x t i
5 8 0 0i n p u t " C D O W N ] C D O W N ] C R G H T ] C R G H T ] C
b e r o r E t o e n d " ; x *
5 8 2 0i - f x * = " e " t h e np r i n t " C C L R ] " : g o t o 6 0 0 0
5 8 4 0i - f v a l ( x * X lo r v a l ( x * ) > 6 t h e n 5 7 6 05 8 6 0p r i n t " C D O W N ] C D O W N ] C R G H T ] " ; a * ( v a l (" ; a
* < v a l ( x * ) , 2 )
5 8 8 0p r i n t t a b < 2 1 > ; " C L J P ] " ;
5 9 0 0i - f l e n ( a $ ( v a l ( x * ) , 2 ) ) > 1 9t h e n p r i n t "C U P ] " ;
5 9 2 0i n p u t a *( v a l< > ; * >, 2 )
5 9 4 0g o t o 5 7 6 0
5 9 6 0r e i n
5 9 8 0 r e m
6 0 0 0p r i n t # 5 , " b - p s " 3 , 0
6 0 2 0 p r i n t # 3 , c h r * ( 0 ) 5c h r * ( 2 5 5 ) 5 c h r * ( 3 ) 5c h r * ( 2 1 ) ; c h
6 0 4 0- f o r i = 0 t o 6 26 0 6 0p r i n t # 3 , c h r * ( p e e k ( 8 3 2 + i ) ) ;
6 0 8 0n e x t i
6 1 0 0p r i n t # 3 , c h r * ( - f t + 1 2 8 > ;
6 1 2 0 p r i n t # 3 , c h r * ( g t ) ;
6 1 4 0p r i n t # 3 , c h r * ( - f 5 ) ?
6 1 6 0 i f g t = l t h e n g o t o 6 3 4 0
6 1 8 0r e m x * = a * ( 1 , 2 ) s g o s u b 6 7 2 0
6 2 0 0 r e mp r i r r t # 3 ,c h r i( x 2 ); c h r *( x 1 > ;6 2 2 0x * = a * ( 1 , 2 ) s g o s u b 6 7 2 0
6 2 4 0 p r i n t # 3 , c h r * ( x 2 ) ; c h r * ( x l > ;
6 2 6 0x * = a * ( 2 , 2 > s g o s u b 6 7 2 0
6 2 8 0p r i n t # 3 , c h r * ( x 2 > ; c h r * ( x l ) ;6 3 0 0x * = a * ( 3 5 2 ) s g o s u b 6 7 2 0
6 3 2 0p r i n t # 3 , c h r * ( x 2 ) ; c h r * ( x l > ;6 3 4 0 x = l s n ( a $ ( 4 , 2 ) )s i H F x > 1 9t h e n x = 1 9
6 3 6 0p r i n t # 5 s " b - p ; " 3 , 7 7
6 3 8 0f o r i = l t o x ; x * = m i d * ( a * ( 4 , 2 ) , i , 1 ) : p r i n t 6 4 0 0n e x t i : p r i n t # 3 , c h r * ( 0 ) ;
1 5 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 170/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 4 2 0x = l e n < a * ( 5 , 2 ) ) s i - fx > 1 9t h e n } <= 1 9
6 4 4 0p r i n t # 5 , " b - p : " 3 , 9 7
6 4 6 0- f o r i = l t o x : x * = m i d *< a $< 5 , 2 ), i , 1 ) s p r i n t # 3 , x * ;
6 4 8 0n e x t i : p r i n t # 3 , c h r * ( 0 ) ;6 5 0 0x = l e n ( a * ( 6 , 2 ) ) s i - Fx > 4 0 t h e n x = 4 O
6 5 2 0 p r i n t # 5 , " b - p : " 3 , 1 6 0
6 5 4 0- f o r i = l t o x : x * = m i d *( a *( 6 , 2 )9 i , 1 ) s p r i n t # 3 , x * ;
6 5 6 0n e x t i : p r i n t # 3 , c h r * ( 0 ) ;
6 5 7 0i f i t < l o ri t > 5 3 t h e n p r i n t "F a l s e t r a c k " ! g o t
0 6 6 8 O6 5 8 0p r i n t # 5 , " j n - w ! " c h r * ( 6 ) c h r * ( 0 ) c h r * ( 2 ) c
6 6 0 0p r i n t # 5 , " m - w " c h r * ( O ) c h r * ( 0 ) c h r $ < 1 ) c
6 6 2 0p r i n t " C D 0 W N 3C R G H T 3 C R G H T 3 C R G H T 3C R G H T 3 C R G H T 3C R G
H T 3 C R G H T : ]W r i t t e n " :
6 6 4 0p r i n t # 5 , " b - a : " 0 ; i t ; i s6 6 6 0 i n p u t # 5 , a , b * , c , d s p r i n t a , b * , c , d s
6 6 8 0i n p u t " C D O W N 3 C R G H T 3 C R G H T 3 C R G H T 3 < Rt o c o n
t i n u e " ; x $6 7 0 0 r e t u r n6 7 2 0x = v a l( x * ) s x l = i n t( ; < / 2 5 6 )s x 2 = i n t( j ; - ; : 1 * 2 5 6)
6 7 4 0 r e t u r n6 7 6 0d a t a l 2 7 , 1 9 1 , 2 2 3 , 2 3 9 , 2 4 7 , 2 5 1 , 2 5 3 , 2 5 4
1 5 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 171/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 172/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
8 0 0 - S u b r o u t i n e s :F i l es e a r c h e sa n dd a t ad i s p l a y .
8 0 0 Z 1 = Om e a n st h a tn o f i l ee n t r yh a sb e e nf o u n d .A f t e ra n
e n t r yi s f o u n di n t h es u b r o u t i n ea t 1 3 8 0t h e v a r i a b l ez i i s
s e tt o 1 . I f z 1 = 0 ,c o n t r o li s r e t u r n e dt o t h em e n u .T h e
s a m et h i n gh a p p e n si f T = 0 ,t h a ti s , i f t h ea c t u a lt r a c ki s 0 .
T h i sw o u l dm e a nt h a ta s e a r c ho f t h ed i s k e t t ea t t r a c k0w o u l dc a u s e a ne r r o r .
8 2 0 T h i sv a r i a b l es t o r e st h e t r a c ki n f o r m a t i o nw h e r et h ef i l e
e n t r yi s l o c a t e d .T h i sv a r i a b l ei s r e a l l yu n n e c e s s a r y ,s i n c e
t h ed i r e c t o r yf o r t h ed i s k e t t ei s a l w a y sl o c a t e do n t r a c k1 8 .
A s a m a t t e ro fr e v i e wf o rl a t e r ,w es t o r et h i sv a l u ea n y w a y .
8 4 0 T h es e c t o rw h e r et h ef i l ee n t r yw a sf o u n d .
8 6 0 E a c hd i s kb u f f e r c o n t a i n sa p o i n t e r ,w h i c hp o i n t st o t h e
n e x t b y t et o b e r e a d .A Bc o n t a i n st h e p o s i t i o no f t h ef i r s t
c h a r a c t e ro f t h ef i l ee n t r y( t h i si s a l s ot h ef i l et y p e . )
8 8 0 T h es t a r t i n gt r a c ko f t h ep r o g r a mi s s t o r e di n T F ,a n dt h e
s t a r t i n gs e c t o ri s s t o r e di n S F .
9 0 0 T h ev a r i a b l eN A $c o n t a i n st h en a m eo f t h ef i l ee n t r y .T h e
f u l ln a m ei s a c t u a l l yf o u n di n t h e v a r i a b l eF I$ . I fy o uw e r e
l o o k i n gf o r t h ef i l ee n t r yA L A R MC L O C K ,a l ly o un e e di s
A L A .T h i sw o u l dp o i n tt o t h ef u l ln a m eA L A R MC L O C K .
9 2 0 - 9 6 0T h ei n f o r m a t i o nt h a tG E O Su s e si n r e a di n a t t h i sp o i n t .
T h es u b r o u t i n ea t 2 2 0 0i s c a l l e d ,w h i c hr e t u r n sa c h a r a c t e r
a n dt h e a s s o c i a t e dA S C I Iv a l u e ,t h e s er e s i d ei n A $a n dA .
9 8 0 - 1 3 4 0T h ep o r t i o no f t h ep r o g r a m w h e r et h ed a t ai n t h ef i l ee n t r y
p o i n t s .A l lo f t h ei n f o r m a t i o no f t h ef i l ee n t r yi s s t o r e d
h e r e .T h o s ef i l e sw h i c ha r en o ts t o r e di n t h eG E O Sf i l e
f o r m a tw i l lh a v ea l lz e r o e s .T h ev a r i a b l e sJ A ,M O ,T A ,H O ,
a n dM l h a v et h ed a t ea n dt i m e .
1 3 6 0 W a i tu n t i la l lo f t h ei n f o r m a t i o ni s r e a di n ,t h e nr e t u r nt o
t h em e n u .
1 3 8 0 - S u b r o u t i n e :S e a r c hf o r t h ef i l ee n t r yi n t h ed i r e c t o r y .
1 6 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 173/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
1 4 0 0 C l e a rt h es c r e e n ,a n ds e tt h ea c t u a lt r a c ka n ds e c t o rt o 1 8
a n d1 , r e s p e c t i v e l y .
1 4 2 0 - 1 5 0 0T h en a m eo f t h en e e d e df i l ee n t r yi s i n S U $ .A t t h es a m e
t i m et h ea l t e r e df o r mi s i n S V $ .S i n c eG E O Sc o d e se v e r y
c h a r a c t e rs t r a n g e l y ,a l lG E O Sf i l ee n t r i e sw i l ln o tb e f o u n d .
1 5 2 0 P u tt h ec u r r e n tt r a c ka n ds e c t o ri n t ob u f f e r0 .
1 5 4 0 S e tt h eb u f f e r p o i n t e rt o t h eb e g i n n i n go f t h eb u f f e r .W i t ht h i sw e c a nr e a d o r s a v et h e t r a c ka n ds e c t o ro f t h en e x t
b l o c k si n t h ed i r e c t o r y .
1 5 6 0 S e tt h e v a r i a b l e s f o rt h eb u f f e rp o i n t e r st o t h eb e g i n n i n go ft h ef i r s tf i l ee n t r y .
1 5 8 0 - 1 6 0 0R e a di n t h es t a r t i n gt r a c ko f t h en e x tb l o c ka n dp u ti n T N . .
1 6 2 0 - 1 6 6 0R e a di n t h es t a r t i n gs e c t o ra n dp u ti n S N . .T h ea c t u a lf i l e
n a m ei s c l e a r e d( N A $ = l f " ) .
1 6 8 0 S e t st h eb u f f e rp o i n t e r , i nt h i sc a s e , t ot h es t a r to f t h ef i r s t
f i l ee n t r y .
1 7 0 0 L o o pt h r o u g ht h e e i g h te n t r i e si n t h e s e c t o ro f t h e
d i r e c t o r y .
1 7 2 0 S e tt h e b u f f e rp o i n t e rt o t h e c o r r e c t v a l u e .T h i s v a l u ei s
c a l c u l a t e da t 2 1 2 0 .
1 7 4 0 G e tt h ef i l et y p e .I f t h ef i l ei s p r o t e c t e da g a i n s td e l e t i n g ,t h e
v a l u eF T i s c o m p a r e dw i t h6 3 u s i n gt h eA N Do p e r a t o r .
T h i sw i l ln o ta f f e c t e i t h e ro f t h ef i r s tt w ob i t s .
1 7 6 0 - 1 7 8 0G e tt h e t r a c ka n ds e c t o ro f t h ef i r s td a t ab l o c k .T h i si s a l s o
t h eb e g i n n i n go f t h ea c t u a lp r o g r a mt o w h i c ht h ef i l ee n t r y
b e l o n g s .
1 8 0 0 L o o pt h r o u g ht h e1 6 p o s s i b l ec h a r a c t e r so f t h ef i l ee n t r y :
G e t o n ec h a r a c t e r .
1 8 2 0 I f t h ec h a r a c t e ri s a < S H I F T > e d< S P A C E >( A S C I I = 1 6 0 ) ,
t h e nt h en a m ei s f i n i s h e d .
1 6 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 174/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
1 8 4 0 P u t st h ef i l e n a m et o g e t h e rf r o mt h e i n d i v i d u a lc h a r a c t e r s .
1 8 6 0 E n do f t h e l o o p .
1 8 8 0 T h eb u f f e r p o i n t e ri s s e t t o t h ef i r s tc h a r a c t e ra f t e rt h e
n a m e .T h i si s w h e r eG E O Sp u t si t sa d d i t i o n a li n f o r m a t i o n .
1 9 0 0 - 1 9 2 0 G e tt h e t r a c ka n ds e c t o ro f t h e i n f ob o xf r o mt h ef i l ee n t r y .
1 9 4 0 I f F T ( F i l e t y p e ) = 0 ,t h e nt h ef i l eh a sb e e ne r a s e d .I n t h i s
p r o g r a m ,w ed o n ' t c a r ea b o u te r a s e df i l e s .H o w e v e r ,t h i s
c o u l db e u s e dt o y o u ra d v a n t a g et o s a v ee r a s e df i l e si n
o t h e rp r o g r a m s .A l ly o u w o u l dn e e dt o d o i s a d dt h el i n e :
I F F T = 0 T H E NF T = 2 .N a t u r a l l y ,i t i s p o s s i b l ef o ra n o t h e rp r o g r a mt o h a v ew r i t t e no v e rt h ef i l es i n c ei t w a se r a s e d .T h e na g a i n ,m a y b ea n e wf i l ew a s n ' tw r i t t e no v e r
t h ef i l e ,i n w h i c hc a s et h ef i l ec a nb e s a l v a g e d .
1 9 8 0 - 2 0 0 0T h en a m ea n do t h e ri m p o r t a n t i n f o r m a t i o ni s d i s p l a y e do nt h es c r e e n .T h i s a l l o w sy o ut o s e ei f t h es u b r o u t i n ed i d
a c t u a l l yf i n d t h ef i l ew e ' r ei n t e r e s t e di n , o r i f i t f o u n ds o m e t h i n ge l s eb y m i s t a k e .
2 0 4 0 M a k es u r et h a tt h en a m eo f t h ef i l ef o u n di s t h es a m ea s t h e
f i l et h eu s e ro r i g i n a l l ya s k e df o r .T o d o t h i sw ew i l lo n l y
u s et h ef u l ln a m ei n S U $ .I f t h en a m e sa g r e e t h e nZ l = la n dt h er o u t i n e e n d s .
2 0 6 0 C h e c kt h ea l t e r e dc h a r a c t e r si n t h eG E O Sf i l ee n t r y .
2 0 8 0 T h ea c t u a ln a m ei s c l e a r e d .T h i si s i m p o r t a n t ,s i n c e t h e
i n d i v i d u a l c h a r a c t e r sw e r es t o r e de a r l i e r .I f t h e yw e r e n ' t
c l e a r e d ,t h en a m ew o u l dc o n t i n u et o g r o w .
2 1 0 0 I f y o uw a n tt o b r e a kt h e s e a r c h ,a l ly o un e e dt o d o i s p r e s s
a k e y .T h e nt h e l o c a t i o n2 0 3i s u n e q u a lt o 6 4 a n dt h e
s u b r o u t i n ei s e n d e d . T h i sw o u l db e i m p o r t a n ti f y o um i s t y p e dt h e f i l e n a m ea n dd o n ' tw a n tt o w a i tf o r t h e
p r o g r a mt o r e a l i z et h ef i l ed o e s n ' te x i s t .
2 1 2 0 S e t s t h e v a r i a b l e f o r t h eb u f f e r p o i n t e rt o t h eb e g i n n i n go f
t h en e x tf i l ee n t r y .
1 6 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 175/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
2 1 4 0 E n do f t h el o o pf o ra l le i g h tf i l ee n t r i e s .
2 1 6 0 I f t h ef i l ee n t r yi s n o tf o u n di n t h i sb l o c k o ft h ed i r e c t o r y ,
t h e nt h e v a r i a b l e sT Na n dS Na r eu s e dt o m o v et o t h en e x t
b l o c k .T h i sw i l la l l o wu s t o c o n t i n u et o s e a r c hf o r t h ef i l e
e n t r y .
2 1 8 0 T h ef i l ee n t r yi s n o tf o u n d .W er e a c h e dt h ee n do f t h ed i r e c t o r ya n dt h es u b r o u t i n ee n d s .
2 2 0 0 - 2 2 8 0G e ta c h a r a c t e rf r o mt h ed i s k b u f f e ra n dp u ti t i n A $ a n d
t h eA S C I Ie q u i v a l e n ti n A .
2 3 0 0 - C l e a rt h es p r i t eb l o c k .
2 3 6 0 - 2 3 8 0S e tt h e v a r i a b l e sf o r t h ec o o r d i n a t e so f t h eb e g i n n i n gv a l u e s .
2 4 0 0 T h ei n f o r m a t i o nf o rs p r i t e1 i si n b l o c k1 3 ( 1 3 * 6 4 = 8 3 2 ) .S p r i t e1 i st u r n e do n a n dt h ec o o r d i n a t e sa r es e tt o 3 0 , 2 0 0( l o w e rl e f tc o r n e r ) .
2 4 2 0 - A l s o ,a n e n l a r g e dp i c t u r eo f t h es p r i t ea p p e a r so n t h e
s c r e e n .T h i sr e c t a n g l et a k e su po v e rh a l fo fd i es c r e e n .
2 4 2 0 L o o pt h r o u g ha l lc o l u m n so f t h ee n l a r g e ds p r i t e .
2 4 4 0 L o o pt h r o u g he a c hl i n e .
2 4 6 0 P = a c t u a lp o s i t i o no n t h es c r e e n .
2 4 8 0 G e tt h ec o n t e n t so f t h ea c t u a lb y t e( V I% )i n t h es p r i t eb l o c k
a n dt h e p o s i t i o no f t h e a p p r o p r i a t ep i x e l s( V N % ) .v a %i s 0i f t h i sp i x e li s s e t
2 5 0 0 I f t h ep i x e li s s e t ,t h e nt h e c h a r a c t e ro n t h es c r e e ni s a " * " .
2 5 2 0 I f t h e p i x e li s n o ts e t ,t h e nt h e c h a r a c t e ri s a . ( p e r i o d ) .
1 6 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 176/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
2 5 4 0 I f t h e p o s i t i o ni s i n s i d eo f t h es c r e e n ,t h e c h a r a c t e ri s s a v e di n t h es c r e e nm e m o r y .T h i so p e n sp o s s i b i l i t i e so fc h a n g i n gt h es i z eo f t h er e c t a n g l e ,o r e v e nr e s t o r i n gt h es c r e e ni f a n ye r r o ro c c u r s .
2 5 6 0 n e x tr o w
2 5 8 0 n e x tc o l u m n
2 6 0 0 4 3 i s t h ev a l u ef o ra " + " .T h i sc r o s sa p p e a r si n t h ea c t u a l
l o c a t i o n .
2 6 2 0 C a l c u l a t et h em e m o r yl o c a t i o ni n t h es c r e e nm e m o r yf o rt h e
a c t u a lp o s i t i o n .
2 6 4 0 T h ec o n t e n t so f t h i sm e m o r yl o c a t i o ni s s a v e di n P R ,a n dt h e4 3 f o r t h e c r o s si s p l a c e di n t h es c r e e nm e m o r y .
2 6 6 0 I f t h e p o s i t i o ni s i n s i d eo f t h es c r e e nm e m o r y ,t h e nt h e" + "
i s p l a c e di n t h i sp o s i t i o n .
2 6 8 0 W a i tu n t i la k e yi s p r e s s e d .
2 7 0 0 < C R S RR T >: I f t h er i g h th a n de d g eh a s n ' tb e e nr e a c h e d ,
t h e nt h e p o s i t i o no f t h ec r o s si s m o v e dt o t h e r i g h tb y o n el o c a t i o n .
2 7 2 0 < C R S R L F T >
2 7 4 0 < C R S R D N >
2 7 6 0 < C R S R U P >
2 7 8 0 I f a * i s p r e s s e d ,a p i x e li s s e ta t t h a tl o c a t i o n ,a n dt h e
s a v e dl o c a t i o ni s c h a n g e dt o a * .
2 8 0 0 T h es p a c e b a rc a nc l e a rt h el o c a t i o n( A S C I I = 4 6 ) .
2 8 2 0 T h e< E >k e yw i l le n dt h ew o r kw i t ht h es p r i t em a s t e r .
2 8 4 0 P r e s s i n gt h e< S H I F T > e d< C L E A R / H O M E >c o m b i n a t i o n
c l e a r st h es p r i t e .T h i sm a k e sl i f ee a s i e ri f y o u w a n tt o s t a r t
o v e r .
1 6 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 177/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
2 8 6 0 R e t u r nt h es a v e dc h a r a c t e rt o t h es a m ep o s i t i o n .T h i sc a n
b e c h a n g e dw i t ha < * >o r a < S P A C E > .
2 8 8 0 I f t h el a s tk e yp r e s s e dw a sa c u r s o r k e y , t h e nt h e p o l l i n gi s
r e s t a r t e d .N o t h i n gi s c h a n g e d .
2 9 0 0 O t h e r w i s e ,t h e s u b r o u t i n ea t 3 0 0 0p l a c e st h e a c t u a l
c o n t e n t so f t h eb y t e si n t os p r i t eb l o c k( V I% )a n dt h ea c t u a l
b i ti n ( V N % ) a n dt h e p o s i t i o ni n ( V T % ) .
2 9 2 0 I f a p i x e lw a ss e t ,t h e nt h ec o n t e n to f t h es p r i t ei s O R e dw i t ht h en e wb i t .
2 9 4 0 T o e r a s ea p i x e ly o uh a v et o u s et h e c o r r e c tm a s ki n t h ef i e l dS P %( p o s i t i o no f t h eb i t ) ,a n dt h e nc l e a ri t w i t ha n
A N Do p e r a t i o n .T h ee i g h tv a l u e sf o rS P %a r ei n t h eD A T As t a t e m e n t sa t t h ee n do f t h ep r o g r a m ,a n da r ed i f f e r e n t i a t e d
b y t h el a c ko f ao n ei n e a c h o ft h e e i g h tb i tl o c a t i o n s .
2 9 6 0 R e t u r nt o t h eq u e s t i o nl o o p
2 9 8 0 - 3 1 0 0C a l c u l a t et h e p o s i t i o no f t h ep i x e li n t h es p r i t eb l o c kw h i c h
i s i n t h ee n l a r g e ds p r i t er e c t a n g l e .
3 1 2 0 E n do f w o r kw i t ht h eS p r i t eM a s t e r .T h es p r i t ei s s a v e d
a n dw er e t u r nt o t h em e n u .
3 1 4 0 - S u b r o u t i n e :S e td a t e
3 1 6 0 - 3 1 8 0S h o wt h et i t l ea n do t h e rd a t a .
3 2 0 0 - 3 3 6 0T h ev a l u e sa r es h o w no n t h es c r e e n .U s i n gt h ef i r s tt w o
c h a r a c t e r s ,t h ev a l u ec a nb e c h a n g e d( f o re x a m p l e :D Af o rD A Y ) *a n de n t e r i n gE N Dt oe x i tt h ep r o g r a m .
3 3 8 0 - 3 5 2 0A f t e rc h a n g i n ga v a l u e ,s a v et h ev a l u ea n dr e d i s p l a yt h e
d a t a .
3 5 4 0 - S u b r o u t i n e :C h a n g et h ef i l ei n t ot h eG E O Sf o r m a t .
3 5 6 0 I f t h e v a r i a b l eI T i s n o t a0 , t h e nt h e i n f ob o xi s a l r e a d y
i n s t a l l e da n dt h ec h a n g ed o e s n ! tt a k ep l a c e .
1 6 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 178/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 5 8 0 I T ,I S a r e t r a c ka n ds e c t o ro f t h ei n f ob o x .T h es t a r t i n g
v a l u ei s s e ta n dd i s p l a y e d .
3 6 0 0 T h i ss e c t o ri s c h e c k e dt o m a k es u r et h a ty o ua r en o t g o i n g
t o o v e r w r i t ea n y t h i n g .I f y o uw i l l ,t h e n a d i s ke r r o ri s
a n n o u n c e d ,a n dt h en e x tf r e es e c t o ri s d i s p l a y e d .
3 6 2 0 R e a dt h ed i s ke r r o rr e p o r t
3 6 4 0 I f a n e r r o rd o e so c c u r ,t h e nC = 0 .O t h e r w i s e ,C i s t h et r a c k ,
a n dD i s t h e s e c t o ro f t h en e x tf r e eb l o c k s .
3 6 6 0 - 3 7 0 0Y o u ra r ea s k e df o rt h eG E O Sf i l et y p e .A l t h o u g hG E O S
k n o w s m o r et h a nj u s t s i xf i l et y p e s ,t h i sp r o g r a mw i l lo n l yt a k ev a l u e sb e t w e e n1 a n d6 .
3 7 4 0 T h es e c t o rf o r t h e i n f ob o xi s r e t u r n e dt o f r e e s p a c e .
O t h e r w i s e ,t h ed i s k e t t em u s tb e s e a r c h e df o ra n o t h e rf r e e
s e c t o r .T h i ss e c t i o nl o o k sf o r t h e f r e es e c t o rf o rt h es a m e
f i l ee n t r y .
3 7 6 0 T h eb l o c kc o n t a i n i n gt h e d i r e c t o r y f o r t h ef i l ee n t r y ,m u s tb e r e r e a di n t ot h ed i s kb u f f e r .N o wt h ec h a n g e sc a nb e
m a d et o t h ef i l ee n t r y .
3 7 8 0 S e tt h eb u f f e r p o i n t e rt o t h ef i r s tb y t eb e h i n dt h ef i l e n a m e .
3 8 0 0 - 3 9 6 0W r i t et h ec h a n g e dv a l u et o t h eb u f f e r .
3 9 8 0 - 4 0 0 0 T h e s et w ol i n e sw r i t et h eb u f f e rt o t h ed i s k e t t e .N o w ,t h e
c h a n g eh a sb e e nm a d ea n ds a v e do n t h ed i s k e t t e .I n t h i s
c a s e w e w o u l dw a n t t o u s e t h e c o m m a n d
( B - W : )3 ; 0 ; A T ;A S .O fa l lt h i n g s ,t h i sc o m m a n di s n o tv e r yr e l i a b l e .I t s a v e st h ef i r s tc h a r a c t e ri n c o r r e c t l y .S i n c e
w e w a n ta v e r yr e l i a b l e ,e r r o r - f r e ep r o g r a m( e s p e c i a l l ya t
t h i sp o i n t ) ,w ed i d n o t u s et h i sc o m m a n d .
W a r n i n g :T h i sc o m m a n di s a p o w e r f u lt o o l .I t c a nt o t a l l ye r a s ey o u r
d i s k e t t ei f m i s u s e d .I f y o uw a n tt o c h a n g eF I L E M A S T E R ,p l e a s eu s et h ef o l l o w i n gg u i d e l i n e s :
1 6 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 179/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
• N e v e rs w i t c ht h eo r d e ro f t h et w ol i n e s .
• N e v e ra l l o wA T t o b e c o m el a r g e rt h a n3 5 . T h i s
c o m m a n dw i l la l l o wy o ut o w r i t et o t r a c k so v e r3 5 .
T h ef l o p p yh e a dc o u l dr e a c ht h ee n do f t h ed i s k e t t e
a n ds t r i k et h eb a c ko f t h ed r i v e ,w h i c hc a nd a m a g et h ed r i v e .
4 0 2 0 - 4 0 4 0I n f o r m a t i o n a b o u tt h e w r i t eo p e r a t i o na n dr e t u r n t ot h e
m e n u .
4 0 6 0 - 4 8 6 0T h i ss u b r o u t i n ei s u s e di n c o n j u n c t i o nw i t ht h ef i l es e a r c h
a t l i n e1 4 0 0 .T h e r ea r et w od i f f e r e n c e sb e t w e e nt h e m :
• I f t h e s u b r o u t i n ei s c a l l e df r o mt h e m e n u ,t h e n
N $ = "I " a n dt h ea c t u a ln a m eo f t h ef i l ei s i n N A $ ,a n dn o o t h e ri n f o r m a t i o ni s f o u n d .A t t h ee n do f t h e
r o u t i n e ,c o n t r o li s g i v e nb a c kt o t h em a i np r o g r a m .
• I f t h es u b r o u t i n ei s c a l l e df r o mt h es p r i t ei n p u t ,t h e ni t
w i l ls e a r c hf o rt h ef i l ee n t r y ,a n di f f o u n di t j u m p st o
t h e r o u t i n ea t 4 9 0 0 .O t h e r w i s ei t w i l lr e t u r nt o t h e
m e n u .
4 9 0 0 S u b r o u t i n et o i n p u ts p r i t e .
4 9 4 0 I f t h ef i l ee n t r yd i dn o th a v e a ni n f ob o x , t h e nI T = O ,a n d
t h es p r i t ei s n o tr e a d .
4 9 6 0 G e tt h e s e c t o ro f t h ei n f ob o xi n t h eb u f f e r .
4 9 8 0 S e tt h e b u f f e r v a r i a b l et o t h eb e g i n n i n go f t h es p r i t e .
5 0 0 0 - 5 0 8 0R e a di n t h e6 4b y t e so f t h es p r i t ef r o mt h eb u f f e ra n dw r i t e
i t t o b l o c k1 3 .A f t e r w a r d sr e t u r nt o t h em a i nm e n u .
5 1 0 0 S u b r o u t i n e :i n f ob o xi n p u t ,c h a n g ea n ds a v e .
5 1 2 0 I f t h ef i l ee n t r yd o e s n o th a v ea p o i n t e rt o t h e i n f ob o x ,t h e
s u b r o u t i n ee n d sa n dr e t u r n st o t h em e n u .
5 1 4 0 R e a dt h es e c t o rw i t ht h e i n f ob o xi n t ot h eb u f f e r .
1 6 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 180/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 1 6 0 S e tt h eb u f f e r p o i n t e rt o t h ef i r s tb y t eo f t h eb u f f e r .
5 1 8 0 S e tt h et e x tt o t h ev a l u e. ( p e r i o d ) .
5 2 0 0 - 5 2 1 5T e s tt h ef i r s tf o u rb y t e so f t h es e c t o r .T h e s em u s th a v e
s p e c i a lv a l u e s — o t h e r w i s et h i ss e c t o rd o e sn o tc o n t a i nt h e
i n f ob o x .I f e v e r y t h i n gi s a s i t s h o u l db e , t h e nt h et e x t
s h o u l db e 0 . O t h e r w i s e ,i f t h e s e c t o rd o e sn o th a v et h ei n f o
b o x , t h e nt h e r ew i l ln o tb e 0 . I f t h i si s t h ec a s e ,t h e nt h e
r e m a i n i n gt e x ti s s k i p p e d .
5 2 2 0 S e tt h eb u f f e r p o i n t e rt o t h eb e g i n n i n g o ft h eo u t p u tt e x t i n
t h ei n f ob o x .
5 2 4 0 - 5 5 6 0R e a dt h e r e m a i n i n gs i x v a l u e s .T h ef i n a lv a l u ei s
r e c o g n i z e da s a 0 . T h i sw o u l db e a p r o b l e m ,i f t h e i n f o
b o xw a sn o ti n t h es e c t o r .
5 6 0 0 - 5 7 2 0T h et e x ti s a l li n a s i n g l ef i e l d .T h e r e f o r ey o uc a nu s ea
l o o pt o o u t p u tt h e v a l u e s .
5 7 6 0 - 5 7 8 0O u t p u tl o o pf o rt h et i t l ea n dt e x t .
5 8 0 0 I n p u tt h en u m b e rt o c h a n g eo r E N Dt o q u i t .
5 8 2 0 I f t h ea n s w e ri s E N D ,t h e nc h a n g et h eb u f f e ra n dr e w r i t ei t
t o d i s k e t t e .
5 8 4 0 C h e c kt h ec o n v e r t e dn u m b e ra n dc h e c kf o rl e g a l i t y .
5 8 6 0 - 5 9 2 0E n a b l e st e x te d i t i n g .T h et e x ti s o u t p u tt o t h es c r e e na n dt h e
c u r s o rf o r t h e I N P U Tc o m m a n di s p l a c e ds o t h a tt h e
c o n t e n t sc a n b ec h a n g e d .
5 9 4 0 O u t p u tt h e e d i t e dt e x t .
5 9 8 0 - C h a n g et h ev a l u e sa n dr e w r i t e t h et e x t t ot h eb u f f e r .
6 0 0 0 S e tt h e b u f f e r p o i n t e rt o t h es t a r to f t h eb u f f e r .
6 0 2 0 S e tt h ef i r s tb y t e s .T h ee n t i r es t o r yb e h i n dt h ev a l u e sc a nb e f o u n di n C h a p t e r6 , I n s i d eG E O S .
1 6 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 181/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 0 4 0 - 6 0 8 0R e a dt h ev a l u e sf o r t h eI C O Ni n t h es p r i t eb l o c ki n t ot h e
b u f f e r .
6 1 0 0 - 6 5 6 0W r i t et h et e x t i n t ot h e b u f f e ra n ds e tt h et e x t t o0 .
6 5 7 0 T h ev a l u eI T i s c h e c k e df o rl e g a l i t yf o rb o t ho f t h en e x t
c o m m a n d s ,
6 5 8 0 - 6 6 2 0R e w r i t et h eb u f f e r .
6 6 4 0 I d e n t i f yt h e s e c t o rw i t ht h e i n f ob o x .
6 6 6 0 O u t p u tt h ee r r o rm e s s a g et o t h es c r e e n .
6 6 8 0 - 6 7 0 0R e t u r nt o t h em e n u .
6 7 2 0 - 6 7 4 0C h a n g et h ev a l u ei n x $ i n t ot w o n u m b e r si n t h ef o r m a tH I G Hb y t e / L O Wb y t e .
6 7 6 0 T h ev a l u et o c l e a r i n d i v i d u a l p i x e l si n t h es p r i t ei s i n t h e
S P %f i e l d .
1 7 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 182/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 . 2 . 3T h ef i l e m a s t e rm e n u
A f t e rf i l e m a s t e ri s s t a r t e d ,a s w e l la s a n yt i m ea k e yi s p r e s s e d ,a m e n ui s d i s p l a y e do n t h es c r e e n .H e r ea r e t h eo p t i o n s :
D I R E C T O R Y= D I R
T h i sm e n uo p t i o nd i s p l a y s t h ed i r e c t o r yo f t h ed i s k e t t e .T h en a m ea n dt h e
d i s k e t t eI D a r ed i s p l a y e d .Y o uc a nh a l tt h eo u t p u to f t h e d i r e c t o r yb yp r e s s i n ga n yk e y .T h eb e s tk e y st o p r e s s a r e t h ef u n c t i o nk e y s( F 1 - F 8 ) ,
s i n c e t h e s ed o n o tp r i n ta n y t h i n go n t h e s c r e e n .F I L E M A S T E Rc h e c k st h e
k e y b o a r do n l ya f t e re a c h c o m p l e t ef i l ee n t r yi s d i s p l a y e d .T h i si s t o m a k et h ei n p u tg o f a s t e r .T or e t u r nt o t h em a i n m e n u ,p r e s s t h e< R E T U R N >k e y .
L O A DA S P R I T E= S P L
T h i so p t i o nl o a d sa n e x i s t i n gi c o nf r o ma n yG E O Sf i l ea n ds t o r e si t i n t h e
s p r i t eb l o c k .Y o uc a ns t o r et h ei c o na s i t i s ,o r c h a n g ei t a n yw a yy o uw i s h .
F i r s to f a l l ,F I L E M A S T E Ra s k sy o ut o e n t e r t h en a m eo f t h ep r o g r a mt h a t
c o n t a i n s t h ei c o n .E n t e rt h en a m ea s i t a p p e a r si n t h ed i r e c t o r y .I f t h ef i l ei s
n o tf o u n do n t h ew o r k i n gd i s k e t t e ,s e l e c tt h eo p t i o no n t h em e n ut o s w i t c hd i s k e t t e s .I f y o us w i t c hd i s k e t t e s , a f t e rF I L E M A S T E Ri s f i n i s h e du s et h e
m e n uo p t i o nD I S Kt o r e t u r nt o t h ew o r k i n gd i s k e t t e .
W h e ny o ue n t e rt h en a m eo f t h ef i l e ,F I L E M A S T E Rs e a r c h e st h ef i l ee n t r i e s
o n t h ed i s k e t t e ,a n dp o i n t st o t h en a m e .I f t h ep r o g r a mi s f o u n d , t h e nt h e
m e s s a g er e a d i n gs p r i t ea p p e a r s ,f o l l o w e db y t h en u m b e r0 - 6 3 .
A f t e r w a r d s ,t h e m e n ur e a p p e a r s .I f t h e f i l ei s n o t f o u n d ,t h e m e n ua u t o m a t i c a l l yr e a p p e a r s .
C R E A T EA S P R I T E= C S P
T h i so p t i o na l l o w sy o ut o c r e a t ea n e wi c o n ,o r t o e d i ta p r e v i o u s l y - l o a d e
s p r i t e .Y o us h o u l dk n o wt h a ta s p r i t ei s m a d eo f 6 3 v a l u e s( b y t e s ) .E v e r yb y t ei s c o m p o s e do f e i g h tb i t s ;e a c hb i t d e s c r i b e sa p i x e l .T h e r e f o r e6 3 * 8 = 5 0 4p i x e l sf o r ma s i n g l es p r i t e .T h es p r i t eg e n e r a t o rm a k e sc r e a t i n ga
s p r i t ev e r ye a s y .B ys t a r t i n gt h es p r i t eg e n e r a t o r ,y o uc a ns e ew h a th a p p e n sa s y o ur e a da l o n g .
1 7 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 183/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h er i g h th a n da r e ao f t h e s c r e e nd i s p l a y s am a t r i x( a r e c t a n g l e )t h a t
r e p r e s e n t s t h es p r i t e .I f t h es p r i t eb l o c ka t 8 3 2i s e m p t y ,t h e ny o uh a v en o tl o a d e da s p r i t e .T h i sr e c t a n g l ei s 2 4 p i x e l sb y 2 1 p i x e l s( a t o t a lo f 5 0 4p i x e l s ) . I fy o ue n t e ra s p r i t e ,i t a p p e a r si n t h el o w e rl e f tc o r n e r .E a c hp i x e l
i n t h em a t r i xi s r e p r e s e n t e db y a * . A c r o s sa p p e a r si n t h eu p p e rl e f tc o r n e r .
T h i sc r o s si s t h ep o i n t e rt o t h e p o s i t i o ni n t h es p r i t ea s w e l la s t h ec u r s o rt o
s e tt h ep i x e l s .
F o re x a m p l e ,i f y o uw a n ta * i n a p o s i t i o n ,t h e nm o v et h ec r o s st o t h a t
l o c a t i o n ,p r e s st h e *k e y a n dt h e np r e s st h e< C R S RR T >k e y .T h i si s w h a th a p p e n s :
1 ) C u r s o rk e y s :M o v e st h ec u r s o r w i t h i nt h e m a t r i x .T h i si s t h e
m e a n so f c h a n g i n gi n d i v i d u a lp i x e l s .
2 ) < * >( a s t e r i s k )k e y :S e t st h ep i x e la t a g i v e nl o c a t i o n .T h i sa l s o
s e t st h ea p p r o p r i a t eb i ti n t h es p r i t eb l o c k .T h ec u r s o rd o e sn o t
c h a n g ep o s i t i o n .
3 ) < S P A C E >b a r :C l e a r sa p i x e li n t h es p r i t eb l o c k .
4 ) < S H I F T > < C L R / H O M E > :I n B A S I Ct h i sk e yc o m b i n a t i o nw o u l dc l e a rt h ee n t i r es c r e e n .I n s p r i t em a s t e rt h i sc l e a r st h e
e n t i r es p r i t e .S o i f y o uw a n tt o s t a r to v e r ,t h i si s t h eq u i c k e s t
w a yt o r e s e tt h es p r i t e .
5 ) < E > :E n d st h eo p e r a t i o no f t h es p r i t em a s t e rp r o g r a m a n d
r e t u r n st o t h em e n u .T h es p r i t ei s n o l o n g e r p o i n t e dt o i n b l o c k
1 3 — h o w e v e r ,i t i s n o tc l e a r e d .I f y o u w a n tt o u s et h es p r i t e
m a s t e rl a t e r ,t h e nt h es p r i t ei s s t i l lt h e r e f o ry o ut o u s e .
R E A DF I L E :R F L
T h i sc o m m a n dr e a d sa s i n g l ef i l ee n t r yf r o mt h ed i s k e t t e .E n t e rt h ef i l e n a m e ,
a n dF i l e m a s t e rs e a r c h e st h ed i s k e t t ea n dd i s p l a y st h e c o n t e n t so f t h ef i l e
e n t r y .
T of i n dt h en a m e ,y o un e e do n l ye n t e re n o u g hc h a r a c t e r sf o rt h ep r o g r a mt o
r e c o g n i z et h ef i l ey o uw a n t .T o f i n da f i l en a m e dA L A R MC L O C K ,y o u
w o u l do n l yh a v et o e n t e r t h et h r e ec h a r a c t e r sA L A .I f t h ep r o g r a mc a n n o t
f i n d t h ee n t r yw i t ht h e s et h r e ec h a r a c t e r s ,t h e ny o u w o u l dh a v et o e n t e rt h e
e n t i r ef i l e n a m ef o rt h es e a r c h .
1 7 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 184/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I f t h ef i l ei s n o ti n t h e d i r e c t o r y ,t h e nf i l e m a s t e rr e t u r n s t o t h em e n u .O t h e r w i s e ,a l lt h ei n f o r m a t i o ni n t h ed i r e c t o r yw i l lb e d i s p l a y e dT h e s ea r e :
1 ) S t a r t i n g t r a c ka n ds e c t o r :
T r a c k a n ds e c t o rw h e r et h ef i l es t a r t so n t h ed i s k e t t e .
2 ) F i l e t y p e :N o r m a lD O Sf i l e t y p e ;0 = D E L E T E D ,1 = S E Q U E N T I A L ,2 = P R O G R A M ,3 = U S E R ,4 = R E L A T I V E .O n t h e o r i g i n a l
G E O Sd i s k e t t e ,a l lf i l e so u t s i d eo f G E O Sa n dG E O SB O O Ta r e
U S E Rf i l e s .
3 ) i n f o t r a c ka n ds e c t o r :
T r a c ka n ds e c t o ro f t h e
i n f ob o x .I f b o t h
a r es e tt o
0 , t h e nt h e r e
i s n o i n f ob o x .
4 ) F i l es t r u c t u r e :
G E O Sr e c o g n i z e st w of i l es t r u c t u r e s :S E Q U E N T I A L = 0a n dV L I R = 1 .F o ry o u rp r o g r a m sy o us h o u l da l w a y su s es e q u e n t i a l .
5 ) G E O Sf i l e t y p e :
0 = B A S I C ,1 =A S S E M B L E R .F o rm o r ef i l et y p e s s e et h eI N S I D EG E O S .H o w e v e r ,t h ew a yt h ep r o g r a mi s w r i t t e nt h e n
o n l yu s e a' 0 ' o r a' 1 * .
6 ) D a t e :
T h ed a t ei s s t o r e di n f i v ep a r t s :Y e a r ,M o n t h ,D a y ,H o u r s a n d
M i n u t e s .
7 ) L e n g t ho f f i l e :
T h e n u m b e ro f s e c t o r si s t h ea m o u n tu s e db y t h ef i l eo n t h e
d i s k e t t e .
A f t e ry o up r e s st h e< R E T U R N >k e y ,F I L E M A S T E Rr e t u r n st o t h em e n u .
D I S P L A YF I L EI N F O :F D I
T h i sc o m m a n ds h o w sa l lo f t h ei n f o r m a t i o ni n a f i l ee n t r y .T h i sc o m m a n dw o r k so n l yi f a f i l eh a sb e e nr e a d .
1 7 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 185/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
C R E A T EG E O SF I L E :G E O S
T h i sc o m m a n dc o n v e r t st h ed a t ai n t h ef i l ee n t r yo n t h ed i s k e t t e .T h ep r o g r a ms e a r c h sf o ra n u n u s e db l o c kt o s t o r et h e i n f ob o x .A l ly o uh a v et o
d o i s e n t e rt h ed a t e .A f t e rt h i si s f i n i s h e d ,t h ew o r dW R I T T E Na p p e a r so nt h e s c r e e n .P r e s s i n g< R E T U R N >w i l lb r i n gb a c kt h em e n u .
I N P U T / C H A N G ED A T E :D A T E
T h i sd i s p l a y st h ed a t eo f t h ef i l e ,a n da l l o w sy o ut o c h a n g ei t T h ed e f a u l ti s
0 . Y o uc a nc h a n g e a n ye n t r yb ye n t e r i n gt h ef i r s tt w oc h a r a c t e r so f t h ef i e l d
n a m e .F o re x a m p l e :e n t e r i n ga n H Ow i l la l l o wy o ut o c h a n g et h eh o u r .Y o u
c a ne x i tt h i ss u b r o u t i n eb y e n t e r i n g t h ec o m m a n dE N D .
C H A N G ED I S K E T T E S :D I S K
T h i sc o m m a n da l l o w sy o ut o c o n v e r t af i l et h a ti s o na d i f f e r e n t d i s k e t t et h a n
t h ew o r kd i s k e t t e .A f t e rt h ed i s k e t t e sa r ec h a n g e d ,c o n t r o li s r e t u r n e dt o t h em e n u .
E N DP R O G R A M :E N D
U s et h i st o l e a v et h eF I L E M A S T E Rp r o g r a m .D o n ' te x i tt h ep r o g r a m b yp r e s s i n gt h e< R U N / S T O P >k e y .I t f sp o s s i b l et h a ts o m e t h i n gm i g h tn o tb ec o m p l e t e l ys t o r e d ,a n dt h ei n f o r m a t i o nc o u l db e l o s ti f t h ep r o g r a mi s n o t
e x i t e dp r o p e r l y .
R E A DI N F O :I N F O
T h i sc o m m a n dr e a d i e st h ei n f ob o x .B e f o r ey o uc a nu s et h i so p t i o n ,y o um u s th a v ee i t h e rl o a d e da n e x i s t i n gs p r i t e ,o r c r e a t e do n eu s i n gt h es p r i t e
m a s t e rr o u t i n e .T h eF I L E M A S T E Rp r o g r a mc h e c k st h es e c t o rw h e r et h ef i l e
e n t r y s a i d t h e i n f ob o xi s s u p p o s e dt o b e .
A f t e rt h e i n f ob o xi s f i n i s h e d ,t h e ny o uc a nc h a n g et h es i xv a r i a b l e s .I f y o u rp r o g r a mi s w r i t t e ni n B A S I C ,t h e nd o n ' tu s et h ef i r s tt h r e e .T h e s ew o n ' tb eu s e db y G E O S ,a n dt h e r e f o r es h o u l dn o tb e w r i t t e nt o d i s k e t t e .
I f y o ua r ef i n i s h e dw i t ht h ei n p u t ,t h e n t y p eE t o e n d .T h es a v e do r a l t e r e d
i n f ob o xw i l lb e w r i t t e nt o d i s k e t t e .
1 7 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 186/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 . 2 . 4U s i n gf i l e m a s t e r
T h eF I L E M A S T E Rp r o g r a ma l t e r st h ec o n t e n t so f t h ef i l ed i r e c t o r yo n ad i s k e t t e .W es u g g e s tt h a ty o uc o p yt h ep r o g r a m st o b e c o n v e r t e dt o a s i n g l e
w o r kd i s k e t t e *U s et h ew o r kd i s k e t t ef o rt h i sp u r p o s e .Y o uc a nt h e nc o p y
t h ec h a n g e dp r o g r a m st o w h a t e v e rd i s k e t t ey o uw i s hl a t e r .
F i r s t ,c o p yt h ep r o g r a mt o t h ew o r kd i s k e t t e .T h e nl o a dt h ef i l e m a s t e r
p r o g r a m ,a n ds t a r ti t w i t hR U N .I n s e r tt h ew o r kd i s k e t t ea n dp r e s sa n yk e y ;
t h em e n ua p p e a r s .T o c o n v e r tt h ep r o g r a mt o t h eG E O Sf o r m a t ,s i m p l y
p e r f o r mt h ef o l l o w i n gs t e p s :
R e a dt h ef i l ew i t ht h eR F Lc o m m a n d .W ew i l la s s u m et h a tt h ep r o g r a mi s a
B A S I Cp r o g r a m .
N o wc r e a t eo r l o a d as p r i t ef o r t h eG E O Sf i l e .I f y o un e e dt o c h a n g e
d i s k e t t e s ,t h e nu s et h eC D S Kc o m m a n d .
U s et h ed a t e c o m m a n dt o s e tt h ed a t eo f t h ef i l e .B e g i nb y s e t t i n gt h ey e a r
w i t ht h eY Ec o m m a n d .F I L E M A S T E Rw i l lt h e np r o m p ty o uf o rt h ey e a r .
W a r n i n g :W h e ne n t e r i n g d a t e i n f o r m a t i o n ,b e c a r e f u lt h a ty o ue n t e rc o r r e c td a t a — F I L E M A S T E Rd o e sn o tc h e c kt h ev a l i d i t yo f t h ed a t e .I f y o ue n t e r
s o m e t h i n gl i k e1 23 4 5 6 7 8 9 f o r t h em o n t h ,i t w i l ld e s t r o yt h e l o c a t i o n so f
e v e r y t h i n ge l s ei n t h ef i l ee n t r y ,a n dt h eG E O Sf o r m a ti s a l s od e s t r o y e d .
N o wc h o o s et h eG E O Sc o m m a n dt o a c t u a l l yp e r f o r mt h ec o n v e r s i o n .T h e
m e s s a g e 6 5N O B L O C Ki s d i s p l a y e do n t h es c r e e n .T h i si s n o r m a l ;i t ' s
t e l l i n gu s t h a tF I L E M A S T E Ri s s e a r c h i n gf o ra f r e eb l o c kt o s t o r et h e i n f o
b o x .F i n a l l y t h em e s s a g eO K 0 0 i s d i s p l a y e d .E n t e r a1 f o rt h ef i l et y p e
f o rB A S I C . T h el a s tt h i n gt o a p p e a ro n t h es c r e e ni s t h ew o r dw r i t t e n ,w h i c ht e l l su s t h a tt h ef i l eh a sb e e nc o n v e r t e d .
I f e v e r y t h i n gw e n tp e r f e c t l y ,b u tt h e r ei s s t i l ln o i n f ob o xf o rt h i s t e x t ,t h e n
t h ef o l l o w i n gm e s s a g ei s d i s p l a y e d :
0 O K 0 0
1 7 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 187/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I f t h ei n f os e c t o ri s w r i t t e n ,t h e nt h em e s s a g e :
6 5 N O B L O C K( a n dt w om o r en u m b e r s )
i s d i s p l a y e d .T h e nt h eb l o c ki s c o r r e c t l yw r i t t e n .
N o w ,y o uc a ne i t h e rq u i tF I L E M A S T E Ro r c o n v e r t a n o t h e rf i l e i fy o uw i s h .
T h el a s tt h i n gy o uw i l ld o i s c o p yt h eG E O Sf i l et o t h ew o r kd i s k e t t e ,w h e r ey o uc a nu s ey o u rp r o g r a m .
F i n a l l y ,w e w a n tt o l e a v ey o u w i t hs o m et i p s f o r w o r k i n gw i t h
F I L E M A S T E R .
A s y o ur e a dt h r o u g ho u rc o d e ,y o uu n d o u b t e d l yc a m ea c r o s s af e wo p p o r t u n i t i e st o c h a n g eo u rp r o g r a m .T od o t h i sy o uw i l lh a v et o c h a n g ea t
l e a s to n el i n eo f c o d e .W ew r o t et h ec o d es o t h a ti t i s e a s i l yu n d e r s t o o da n dv e r yf l e x i b l e ,s o t h a ty o uc a nm a k et h ec h a n g e sy o uw a n t
I f y o ua c c i d e n t a l l ye r a s ea f i l eo ny o u rG E O Sd i s k e t t e ,t h e ny o uc a nr e c o v e r
i t w i t hF I L E M A S T E R .T h i sw i l lo n l yw o r ki f y o uh a v en o ts a v e da n yf i l e s
o n t o po f t h eo n ey o uw a n tt o r e c o v e r .W h e ny o ud e l e t ea f i l e ,t h ec o n t e n t s
o f t h es e c t o ri t o c c u p i e da r en o tc l e a r e d .R a t h e r ,a f i l et y p eo f 0 i s s t o r e di n
t h ef i l ee n t r y ,a n dt h es e c t o r so f t h ef i l ea r ef r e e df o ru s e .W h e ny o uc h a n g e
t h ef i l e t y p e ,t h e nt h ef i l ei s r e s t o r e da n dr e a d yt o u s e .
I f y o uw a n tt o i n c l u d et h e s ef e a t u r e si n F I L E M A S T E R ,a l ly o uh a v et o d o i s
c h a n g et h ef o l l o w i n gl i n e s :
O l d : 1 9 4 0I F F T = 0T H E N2 0 8 0
n e w : 1 9 4 0I F F T = 0 T H E NP R I N T" * * * " ;
N o wt h ec l e a r e df i l e sa r en o to v e r w r i t t e n ,a n dc a nb e r e s t o r e d .D o i n gt h i sm a r k st h ef i l et o b e r e s t o r e d .
N o wc h a n g et h ef i l et y p ef r o m0 t o a n o t h e rv a l u e :
n e w : 3 7 6 5I F F T = 0 T H E NP R I N T # 5 , " B - P : " 3 , A B :
n e w : 3 7 7 0I F F T = 0T H E NP R I N T # 3 fC H R $ ( 1 3 0 ) ;
O l d : 3 7 2 0F S = 0 :G T = X
n e w : 3 7 2 0G T = X
1 7 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 188/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h i sw i l lc h a n g et h ef i l et y p et o a l e g a l v a l u e .I t i s r e w r i t t e nt o t h e b u f f e ra t
l i n e3 9 8 0a n di s c h a n g e do n t h ed i s k e t t e .T h i sw i l lc a u s eo n ep r o b l e m :
A f t e rw eh a v ea l t e r e da p r o g r a mw i t ht h eG E O Sc o m m a n da n ds e tt h e i n f o
b o xw i t hI N F O ,G E O Sl o a d st h ec o m m a n dV A L I D A T E .T h i sc o m m a n dc h e c k st h e s e c t o ro f t h es a v e df i l e ,a n dm a k e ss u r et h ef i l ew a ss a v e dc o r r e c t l y .
W ew i l lg o t h r o u g hh o wt h i st a k e sp l a c ew i t h as h o r te x a m p l e :
P r e t e n dy o uh a v ea t e x tf i l ey o uc r e a t e dn a m e dC O N C E P Tw i t hg e o W r i t e
a n dh a v es i n c ee r a s e d .N o w ,q u i tG E O Sa n ds t a r tu p B A S I C .L o a d
F I L E M A S T E Ra n dm a k et h ec h a n g e sd e s c r i b e d a b o v e .I n s e r tt h ed i s k e t t e
w i t ht h e" m i s s i n g "f i l ei n t h ed r i v ew i t ht h em i s s i n gf i l e .E n t e rr f l a n dt h en a m eC O N C E P T .I f t h ep r o g r a mi s f o u n d ,t h e nt h ei m p o r t a n t d a t aw o u l db e :
F i l e t y p e : 0G E O S F - T y p e :7
F i l es t r u c t u r e :1
N o wc h o o s et h eG E O So p t i o nf r o mt h em e n u ,a n dc h a n g et h ef i l et y p ef r o m
0 t o 7 . F i n a l l y ,s a v et h ec h a n g e ,a n dl e a v eF I L E M A S T E R .R e b o o tw i t hG E O S .I n s e r tt h e a l t e r e d d i s k e t t ei n t h e d r i v e .S e l e c tt h e c o m m a n dV A L I D A T E .N o wy o uc a ne i t h e rw o r ko ny o u rd a t aa g a i n ,o r p r i n ti t .
I n t h eG E O Sf i l et y p e s ,t h ep r o g r a mc a no n l yf i g u r et y p e s1 t h r o u g h6 . L i n e
3 7 0 0c h e c k st h ev a l u e s .I f y o uw a n tt o r e c o g n i z et h eA C C E S S O R Yf i l et y p e ,
s i m p l yc h a n g el i n e3 7 0 0t o c h e c kf o rw h a t e v e rt y p e sy o uw a n t( i nt h i sc a s e
G T = 7 ) .Y o ua r es t i l lr e s p o n s i b l ef o rm a k i n gs u r et h a tt h ef i l et y p ey o ue n t e r
i s a c o r r e c tv a l u e .I f y o ug i v e at e x tf i l et h ef i l et y p ef o ra B A S I Cp r o g r a m ,G E O Sw i l lt r yt o l o a dt h ef i l ea s a p r o g r a ma n dt h e nt r yt o r u ni t . O d d sa r e
t h a tt h et e x tw i l lh a n gu p t h ep r o g r a ma n dc r a s ht h ec o m p u t e r .
I f y o uw a n tt o c h a n g ea G E O Sf i l e( l i k et h ed a t eo r y o u rn a m ea s t h e
p r o g r a m m e r ) ,r e a dt h ef i l ei n f i r s t( R F L ) ,t h e nr e a dt h es p r i t ei n ( S P L ) .
N o wy o uc a nc h a n g e y o u rf i l ea n dn o tw o r r ya b o u tl o s i n gy o u rs p r i t e s .
1 7 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 189/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 3 T h ef u n c t i o n o f t h er e a l - t i m ec l o c k
G E O Su s e sa t l e a s to n eo f t h et w or e a l - t i m ec l o c k si n t h e' 6 4 .T h i sc l o c k ' s
g r e a t e s ta d v a n t a g e o v e rt h eK E R N A L - o p e r a t e dT I $c l o c ki s i t s r e l a t i v e l y
h i g hf r e q u e n c y .T h i si s s i m i l a rt o t h ew a yy o u rc l o c k / r a d i ou s e st h e
a l t e r n a t i n gc u r r e n tf r o mt h eo u t l e tf o r s y n c h r o n i z a t i o n .
B u tc l o c k sr u n" f a s t e r "i n A m e r i c at h a n t h e yd o i n o t h e rp a r t so f t h ew o r l d ,
l i k eG r e a tB r i t a i n ,A u s t r a l i a ,a n d G e r m a n y .T h ec l o c k so f t h e s ei n t e r n a t i o n a l
C o m m o d o r eo w n e r sr u nt w os e c o n d s s l o w e ri n a t e n - s e c o n d s p a nt h a n
U . S . m a c h i n e s .
A s y o u k n o w ,t h i sd i s c r e p a n c yi s d u et o t h ef a c t t h a tE u r o p e a nc u r r e n ta l t e r n a t e s1 0 H z s l o w e rt h a nt h er a t eo f U . S .c u r r e n t .U n f o r t u n a t e l y , t h e
G E O Sd e v e l o p e r sh a v en o tb e e na b l et o c o r r e c tt h i sp r o b l e mf o r i n t e n a t i o n a l
u s e r sa t t h i st i m e .T h e r ei s a p r o g r a mt h a tc a nb e u s e dt o e v a l u a t ee v e r yn e wG E O Si n s t a l l a t i o n .B u tt h er e s u l t sa r eb a s e do n a p r o g r a m m i n ge r r o r i nt h e
G E O SK E R N A L ,a n dt h ec l o c km u s tb e s e tt o 6 0H z .
B e f o r ew e s t a r td e b u g g i n g ,w e l lq u i c k l y s t u d yh o wt o p r o g r a mt h e
r e a l - t i m e c l o c k ,a s w e l la s l o o ka t s o m er o u t i n e si n t h eG E O SK E R N A L .
5 3 . 1P r o g r a m m i n gt h e c l o c k
T h e' 6 4h a st w o 6 5 2 6m i c r o c h i p sk n o w na s C I A ' s( f o rC o m p l e xI n t e r f a c e
A d a p t e r s ) .T h e s ec h i p sa r eu s e di n c o n j u n c t i o nw i t hi n p u ta n do u t p u tt o
d i f f e r e n tp e r i p h e r a l s( k e y b o a r d , d i s kd r i v e ,j o y s t i c k s ,e t c . )a n d ,i n a d d i t i o n ,
c o n t r o la t w e n t y - f o u rh o u rc l o c kw i t ha p r o g r a m m a b l ea l a r m .
O ft h e1 6r e g i s t e r s ,w e ' l lo n l yd i s c u s st h o s et h a ta r e r e l e v a n tt o t h ep r o b l e mw i t ht h ec l o c k .T h er e g i s t e rn u m b e r sa r er e l a t e dt o t h ef i r s tm e m o r yl o c a t i o n s f o rt h ed i f f e r e n tC I A ' s .
1 7 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 190/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h et i m er e g i s t e r
T h e r ea r ef o u rr e g i s t e r s t h a tc a nb ec o n t r o l l e dt o w o r kw i t ht h ea c t u a lt i m e ,i n B C Df o r m a t :
R e g i s t e r# C o n t e n t s
$ 0 8 l / 1 0 t hs e c o n d s$ 0 9 S e c o n d s$ 0 A M i n u t e s$ 0 B H o u r s
A l lr e g i s t e r sc a nb e r e a do r w r i t t e nt o .W h i l er e a d i n gt h ed a t af r o ma c l o c k
r e g i s t e r ,t h et i m ec a n n o tb e u p d a t e d .T h i sm e a n st h a tt h e l / 1 0 t hs e c o n dr e g i s t e ri s f r o z e n .( T h ec l o c ki t s e l fc o n t i n u e st o r u n ) .
W h e nw r i t i n gt o t h ec l o c kr e g i s t e r s ,t h ec l o c ks t o p sj u s tl o n ge n o u g hf o r t h e
l / 1 0 t hs e c o n dr e g i s t e rt o b e s e t ,a n dt o c h e c kt h es y n c h r o n i z a t i o n .
T h ec o n t r o lr e g i s t e r( $ 0 E )
O n l yt w ob i t sa r en e e d e dt o c o n t r o l t h ec l o c k .T h e s ea r et h el a s tt w ob i t so f
t h eC I Ar e g i s t e r .
B i t7 d e t e r m i n e si f y o u rc l o c ki s r u n n i n gp r o p e r l y .I f y o ua r er u n n i n ga t 5 0H z ,t h e nt h i sb i tm u s ta l w a y sb e s e tt o 1 .
B y s o l v i n gt h i sp r o b l e m ,w e h a v ea c t u a l l yt a k e no u r s e l v e sf u r t h e ra w a yf r o ms o l v i n gt h es e c o n dp r o b l e m .T h es e c o n dc o n t r o lb i t ,w h i c hc a nb ef o u n di n t h es a m ep o s i t i o ni n r e g i s t e r$ 0 F , d e t e r m i n e si f a s u b s e q u e n tw r i t e
o p e r a t i o n su s e st h en o r m a lc l o c ko r t h ea l a r mc l o c k( b i t7 = 1 ) .
T h es a m em e m o r yr e g i s t e ri s u s e df o rs e t t i n gb o t h c l o c kt i m ea n da l a r mt i m e ,a s w e l la s f o rr e a d i n gt h ec l o c k .T h i si s t h er e a s o nw h yy o uc a n f tr e s e t
t h ea l a r mc l o c k .
( Y o uc o u l ds o l v et h i sp r o b l e mb y s e t t i n gt h ea l a r mt i m ei n p u ti n a n o t h e r
m e m o r yr e g i s t e r . )
1 7 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 191/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
A l a r mo u t p u t
T ok e e pt h ea c t u a lt i m ei n s y n c hw i t ht h et i m ei n t h ea l a r mc l o c k ,y o um u s t
a l s oc o r r e c t l yh a n d l er e g i s t e r$ 0 D( t h eI n t e r r u p tC o n t r o lR e g i s t e r ,o r I C R ) .
G E O Sa u t o m a t i c a l l ys e t sb i t2 o f t h i sr e g i s t e rw h e n e v e rt h ea l a r mi s s e t .
T h i sb i ti s i n s p e c t e de v e r yc y c l e .T h e na l a r mi s e v e n t u a l l ys o u n d e dw h e nt h ei n t e r v a lh a se x p i r e d .T h i sb y t ei s c l e a r e da f t e re v e r y r e a dt o e n s u r et h a t
e v e r ys e ta l a r mw i l lb e s o u n d e d .F o rm o r ei n f o r m a t i o no n t h eC I A ,s e eT h eA n a t o m yo f t h eC o m m o d o r e6 4 , C h a p t e r8 .
5 3 . 2 .T h er o u t i n e si n G E O S
T oa d j u s tt h et i m ea n da l a r mt h e r ei s a p r o g r a mo n t h eG E O Sd i s k e t t et h a ti s
c a l l e da l a r mC L O C K .Y o uc a nu s et h ep r o g r a mt o s e ti m p o r t a n td a t e s .F o r
t h i st o w o r kc o n t i n u a l l y , t h eK E R N A Lr o u t i n e sm u s tc h e c kt h ec y c l e s .I f a na l a r mi s s e tf o ra s p e c i f i ct i m e ,t h e na n a u d i o / v i s u a la l a r mi s s o u n d e d .
T h ed a t ec a l c u l a t i o nr o u t i n e sa r e r e l a t e dt o t h e r e a l - t i m e c l o c k .I f y o u V ee v e rl e f ty o u r c o m p u t e rr u n n i n go v e r n i g h t ,y o uk n o wt h eP r e f e r e n c eM a n a g e ra u t o m a t i c a l l yu p d a t e st h en e wc a l e n d a rd a t e .
I f t h e d a t ei s F e b r u a r y2 8 t ho f a l e a py e a r ,G E O Sa l s oh a n d l e st h i s
c o r r e c t l y .B o t ht h ec l o c kr o u t i n ea n dt h ed a t ec a l c u l a t i o nr o u t i n ew o r kt o g e t h e r .T h ed a t e r o u t i n ei s a c c e s s e df r o mt h eK E R N A La t $ C 2 C 8 .
I f y o uu s ea d i s k m o n i t o r , t h e ny o uc a ns e ew h a tw e a r et a l k i n g a b o u t .
Y o u ' l lf i n d t h ed a t ea n da l a r mr o u t i n e si n t h e$ C 2 C 8r e g i o n .O t h e rr o u t i n e s
t h a tG E O Su s e si n n o r m a lo p e r a t i o n sd u r i n ge a c hc y c l ea r el o c a t e di n
$ C 2 D 1t h r o u g h$ C 2 D 4 .F o l l o w i n gt h e s e a r er o u t i n e s f o r t h em o u s e .
B o t ho f t h e s es u b r o u t i n e sa r ed o c u m e n t e d .T h ef i r s ti s i n R A Ma t $ F 3 9 0 .T h es e c o n d c a nb e f o u n da f t e r$ F 9 E D .
1 8 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 192/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
* * * * * * * * * * * * * * * * * * * * * * * *
f 9 3 0
f 9 3 2
f 9 3 3
f 9 3 5
f 9 3 7
f 9 3 8
f 9 3 b
f 9 3 d
f 9 4 0
f 9 4 3
f 9 4 5
f 9 4 7
f 9 4 a
f 9 4 c
f 9 4 f
f 9 5 2
f 9 5 4
f 9 5 6
f 9 5 8
f 9 5 a
f 9 5 df 9 5 f
f 9 6 0
f 9 6 1
f 9 6 3
f 9 6 4
f 9 6 7
f 9 6 a
f 9 6 d
f 9 7 0
f 9 7 3
f 9 7 6
f 9 7 9
f 9 7 c
f 9 7 f
f 9 8 0
f 9 8 2
f 9 8 3
a 5
4 8
a 9
8 5
7 8
a d
2 9
8 d
a d
c 9
3 0
2 c
3 0
2 0
a d
2 9
c 9
d O
a 9
2 c
1 0f 8
1 8
6 9
d 8
2 0
8 d
a d
2 0
8 d
a d
2 0
8 d
a d
6 8
8 5
5 8
6 0
0 1
3 5
0 1
d c
7 f
d c
1 9
0 c
0 8
0 b
0 3
8 4
0 b
I f
1 2
0 2
0 0
0 b
0 5
1 2
d 9
1 9
0 a
d 9
l a
0 9
d 9
l b
0 8
0 1
O f
O f
8 5
d c
f 9
d c
d c
f 9
8 5
d c
f 9
8 5
d c
f 9
8 5
d c
I d a
p h a
I d a
s t a
s e i
I d a
a n d
s t a
I d a
c m p
b i r d
b i t
b m i
j s r
I d a
a n d
c m p
b n e
I d a
b i t
b p ls e d
c l c
a d c
e l d
j s r
s t a
I d a
j s r
s t a
I d a
j s r
s t a
I d a
p l a
s t a
c l i
r t s
$ 0 1
# $ 3 5
$ 0 1
$ d c 0 f
# $ 7 f
$ d c 0 f
$ 8 5 1 9
# $ 0 c
$ f 9 4 f
$ d c 0 b
$ f 9 4 f
$ f 9 8 4
$ d c 0 b
# $ l f
# $ 1 2
$ f 9 5 a
# $ 0 0
$ d c 0 b
$ f 9 6 4
# $ 1 2
$ f 9 d 9
$ 8 5 1 9
$ d c 0 a
$ f 9 d 9
$ 8 5 1 a
$ d c O 9
$ f 9 d 9
$ 8 5 1 b
$ d c O 8
$ 0 1
* T i m ea n d D a t e R o u t i n e s
s a v eo l d m e m o r y c o n f i g u r a t i o n s
t u r n o n I / Or e g i o n
s w i t c h a l a r mi n p u tt o t i m ei n p u t
c o n t e n t so f h o u r si n h e x - f o r m a t
( 0 - 2 4 h r )
i s i t a f t e r n o o n ?
n o : c o n t i n u e
i s t h e p m f l a g s e t ?
y e s : c o n t i n u e
o t h e r w i s e :s e t d a t e a n dn e wd a y
g e t h o u r s
c l e a rP M f l a g
c o m p a r e w i t h1 2 h o u rc l o c k
u n e q u a l :c o n t i n u e
o t h e r w i s e :s e t b a c kt o 0
a m / p mt e s t
a m : c o n t i n u e
a d d 1 2 f o r 2 4 h rc l o c k
c h a n g eh o u r s( B C D )i n h e x a d e c i m a l
a n d s t o r e
g e t m i n u t e s
c h a n g et o h e x
a n d s t o r e
g e t s e c o n d s
c h a n g et o h e x
a n d s t o r e
g e t l / 1 0 t h s e c o n d s
r e s t o r e o l dm e m o r yc o n f i g u r a t i o n
1 8 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 193/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
* * * * * * * * * * * * * * * * * * * * * * * *c a l c u l a t e d a y
f 9 8 42 0 b 4 f 9 j s r $ f 9 b 4p u t n u m b e ro f d a y s i n t h i s m o n t h
i n t o a c c u m u l a t o r
f 9 8 7c d 1 8 8 5 c m p $ 8 5 1 8a n d c o m p a r e w i t h t o d a y ' s d a t e
f 9 8 af O 0 4 b e q $ f 9 9 0s a m e :a d d o n e t o m o n t h
f 9 8 ce e 1 8 8 5i n c $ 8 5 1 8o t h e r w i s e :o n l y i n c r e m e n td a y
f 9 8 f 6 0 r t s
* * * * * * * * * * * * * * * * * * * * * * * * Q a i c u ] _ a t em o n t ha n d y e a r
f i r s t d a y o f t h e m o n t h
i n c r e m e n tm o n t h
e n d o f t h e y e a r ?
n o t y e t , c o n t i n u e
o t h e r w i s e : J a n u a r y
i n c r e m e n ty e a r
e n d o f t h e c e n t u r y ?
n o : c o n t i n u e
o t h e r w i s e :y e a r= 0
* * * * * * * * * * * * * * * * * * * * * * * * * * * g - e tn u m b e ro f d a y st h i s
* * * * * * * * * * * * * * * * * * * * * * * * * * * m o n t h ,s o f a r
f 9 b 4a c 1 7 8 5 l d y $ 8 5 1 7 c o n t e n t so f a c t u a lm o n t h
f 9 b 7 8 8 d e y
f 9 b 8 b 9c d f 9 I d a $ f 9 c d , yg e t n u m b e ro f d a y sf r o m t a b l e
s a v e
f e b r u a r y( d e c r e m e n tb y 1 )
n o : c o n t i n u e
o t h e r w i s e :g e t y e a r
t e s t f o r l e a py e a r
n o t l e a py e a r :c o n t i n u e
o t h e r w i s e :f o r g e t v a l u e
n e w v a l u e= 2 9
f 9 9 0
f 9 9 2
f 9 9 5
f 9 9 8
f 9 9 b
f 9 9 d
f 9 9 f
f 9 a l
f 9 a 4
f 9 a 7
f 9 a a
f 9 a c
f 9 a e
f 9 b O
f 9 b 3
a 9
8 d
e e
a d
c 9
d O
a 9
8 d
e e
a d
c 9
d O
a 9
8 d
6 0
0 1
1 8
1 7
1 7
O d
1 4
0 1
1 7
1 6
1 6
6 4
0 5
0 0
1 6
8 5
8 5
8 5
8 5
8 5
8 5
8 5
I d a
s t a
i n c
I d a
c m p
b n e
I d a
s t a
i n c
I d a
c m p
b n e
I d a
s t a
r t s
# $ 0 1
$ 8 5 1 8
$ 8 5 1 7
$ 8 5 1 7
# $ 0 d
$ f 9 b 3
# $ 0 1
$ 8 5 1 7
$ 8 5 1 6
$ 8 5 1 6
# $ 6 4
$ f 9 b 3
# $ 0 0
$ 8 5 1 6
f 9 b b
f 9 b c
f 9 b e
f 9 c O
f 9 c 3
f 9 c 5
f 9 c 7
f 9 c 8
f 9 c a
f 9 c b
f 9 c c
f 9 c d
f 9 c e
4 8
c O
d O
a d
2 9
d O
6 8
a 9
6 0
6 8
6 0
I f
l c
0 1
0 b
1 6
0 3
0 4
I d
p h a
c p y
b n e
8 5 I d a
a n d
b n e
p l a
I d a
r t s
p l a
r t s
? ? ?
? ? ?
# $ 0 1
$ f 9 c b
$ 8 5 1 6
# $ 0 3
$ f 9 c b
# $ l d
1 8 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 194/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
f 9 c f I f ? ? ?
f 9 d Ol e I f l e a s l $ l e l f , x
f 9 d 3 I f ? ? ?
f 9 d 4 I f ? ? ?
f 9 d 5 l e I f l ea s l $ l e l f f x
f 9 d 8 I f ? ? ?
* * * * * * * * * * * * * * * * * * * * * * * * c h a n g e2 B C D ' st o 1 h e x
f 9 d 94 8 p h a s a v eB C Dv a l u e
f 9 d a2 9 f O a n d # $ f O g e t l e f t m o s t n i b b l e
f 9 d c4 a l s r a n d r o t a t et o r i g h t
f 9 d d4 a l s r
f 9 d e 4 a l s r
f 9 d f 4 a l s r
f 9 e Oa a t a x m a r k n u m b e r
f 9 e l 6 8 p l a g e t B C Dn u m b e r
f 9 e 22 9 O f a n d # $ O fc l e a rl e f t h a l f
f 9 e 41 8 c l c a n d a d dX t i m e s1 0
f 9 e 5c a d e x
f 9 e 6 3 0 0 4 b m i $ f 9 e c
f 9 e 8 6 9 0 a a d c # $ 0 a
f 9 e ad O f 9 b n e $ f 9 e 5
f 9 e c 6 0 r t s
H e r ea r es o m et h i n g s t ol o o kf o ri n t h el i s t i n g :
T h er e a l - t i m ec l o c ku s e st h ef i r s tC I Ap o r tl o c a t i o n ,l o c a t e da t $ D C 0 0 . A tt h es a m et i m eG E O Sk e e p si t s t i m ei n n o r m a lm e m o r yi n h e x a d e c i m a lf o r m a t ,a n du s e st h e s er o u t i n e st o c o n v e r tb a c ka n df o r t h .T h i sr e s u l t si n t h e
f o l l o w i n gr u l e s( t h el / 1 0 t hs e c o n dl o c a t i o ni s n o tu s e d ) :
$ 8 5 1 9 H o u r s$ 8 5 1 A M i n u t e s
$ 8 5I B S e c o n d s
S i n c et h e r ei s n o r e g i s t e r i nt h eC I Af o rt h ed a t e ,i t i s f o u n di n R A M ,a n di s
t a k e nd i r e c t l yf r o mm e m o r y :
$ 8 5 1 6$ 8 5 1 7$ 8 5 1 8
Y e a r
M o n t h
D a y
1 8 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 195/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
a * * * * * * * * * * * * * * * * * * * * * * * * A l a r mo u t p u t
f 9 e d
f 9 e f
f 9 f O
f 9 f 2f 9 f 4
f 9 f 7
f 9 f 9
f 9 f a
f 9 f c
f 9 f e
f a O l
f a O 3
f a O 5
f a O 7
f a O 9
f a O c
a 5
4 8
a 9
8 5
a d
8 5
6 8
8 5
a 5
2 c
1 0
2 9
f O
a 9
8 d
a 9
0 1
3 5
0 1
O d
0 4
0 1
0 4
l c
1 8
0 4
l c
4 a
l c
0 0
I d a
p h a
I d a
s t a
d c I d a
s t a
p l a
s t a
I d a
8 5 b i t
b p l
a n d
b e q
I d a
8 5 s t a
I d a
$ 0 1
# $ 3 5
$ 0 1
$ d c 0 d
$ 0 4
$ 0 1
$ 0 4
$ 8 5 1 c
$ f a l b
# $ 0 4
$ f a 2 3
# $ 4 a
$ 8 5 1 c
# $ 0 0
f a O ec d a d 8 4 c m p $ 8 4 a d
f a l l d O 0 5 b n e $ f a l 8
f a l 3 c d a e 8 4 c m p $ 8 4 a e
f a l 6 f O 0 3 b e q $ f a l b
f a l 8 6 c a d 8 4 j m p ( $ 8 4 a d )
f a l b 2 c l c 8 5s t a $ 8 5 1 c
f a l e 5 0 0 3 b v c $ f a 2 3
f a 2 0 2 0 2 4 f a j s r $ f a 2 4
f a 2 3 6 0
S a v eo l d m e m o r yc o n f i g u r a t i o n
f a d ei n I / Or e g i o n
G e t a l a r ms t a t u s
a n d s a v e
o l d m e m o r yc o n f i g u r a t i o n
A l a r ms t a t u s
I s a n a l a r mt i m es e t ? ( b i t 7 = 1 )
N O : C o n t i n u e
I s a l a r ms e t t o g o ?
N O : F i n i s h e d
Y E S :G e t v a l u ef o r 1 0 b e e p s
( s e t b i t 7 t o 0 , t h e a l a r m
w i l l b eh a n d l e d . )
T e s t a d d r e s s e s $ 8 4 a d / $ 8 4 a e
f o r a j o b
N o a l a r mj o b / o u t p u t
n o r m a l G E O Sb e e p ,o t h e r w i s ej u m pt o j o b
A l l b e e p s d o n e ?
Y E S : C o n t i n u e
N O : T a k ec a r e o f b e e p s
* * * * * * * * * * * * * * * * * * * * O u t p u t a l a r ms o u n d s
W a i tf o r s y s t e mI R Qu n t i l
d e c r e m e n t e dt o 0
n o t 0 : P e r h a p s n e x tt i m e
S a v eo l d m e m o r yc o n f i g u r a t i o n
B l e n di n I / O r e g i o n
f a 3 2b d 5 4 f a I d a $ f a 5 4 f x S o u n d d e v i c e w i t h d a t e
f a 3 59 d 0 0 d 4 s t a $ d 4 0 0 , xi s r e t r i e v e df r o m t a b l e
* * * ( s o u n d sn o w )
f a 3 8 c a d e x
f a 2 4
f a 2 7
f a 2 9
f a 2 b
f a 2 c
f a 2 e
f a 3 0
a d
d O
a 5
4 8
a 9
8 5
a 2
l b 8 8
2 a
0 1
3 5
0 1
1 8
I d a
b n e
I d a
p h a
I d a
s t a
l d x
$ 8 8 1 b
$ f a 5 3
$ 0 1
# $ 3 5
$ 0 1
# $ 1 8
1 8 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 196/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
f a 3 9 1 0 f 7 b p l $ f a 3 2
f a 3 ba 2 2 1 l d x # $ 2 1
f a 3 d a dl c 8 5 I d a $ 8 5 1 c
f a 4 02 9 3 f a n d # $ 3 f
f a 4 2d O 0 1 b n e $ f a 4 5
f a 4 4a a t a x A c c u m u l a t o r= 0 : t u r n o f fa l a r m
f a 4 5 8 e 0 4d 4 s t x $ d 4 0 4C o n t r o l r e g i s t e ri s s e t t o v o i c e1
f a 4 8 6 8 p l a R e s t o r e o l dm e m o r yc o n f i g u r a t i o n
f a 4 9 8 5 0 1 s t a $ 0 1
f a 4 ba 9 l e I d a # $ l e S e t a n e w v a l u ef o r t h e i n t e r v a l
p a u s e
f a 4 d8 d l b 8 8 s t a $ 8 8 1 b
f a 5 0c e l c 8 5 d e c $ 8 5 1 cD e c r e m e n t n u m b e ro f b e e p s
f a 5 3 6 0 r t s
T h i n g st o l o o kf o ri n t h el i s t i n g :
Y o u l ln o t i c ew h e ne v a l u a t i n gt h ed a t et h a tt w om e m o r yl o c a t i o n sa r e
s w i t c h e d .H o w e v e r ,t h ef u n c t i o no f t h e s el o c a t i o n si s n o ts p e c i f i e di n t h e
l i s t i n g :
1 . T h es t a t u sr e g i s t e r- $ 8 5 1 C
W h e n e v e ry o us e ta t i m ef o r t h eA L A R MC L O C K ,y o ua l s os e tt h e7 - b i ta tt h i sa d d r e s s .T h i si s t h e b a s i sf o rt h ed e c i s i o nw h e t h e ro r n o ta n a l a r mh a s
b e e ns e ti n t h ep r e v i o u sc o d e( s e e$ F 9 F E ) .I f a n a l a r mh a sb e e ne n t e r e d ,
a n db i t2 o f t h eI C R( $ D C 0 D )i s s e t ,t h e nt h es t a t u sr e g i s t e ri s l o a d e dw i t h
t h ev a l u e# $ 4 A .A s l o n ga s b i t6 i s s e t ,t h e n$ F A 2 0i n t h ea l a r ms o u n dg e n e r a t o ri s s t a r t e d .T h i ss u b r o u t i n eg e t st h ev a l u e sf o r t h es o u n dg e n e r a t o r
o u t p u tf r o ma t a b l e ,l o c a t e da t $ D 4 0 0 ,t h e ns t a r t sp r o d u c i n gs o u n dw h i l e
a n yo f t h eb i t s0 t h r o u g h5 a r es e t( $ F A 3 B- $ F A 4 5 ) .T h ed a t af o r t h es o u n dg e n e r a t o ri s c h o s e nt o p r o d u c ea s h o r tt o n et h a td i e so f fq u i c k l y .
F i n a l l y ,t h eb e e pc o u n t e ri n $ F A 5 0i s d e c r e m e n t e db y 1 .
2 . T h ei n t e r v a lr e g i s t e r- $ 8 8 1 B
A t f i r s tg l a n c e ,i t i s d i f f i c u l tt o d e t e r m i n et h ep u r p o s eo f t h i sl o c a t i o n .I t i s
a c c e s s e db y t h eI R Qr o u n t i n e( I n t e r u p tR e q u e s t ) ,w h i c hi s a c t i v a t e dw h e na
s i g n a li s d e t e c t e do n o n eo f t h el i n e s .T h em a i nG E O Sl o o pi s h a l t e dj u s t
l o n ge n o u g ht o c h e c kt h ek e y b o a r di n p u t ,r e a dt h e j o y s t i c kp o r t ,p e r f o r mi n p u ta n do u t p u t .
1 8 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 197/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I n t h e a r e a$ E 3 2 1 ,t h i sl o c a t i o n$ 8 8 I Bi s d e c r e m e n t e db yo n e :
$ E 3 2 1L D X $ 8 8 1 B
$ E 3 2 4B E Q $ E 3 2 A
$ E 3 2 6D E X
$ E 3 2 7 S T X $ 8 8 1 B
$ E 3 2 A. . .
A f t e rt h eI R Qi s c o m p l e t e ,t h ec o m p u t e rr e t u r n st o t h ei n t e r r u p tr o u t i n es o
t h a tt h ep r o g r a mc a nc o n t i n u et o r u n — a tl e a s tu n t i lt h en e x t t i m ea n i n t e r r u p t
r e q u e s tc o m e sa l o n g .
I f y o ul o o kr e f e r t ot h es o u n do u t p u ts u b r o u t i n ea g a i n ,y o uw i l lu n d e r s t a n d
t h ep u r p o s eo f t h er e g i o na t $ F A 2 4 .L o c a t i o n$ 8 8 I Bd e t e r m i n e st h ep a u s eb e t w e e nt h eb e e p s .I f t h i sr e g i s t e ri s n o tc l e a r e d ,a b e e pi s n o ts o u n d e da n dt h e" B e e p - C o u n t e r "i s n o t d e c r e m e n t e d .W h e ni t i s s e tb a c kt o z e r ob y t h e
i n t e r r u p tr o u t i n e ,t h en e x ts o u n di s p r o d u c e d .A t $ F A 4 Ba n e ws t a r t i n g
v a l u er e p r e s e n t i n g t h ep a u s ei n t e r v a li s p l a c e di n t h er e g i s t e r .
1 8 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 198/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 . 3 3T h et i m ea t a g l a n c e
I s n ' ti t a n n o y i n gt o h a v et o l o a dt h eP r e f e r e n c eM a n a g e ro r A L A R MC L O C Kt o s n e a ka q u i c k l o o ka t t h ec l o c k ?
I f y o ut h i n ks o t o o ,h e r e ' sa p r o g r a mt h a tc o n s t a n t l y d i s p l a y s t h et i m e( i n
2 4 - h o u rf o r m a t )i n t h eu p p e rl e f tc o r n e ro f t h es c r e e n .
W eh a v ea l s om a d ea c h a n g et o t h ea l a r mo u t p u tr o u t i n e .T h ea l a r ms i g n a l
i t s e l fi s a s o u n df r o mt h ec o m p u t e r a n da q u i c kf l a s ho n t h em o n i t o r .
T h e r ew a so n ep r o b l e mw i t hi m p l e m e n t i n gt h i sp r o g r a m :t h e r ei s n or o o mi n
m e m o r yf o rt h ep r o g r a m !G E O Sd o e sn o tl e a v ea n ys p a r em e m o r y .
H o w e v e r ,w e f o u n d a na r e ai n t h eK E R N A Lt h a tw e c o u l d u s ew i t h o u t
l o c k i n gu p t h es y s t e m .T h i sm e a n st h a tw ec a nu s et h er o u t i n e sw i t hw h i c hy o ua r ea l r e a d yf a m i l i a r .W ec a nh a n d l ea l lo f t h eh o u r si n t h ed a yf a i r l y
e a s i l y .H o w e v e r ,t h eh o u rw e h a v et o p a ya t t e n t i o nt o i s m i d n i g h t .A tm i d n i g h tw e h a v et o c h a n g et h ed a t e ,a s w e l la s t h et i m e .H o w e v e r ,w em a d et h ea s s s u m p t i o nt h a tm o s tp e o p l ew h ou s eG E O Sw i l ln o tu s et h e
p r o g r a ma t t h a tt i m eo f n i g h t .T h e r e f o r e ,i t w a se a s i e r t oj u s te l i m i n a t et h i s
e x c e p t i o n .
A sy o uc a ns e e ,w ec a nh a n d l e e v e r yh o u ro f t h ed a yi n t h es a m em a n n e r —w ed o n f th a v et o l o o ka t e v e r yh o u rt o c h a n g et h ed a t e .
T h ep r o g r a mi s l o a d e di n t om e m o r ys t a r t i n g a t$ 7 0 9 0 .T h ef i r s tp a r to f t h e
p r o g r a mi s a w i n d o wt h a ta s k sw h e t h e ro r n o ty o uw a n tt o c o n s t a n t l y
d i s p l a y t h et i m e .D e p e n d i n go ny o u ra n s w e r ,i t w i l l e i t h e rl o a dt h eo l d o rt h e
n e wr o u t i n ei n t o t h eK E R NA L .
1 8 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 199/314
A b a c u sS o f t w a r e
miiw .mi
■
1i
I
7 f i l e s
i F - M l9
F ! L E - M f t 5
2 2 Bf i n i t e«
\\
■
1 1 ■ i i i i l i i B B i m m
g r a n
■
G E O SI n s i d ea n d O u t
" ■ ' • ■ ' ' M
V E S1 | N O | p l i i l l B
, i . n n r n , i . i r — mi m i f c l w I l P ^
F i g u r e7 4 :C o n s t a n td i s p l a yc l o c kw i t hw i n d o w
I f y o uo n l yn e e dt o s e et h ec l o c ko n c eo r t w i c eu s i n gt h eP r e f e r e n c e
M a n a g e r ,t h e ns i m p l ya n s w e rn o t o t h e q u e s t i o n .I f t h i si s t h ec a s e ,t h eo r i g i n a lK E R N A Lc l o c kr o u t i n ei s c o p i e di n t om e m o r y .
O u rp r o g r a mi s d i v i d e di n t ot h r e ep a r t s :
1 ) T h eg r a p h i c o u t p u ta r e af o r t h et i m ed i s p l a y .
2 ) T h ed a t ec h a n g ef r o mt h eo r i g i n a lp r o g r a m .
3 ) T h ew i n d o ww i t ht h eY e so r N oq u e s t i o n .
I n t h e s h o r tt e r mt h e r ei s e n o u g hr o o mi n t h en o r m a lp r o g r a mm e m o r yf o r
b o t ht i m er o u t i n e s .H o w e v e r ,o n c ey o ul o a da p r o g r a ml i k eg e o P a i n t ,t h e n
t h a tr e g i o ni s n o l o n g e ra v a i l a b l e .T h ep r o g r a mi s o v e r w r i t t e nt h em o m e n ty o ut r yt o d r a wa c i r c l e .
N o wh e r ei s t h ep r o g r a m .Y o uc a ne n t e rt h ep r o g r a md i r e c t l yi n t om e m o r ys t a r t i n ga t $ 7 0 9 0w i t ha n a s s e m b l e r , t h e ns a v et h em e m o r ya r e ad i r e c t l y t o
d i s k e t t e .F o rt h o s eo f y o uw h od o n ' th a v ea n a s s e m b l e r ,w eh a v el i s t e dt h e
p r o g r a mi n D A T As t a t e m e n t sa s a B A S I Cp r o g r a m ,w h i c hw r i t e s t h e
p r o g r a md i r e c t l y t od i s k e t t e .
1 8 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 200/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I n b o t hc a s e sy o uw i l lh a v et o c o n v e r tt h ep r o g r a mi n t oG E O Sf o r m a t .T od o t h i s ,l o a dt h eF I L E M A S T E Rp r o g r a m ,a n dp e r f o r mt h ef o l l o w i n gs t e p s :
1 ) F i r s tc r e a t ea n i c o n( C o m m a n dC S P ) .Y o uc a na l s ou s ea ne x i s t i n gi c o n ( S P L ) ,a n dc a ne v e nm o d i f yt h ei c o ni f y o uw i s h .
2 ) R e a dt h ef i l e( C o m m a n dR F L ) .
3 ) E n t e rt h e d a t ew i t ht h eD A T Ec o m m a n d .
4 ) C o n v e r tt h ep r o g r a mu s i n gg e o s .A n s w e rt h eq u e s t i o na b o u t
f i l et y p ew i t ha 5 ( = D E S K A C C E S O R Y ) .5 ) N o wr e a di n t h e i n f ob o xw i t hI N F Oa n dg i v ei t t h ef o l l o w i n g
a d d r e s s e s :
S T A R TA D D R E S S: 2 8 8 1 6( 28 8 1 4i f e n t e r e dw i t h am o n i t o r )
E N DA D D R E S S: 2 9 5 0 4
I N I T I A L I Z A T I O N : 2 8 8 1 6
W h e ny o ua r e f i n i s h e dw i t ht h ec o n v e r s i o na n d h a v et y p e de n d ,n o t h i n g
m o r ei s n e e d e d .
5 2 0 0
5 2 0 1
5 2 0 3
5 2 0 5
5 2 0 6
5 2 0 7
5 2 0 9
5 2 0 B
5 2 0 D
5 2 0 F
5 2 1 1
5 2 1 3
5 2 1 5
5 2 1 8
5 2 1 B
5 2 I E
5 2 2 0
5 2 2 3
5 2 2 6
5 2 2 8
5 2 2 A
5 2 2 C
7 8
A 2 0 0
B 5 0 2
4 8
E 8
E 0 0 4
D O F 8
A 2 9 1
A 0 5 2
8 6 0 2
8 4 0 3
A 9 2 C
8 D C D
8 D 2 F
2 0 5 6
A 9 2 0
8 D C D
8 D 2 F
A 5 0 2
C 9 0 4
F 0 0 6
A 2 B 4
S E I
L D X
L D A
P H A
I N X
C P X
B N E
L D X
L D Y
S T X
S T Y
L D A
F l S T A
F 3 S T A
C 2 J S R
L D A
F l S T A
F 3 S T A
L D A
C M P
B E Q
L D X
# $ 0 0
$ 0 2 , X
# $ 0 4
$ 5 2 0 3
# $ 9 1
# $ 5 2
$ 0 2
$ 0 3
# $ 2 C
$ F 1 C D
$ F 3 2 F
$ C 2 5 6
# $ 2 0
$ F 1 C D
$ F 3 2 F
$ 0 2
# $ 0 4
$ 5 2 3 2
# $ B 4
I n i t i a l i z a t i o n
S a v e$ 0 2 - $ 0 5 f o rs t a c k
( n e e d e d f o ri n i t i a l i z a t i o n )
P u t w i n d o w p a r a m e t e r si n
$ 5 2 1 9
S h o ww i n d o w
V a l u e f r o m Y E S / N O b o x e s
N O b o x c l i c k e d ?
C o p y o l dj o b t oo p e r a t i n gs y s .
S t a r t i n ga d d r .o f n e w r o u t i n e
1 8 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 201/314
A b a c u sS o f t w a r e
5 2 2 E
5 2 3 0
5 2 3 2
5 2 3 45 2 3 6
5 2 3 8
5 2 3 A
5 2 3 C
5 2 3 E
5 2 4 0
5 2 4 2
5 2 4 4
5 2 4 6
5 2 4 8
5 2 4 9
5 2 4 B
5 24 D
5 2 4 F
5 2 5 1
5 2 5 3
5 2 5 5
5 2 5 7
5 2 5 9
5 2 5 B
5 25 D
5 2 5 F
5 2 6 1
5 2 6 3
5 2 6 4
5 2 6 6
5 2 6 8
5 2 6 A
5 2 6 C5 2 6 E
5 2 7 0
5 2 7 2
5 2 7 4
5 2 7 6
5 2 7 7
5 2 7 9
5 2 7 B
5 2 7 C
5 2 7 E
A 0
D O
A 2
A 08 6
8 4
A 2
A O
8 6
8 4
A O
B l
9 1
C 8
C O
D O
A 2
A O
8 6
8 4
A 2
A O
8 6
8 4
A O
B l
9 1
C 8
C O
D O
A 2
A O
8 68 4
A O
A 9
9 1
8 8
A 9
9 1
8 8
1 0
A 2
5 3
0 4
D O
5 20 2
0 3
3 8
F 9
0 4
0 5
0 0
0 2
0 4
A E
F 7
7 E
5 3
0 2
0 3
E D
F 9
0 4
0 5
0 0
0 2
0 4
3 6
F 7
0 0
6 1
0 40 5
3 F
5 5
0 4
A A
0 4
F 4
0 3
L D Y
B N E
L D X
L D Y
S T X
S T Y
L D X
L D Y
S T X
S T Y
L D Y
L D A
S T A
I N Y
C P Y
B N E
L D X
L D Y
S T X
S T Y
L D X
L D Y
S T X
S T Y
L D Y
L D A
S T A
I N Y
C P Y
B N E
L D X
L D Y
S T XS T Y
L D Y
L D A
S T A
D E Y
L D A
S T A
D E Y
B P L
L D X
# $ 5 3
$ 5 2 3 6
# $ D 0
# $ 5 2
$ 0 2
$ 0 3
# $ 3 8
# $ F 9
$ 0 4
$ 0 5
# $ 0 0
( $ 0 2 ) ,
( $ 0 4 ) ,
# $ A E
$ 5 2 4 4
# $ 7 E
# $ 5 3
$ 0 2
$ 0 3
# $ E D
# $ F 9
$ 0 4
$ 0 5
# $ 0 0
( $ 0 2 )
( $ 0 4 )
# $ 3 6
$ 5 2 5 F
# $ 0 0
# $ 6 1
$ 0 4$ 0 5
# $ 3 F
# $ 5 5
( $ 0 4 )
# $ A A
( $ 0 4 )
$ 5 2 7 2
# $ 0 3
, Y
r Y
, Y
, Y
, Y
, Y
G E O SI n s i d ea n d O u t
J u m pt o c o p yr o u t i n e
S t a r ta d d r .o f o l d r o u t i n e
S t a r t i n ga d d r e s si n
K e r n a l : $ F 9 3 8
C o u n t e r
G e t b y t e
a n d p u t i n o p e r a t i n g s y s t e m
1 7 4 b y t e s c o p i e d ?
N O — c o n t i n u ec o p y i n g
S t a r t i n ga d d r e s so f n e w
a l a r mo u t p u t r o u t i n e
D e s t i n a t i o na d d r e s si n
K e r n a l :$ F 9 E D
G e t b y t e a n dp u t
i n o p e r a t i n g s y s t e m
5 4 b y t e sc o p i e d ?
N O — c o n t i n u ec o p y i n g
R e - e s t a b l i s hz e r op a g e
1 9 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 202/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 2 8 0 6 8 P L A
5 2 8 1 9 5 0 2 S T A $ 0 2 , X
5 2 8 3 C A D E X
5 2 8 4 1 0 F A B P L$ 5 2 8 0
5 2 8 6 A 2 3 E L D X# $ 3 E
5 2 8 8 A 0 C 2 L D Y# $ C 2
5 2 8 A 8 E 9 B 8 4 S T X $ 8 4 9 B
5 2 8 D 8 C 9 C 8 4 S T Y $ 8 4 9 C
5 2 9 0 6 0 R T S
* * * * * * * * * * * * * * * * * * * * * * * * y H n d o wp a r a m e t e rt a b l e( s e e c h a p .6 )
5 2 9 18 1 O B 2 51 A A 35 2 0 B 2 5
5 2 9 92 3 B A 5 2 0 3 0 44 0 0 4 0 E
5 2 A 14 0 0 04 4 4 F 2 0 5 94 F 5 5 D O Y O U
5 2 A 92 0 5 7 4 95 3 4 8 2 0 5 4 4 F W I S HT O5 2 B 12 0 5 34 5 4 52 0 5 4 4 8 4 5 S E ET H E
5 2 B 90 0 4 34 C 4 F4 3 4 B 2 01 8 C L O C K
5 2 C 15 0 4 5 5 24 D 4 1 4 E 4 54 E P E R M A N E N
5 2 C 95 4 4 C 5 9 2 0I B 3 F 0 0 A D
5 2 D 1O F D C 2 9 7 F8 D O FD C A D
5 2 D 91 9 8 5C 9 0 C 3 0 0 8 2 C 0 B
5 2 E 1D C 3 0 0 32 0 8 4 F 9 A D 0 B
5 2 E 9D C 2 9 I FC 9 1 2 D O 0 2 A 9
5 2 F 10 0 2 C 0 B D C 1 0 0 5F 8 1 8
5 2 F 96 9 1 2 D 8 2 0 D 9 F 9 8 D 1 9
5 3 0 18 5 A D 0 A D C 2 0 D 9 F 98 D
5 3 0 9 1 A8 5 A D 0 9 D C 2 0 D 9 F 9
5 3 1 18 D I B8 5 A D 0 8 D C 6 8 8 5
5 3 1 90 1 5 86 0 2 0 B 4 F 9C D 1 8
5 3 2 18 5 F 0 0 4 E E 1 8 8 56 0 A 9
5 3 2 90 1 8 D 1 8 8 5 E E 1 7 8 5 A D
5 3 3 11 7 8 5 C 9 0 D D O 1 4 A 9 0 1
5 3 3 98 D 1 7 8 5 E E 1 6 8 5A D 1 6
5 3 4 18 5 C 9 6 4 D O 0 5 A 9 0 0 8 D
5 3 4 91 6 8 56 0 A C 1 7 8 5 8 8B 9
5 3 5 1C D F 94 8 C O 0 1 D O O BA D
5 3 5 91 6 8 52 9 0 3 D O 0 4 6 8 A 9
5 3 6 1I D 6 0 6 8 6 0I F 1 CI F I E
5 3 6 9I F I EI F I F I FI F I EI F
5 3 7 14 8 2 9 F O4 A 4 A 4 A 4 AB A
5 3 7 96 8 2 9 O F 1 8 C A A 4 0 1 A 9
1 9 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 203/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • N e wa i a r mo u t p u t( s e e 3 . 2 )
S a v eo l d m e m o r yc o n f i g u r a t i o n
I / O r e g i s t e ro n
G e t a l a r mc l o c k s t a t u s
D o n ' tt e s t n e w a l a r m
A l a r mo c c u r r e d ?
N O — c o n t i n u e
S a v eo l d b o r d e rc o l o r s
( f r e e a r e a )
V a l u ef o r 1 0 b e e p s
L a s tb e e ps o u n d e d ?N O — c o n t i n u e
E l s eg e t o l d c o l o r
D e c r e m e n tb y o n e
a n d s e t c o l o r s
A l l b e e p s f i n i s h e d ?
Y E S — r e a d y
O t h e r w i s ec h a n g e c o l o r sa n d
s o u n d b e e p
S e t o l d m e m o r y c o n f i g u r a t i o
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • N e wt i m e r o u t i n e
5 3 B 4 C ED 5 F 9 D E C$ F 9 D 5 C o u n t e r( t i m ea c t u a l i z e d
e v e r y1 6 t i m e s )
Z e r o ,t h e n o u t p u t
O t h e r w i s er e t u r n
S a v e $ 0 2 - $ 0 5f o r s t a c k
( t i m ei s i n $ 0 6 - $ 0 di n
H H : M M : S Sf o r m a t )
S c r e e n P O K Ef o r c o l o n s
b e t w e e nh r s . & m i n s . f
a n d m i n s .& s e e s .
H o u r r e g i s t e r
1 9 2
5 3 7 E
5 3 8 0
5 3 8 2
5 3 8 4
5 3 8 7
5 3 8 9
5 3 8 C
5 3 8 E
5 3 9 0
5 3 9 3
5 3 9 6
5 3 9 8
5 3 9 B
5 3 9 D
5 3 9 F
5 3 A 2
5 3 A 3
5 3 A 6
5 3 A 9
5 3 A B
5 3 A E
5 3 B 1
5 3 B 3
A 4
A 9
8 5
A D
1 0
A D
2 9
P 0
A D
8 D
A 9
8 D
C 9D O
A E
C A
8 E
2 C
5 0
E E
2 0
8 4
6 0
0 1
3 5
0 1
1 C
1 2
0 D
0 4
2 1
2 0
5 B
4 A
1 C
4 00 7
5 B
2 0
1 C
0 6
2 0
2 4
0 1
8 5
D C
D O
F A
8 5
F A
D O
8 5
D O
F A
L D Y
L D A
S T A
L D A
B P L
L D A
A N D
B E Q
L D A
S T A
L D A
S T A
C M PB N E
L D X
D E X
S T X
B I T
B V C
I N C
J S R
S T Y
R T S
$ 0 1
# $ 3 5
$ 0 1
$ 8 5 1 C
$ 5 3 9 B
$ D C 0 D
# $ 0 4
$ 5 3 B 1
$ D 0 2 0
$ F A 5 B
# $ 4 A
$ 8 5 1 C
# $ 4 0$ 5 3 A 6
$ F A 5 B
$ D 0 2 0
$ 8 5 1 C
$ 5 3 B 1
$ D 0 2 0
$ F A 2 4
$ 0 1
5 3 B 7
5 3 B 9
5 3 B A
5 3 B C
5 3 B D
5 3 B E
5 3 C 0
5 3 C 2
5 3 C 3
5 3 C 4
5 3 C 6
5 3 C 8
5 3 C A
5 3 C C
5 3 C E
5 3 D 1
F 0
6 8
8 5
5 8
6 0
A 2
B 5
4 8
E 8
E 0
D O
A 9
8 5
8 5
A D
2 9
0 5
0 1
0 0
0 2
O C
F 8
3 A
0 8
0 B
0 B
7 F
B E Q
P L A
S T A
C L I
R T S
L D X
L D A
P H A
I N X
C P X
B N E
L D A
S T A
S T A
D C L D A
A N D
$ 5 3 B E
$ 0 1
# $ 0 0
$ 0 2 , X
# $ 0 C
$ 5 3 C 0
# $ 3 A
$ 0 8
$ 0 B
$ D C 0 B
# $ 7 F
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 204/314
A b a c u s
5 3 D 3
5 3 D 6
5 3 D 8
5 3 D A
5 3 D D
5 3 E 0
5 3 E 2
5 3 E 4
5 3 E 7
5 3 E A
5 3 E C
5 3 E E
S o f t w a r e
2 0
8 6
8 5
A D
2 0
8 6
8 5
A D
2 0
8 6
8 5
A D
C 3
0 6
0 7
O A
C 3
0 9
O A
0 9
C 3
O C
O D
0 8
F 9
D CF 9
D C
F 9
D C
J S R
S T X
S T A
L D A
J S R
S T X
S T A
L D A
J S R
S T X
S T A
L D A
$ F 9 C 3
$ 0 6
$ 0 7
$ D C 0 A
$ F 9 C 3
$ 0 9
$ 0 A
$ D C 0 9
$ F 9 C 3
$ 0 C
$ 0 D
$ D C 0 8
G E O SI n s i d ea n d O u t
C o n v e r th o u r st o 2 P O K E S
a n d p l a c ei n h o u r sp o s i t i o n
G e t m i n u t e s
C o n v e r tt o 2 P O K E S
a n d s t o r et h e m
G e t s e c o n d s
C o n v e r tt o 2 P O K E S
a n d s t o r et h e m
R e a d1 / 1 0s e c o n d sf o r c l o c k
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * O u t p u tP O K E St o b i t m a p
5 3 F 1
5 3 F 3
5 3 F 5
5 3 F 7
5 3 F 9
5 3 F B
5 3 F D
5 3 F F
5 4 0 1
5 4 0 3
5 4 0 5
5 4 0 6
5 4 0 8
5 4 0 9
5 4 0 B
5 4 0 C
5 4 0 E
5 4 1 0
5 4 1 2
5 4 1 3
5 4 1 5
5 4 1 7
5 4 1 9
5 4 1 B
5 4 1 D
5 4 1 E
5 4 2 0
A 98 5
A 2
A 0
8 6
8 4
A 2
A 9
8 5
B 5
0 A
2 6
0 A
2 6
0 A
2 6
8 5
A 9
1 8
6 5
8 5
A 0
B l
9 1
8 8
1 0
A 5
3 1
0 1
3 8
A l
0 4
0 5
0 7
0 0
0 3
0 6
0 3
0 3
0 3
0 2
D O
0 3
0 3
0 7
0 2
0 4
F 9
0 4
L D AS T A
L D X
L D Y
S T X
S T Y
L D X
L D A
S T A
L D A
A S L
R O L
A S L
R O L
A S L
R O L
S T A
L D A
C L C
A D C
S T A
L D Y
L D A
S T A
D E Y
B P L
L D A
# $ 3 1$ 0 1
# $ 3 8
# $ A 1
$ 0 4
$ 0 5
# $ 0 7
# $ 0 0
$ 0 3
$ 0 6 , X
$ 0 3
$ 0 3
$ 0 3
$ 0 2
# $ D 0
$ 0 3
$ 0 3
# $ 0 7
( $ 0 2 ) , Y
( $ 0 4 ) , Y
$ 5 4 1 9
$ 0 4
C h a r a c t e rs e t o n
$ A 1 3 8i s t h e t o p m o s t a d d r e s s
o f s e c o n d b l o c k
S e t u p a s b i t m a p p o i n t e r
P o i n t e rf o r S S : M M : H H
D e l e t e h i g hb y t eo f c h a r ,s e t
p o i n t e r
G e t P O K Ef r o mt a b l e ( s e c o n d s
f i r s t ) / c o m p u t e c h a r . s e ta d d r .
L o w b y t e
A d ds t a r ta d d r . o f c h a r ,s e t( $ D 0 0 0 )
G e t l i n ef r o mc h a r ,s e t
a n d p u t i n t ob i t m a p
A l l 8 l i n e sr e a d y ?
N O — t h e no u t p u tn e x t l i n e
O t h e r w i s e ,c o m p u t e s t a r t i n g
1 9 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 205/314
A b a c u s
5 4 2 2
5 4 2 3
5 4 2 5
5 4 2 7
5 4 2 9
5 4 2 B
5 4 2 D
5 4 2 E
5 4 3 0
5 4 3 2
5 4 3 3
5 4 3 5
5 4 3 6
5 4 3 85 4 3 A
5 4 3 D
5 4 3 E
S o f t w a r e
3 8
E 9
8 5
A 5
E 9
8 5
C A
1 0
A 2
6 8
9 5
C A
1 0
A 98 D
5 8
6 0
0 8
0 4
0 5
0 0
0 5
C F
O C
0 1
F A
1 0D 5 F 9
S E C
S B C
S T A
L D A
S B C
S T A
D E X
B P L
L D X
P L A
S T A
D E X
B P L
L D AS T A
C L I
R T S
# $ 0 8
$ 0 4
$ 0 5
# $ 0 0
$ 0 5
$ 5 3 F F
# $ 0 C
$ 0 1 , X
$ 5 4 3 2
# $ 1 0$ F 9 D 5
G E O SI n s i d ea n dO u t
a d d r .i n n e x tb l o c ko f b i t m a p
L o wb y t e
E v e n t u a l o v e r f l o w
H i g h b y t e
A l l 8 c h a r a c t e r s o u t p u t ?
N O — o u t p u tm o r e c h a r a c t e r s
E l s e r e s t o r ez e r op a g e
N e ws t a r tv a l u ef o r c o u n t e r
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * c o n v e r th e x b y t et o
5 4 3 F
5 4 4 0
5 4 4 2
5 4 4 3
5 4 4 4
5 4 4 5
5 4 4 6
5 4 4 7
5 4 4 9
5 4 4 A
5 4 4 B
5 4 4 D
5 4 4 E
5 4 5 0
4 8
2 9
4 A
4 A
4 A
4 A
1 8
6 9
A A
6 8
2 9
1 8
6 9
6 0
F 0
3 0
O F
3 0
P H A
A N D
L S R
L S R
L S R
L S R
C L C
A D C
T A X
P L A
A N D
C L C
A D C
R T S
# $ F 0
# $ 3 0
# $ 0 F
# $ 3 0
2 s c r e e n P O K E S
S a v e
l e f t h a l f
M o v et o r i g h tn y b b l e
A d do f f s e tt o P O K E
i n X - r e g i s t e r
G e t v a l u e
o f r i g h t h a l f
A d do f f s e t t o P O K E
H e r ei s t h es a m ep r o g r a mi n t h ef o r mo fD A T Al i n e sf o rB A S I C .S a v et h i s
p r o g r a mo n a d i s k e t t eu s i n gt h ed e s i r e d f i l e n a m e ,t h e np e r f o r mt h es a m ec o n v e r s i o ns t e p sa s l i s t e db e f o r et o c o n v e r tt h ep r o g r a mt o G E O Sf o r m a t
1 9 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 206/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
0 r e n t * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1 r e m * t h i s p r o g r a m c r e a t e sa - f i l e , *
2 r e m * w h i c hm u s tb e c o n v e r t e dt o *
3 r e m * t h e g e o s — f o r m a tb y u s i n gt h e #4 r e m * " - f i l e - m a s t e r " . *
5 r e m * l o a d a d d r e s s = d e c ( 2 0 9 9 2 )*
6 r e m * e n t r yp o i n t = d e c ( 2 0 9 9 2 )*
7 r e m * e n d a d d r e s s = d e c ( 2 1 6 0 0 )*
8 r e m * f i l e t y p e = 5 ( a c c e s s o r y ) *
9 r e m * * * * * % t * * * * * * * * * % * * * * * * * * * * * % % * *
1 4 r e s t o r e : p r i n tc h r * ( 1 4 7 ) ;
1 5 i n p u t " C D O W N 3 p r o g r a m n a m e " ; l $
2 0 o p e ni , 8 , 2 , - f * + " , p ,w "
3 0 - f o r i = 0 t o5 9 23 5 r e a da : p r i n t # l , c h r * ( a ) ; : b = b + a
4 0 n e x t
4 5 c l o s e l
5 0 i - f b < > 6 1 4 2 4t h e n p r i n f ' e r r o ri n d a t a ! 1 1
1 0 0 e n d
1 0 1 d a t a l 2 0 , 1 6 2 , 0 , 1 8 1 , 2 , 7 2 , 2 3 2 , 2 2 4 , 4 , 2 0 8
4 5 , 1 6 0 , 8 2 , 1 3 4 , 2 , 1 3 2 , 3 , 1 6 9
1 0 2 d a t a 4 4 , 1 4 1 , 2 0 5 , 2 4 1 , 1 4 1 , 4 7 , 2 4 3 , 3 2 , 3 6
, 1 4 1 , 2 0 5 , 2 4 1 , 1 4 1 , 4 7 , 2 4 31 0 3 d a t a l 6 5 , 2 , 2 0 1 , 4 , 2 4 0 , 6 , 1 6 2 , 1 8 0 , 1 6 0 , 8 3
, 2 0 8 , 1 6 0 , 8 2 , 1 3 4 , 2 , 1 3 2 , 31 0 4 d a t a l 6 2 , 5 6 , 1 6 0 , 2 4 9 , 1 3 4 , 4 , 1 3 2 , 5 , 1 6 0 , 0
, 4 , 2 0 0 , 1 9 2 , 1 7 4 , 2 0 8 , 2 4 7
1 0 5 d a t a l 6 2 , 1 2 6 , 1 6 0 , 8 3 , 1 3 4 , 2 , 1 3 2 , 3 , 1 6 2 , , 1 3 4 , 4 , 1 3 2 , 5 , 1 6 0 , 0 , 1 7 71 0 6 d a t a 2 , 1 4 5 , 4 , 2 0 0 , 1 9 2 , 5 4 , 2 0 8 , 2 4 7 , 1 6 2 ,
4 , 4 , 1 3 2 , 5 , 1 6 0 , 6 3 , 1 6 9 , 8 51 0 7 d a t a ! 4 5 , 4 , 1 3 6 , 1 6 9 , 1 7 0 , 1 4 5 , 4 , 1 3 6 , 1 6 , 2
0 4 , 1 4 9 , 2 , 2 0 2 , 1 6 , 2 5 0 , 1 6 21 0 8 d a t a 6 2 , 1 6 0 , 1 9 4 , 1 4 2 , 1 5 5 , 1 3 2 , 1 4 0 , 1 5 6 , 1 1 , 3 7 , 2 6 , 1 6 3 , 8 2 , 1 1 , 3 7 , 3 51 0 9 d a t a l S 6 , S 2 , 3 , 4 , 6 4 , 4 , 1 4 , 6 4 , 0 , 6 8 , 7 9 , 3 2
3 2 , 8 7 , 7 3 , 8 3 ^7 2 , 3 2 , 8 4 , 7 91 1 0 d a t a 3 2 , S 3 , 6 9 , 6 9 , 3 2 , 8 4 , 7 2 , 6 9 , 0 , 6 7 , 7 6 ,
2 , 2 4 , 8 0 ,6 9 , 8 2 ,7 7 , 6 5 ,7 8
1 1 1 d a t a 6 9 , 7 8 , 8 4 , 7 6 , 8 9 , 3 2 , 2 7 , 6 3 , 0 , 1 7 3 , 1
7 , 1 4 1 , 1 5 , 2 2 0 , 1 7 3 , 2 5 , 1 3 31 1 2 d a t a 2 0 1 , 1 2 , 4 8 , 8 , 4 4 , 1 1 , 2 2 0 , 4 8 , 3 , 3 2 , 1 3
1 9 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 207/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
1 1 , 2 2 0 , 4 1 , 3 1 , 2 0 1 , 1 8 , 2 0 8
1 1 3 d a t a 2 , 1 6 9 , O , 4 4 , 1 1 , 2 2 0 , 1 6 , 5 , 2 4 8 , 2 4 , 1 0 2 , 2 1 7 , 2 4 9 , 1 4 1 , 2 5 , 1 3 3 , 1 7 3
1 1 4 d a t a l O , 2 2 0 , 3 2 , 2 1 7 , 2 4 9 , 1 4 1 , 2 6 , 1 3 3 , 1 7 3
2 1 7 , 2 4 9 , 1 4 1 , 2 7 , 1 3 3 , 1 7 31 1 5 d a t a 8 , 2 2 0 , 1 0 4 , 1 3 3 , 1 , 8 8 , 9 6 , 3 2 , 1 8 0 , 2 4 9
3 , 2 4 0 , 4 , 2 3 8 , 2 4 , 1 3 3 , 9 6 , 1 6 9
1 1 6 d a t a l , 1 4 1 , 2 4 , 1 3 3 , 2 3 8 , 2 3 , 1 3 3 , 1 7 3 , 2 3 , 1 3
2 0 8 , 2 0 , 1 6 9 , 1 , 1 4 1 , 2 3 , 1 3 3
1 1 7 d a t a 2 3 8 , 2 2 , 1 3 3 , 1 7 3 , 2 2 , 1 3 3 , 2 0 1 , 1 0 0 , 2 0 1 4 1 , 2 2 , 1 3 3 , 9 6 , 1 7 2 , 2 3 , 1 3 3
1 1 8 d a t a l 3 6 , 1 8 5 , 2 0 5 , 2 4 9 , 7 2 , 1 9 2 , 1 , 2 0 8 , 1 1 , , 4 1 , 3 , 2 0 8 , 4 , 1 0 4 , 1 6 9 , 2 9
1 1 9 d a t a 9 6 , 1 0 4 , 9 6 , 3 1 , 2 8 , 3 1 , 3 0 , 3 1 , 3 0 , 3 1 , 3 1, 3 1 , 7 2 , 4 1 , 2 4 0 , 7 4 , 7 4 , 7 4
1 2 0 d a t a 7 4 , 1 8 6 , 1 0 4 , 4 1 , 1 5 , 2 4 , 2 0 2 , 1 6 4 , 1 , 1 6 , 1 7 3 , 2 8 , 1 3 3 , 1 6 , 1 8 , 1 7 3 , 1 3
1 2 1 d a t a 2 2 0 , 4 1 , 4 , 2 4 0 , 3 3 , 1 7 3 , 3 2 , 2 0 8 , 1 4 1 , 97 4 , 1 4 1 , 2 8 , 1 3 3 , 2 0 1 , 6 4 , 2 0 8
1 2 2 d a t a 7 , 1 7 4 , 9 1 , 2 5 0 , 2 0 2 , 1 4 2 , 3 2 , 2 0 8 , 4 4 , 2, 2 3 8 , 3 2 , 2 0 8 , 3 2 , 3 6 , 2 5 0 , 1 3 2
1 2 3 d a t a l , 9 6 , 2 0 6 , 2 1 3 , 2 4 9 , 2 4 0 , 5 , 1 0 4 , 1 3 3 , 1 , O , 1 8 1 , 2 , 7 2 , 2 3 2 , 2 2 4 , 1 2
1 2 4 d a t a 2 0 3 , 2 4 8 , 1 6 9 , 5 8 , 1 3 3 , 8 , 1 3 3 , 1 1 , 1 7 3 1 2 7 , 3 2 , 1 9 5 , 2 4 9 , 1 3 4 , 6 , 1 3 31 2 5 d a t a 7 , 1 7 3 , 1 0 , 2 2 0 , 3 2 , 1 9 5 , 2 4 9 , 1 3 4 , 9 , 1 3
, 2 2 0 , 3 2 , 1 9 5 , 2 4 9 , 1 3 4 , 1 2
1 2 6 d a t a l 3 3 , 1 3 , 1 7 3 , 8 , 2 2 0 , 1 6 9 , 4 9 , 1 3 3 , 1 , 1 6 6 1 , 1 3 4 , 4 , 1 3 2 , 5 , 1 6 2 , 7 , 1 6 9
1 2 7 d a t a O ,1 3 3 , 3 , 1 8 1 , 6 ,1 0 , 3 8 , 3 , 1 0 , 3 8 , 3 , 1 0 , 3 8 , 3 ,1 3 3 ,2 , 1 6 9 , 2 0 8 , 2 4 , 1 0 1 , 3 , 1 3 3
1 2 8 d a t a 3 , 1 6 0 , 7 , 1 7 7 , 2 , 1 4 5 , 4 , 1 3 6 , 1 6 , 2 4 9 , 1 6
3 , 8 , 1 3 3 , 4 , 1 6 5 , 5 , 2 3 3 , 0 , 1 3 3
1 2 9 d a t a 5 , 2 0 2 , 1 6 , 2 0 7 , 1 6 2 , 1 2 , 1 0 4 , 1 4 9 , 1 , 2 0 6 9 , 1 6 , 1 4 1 , 2 1 3 , 2 4 9 , 8 8 , 9 6
1 3 0 d a t a 7 2 , 4 1 , 2 4 0 , 7 4 , 7 4 , 7 4 , 7 4 , 2 4 , 1 0 5 , 4 8 , , 1 5 , 2 4 , 1 0 5 , 4 8 , 9 6
1 9 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 208/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 3 . 4T h ef o r e i g na b e r r a t i o ni n t h eG E O SK E R N A L
W e V ef o u n d
a p r o b l e mi n
u s i n gG E O Sw i t h
5 0H z e l e c t r i c a lc u r r e n t .I f
y o u ' r eu s i n gt h eU . S . s t a n d a r do f 6 0H zc u r r e n t ,y o uc a ns k i pt h i ss e c t i o n .
W ed i s c o v e r e dt h i sp r o b l e mw h i l ew o r k i n go n t h ec l o c kp r o g r a mi n t h e
p r e v i o u ss e c t i o n s .W ec h a n g e dt h e5 0 / 6 0H zc o n t r o lr e g i s t e rf o r t h ec l o c k
w i t ht h eh e l po f t h es i n g l es t e ps i m u l a t o r( w h i c hw ew i l ld i s c u s si n t h en e x t
c h a p t e r ) .W i t ht h i sw eh a v ew r i t t e nt w os u b r o u t i n e sw h i c hw o r kd u r i n gt h e
i n i t i a l i z a t i o no f G E O S( e a c ht i m ei t i s s t a r t e du p ,f o re x a m p l ew i t hR E S E T ) .T h ef i r s tr o u t i n ei s l o c a t e da t $ C F A 1 ,a n dg e t st h e c o r r e c tt i m eu s i n gt h e
s t a n d a r do f t h ev i d e os i g n a l s( P A Lf o re x a m p l e :S E C A M )a n dp l a c e si t i n
t h e c o n t r o lr e g i s t e r$ D C 0 E .
T h ec l o c kw i l lw o r kj u s t a sw e l li n E u r o p ea s i t d o e si n t h eU . S . ,j u s ta s
l o n ga s t h ef r e q u e n c yi s s e tp r o p e r l y .T h i si s w h e r et h eG E O So p e r a t i n gs y s t e mp r o b l e mo c c u r s .I t c o n s t a n t l yu s e sl o c a t i o n$ C D 6 Ba s t h ej u m p i n g
p o i n tt o r o u t i n e s .E a c ht i m et h i so c c u r st h em a c h i n ew r i t e st h ev a l u ef o r6 0H zf r o ma t a b l ei n t ot h e c o n t r o lr e g i s t e r .T h ep r o b l e mi s t h a tt h i sh a ss i m p l yb e e ni g n o r e di n G E O S .
A p p a r e n t l yt h ed e v e l o p e r so f G E O Sd i d n ' tn o t i c et h i sp r o b l e m ,s i n c ea l lo f
t h e i rm a c h i n e sw e r er u n n i n ga t 6 0 H z .H o w e v e r ,i f y o uw a n tt o d i s p l a yt h e
c o r r e c tt i m eo n a E u r o p e a nG E O S ,y o uc a n p e r f o r mt h ef o l l o w i n gs t e p s :
A f t e rb o o t i n gG E O S ,g o i n t oB A S I C ,t h e ne n t e rt h e c o m m a n dP O K E5 3 1 3 2 , 1 2 8a n dt h e ns t a r to v e ra g a i nw i t ht h ec o m m a n dS Y S5 2 29 8 .
T h i s p r o c e d u r em u s tb e f o l l o w e db e f o r ee v e r ya p p l i c a t i o nt h a tu s e st h ec l o c k .H o w e v e r ,t h i sc a nb e v e r yt i m e - c o n s u m i n g — e s p e c i a l l y c a l l
o f t h es y s t e md i s k e t t e s .T h e r e f o r e ,w eh a v ew r i t t e na B A S I Cp r o g r a mt h a t
s e a r c h e st h et a b l ei n t h eK E R N A La n dw r i t e s t h ea p p r o p r i a t ev a l u ef o r5 0
H zt o t h e c o n t r o lr e g i s t e r .
T h i si s n o ta n a c t u a lf i xo f t h eG E O SK E R N A L ,s i n c et h eo u t p u t o ft h ev i d e os t a n d a r di s a l w a y si g n o r e d .H o w e v e r ,i t ' sa Q u i c k - n - D i r t yf i xt h a t
d i s p l a y st h e c o r r e c tt i m ew h e ny o un e e di t .
W a r n i n g :D o n ' tt r yt o r u nt h ep r o g r a md i s c u s s e du n l e s sy o ur e a dt h ef o l l o w i n gi n f o r m a t i o n .I t ' sp o s s i b l et h a ty o u ' l l l o s ea l lo fy o u rd a t a .B e f o r ey o us t a r tt h ep r o g r a m ,e x i tG E O Sa n dm a k ea na d d i t i o n a lb a c k u p c o p yo nac o m p l e t e l y b l a n kd i s k e t t e .T h i sp r o g r a mo n l yw o r k sw i t ht h eE u r o p e a n
v e r s i o no f G E O S .
1 9 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 209/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
E n t e ro n l yt h eB A S I Cp r o g r a m .M a k es u r et h a ty o u rb a c k u pc o p y — n o tt h e
o r i g i n a lG E O Sd i s k e t t e — i si n t h e d i s kd r i v e .T h e ns t a r tt h ep r o g r a m .
T h ec o m p u t e rs e a r c h e sf o rt h ec o r r e c t l o c a t i o no n t h ed i s k e t t e ,a n dn o t i f i e s
y o ui f a c h a n g ei s m a d et o t h ed i s k e t t e .D u r i n gt h i sp r o c e d u r e ,t h ec o m p u t e r
d i s p l a y s t h en u m b e ro fb l o c k ss e a r c h e d .
I f t h ep r o g r a mc a n n o tf i n dt h e c o r r e c tl o c a t i o n ,t h e r ea r ea f e wp o s s i b l e
r e a s o n s :
1 ) T h ep r o g r a mw a se n t e r e di n c o r r e c t l y( c h e c kt h ep r o g r a ma g a i n ,o r
e v e n h a v ea s e c o n dp e r s o np r o o fr e a dt h ep r o g r a mf o r y o u ) .
2 ) T h ed i s k e t t ei s n o tc o r r e c t .
3 ) T h ec o p yo f t h eK E R N A Li s c o r r u p t e d .( T r ym a k i n ga n o t h e rc o p yo n a d i f f e r e n td i s k e t t e . )
4 ) T h e r ei s a h a r d w a r ep r o b l e m .( T h er e a d / w r i t eh e a dc o u l db e o u to f
a l i g n m e n t . )
I f t h ep r o g r a md i dr u nc o r r e c t l y ,y o uc a nc o p yt h er e s u l t sb a c kt o t h e
o r i g i n a ld i s k e t t e .
N o t e :B e f o r ey o up e r f o r ma n yo f t h ef o l l o w i n go p e r a t i o n s ,t r yr u n n i n gt h e
a l t e r e dv e r s i o no f G E O St o m a k es u r et h a te v e r y t h i n gi s w o r k i n gp r o p e r l y .
G e tt h eo r i g i n a l d i s k e t t ea n dr e m o v et h e w r i t e - p r o t e c tt a b .N o wb o o tu p
y o u rm a c h i n ew i t ht h en e w( c h a n g e d )c o p yo f G E O S .N o w ,u s i n gF I L E
I N F O ,r e m o v et h ef i l ep r o t e c t i o nf r o mt h ep r o g r a mG E O SK E R N A La n d
m o v ei t t o t h ew a s t eb a s k e t .( D i dy o um a k ea b a c k u pc o p y ,j u s t i n c a s e ? ) .
F i n a l l y ,c o p yt h ea l t e r e dK E R N A Lt o t h eo r i g i n a ld i s k e t t e .O n c et h ep r o g r a mi s c o p i e d ,r e t u r nt h ef i l ep r o t e c t i o nt o t h i sf i l e .
H e r e ' sa l i s t i n go f t h ep r o g r a m :
1 9 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 210/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
1 0 P R I N TC H R $ ( 1 4 7 ) / :R E M C L RH O M E
1 5 O P E N1 , 8 , 1 5 , " I " :G O S U B1 0 0
2 0 O P E N2 , 8 , 2 , " G E O SK E R N A L " : G O S U B1 0 0
2 5 G E T# 2 , A $ , A $ , T $ , S $ : G O S U B 1 0 0. - C L O S E2
3 0 O P E N3 , 8 , 3 , " # 1 " : G O S U B1 0 0
3 5 P R I N T # 1 , " U l : " 3 ; 0 ; A S C ( T $ ) ; A S C ( S $ )
4 0 P R I N TC H R $ ( 1 9 ) ; B : B = B + 1 : R E MB L O C KC O U N T E R
4 5 P R I N T # l , " B - P : " 3 ; 0
5 0 G E T # 3 , T $ , S $ : S $ = S $ + C H R $ ( 0 )
5 5 R E S T O R E
6 0 R E A DD : I FK = 2 5 4 T H E NK = 0 : G O T O3 5
6 5 G E T # 3 , A $ : A = A S C ( A $ + C H R $ ( 0 ) ) : K = K + 1
7 0 I F A O DT H E N I = 0 : G O T O5 5
7 5 1 = 1 + 1 : I FI < 4 T H E N6 08 0 P R I N T # 3 , C H R $ ( 1 2 8 )
8 5 P R I N T # 1 , " M - W " C H R $ ( 1 ) ; C H R $ ( 0 ) ; C H R $ ( 1 ); C H R $ ( 1 4 4 )
9 0 C L O S E 1
1 0 0 I N P U T # 1 , A , B $ : I FA T H E N P R I N T B $ : S T O P
1 0 5 R E T U R N
1 1 0 D A T A1 3 , 2 2 0 , 3 , 1 2 7 : R E MC O M P A R I S O N V A L U E S
I f t h i sp r o g r a m ' so p e r a t i o ni n t e r e s t sy o u ,h e r e ' sa b r i e fd e s c r i p t i o n :
L i n e F u n c t i o n2 5 G e tf i r s tt r a c k/ s e c t o ro f t h eK E R N A L( A $i s i g n o r e d ) .
3 0 O p e nd a t ac h a n n e l .
3 5 R e a da s e c t o ri n t ot h ec h a n n e l .
4 5 S e tp o i n t e rt o 0 b y t ei n c h a n n e l .
5 0 G e tn e x ts e c t o ra n dt r a c kn u m b e r s .
6 0 G e tc o m p a r i s o nb y t eo u to f D A T As t a t e m e n t .R e a da l l
b y t e sf r o mt h es e c t o r ,t h e ng e tn e ws e c t o r .
6 5 G e tv a l u ef r o mc h a n n e l :i n c r e m e n tb y t ec o u n t e r .
7 0 C o m p a r et h eb y t ew i t hD A T A ;i f u n e q u a l , t h e nn o b y t e sa r ec o r r e c t :g e tt h en e x t b y t ef r o mt h e c h a n n e l .
7 5 O t h e r w i s ei n c r e m e n tt h ec o u n t e r .C o n t i n u ei f t h e r e a r e
m o r eb y t e s .
8 0 W r i t et h ev a l u ef o r5 0H zt o t h e c o r r e c tl o c a t i o n .
8 5 C a l l t h er o u t i n eB l o c kW r i t e .
1 0 0 R e a df r o mt h ee r r o rc h a n n e li f t h e r ew e r ea n ye r r o r s .
O u t p u ta n yw h i c hm i g h t h a v eo c c u r r e d .
1 9 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 211/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 212/314
C h a p t e rS i x
( I n s i d eG E O S)
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 213/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 214/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I n s i d eG E O S
I n t h i sc h a p t e rw e l lp r e s e n ti n f o r m a t i o ny o un e e dt o w r i t ey o u ro w nG E O Sa p p l i c a t i o n s .F o ri n s t a n c e ,w e l lt e l ly o uh o wt o a c c e s sG E O Sr o u t i n e sf o r
y o u ro w np u r p o s e s .W e ' l lb e g i nw i t ha n i m p o r t a n tG E O St o o l .
6 . 1T h es i n g l e - s t e ps i m u l a t o r
W ed e v e l o p e da s i n g l e - s t e ps i m u l a t o rf o r i n v e s t i g a t i n g t h eG E O So p e r a t i n g
s y s t e m .T h i ss i m u l a t o rm a k e si t p o s s i b l et o f o l l o wt h eo p e r a t i o no f t h e
m i c r o p r o c e s s o rv e r yc l o s e l y .
W i t h i nt h e s i m u l a t o r ,a b r a n c hi s m a d et o a r o u t i n ea f t e re a c hm a c h i n e
l a n g u a g ei n s t r u c t i o n ,w h i c hd i s p l a y s t h e c u r r e n tc o n t e n t so f t h ep r o c e s s o r
r e g i s t e r s a tt h eb o t t o mo f t h es c r e e na n dw a i t su n t i la k e yi s p r e s s e d .T h e ni t
r e t u r n s t ot h em a i np r o g r a m .A t t h es a m et i m e ,t h e c u r r e n t c o n t e n t so f a n y
f o u rm e m o r yl o c a t i o n sc a na l s ob e d i s p l a y e d .W eu s e dt h i st o o lp r i m a r i l y
f o r t r a c i n gi m p o r t a n ts u b r o u t i n e si n t h eK E R N A L( w i n d o wr o u t i n e s ,a l a r me v a l u a t i o n ,e t c . ) .
T h ec o d ef o rt h eS S T( S i n g l eS T e ps i m u l a t o r )c a nb e e n t e r e dd i r e c t l yi n t o
m e m o r ya t $ 7 0 9 0w i t ha m o n i t o r ,a n dt h e ns a v e df r o mt h e r et o d i s k e t t e .T h ep r o g r a mi s t h e nc o n v e r t e dt o a n e x e c u t a b l eG E O Sa c c e s s o r yw i t h
F I L E M A S T E R .Y o us h o u l dn o t et h ef o l l o w i n gp o i n t sa b o u tt h ec o n v e r s i o n :
1 ) F i r s tc r e a t ea s u i t a b l ei c o n( s p r i t e )f o r t h eS S T — i t ' sc o m m a n ds e i n t h eF I L E M A S T E Rp r o g r a m .Y o uc a na l s or e a di n a n
e x i s t i n gi c o na n d m o d i f yi t ( c o m m a n ds p l ) .
2 ) R e a dt h eS S T( c o m m a n d r f1 ) .
3 ) E n t e rt h ec u r r e n td a t ew i t hD A T E .
4 ) C o n v e r tS S Tw i t hG E O S .A n s w e rt h ef i l et y p e q u e s t i o nw i t h 5
( = d e s ka c c e s s o r y ) .
5 ) R e a dt h ei n f ob o xa n de n t e rt h ef o l l o w i n gd e c i m a la d d r e s s e s :
2 0 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 215/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
S T A R TA D D R E S S
E N DA D D R E S S
I N I T I A L I Z A T I O N
2 8 8 1 6( 2 8 8 1 4i f e n t e r e dw i t h a
m o n i t o r )
2 9 5 0 4
2 8 8 1 6
B e f o r e c o m p l e t i n gt h ec o n v e r s i o np r o c e s sw i t hE N D ,e n t e ra n yi n f o r m a t i o n
i n t h ei n f ob o x( a u t h o rn a m e ,d a t e ,e t c . ) .N o wt h eS S Ti s o n t h ed i s k e t t e
a s a G E O Sa c c e s s o r y ,a n dc a nb e l o a d e da n ds t a r t e db y c l i c k i n g .
H e r ei s t h ed o c u m e n t e dl i s t i n go f t h eS S T :
7 0 9 0
7 0 9 1
7 0 9 3
7 0 9 5
7 0 9 8
7 0 9 B
7 0 9 C
7 0 9 E
7 0 A 1
7 0 A 4
7 0 A 5
7 0 A 7
7 0 A 9
7 0 A B
7 0 A E
7 0 A F
7 0 B 1
7 0 B 4
7 0 B 6
7 0 B 77 0 B 9
7 0 B B
7 0 B E
7 0 C 1
7 0 C 4
7 0 C 7
7 0 C 9
7 0 C B
7 0 C E
7 0 D 1
7 8
A 2 0 5
A 0 9 0
B 9 0 0 7 0
9 9 0 0 4 5
C 8
D O F 7
E E 9 7 7 0
E E 9 A 7 0
C A
D O E E
A 2 0 2
A 9 E A
9 D D 4 C 2
C A
1 0 F A
4 C B 4 4 5
A 5 0 1
4 8
A 9 3 58 5 0 1
A E F E F F
A C F F F F
8 E F 4
8 C F 5
A 2 0 6
A O 4 6
8 E F E F F
8 C F F F F
A D O E D C
4 7
4 7
S E I
L D X# $ 0 5
L D Y# $ 9 0
L D A$ 7 0 0 0 , Y
S T A$ 4 5 0 0 , Y
I N Y
B N E$ 7 0 9 5
I N C $ 7 0 9 7
I N C $ 7 0 9 A
D E X
B N E$ 7 0 9 5
L D X# $ 0 2
L D A# $ E A
S T A $ C 2 D 4 , X
D E X
B P L $ 7 0 A B
J M P $ 4 5 B 4
L D A$ 0 1
P H A
L D A# $ 3 5S T A$ 0 1
L D X $ F F F E
L D Y$ F F F F
S T X$ 4 7 F 4
S T Y $ 4 7 F 5
L D X# $ 0 6
L D Y# $ 4 6
S T X $ F F F E
S T Y $ F F F F
L D A$ D C 0 E
C o p yp r o g r a mt o $ 4 5 9 0
I n c r e m e n t s o u r c ea d d r .h i g h b y t e
I n c r e m e n td e s t . a d d r .h i g hb y t e
E v e r y t h i n gc o p i e d ?
N O — C o n t i n u e
C a l l a l a r mo u t p u tw / N O P s( $ E A )
W r i t t e n( r e a dl o c a t i o n f r o m
$ D D 0 D ,t o s e ew h a t o u r r o u t i n e
h a s s t o p p e d )
J u m p t oc o p yo f t h i s p r o g r a m
S a v eo l d m e m o r yc o n f i g u r a t i o n
S w i t c ho n I / Or e g i s t e r s
G e t o r i g i n a lG E O Si n t e r r u p t
a d d r e s s
a n d r e s t o r e
N e wI R Qa d d r e s s : $ 4 6 0 6
S t o pt i m e r
2 0 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 216/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
7 0 D 4
7 0 D 6
7 0 D 9
7 0 D C
7 O D E
7 0 E 1
7 0 E 3
7 0 E 6
7 0 E 8
7 0 E A
7 0 E D
7 0 F 0
7 0 F 3
7 0 F 57 0 F 8
7 0 F 9
7 0 F B
7 0 F D
7 0 F F
7 1 0 2
7 1 0 5
2 9 F E A N D# $ F E
8 D 0 ED C S T A$ D C 0 E
A D 0 D D C L D A$ D C 0 D
7 F L D A# $ 7 F
0 D D C S T A$ D C 0 D
8 1 L D A# $ 8 1
0 D D C S T A$ D C 0 D
A 9
8 D
A 9
8 D
A 2
A 0
8 E
8 C
A D
0 9
8 D6 8
8 5
A 2
A 0
8 E
8 C
6 0
D e l e t eI R Qc o n t r o l r e g i s t e r
D e l e t em a s k
N e wI R Q :T i m e rA u n d e r r u n
T i m ei n c y c l e s ,a f t e rs t a r to f
t i m e r ,u n t i lI R Qo c c u r s
1 7 L D X# $ 1 7
0 0 L D Y# $ 0 0
0 4 D C S T X$ D C 0 4
0 5 D C S T Y$ D C 0 5
0 E D C L D A$ D C 0 E S t a r tt i m e r( s i n g l es u b - c o u n t e r )
0 9 O R A# $ 0 9
0 E D C S T A$ D C 0 EP L A
0 1
3 E
C 2
9 B
9 C
8 4
8 4
S T A$ 0 1
L D X# $ 3 E
L D Y# $ C 2
S T X $ 8 4 9 B
S T Y $ 8 4 9 C
R T S
E s t a b l i s h o l dm e m o r y
c o n f i g u r a t i o n
R e w r i t es w a pf i l e ; R E S E T
* * * * * * * * * * * * * * * * * * * * * * * * * * * * N e wI R Q s t a r t i n ga d d r e s s
7 1 0 6
7 1 0 9
7 1 0 A
7 1 0 B
7 1 0 E
7 1 1 0
7 1 1 3
7 1 1 5
7 1 1 7
7 1 1 9
7 1 1 C
7 1 1 F
7 1 2 1
8 D
6 8
4 8
8 D
A 5
8 D
A 9
8 5
A 9
2 D
2 D
F 0
E F 4 7
4 7
4 7
F 3
0 1
E B
3 5
0 1
0 1
1 9 D O
1 A D O
0 3
S T A$ 4 7 E F
P L A
P H A
S T A$ 4 7 F 3
L D A$ 0 1
S T A $ 4 7 E B
L D A# $ 3 5
S T A$ 0 1
L D A# $ 0 1
A N D$ D 0 1 9
A N D $ D 0 l A
B E Q$ 7 1 2 4
J M P $ 4 7 C B
G e t a c c u m u l a t o r
G e t s t a t u sr e g . i n a c c u m u l a t o r
a n d m a r ki t
S a v eo l d m e m o r yc o n f i g u r a t i o n
I / O r e g i s t e r so n
I R Q s o u r c eo u t p u t
t h r o u g h r a s t e rl i n e s ?
N O — E x e c u t eS S T i n t e r r u p t
4 C C B 4 7 J M P$ 4 7 C B E l s ep r e p a r es y s t e mi n
t e r r u p tf r o mG E O S
* * * * * * * * * * * * * * * * * * * * * * * * * * ** S S T i n t e r r u p t
7 1 2 4 A 9 F DL D A# $ F D
7 1 2 6 8 D 0 0 D C S T A$ D C 0 0
7 1 2 9 A D0 1 D C L D A$ D C 0 1
7 1 2 C 3 0 1 4 B M I$ 7 1 4 2
7 1 2 E A D 0 D D C L D A$ D C 0 D
T e s t f o r< S H I F T > k e y
N o t p r e s s e d ? — C o n t i n u e
E l s ed o s h o r t e n e di n t e r r u p t
2 0 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 217/314
A b a c u sS o f t w a r e
7 1 3 1
7 1 3 4
7 1 3 6
7 1 3 9
7 1 3 C
7 1 3 E
7 1 4 1
7 1 4 2
7 1 4 4
7 1 4 7
7 1 4 A
7 1 4 D
7 1 4 F7 1 5 1
7 1 5 3
7 1 5 5
7 1 5 8
7 1 5 A
7 1 5 D
7 1 6 0
7 1 6 1
7 1 6 2
7 1 6 3
7 1 6 4
7 1 6 7
7 1 6 8
7 1 6 9
7 1 6 C
7 1 6 D
7 1 6 E
7 1 7 1
7 1 7 4
7 1 7 5
7 1 7 8
7 1 7 9
7 1 7 B
7 1 7 E
7 1 8 1
7 1 8 4
7 1 8 7
7 1 8 9
7 1 8 C
A D
0 9
8 D
A D
8 5
A D
4 0
A 9
8 D
A D
C D
D O
2 9F 0
A 9
8 D
D O
8 E
8 C
B A
E 8
E 8
E 8
8 E
6 8
6 8
8 D
6 8
4 8
8 D
A D
4 8
A D
4 8
A 2
A D
2 0
8 D
8 C
A 0
B 9
8 C
O E
0 9
O E
E B
0 1
E F
7 F
0 0
0 1
0 1
F 8
2 00 7
F F
E C
C A
F O
F l
F 2
E E
E D
E E
F 3
0 0
E D
6 F
1 5
1 6
0 0
E E
E D
D C
D C
4 7
4 7
D C
D C
D C
4 7
4 7
4 7
4 7
4 7
4 7
4 7
4 7
4 7
4 7
4 8
4 8
4 7
4 7
L D A
O R A
S T A
L D A
S T A
L D A
R T I
L D A
S T A
L D A
C M P
B N E
A N DB E Q
L D A
S T A
B N E
S T X
S T Y
T S X
I N X
I N X
I N X
S T X
P L A
P L A
S T A
P L A
P H A
S T A
L D A
P H A
L D A
P H A
L D X
L D A
J S R
S T A
S T Y
L D Y
L D A
S T Y
$ D C 0 E
# $ 0 9
$ D C 0 E
$ 4 7 E B
$ 0 1
$ 4 7 E F
# $ 7 F
$ D C 0 0
$ D C 0 1
$ D C 0 1
$ 7 1 4 7
# $ 2 0$ 7 1 5 A
# $ F F
$ 4 7 E C
$ 7 1 2 4
$ 4 7 F 0
$ 4 7 F 1
$ 4 7 F 2
$ 4 7 E E
$ 4 7 E D
$ 4 7 E E
$ 4 7 F 3
# $ 0 0
$ 4 7 E D
$ 4 7 6 F
$ 4 8 1 5
$ 4 8 1 6
# $ 0 0
$ 4 7 E E , Y
$ 4 7 E D
G E O SI n s i d ea n d O u t
R e - s t a r t t i m e r
R e - e s t a b l i s h o l d m e m o r y
c o n f i g u r a t i o n
G e t a c c u m u l a t o r
R e t u r n f r o m i n t e r r u p t
T e s t< C = > k e y
P r e s s e d ? E x e c u t e s i n g l e - s t e
E l s ec a n c e lr e p e a tf u n c t i o n
A b s o l u t ej u m pt o w a i tl o o p
S a v eX - r e g i s t e r
S a v eY - r e g i s t e r
C o r r e c t s t a c k
a n d s a v ei t
S a v ep r o g r a mc o u n t e r
l o w b y t e
S a v ep r o g r a mc o u n t e r
h i g h b y t e
R e t u r nl o w b y t e t o s t a c k
R e t u r ns t a t u s t os t a c k
C o n v e r tp r o g r a mc o u n t e r h i g h
b y t et o 2 P O K E S a n dp l a c ei n
t a b l e
G e t r e m a i n i n gr e g i s t e r s
S a v er e g i s t e rp o i n t e r ;
2 0 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 218/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
7 1 8 F
7 1 9 2
7 1 9 5
7 1 9 6
7 1 9 7
7 1 9 A
7 1 9 D
7 1 9 E
7 1 9 F
7 1 A 0
7 1 A 2
7 1 A 4
7 1 A 6
7 1 A 97 1 A A
7 I A D
7 1 A F
7 1 B 1
7 1 B 2
7 1 B 4
7 1 B 7
7 1 B 8
7 1 B A
7 1 B D
7 1 C 0
7 1 C 3
7 1 C 6
7 1 C 9
7 1 C C
7 1 C F
7 1 D 2
7 1 D 5
7 1 D 87 1 D B
7 I D E
7 1 E 1
7 1 E 4
7 1 E 7
7 1 E A
7 1 E B
2 0 6 F
9 D 1 7
E 8
9 8
9 D 1 7
A C E D
E 8
E 8
C 8
C O 0 6
D O E 5
A 2 0 7
A D F 3
4 84 E F 3
B O 0 3
A 9 2 E
. b y t e
A 9 I E
9 D 2 6
C A
1 0 F 0
A D 0 7
2 0 6 F
8 D 2 F
8 C 3 0
A D B 6
2 0 6 F
8 D 3 2
8 C 3 3
A D 0 6
2 0 6 F
8 D 1 08 C 1 1
A D 0 E
2 0 6 F
8 D 1 3
8 C 1 4
6 8
8 D F 3
4 7 J S R
4 8 S T A
I N X
T Y A
4 8 S T A
4 7 L D Y
I N X
I N X
I N Y
C P Y
B N E
L D X
4 7 L D A
P H A4 7 L S R
B C S
L D A
2 C
L D A
4 8 S T A
D E X
B P L
8 5 L D A
4 7 J S R
4 8 S T A
4 8 S T Y
8 4 L D A
4 7 J S R
4 8 S T A
4 8 S T Y
8 5 L D A
4 7 J S R
4 8 S T A4 8 S T Y
D C L D A
4 7 J S R
4 8 S T A
4 8 S T Y
P L A
4 7 S T A
$ 4 7 6 F
$ 4 8 1 7 , X
$ 4 8 1 7 , X
$ 4 7 E D
# $ 0 6
$ 7 1 8 9
# $ 0 7
$ 4 7 F 3
$ 4 7 F 3
$ 7 1 B 2
# $ 2 E
# $ 1 E
$ 4 8 2 6 , X
$ 7 1 A A
$ 8 5 0 7
$ 4 7 6 F
$ 4 8 2 F
$ 4 8 3 0
$ 8 4 B 6
$ 4 7 6 F
$ 4 8 3 2
$ 4 8 3 3
$ 8 5 0 6
$ 4 7 6 F
$ 4 8 1 0$ 4 8 1 1
$ D C 0 E
$ 4 7 6 F
$ 4 8 1 3
$ 4 8 1 4
$ 4 7 F 3
C o n v e r tt o 2 p o k e s
L e f t P O K Ev a l u e
R i g h tP O K E v a l u e
G e t r e g i s t e rp o i n t e r
I n c r e m e n t t a b l ep o i n t e r
I n c r e m e n t r e g i s t e rp o i n t e r
A l l r e g i s t e r sc o n v e r t e dt o P O K E S
N O — C o n t i n u e
O u t p u ts t a t u sr e g i s t e r
M o v e r e s p e c t i v eb i t i n t o c a r r y
I f s e t ,t h e na r r o w
E l s ee n t e r P O K E v a l u ef o r p o i n t
a f t e r ;e n t e ra n
$ L D A# $ 1 Ei n t a b l e
G e t m o r es t a t u sf l a g s
1 s t s e l e c t a b l em e m o r yl o c a t i o n
d i s p l a y e d( h e r e i m o u s es p e e d )
V a l u ei n l o w e rl e f t o f l i n e
2 n d s e l e c t a b l em e m o r yl o c a t i o n
( h e r e i b o r d e rc o n t a c to f m o u s e )
D i s p l a yf o l l o w si n l o w e rr i g h t
o f l i n e
3 r d s e l e c t a b l em e m o r yl o c a t i o n
( h e r e : j o y s t i c kv a l u e )
D i s p l a yi n u p p e rl e f t
4 t h s e l e c t a b l em e m o r yl o c a t i o n
( h e r e : 5 0 / 6 0 H zc l o c kr e g i s t e r )
R e s e ts t a t u s
2 0 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 219/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
* * * * * * * * * * * * * * * * * * * * * * * * * * * * D i s p l a yr e g i s t e r c o n t e n t s
S a v e $ 0 7 - $ 0 2 f o r s t a c k
$ 0 2 / $ 0 3 = a d d r e s si n c h a r a c t e rR O M
$ 0 4 / $ 0 5o f a d d r e s si n b i t m a p
$ 0 6 / $ 0 7 = p o i n t e r f r o m P O K Et a b l e
A d d r e s si n b i t m a p
U p p e rl i n e o f m e s s a g e
7 1 E E
7 1 F 0
7 1 F 27 1 F 3
7 1 F 4
7 1 F 6
7 1 F 8
7 1 F A
7 1 F C
7 1 F E
7 2 0 0
7 2 0 2
7 2 0 4
7 2 0 6
7 2 0 9
7 2 0 B
7 2 0 D
7 2 0 F
7 2 1 1
7 2 1 3
7 2 1 5
7 2 1 7
7 2 1 9
7 2 1 C
7 2 1 E
7 2 1 F
7 2 2 1
7 2 2 2
7 2 2 4
7 2 2 6
7 2 2 9
7 2 2 B7 2 2 D
7 2 3 0
7 2 3 2
7 2 3 5
7 2 3 8
7 2 3 A
7 2 3 C
7 2 3 E
7 2 4 1
7 2 4 3
A 2
B 5
4 8C A
1 0
A 9
8 5
A 9
8 5
A 9
8 5
A 9
8 5
2 0
A 9
8 5
A 9
8 5
A 9
8 5
A 9
8 5
2 0
A 2
6 8
9 5
E 8
E 0
D O
A D
F 0
A 98 D
A 2
A D
C D
D O
2 9
D O
C E
D O
C A
0 5
0 2
F A
B D
0 5
B 0
0 4
F 6
0 6
4 7
0 7
8 B
B E
0 5
F 0
0 4
1 5
0 6
4 8
0 7
8 B
0 0
0 2
0 6
F 8
E C
I B
7 F0 0
8 0
0 1
0 1
F 8
2 0
0 8
E C
E F
4 7
4 7
4 7
D C
D C
D C
4 7
L D X
L D A
P H A
D E X
B P L
L D A
S T A
L D A
S T A
L D A
S T A
L D A
S T AJ S R
L D A
S T A
L D A
S T A
L D A
S T A
L D A
S T A
J S R
L D X
P L A
S T A
I N X
C P X
B N E
L D A
B E Q
L D AS T A
L D X
L D A
C M P
B N E
A N D
B N E
D E C
B N E
D E X
# $ 0 5
$ 0 2 , X
$ 7 1 F 0
# $ B D
$ 0 5
# $ B 0
$ 0 4
# $ F 6
$ 0 6
# $ 4 7
$ 0 7$ 4 7 8 B
# $ B E
$ 0 5
# $ F 0
$ 0 4
# $ 1 5
$ 0 6
# $ 4 8
$ 0 7
$ 4 7 8 B
# $ 0 0
$ 0 2 , X
# $ 0 6
$ 7 2 1 E
$ 4 7 E C
$ 7 2 4 6
# $ 7 F$ D C 0 0
# $ 8 0
$ D C 0 1
$ D C 0 1
$ 7 2 3 2
# $ 2 0
$ 7 2 4 6
$ 4 7 E C
$ 7 2 3 2
O u t p u tu p p e rl i n e
A d d r e s si n b i t m a p
L o w e rl i n e o fm e s s a g e
R e g i s t e rt a b l e a d d r e s s
O u t p u t l o w e rl i n e
R e - e s t a b l i s hz e r op a g e
( s t a c k$ 0 2 - $ 0 7 )
D e l a yf u n c t i o na c t i v e ?
Y E S — e x i ti n t e r r u p t
E l s e t e s t< C = >k e y
R e p e a t f u n c t i o n t i m e l o o p v a
N o l o n g e r p r e s s e d ?
D e c r e m e n tr e p e a tc o u n t e r
T i m e r u n n i n g ?
2 0 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 220/314
A b a c u s
7 2 4 4
7 2 4 6
7 2 4 8
7 2 4 B
7 2 4 E
7 2 5 0
7 2 5 2
7 2 5 3
7 2 5 5
7 2 5 6
7 2 5 8
7 2 5 B
7 2 5 D
7 2 6 07 2 6 3
7 2 6 5
7 2 6 8
7 2 6 B
7 2 6 E
: S o f t w a r e
D O
A 9
8 D
A D
A 2
A 0
8 8
D O
C A
D O
A D
0 9
8 D
A D8 5
A E
A C
A D
4 0
E C
0 1
1 9
0 D
0 1
0 0
F D
F A
0 E
0 9
0 E
E B0 1
F 0
F l
E F
D O
D C
D C
D C
4 7
4 7
4 7
4 7
B N E
L D A
S T A
L D A
L D X
L D Y
D E Y
B N E
D E X
B N E
L D A
O R A
S T A
L D AS T A
L D X
L D Y
L D A
R T I
$ 7 2 3 2
# $ 0 1
$ D 0 1 9
$ D C 0 D
# $ 0 1
# $ 0 0
$ 7 2 5 2
$ 7 2 5 2
$ D C 0 E
# $ 0 9
$ D C 0 E
$ 4 7 E B$ 0 1
$ 4 7 F 0
$ 4 7 F 1
$ 4 7 E F
G E O SI n s i d ea n d O u t
N O — C o n t i n u et e s t i n g
D e l e t eI R Qd i r e c t i o n sf r o mG E O S
E x i to n l yo n r a n d o mI R Q
S t a r tt i m e r
N o w t i m e rr u n s i n c y c l e s
4 c y c l e s3
4
4
4
6
* * * * * * * * * * * * * * * * * * * * * * * * * * * * C o n v e r th e x n u m b e rt o 2 P O K E S
7 2 6 F
7 2 7 0
7 2 7 3
7 2 7 4
7 2 7 5
7 2 7 6
7 2 7 7
7 2 7 8
7 2 7 9
7 2 7 C
4 8
2 0
A 8
6 8
4 A
4 A
4 A
4 A
2 0
6 0
7 D
7 D
4 7
4 7
P H A
J S R
T A Y
P L A
L S R
L S R
L S R
L S R
J S R
R T S
$ 4 7 7 D
$ 4 7 7 D
C o n v e r tr i g h tn y b b l et o P O K E
P u t i n t o Y - r e g i s t e r
C o n v e r tl e f t n y b b l et o P O K E
* * * * * * * * * * * * * * * * * * * * * * * * * * * * C o n v e r tn y b b l et o s c r e e n P O K E
7 2 7 D
7 2 7 F
7 2 8 0
7 2 8 1
7 2 8 3
7 2 8 5
7 2 8 7
7 2 8 8
7 2 8 A
2 9
D 8
3 8
E 9
B 0
6 9
1 8
6 9
6 0
O F
0 A
0 2
3 9
0 1
A N D
C L D
S E C
S B C
B C S
A D C
C L C
A D C
R T S
# $ 0 F
# $ 0 A
$ 7 2 8 7
# $ 3 9
# $ 0 1
G r e a t e rt h a n 9 ( a d da 1 )
E l s e a d d o f f s e t t o c o r r e s p o n
P O K E( - 1 )
2 0 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 221/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
• • • • • • • • • • • • • • • • • • • • • • * • • • • • O u t p u ti n t h e b i t m a p
P u t i nc h a r a c t e rs e t
I n i t i a l i z ec h a r a c t e r c o u n t e r
H i g h - b y t eo f c h a r ,s e t p o i n t e r
a d d r e s s
G e t s c r e e n P O K E f r o mt a b l e ;
c o m p u t e a d d r e s si n c h a r a c t e rs e t
7 2 8 B
7 2 8 D
7 2 8 F
7 2 9 1
7 2 9 3
7 2 9 5
7 2 9 7
7 2 9 8
7 2 9 A
7 2 9 B
7 2 9 D
7 2 9 E7 2 A 0
7 2 A 2
7 2 A 4
7 2 A 5
7 2 A 7
7 2 A 9
7 2 A A
7 2 A B
7 2 A D
7 2 A F
7 2 B 1
7 2 B 2
7 2 B 4
7 2 B 5
7 2 B 6
7 2 B 7
7 2 B 9
7 2 B B
7 2 B D7 2 B F
7 2 C 1
7 2 C 3
7 2 C 4
7 2 C 6
7 2 C 8
7 2 C A
A 9
8 5
A O
A 9
8 5
B l
O A
2 6
O A
2 6
O A
2 68 5
A 9
1 8
6 5
8 5
9 8
4 8
A O
B l
9 1
8 8
1 0
6 8
A 8
3 8
A 5
E 9
8 5
A 5E 9
8 5
8 8
1 0
A 9
8 5
6 0
3 3
0 1
I E
0 0
0 3
0 6
0 3
0 3
0 30 2
D O
0 3
0 3
0 7
0 2
0 4
F 9
0 4
0 8
0 4
0 50 0
0 5
C B
3 5
0 1
L D A
S T A
L D Y
L D A
S T A
L D A
A S L
R O L
A S L
R O L
A S L
R O LS T A
L D A
C L C
A D C
S T A
T Y A
P H A
L D Y
L D A
S T A
D E Y
B P L
P L A
T A Y
S E C
L D A
S B C
S T A
L D AS B C
S T A
D E Y
B P L
L D A
S T A
R T S
# $ 3 3
$ 0 1
# $ 1 E
# $ 0 0
$ 0 3
( $ 0 6 ) , Y
$ 0 3
$ 0 3
$ 0 3$ 0 2
# $ D 0
$ 0 3
$ 0 3
# $ 0 7
( $ 0 2 ) , Y
( $ 0 4 ), Y
$ 7 2 A D
$ 0 4
# $ 0 8
$ 0 4
$ 0 5# $ 0 0
$ 0 5
$ 7 2 9 1
# $ 3 5
$ 0 1
L o w b y t e
S t a r t i n ga d d r e s si s $ D 0 0 0 ;
a s o f f s e t
a d d
S a v ec h a r a c t e r c o u n t e r
( Y - r e g i s t e rn e e d e d )
W r i t e8 l i n e so f o n e c h a r a c t e r
A l l l i n e s ?
N O — C o n t i n u eg e t t i n g
c h a r a c t e rc o u n t e r
C o m p u t e n e x tp o s i t i o ni n
t h e b i t m a p
E v e n t u a l o v e r f l o w
M o r e c h a r a c t e r s ?
T h e n o u t p u tt h e m
E l s e r e - c a l lI / O
R e a d y
r a n g e
• • • • • • • • • • • • • • • • • • • • • • • • • • • • P r e p a r en o r m a lG E O SI R Q
7 2 C B A D 0 D D C L D A$ D C 0 D C l e a rI C R
7 2 C E A 97 F L D A# $ 7 F R e s e t I R Qc o n d i t i o n
2 1 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 222/314
A b a c u s
7 2 D 0
7 2 D 3
7 2 D 5
7 2 D 8
7 2 D B
7 2 D D
7 2 E 0
7 2 E 3
7 2 E 5
7 2 E 8
S o f t w a r e
8 D
A 9
8 D
A D
0 9
8 D
A D
8 5
A D
6 C
0 D
8 1
0 D
0 E
0 9
O E
E B
0 1
E F
F 4
D C
D C
D C
D C
4 7
4 7
4 7
S T A
L D A
S T A
L D A
O R A
S T A
L D A
S T A
L D A
J M P
$ D C 0 D
# $ 8 1
$ D C 0 D
$ D C 0 E
# $ 0 9
$ D C 0 E
$ 4 7 E B
$ 0 1
$ 4 7 E F
( $ 4 7 F 4 )
G E O SI n s i d ea n dO u t
U n d e r - r u n n i n gt i m e rA r u n s I R Q
S t a r tt i m e r
E s t a b l i s h o l d m e m o r yc o n f i g u r e .
t o o r i g i n a lG E O Si n t e r r u p t
7 2 E B0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0R e g i s t e rc o n t e n t s( t o $ 7 2 F 5 )
7 2 F 30 0 0 00 0 2 0 1 0 0 3 2 0 2 0P O K E v a l u ed e s c r i p t i o n s
7 2 F B0 1 0 32 0 1 8 1 22 0 1 9 1 2 ( $ 7 2 F 6 - $ 7 3 1 5 )7 3 0 32 0 1 3 1 02 0 0 E1 6 2 3 0 2
7 3 0 B0 4 0 9 1 A 0 3 2 0 2 02 0 2 0
7 3 1 32 0 2 0 2 0 2 02 0 2 0 2 0 2 0 R e g i s t e rP O K E S( $ 7 3 1 6 - )
7 3 1 B2 0 2 02 0 2 0 2 0 2 0 2 0 2 0
7 3 2 32 0 2 02 0 2 02 0 2 0 2 02 0
7 3 2 B2 0 2 0 2 0 2 0 2 0 2 0 2 0 2 0
7 3 3 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7 3 3 B0 0 0 0 0 0 0 0 0 0
N e x t ,t h eB A S I Cl o a d e ro f t h eS S T .
0 r e m * * * * * t * * t % * t t t * t t t t t * t * * * t % i % t t t t
1 r e m * t h i s p r o g r a m c r e a t e sa - f i l e , #
2 r e m * w h i c hm u s t b ec o n v e r t e dt o *
3 r e m * t h e g e o s — f o r m a tb y u s i n gt h e *
4 r e m * " f i l e - m a s t e r " . *
5 r e m * l o a d a d d r e s s = d e c ( 2 8 8 1 6 )*
6 r e m * e n t r yp o i n t = " " ( " " ") *
7 r e m * e n d a d d r e s s = d e c ( 2 9 5 0 4 )*
8 r e m * - f i l e t y p e = 5 ( a c c e s s o r y ) *9 r e m t # * * t * t * * t * * * * * * % t t * * t * $ * t & * t * t t *
1 4 r e s t o r e s p r i n tc h r * ( 1 4 7 ) % s r e mc l r h o m e
1 5 i n p u t " C D O W N l p r o g r a mn a m e " ; - f *
2 0 o p e n1 5 8 3 2 ?- f * + % ? ,w "
3 0 - f o r i = O t o 6 8 73 5 r e a da : p r i n t # l , c h r * ( a ) ; s b = b + a
4 0 n e x t
4 5 c l o s e l5 0 i - f b < > 7 4 2 9 3t h e n p r i n t" e r r o ri n d a t a ! "
2 1 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 223/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
9 0 0 0 d a t a1 2 0 , 1 6 2 , 5 , 1 6 0 , 1 4 4 , 1 8 5 , 0 , 1 1 29 0 0 1d a t a 1 5 3 , 0 , 6 9 , 2 0 0 , 2 0 8 , 2 4 7 , 2 3 8 , 1 5 19 0 0 2 d a t a1 1 2 , 2 3 8 , 1 5 4 , 1 1 2 , 2 0 2 , 2 0 8 , 2 3 8 , 1 6 29 0 0 3 d a t a2 , 1 6 9 , 2 3 4 , 1 5 7 , 2 1 2 , 1 9 4 , 2 0 2 , 1 69 0 0 4d a t a2 5 0 , 7 6 , 1 8 0 , 6 9 , 1 6 5 , 1 , 7 2 , 1 6 99 0 0 5 d a t a5 3 , 1 3 3 , 1 , 1 7 4 , 2 5 4 , 2 5 5 , 1 7 2 , 2 5 59 0 0 6 d a t a2 5 5 , 1 4 2 , 2 4 4 , 7 1 , 1 4 0 , 2 4 5 , 7 1 , 1 6 29 0 0 7 d a t a6 , 1 6 0 , 7 0 , 1 4 2 , 2 5 4 , 2 5 5 , 1 4 0 , 2 5 59 0 0 8d a t a2 5 5 , 1 7 3 , 1 4 , 2 2 0 , 4 1 , 2 5 4 , 1 4 1 , 1 49 0 0 9d a t a2 2 0 , 1 7 3 , 1 3 , 2 2 0 , 1 6 9 , 1 2 7 , 1 4 1 , 1 39 0 1 0 d a t a2 2 0 , 1 6 9 , 1 2 9 , 1 4 1 , 1 3 , 2 2 0 , 1 6 2 , 2 39 0 1 1d a t a 1 6 0 , 0 , 1 4 2 , 4 , 2 2 0 , 1 4 0 , 5 , 2 2 09 0 1 2 d a t a1 7 3 , 1 4 , 2 2 0 , 9 , 9 , 1 4 1 , 1 4 , 2 2 09 0 1 3d a t a 1 0 4 , 1 3 3 , 1 , 1 6 2 , 6 2 , 1 6 0 , 1 9 4 , 1 4 2
9 0 1 4d a t a 1 5 5 , 1 3 2 , 1 4 0 , 1 5 6 , 1 3 2 , 9 6 , 1 4 1 , 2 3 99 0 1 5d a t a 7 1 , 1 0 4 , 7 2 , 1 4 1 , 2 4 3 , 7 1 , 1 6 5 , 19 0 1 6d a t a 1 4 1 , 2 3 5 , 7 1 , 1 6 9 , 5 3 , 1 3 3 , 1 , 1 6 99 0 1 7 d a t a1 , 4 5 , 2 5 , 2 0 8 , 4 5 , 2 6 , 2 0 8 , 2 4 09 0 1 8 d a t a3 , 7 6 , 2 0 3 , 7 1 , 1 6 9 , 2 5 3 , 1 4 1 , 09 0 1 9 d a t a2 2 0 , 1 7 3 , 1 , 2 2 0 , 4 8 , 2 0 . 1 7 3 . 1 39 0 2 0 d a t a2 2 0 , 1 7 3 , 1 4 , 2 2 0 , 9 , 9 , 1 4 1 , 1 49 0 2 1 d a t a 2 2 0 ,1 7 3 ,2 3 5 , 7 1 ,1 3 3 ,1 , 1 7 3 . ,2 3 9
9 0 2 2d a t a 7 1 , 6 4 , 1 6 9 , 1 2 7 , 1 4 1 , 0 , 2 2 0 , 1 7 3
9 0 2 3d a t a 1 , 2 2 0 , 2 0 5 , 1 , 2 2 0 , 2 0 8 , 2 4 8 , 4 1
9 0 2 4d a t a 3 2 , 2 4 0 , 7 , 1 6 9 , 2 5 5 , 1 4 1 , 2 3 6 , 7 19 0 2 5d a t a 2 0 8 , 2 0 2 , 1 4 2 , 2 4 0 , 7 1 , 1 4 0 s 2 4 1 , 7 1
9 0 2 6 d a t a1 8 6 , 2 3 2 , 2 3 2 , 2 3 2 , 1 4 2 , 2 4 2 , 7 1 , 1 0 4
9 0 2 7 d a t a1 0 4 , 1 4 1 , 2 3 8 , 7 1 , 1 0 4 , 7 2 , 1 4 1 , 2 3 7
9 0 2 8 d a t a 7 1 , 1 7 3 , 2 3 8 , 7 1 , 7 2 , 1 7 3 , 2 4 3 , 7 1
9 0 2 9 d a t a7 2 , 1 6 2 , 0 , 1 7 3 , 2 3 7 , 7 1 , 3 2 , 1 1 19 0 3 0 d a t a7 1 , 1 4 1 , 2 1 , 7 2 , 1 4 0 , 2 2 , 7 2 , 1 6 0
9 0 3 1d a t a 0 , 1 8 5 , 2 3 8 , 7 1 , 1 4 0 . 2 3 7 , 7 1 , 3 29 0 3 2 d a t a1 1 1 , 7 1 , 1 5 7 , 2 3 , 7 2 , 2 3 2 , 1 5 2 , 1 5 7
9 0 3 3d a t a 2 3 , 7 2 , 1 7 2 , 2 3 7 , 7 1 , 2 3 2 , 2 3 2 , 2 0 09 0 3 4d a t a 1 9 2 , 6 , 2 0 8 , 2 2 9 , 1 6 2 , 7 , 1 7 3 , 2 4 3
9 0 3 5 d a t a7 1 , 7 2 , 7 3 , 2 4 3 , 7 1 , 1 7 6 , 3 , 1 6 9
9 0 3 6 d a t a4 6 , 4 4 , 1 6 9 , 3 0 , 1 5 7 , 3 8 , 7 2 , 2 0 2
9 0 3 7d a t a 1 6 , 2 4 0 , 1 7 3 , 7 , 1 3 3 , 3 2 , 1 1 1 , 7 19 0 3 8 d a t a1 4 1 , 4 7 , 7 2 , 1 4 0 , 4 8 , 7 2 , 1 7 3 , 1 8 2
9 0 3 ? d a t a1 3 2 , 3 2 , 1 1 1 , 7 1 , 1 4 1 , 5 0 , 7 2 , 1 4 0
9 0 4 0 d a t a5 1 , 7 2 , 1 7 3 , 6 , 1 3 3 , 3 2 , 1 1 1 , 7 1
9 0 4 1 d a t a 1 4 1 , 1 6 , 7 2 , 1 4 0 , 1 7 , 7 2 , 1 7 3 , 1 4
9 0 4 2d a t a 2 2 0 , 3 2 , 1 1 1 , 7 1 , 1 4 1 , 1 9 , 7 2 , 1 4 0
2 1 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 224/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
9 0 4 3 d a t a2 0 , 7 2 , 1 0 4 , 1 4 1 , 2 4 3 , 7 1 , 1 6 2 , 59 0 4 4 d a t a1 8 1 , 2 , 7 2 , 2 0 2 , 1 6 , 2 5 0 , 1 6 9 , 1 8 99 0 4 5d a t a 1 3 3 , 5 , 1 6 9 , 1 7 6 , 1 3 3 , 4 , 1 6 9 , 2 4 69 0 4 6 d a t a1 3 3 , 6 , 1 6 9 , 7 1 , 1 3 3 , 7 , 3 2 , 1 3 99 0 4 7 d a t a7 1 , 1 6 9 , 1 9 0 , 1 3 3 , 5 , 1 6 9 , 2 4 0 , 1 3 39 0 4 8d a t a 4 , 1 6 9 , 2 1 , 1 3 3 , 6 , 1 6 9 , 7 2 , 1 3 39 0 4 9d a t a7 , 3 2 , 1 3 9 , 7 1 ,1 6 2 , 0 ," l O 4 ,1 4 99 0 5 0 d a t a 2 , 2 3 2 , 2 2 4 , 6 , 2 0 8 , 2 4 8 , 1 7 3 ,2 3 6
9 0 5 1d a t a 7 1 , 2 4 0 , 2 7 , 1 6 9 , 1 2 7 , 1 4 1 , 0 , 2 2 09 0 5 2d a t a 1 6 2 , 1 2 8 , 1 7 3 , 1 , 2 2 0 , 2 0 5 , 1 , 2 2 09 0 5 3d a t a 2 0 8 , 2 4 8 , 4 1 , 3 2 , 2 0 8 , 8 , 2 0 6 , 2 3 69 0 5 4 d a t a7 1 , 2 0 8 , 2 3 9 , 2 0 2 , 2 0 8 , 2 3 6 , 1 6 9 , 19 0 5 5 d a t a 1 4 1 , 2 5 , 2 0 8 , 1 7 3 , 1 3 , 2 2 0 , 1 6 2 , 1
9 0 5 6d a t a 1 6 0 , 0 , 1 3 6 , 2 0 8 , 2 5 3 , 2 0 2 , 2 0 8 , 2 5 0
9 0 5 7d a t a 1 7 3 , 1 4 , 2 2 0 , 9 , 9 , 1 4 1 , 1 4 , 2 2 09 0 5 8d a t a 1 7 3 , 2 3 5 , 7 1 , 1 3 3 , 1 , 1 7 4 , 2 4 0 , 7 19 0 5 9 d a t a1 7 2 , 2 4 1 , 7 1 , 1 7 3 , 2 3 9 , 7 1 , 6 4 , 7 2
9 0 6 0d a t a 3 2 , 1 2 5 , 7 1 , 1 6 8 , 1 0 4 , 7 4 , 7 4 , 7 49 0 6 1d a t a 7 4 , 3 2 , 1 2 5 , 7 1 , 9 6 , 4 1 ,1 5 , , 2 1 6
9 0 6 2d a t a 5 6 , 2 3 3 , 1 0 , 1 7 6 , 2 , 1 0 5 , 5 7 , 2 4
9 0 6 3d a t a 1 0 5 , 1 , 9 6 , 1 6 9 , 5 1 , 1 3 3 , 1 , 1 6 0
9 0 6 4 d a t a3 0 , 1 6 9 , 0 , 1 3 3 , 3 , 1 7 7 , 6 , 1 0
9 0 6 5d a t a 3 8 , 3 , 1 0 , 3 8 , 3 , 1 0 , 3 8 , 39 0 6 6 d a t a 1 3 3 , 2 , 1 6 9 , 2 0 8 , 2 4 , 1 0 1 , 3 , 1 3 39 0 6 7d a t a 3 , 1 5 2 , 7 2 , 1 6 0 , 7 , 1 7 7 , 2 , 1 4 5
9 0 6 8d a t a 4 , 1 3 6 , 1 6 , 2 4 9 , 1 0 4 , 1 6 8 , 5 6 , 1 6 59 0 6 9 d a t a4 , 2 3 3 , 8 , 1 3 3 , 4 , 1 6 5 , 5 , 2 3 3
9 0 7 0d a t a 0 , 1 3 3 , 5 , 1 3 6 , 1 6 , 2 0 3 , 1 6 9 , 5 3
9 0 7 1d a t a 1 3 3 , 1 , 9 6 , 1 7 3 , 1 3 , 2 2 0 , 1 6 9 , 1 2 7
9 0 7 2d a t a 1 4 1 , 1 3 , 2 2 0 , 1 6 9 , 1 2 9 , 1 4 1 , 1 3 , 2 2 0
9 0 7 3d a t a 1 7 3 , 1 4 , 2 2 0 , 9 , 9 , 1 4 1 , 1 4 , 2 2 0
9 0 7 4d a t a 1 7 3 , 2 3 5 , 7 1 , 1 3 3 , 1 , 1 7 3 , 2 3 9 , 7 19 0 7 5 d a t a1 0 8 , 2 4 4 , 7 1 , 0 , 0 , 0 , 0 , 0
9 0 7 6d a t a 0 , 0 , 0 , 0 , 0 , 0 , 3 2 , 1 69 0 7 7d a t a 3 , 3 2 , 3 2 , 1 , 3 , 3 2 , 2 4 , 1 8
9 0 7 8 d a t a3 2 , 2 5 , 1 8 , 3 2 , 1 9 , 1 6 , 3 2 , 1 49 0 7 9d a t a 2 2 , 3 5 , 2 , 4 , 9 , 2 6 , 3 , 3 2
9 0 8 0d a t a 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 29 0 8 1d a t a 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2
9 0 8 2d a t a 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2
9 0 8 3d a t a 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 2 , 3 29 0 8 4d a t a 3 2 , 3 2 , 3 2 , 3 2 , 0 , 0 , 0 , 09 0 8 5d a t a0 , 6 , 0 , 0 , 0 , 0 , 0 , 0
2 1 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 225/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
N o wa f e wr e m a r k sa b o u tt h eo p e r a t i o no f t h ep r o g r a m .
I n t h ei n i t i a l i z a t i o n ,t h eS S Ta u t o m a t i c a l l y c o p i e si t s e l ft o m e m o r ya t $ 4 9 5 0 .
I t i s n o tp o s s i b l et o l o a dd i r e c t l yt o t h i sa d d r e s sb e c a u s eu n d e rG E O S ,t h e
a r e ai n w h i c ha p r o g r a mi s l o a d e di s r e c o r d e do n t h ed i s k e t t e .T h eo p e r a t i n g
s y s t e mw r i t e s t h er e s u l t i n gf i l e( S W A Pf i l e )a t t h i sl o c a t i o na f t e rt h ee n do f
t h e p r o g r a m .S i n c ew e w a n tt o e x i to u rp r o g r a mw i t h o u th a v i n gi t
o v e r w r i t t e nb y t h e S W A Pf i l e ,w e c o p yi t t o a n a r e at h a t w i l ln o tb e
o v e r w r i t t e n .T h ec o m p u t e rc a nc r a s hw h e nt h es i n g l e - s t e ps i m u l a t o ri s
l o a d e di f a c t i o n s a r ep e r f o r m e dw h i c hr e q u i r ea l a r g ea m o u n to f m e m o r y( s u c ha s d r a w i n ga f i l l e dc i r c l ei n g e o P a i n t ) .B e c a u s eo f t h el i m i t e dm e m o r ys p a c e ,t h i sc o u l dn o tb e d o n ed i f f e r e n t l y .
T h ea c t u a lo p e r a t i n gp r i n c i p l ei s b a s e do n t h ei n t e r r u p tt e c h n i q u e .A t i m e ri nt h eC o m p l e xI n t e r f a c eA d a p t e r( C I A ) ,l o c a t e da t $ D C 0 0 ,i s p r o g r a m m e di n
t h e i n i t i a l i z a t i o ns u c ht h a tt h e m i c r o p r o c e s s o rc a ne x e c u t e o n l yo n ei n s t r u c t i o n i nt h em a i np r o g r a mb e f o r ei t i t i n t e r r u p t e da n da b r a n c hi s m a d et o a n S S Tr o u t i n e ,w h i c hi s l o c a t e da t $ 7I O C .
H e r ew e h a v et o e v a l u a t et h ec a u s eo f t h ei n t e r r u p tb e c a u s eG E O Sa l s o
w o r k sw i t hp r o g r a mi n t e r r u p t i o n si n o r d e rt o r e a dt h ek e y b o a r do rj o y s t i c k .
T h i si s d o n ea t $ 7 1I D ,w h e r et h eI n t e r r u p tC o n t r o lR e g i s t e ro f t h ev i d e oc h i pi s r e a d .G E O Sd o e sn o tc r e a t e t h es y s t e mi n t e r r u p tt h r o u g ha t i m e r
( j i f f yc l o c k )a s i n t h eo r i g i n a lf 6 4o p e r a t i n gs y s t e m , b u tb y e v a l u a t i n gt h er a s t e r l i n ei n w h i c ht h ee l e c t r o nb e a mo f t h em o n i t o ri s s c a n n e d .T h ev i d e o
c h i pc a ng e n e r a t ea n I R Qe v e r y t i m ea g i v e nl i n eo f t h es c r e e ni s w r i t t e n .
T h es y s t e mI R Qi s g i v e np r i o r i t y i nt h eS S Ts o t h a ti n p u t sc a nb e m a d ev i a
t h ek e y b o a r do r j o y s t i c k .
I f n o r e q u e s t sa r e m a d et h r o u g hG E O S ,t h en e wr o u t i n ea t $ 7 1 2 Ai s
p r o c e s s e d .I f t h eC o m m o d o r e( C = )k e yi s p r e s s e d ,t h ec u r r e n tr e g i s t e r
c o n t e n t sa r ef e t c h e df r o mt h es t a c ka n dc o n v e r t e dt o c o d e sw h i c hc a nb ea c c e s s e de a s i l yf r o mt h eo l d! 6 4c h a r a c t e rs e t( s c r e e nc o d e s ) .T h eo u t p u ti s
d i s p l a y e d u s i n gt h e h i g h - r e s o l u t i o ng r a p h i c so f G E O S ,f i r s tt h et o pl i n e
w i t ht h et i t l e s ,a n dt h e nt h er e g i s t e rc o n t e n t s .T h et i m e ri s s t a r t e da g a i na t
$ 7 2 5 Ea f t e rt h eo u t p u ta n dc o n t r o lr e t u r n s t o t h ei n t e r r u p t e dp r o g r a m .
T o i n i t i a l i z eG E O Sp r o p e r l y ,r u na n o t h e rG E O Sa c c e s s o r y b e f o r er u n n i n g
S S T .T h e nu n d e rt h eg e o sm e n uc l i c kt h ei t e ms i n g l e - s t e p .A f t e r
l o a d i n g ,i t m a ys e e mt h a tt h ec o m p u t e rh a sc r a s h e d ,b e c a u s en o m o u s em o v e m e n t sa r ep o s s i b l e .T h i si s n o tt h ec a s e .T h ec o m p u t e ri s j u s tw a i t i n g
f o ry o ut o p r e s st h eC o m m o d o r e( C = )k e y .
2 1 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 226/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h ef o l l o w i n gp i c t u r ew i l lr e s u l t :
q e o s5 f i l e| u i e u uj d i s k| s p e c i a l
C A L C U L A T O R P E m D< E C A L U L A T O R> K EN O T EP A D
E 2 A 66 8 8 5 1 2 F D. . t - - - t t 4 ±A 9
F i g u r e7 5 :T h eS t e p p e r
A t w o - l i n em e s s a g ei s d i s p l a y e da t t h eb o t t o mo f t h es c r e e n .T h et o pl i n e
c o n t a i n s t h en a m e so f t h e r e g i s t e ro f t h e6 5 1 0m i c r o p r o c e s s o r .P C s t a n d s
f o rp r o g r a mc o u n t e r ,A Cf o ra c c u m u l a t o r ,X Ra n dY Rf o rX a n dY r e g i s t e r s ,
S P f o r t h es t a c kp o i n t e r s .T h ef l a g so f t h es t a t u sr e g i s t e r a r ed e s i g n a t e da s
f o l l o w s :
N
V
B*
I
Z
c
n e g a t i v e
o v e r f l o w
B C Dm o d eu n u s e d( a l w a y ss e t )
i n t e r r u p t
z e r o
c a r r y
T h eb o t t o ml i n ed i s p l a y st h ec u r r e n tr e g i s t e rc o n t e n t sf o l l o w i n gt h el a s t
e x e c u t e di n s t r u c t i o n .T h eo u t p u ti s d i s p l a y e di n h e x a d e c i m a l ,e x c e p tf o rt h e
s t a t u sr e g i s t e r .F o rt h es t a t u sr e g i s t e r ,a n a r r o wr e p r e s e n t sa s e tf l a ga n da
p e r i o dr e p r e s e n t sa c l e a r e df l a g .
2 1 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 227/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I n a d d i t i o n ,t h ec o n t e n t so f t h ef o u rm e m o r yl o c a t i o n s( w h i c hy o us p e c i f y
b e f o r et h ep r o g r a ms t a r t e d )i s d i s p l a y e da t $ 7 1 C 0i n t h el i s t i n g :8 5 0 7( m o u s es p e e d ) ,8 4 B 6( m o u s ee d g ec o n t a c t ) ,8 5 0 6( j o y s t i c kv a l u e )a n dD C O E( 5 0 / 6 0 H zc l o c kr e g i s t e r ) .
E a c ht i m ey o un o wp r e s s t h eC =k e y ,t h es i n g l e i n s t r u c t i o nc o r r e s p o n d i n g
t o t h ep r o g r a mc o u n t e ra d d r e s si s e x e c u t e d .T h e nt h ed i s p l a yi s r e f r e s h e d .I f
y o ud e p r e s st h eC =k e yf o rm o r et h a nt w os e c o n d s ,m u l t i p l ei n s t r u c t i o n s
a r ee x e c u t e d ,s o t h a ty o uc a np r o c e s sm o r et h a na s i n g l ei n s t r u c t i o nw i t h o u th a v i n gt o r e l e a s e t h ek e y .
Y o uc a np r e s st h e < S H I F T >k e yt o e x e c u t et h ei n s t r u c t i o n sa t a n e v e nf a s t e r
r a t e .T h e < S H I F TL O C K >k e yc a na l s ob e u s e df o re x t e n d e dp e r i o d so ft i m e .
U s i n gt h eS S T ,G E O So p e r a t e sa t a m u c hs l o w e rr a t et h a nn o r m a l .
T o b e t t e ri l l u s t r a t et h eo p e r a t i o no f t h eS S T ,w e w i l ll o o ka t t h ea r e ao fG E O St h a te v a l u a t e s j o y s t i c ko p e r a t i o n .
P r e s st h eC =k e yu n t i lm e m o r yl o c a t i o n$ C 2 C 8a p p e a r so n t h es c r e e n .T h i s
i s t h es t a r to f t h eG E O S" j o bl o o p "f r o m w h i c ha l la c t i o n si n G E O Sa r e
d i r e c t e d .O n eo f t h e s ei s t h e r o u t i n et o e v a l u a t et h ej o y s t i c ko p e r a t i o n .P r e s s
t h eC =k e ya g a i na n da b r a n c hi s m a d et o a r o u t i n et h a tl o o k sa s f o l l o w s :
E 2 8 F B I T$ 3 9
E 2 9 1 B V C$ E 2 A 2
E 2 9 3 L D A# $ B F
E 2 9 5 A N D$ 3 9
E 2 9 7 S T A$ 3 9
E 29 9 L D A$ 8 4 A 5
E 2 9 C L D X$ 8 4 A 6
E 2 9 F J S R$ C 1 D 8
E 2 A 2 L D A$ 3 9
E 2 A 4 A N D# $ 2 0
E 2 A 6 B E Q$ E 2 B 7
E 2 A 8 L D A# $ D F
E 2 A A A N D$ 3 9
E 2 A C S T A$ 3 9
E 2 A E L D A$ 8 4 A 1
E 2 B 1 L D X$ 8 4 A 2
E 2 B 4 J S R $ C 1 D 8
E 2 B 7 B I T$ 3 9
2 1 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 228/314
A b a c u sS o f t w a r e
E 2 B 9
E 2 B B
E 2 B E
E 2 C 1
E 2 C 4
E 2 C 7
E 2 C A
E 2 C C
E 2 C F
E 2 D 2
E 2 D 5
E 2 D 7
E 2 D A
B P L
J S R
L D A
L D X
J D R
L D A
B E Q
L D A
L D X
J S R
L D A
S T A
R T S
$ E 2 C 7
$ E 5 1 5
$ 8 4 A 3
$ 8 4 A 4$ C 1 D 8
$ 8 4 B 6
$ E 2 D A
$ 8 4 A 7
$ 8 4 A 8
$ C 1 D 8
# $ 0 0
$ 8 4 B 6
G E O SI n s i d ea n dO u t
A ni m p o r t a n tm e m o r yl o c a t i o n ,$ 3 9 ,i s u s e dh e r e .B i t s5 - 7o f t h i sa d d r e s sr e p r e s e n t t h e c u r r e n t j o y s t i c ks t a t u s .T h es y s t e mi n t e r r u p ti s r e s p o n s i b l ef o r
i t sc o n t e n t .
F o l l o wt h ep r o g r a mf l o ww i t ht h eS S Tw i t h o u tm o v i n gt h ej o y s t i c k .T h er o u t i n ei s p r o c e s s e di n l a r g ej u m p sb e c a u s eo fb r a n c hi n s t r u c t i o n sa t $ E 2 9 1 ,$ E 2 A 6 , a n d $ E 2 B 9 .
T h ei n d i v i d u a lb i t si n m e m o r yl o c a t i o n$ 3 9h a v et h ef o l l o w i n gm e a n i n g s :
B i t5 = 1 : n e ws t a t u so f t h ef i r eb u t t o n( p r e s s e do r n o tp r e s s e d )
B i t6 = 1 : n e wp o s i t i o no f t h es t i c k
B i t7 = 1 : f i r eb u t t o ni s p r e s s e d
I f o n eo f t h e s ef l a g si s s e t ,i t i s r e s e th e r ea n da n o p e r a t i n gs y s t e ma d d r e s si s
p l a c e di n t ot h ea c c u m u l a t o ra n dt h e X - r e g i s t e rf r o mt w om e m o r yl o c a t i o n s
a s s i g n e dt o t h i s f l a g .A j u m pi s t h e nm a d et o t h i sa d d r e s si n d i r e c t l yv i a$ C 1 D 8 .
H o l dd o w nt h eC =k e yu n t i lt h ep r o g r a mc o u n t e ri s a t $ C 2 C 8a g a i n .
T r yt h i sb y h o l d i n gt h e j o y s t i c ki n a s e tp o s i t i o n ;m a k et h ej u m pt o $ E 2 8 Fb y p r e s s i n gt h eC =k e y .S i n c et h e 6 t hb i ti s n o ws e t ,t h ej u m pt o $ E 2 9 1i s
n o t e x e c u t e da n dt h e f l a gi s r e s e t i n s t e a d .T h ea d d r e s so f a j o bt o b e
e x e c u t e dw i l lb e f e t c h e df r o m$ 8 4 A 5a n d$ 8 4 A 6 .T h er o u t i n ea t $ C 1 D 8p e r f o r m st h ei n d i r e c tj u m po n l yi f o n eo f t h ev a l u e si n t h ea c c u m u l a t o ra n d
X - r e g i s t e ri s n o n - z e r o .A f t e r p r o c e s s i n gt h ec o r r e s p o n d i n gp r o g r a m ,t h e
c o m p u t e rr e t u r n st o $ E 2 A 2 ,w h e r ei t c o n t i n u e sw i t ht h er e s to f t h et e s t .
2 1 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 229/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 . 2W i n d o wt e c h n i q u e s
Y o u ' v ep r o b a b l yn o t i c e dt h a ta l l o f t h eo p e r a t i n gs y s t e mm e s s a g e si nG E O S ,s u c ha s d i s kd r i v ee r r o rm e s s a g e s ,a r ed i s p l a y e di n t h e i ro w nw i n d o w sk n o w na s e r r o rb o x e s .
Y o uc a ne a s i l yi n d u c ea ne r r o rb o xb yo p e n i n gt h ed i s kd r i v ed o o ra n dt h e nt r y i n g t ol o a d ap r o g r a mf r o mt h eG E O Sd i s k e t t e .T h i s p r o d u c e s a ne r r o r
b o xi n t h e c e n t e ro f t h es c r e e n :
q e o sj f i l e\ v i e wi d i s k|
O p e r a t i o nc a n c e l e dd u e t o
d i s k e r r o r :
M i s s i n go r u n f o r m a t t e dd i s k
F i g u r e7 6 :A no u t p u tw i n d o w :e r r o rb o x
C o r r e c tt h ee r r o rb y c l o s i n g t h e d o o r ,a n dc l i c kO K .T h ew i n d o wd i s a p p e a r s
a n dt h es c r e e nc o n t e n t sa r e t h es a m ea s b e f o r et h e e r r o rb o x .
G E O Sa l s ou s e sw i n d o w sk n o w na s d i a l o g u eb o x e s ,i n w h i c ha c u r s o r
a p p e a r s ,a n da l l o w sy o ut o e n t e rc h a r a c t e r sf r o mt h ek e y b o a r d .S e l e c t t h e
i t e mr e n a m ef r o mt h ed i s km e n u .T h i sw i l lp r o d u c et h ef o l l o w i n g
w i n d o w :
2 1 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 230/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
t o sI f i l eI M i e u j1 d i s kj s p e c i a l
| 4 _ JP l e a s ee n t e rn e u id i s kn a m e :C E O S
G E O SU 1 . 2
F i g u r e7 7 :D i a l o g u eb o x
T h en a m eo f t h e c u r r e n td i s k e t t ei s d i s p l a y e di n t h el o w e rs e c t i o n .I t c a nb ec h a n g e df r o mt h ek e y b o a r d .I f y o uc h a n g e y o u rm i n da n dd e c i d et h a ty o u
w a n tt o k e e pt h eo l dn a m e ,y o uc a nt e r m i n a t et h ep r o c e s sw i t hc a n c e l ,e v e ni f y o uh a v ea l t e r e dt h en a m ea l r e a d y .
Y o uc a nd o t h i so n l yi f y o uh a v en o t p r e s s e dt h e< R E T U R N >k e y *T h i s
t y p eo f d i a l o g u eb e t w e e nt h eu s e ra n d c o m p u t e ri s u s e dt h r o u g h o u tG E O S .W eh a v ed o c u m e n t e dt h i st e c h n i q u e s ot h a ty o uc a nm a k eu s eo f t h i sf o r m
o f c o m m u n i c a t i o ni n y o u ro w np r o g r a m s .
2 1 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 231/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
6 . 2 . 1C h a r a c t e r i s t i c so fw i n d o w s
I n t h e i n t r o d u c t i o ny o ul e a r n e dw h a tw i n d o w sa r ea n dh o wt h e yc a nb eu s e d .T h i ss e c t i o nd e t a i l st h eg e n e r a lr u l e st h a tm u s tb e f o l l o w e dw h e ny o u
m a k ey o u ro w nw i n d o w s .
T h ef i r s tt w oe x a m p l e si l l u s t r a t et h a tt h eo r i g i n a lc o n t e n t so f t h es c r e e n( t h e
i c o n so f t h ed i s kd i r e c t o r y )a r er e s t o r e da f t e rt h ew i n d o wd i s a p p e a r s .I t
s h o u l db e c o m ec l e a r t oy o ut h a tt h ew i n d o w i n gt e c h n i q u ec o n s i s t so fn o t h i n gm o r et h a n o v e r w r i t i n gc e r t a i na r e a si n s c r e e nm e m o r yw i t ht h ed a t a
t h a tr e p r e s e n tt h ew i n d o w .
T h i s t e c h n i q u ee r a s e st h e' p r e v i o u sm e m o r yc o n t e n t s — a n dt h e r e f o r e t h es c r e e nc o n t e n t sa s w e l l .T o b e a b l et o r e c o n s t r u c tt h es c r e e na f t e rt h e
w i n d o wd i s a p p e a r s , t h eo r i g i n a lc o n t e n t sm u s tb e s a v e de l s e w h e r e .
I n p r i n c i p l e t h e r e a r et w ow a y sf o r t h ec o m p u t e rt o r e c o n s t r u c tt h ea r e ao f
t h es c r e e nc o v e r e db y t h ew i n d o w :
1 . S a v ea c o m p l e t ec o p yo f t h ec u r r e n ts c r e e ni n t oa p r o t e c t e d a r e a
o f m e m o r y .
W h e nt h ep i c t u r ei s t h e nr e g e n e r a t e d , t h ee n t i r es c r e e nc o p yi s
t h e nc o p i e db a c ki n t o s c r e e nm e m o r y .T h ed i s a d v a n t a g e o ft h i s
t e c h n i q u ei s t h ee x c e s s i v em e m o r ys p a c er e q u i r e dt o s a v et h e
c o p y .
2 . T h ea r e at h a ti s o v e r w r i t t e nb y t h ew i n d o wi n s c r e e nm e m o r yi s
c o p i e dt o a p r o t e c t e da r e ab e f o r et h ew i n d o wi s d i s p l a y e d .
T h eo r i g i n a lp i c t u r ei s t h e nr e c o n s t r u c t e dw i t ht h i s" p a t c h " ,
i n s t e a do f c o m p l e t ew i n d o wr e g e n e r a t i o n :
2 2 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 232/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
f g e e sj f i l ej v i e u uj d i s kI s p e d
e r r o r :
M i s s i n go r u n f o r m a t t e d
F i g u r e7 8 :R e - d r a w i n g
Y o um u s tb e a b l et o c h a n g et h e s i z eo f t h ew i n d o wt o f i t t h e t a s k .I t
w o u l d n ' tm a k es e n s et o c o n t i n u o u s l yd i s p l a y t h e c u r r e n tt i m ei n a w i n d o wt h a tt a k e su p h a l ft h e s c r e e n .N o rw o u l di t b e a p p r o p r i a t et o d i s p l a y
i m p o r t a n to p e r a t i n gs y s t e m m e s s a g e si n a t i n yw i n d o ww h e r ei t w o u l dh a r d l yb e n o t i c e d .
G E O Si s e x t r e m e l yf l e x i b l ei n t h i sr e s p e c t .Y o uc a nu s ea n a p p r o p r i a t e l y
s i z e dw i n d o wf o ra l ly o u rs p e c i f i c a p p l i c a t i o n s .
I n m o s tc a s e s ,w i n d o w sa r eu s e dt o p a s si n f o r m a t i o nt o t h eu s e ri n t h ef o r mo f t e x t .T h e r e f o r et h e r em u s tb e a w a yt o p a s st e x tt o t h ep r o g r a mt h a t
c r e a t e st h ew i n d o w .I n a d d i t i o n ,w em u s ts p e c i f yw h e r ew i t h i nt h ew i n d o wt h et e x ti s t o a p p e a r .T h i sa l l o w sy o ut o d o t h i n g sl i k ed i s p l a yv e r ys h o r t
s t r i n g si n t h ec e n t e ro f l a r g ew i n d o w sw i t h o u th a v i n gt o u s eb l a n ks p a c e so r
c a r r i a g er e t u r n st o c e n t e rt h et e x t .
2 2 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 233/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
| q e o s\ f i l ej M J e i uj d i s k; s p e c i a
C L I C KV E ST O S E EN E X T P A T T E R N
F i g u r e7 9 :O d d - s h a p e dw i n d o w
Y o uc a na l s os e l e c tt h es t y l eo f t e x t .Y o uc a nu s et h i sf e a t u r et o m a k et h e
i n f o r m a t i o ni n y o u rw i n d o wm o r ec o n c i s ea n dc l e a rt o t h eu s e r .
f g e e sj f i l e1 v i e u jI d i s k\ s p e c i a l
P l e a s ei n s e r tQ - L I M Kd i s k
F i g u r e8 0 :D i f f e r e n tt y p es t y l e s
2 2 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 234/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h er o u t i n em u s tk n o ww h e r et h e t e x ti s t o a p p e a ri n t h ew i n d o w .I n
a d d i t i o n ,t h e l e n g t ho f t h et e x tm u s tb e c h e c k e dt o e n s u r et h a ti t d o e s n ' ts p i l l
o u to f t h ew i n d o w .
L o o kb a c ka t t h e t h ef i r s te r r o rb o xt h a ty o uc a u s e dt o b e d i s p l a y e d( c l i c kt h e
d i s ki c o nw i t ht h ed r i v ed o o ro p e n ) .T h ew i n d o wi s b o r d e r e do n t h er i g h t
a n dt h eb o t t o m . T h i sb o r d e r a d d s d e p t ht o t h ew i n d o wa n ds e t si t o u tf r o mt h er e s to f t h es c r e e n .W er e f e r t ot h i sa s a s h a d o w e dw i n d o w .
W h e nm a k i n ga w i n d o w , y o u m u s ts p e c i f ye i t h e ra s h a d o w e do r
s h a d o w l e s sw i n d o w .Y o uc a na l s os e l e c ta p a t t e r n f o r t h es h a d o w :
C L I C KY E ST O S E EN E X T P A T T E R N
. V . V . V . > / . V .v * .♦ / . V . V , V . V . V . V . V .V 1. % ' .• / . V . V . V . V
S O H Z C H A U C E RS S IL O A D E RW I N D O W L O A D E RX O C KL O A D E R
F i g u r e8 1 :P a t t e r n e ds h a d o w
A n o t h e rp a r a m e t e rs p e c i f i e st h ea l l o w e dr e s p o n s e s . I nt h i se x a m p l e ,t h e
p r o g r a mw a i t su n t i ly o uc l i c kt h eO Kb u t t o n .
S o m ew i n d o w sd o n o ta l l o wa n yf i e l d st o b e c l i c k e dw i t ht h em o u s e — f o re x a m p l e ,G E O Ss y s t e mi n f o r m a t i o nb o x e s .Y o us i m p l yp r e s s t h em o u s e
b u t t o n .
S t i l lo t h e rw i n d o w so f f e ry o ut w oo r t h r e ec h o i c e s :
2 2 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 235/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
f q e o sj t i l ej v i e wI d i s k\ s p e c i a l
P l e o s ei n s e r td e s t i n a t i o nd i s k
i n d r i v e : A
F i g u r e8 2 :T w o - b u t t o nd i a l o g u eb o x
T h i st y p eo f w i n d o w , t h ed i a l o g u eb o x , a l l o w s u st o e v a l u a t eo n eo f t h et w oc h o i c e s .C l i c k i n gt h eO Kb u t t o n e x e c u t e s as p e c i f i e dp r o c e d u r e ,w h i l e
C A N C E Lc l o s e s t h ew i n d o w .
S oG E O Sp r o v i d e sm a n yo f t h et o o l s t h a tc a nh e l py o up r o g r a mw i n d o w se a s i l y .
2 2 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 236/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 . 2 . 2C u s t o mw i n d o w si n G E O S
N o ww e l la c t u a l l ys e eh o wt o m a k ec u s t o mw i n d o w su s i n gt h eG E O Sr o u t i n e sa n da m i n i m u mo fp r o g r a m m i n ge f f o r t
1 )W h a tr o u t i n e sa r ea v a i l a b l e ?
S u r p r i s i n g l y ,o n l yo n eG E O Sr o u t i n ei s o f i n t e r e s tt o u s f o rc u s t o m i z i n g
w i n d o w s .T h i sr o u t i n ea d d r e s s e sa l l o f t h e w i n d o wc h a r a c t e r i s t i c s
m e n t i o n e di n t h ep r e v i o u ss e c t i o n .T h er o u t i n ei s l o c a t e di n K E R N A LR A Mf r o m$ F 1 B Bt o $ F 2 3 E .W h e nw r i t i n gy o u ro w nr o u t i n e s ,i t i s m u c hw i s e r
t o u s et h eG E O SK E R N A Lj u m pt a b l e t oa d d r e s st h i sr o u t i n e .T h er o u t i n e
c o u l dc h a n g ei n a n e w e rr e v i s i o nb u tt h eK E R N A Lj u m pt a b l ew o u l ds t i l lp o i n tt o t h er i g h tr o u t i n e .T h eK E R N A Lj u m pv e c t o ru s e df o rt h ew i n d o wi s l o c a t e da t $ C 2 5 6 .
W i t ht h i ss i n g l er o u t i n e ,y o uw o n ' th a v et o b e c o n c e r n e dw i t hh o wt o s a v e
t h es c r e e n c o n t e n t s b e f o r eo u t p u t t i n ga w i n d o w .A l s o ,y o uw o n ' th a v et o b e
c o n c e r n e dw i t hw i n d o w m a n a g e m e n t
T h eo n l ye l e m e n ty o uh a v et o f u r n i s ht o r u ny o u rp r o g r a mi s a p o i n t e rt o a
t a b l et h a tc o n t a i n st h ew i n d o ws p e c i f i c a t i o n s .W e ' l l t a k ea c l o s e rl o o ka t t h i s
p o i n t e ri n t h en e x ts e c t i o n .
2 )T h ep a r a m e t e r s
L e t ' ss a yt h a ty o uw a n tt o d i s p l a ya m e s s a g ei n a w i n d o w .
T ou s et h ew i n d o wm a n a g e m e n tr o u t i n e ,y o uh a v et o p a s st h e a p p r o p r i a t ep a r a m e t e r st o G E O S .T h ef o l l o w i n gi n f o r m a t i o ni s r e q u i r e df o rw i n d o w i n g :
1 . w i n d o ws i z e( X - d i r e c t i o n )
2 . w i n d o ws i z e( Y - d i r e c t i o n )
3 . w i n d o wp o s i t i o no n t h es c r e e n
4 . p a r a m e t e rf o rt h es h a d o w e dw i n d o w5 . p a r a m e t e rf o r t h eo u t p u tt e x t
6 . p a r a m e t e rf o rt h ed a t a i n p u t
7 . e x i tc r i t e r i a( O K ,C A N C E L ,e t c . )
B e f o r et h ew i n d o wr o u t i n ei s c a l l e d ,t h es t a r t i n ga d d r e s so f t h i st a b l ei s
s a v e di n t h ez e r op a g ea t $ 0 2 a n d$ 0 3 .
2 2 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 237/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
E x a m p l e :T h et a b l eo f p a r a m e t e r si s a t $ 1 2 3 4 .T o d i s p l a y t h ew i n d o w ,p r o c e e da s f o l l o w s :
L D X# $ 3 4 l o wb y t eo f y o u r t a b l e
L D Y# $ 1 2 h i g h b y t eo f y o u rt a b l e
S T X$ 0 2 p a s s t h e t a b l ep o i n t e r
S T Y$ 0 3 t o $ 0 2 a n d $ 0 3
J S R $ C 2 5 6c a l l w i n d o wr o u t i n e
Y o ua r er e s p o n s i b l ef o rm a k i n gs u r et h a tt h et a b l ec o n t a i n s v a l i d p a r a m e t
N o wl e t ' st a k ea l o o ka t t h e s ep a r a m e t e r si n m o r ed e t a i l .
3 ) T h ej o bc o d e s
J o bc o d e sa r ec o m m a n d st h a t d i r e c ta G E O Se v a l u a t i n g r o u t i n et o p e r f o r ma
s p e c i f i ca c t i o n .
S o m eo f t h ej o bc o d e sr e q u i r ea d d i t i o n a li n f o r m a t i o n .T h ej o bc o d e sa r e
s t o r e di n a t a b l e .A n yr e q u i r e dd a t ai s i n s e r t e di n t h et a b l ef o l l o w i n gt h ej o b
c o d e .T h ee n do f t h et a b l ei s m a r k e dw i t ha z e r o .
4 ) T h ef o r m a to ft h ew i n d o w
T h ef i r s tp o s i t i o ni n t h et a b l ei s a j o bc o d et h a td o e sn o tr e q u i r ea d d i t i o n a ld a t a .T h e r e f o r ei t i s a o n e - b y t ec o m m a n d .T h i sj o bc o d es p e c i f i e st h e
w i n d o wf o r m a t .
T h ei n d i v i d u a lb i t sh a v et h ef o l l o w i n gs i g n i f i c a n c e :
B v t e l :
B i t7 = 1 : T h ew i n d o wh a st h es a m ef o r m a ta s t h eo p e r a t i n g
s y s t e m b o x e s( e r r o rm e s s a g e s ,e t c . ) .I t i s d i s p l a y e do n t h es c r e e na t t h es a m el o c a t i o n .
B i t7 = 0 : T h ef o r m a ta n dp o s i t i o no f t h ew i n d o wi s s e l e c t e d
b y t h eu s e r .I f t h i si s t h ec a s e ,t h ef o l l o w i n gf i v e
b y t e so f t h et a b l ec o n t a i nt h ee x a c ts p e c i f i c a t i o n s .
O t h e r w i s e ,t h e s ef i v eb y t e sa r eo m i t t e da n dt h en e x tj o bc o d ef o l l o w s i m m e d i a t e l y .
B i t s 0 - 4 :I f a l lo f t h e s eb i t sa r ee q u a lt o z e r o ,n o s h a d o wi s
d i s p l a y e d .O t h e rc o m b i n a t i o n sa f f e c tt h ep a t t e r no f
t h es h a d o w( 3 2p o s s i b l ec o m b i n a t i o n s ) .
2 2 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 238/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h ef o l l o w i n gb y t e sa r en e c e s s a r yo n l yi f t h es e v e n t hb i to f t h ej o bc o d e( f i r s tb y t e )i s z e r o .T h e yd e t e r m i n et h ep o s i t i o n( i np i x e l s )o f t h et o pa n db o t t o mb o r d e r so f t h ew i n d o wo n t h es c r e e n :
B y t e2 : t o pb o r d e r
B y t e3 : b o t t o mb o r d e r
V a l u e sm a yr a n g ef r o m0 t o 1 9 9 .A 0 r e p r e s e n t st h et o pe d g eo ft h es c r e e n ,a n da 1 9 9r e p r e s e n t s t h eb o t t o m e d g eo f t h es c r e e n .
T h ev a l u e o fB y t e3 m u s ta l w a y sb e g r e a t e rt h a nt h ev a l u e o fB y t e2 .
B y t e4 : l e f tb o r d e r( l o wb y t e )
B y t e5 : l e f tb o r d e r( h i g hb y t e )B y t e6 : r i g h tb o r d e r( l o wb y t e )
B y t e7 : r i g h tb o r d e r( h i g hb y t e )
T w ob y t e sa r er e q u i r e dt o r e p r e s e n te a c hb o r d e rp o s i t i o n .V a l u e sm a yr a n g e
f r o m0 t o 3 1 9 .A 0 r e p r e s e n t s t h el e f te d g eo f t h es c r e e n .A 3 1 9r e p r e s e n t s
t h er i g h te d g eo f t h es c r e e nT h ev a l u eo fB y t e s6 a n d7 m u s tb e g r e a t e rt h a n
t h ev a l u eo f B y t e s4 a n d5 .
T h e s ep a r a m e t e r sd e t e r m i n e b o t ht h es i z eo f t h ew i n d o wa n di t sp o s i t i o no nt h es c r e e n .
T h ef o l l o w i n gt a b l ed e m o n s t r a t e st h i s :
1 s t
2 n d
3 r d
4 t h
5 t h
6 t h
6 t h
7 t h
b y t e :
b y t e :
b y t e :
b y t e :
b y t e :
b y t e :
b y t e :
b y t e :
# $ 0 1
# $ 1 4
# $ 5 0
# $ 1 0
# $ 0 0
# $ 2 8
# $ 0 1
# $ 0 0
( n o n - s t a n d a r d w i n d o w w i t h s o l i ds h a d o w )
( t o p b o r d e r )
( b o t t o m b o r d e r )
( l o wb y t eo f l e f t b o r d e r )
( h i g hb y t eo f l e f t b o r d e r )
( l o wb y t eo f r i g h tb o r d e r )( h i g hb y t eo f r i g h tb o r d e r )
( t a b l et e r m i n a t o r )
T h i sc r e a t e sa s o l i ds h a d o w e dw i n d o ws t a r t i n ga t p o i n t( 2 0 , 1 6 ) e x t e n d i
t o ( 8 0 ,2 9 6 ) .
2 2 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 239/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
5 ) P u r et e x to u t p u t
J o b c o d e s$ 0 Ba n d$ 0 Ca r eu s e dt o d i s p l a yt e x t( s t r i n g s ) .F o rj o bc o d e$ 0 B ,f o u r b y t e so f d a t af o l l o w :
1 . # p i x e l sf r o ml e f tb o r d e rt o t e x t
2 . # p i x e l sf r o mt o pw i n d o wb o r d e rt o t e x t
3 . a d d r e s so f t e x t( l o wb y t e )
4 . a d d r e s so f t e x t( h i g h b y t e )
E x a m p l e :
T h et e x ti s l o c a t e da t $ 5 6 7 8 .A v a l u eo f z e r ot e r m i n a t e st h et e x ts t r i n g .I t i s
t o b e d i s p l a y e di n a s t a n d a r dw i n d o ww i t ha s h a d o w .
T h et a b l el o o k sa s f o l l o w s :
B y t e1 : # $ 8 1 ( s t a n d a r dw i n d o w w i t hs h a d o w )
B y t e2 : # $ 0 B( j o bc o d ef o r t e x t o u t p u t )
B y t e3 : # $ 0 A( o f f s e tf r o ml e f t b o r d e r )- 1 0 p i x e l s
B y t e4 : # $ 1 0 ( o f f s e tf r o mt o p ) - 1 6 p i x e l s
B y t e5 : # $ 7 8 ( l o wb y t eo f t e x t a d d r e s s )
B y t e6 : # $ 5 6 ( h i g hb y t eo f t e x t a d d r e s s )
B y t e7 : # $ 0 0 ( t a b l et e r m i n a t o r )
T h e np l a c et h es t a r t i n ga d d r e s so f t h et a b l e( $ 5 6 7 8 )i n $ 0 2 / $ 0 3 ,a n dc a l lt h e
w i n d o wr o u t i n ea t $ C 2 5 6 .T h ef o l l o w i n gp i c t u r er e s u l t s :
2 2 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 240/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
F i g u r e8 3 :C u s t o mw i n d o w
T h es e c o n dj o bc o d e$ 0 Cd i f f e r si n t h a ti n s t e a do f s p e c i f y i n gt h ea b s o l u t e
a d d r e s so f t h et e x t ,y o us p e c i f ya p o i n t e ri n t h ez e r op a g et h a tc o n t a i n st h e
a c t u a lt e x ta d d r e s s *T h i si n v o l v e si n d i r e c ta d d r e s s i n g ,o n l yt h r e eb y t e sa r e
r e q u i r e d( o f f s e tf r o ml e f te d g e ,o f f s e tf r o mt o p ,p o i n t e rt o z e r op a g e ) .
E x a m p l e :
T w od i f f e r e n tt e x t s t r i n g sa r el o c a t e di n m e m o r ya t a d d r e s s$ 1 2 3 4a n d$ 5 6 7 8 ,r e s p e c t i v e l y .O n eo f t h e mi s t o b e d i s p l a y e db y m e a n so f i n d i r e c t
a d d r e s sv i a$ 0 C / $ 0 D .T h ef o l l o w i n gt a b l em u s tb e s e tu pt o d o t h i s :
B y t e1 : # $ 8 1 ( s t a n d a r dw i n d o ww i t hs h a d o w )
B y t e2 : # $ 0 C( j o bc o d e :i n d i r e c ta d d r e s s i n g )
B y t e3 : # $ 0 A( o f f s e tf r o ml e f t e d g e )
B y t e4 : # $ 0 A( o f f s e tf r o m r i g h te d g e )
B y t e5 : # $ 0 C( $ 0 C / $ 0 Di s a p o i n t e rt o t h e a c t u a l
a d d r e s so f t h e t e x t )
B y t e6 : # $ 0 0 ( e n do f t a b l e )
2 2 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 241/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
B e f o r et h ew i n d o wr o u t i n ei s c a l l e d ,t h e p o i n t e ri n z e r op a g e ( $ 0 C / $ 0 D )m u s tc o n t a i nt h es t a r t i n ga d d r e s so f t h et e x ts t r i n g .T oo u t p u tt h es e c o n dt e x t
s t r i n g ,j u s tr e p l a c et h e p o i n t e r( $ 0 C / $ 0 D )w i t ht h e l o c a t i o no f t h en e wt e x t
a n dc a l lt h e r o u t i n ea g a i n .
T h i sm e t h o da l l o w sy o ut o d i s p l a yd i f f e r e n tt e x t sv e r yq u i c k l y u s i n gt h e
s a m et a b l ea n dr o u t i n e si n y o u rp r o g r a m .A l ly o uh a v et o d o i s p l a c et h e
s t a r t i n ga d d r e s so f t h et e x t i nt h e z e r op a g ea d d r e s s e ss p e c i f i e di n t h et a b l e .
6 ) K e y b o a r di n p u t
T op o s i t i o na c u r s o r w i t h i nt h ew i n d o ws o t h a tt h eu s e rc a ne n t e rd a t af r o mt h ek e y b o a r d ,u s ej o bc o d e $ 0 D .T h ee v a l u a t i n gr o u t i n et h e ne x p e c t s f o u r
m o r eb y t e so f d a t a :
B y t e s1 a n d2 : D i s t a n c e o ft h ec u r s o rf r o mt h el e f ta n dt o pe d g e so f
t h ew i n d o w .
B y t e3 : C o n t a i n sa p o i n t e rt o a n a d d r e s si n t h ez e r op a g ew h i c hc o n t a i n st h es t a r ta d d r e s so f a b u f f e ri n w h i c ht h ed a t a
e n t e r e dw i l lb e s t o r e d .
B y t e4 : D e t e r m i n e st h em a x i m u mn u m b e ro f c h a r a c t e r st h a t
c a nb e e n t e r e d .
E x a m p l e :
H e r ew e ' l lc r e a t ea w i n d o wt h a ta c c e p t sa f i l e n a m e( m a x i m u mo f e i g h t
c h a r a c t e r s )f r o mt h ek e y b o a r d a n ds t o r e st h e ma t $ 9 8 7 6 .T h et a b l ei s p l a c e da t $ 1 2 3 4 .
Y o ut a b l ec o u l dt h e nb e c o n s t r u c t e ds i m i l a r l yt o t h i s :
B y t e1 : # $ 8 1( s t a n d a r dw i n d o w )
B y t e2 : # $ 0 D( j o bc o d ef o r i n p u t )
B y t e3 : # $ 0 5( 5 p i x e l s f r o mt h e l e f t e d g e )
B y t e4 : # $ 0 A( 1 0 p i x e l s f r o mt h e t o p )
B y t e5 : # $ 0 E( b u f f e rp o i n t e ra t $ 0 E )
B y t e6 : # $ 0 8( m a x i m u m i n p u to f 8 c h a r a c t e r s )
B y t e7 : # $ 0 0( e n do f t a b l e )
2 3 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 242/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h er o u t i n ei s c a l l e d t h es a m ew a ya s f o rt e x to u t p u t .T o d i s p l a y t h ew i n d o w ,p r o c e e da s f o l l o w s :
L D X# $ 7 6 ( l o wb y t eo f b u f f e r )
L D Y
S T X
S T Y
L D X
L D Y
S T X
S T Y
# $ 9 8
$ 0 E
$ 0 F
# $ 3 4
# $ 1 2
$ 0 2
$ 0 3
( h i g h
( p a s s
b y t eo f b u f f e r )
t h e b u f f e rp o i n t e r )
( t o $ 0 E a n d $ 0 F )
( l o wb y t eo f t a b l e )
( h i g h
( p a s s
b y t eo f t a b l e )
t h e t a b l ep o i n t e r
t o $ 0 2 a n d $ 0 3 )
J S R $ C 2 5 6 ( c a l lw i n d o wr o u t i n e )
T h i sw i n d o wc a na l s o d i s p l a ya d e f a u l tt e x t s t r i n gw h i c hc a nt h e nb ee d i t e d .I f y o ud o n ! tn e e dt h i s ,j u s ts e tt h ef i r s tv a l u eo f t h eb u f f e rt o z e r o b e f o r et h e
o u t p u t
T h er o u t i n ep l a c e st h et e x ts t r i n gy o ue n t e r e di n t ot h e b u f f e ra f t e ry o up r e s s
t h e< R E T U R N >k e y .
F o r m a to ft e x ts t r i n g s
T e x ts t r i n g sa r ec o m p o s e do f t h es t a n d a r dC o m m o d o r eA S C I Ic o d e sf o u n di n t h e ' 6 4 U s e r ' sG u i d e .T h eg r a p h i c ss y m b o l sc a n n o tb e u s e d .T h ei m p o r t a n tp o i n ti s t h a tt h et e x t s t r i n g sm u s ta l w a y sb e t e r m i n a t e dw i t ha z e r o
b y t e .W i t ht h i sm e t h o d ,t h el e n g t ho f t h es t r i n gd o e s n ' tn e e dt o b e s t o r e d .
O n es p e c i a l f e a t u r ei s t h ec o n t r o l c o d e s ,w h i c hy o uc a nu s et o c h a n g et h e
a p p e a r a n c eo f y o u rt e x t .T h ef o l l o w i n gt a b l ec o n t a i n st h ep o s s i b l ev a l u e s
a n dt h et y p es t y l e s t ow h i c ht h e y c o r r e s p o n d .T h e s es t y l e sc a na l s ob e
m i x e d( s u c ha s b o l da n di t a l i c s ) .
C o n t r o lc o d e
$ 1 8$ 1 9
$ 1 A
$ 1 B
T y p es t y l e
b o l dt e x t
i t a l i c st e x t
o u t l i n e t e x t
s t a n d a r dt e x t
( N o t e :V a l u e so t h e rt h a nt h o s el i s t e dh e r ec a nl e a dt o a s y s t e mc r a s h ! )
2 3 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 243/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
T h ee x i tc r i t e r i a
Y o uh a v en o d o u b tg u e s s e dt h a tt h e r e a r eo n eo r m o r er o u t i n e si n t h eG E O SK E R N A Lw h i c h m u s tb e c a l l e dw i t ha p p r o p r i a t ep a r a m e t e r st o m a k et h e
w i n d o wd i s a p p e a ra g a i na n d r e s t o r e t h ep r e v i o u ss c r e e nc o n t e n t s .
A d d i t i o n a l l yt h e s er o u t i n e st e s tt h ej o y s t i c k t od e t e r m i n ei f t h em o u s ei s o v e r
t h eO Ko r C A N C E Lw h e nt h eb u t t o ni s p r e s s e d .
T h en i c ep a r ta b o u ti t i s t h a tG E O St a k e sc a r eo f a l m o s ta l lo f t h ew o r kf o r
u s ,a n dw ed o n ! th a v et o k n o wm o r ea b o u tt h e s er o u t i n e s .
T h eG E O Sw i n d o wd i s a p p e a r sw h e na b u t t o n w i t h i nt h a tw i n d o wi s c l i c k e d
o r w h e nt h e< R E T U R N >k e yi s p r e s s e d( o n l yd u r i n gi n p u t ) .
T o a d db u t t o n st o y o u ro w nw i n d o w s( O K ,C A N C E L ,Y E S ,e t c . ) ,s i m p l y
e x p a n dy o u rw i n d o wp a r a m e t e rt a b l e .T od o t h i sy o uf i r s te n t e r t h ej o bc o d ef o rt h ed e s i r e db u t t o n ,f o l l o w e db y t w ob y t e sf o rt h el o c a t i o nw i t h i nt h e
w i n d o ww h e r ey o uw a n ti t p l a c e d .
H e r ea r e t h ej o bc o d e s :
J o bc o d e :
$ 0 1
$ 0 2
$ 0 3
$ 0 4
$ 0 5
B u t t o n :
- O K -
- C A N C E L -
- Y E S -
- N O -
- O P E N -
F o re x a m p l e ,w e w a n tt o p l a c e a c a n c e l b u t t o na t p o i n t 1 6 , 6 4 ( $ 1 0 , $ 4
w i t h i no u rw i n d o w .W ew o u l da d dt h ef o l l o w i n gt o o u rw i n d o wt a b l e :
B y t e1 : # $ 0 2 ( c a n c e lb u t t o n )
B y t e2 : # $ 0 2 ( p l a c ea t 2 x 8 p i x e l so v e ra n dB y t e3 : # $ 4 0 # $ 4 0p i x e l sd o w n )
N o t e :W h e np l a c i n gb u t t o n si n w i n d o w s ,t h ex d i r e c t i o ni s m u l t i p l i e db y 8 .
W ew a n tt h eb u t t o n1 6 p i x e l so v e r ,s o w ed i v i d e1 6 b y 8 . T h e r e f o r e ,t h es e c o n db y t ei s 2 .
N e x tw e l ld i s c u s sh o wt o r e a dt h eb u t t o nt h a tw a sc l i c k e d .
2 3 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 244/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
E v a l u a t i o no f t h e b u t t o n s
T od e t e r m i n ew h i c hb u t t o nw a sp r e s s e d ,G E O Su s e sm e m o r yl o c a t i o n$ 0 2i n t h ez e r op a g e . A f t e rt h ew i n d o wd i s a p p e a r s , t h ev a l u ef o u n di n m e m o r yl o c a t i o n$ 0 2c o r r e s p o n d st o t h ej o bc o d eo f t h eb u t t o np r e s s e d .
E x a m p l e :
Y o uh a v ed i s p l a y e da w i n d o wt h a tc o n t a i n st h eb u t t o n sO K ,C A N C E L ,a n d
N O .T h ew i n d o wd i s a p p e a r sa f t e rt h eu s e rc l i c k st h eN Ob u t t o na n dc o n t r o l
r e t u r n st o y o u rp r o g r a m .M e m o r yl o c a t i o n$ 0 2n o wc o n t a i n s t h ej o bc o d e
f o rN O( $ 0 4 ) ,a n du s e st h i si n f o r m a t i o nt o p e r f o r mt h ec o r r e s p o n d i n gp r o g r a ma c t i o n .
I f y o uc r e a t ea d i a l o g u eb o x( i n p u tw i n d o w )t h a tw a st e r m i n a t e db y t h e< R E T U R N >k e y ,t h ec o d er e t u r n e di s $ 1 B( 1 3d e c i m a l ) .
2 3 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 245/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 . 2 . 3T h r e ee x a m p l e sf r o mG E O S
F o l l o w i n ga r et h r e ee x a m p l e sf r o mt h eG E O Sd e s k T o pt h a ti l l u s t r a t et h e
c o m p l e t ep r o c e s so f w i n d o wo p e r a t i o n .W e ' l lu s et w or o u t i n e sw h i c hy o uh a v ee n c o u n t e r e da l r e a d yi n t h ei n t r o d u c t i o n .
T h ef i r s td i s p l a y sa n e r r o rm e s s a g eo r i g i n a t i n gf r o mt h e d i s kd r i v e
o p e r a t i o n ,a n dt h es e c o n d c h a n g e st h en a m eo f t h ed i s k e t t e .T h i si n v o l v e s
t e x td i s p l a ya n dk e y b o a r di n p u t .T h et h i r de x a m p l ei s a p r o g r a mt h a t
i l l u s t r a t e ss o m eo f t h ew i n d o wt e c h n i q u e sy o uj u s tl e a r n e da b o u t .
I f y o uw a n tt o f o l l o wu s " l i v e "i n o u ri n v a s i o no f t h eo p e r a t i n g s y s t e m ,g o
b a c kt o B A S I Ct h r o u g hs p e c i a la n dl o a da m o n i t o ri n t ot h ea r e a$ 6 0 0 0( w ea s s u m et h a ty o uh a v ea m o n i t o r ,b e c a u s ey o u V ef o l l o w e du s t h i sf a r ! ) .
T h i so v e r w r i t e sa c o p yo f t h eb i t m a ps c r e e n .
G E O Sc a n b er e a c t i v a t e df r o mt h em o n i t o ro r f r o mB A S I Cb y c a l l i n gt h e
r o u t i n ea t $ C C 4 A( d e c i m a l 5 2 2 9 8 ) . T h i sr e l o a d st h ed e s k T o p ,w h i c hs h o r t e n s t h ei n i t i a l i z a t i o nt i m ec o n s i d e r a b l y .Y o uc a ne v e nm a k ec h a n g e st o
t h eK E R N A Lf i r s ta n dt h e no b s e r v et h e i re f f e c t s .
A S A V Eo p e r a t i o nm a yn o tp r e c e d et h er e s t a r t ,o r t h ed i s k d r i v ew i l ln o to p e r a t e .O n es m a l l d i s a d v a n t a g eo f t h i sr e s t a r ti s t h a tt h es c r e e na n dc u r s o r
c o l o r s a r ec h a n g e d ,u n l e s s t h ec o m p u t e rf i n d st h ep r e f e r e n c e sf i l eo nd i s k e t t e .T h i sc a nb e c o r r e c t e dw i t ht h eP r e f e r e n c eM a n a g e r ,o fc o u r s e .
N o t i c e :T h ef o l l o w i n gl i s t i n g sa r ef r o mt h eA m e r i c a nG E O Sv e r s i o n1 . 2 .
L a t e ra n d E u r o p e a nv e r s i o n sm a yd i f f e r .T h eK E R N A Lj u m pt a b l es h o u l d
a l w a y sb e c o r r e c tT h ea c t u a ll o c a t i o no f t h es u b r o u t i n e sm a yb e a f e wb y t e so f f .
N o wo n t o o u rf i r s te x a m p l e .
T h ed i s ke r r o re v a l u a t i o nr o u t i n e
W h e ny o ul o o ka t t h ea r e af r o m$ 1 6 0 1t o $ 1 6 4 0w i t ht h em o n i t o r ,y o uw i l l
d i s c o v e rt h ef o l l o w i n gr o u t i n e :
2 3 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 246/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
$ 1 6 0 1C P X # $ 0 C
$ 1 6 0 3B E Q$ 1 6 4 0
$ 1 6 0 5T X A
$ 1 6 0 6B E Q$ 1 6 4 0
$ 1 6 0 8L D A $ 1 6 5 3 f X
$ 1 6 0 BS T A$ 0 C
$ 1 6 0 DL D A $ 1 6 6 0 , X
$ 1 6 1 0S T A$ 0 D
$ 1 6 1 2C P X# $ 0 E
$ 1 6 1 4B C C$ 1 6 3 5
$ 1 6 1 6L D A# $ 3 8
$ 1 6 1 8S T A# $ 0 D
$ 1 6 1 AL D A# $ D 2
$ 1 6 1 CS T A$ 0 C
$ 1 6 1 ET X A
$ 1 6 1 F S E C
$ 1 6 2 0 S B C# $ 2 0
$ 1 6 2 2 B M I $ 1 6 3 5
$ 1 6 2 4T A X
$ 1 6 2 5C P X# $ 0 E
$ 1 6 2 7B E Q # 1 6 2 B
$ 1 6 2 9 B C S $ 1 6 3 5
$ 1 6 2 BL D A $ 1 6 6 E , X
$ 1 6 2 E S T A$ 0 C$ 1 6 3 0L D A $ 1 6 7 D f X
$ 1 6 3 3S T A$ 0 D
$ 1 6 3 5L D A# $ 1 6
$ 1 6 3 7S T A$ 0 3
$ 1 6 3 9L D A# $ 4 1
$ 1 6 3 B S T A$ 0 2
$ 1 6 3 DJ S R $ C 2 5 6
$ 1 6 4 0 R T S
T h i si s t h eo u t p u tr o u t i n ef o r t h ed i s kd r i v ee r r o rm e s s a g e s .S i m i l a rt o t h eo l dC - 6 4K E R N A L ,G E O Sh a s a t a b l ec o n t a i n i n gn o t h i n gb u tj u m pc o m m a n d s .I n V e r s i o n1 . 2 ,$ C 2 5 6j u m p st o t h e r o u t i n ea t $ F 1 B B .F u t u r ev e r s i o n so f G E O Sm a yn o tl o c a t e t h ew i n d o wm a n a g e m e n tr o u t i n ea t
$ F 1 B B ,b u ta j u m pt o $ C 2 5 6w i l la l w a y sh a v et h ed e s i r e de f f e c t — m a n a g ea
w i n d o w .
L e t ' sg o t h r o u g ht h e r o u t i n es t e pb y s t e p .
2 3 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 247/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h ef i r s ta c t i o nc o m p a r e st h eX r e g i s t e ro f t h ep r o c e s s o rw i t hd e c i m a l1 2 . I f
t h et w om a t c h ,t h e r o u t i n ei s e x i t e di m m e d i a t e l y .A sw i l lb e s h o w nl a t e r ,t h e
X r e g i s t e rc o n t a i n st h en u m b e ro f t h ec u r r e n te r r o rm e s s a g e .1 2 i n d i c a t e s
t h a tn o e r r o ro c c u r r e d ,a s d o e sa z e r o ,w h i c hi s t e s t e di n t h ef o u r t hl i n e .
F o ro t h e re r r o rn u m b e r s ,a v a l u ei s f e t c h e df r o mt w ot a b l e s ,o n ea t $ 1 6 5 3a n dt h eo t h e ra t $ 1 6 6 0 ,w h i c hi s t h e np l a c e di n $ 0 Ca n d $ 0 D .T h ec o m p u t e rg e t st h ea d d r e s so f t h em e s s a g eb e l o n g i n gt o t h e e r r o rn u m b e ri n t h ez e r o
p a g e .W ec a na l r e a d yg u e s st h a tt h ej o bc o d e$ 0 Cw i l la p p e a ri n t h ep a r a m e t e rt a b l ef o r t h e w i n d o w .I f t h e e r r o rn u m b e ri s l e s st h a n1 4 ,
e x e c u t i o n p a s s e sd i r e c t l yo n t o t h et r a n s m i s s i o no f t h et a b l ea d d r e s sf o r t h e
p a r a m e t e r sa t $ 1 6 3 5a n dt h ew i n d o wo u t p u t .
F o rl a r g e r e r r o rn u m b e r s ,t h ea d d r e s so f t h em e s s a g et o o u t p u ti s s e t t o
$ 3 8 D 2 .T h i s c o r r e s p o n d st o t h em e s s a g e" 1 : 2 4 " .I n a d d i t i o n ,t h ee r r o r
n u m b e ri s c o m p a r e dw i t h3 2 .I f i t i s s m a l l e r ,e x e c u t i o nc o n t i n u e sa s a b o v e
a t $ 1 6 3 5 .
O t h e r w i s ea t e s ti s m a d et o s e ei f t h e e r r o rn u m b e ri s l a r g e rt h a n4 5 ( $ 0 Ep l u s$ 2 0 ) .T h i sw o u l dd i s p l a y" 1 : 2 4 " .
I f t h en u m b e ri s b e t w e e n 3 2 a n d4 5 , t h ea d d r e s s e si n $ 0 C / $ 0 Da r et a k e n
f r o ma n o t h e rt a b l e ,w h i c hl i e sa t $ 1 6 6 Eo r $ 1 6 7 D .S h o r t l yb e f o r et h e
w i n d o wr o u t i n ei s c a l l e d ,t h e p o i n t e rf o rt h ep a r a m e t e rt a b l ei s p l a c e di n$ 0 2 / $ 0 3 .I n t h i sc a s et h ep a r a m e t e rt a b l ei s a t $ 1 6 4 1a n dl o o k sa s f o l l o w s :
B y t e 1 : $ 1 6 4 1 # $ 8 1( j o bc o d ef o r s t a n d a r dw i n d o w )
B y t e 2 : $ 1 6 4 2# $ 0 B( j o bc o d e f o r t e x to u t p u t )
B y t e 3 : $ 1 6 4 3# $ 1 0 ( d i s t a n c ef r o ml e f t e d g e )
B y t e 4 : $ 1 6 4 4# $ 2 0 ( d i s t a n c ef r o m t o pe d g e )
B y t e 5 : $ 1 6 4 5# $ 1 A( l o wb y t eo f t h e t e x t a d d r e s s )
B y t e 6 : $ 1 6 4 6 # $ 3 8( h i g h - b y t e )
B y t e 7 : $ 1 6 4 7# $ 0 B( j o bc o d ef o r a n o t h e rt e x t o u t p u t )
B y t e 8 : $ 1 6 4 8 # $ 1 0 ( d i s t a n c ef r o ml e f t e d g e )
B y t e 9 : $ 1 6 4 9# $ 3 0 ( d i s t a n c ef r o m t o pe d g e )
B y t e1 0 : $ 1 6 4 A# $ 3 5( l o wb y t eo f t h e s e c o n dt e x t )
B y t e1 1 : $ 1 6 4 B# $ 3 8 ( h i g h b y t e )
B y t e1 2 : $ 1 6 4 C# $ 0 C( j o bc o d ef o r i n d i r e c tt e x t o u t p u t )
B y t e1 3 : $ 1 6 4 D# $ 1 0 ( d i s t a n c ef r o ml e f t e d g e )
B y t e1 4 : $ 1 6 4 E# $ 4 0( d i s t a n c ef r o m t o pe d g e )
2 3 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 248/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
B y t e1 5 : $ 1 6 4 F # $ 0 C( t e x ta d d r e s si s i n $ 0 C / $ 0 D )
B y t e1 6 : $ 1 6 5 0# $ 0 1 ( d i s p l a yO K b u t t o n )
B y t e1 7 : $ 1 6 5 1# $ 1 1 ( d i s t a n c ef r o ml e f t e d g e )
B y t e1 8 : $ 1 6 5 2# $ 4 8 ( d i s t a n c ef r o mt o p e d g e )
B y t e1 9 : $ 1 6 5 3# $ 0 0 ( e n do f t a b l e )
A t o t a lo f t h r e ed i f f e r e n tt e x ta r e a sa r ed i s p l a y e d :T h ef i r s tt w oa r ea d d r e s s e d
i n t h e a b s o l u t em o d e ,w h i l et h et h i r du s e si n d i r e c ta d d r e s s i n g .T h e re r r o r
m e s s a g ec o n s i s t so f t h r e el i n e s .
T h ej o bc o d e s$ 0 Bd i s p l a ya s t a n d a r dt e x ts t r i n gw h i c ha l w a y sa p p e a r s
( O p e r a t i o nc a n c e l l e dd u e t od i s k e r r o r : ) .T h ec u r r e n t
m e s s a g ei s d i s p l a y e d w i t h$ 0 C ,a s w eg u e s s e de a r l i e r .
T h eO Kb u t t o ni s p o s i t i o n e di n t h ew i n d o ws o t h a tt h ep r o g r a mw i l lc o n t i n u e
a f t e rt h ee r r o ri s a c k n o w l e d g e d .I t i s n o t n e c e s s a r yt o r e a dm e m o r yl o c a t i o n
$ 0 2h e r eb e c a u s et h e r ei s o n l yo n eb u t t o nc a n b ep r e s s e d .
W h e na n e r r o ro c c u r s , t h ee r r o rn u m b e ri s p l a c e di n t h e X - r e g i s t e ra n dt h e
r o u t i n ea b o v ei s c a l l e d .I t t h e no u t p u t st h ec o r r e s p o n d i n gm e s s a g ea n d
r e t u r n s t o t h ec a l l i n gr o u t i n ea f t e rt h eO Kb u t t o ni s c l i c k e d .
W en o wc o m et o o u rs e c o n de x a m p l e .
T h eR e n a m er o u t i n e
I t f sp o s s i b l et o r e n a m et h ec u r r e n tw o r kd i s k e t t ef r o mt h ed e s k T o p .W eh a v ed o c u m e n t e dt h eR e n a m er o u t i n et o i l l u s t r a t ei n p u t t i n gt e x tf r o maw i n d o w .
T h eo p e r a t i o no f t h i sr o u t i n e c l o s e l yr e s e m b l e st h eo p e r a t i o no f t h ef i r s t
e x a m p l e .I t s i m p l yc o n t a i n sa f e wm o r ec o m m a n d st o o r g a n i z et e x t i n p u t :
2 3 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 249/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
$ 0 D 4 3L D A# $ 4 A
$ 0 D 4 5S T A$ 0 B
$ 0 D 4 7L D A# $ 9 0
$ 0 D 4 9S T A $ 0 A
$ 0 D 4 BL D A# $ 4 1
$ 0 D 4 DS T A$ 0 F
$ 0 D 4 FL D A# $ 6 F
$ 0 D 5 1S T A$ 0 E
$ 0 D 5 3L D X # $ 0 A
$ 0 D 5 5 L D Y # $ 0 E
$ 0 D 5 7L D A# $ 1 0
$ 0 D 5 9J S R $ 3 F A 6
$ 0 D 5 CL D A# $ 0 D
$ 0 D 5 E S T A$ 0 3
$ 0 D 6 0L D A# $ B 1
$ 0 D 6 2S T A$ 0 2
( t h e c u r r e n t d i s k n a m ei s a t $ 4 A 9 0 )
( a d d r e s st o $ 0 A / $ 0 B )
( p u t ac o p yo f t h e n a m ei n $ 4 I D F )
( p a r a m e t e r sf o r t h ef l e x i b l e c o p y
r o u t i n e ,w h i c hi s a t $ 3 F A 8 )
( t h e p o i n t e r sc a n b e s e l e c t e da s
d e s i r e d )
( n u m b e ro f e l e m e n t st o c o p y )
( c a l lt h e c o p yr o u t i n e )
( p a r a m e t e r s f o r t h e
w i n d o wl i e a t
$ O D B 1 )
$ 0 D 6 4J S R $ C 2 5 6( o u t p u t w i n d o w )
$ 0 D 6 7L D A$ 0 2
$ 0 D 6 9 C M P# $ 0 2
$ 0 D 6 BB E Q$ 0 D B 0
$ 0 D 6 DL D A$ 4 1 6 F
$ 0 D 7 0B E Q$ 0 D 5 C
( b u t t o ne v a l u a t i o n : )( w a sC A N C E Lc l i c k e d ? )
( y e s , t e r m i n a t e )
( i s a v a l i dn a m ei n t h e b u f f e r ? )
( n o , r e p e a tp r o c e s s )
$ 0 D 7 2J S R $ 1 F 2 1 ( e l s es t o r en e wn a m e )
T h es u b r o u t i n ea t $ 3 F A 8i s c a l l e dt o m a k ea c o p yo f a s p e c i f i cm e m o r ya r e a .T h ep o i n t e r s( i nw h i c ht h es o u r c ea n dd e s t i n a t i o na d d r e s s e sa r e s t o r e d )
a r ep a s s e di n t h eX a n dY r e g i s t e r s .I n t h i sc a s et h es o u r c et e x ta d d r e s si s i n
$ 0 A / $ 0 Ba n dt h e d e s t i n a t i o na d d r e s si s i n $ 0 E / $ 0 F .T h ea c c u m l a t o r
c o n t a i n st h en u m b e ro fe l e m e n t st o b e c o p i e d .
2 3 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 250/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
$ 3 F A 6 S T X
$ 3 F A 9S T Y
$ 3 F A CS T Y
$ 3 F A FS T A$ 3 F B 1L D Y
$ 3 F B 3L D A
$ 3 F B 5S T A
$ 3 F B 7C M P
$ 3 F B 9B E Q
$ 3 F B BS T Y
$ 3 F B D I N Y
$ 3 F B ED E C
$ 3 F C 0B N E
$ 3 F C 2L D Y$ 3 F C 4I N Y
$ 3 F C 5L D A
$ 3 F C 7S T A
$ 3 F C 9R T S
$ 3 F B 4 s e t s o u r c ep o i n t e r
$ 3 F B 6 s e t d e s t i n a t i o n p o i n t e r
$ 3 F C 8
$ 2 0 s a v en u m b e ro f e l e m e n t s# $ 0 0 p o s i t i o nt o f i r s tv a l u e
( . . . ) , Yc o p y
# $ A 0 s h i f ts p a c e ?
$ 3 F B D y e s , d o n ' t c o u n t
$ 2 1 e l s e s a v en u m b e r
a n d i n c r e m e n t
$ 2 0 a l l c h a r a c t e r sc o p i e d ?
$ 3 F B 3 n o , k e e pc o p y i n g
$ 2 1 i n c r e m e n tn u m b e ro f v a l i dc h a r a c t e r s
# $ 0 0 m a r kt h e e n d o f t h e c o p y
A c o p yo f t h ec u r r e n td i s k e t t en a m ei s m a d e .T h i s a l l o w st h er e n a m i n gp r o c e s st o b e t e r m i n a t e da t a n yt i m e ,e v e na f t e rc h a n g e sh a v eb e e nm a d et o
t h en a m e , b yc l i c k i n gC A N C E L .T h ea d d r e s so f t h ew i n d o w ' sp a r a m e t e rt a b l ei s p a s s e di n $ 0 2 / $ 0 3 .T h et a b l el o o k sa s f o l l o w s :
$ 0 D B l# $ 8 1 ( j o bc o d e f o rs t a n d a r dw i n d o w )
$ 0 D B 2# $ 0 B( j o b c o d ef o r t e x to u t p u t )
$ 0 D B 3# $ 0 4 ( d i s t a n c ef r o ml e f t e d g e )
$ 0 D B 4# $ 2 0 ( d i s t a n c ef r o mt o p )
$ 0 D B 5# $ B 7( l o wb y t eo f t h e t e x ta d d r e s s )
$ 0 D B 6# $ 3 C( h i g hb y t e )
$ 0 D B 7 # $ 0 D( j o b c o d e f o rd a t a i n p u t )$ 0 D B 8 # $ 1 0 ( d i s t a n c ef r o ml e f t e d g e )
$ 0 D B 9# $ 3 0 ( d i s t a n c ef r o mt o p )
$ 0 D B A# $ 0 E( d a t aw i l lb e s t o r e d i n d i r e c t l yv i a $ 0 E / $ 0 F )
$ 0 D B B# $ 1 0 ( m a x i m u mo f 1 6 c h a r a c t e r s )
$ 0 D B C# $ 0 2 ( d i s p l a yC A N C E Lf i e l d )
$ 0 D B D # $ 1 1 ( d i s t a n c ef r o ml e f t e d g e )
$ 0 D B E# $ 4 8 ( d i s t a n c ef r o mt o p )
$ 0 D B F# $ 0 0 ( e n d o f t a b l e )
2 3 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 251/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h ea d d i t i o n a lj o bc o d e$ 0 Bd i s p l a y sa r e q u e s tt o t h eu s e rt o e n t e ra n e wn a m ef o rt h ed i s k e t t e .T h ec o r r e s p o n d i n gt e x t s t r i n gi s l o c a t e da t $ 3 C B 7a n di s p r e c e d e db y t h e c o n t r o lc o d e$ 1 8 ,w h i c hd e t e r m i n e st h et y p es t y l e .
L e t ' sg o o n t o o u rt h i r de x a m p l e - d e f i n e o u ro w nw i n d o w .
A s a m p l ew i n d o w
W ew i l ln o ww r i t ea n a p p l i c a t i o nt o d e m o n s t r a t eh o wt o c r e a t ey o u ro w n
w i n d o w s .T h i sa p p l i c a t i o nd i s p l a y sa w i n d o ww i t ht h et e x ts t r i n gC L I C KY E S T O S E E N E X TP A T T E R N .T h e ni t p l a c e sY E Sa n dN Ob u t t o n s
w i t h i nt h ew i n d o w .I f y o uc l i c kY E Si t c l o s e s t h ew i n d o wa n dt h e nr e d r a w s
i t w i t h an e ws h a d o wp a t t e r nu n t i li t d i s p l a y st h el a s tp a t t e r n . I fy o uc l i c kN Oi t c l o s e s t h ew i n d o wa n dr e t u r n s t ot h ed e s k T o p .
L o a d a c c u m u l a t o r w i t h$ F F
S t o r ei t i n 1 s tb y t e / w i n d o wt a b l e
I n c r e m e n t1 s t b y t e / w i n d o wt a b l e
L o a da c e . w i t h1 s t b y t eo f t a b l e
C o m p a r et o # $ 2 0- e n d o f p a t t e r n s
B r a n c ht o $ 4 5 A 0i f c o m p a r s o ni s =
L o a dX w i t hl o b y t eo f t a b l e
L o a d Y w i t hh i b y t e o f t a b l e
S t o r eX a n dY i n p o i n t e r
a c c e s s e d b y w i n d o w s u b r o u t i n
J u m pt o w i n d o w s u b r o u t i n e
G e t t h e " c l i c k e d "w i n d o w b u t t o n
C o m p a r et o # $ 0 4- t h e N O b u t t o n
B r a n c hn o t = t o i n c r e m e n tp a t t e r n
4 5 A 0 4 C 4 A C C J M P$ C C 4 A J u m pt o r e l o a d d e s k T o p
4 5 8 0
4 5 8 2
4 5 8 5
4 5 8 8
4 5 8 B
4 5 8 D
4 5 8 F4 5 9 1
4 5 9 3
4 5 9 5
4 5 9 7
4 5 9 A
4 5 9 C
4 5 9 E
A 9
8 D
E E
A D
C 9
F 0
A 2A 0
8 6
8 4
2 0
A 5
C 9
D O
F F
A 5
A 5
A 5
2 0
1 1
A 54 5
0 2
0 3
5 6
0 2
0 4
E 5
4 5
4 5
4 5
C 2
L D A
S T A
I N C
L D A
C M P
B E Q
L D X
L D Y
S T X
S T Y
J S R
L D A
C M P
B N E
# $ F F
$ 4 5 A 5
$ 4 5 A 5
$ 4 5 A 5
# $ 2 0
$ 4 5 A 0
# $ A 5# $ 4 5
$ 0 2
$ 0 3
$ C 2 5 6
$ 0 2
# $ 0 4
$ 4 5 8 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 252/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 253/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
1 O O Or e n t * * * * * * * * * * * * * * * * * * * * * * *
1 0 1 0r a n * - f r o mt h e b o o k *
1 0 2 0r e m * ' g e o s i n s i d ea n d o u t ' *
1 0 3 0r e n t * p u b l i s h e d b ya b a c u s*
1 0 4 0r e m * * * * * * * * * * * * * * * * * * * * * * *
1 0 5 0o p e n 1 , 8 , 2 , " w i n d o w , p , w "
1 0 6 0p r i n t # l , c h r * ( 1 2 8 > 5 c h r * ( 6 9 ) 5 s r e ml o a d a d d r o - f
* 4 5 8 0
1 0 7 0r e a d x * : i - Fx * = " x x " t h e n l l O O1 0 8 0y * = l e - f t * ( x $ , l ) : g o s u b1 1 2 0 : z = v * 1 6
1 0 9 0y * = r i g h t * < x * ,1 ) s g o s u b1 1 2 0 : z = z + v : p r i n t # l, c h r *
( z ) ; : c k = c k + z : g o t o l 0 7 0
1 1 0 0c l o s e l s i - fc k < > 7 1 0 5 t h e n p r i n t " e r r o ri n d a t a "
1 1 1 0e n d1 1 2 0v = - ( y $ = " a " > * 1 0 - C y * = " b " > * 1 1 - ( y * = " c " * 1 2 - < y * = " d
1 1 )* 1 3 -< y * = " e " )* 1 4 -< y * = " - f" ) * 1 5
1 1 3 0v = v + v a l < y $ ) : r e t u r n
1 1 4 0r e n t m a c h i n ec o d e
1 1 5 0d a t a a 9 , - f - f, 8 d ,a 5 , 4 5 , e e , a 5 , 4 5
1 1 6 0d a t aa d ,a 5 4̂ 5 , c 9 , 2 0 , - f0 , 1 1 , a 21 1 7 0d a t a a 5 , a 0 , 4 5 , 8 6 , 0 2 , 8 4 , 0 3 , 2 0
1 1 8 0d a t a 5 6 , c 2 , a 5 , 0 2 , c 9 , 0 4 , d 0 , e 5
1 1 9 0d a t a 4 c , 4 a , c c , 0 0 , 0 0
1 2 0 0r e m t a b l e- f o r w i n d o wp a r a m e t e r s1 2 1 0d a t a 0 1 , 1 4 , 5 0 , 1 0 , 0 0 , 2 8 , 0 1 , 0 b
1 2 2 0d a t a 0 a , 1 0 , b 8 , 4 5 , 0 3 , 0 2 , 2 8 , 0 41 2 3 0d a t a l b , 2 8 , 0 0
1 2 4 0r e m t e x t - f o r w i n d o w1 2 5 0d a t a 4 3 , 4 c , 4 9 , 4 3 , 4 b , 2 0 , 1 8 , 5 9
1 2 6 0d a t a 4 5 , 5 3 ,l b , 2 0 ,5 4 , 4 - f, 2 0 , 5 3
1 2 7 0d a t a 4 5 , 4 5 , 2 0 , 4 e , 4 5 , 5 8 , 5 4 , 2 0
1 2 8 0d a t a 5 0 , 5 1 , 5 4 , 5 4 , 4 5 , 5 2 , 4 e , 0 0
1 2 9 0d a t a x x
T oc o n v e r tw i n d o wi n t oa G E O Sa p p l i c a t i o n ,l o a da n dr u nF I L E M A S T E R .
I n s e r tt h ed i s k c o n t a i n i n gw i n d o wa n dp r e s sa n yk e y( a sp r o m p t e d ) .T y p e
c s pt o c r e a t ey o u ri c o n .W ec r e a t e da p i c t u r eo f aw i n d o w .N e x t , t y p ef f 1
t o r e a dt h ef i l ew i n d o w .T y p ew i n d o wf o r t h en a m et o b e s e a r c h e df o r .
O n c et h en a m ei s f o u n d ,e n t e r t h ed a t e .N o w ,t y p eg e o st o c o n v e r ti t t o a
G E O Sf i l e .E n t e r6 f o ra p p l i c a t i o n .T y p ei n f ot o c r e a t et h e i n f os e c t o r f o r
w i n d o w .E n t e ra s f o l l o w s :
2 4 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 254/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
S t a r t i n ga d d r e s sE n d a d d r e s sE n t r yp o i n t
P r o g r a mc l a s s
A u t h o r ' sn a m eH e l ps c r e e n
1 7 7 9 01 7 7 8 91 7 7 9 2
e x a m p l e
R u s sT a b e r
t h i s p r o g r a md e m o n s t r a t e s h o wt oc r e a t ey o u r o w nw i n d o w s
O n c ee n t e r e da n d b a c kt o t h em a i nm e n u ,t y p ee n dt o q u i t .N o w ,l o a di n
G E O Si n s e r ty o u rd i s k c o n t a i n i n gw i n d o wa n dt h e no p e nw i n d o w .Y o us h o u l ds e et h ef o l l o w i n gd i s p l a y :
I q e o sI f i l e\ u i e i uj d i s kI s p e c i a l
C L I C KY E ST O S E EN E X T P A T T E R N
S O H Z C H f i N G E RS S Iu O f t D E RW I N D O WL O f l D E RX O C KL O f t D E R
1
F i g u r e8 4 :w i n d o wd e m o n s t r a t i o n
2 4 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 255/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 « 3T h es y s t e mi n t e r r u p t
T h es y s t e mi n t e r r u p t i nG E O Sh a se s s e n t i a l l yt h es a m ef u n c t i o na s i n t h e
o r i g i n a lC - 6 4o p e r a t i n g s y s t e m .I t r e l i e v e st h em a i np r o g r a mo f a n u m b e ro f
r o u t i n et a s k s .T oa c c o m p l i s ht h i s ,t h em a i n p r o g r a mi s i n t e r r u p t e da t r e g u l a r
i n t e r v a l sa n da s p e c i a lr o u t i n ei s e x e c u t e d .W h e na n i n t e r r u p tr e q u e s ti s
m a d e( I R Q ) ,t h ep r o c e s s o rf e t c h e s t h es t a r t i n ga d d r e s so f t h ei n t e r r u p t
r o u t i n ef r o mm e m o r yl o c a t i o n s$ F F F E / $ F F F F( L o w / H i g h ) .
N o r m a l l yt h ei n t e r r u p tr o u t i n ei s a t $ E A 3 1a n dp e r f o r m s s u c ht a s k sa s
r e a d i n gt h ek e y b o a r d ,f l a s h i n gt h ec u r s o r ,a n da c t u a l i z i n gt h es y s t e mc l o c k ,
T I $ .I n G E O S ,t h i sr o u t i n es t a r t sa t $ E 2 D C .I t r e a d st h ej o y s t i c kf r o mt h e
j o y s t i c kp o r t ,r e a d st h ek e y b o a r d ,a n dd e c r e m e n t sc e r t a i nm e m o r yl o c a t i o n so n e a c hp a s s .
A ni n t e r r u p tc a nb e c a u s e db y v a r i o u sg e n e r a le v e n t s :
s p r i t e - s p r i t ec o l l i s i o n
s p r i t e - b a c k g r o u n dc o l l i s i o n
r a s t e r l i n eo f t h ev i d e oc o n t r o l l e r
l i g h tp e n
t i m e r
h a n d s h a k ef o rd a t a t r a n s m i s s i o n
a l a r mc l o c k
B R Kc o m m a n d
I n t h eo r i g i n a lC - 6 4o p e r a t i n g s y s t e m ,t h ei n t e r r u p ti s g e n e r a t e db y a t i m e r .
I n G E O S ,t h ev i d e oc o n t r o l l e rr a s t e rc a u s e st h e i n t e r r u p tG E O Sa l s oa l l o w s
f o ra b r e a ki n t e r r u p t .
T h er a s t e r - l i n eI R Qi s g e n e r a t e da s f o l l o w s :
R e g i s t e r1 8 o f t h eV I Cc o n t a i n st h en u m b e ro f r a s t e rl i n e .W h e nt h i sl i n ei s
b e i n gd r a w no n t h es c r e e n ,t h eV I Cg e n e r a t e sa n I R Qt o t h e p r o c e s s o r .
R a s t e rl i n e0 m e a n st h a tt h ei n t e r r u p t w i l lo c c u ra t t h ev e r y t o po f t h es c r e e n .
I f t h ed e s i r e d v a l u ei s g r e a t e rt h e n$ F F ,t h eo v e r f l o wb i tc a nb ep l a c e di n b i t
7 o fr e g i s t e r1 7 .T oa c t u a l l yg e n e r a t ea n i n t e r r u p t ,b i t0 i n r e g i s t e r2 6 ( m a s kr e g i s t e r )m u s tb e s e t .
2 4 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 256/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
S i n c ea n I R Qc a ni n t e r r u p tt h ep r o c e s s o rd u r i n ga n ya c t i v i t y ,t h ef o l l o w i n gr u l em u s tb e n o t e d :I f a n yo f t h ep r o c e s s o rr e g i s t e r sa r ec h a n g e dd u r i n gt h e
I R Qr o u t i n e ,t h ep r e v i o u sv a l u e sm u s tf i r s tb e s a v e d .T h i si s n o r m a l l yd o n e
b y p l a c i n gt h e mo n t h e s t a c k( P H A ,T X A ,P H A ,T Y A ,P H A ) .T h er e g i s t e r s
a r et h e nr e s t o r e db e f o r er e t u r n i n gt o t h e i n t e r r u p t e dm a i np r o g r a m .
I f t h ep r o c e s s o rc a n n o tb e i n t e r r u p t e dd u r i n gc e r t a i na c t i v i t i e s ,i t i s p o s s i b l e
t o d i s a b l ei n t e r r u p t sr e q u e s t sb y e x e c u t i n gt h eS E Ii n s t r u c t i o n i nt h em a i n
p r o g r a m .I n t e r r u p t sc a nb e e n a b l e da g a i nw i t ht h eC L Ii n s t r u c t i o n .
L e t ' st a k ea l o o ka t t h es y s t e mi n t e r r u p t i nG E O S .
$ E 2 D C S T A $ 8 8 O Bs a v e a c e
$ E 2 D FP L A g e t s t a t u sf r o ms t a c k ;p l a c e dt h e r ea u t o m a t i c a l l yo n i n t e r r u p t
$ E 2 E 0P H A w r i t es t a t u sb a c k ;s i n c e t h es t a t u si s
t h e a c e , i tc a n b e t e s t e d
$ E 2 E 1A N D# $ 1 0 t e s t B R E A Kf l a g
$ E 2 E 3B E Q$ E 2 E 9 n oB R E A K ,s y s t e m i n t e r r u p t
$ E 2 E 5P L A s t a t u sn o l o n g e rn e e d e d
$ E 2 E 6J M P ( $ 8 4 A F )i n d i r e c tj u m pt o r o u t i n e :" S y s t e m e r r o r
n e a rX X X X "
$ E 2 E 9T X A s y s t e mi n t e r r u p t
B R E A KI R Q
W i t ht h eb r a n c ht o a s p e c i a lr o u t i n eo n B R E A KI R Q ,G E O Sh a st h ea b i l i t y
t o d i s p l a ya m e s s a g e a n dm e m o r yl o c a t i o no n t h es c r e e nf o re v e ns e r i o u s
p r o g r a me r r o r s .T h i si s p o s s i b l eb e c a u s et h er e t u r na d d r e s si s p l a c e do n t h e
s t a c kw h e na n i n t e r r u p tr e q u e s ti s s e r v i c e d .T h i sa d d r e s si s f e t c h e df r o mt h e
s t a c kw i t h( $ 8 4 A F ) a n dp r i n t e do n t h es c r e e n .
S y s t e mI R Q
A f t e rt h ep r o c e s s o rr e g i s t e r sa n di m p o r t a n tm e m o r yl o c a t i o n sh a v e b e e ns a v e do n t h es t a c k ,t h ei n t e r r u p ts e r v i c er o u t i n e( a t$ E 3 0 6 )p e r f o r m st h e
f o l l o w i n gt a s k s :
2 4 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 257/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
• E n a b l eI / Oa r e a
• D e c r e m e n tc o u n t e r$ 8 5 1 5b y o n e .T h i si s n o td o n ei f t h e
c o u n t e r v a l u ei s a l r e a d yz e r o .
• D e c r e m e n tc o u n t e r$ 8 7 E Ab y o n e .T h i si s n o td o n ei f t h e
c o u n t e ra l r e a d y c o n t a i n s t h ev a l u e$ 0 0o r $ F F .
• J u m pt o r o u t i n e$ E 3 6 Ft o r e a dt h ek e y b o a r d .
• D e c r e m e n tc o u n t e r$ 8 8 1 B , e n di f $ 8 8 1 B = 0 .T h i s c o u n t e rc r e a t e st h ei n t e r v a lf o rt h et o n ec r e a t i o ni n c a s eo f a n a l a r m .
• E x e c u t ej o b1 : A d d r e s so f t h ej o bi n $ 8 4 9 D / $ 8 4 9 E .T h i sj o bi s
n o r m a l l y$ E 3 6 0 =j o y s t i c km o v e m e n t
• E x e c u t ej o b2 : A d d r e s si n $ 8 4 D F / $ 8 4 A 0 .N o r m a l l yb o t hm e m o r yl o c a t i o n s a r ez e r o ,s o t h a tt h i sj o bi s n o te x e c u t e d .
F o l l o w i n gt h i s ,t h es a v e dm e m o r yl o c a t i o n sa n dr e g i s t e r sa r er e s t o r e df r o mt h es t a c ka n dt h e r e t u r nf r o mt h ei n t e r r u p ti s p r e p a r e d .
2 4 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 258/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 . 4J o bl o o p/ J o bs t r u c t u r e
O n eo f t h ef l e x i b l ep r o g r a m m i n gf e a t u r e so f G E O Si s s o m e t h i n g w e ' v ec a l l e dt h ej o bl o o p .T h i sp r o g r a ms e c t i o nc h e c k sc e r t a i nm e m o r yl o c a t i o n s
t o s e ei f j o b sa r es u p p o s e dt o b e e x e c u t e d .T h e s ec a ne v e n b ep l a c e do ns t a c ka n dp r o c e s s e di n s u c c e s s i o n .I n a d d i t i o n ,t h ej o bl o o pc o n t a i n st w or o u t i n e si n v o l v e d w i t ht h ea l a r mc l o c k .T h ej o b l o o ps t a r t s a t$ C 2 C 8a n dt h e
a c t u a lm a i nr o u t i n ei s r e l a t i v e l y s h o r t :
C 2 C 8J S R $ E 2 8 F
C 2 C B J S R$ 9 E A 9
C 2 C EJ S R $ 9 F 7 9
C 2 D 1J S R $ F 9 3 0C 2 D 4J S R $ F 9 E D
C 2 D 7L D A$ 8 4 9 B
C 2 D A L D X$ 8 4 9 C
C 2 D DJ S R $ C 1 D 8
C 2 E 0C L I
C 2 E 1J M P $ C 2 C 8
I f y o uw a n tt o w r i t ey o u ro w np r o g r a m st o w o r ku n d e rG E O S ,y o uc a ns a v ey o u r s e l fa g r e a td e a lw o r ki f y o ua r e f a m i l i a rw i t ht h eb a s i cf u n c t i o no f
t h ej o bl o o p .W e l lb r i e f l ye x p l a i nt h eo p e r a t i o no f t h e i n d i v i d u a l r o u t i n e
h e r e .
F i r s tw e h a v et o t a l ka l i t t l eb i ta b o u tt h ei n t e r r u p t ,w h i c ha c c o m p l i s h e si m p o r t a n tt a s k si n G E O S . O n eo f i t sr e s p o n s i b i l i t i e si s r e a d i n gt h ej o y s t i c k .
S e v e r a lm e m o r yl o c a t i o n sp l a ya n i m p o r t a n tr o l ei n u n d e r s t a n d i n gt h e
i n t e r r u p t r o u t i n e .O no n eh a n d ,t h ei n t e r r u p ti s i n f o r m e da s t ow h e t h e rt h e
j o y s t i c kc u r s o ri s e n a b l e do r d i s a b l e d ,v i s i b l eo r i n v i s i b l e ,w h e t h e ri t m a yg o b e y o n dc e r t a i nb o u n d a r i e s( i m p o r t a n ts o t h a tt h ec u r s o rc a n n o tl e a v e
c e r t a i nw i n d o w s ) ,a n ds o o n .O n t h eo t h e r h a n d ,t h ei n t e r r u p tt e l l st h e
p r o g r a mw h e t h e rt h ec u r s o rm o v e d ,w h e t h e rt h eb u t t o nw a sp r e s s e do r n o t ,
e t c .
1 . C 2 C 8J S R$ E 2 8 F
T h i ss u b r o u t i n ec h e c k sm e m o r yl o c a t i o n$ 3 9 .I n t h i sl o c a t i o n t h ei n t e r r u p t
p a s s e si n f o r m a t i o no n w h e t h e rt h e j o y s t i c kw a sm o v e do r t h eb u t t o nw a s
p r e s s e d :
2 4 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 259/314
A b a c u sS o f t w a r e
E 2 8 F
E 2 9 1
E 2 9 3
E 2 9 5
E 2 9 7
E 2 9 9
E 2 9 C
E 2 9 F
E 2 A 2
E 2 A 4
E 2 A 6
E 2 A 8
E 2 A A
E 2 A CE 2 A E
E 2 B 1
E 2 B 4
E 2 B 7
E 2 B 9
E 2 B B
E 2 B E
E 2 C 1
E 2 C 4
E 2 C 7
E 2 C A
E 2 C C
E 2 C F
E 2 D 2
E 2 D 5
E 2 D 7
E 2 D A
B I T
B V C
L D A
A N D
S T A
L D A
L D X
J S R
L D A
A N D
B E Q
L D A
A N D
S T AL D A
L D X
J S R
B I T
B P L
J S R
L D A
L D X
J S R
L D A
B E Q
L D A
L D X
J S R
L D A
S T A
R T S
$ 3 9
$ E 2 A 2
# $ B F
$ 3 9
$ 3 9
$ 8 4 A 5
$ 8 4 A 6
$ C 1 D 8
$ 3 9
# $ 2 0
$ E 2 B 7
# $ D F
$ 3 9
$ 3 9$ 8 4 A 1
$ 8 4 A 2
$ C 1 D 8
$ 3 9
$ E 2 C 7
$ E 5 1 5
$ 8 4 A 3
$ 8 4 A 4
$ C 1 D 8
$ 8 4 B 6
$ E 2 D A
$ 8 4 A 7
$ 8 4 A 8
$ C 1 D 8
# $ 0 0
$ 8 4 B 6
t e s t
b i t
G E O SI n s i d ea n dO u t
j o y s t i c ks t a t u s
6 = 1 ; n e w s t i c kp o s i t i o n
c l e a rb i t 6
j o b
j o b
j o b
b i t
n o ,
y e s ,
j o b
j o b
j o b
b i t
a d d r e s sl o w
a d d r e s s h i g h
e n t r y
5 = 1 ; c h a n g eo n b u t t o ns t a t u s
c o n t i n u e
c l e a r b i t
a d d r e s s l o w
a d d r e s s h i g h
e n t r y
7 = 0 ;n o j o b i n F I F O
r e a dn e w j o b f r o m F I F O
j o b
j o b
j o b
j o b
n o
j o b
j o b
j o b
a d d r e s s l o w
a d d r e s s h i g h
e n t r y
f l a g s e t ?
a d d r e s sl o w
a d d r e s s h i g h
e n t r y
r e s e t j o b f l a g
T h i sr o u t i n em a k e si t p o s s i b l et o e x e c u t ej o b si n d e p e n d e n t l y o ft h ev a l u e o f
t h ej o y s t i c kp o r t .T h eb i ga d v a n t a g eo f t h i sr o u t i n ei s t h a tp r o g r a mc a nw a i t
f o ra c h a n g ei n t h ej o y s t i c k p o r tw i t h o u tb e i n gs t u c ki n a l o o p ,s i m p l y
r e a d i n gt h ej o y s t i c ks t a t u s .T h i sw a yG E O Sc a nu p d a t et h es y s t e mc l o c k
t i m ew h i l e g e o P a i n tw a i t sf o ra j o y s t i c km o v e m e n t .
Y o uc a nw r i t ey o u ro w nv a l u e si n t h ej u m pa d d r e s s e sa n de x e c u t ep r o g r a m
f r a g m e n t si n d e p e n d e n to f c h a n g e so f t h ej o y s t i c k .Y o uc o u l d u s et h i st o
w r i t ea h a r d c o p yr o u t i n ew h i c hw a i t sf o rt h eu s e rt o p r e s st h ef i r eb u t t o n
a n dt h e ns t o r e st h ec o n t e n t so f t h es c r e e n .
2 4 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 260/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
F I F O( F i r s tI n ,F i r s tO u t )i s a b u f f e rt o w h i c h t w op o i n t e r sp o i n t .T h ef i r s t
p o i n t e ri n d i c a t e s t h en e x tf r e ep o s i t i o nw i t h i nt h eb u f f e r .T h es e c o n dp o i n t s
t o t h en e x te l e m e n tt o b ep r o c e s s e d .T h ep o i n t e r s a r e a c t u a l i z e de a c ht i m et h e
b u f f e ri s a c c e s s e d .W h e na n e wj o bi s w r i t t e ni n t h eb u f f e r ,G E O Sa d v a n c e s
t h ef i r s tp o i n t e ro n ep o s i t i o n .W h e na c o m m a n dh a sb e e np r o c e s s e d ,t h es e c o n dp o i n t e ri s i n c r e m e n t e db y o n ep o s i t i o n .T h i sc a u s e st h es e c o n d
p o i n t e rt o l a gb e h i n dt h ef i r s t .T h eb u f f e ri s a c t u a l l ya " c i r c l e " ,a n dh o l d s a
m a x i m u mo f 1 6e n t r i e s .W h e nt h es e c o n dp o i n t e r c a t c h e su p t o t h ef i r s t( i . e .
n o m o r ec o m m a n d sn e e db e p r o c e s s e d ) ,b i t7 i n $ 3 9i s c l e a r e d .W h e na n e wc o m m a n di s a d d e dt o t h eb u f f e r ,b i t7 o f $ 3 9i s s e tt o o n e .
2 . C 2 C BJ S R$ 9 E A 9
T h i sr o u t i n em a n a g e sa t a b l eo f j o b sw h i c ha r ep r o c e s s e dd e p e n d i n go n a
s t a t u sw o r d .I n a d d i t i o n ,a s p e c i a lb i t i n t h es t a t u sw o r dc a n b e u s e dt o
d i s a b l e t h e p r o c e s s i n g .
9 E A 9
9 E A C
9 E A E
9 E A F
9 E B 2
9 E B 49 E B 6
9 E B 8
9 E B B
9 E B D
9 E C 0
9 E C 1
9 E C 2
9 E C 3
9 E C 4
9 E C 7
9 E C 9
9 E C C
9 E C E
9 E D 1
9 E D 2
9 E D 3
9 E D 4
9 E D 6
9 E D 7
L D X
B E Q
D E X
L D A
B P L
A N DB N E
L D A
A N D
S T A
T X A
P H A
A S L
T A X
L D A
S T A
L D A
S T A
J S R
P L A
T A X
D E X
B P L
R T S
J M P
$ 8 7 8 E
$ 9 E D 6
$ 8 7 2 A , X
$ 9 E D 3
# $ 4 0$ 9 E D 3
$ 8 7 2 A , X
# $ 7 F
$ 8 7 2 A , X
$ 8 7 3 E , X
$ 0 2
$ 8 7 3 F , X
$ 0 3
$ 9 E D 7
$ 9 E A F
( $ 0 0 0 2 )
j o b n u m b e r
n o j o b
g e t j o b f l a g
b i t 7 = 0 ; a l r e a d ye x e c u t e d
b i t 6 = 1 ?y e s , t h e ns k i p
r e s e t f l a g
s a v e j o b n u m b e r
* 2
j o b a d d r e s s l o w
s a v e
j o b a d d r e s sh i g h
s a v e
j o b e n t r y
g e t j o b n u m b e r b a c k
n e x t j o b
a n o t h e rj o b
2 4 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 261/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
3 . C 2 C EJ S R$ 9 F 7 9
T h i sr o u t i n em a n a g e sa j o bb u f f e ri n w h i c ha t w o - b y t ec o u n t e r( 1 6 - b i t )
b e l o n g st o e a c hj o b .T h i sc o u n t e rd e l a y s t h ee x e c u t i o no f t h e j o b .
9 F 7 9
9 F 7 C
9 F 7 E
9 F 7 F
9 F 8 2
9 F 8 5
9 F 8 7
9 F 8 A
9 F 8 C
9 F 8 F
9 F 9 1
9 F 9 2
9 F 9 3
9 F 9 6
9 F 9 9
9 F 9 A
9 F 9 B9 F 9 C
9 F 9 E
9 F 9 F
9 F A 1
9 F A 3
9 F A 5
L D X
B E Q
D E X
L D A
O R A
B N E
L D A
S T A
L D A
S T A
T X A
P H A
J S R
J S R
P L A
T A X
D E XB P L
R T S
I N C
B N E
I N C
J M P
$ 8 7 8 F
$ 9 F 9 E
$ 8 7 9 0 ,
$ 8 7 A 4 ,
$ 9 F 9 B
$ 8 7 C C ,
$ 0 3
$ 8 7 B 8 ,
$ 0 2
$ 9 F A 8
$ 9 F 9 F
$ 9 F 7 F
$ 0 2
$ 9 F A 5
$ 0 3
X
X
X
X
( $ 0 0 0 2 )
j o b n u m b e r
n o j o b
c o u n t e rl o w
c o u n t e r h i g h
n o t 0 , s k i p
j o b a d d r e s sh i g h
j o b a d d r e s sl o w
s a v e j o b n u m b e r
a d v a n c ej o b s ;c u r r e n tj o b n u m b e r
o v e r w r i t t e n
j o b e n t r y+ 1 b e c a u s ea d d r e s si s
f e t c h e df r o mt h e s t a c kb y J S R
g e t j o b n u m b e r
a n d i n t o X
n e x t j o b n u m b e ra n o t h e rj o b p r e s e n t
j o b a d d r e s s+ 1 a n d e x e c u t e
T h i s j o bt a b l ei s u s e db y G E O Sw h e ny o uc l i c ka n O Kb u t t o n .T h eb u t t o ni s
f i r s ti n v e r t e d ( b l a c ki n s t e a do f w h i t e )a n dt h e ni n v e r t e da g a i na f t e ra v e r yb r i e fp a u s e .T h ec o u n t e r d e t e r m i n e st h el e n g t ho f t h i sp a u s e ,w h i c hi n t h i s
c a s ec o n t a i n st h e v a l u e$ 0 0 A 0a s t h e s t a r t i n gv a l u e .T h ei n t e r r u p t
d e c r e m e n t st h e c o u n t e r .
T h e r ei s a r o u t i n ea t $ 9 F D Et o w h i c ht h e s t a r t i n gv a l u ei s p a s s e di n
$ 0 3, $ 0 2 .I t f e t c h e s t h en e x tf r e el o c a t i o ni n t h et a b l ef r o m$ 8 7 7 Ea n dw r i t e s t h es t a r t i n gv a l u ef o r t h ec o u n t e rt o t h ec o r r e s p o n d i n gp o s i t i o n si n t h e
t a b l e .T h er e t u r na d d r e s si s t h e nf e t c h e df r o mt h es t a c ka n dw r i t t e ni n t oa
s e c o n dt a b l e .W h e nt h ec o u n t e rr e a c h e sz e r o ,t h e r e t u r nj u m pi s m a d e .
2 5 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 262/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
4 . C 2 D 1J S R$ F 9 3 0
D a t em a i n t e n a n c e .
5 . C 2 D 4J S R$ F 9 E D
A l a r mc l o c ke v a l u a t i o n .
6 . C 2 D 7L D A$ 8 4 9 Bj o ba d d r e s sl o w
C 2 D AL D X$ 8 4 9 Cj o ba d d r e s sh i g h
C 2 D DJ S R$ C 2 D 8j o be n t r y
7 . C 2 E 0 C L I
C 2 E 1J M P$ C 2 C 8
E n a b l ei n t e r r u p t sa n dr e t u r nt o t h es t a r to f t h ej o bl o o p .
2 5 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 263/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 . 5T h eG E O Sf i l es t r u c t u r e
O n eo f G E O S 1m a n ys t r o n gs u i t si s i t sf i l es t r u c t u r e *N u m e r o u sG E O Sf e a t u r e s a r em a d ep o s s i b l ew i t hi t sf i l em a n a g e m e n t .W h e nw ef i r s ts t a r t e d
w o r k i n gw i t hG E O Sa n dd i s c o v e r e dt h ec h a n g e sf r o mt h en o r m a lf i l e
s t r u c t u r e ,w e t h o u g h tt h a ti t w a sa n a t t e m p to n t h e p a r to f t h em a k e r so fG E O St o p r o t e c td e v e l o p m e n ts e c r e t s .B u tw es o o nd i s c o v e r e dt h a te a c ho f
t h ec h a n g e sh a da n i m p o r t a n tf u n c t i o ni n G E O S .I n t h i ss e c t i o nw ew a n tt o
e x p l a i nt h ed e t a i l so f t h eG E O Sf i l es t r u c t u r e .T o d o t h i s ,w e m u s tf i r s t
e x p l a i nh o wt h en o r m a lC o m m o d o r eD O Sm a n a g e sf i l e s .
6 . 5 . 1 F i l em a n a g e m e n tu n d e rC o m m o d o r eD O S
E v e r yf i l eo n t h ed i s k e t t eh a sa f i l ee n t r yo r d i r e c t o r ye n t r yw h i c hc o n t a i n s
a l l o f t h ei m p o r t a n t i n f o r m a t i o n a b o u tt h ef i l e .T h ed i r e c t o r yi s f o u n do nt r a c k1 8 o f t h ed i s k e t t e ,a n ds t a r t sa t s e c t o r1 .
H e r e ' st h ef o r m a to f a d i r e c t o r ye n t r y :
B v t e C o n t e n t s
0 F i l et y p e" ^ O R e dw i t h$ 8 01 , 2 T r a c ka n ds e c t o ro f t h ef i r s td a t ab l o c k
3 - 1 8 F i l e n a m e ,p a d d e dw i t hs h i f t e ds p a c e s( $ A 0 )1 9 - 2 1 U s e do n l yf o rr e l a t i v ef i l e s
2 1 U s e do n l yf o rr e l a t i v ef i l e s
2 2 - 2 5 N o tu s e d
2 6 , 2 7 T r a c ka n ds e c t o ro f t h en e wf i l ew h e no v e r w r i t i n g2 8 , 2 9 N u m b e ro fb l o c k si n t h ef i l e( l o w / h i g h )
t F i l et y p e s :0 = d e l e t e d
1 = s e q u e n t i a l
2 = p r o g r a m
3 = u s e r
4 = r e l a t i v e
2 5 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 264/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
A ne x a m p l e :
0 1 0 2 0 30 4 0 5 0 6 0 7 0 80 9 1 0 1 1 1 2 1 3 1 4 1 5
C 2 1 1 0 0 F I L E N A M E A 0 A 0 A 0A 0
1 6 1 7 1 81 9 2 0 2 1 2 2 2 3 2 4 2 52 6 2 7 2 82 9
A O A O A O0 0 0 0 0 0 0 00 0 0 0 0 0 0 10 0 O A 0 0
T h i sf i l ei s a p r o g r a m , b e c a u s et h el o w e s t4 b i t si n b y t e0 1 e q u a l2 . I n
a d d i t i o n ,i t i s w r i t e - p r o t e c t e d ,b e c a u s et h e6 t hb i ti s s e t( C 2i n s t e a do f 8 2 ) .
T h ef i r s td a t ab l o c ko f t h ep r o g r a ml i e so n t r a c k1 7 ( = $ 1 1 ) ,s e c t o r0 . T h ef i l ec o n t a i n so n ed a t ab l o c k ,w h i c hi s o n es e c t o r( b y t e2 6 = 0 1 ) .F r o mt h e
n u m b e ro f z e r o e si n t h ef i l ee n t r yy o uc a ns e et h a tt h e r ei s s p a c ef o r
a d d i t i o n a li n f o r m a t i o n .T h i ss p a c ei s u s e db y G E O S .W ew i l ln o wt a k eal o o ka t a f i l ee n t r yu n d e rG E O S .
6 . 5 . 2A f U ee n t r yu n d e rG E O S
A f i l ee n t r yi n G E O Sc o n t a i n sm o r ei n f o r m a t i o n t h a na n o r m a lf 6 4f i l e .T h i s
a d d i t i o n a li n f o r m a t i o ni s a t t h ef o l l o w i n gl o c a t i o n sa n dh a st h ef o l l o w i n g
m e a n i n g s :
B y t e s1 9 , 2 0: S e c t o ro f t h eI N F Os c r e e n
B y t e2 1 : F i l es t r u c t u r e
0 = S E Q U E N T I A L
1 = V L I R
B y t e2 2 : F i l et y p e
1 = B A S I C
2 = m a c h i n el a n g u a g e5 = G E O Sd e s ka c c e s s o r y( e . g .t h ea l a r mc l o c k )
6 = G E O Sa p p l i c a t i o n( e . g .g e o P a i n t )
B y t e s 2 3 - 2 7: D a t e a n dt i m e ,s t a r t i n gw i t ht h ey e a r
L e t ' sl o o ka t s u c ha G E O Sf i l ei n d e t a i l .A s a n e x a m p l ew e ' l l s e l e c tt h e
p r o g r a mG E O SB O O Ta n ds h o wt h ec o r r e s p o n d i n gs e c t i o no f t h ed i r e c t o r y :
2 5 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 265/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
A G E O Sf i l ee n t r y :
0 3 2 0 C 2 0 1 1 04 7 4 5 4 F. . b . . g e o0 3 2 85 3 2 0 4 1 4 F 4 F5 4 A 0 A 0 s b o o t . .0 3 3 0 A 0 A 0 A 0 A 0 A 00 1 0 8 0 0
0 3 3 80 2 5 6 0 30 7 O F 0 0 0 6 0 0 . v
0 3 4 00 0 0 0
T h ef i l ee n t r ys t a r t sa t $ 0 3 2 2 .T h ef i r s tb y t e sc o r r e s p o n de x a c t l yt o
C o m m o d o r e D O S .T h i si s i m p o r t a n ts o t h a tt h ef i l e sc a nb e l o a d e dw i t h o u tG E O S .T h ea d d i t i o n a li n f o r m a t i o nt h a tG E O Sp l a c e si n t h ef i l ee n t r ys t a r t s
a t b y t e$ 0 3 3 5b e h i n dt h el a s t$ A 0 .T h eI N F Os e c t o rl i e sa t t r a c k1 , s e c t o r8 .
T h ef i l es t r u c t u r ei s S E Q U E N T I A La n dt h eG E O Sf i l et y p ei s a m a c h i n e
l a n g u a g ep r o g r a m( 0 2 ) .
F o l l o w i n gt h i sa r et h e d a t ea n dt i m e :
Y e a r ,m o n t h ,d a y , h o u r ,m i n u t e
O n l yt h el a s tt w od i g i t so f t h ey e a ra r e i n c l u d e d ,s o $ 5 6= 8 6= 1 9 8 6 .T h eh o u r sa r ee n t e r e di n 2 4 - h o u rf o r m a t :$ 0 F= 1 5= 3 P M .
W eh a v ep r i n t e da l a r g e rs e c t i o no f t h ed i r e c t o r yb e l o ws o t h a ty o uc a n
b e c o m eb e t t e ra c q u a i n t e dw i t ht h eG E O Sf i l ee n t r ys t r u c t u r ea n dt h ea d d i t i o n a li n f o r m a t i o n .S t u d yt h ef i l ee n t r i e su n t i ly o ua r ec o m f o r t a b l e w i t ht h ep a t t e r n .T h eG E O Si n f o r m a t i o na l w a y ss t a r t sa f t e rt h el a s t$ A 0 .
N o t et h a tG E O Su s e sa s o m e w h a td i f f e r e n tc o d i n go f t h ec h a r a c t e r st h a n
u s u a l .T h eA S C I Iv a l u e sd i f f e rf r o mt h eu s u a lv a l u e s :
0 3 0 01 2 0 9 C 21 1 0 0 4 7 4 5 4 D. . b . . g e o0 3 0 85 3 A 0 A 0 A 0 A 0 A 0 A 0 A 0s
0 3 1 0 A 0 A 0A 0 A 0 A 00 0 0 0 0 0
0 3 1 80 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
0 3 2 00 0 0 0C 2 0 1 1 04 7 4 5 4 F. . b . . g e o0 3 2 85 3 2 0 4 2 4 F 4 F5 4 A O A O s b o o t . .0 3 3 0A O A O A O A O A O0 1 0 8 0 00 3 3 80 2 5 6 0 3 0 7 O F 0 0 0 6 0 0 . v
0 3 4 00 0 0 0C 3 0 1 1 14 7 4 5 4 F. . c . g e o0 3 4 85 3 2 04 B 4 5 5 2 4 E 4 1 4 Cs k e r n a l0 3 5 0A O A O A O A O A O0 1 0 9 0 10 3 5 80 4 5 6 0 30 7 O F 0 0 5 4 0 0. v t .
0 3 6 00 0 0 0 C 3 0 5 0 74 4 4 5 5 3. . c . d e s
2 5 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 266/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
0 3 6 84 B 2 0 5 4 4 F 5 0 A 0 A 0 A 0 k t o p . . .0 3 7 0A 0 A 0 A 0 A 0 A 0 0 5 1 40 1
0 3 7 80 4 5 6 0 30 7 O F 0 0 4 70 0 . v g .
0 3 8 00 0 0 0 C 3 0 8 O F 4 7 4 5 4 F . . c . g e o0 3 8 85 0 4 1 4 9 4 E 5 4 A O A O A O p a i n t . . .0 3 9 0A O A O A O A O A O 0 8 0 6 0 1
0 3 9 80 6 5 6 0 30 7 O F 0 0 5 B 0 0 . v
0 3 A 00 0 0 0 C 3 O D 0 24 7 4 5 4 F. . c * . g e o
6 . 5 . 3T h eI N F Os e c t o r
E v e r yG E O Sf i l eh a sa n I N F Os e c t o r ,w h i c hc o n t a i n si n f o r m a t i o na b o u tt h ef i l e .T h ea d d r e s so f t h eI N F Os e c t o ri s l o c a t e di n t h ef i l ee n t r yb e h i n dt h e
l a s t$ A 0 ,b y t e s1 9 a n d2 0 .U n d e rC o m m o d o r eD O St h e s eb y t e sa r eu s e do n l yf o rr e l a t i v ef i l e s .
I n t h eI N F Os e c t o rt h e b y t e sh a v et h ef o l l o w i n gm e a n i n g :
0 - 1 0 0 ,F F - N o r m a l l yt h ef i r s tt w ob y t e s c o n t a i nt h e p o i n t e rt o
t h ef o l l o w i n gs e c t o r .B y t e0 = t r a c k ,b y t e1 = s e c t o r .S i n c e
t h e r ei s o n l yo n es e c t o r ,b y t e0 = $ 0 0a n db y t e1 s p e c i f i e s
t h en u m b e ro f v a l i db y t e si n t h i ss e c t o r .T h ef i r s tt w ob y t e s
t h u sc o r r e s p o n dt o t h es t a n d a r dC o m m o d o r eD O Sf o r m a t .
2 - 3 T h e s et w ob y t e ss p e c i f yt h es i z eo f t h ei c o nt h a ts y m b o l i z e s
t h i sf i l eo n t h es c r e e n .B y t e$ 0 2i n d i c a t e st h ew i d t ha n db y t e
$ 0 3t h eh e i g h t .A w i d t h o f 3m e a n st h a tt h ei c o ni s t h r e e
b y t e sw i d ea n dt h e h e i g h to f $ 1 5= 2 1 l i n e s .T h ei c o n
t h e r e f o r eh a s t h e s a m ef o r m a ta s a s p r i t e ,w h i c ha l s o
c o n s i s t so f 6 3 b y t e s .
4 T h i sb y t er e p r e s e n t sa f l a g ,t h e s o - c a l l e db i t - m a p p i n gf l a g .
T h eh i g h e s tb i ti s a l w a y ss e t( $ 8 0 )a n dt h el o w e rb i t s0 - 6s p e c i f y t h en u m b e ro f b y t e si n t h ei c o n( $ 3 F= 6 3 ) .
5 - 6 7 S p r i t e r e p r e s e n t a t i o no f t h e i c o n .H e r ea r et h e6 3 b y t e st h a t
d e t e r m i n et h ea p p e a r a n c e o ft h ei c o n .T h e ya r ei n s p r i t e
f o r m a t ,s o t h a t3 b y t e sc o r r e s p o n dt o o n el i n eo f t h es p r i t e .
2 5 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 267/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 8 F i l et y p e( C - 6 4 )O R e dw i t h$ 8 0 .G E O Sc h e c k st o s e ei f t h e
f i l e i sd a t a( = 1 )o r a p r o g r a m( = 2 ) .$ 8 2 = 1 3 0m u s tb e h e r e
f o ra p r o g r a m .
6 9 G E O Sf i l et y p e( B A S I C= 1 , m a c h i n el a n g u a g e= 2 ,
A C C E S S O R Y= 5 ) .
7 0 G E O Sf i l es t r u c t u r et y p e( 0 = S E Q ,1 = V L I R) . S E Q=
S E Q U E N T I A Lh e r ed o e sn o tm e a nq u i t e t h es a m et h i n ga s
i n C o m m o d o r e D O S ,b u tj u s tt h a tt h es e c t o r sa r ec h a i n e dv i a
t h e p o i n t e r si n b y t e s0 , 1 .S E Qm e a n st h e n o r m a lf i l e
s t r u c t u r e .V L I R( V a r i a b l eL e n g t h I n d e x e dR e c o r d )
r e p r e s e n t sa d i f f e r e n tf o r m a to f f i l e .W e ' l lt a l ka b o u tt h i sa
l i t t l el a t e r .P r o g r a m st h a ty o uw r i t ey o u r s e l f= 0 .
7 1 , 7 2 L o a da d d r e s so f t h ep r o g r a m .G E O Sw i l ll o a dt h ep r o g r a mi n t om e m o r ya t t h i sa d d r e s s .N o t e :N o r m a l l yb y t e s2 , 3i n
t h ef i r s td a t as e c t o ro f t h ep r o g r a ms p e c i f y t h es t a r ta d d r e s s .
T h i si s d i f f e r e n t i nG E O S ,a n dw ew i l le x p l a i nl a t e rh o wt o
a v o i dd i f f i c u l t i e st h a ta r i s eb e c a u s e o ft h i s .
7 3 , 7 4 T h e s et w ob y t e sh a v es i g n i f i c a n c eo n l yf o r a c c e s s o r i e s .I f
y o ue n t e ra G E O Sf i l et y p eo f 2 , y o ud o n ' th a v et o w o r r ya b o u tt h e s eb y t e s .H o w e v e r ,i f y o ue n t e r5 , f o ra c c e s s o r y ,
t h e nt h e s e b y t e sd e t e r m i n et h ee n do f t h ep r o g r a m .T h i sw a y
G E O Sk n o w sw h a ta r e at o s a v eo u tt o t h ed i s ka s a S W A Pf i l ew h e nl o a d i n gt h e a c c e s s o r y .
7 5 , 7 6 E n t r yp o i n to f t h ep r o g r a m .G E O Sw i l lb e g i ne x e c u t i n g
y o u rp r o g r a ma t t h i sa d d r e s s .
7 7 - 1 5 9T h es t r i n g st h a t w i l lb e p r i n t e di n t h e i n f ob o xw i l lb e
s t o r e dh e r e .T h e ym u s tb e t e r m i n a t e dw i t h0 .
7 7 - 9 6 C L A S S= t y p eo f p r o g r a m
9 7 - 1 5 9N a m eo f t h ea u t h o r
1 6 0 - 2 5 4I n f o r m a t i o nt e x t .T h i sw i l lb e p r i n t e do n l yi f t h ed i s ki s o nt h ed e s k T o p .
2 5 5 = 0 ,b e c a u s et h ei n f o r m a t i o ns t r i n gi s t e r m i n a t e dw i t ha z e r o .
2 5 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 268/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
A s a n e x a m p l e ,w e w i l ll o o ka t t h e I N F Os e c t o ro f A L A R MC L O C K .V i e w e dw i t h ad i s k m o n i t o r ,i t l o o k sa s f o l l o w s( n o t et h a tG E O Su s e s ad i f f e r e n tc o d i n gs y s t e mf o rt h ec h a r a c t e r s ) :
0 3 0 00 0 F F 0 3 1 5 B F F F F F F F
0 3 0 88 0 0 0 0 1 8 3 3 C C l 8 C A 50 3 1 03 1 8 97 E 9 1 9 3 8 1C 9 9 6
0 3 1 80 8 6 9 8 C 4 9 3 1 8 4 1 0 2 10 3 2 08 9 1 0 9 1 8 8 1 01 1 8 B I F
0 3 2 8D l 8 8 0 01 1 8 9 0 0 9 1 8 4
0 3 3 00 0 2 1 8 44 9 2 18 6 1 0 6 1
0 3 3 88 7 8 1E l 8 E 7 E7 1 8 0 0 0
0 3 4 00 1 F F F F F F 8 3 0 5 0 0 0 00 3 4 85 4 D 8 5 F 0 0 5 44 1 6 C 6 1 a L A0 3 5 07 2 6 D 2 0 6 3 6 C 6 F 6 3 6 BR M C L O C K0 3 5 82 0 5 6 3 1 2 E 3 0 0 0 0 0 0 0 v l . 0 . . .0 3 6 00 0 4 4 6 17 6 6 9 6 4 2 0 4 4 . d A V I Dd
0 3 6 87 5 7 2 7 2 6 1 6 E 0 0 1 0 A 9 U R R A N . . .0 3 7 00 1 8 51 1 A 9 0 0 8 5 1 7 8 5
0 3 7 81 6 2 03 B C 2 8 A D O 0 A A 50 3 8 01 1 D O 0 92 0 5 50 8 B 8 5 0
0 3 8 80 3 2 02 0 1 A 6 0 A 2 9 0 A 90 3 9 00 0 9 D D E 4 3 C A D O F A A 2
0 3 9 8 F FA 9 0 0 9 D 6 E 4 4 C A D O0 3 A 05 3 6 5 7 4 2 0 7 4 6 8 6 5 2 0S E TT H E
0 3 A 86 1 6 C 6 1 7 2 6 D 2 06 3 6 C A L A R MC L0 3 B 06 F 6 3 6 B 2 0 7 4 6 F 2 0 6 B O C KT O K0 3 B B6 5 6 57 0 2 0 7 9 6 F 7 5 7 2 E E P Y O U R0 3 C 07 3 6 5 6 C 6 6 2 0 7 4 6 9 6 D S E L FT I M0 3 C 86 5 2 D 6 3 6 F 6 E 7 3 6 3 6 9E - C O N S C I0 3 D 06 F 7 57 3 2 E 0 0 3 B C 28 A O U S . . . . .
0 3 D 8D O 2 4 A 9 0 8 3 8E 5 1 1 1 8
0 3 E 06 9 0 4 4 8 0 98 0 8 D C O 0 5
0 3 E 86 8 8 5 0 2A 9 0 E 8 5 0 4 A 00 3 F 8 0 C8 D B B 0 5 A 2 0 0 6 00 5
W ep r i n t e d t h e c h a r a c t e r e q u i v a l e n t so n l yf o rb y t e st h a tc o n t a i nt e x t
2 5 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 269/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
A t $ 0 3 4 7w e s e e( i nt h ef o r m a tl o wb y t e / h i g hb y t e )t h el o a da d d r e s s( $ 5 4 0 0 ) ,t h ee n da d d r e s s( $ 5 F D 8 ) ,a n dt h e e n t r yp o i n t ( $ 5 4 0 0 ) .W h e nl o a d i n gt h eA L A R MC L O C K ,t h ea r e a$ 5 4 0 0 - $ 5 F D 8i s f i r s ts a v e da s a S W A P
f i l et o d i s k e t t e .W h e ny o uw a n tt o e x i ta l a r mC L O C K ,G E O Sl o a d st h e
S W A Pf i l eb a c ka t t h i sl o c a t i o n .W i t ht h i sm e t h o d , a na c c e s s o r yc a n b el o a d e df r o ma n ya p p l i c a t i o nw i t h o u tl o s i n ga n yd a t a .
6 . 5 . 4T h eb o r d e ra n dG E O Sf o r m a tV 1 . 0
T h e r ea r es t i l lt w om o r ef e a t u r e so f t h eG E O Sf i l es t r u c t u r ew e h a v et o
d i s c u s s .B u tt o d o s o ,w em u s tf i r s tl o o ka t t h eB A Mo f ad i s k e t t e .I t i s
a l w a y sl o c a t e da t t r a c k1 8 ,s e c t o r0 . N o r m a l l yt h eC o m m o d o r eD O Sp l a c e st h ef o l l o w i n g i n f o r m a t i o ni n t h eB A M :
B v t e M e a n i n g
0 , 1 T r a c ka n ds e c t o ro f t h ef i r s tb l o c ko f t h ed i r e c t o r y
2 F o r m a t( A= 1 5 4 1f o r m a t )
3 0
4 - 1 4 3 B i t p a t t e r no f t h eo c c u p i e da n du n o c c u p i e db l o c k s( 0 = o c c u p i e d ) . S e tu p i n g r o u p so f f o u rb y t e s ,w h e r e b ye a c hg r o u pc h a r a c t e r i z e so n et r a c k .T h ef i r s tb y t es p e c i f i e st h en u m b e ro f f r e eb l o c k so n t h e t r a c ka n dt h e
n e x tt h r e eb y t e s t h eb i tp a t t e r n f o rt h es e c t o r s0 - 7 , 8 - 1 5 ,1 6 - 2 3 .
1 4 4 - 1 6 1N a m eo ft h ed i s k e t t ep a d d e dw i t hS h i f t e ds p a c e= $ A 0
1 6 2 - 1 6 3I Do ft h ed i s k e t t e
1 6 4 S h i f t e ds p a c e( $ A 0 )
1 6 5 - 1 6 62 A= f o r m a ta n dD O Sv e r s i o n
1 6 7 - 1 7 0S h i f t e ds p a c e( $ A 0 )
1 7 1 - 2 5 5N o tu s e d ,f i l l e dw i t hz e r o e s
2 5 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 270/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
L i k et h ed i r e c t o r y ,w ea l s oh a v ea g o o dd e a lo f u n u s e ds p a c eh e r e .G E O Su s e st h i sa r e af o ri t so w np u r p o s e s . A d d i t i o n a l i n f o r m a t i o ni s p l a c e da t t w o
l o c a t i o n s :
1 7 1 - 1 7 2T r a c ka n ds e c t o ro f t h e b o r d e r .W h e ny o uu s ea d i s kw i t hG E O St h a tw a sn o tf o r m a t t e du n d e rG E O S ,t h e
e r r o rm e s s a g et h i s I S N O TA G E O S - f o r m a t t e d
D I S Ka p p e a r s .
Y o uc a nc o n v e r tt h ed i s kt o G E O Sf o r m a t .A n o t h e rb l o c ki s r e s e r v e d ,a n dt h ep o i n t e ri n 1 7 1 , 1 7 2p o i n t st o t h i sb l o c k ,w h i c hr e p r e s e n t sa ne x t e n s i o n o ft h ed i r e c t o r y .A l lf i l e sw h i c hG E O Sp l a c e so n t h eb o r d e rr e c e i v et h e
c h a r a c t e rf o r" s c r a t c h e d "i n t h en o r m a ld i r e c t o r ya n da r ee n t e r e di n t h i s
b o r d e rb l o c k .S i n c e o n l ye i g h tf i l ee n t r i e sf i ti n a s e c t o r ,y o uc a np l a c e a
m a x i m u mo fe i g h tf i l e so n t h eb o r d e r .
1 7 3 - 1 8 8g e o sF O R M A Tv l . OT h eG E O Sf o r m a ti s p l a c e dh e r ea t t h es a m et i m et h e
b o r d e rb l o c ki s a l l o c a t e d .F r o mt h e e n t r yv l . O w es e e
t h a tt h eG E O Sf i l es t r u c t u r eh a s n o tc h a n g e dw i t ht h e
n e wv e r s i o n1 . 2 .G E O Su s e st h i se n t r y t od e t e r m i n ew h e t h e ro rn o t ad i s ki s i n G E O Sf o r m a tw h e no p e n i n g .
N o wl e t ' st a k ea l o o ka t t h eB A Mo f a G E O Sd i s k e t t e :
2 5 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 271/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
0 3 0 01 2 0 1 4 1 0 0 0 0 0 0 0 00 0 . . A
0 3 0 80 0 0 0 0 00 0 0 0 0 0 0 0 0 0
0 3 1 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 1 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 2 00 0 0 00 0 0 0 0 00 0 0 0 0 00 3 2 80 0 0 0 0 0 0 0 0 00 0 0 0 0 0
0 3 3 00 0 0 0 0 00 0 0 0 0 0 0 0 0 0
0 3 3 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 4 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 4 80 E B C F D0 5 0 00 0 0 0 0 0
0 3 5 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 5 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 6 00 0 0 0 0 00 0 0 0 0 0 0 0 0 0
0 3 6 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 7 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 3 7 80 0 0 0 0 0 0 0 0 0 0 00 0 0 0
0 3 8 00 0 0 0 0 0 0 0 0 0 0 00 0 0 00 3 8 80 0 0 0 0 0 0 0 0 21 0 0 8 0 0
0 3 9 04 7 4 54 F 5 3 2 0 5 6 3 1 2 E g e o sv l .
0 3 9 83 2 A 0 A 0 A 0 A 0 A 0 A 0 A 0 2
0 3 A 0A O A O 4 4 4 6 A O 3 2 4 1 A O . . d f . 2 a .
0 3 A 8A O A O A O 1 3 0 8 4 7 4 5 4 F g e o0 3 B 05 3 2 06 6 6 F 7 2 6 D 6 1 7 4 s F O R M A T
0 3 B 82 0 5 6 3 1 2 E 3 00 0 0 0 0 0 . v l . O . . .0 3 C 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 C 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 D 00 0 0 0 0 0 0 00 0 0 0 0 0 0 0
0 3 D 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 E 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 E 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 F 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 3 F 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
T h ep o i n t e rf o rt h eb o r d e r b l o c kp o i n t st o t r a c k$ 1 3 ,s e c t o r$ 0 8( 1 9 ,8 ) .W ea l s ow a n tt o l o o ka t t h i sb l o c kt o s h o wt h a ti t i s c o n s t r u c t e dj u s tl i k ea
d i r e c t o r y b l o c k :
2 6 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 272/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
0 3 0 00 0 F F 8 3 2 3 0 5 4 D 5 0 5 3m p s0 3 0 8 2 D3 1 3 0 3 0 3 0 A 0 A 0 A 0 - 1 0 0 0 . . .0 3 1 0A O A O A O A O A O 2 3 O F 0 0
0 3 1 80 9 5 6 0 4 0 7 O F 0 6 0 4 0 00 3 2 00 0 0 0 8 3 2 2 0 3 4 D 5 0 5 3 m p s0 3 2 8 2 D3 8 3 0 3 3 A O A O A O A O - 8 0 30 3 3 0A O A O A O A O A O 2 2 O D 0 0
0 3 3 80 9 5 6 0 4 0 7 O F 0 6 0 4 0 00 3 4 00 0 0 0 0 0 2 0 O D 5 5 6 E 6 9 u N I0 3 4 8 7 66 5 7 2 7 3 6 97 4 7 9 A O V E R S I T Y .0 3 5 0A O A O A O A O A O 2 0 0 6 0 1
0 3 5 80 8 5 60 4 0 7 O C 0 0 2 8 0 0
0 3 6 00 0 0 0 0 0 1 A 0 0 4 3 6 16 C c A L
0 3 6 86 9 6 6 6 F 7 2 6 E 6 9 6 1A O I F O R N I A .0 3 7 0 A O A O A OA O A O 1 A O B0 1
0 3 7 80 8 5 60 4 0 7 O C 0 0 1 A 0 0
0 3 8 00 0 0 0 0 0 1 C 0 14 3 6 F 7 2 c O R0 3 8 87 9 A O A O A O A O A O A O A OY0 3 9 0A O A O A O A O A O 1 C O C 0 10 3 9 80 8 5 60 4 0 7 O C 0 0 1 7 0 0
0 3 A 00 0 0 0 0 0 I D 0 44 4 7 7 6 9 d W I0 3 A 86 E 6 5 6 C 6 C 6 5 A O A O A O N E L L E . . .0 3 B 0A O A O A O A O A O I D O F 0 1
0 3 B 80 8 5 6 0 40 7 O C 0 0 O D 0 00 3 C 00 0 0 0 0 0 I E 0 5 5 2 6 F 6 D r O M
0 3 C 86 1 A O A O A O A O A O A O A O A0 3 D 0 A O A O A O A O A OI E 1 0 0 1
0 3 D 80 8 5 6 0 40 7 O C 0 0 2 20 0
0 3 E 00 0 0 0 0 0 2 3 0 54 D 5 0 5 3 m p s
0 3 E 82 D 3 1 3 0 3 0 3 0 A O A O A O - 1 0 0 0 . . .
0 3 F 0 A O A O A O A O A O2 3 O F 0 0
0 3 F 80 9 5 6 0 4 0 7 O F 0 60 4 0 0
H e r ea g a i nw eh a v eg i v e nt h e c h a r a c t e r e q u i v a l e n t so n l yf o rt h en a m e sa n dr e p l a c e dt h er e s tw i t hp e r i o d s .N o t et h eu n u s u a ln o t a t i o n .T h ef i r s tl e t t e r
a p p e a r si n l o w e rc a s ea n dt h er e s ti n u p p e rc a s e .W eh a v eu s e dt h i s
r e p r e s e n t a t i o nh e r eb e c a u s et h i si s h o wt h ef i l ee n t r i e sw o u l dl o o ki f y o uu s e da d i s km o n i t o rt o e x a m i n et h e m .
2 6 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 273/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h ef i r s tt w ob y t e so f t h eb o r d e rb l o c ki n d i c a t et h a tt h e r ei s n o b l o c kf o l l o w i n gt h i so n ea n dt h a tt h e r e a r e$ F F( = 2 5 5 )v a l i dd a t ap r e s e n tO n l yt h e
f i r s tt w of i l ee n t r i e s( m p s - 1 0 0 0a n dm p s - 8 0 3 )a r e v a l i db e c a u s eo n l y
t h e yh a v ea v a l i df i l et y p e( $ 8 3 ) .T h ef o l l o w i n gf i l ee n t r i e sd on o t a p p e a ro n
t h eb o r d e rb e c a u s et h e i rf i l et y p e sa r es e tt o 0 .
N o t e :I f y o up l a c ea f i l eo n t h eb o r d e ra n dt h e ne x i tG E O S ,y o uw i l ln o tb ea b l et o l o a di t a g a i nw i t h o u tG E O S .G E O Se r a s e st h ef i l ef r o mt h en o r m a l
d i r e c t o r y . I fy o up l a c eG E O SB O O Tf r o mt h ed i s t r i b u t i o nd i s ko n t h eb o r d e r
a n dt h e ne x i tG E O S ,y o uw o n ! tb e a b l et o b o o tG E O Sa n ym o r e .
6 . 5 . 5F t t et y p e/ F t t es t r u c t u r e
W h e ny o uw a n tt o u s ep r o g r a m so f y o u ro w nu n d e rG E O S ,y o u ' l lh a v et o
k n o ww h a tf i l et y p e sG E O Su s e s .Y o um a yh a v es e e n t e r m sl i k eS Y S T E MF I L E ,D E S KA C C E S S O R Y ,F O N TF I L E ,a n ds o o n a p p e a ru n d e rT Y P E
i n t h eI N F Os c r e e no f v a r i o u sG E O Sf i l e s .G E O Sd i s t i n g u i s h e sb e t w e e na
t o t a lo f t e nd i f f e r e n tf i l et y p e s .W eh a v el i s t e dt h e s ef i l et y p e s :
G E O Sf i l et y p e
( G T )
1
2
3
4
4
5
6
7
8
9
1 0
F i l es t r u c t u r e
( F S )
0
0
9
1
0
0
1
1
1
0
Q
D e s i g n a t i o n
( I N F Ow i n d o w )
B A S I C
A s s e m b l e r
D a t a F i l e
S y s t e mF i l e
S y s t e mF i l e
D e s kA c c e s s .
A p p l i c a t i o n
A p p l ,D a t a
F o n t f i l e
P r i n t e rD r i v e
I n p u tD r i v e r
E x a m p l e
B A C K U P
G E O S B O O T
( n o n ep r e s e n t )
G E O SK E R N A L
P R E F E R E N C E S
A L A R MC L O C K
G E O P A I N T
N O T E S
U N I V E R S I T Y
M P S1 0 0 0
J O Y S T I C K
2 6 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 274/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
G E O Sa l s or e c o g n i z e sw h a t y o uc a nd o w i t ht h i sf i l ef r o mt h ef i l et y p e .F o re x a m p l e ,y o uc a n ' tp r i n ta d e s ka c c e s s o r y( G T = 5 )o r c o p ya s y s t e mf i l e
( G T = 4 ) .
N o ww e ' l le x p l a i nt h ed i f f e r e n c eb e t w e e nF S = 0( S E Q ) a n dF S = 1( V L I R ) .
F i l es t r u c t u r e :S E Q
I f y o us t o r ea p r o g r a mw i t h o u tG E O S ,a d i r e c t o r ye n t r yw i l lb e c r e a t e d .Ap o i n t e rt o t h ef i r s td a t ab l o c kw i l lb ep l a c e db e h i n dt h ef i l et y p e .A tt h es t a r t
o f t h ed a t ab l o c kt h e r ei s a p o i n t e rt h a tp o i n t st o t h ed a t ab l o c kf o l l o w i n gi t .
T h el a s tb l o c k o fd a t aa l w a y sh a s a0 a s t h ef i r s tb y t e .T h es e c o n db y t es p e c i f i e st h en u m b e ro f v a l i db y t e si n t h el a s ts e c t o r .T h i sc o m b i n e st h e
i n d i v i d u a ld a t ab l o c k si n t oa l o n gc h a i n . T h a t ' sw h yG E O Sc a l l st h i st y p eo ff i l eS E Q U E N T I A L .
F o re x a m p l e ,i f y o uw a n tt o r e a dt h el a s td a t a b l o c k ,y o u w o u l dh a v et o
f o l l o wa l lo f t h e p o i n t e r su n t i ly o ug o tt o t h el a s tb l o c k .A l lo f t h ep r e v i o u s
s e c t o r si n t h ec h a i nm u s tb e l o a d e d .I n a d d i t i o n ,y o uc a no n l ya d dt h i n g sb yl e n g t h e n i n gt h e c h a i n .F o rt h i sr e a s o nG E O Sh a s as e c o n df i l es t r u c t u r e .
F i l es t r u c t u r e :V L I R( V a r i a b l eL e n g t hI n d e x e dR e c o r d )
I f y o uu s et h ed i s km o n i t o rt o l o o ka t t h ef i l ee n t r yo f a f i l et h a th a st h e
V L I Rf i l es t r u c t u r e( s u c ha s d e s k T o p ) ,y o uw o n ! ts e ea n yd i f f e r e n c ea t
f i r s t .B u tw h e ny o ul o a dt h ef i r s td a t ab l o c k( t r a c ka n ds e c t o rb e h i n dt h ef i l e
t y p e ) ,y o u ' l lb e s u r p r i s e dt o s e et h a tt h e r ei s o n l yo n es e c t o ro f d a t a .T h ef i r s tb y t eo f t h ef i r s ts e c t o ri s z e r o ,m e a n i n gt h a tn o a d d i t i o n a ls e c t o r s
f o l l o w .F u r t h e r m o r e ,t h i ss e c t o rd o e sn o tc o n t a i nt h es t a r to f t h ep r o g r a mo r
d a t a ,b u tj u s ta f e wn u m b e r s a n dt h er e s to f t h eb l o c ki s a l t e r n a t e l yf i l l e d
w i t h0 0 a n dF F .
T h ef i r s tn u m b e r si n t h i ss e c t o rr e p r e s e n tp o i n t e r st o r e c o r d so f t h ep r o g r a mo f d a t a .T h e s er e c o r d sa r ea g a i n j o i n e dt o e a c ho t h e rs e q u e n t i a l l y ,w i t h a
p o i n t e ra t t h es t a r to f e a c h b l o c kt o t h en e x to n e .T h i sh a st w oi m p o r t a n t
a d v a n t a g e s :
F i r s t ,t h el e n g t ho f t h e i n d i v i d u a lp r o g r a mo r d a t ar e c o r d sc a nb e c h a n g e d .
A d d i t i o n a ls e c t o r sc a nb e a d d e d .S e c o n d ,t h el a s ts e c t o r sc a n b ea c c e s s e d
f a s t e rb e c a u s et h ef i r s tb l o c k sn e e dn o tb e r e a d .
O n eo f t h ep l a c e sG E O Sm a k e su s eo f t h i si s i n t h en o t ep a d ,w h i c hh a s a
V L I Rf i l es t r u c t u r e .T h e r e c a nb e u p t o 1 2 7p o i n t e r st o p a g e s o ft h en o t e
2 6 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 275/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
p a d .E a c hr e c o r dc o r r e s p o n d st o a p a g e a n dc o n s i s t so f j u s to n es e c t o r . I f
y o uf i l lp a g e so f t h ep a dw i t hN O T EP A D3 a n dt h e nu s et h ed i s km o n i t o r
t o l o o ka t t h e s e c t o r s p e c i f i e da s t h ef i r s tb l o c ko f t h ef i l e ,s i xb y t e sw i l l
s h o wu p b e h i n dt h ef i r s tt w ob y t e s$ 0 0a n d$ F F .T h e s ea r et h ep o i n t e r st o
t h e t h r e es e c t o r s i nw h i c ht h et e x ti s s t o r e d .T h ep o i n t e r sh a v et h ef o r m a tt r a c k ,s e c t o r .
I n a d d i t i o nt o d a t a ,G E O Sa l s or e c o g n i z e sp r o g r a m sw i t ht h eV L I Rf i l e
s t r u c t u r e .H e r et h ec o n s t r u c t i o nl o o k st h es a m e — ap o i n t e rp o i n t st o e a c h
r e c o r d — b u tl o a d i n gi s d o n ed i f f e r e n t l y .U s u a l l yt h ef i r s tr e c o r dr e p r e s e n t s
t h ee n t i r ep r o g r a m .T h eo t h e rp o i n t e r sp o i n tt o r e c o r d st h a tc a nb e l o a d e d
u s i n gt h eo v e r l a yt e c h n i q u e .T h i si n v o l v e s o v e r w r i t i n gp a r t so f t h ee x i s t i n g
p r o g r a mw i t ho t h e rs e c t i o n sl o a d e df r o md i s ka s t h e ya r en e e d e d .
F o re x a m p l e ,g e o P a i n t h a ss e v e np o i n t e r s :
t r a c k s e c t o r
$ 0 8$ 1 0$ 1 0$ 1 0$ 1 1
$ 1 3$ 1 3
$ 0 3$ 1 1$ 0 A$ 0 6$ 1 2
$ 0 5$ 0 F
T h e s ep o i n t e r sc a nh a v ed i f f e r e n tv a l u e so ny o u rd i s k .
W h e ny o uc l i c kg e o P a i n to n t h ed e s k T o p ,t h ef i r s tr e c o r d( t r a c k$ 0 8 ,s e c t o r
$ 0 3 )i s l o a d e d .T h eo t h e rr e c o r d sc a nt h e nb e l o a d e db y g e o P a i n tt oa c c o m p l i s hs p e c i f i ct a s k s .
W e ' l lu s et w oe x a m p l e st o i l l u s t r a t et h eo v e r l a yt e c h n i q u e .
2 6 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 276/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
1 ) d e s k T o pc o n s i s t so f t w or e c o r d s :
R e c o r d1 : t r a c k$ 0 5s e c t o r$ 1 0
R e c o r d2 : t r a c k$ 0 8s e c t o r$ 0 2
N o r m a l l yr e c o r d1 i s l o a d e d .W h e ny o ul o a dt h eI N F Os e c t o r ,
h o w e v e r ,t h et e x t i nr e c o r d2 i s l o a d e df o r t h eo u t p u t .Y o uc a n
s e et h i si f d e s k T o pi s n o to n t h e c u r r e n td i s ka n dn o t e x t w i l l
b e p r i n t e d ,b u tt h i se r r o rm e s s a g ea p p e a r s :
D E S K T O P N O TO N D I S K
2 ) W h e ny o us e l e c tv a r i o u st o o l s i ng e o P a i n t ,r o u t i n e sb e l o n g i n g
t o t h eg i v e nt o o la r el o a d e df r o md i s k .R e c o r d2 o fg e o P a i n t
( t r a c k$ 1 0 ,s e c t o r$ 1 1 ) ,f o re x a m p l e ,b e l o n g st o t h e" f a u c e t 1 1
u s e dt o f i l ls u r f a c e s .
H o wc a ny o ul o a da r e c o r d ?U s i n gy o u rd i s km o n i t o r ,f i n d t h et r a c ka n d
s e c t o ro f t h er e c o r dy o uw a n tt o l o a d .T h e nc r e a t ea d u m m yp r o g r a m ,w h i c hw e l lu s et o c r e a t ea f i l ee n t r y .
Y o uc a nc r e a t ea d u m m yp r o g r a mi n B A S I Cb y e n t e r i n gt h ef o l l o w i n g :
N E W
1 0 G O T O1 0
S A V E" d u m m y " , 8
N o wy o ut o k n o wt w ot h i n g s :
1 . T h es t a r ta d d r e s so f t h er e c o r di n m e m o r y .
L o o ki n t h ef i l ee n t r yt o f i n do u tw h e r et h eI N F Os e c t o ro f t h er e c o r dy o u
w a n tt o l o a di s l o c a t e d .T h et r a c ka n ds e c t o ro f t h ei n f ob o xa r ea f t e rt h e
l a s t$ A 0o f t h ef i l ee n t r y .L o a dt h i ss e c t o ri n t ot h ed i s kb u f f e ra n dt h el o a d
a d d r e s so f d i er e c o r dw i l lb e i n m e m o r yl o c a t i o n s$ 0 3 4 7( l o wb y t e )a n d$ 0 3 4 8( h i g h ) .g e o P a i n t ' ss t a r ta d d r e s si s $ 0 4 0 0 .
2 6 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 277/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
2 . Y o um u s tc h a n g et h ef i r s tt w ob y t e so f t h er e c o r d .I n o u r e x a m p l e ,p u tt h ef i r s tb l o c k( t r a c k$ 0 8 ,s e c t o r$ 0 3 )i n t h eb u f f e r .T h ef i r s t
b y t e sa r et h e n :
$ 0 3 0 0= t r a c ko f t h en e x tb l o c k
$ 0 3 0 1= s e c t o ro f t h en e x tb l o c k
$ 0 3 0 2= $ 4 C =J M P$ 0 3 0 3= $ 0 4= a d d r e s s :l o w$ 0 3 0 4= $ 0 5= a d d r e s s :h i g h
T ol o a dt h er e c o r da t t h e c o r r e c t a d d r e s s ,w r i t ed o w nb y t e$ 0 3 0 2 = $ 4 Ca n db y t e$ 0 3 0 3 = $ 0 4 .T h e nc h a n g et h e s es o t h a t$ 0 3 0 2 = $ 0 2a n d $ 0 3 0 3 = $ 0 4 .W h e ny o ul a t e rl o a dt h i sr e c o r d ,G E O Sw i l ll o o kf o rt h el o a da d d r e s si n
t h e s et w ob y t e s .T h ea d d r e s sm u s tb e t w ob y t e sh i g h e r t h a nt h el o a da d d r e s so f t h er e c o r d ,b e c a u s et h ef i r s tt w ob y t e sw i l lb e o v e r w r i t t e na n d
y o uw i l lh a v et o i n s e r tt h e my o u r s e l fa f t e rl o a d i n g .
N o ww r i t e t h em o d i f i e ds e c t o rb a c kt o t h ed i s k .R e a dt h e p a r to f t h e
d i r e c t o r yt h a tc o n t a i n st h ef i l ee n t r yd u m m yi n t ot h ed i s kb u f f e r .I n t h i s
e n t r y ,c h a n g et h ea d d r e s so f t h ef i r s td a t ab l o c kt o t h ea d d r e s so f t h er e c o r d .
B e h i n dt h e$ 8 2( f i l et y p ei n t h ef i l ee n t r y )w r i t ea $ 0 8( s t a r tt r a c ko f t h e
r e c o r d )a n dt h e na $ 0 3( s t a r ts e c t o ro f t h er e c o r d ) .Y o u r" d u m m y "f i l ee n t r y
n o wb e g i n sw i t ht h e t h r e eb y t e s :
$ 8 2 $ 0 8 $ 0 3
A f t e ry o uh a v ew r i t t e n t h em o d i f i e dd i r e c t o r y s e c t o rb a c kt o t h ed i s k ,y o u
c a nl o a dt h er e c o r ds i m p l yb y l o a d i n gd u m m y .
L O A D " d u m m y " , 8 , 1
O n c ey o ui n s e r tt h et w om i s s i n gb y t e sw i t ht h em o n i t o r ,y o uh a v eg e o P a i n t
i n m e m o r y . C h a n g e $ 0 4 0 0t o $ 4 Ca n d $ 0 4 0 1t o $ 0 4 .
H e r ew ef a c et h ed i f f i c u l t y t h a tt h es c r e e nn o r m a l l yl i e sa t $ 0 4 0 0 .W ec a ng e ta r o u n dt h i sb y l o a d i n gg e o P a i n tw i t ha n o f f s e to f $ 1 0 0 0 .T o d o t h i s ,
w r i t e$ 0 2 ,$ 1 4i n t h ef i r s tb l o c ko f t h er e c o r di n s t e a do f$ 0 2 ,$ 0 4 .T h i sw i l l
l o a d g e o P a i n ta t $ 1 4 0 2 ,a n dy o uc a ne x a m i n et h ep r o g r a ma t y o u rl e i s u r e .
2 6 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 278/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 . 6W r i t i n gy o u ro w nG E O Sp r o g r a m s
I n t h i ss e c t i o nw ew a n tt o s h o wy o uv a r i o u sw a y so f l o a d i n gy o u ro w np r o g r a m su n d e rG E O Sa n da d d i n gy o u ro w nG E O Sa p p l i c a t i o n s .L o a d i n gy o u ro w np r o g r a m sf r o mG E O Si s e s p e c i a l l yi n t e r e s t i n gb e c a u s et h e
f a s t - l o a d i n gr o u t i n e so fG E O Sc a nb eu s e du n d e rc e r t a i nc i r c u m s t a n c e s .
6 . 6 . 1H o wt o l o a dy o u ro w np r o g r a m s
W i t hG E O Sy o uc a nl o a dp r o g r a m sw r i t t e ni n B A S I Co r a s s e m b l y
l a n g u a g e .T h e r ea r es o m ed i f f e r e n c e s .
a ) B A S I Cp r o g r a m s
Y o uc a nl o a da n yB A S I Cp r o g r a m f r o mG E O Sb y d o u b l e - c l i c k i n gt h e
p r o g r a mi c o no r b y c l i c k i n gO P E N .G E O Sr e c o g n i z e sa B A S I Cp r o g r a mb yt h es t a r t i n ga d d r e s s$ 0 8 0 1 = 2 0 4 9 , w h i c hi s l o c a t e di n t h ef i r s td a t ab l o c ko ft h ep r o g r a mo nd i s kb e h i n dt h ep o i n t e rt o t h en e x tb l o c k .G E O St h e nc h e c k st o m a k es u r et h a tt h ep r o g r a md o e sn o te x c e e da c e r t a i nl e n g t h .T h eG E O Sf a s t - l o a d i n gr o u t i n e su s em e m o r ys t a r t i n ga t $ 8 0 0 0i n t h eC - 6 4 .I f t h e
B A S I Cp r o g r a md o e sn o t e x t e n di n t ot h i sa r e a ,i t w i l lb e f a s t - l o a d e dw i t ht h e s er o u t i n e sa n da u t o m a t i c a l l ys t a r t e d
I f t h ep r o g r a mi s t o ol a r g e ,i t w i l lb e l o a d e db y t h en o r m a lf 6 4o p e r a t i n g
s y s t e m ,w h i c hi s s l o w e r .T h ep r o g r a mc a ns t i l lb e l o a d e db y d o u b l e -
c l i c k i n g ,h o w e v e r .
b ) A s s e m b l yl a n g u a g ep r o g r a m s
G E O Sr e c o g n i z e sp r o g r a m sw r i t t e ni n a s s e m b l yl a n g u a g eb y a s t a r t i n g
a d d r e s st h a ti s n o te q u a lt o $ 0 8 0 1 .T h e s ep r o g r a m s c a n b el o a d e do n l yi f t h e
s t a r ta d d r e s si s u n d e r$ 0 4 0 0 .S u c hp r o g r a m su s u a l l yu s et h e s t a c k o r
a u t o - s t a r ts t a r ta r e a .W ef o u n dt h a tt h es l o wC - 6 4r o u t i n e sw e r ea l w a y s
u s e df o rl o a d i n ga s s e m b l yl a n g u a g ep r o g r a m s .
W i t ha l i t t l et r i c k ,h o w e v e r ,i t i s p o s s i b l et o u s et h ef a s tG E O Sr o u t i n e s f o r
a s s e m b l yl a n g u a g ep r o g r a m sa s w e l l .T o d o t h i s ,s i m p l yc o n v e r tt h e
p r o g r a mi n t oa B A S I Cp r o g r a m .T o d o t h i sc o n v e r ty o u rp r o g r a mt o s t a r t
w i t ha S Y Sc o m m a n d .I f y o u rp r o g r a mi s n ! ti n t h e l o c a t i o ny o uw a n t ,y o u ' l l
h a v et o w r i t ea r o u t i n et o t r a n s f e ri t t o w h e r ey o uw a n ti t ,a s f o l l o w s :
2 6 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 279/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
$ 0 8 0 1= 2 0 4 9 : 1 0 S Y S 2 0 8 0( $ 0 8 2 0= 2 0 8 0 :m o v er o u t i n e ;m o v e st h ep r o g r a mi n t o
t h em e m o r ya r e af o rw h i c hi t w a sw r i t t e n . )
$ 0 8 5 0= 2 1 2 8 : A c t u a lp r o g r a mt o f o l l o wm o v er o u t i n e
W i t ht h i sm e t h o d , a s s e m b l yl a n g u a g ep r o g r a m sc a na l s ob e l o a d e d w i t ht h e
f a s t - l o a d i n g r o u t i n e sa n dt h e ns t a r t e da u t o m a t i c a l l y .
6 . 6 . 2H o wt o e x t e n dG E O Sw i t hy o u ro w np r o g r a m s
T h e r ea r e t w ow a y s
t ow e d g e
y o u ro w np r o g r a m s
i n t oG E O S .
B o t hm e t h o d sr e q u i r ea c o m p r e h e n s i v ek n o w l e d g eo fG E O Si n t e r n a lo p e r a t i o n s .
a ) A p p l i c a t i o n s
L e t ' ss t a r tw i t ht h es i m p l e rm e t h o d .W ew a n tG E O St o l o a d a u s e rp r o g r a m ,
s t a r ti t , a n dt h e nr e t u r nt o t h ed e s k T o pw h e nt h ep r o g r a mi s f i n i s h e d .T oa c h i e v et h i s ,y o uh a v et o w r i t ey o u ro w nA P P L I C A T I O Ni n a s s e m b l yl a n g u a g e ,b e c a u s et h eB A S I Ci n t e r p r e t e ri s n o ta v a i l a b l eu n d e rG E O S .I n
a d d i t i o n ,t h es c r e e no u t p u tm u s tt a k ep l a c eo n t h eh i - r e ss c r e e na t $ A 0 0 0 .
H o wi s t h i st y p eo fp r o g r a mi n s e r t e di n G E O S ?
1 ) P l a c ea J M P$ C C4 A a t t h ee n do fy o u rp r o g r a m .F i r s ty o u m u s t
s e tu p y o u rp r o g r a ms o i t c a nr e t u r nt o G E O S .B r a n c h i n gt o t h i s
a d d r e s s c a u s e st h ed e s k T o pt o b e r e l o a d e d .A s l o n ga s y o ud i d
n o tc h a n g et h e s c r e e nc o l o r s ,t h e d e s k T o pr e t u r n sw i t hi t s
p r e v i o u sc o l o r s .I f y o ud i dc h a n g et h ec o l o r s ,a P R E F E R E N C E Sf i l em u s tb e o n t h ed i s k e t t et o s e tt h ec o l o r sb a c kt o t h ec o r r e c t
v a l u e s .
2 ) S a v et h ep r o g r a m .N o wi t m u s tb e c o n v e r t e di n t oa n a p p l i c a t i o n .
U s ea b l a n kw o r kd i s k e t t ei n c a s ea n e r r o ro c c u r s .Y o uc a nl a t e r
c o p yt h ep r o g r a m f r o mt h i sw o r kd i s k e t t e t ot h ed e s i r e dd i s k .
3 ) N o wt h e a c t u a lc o n v e r s i o nt o t h ef o r m a t o fa n a p p l i c a t i o nm u s tt a k ep l a c e .Y o uc a na c c o m p l i s ht h i sw i t ha d i s km o n i t o ro r m o r e
e a s i l yw i t ht h eF I L E M A S T E Rp r o g r a m( l i s t e di n C h a p t e r5 ) .
A p p l i c a t i o n sa r eG E O Sf i l et y p e6 .
2 6 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 280/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
T h ef o l l o w i n gc h a n g e sm u s tb e m a d e :
• Y o u rp r o g r a m m u s tc o n t a i na n I N F Os e c t o r .T h et r a c ka n d
s e c t o rm u s tb e l o c a t e da f t e rt h el a s t$ A 0o f t h ef i l e n a m e .
• C h a n g et h en e x tt w ob y t e st o 0 a n d6 , r e s p e c t i v e l y .T h ef i r s t
b y t es i g n i f i e st h e f i l es t r u c t u r e( S E Q )a n dt h es e c o n db y t e
i n d i c a t e st h eG E O Sf i l et y p e( a p p l i c a t i o n ) .
Y o uc a nm a k et h i sc h a n g ew i t ht h eF I L E M A S T E Rp r o g r a m b ys e l e c t i n g
R F L ,r e a df i l e .S e l e c tG E O Sf r o mt h em e n ua n d6 t o s e tt h eG E O Sf i l et y p e .
Y o uc a na l s o e n t e ra d a t e( d a t e ) .
W i t hI N F Os e c t o r ,t h ef o l l o w i n gb y t e si n t h e b u f f e rm u s tb e s e tt o t h ef o l l o w i n gv a l u e s( b u f f e r0 =$ 0 3 0 0 - $ 0 3 F F ) .
B y t e$ 0 3 4 4= C - 6 4f i l et y p e ( s u c ha s $ 8 2 )
B y t e$ 0 3 4 5= G E O Sf i l et y p e( = 6 )
B y t e$ 0 3 4 6= F i l e s t r u c t u r e( = 0 = S E Q )
B y t e$ 0 3 4 7= l o w - b y t e o f l o a da d d r e s s
B y t e$ 0 3 4 8= h i g h - b y t eo f l o a da d d r e s s
F o rt h el o a da d d r e s s ,y o u m u s te n t e ra v a l u eo f w h e r ey o u rp r o g r a mi s t o
l o a di n t om e m o r y .T h er e g u l a rD O Su s e db y t h ec o m p u t e rs a v e st w ob y t e s
a t t h es t a r to fy o u rp r o g r a mt o t e l li t w h e r et o l o a d .G E O St a k e sc a r eo f t h i s
i n t h eI N F Os e c t o r ,a n dt h e r e f o r e d o e s n ' tu s et h e s et w ob y t e s . I fy o us a v e d
y o u r p r o g r a m su s i n gr e g u l a rD O S ,t h e ny o uh a v et o o f f s e tt h el o a da d d r e s s .
G E O Sw i l ll o a dt h o s et w oe x t r ab y t e si n , s o y o uh a v et o m o v et h el o a d
a d d r e s sd o w nb y t w o .T h ef o l l o w i n gt w oe x a m p l ep r o g r a m s( a p p l i c a t i o na n da c c e s o r y )d o n o tu s et h er e g u l a rD O Sl o a da d d r e s si f l o a d e du s i n gt h e
B A S I Cl o a d e r s .T h e r e f o r et h et w o - b y t eo f f s e ti s n o tn e e d e d .
B y t e$ 0 3 4 9= e n da d d r e s so f t h ep r o g r a m( l o w )
B y t e$ 0 3 4 A= e n da d d r e s so f t h ep r o g r a m( h i g h )
W e V ef o u n dt h a tt h i sa d d r e s si s n o tu s e df o r a p p l i c a t i o n s .Y o us h o u l ds t i l l
e n t e ra v a l u eh e r e ,h o w e v e r ,s i n c et h eg e o W r i t ea n dg e o P a i n ta p p l i c a t i o n s
a l s oh a v ev a l u e sh e r e .T h e s et w ob y t e sd o n o tc o n t a i nt h e a c t u a le n d
2 6 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 281/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
a d d r e s s ,t h e y c o n t a i nt h ee n t e r e d l o a da d d r e s sm i n u so n e *F o re x a m p l e ,i f
w es e tt h el o a da d d r e s st o $ 1 0 0 0 ,t h ee n da d d r e s sw o u l db e $ 0 F F F .
F o ra c c e s s o r i e s ,t h em e m o r yb e t w e e nt h el o a da d d r e s sa n dt h ee n da d d r e s s
e n t e r e di s s a v e db yG E O Sa s a S W A Pf i l eo n t h ed i s k e t t e .T h i si s n o td o n e
i f y o ue n t e r t h ev a l u ej u s td e s c r i b e d .
B y t e$ 0 3 4 B= e n t r y a d d r e s s ( l o w )
B y t e$ 0 3 4 C= e n t r ya d d r e s s( h i g h )
T h i si s t h ea c t u a le n t r yp o i n to f w h e r ey o u rp r o g r a mt a k e so v e r .
A f t e ry o uh a v es a v e dt h ec h a n g e so n d i s k ,t h e a p p l i c a t i o ni s f i n i s h e d .Y o uc a nn o wu s ei t f r o mG E O S .W ew o u l dl i k et o o f f e ra s i m p l ee x a m p l eh e r e .
T h ef o l l o w i n gp r o g r a mc a u s e st h es c r e e nb o r d e rt o f l a s h f o rs e v e r a ls e c o n d s
a t a n i n c r e a s i n gr a t ea n dt h e nl o a d sd e s k T o pa g a i n .
4 5 9 0
4 5 9 2
4 5 9 3
4 5 9 5
4 5 9 7
4 5 9 A
4 5 9 B
4 5 9 D
A 5
4 8
0 9
8 5
E E
6 8
8 5
4 C
0 1
0 7
0 1
2 0 D O
0 1
4 A C C
L D A
P H A
O R A
S T A
I N C
P L A
S T A
J M P
$ 0 1
# $ 0 7
$ 0 1
$ D 0 2 0
$ 0 1
$ C C 4 A
S t o r et h e m e m o r y
s e t u p o n t h es t a c k
S w i t c hi n R O Ma n d
I / O
I n c r e m e n tb o r d e rc o l o r
R e t u r no l d m e m o r y
s e t u pb a c k
J u m pt o l o a d d e s k t o p
2 7 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 282/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
I n t h i se x a m p l e ,s e tt h ef o l l o w i n gv a l u e sw i t hF I L E M A S T E Ru n d e rt h e
o p t i o ni n f o :
L o a da d d r e s s= 1 7 8 0 8( 1 7 8 0 6i f y o us a v e di t w i t ha m o n i t o r )
E n da d d r e s s= 1 7 8 0 7( 1 7 8 0 5i f y o us a v e di t w i t ha m o n i t o r )
E n t r yp o i n t = 1 7 8 0 8
b ) A c c e s s o r i e s
T h em a i na d v a n t a g eo f a c c e s s o r i e si s t h a tt h e yc a n b el o a d e df r o ma n ya p p l i c a t i o na s w e l la s t h ed e s k T o p .W h e ny o ua r e f i n i s h e dw o r k i n gw i t ht h e
a c c e s s o r y ,y o uc a nc o n t i n u ew i t ht h e a p p l i c a t i o nw h e r ey o ul e f t o f f .T h i si s
o n l yp o s s i b l eb e c a u s eG E O Sp l a c e sc e r t a i n p a r t so f t h ep r o g r a mo n t h ed i s k
a s a S W A Pf i l e .H o wd o e st h i sw o r k ?
B e f o r et h ea c c e s s o r yi s l o a d e d ,G E O Sr e a d st h es t a r ta n de n da d d r e s s e s .T h ea r e ab e t w e e nt h e s et w oa d d r e s s e si n m e m o r yi s t h e ns a v e do u ta s a
S W A Pf i l eo n t h ed i s k e t t e .T h ea c c e s s o r yi s t h e nl o a d e da n dc a nb e s t a r t e d .
W h e ny o uw a n tt o l e a v et h ea c c e s s o r ya g a i n ,G E O Sl o a d s t h eS W A Pf i l e
b a c ki n a t t h ec o r r e c t l o c a t i o ni n m e m o r ya n dt h ep r e v i o u sp r o g r a m( t h e
a p p l i c a t i o n )i s s e tb a c ki n i t so r i g i n a lc o n d i t i o n .
Y o uc a nt e s t t h i sw i t ht h eR E S E Tb u t t o no n y o u rc o m p u t e r( i fy o uh a v eaC - 6 4a n dh a v e n ' ti n s t a l l e da r e s e tb u t t o n ,t h e ny o u ' l lh a v et o t a k eo u rw o r df o ri t ) .B o o tG E O Sa n d o p e nt h ea l a r mc l o c k .A f t e ri t i s l o a d e d ,e x i tG E O Sb y p r e s s i n gt h eR E S E Tb u t t o n .I f y o un o wb o o tG E O Sa g a i n ,y o uw i l l
d i s c o v e r an e wf i l e( p e r h a p sn o to n t h ef i r s tp a g e )w h i c hh a st h es a m ei c o n
a s t h ea l a r mc l o c ka n di s c a l l e dS W A Pf i l e .I f y o ul o o ka t t h eI N F Os e c t o r
o f t h eS W A Pf i l ew i t hy o u rd i s km o n i t o r ,y o uw i l ls e et h a tt h el o a da n de n da d d r e s s e sm a t c ht h o s eo f t h ea l a r mc l o c k .A f t e re x a m i n i n gi t , d e l e t et h e
S W A Pf i l e ,f o ri t i s o f n o u s ea n y m o r e .
H o wd oy o uc r e a t ey o u ro w na c c e s s o r i e s ?
2 7 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 283/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
B a s i c a l l y ,t h es a m es t e p si n v o l v e di n m a k i n ga n a p p l i c a t i o n a r en e c e s s a r y
f o rm a k i n ga n a c c e s s o r y .T h ef o l l o w i n gc h a n g e sm u s tb e m a d e :
G E O Sf i l et y p e= 5
S e tt h ee n da d d r e s so f t h ep r o g r a mw i t ht h ei n f oo p t i o nt o t h eg n j ia d d r e s s
o f t h ep r o g r a m ,n o tt o t h el o a da d d r e s sm i n u so n e .
D o n ' te x i tf r o mt h ea c c e s s o r yw i t h$ C C 4 A .E x i t i n gt h ep r o g r a mi n t h i sw a yi s n o tp o s s i b l ef o rt w or e a s o n s .F i r s t ,t h eu s e rs h o u l db e a b l et o l o a dt h e
a c c e s s o r yf r o mg e o P a i n ta s w e l l ,a n de n d i n gt h e p r o g r a mw i t hJ M P
$ C C 4 Aw o u l ds i m p l yr e l o a dd e s k T o p .N a t u r a l l y ,t h e c u r r e n tg e o P a i n t
s c r e e n d a t aw o u l dn o tb e s a v e d .S e c o n d ,a S W A Pf i l ew o u l da p p e a ro n t h e
d i s ke a c ht i m e .
T h e r ei s a s p e c i f i ca d d r e s sp r o v i d e df o re n d i n ga d e s ka c c e s s o r y .W h e na
b r a n c hi s m a d et o t h i sa d d r e s s ,G E O Sl o a d st h eS W A Pf i l ef r o md i s k e t t e ,
d e l e t e s ,a n dt h e nc o n t i n u e st h ep r o g r a me x e c u t i o na t a m o d i f i a b l ea d d r e s s .
T h ee n t r ya d d r e s sf o rl o a d i n gt h eS W A Pf i l ei s $ 9 1 8 F .T h eK E R N A Lv e x t o rp o i n t i n gt o t h i si s $ C 2 3 E .T h i sa d d r e s s ,w h e r et h ep r o g r a ms h o u l d
c o n t i n u ea f t e rl o a d i n gt h eS W A Pf i l e , i sp a s s e di n t o$ 8 4 9 Ba n d$ 8 4 9 C .
T h i sa d d r e s si s p u s h e do n t h ej o bs t a c ka n dt h e nb r a n c h e dt o w i t hR T S .I n
t h i sc a s et h ef o l l o w i n gb y t e sm u s tb ep a s s e d :
4 5 9 0
4 5 9 2
4 5 9 3
4 5 9 5
4 5 9 7
4 5 9 A
4 5 9 B
4 5 9 D
4 5 9 F
4 5 A 1
4 5 A 4
4 5 A 7
$ 8 4 9 B= $ 3 E
$ 8 4 9 C =$ C 2
A 5
4 8
0 9
8 5
E E
6 8
8 5
A 2
A 0
8 E
8 C
6 0
0 1
0 7
0 1
2 0 D O
0 1
3 E
C 2
9 B 8 4
9 C 8 4
L D A
P H A
O R A
S T A
I N C
P L A
S T A
L D X
L D Y
S T X
S T Y
R T S
$ 0 1
# $ 0 7
$ 0 1
$ D 0 2 0
$ 0 1
# $ 3 E
# $ C 2
$ 8 4 9 B
$ 8 4 9 C
S t o r et h e m e m o r y
s e t u p o n t h e s t a c k
S w i t c hi n R O Ma n d
I / O
I n c r e m e n tb o r d e rc o l o r
R e t u r n o l dm e m o r y
s e t u pb a c k
P u t $ C 2 3 Ei n j o b l o o p
( L o a dS w a pf i l e )
2 7 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 284/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
1 0 0 O P E N 1 , 8 , 2 , " B C C A C C . , P , W "
1 0 0 0 F O R 1= 1 7 8 0 8 T 0 1 7 8 3 1 sR E A D X : C K = C K + X1 0 1 0P R I N T # 1 , C H R * ( X ) ;
1 0 2 0N E X T1 0 2 5I F C K O 2 6 3 5T H E NP R I N T " E R R O RI N D A T A "1 0 3 0C L O S E 1
1 0 4 0E N D
9 0 0 0 D A T A 1 6 5 , 1 , 7 2 , 9 , 7 , 1 3 3 , 1 , 2 3 89 0 0 1D A T A3 2 , 2 0 8 , 1 0 4 , 1 3 3 , 1 , 1 6 2 , 6 2 , 1 6 0
9 0 0 2 D A T A 1 9 4 , 1 4 2 , 1 5 5 , 1 3 2 , 1 4 0 , 1 5 6 , 1 3 2
I n t h i se x a m p l e ,s e tt h ef o l l o w i n gv a l u e sw i t hF I L E M A S T E R :
L o a da d d r e s s= 1 7 8 0 8 ( 1 7 8 0 6i f s a v e dw i t ha m o n i t o r )
E n da d d r e s s= 1 7 8 3 2
E n t r yp o i n t = 1 7 8 0 8
2 7 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 285/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
6 . 7M e m o r yl a y o u ta n dm e m o r yl o c a t i o n s
I f y o uw a n tt o w e d g ey o u ro w np r o g r a mi n t oG E O S ,y o u m u s tk n o wt w o
t h i n g s :
• T h em e m o r ym a p — w h a ta r e a so f m e m o r yy o u rp r o g r a mc a nu s e
w i t h o u td e s t r o y i n gG E O S .
• I m p o r t a n tm e m o r yl o c a t i o n s — w h i c hm e m o r yl o c a t i o n sG E O Su s e s
f o ri t sp u r p o s e s ,a n dw h i c hl o c a t i o n sm u s tb e s a v e db e f o r ey o uu s e
t h e mf o ry o u ro w np u r p o s e s .
L e t ' ss t a r tw i t ht h e m e m o r ym a po f t h e C - 6 4i n t h e b a s i cG E O Sc o n f i g u r a t i o n( G E O SK E R N A L+ d e s k T o p ) .
6 . 7 . 1M e m o r ym a p
$ O O O O - $ O O F F: Z e r op a g e ,i m p o r t a n t p o i n t e r s a n d s y s t e m a d d r e s s e s
$ 0 1 0 0 - $ 0 1 F F: P r o c e s s o rs t a c k
$ 0 2 0 0 - $ 0 3 F F: E s s e n t i a l l y0 u p t o $ 0 3 0 0 - $ 0 3 4 0 ,w h i c hc o n t a i n s t h e u s u a l
p o i n t e r s .G E O Sh a s s e ts o m eo f t h e s e p o i n t e r st o i t s o w n
v a l u e s .
$ 0 4 0 6 - $ 4 0 F C
$ 4 0 F D - $ 4 5 6 F
$ 4 5 7 0 - $ 4 9 6 E
$ 49 6 F - $ 4 A F F
$ 4 B 0 0 - $ 4 B F F
$ 4 C 0 0 - $ 4 C F F
$ 4 D 0 0 - $ 4 D F F
$ 4 E 0 0 - $ 4 E F F
$ 4 F 0 0 - $ 4 F F F
P r o g r a m d e s k T o p
W o r k i n g m e m o r y d e s k T o p
N o t u s e d ( s a f ef o r y o u ro w n u s e )
W o r k i n g m e m o r y d e s k T o p
D i r e c t o r y p a g e1 ( d i s k e t t e )
D i r e c t o r yp a g e2
D i r e c t o r yp a g e3
D i r e c t o r yp a g e4
D i r e c t o r yp a g e5
2 7 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 286/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
$ 5 0 0 0 - $ 5 F F F: P a r t i a l l yu s e da s w o r k i n gm e m o r y
$ 6 0 0 0 - $ 7 F 4 0: C o p yo f t h e b i t - m a p p i n gs c r e e n
$ 8 0 0 0 - $ 8 0 F F: B u f f e r1 f o r r e a d i n go r w r i t i n gd i s k s e c t o r
$ 8 1 0 0 - $ 8 1 F F: B u f f e r2
$ 8 2 0 0 - $ 8 2 F F: B u f f e r3 f o r d i s kB A M
$ 8 4 0 0 - $ 8 B F F: W o r k i n ga r e a , s t o r a g ef o r m o u s ep a t t e r n( $ 8 4 C 0 ) ,e t c .
$ 8 C 0 0 - $ 8 F F F: C o l o r R A M
$ 9 0 0 0 - $ 9 F F F: G E O S k e r n a lp a r t 1
$ A 0 0 0 - $ B F F F: B i t - m a p p i n gs c r e e n
$ C 0 0 0 - $ F F F F: G E O Sk e r n a lp a r t2 . A t $ C 1 0 0 - $ C 2 C 5t h e r ei s a j u m pt a b l e
f o r a n u m b e ro f i m p o r t a n tf u n c t i o n s .
6 . 7 . 2I m p o r t a n tm e m o r yl o c a t i o n s
$ 0 0 3 0 M o u s ef l a g
B i t 7 = 0 :n o m o u s ea c t i o n
B i t 6 = 1 : t e s t s f o r m a r k e da r e a
$ 0 0 3 9 J o y s t i c kf l a g
B i t 7 = 0 : n o j o b si n j o b b u f f e r
B i t 6 = 1 : s t i c kp o s i t i o n c h a n g e d
B i t 5 = 1 : b u t t o np r e s s e d
$ 0 0 3 A C u r r e n t m o u s eX - p o s i t i o nl o w
$ 0 0 3 B C u r r e n t m o u s eX - p o s i t i o nh i g h
$ 0 0 3 CC u r r e n t m o u s eY - p o s i t i o n
$ 8 4 A l J o b a d d r e s sl o w : b u t t o n p r e s s e d
$ 8 4 A 2 J o ba d d r e s sh i g h :b u t t o np r e s s e d
$ 8 4 A 5 J o ba d d r e s sl o w : j o y s t i c km o v e m e n t
2 7 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 287/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
$ 8 4 A 6J o b a d d r e s sh i g h :j o y s t i c km o v e m e n t
$ 8 4 A 7 J o ba d d r e s sl o w : m o u s el e f t s p e c i f i ca r e a ( $ 8 4 B 6n o t e q u a lt o 0 )
$ 8 4 A 8 J o b a d d r e s sh i g h :m o u s el e f t s p e c i f i c a r e a
$ 8 4 B 6M o u s es t a t u sr e g i s t e r
B i t 7 = 1 :C o n t a c t u p p e r b o r d e r( a r e a1 )
B i t 6 = 1 : C o n t a c tl o w e rb o r e r
B i t 5 = 1 : C o n t a c tl e f t b o r d e r
B i t 4 = 1 : C o n t a c tr i g h tb o r d e r
B i t 3 = 1 : M o u s e o u t s i d e s e c o n dm a r k e da r e a
$ 8 4 B 8 U p p e rb o r d e rf o r m o u s e
$ 8 4 B 9 L o w e rb o r d e rf o r m o u s e
$ 8 4 B AL e f t b o r d e rf o r m o u s eL O W
$ 8 4 B BL e f t b o r d e rf o r m o u s eH I G H
$ 8 4 B CR i g h tb o r d e rf o r m o u s eL O W
$ 8 4 B D R i g h tb o r d e rf o r m o u s e H I G H
$ 8 4 C 1U p p e r b o r d e rf o r m o u s e- ( 2 n da r e a )
$ 8 4 C 2 L o w e rb o r d e rf o r m o u s e( 2 n da r e a )
$ 8 4 C 3L e f t b o r d e rf o r m o u s eL O W( 2 n d a r e a )
$ 8 4 C 4 L e f tb o r d e rf o r m o u s eH I G H( 2 n d a r e a )
$ 8 4 C 5 R i g h tb o r d e rf o r m o u s eL O W( 2 n d a r e a )
$ 8 4 C 6R i g h tb o r d e rf o r m o u s eH I G H( 2 n da r e a )
$ 8 5 0 1 M a x i m u m m o u s es p e e d
$ 8 5 0 2 M i n i m u mm o u s es p e e d
$ 8 5 0 3 A c c e l e r a t i o n :i n c r e m e n t
$ 8 5 0 5 C o d ef o r c u r r e n tb u t t o n p o s i t i o n
B i t 7 = 0 : b u t t o np r e s s e d
B i t 7 = 1 : n o t p r e s s e d
2 7 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 288/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
$ 8 5 0 6 C o d ef o r c u r r e n ts t i c kp o s i t i o n
$ 0 0 = r i g h t
$ 0 2 = u p
$ 0 4 = l e f t
$ 0 6 =d o w n
$ F F = e r r o ro r n e u t r a lp o s i t i o n
$ 8 5 0 7 C u r r e n t m o u s e s p e e d
$ 8 5 1 6 C u r r e n t y e a r
$ 8 5 1 7 C u r r e n t m o n t h
$ 8 5 1 8 C u r r e n td a y
$ 8 5 1 9 C u r r e n t h o u r
$ 8 5 1 AC u r r e n tm i n u t e
$ 8 5 1 B C u r r e n t s e c o n d
$ 8 7 D DN u m b e ro f j o b s i n b u f f e r1
$ 8 7 1 9 - $ 8 7 2 CT a b l eo f f l a g s f o rt h e j o b s i nb u f f e r1
$ 8 7 2 D - $ 8 7 5 5T a b l eo f j o ba d d r e s s e si n b u f f e r1 ( l o w / h i g h )
$ 8 7 7 E N u m b e ro f j o b s i n b u f f e r2
$ 8 7 7 F - $ 8 7 9 2 T a b l eo f d e l a y c o u n t e r s L O Wf o r b u f f e r2
$ 8 7 9 3 - $ 8 7 A 6T a b l eo f c o u n t e r sH I G Hf o r b u f f e r2
$ 8 7 A 7 - $ 8 7 B AJ o b a d d r e s s e sL O Wb u f f e r2
$ 8 7 B B - $ 8 7 C EJ o b a d d r e s s e s H I G H b u f f e r2
$ 8 7 D 7F I F O r e a dp o i n t e r
$ 8 7 D 8 F I F Ow r i t e p o i n t e r
$ 8 7 D A - $ 8 7 E 9 F I F O( b u f f e r0 )
$ C 2 C 8 j o b l o o p
$ C C 4 A- l o a d sd e s k T o p*
2 7 7
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 289/314
A b a c u sS o f t w a r e G E O SI n s i d ea n d O u t
$ E 2 D C- I R Q e n t r y*
$ E 3 6 F r e a dt h e k e y b o a r d
$ E 5 F 0m o u s e m o v e m e n tw i t h i nt h e I R Q*
$ F E 8 BA b s o l u t e a c c e l e r a t i o n
$ F E 8 CX - s p e e d( + / - )
$ F E 8 DY - s p e e d( + / - )
$ F E 8 EV a l u eo f t h e j o y s t i c kp o r t ,b u t t o no n l y
$ F E 8 FV a l u eo f t h e j o y s t i c kp o r t , s t i c k o n l y
$ F E 9 0V a l u eo f t h e j o y s t i c k p o r t
2 7 8
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 290/314
G l o s s a r y
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 291/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 292/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
G l o s s a r y
A c c e s s o r y :A p r o g r a mt h a ti s a v a i l a b l ea t p r a c t i c a l l ya n yt i m e .F o re x a m p l e ,y o uc a nc r e a t ea g r a p h i cd o c u m e n tw i t hg e o P a i n t ,a n dt h e nu s e t h e
c a l c u l a t o rw h i l ey o u ' r ei n t h em i d d l eo fe d i t i n gi t . Y o uc a n n o t u s em u l t i p l e
a c c e s s o r i e sa t t h es a m et i m e ,h o w e v e r .
A p p l i c a t i o n :A p r o g r a mt h a tc a n b el o a d e do n l yf r o mt h ed e s k T o p .A na p p l i c a t i o nm a k e su s eo f t h eG E O Sr o u t i n e s( f o re x a m p l e ,g e o P a i n ta n dg e o W r i t e ) .
A s s e m b l yl a n g u a g e :A c o m p u t e rl a n g u a g et h a th a sa o n e - t o - o n er e l a t i o n s h i p
t o m a c h i n el a n g u a g e .A s s e m b l yl a n g u a g ei s s i m p l y am o r er e a d a b l ew a yo fw r i t i n gm a c h i n el a n g u a g e .
B a c k u p :N a m ef o ra c o p yo f t h ec o n t e n t so f ad i s k e t t e .T h e r ei s a l s oa
p r o g r a mo n t h eG E O Sd i s k e t t ew i t ht h es a m en a m e .T h i sp r o g r a mc a nb e
u s e dt o m a k ec o p i e s .I t c a nb e l o a d e df r o mG E O S( w i t ha d o u b l ec l i c k )o r
f r o mB A S I Cw i t ht h ef o l l o w i n gd i r e c tc o m m a n d s :
L O A D" B A C K U P " ,8
R U N
B A S I C :O n eo f t h em o s tp o p u l a rh i g h - l e v e ll a n g u a g e .T h ef 6 4u n d e r s t a n d sB A S I Co n l yi n d i r e c t l y .T h eo n l y l a n g u a g et h a tt h ec o m p u t e ru n d e r s t a n d s
d i r e c t l yi s m a c h i n el a n g u a g e ,w h i c hi s r a t h e rd i f f i c u l tf o rh u m a n st o w o r kw i t h .B A S I Ci s t r a n s l a t e d i n t ot h i sm a c h i n el a n g u a g eb y t h e B A S I Ci n t e r p r e t e r .B A S I Ci s b u i l ti n t ot h ef 6 4 ,s o i t i s a v a i l a b l e t oy o ua t a n yt i m e .
B A S I Ci n t e r p r e t e r :A p r o g r a mt h a tc o n v e r t sB A S I Ci n t om a c h i n el a n g u a g e .
I f y o uw r i t ea B A S I Cp r o g r a ma n ds t a r ti t w i t hR U N ,t h ep r o g r a m ' sB A S I Cc o m m a n d sa r eb r o k e nu p i n t ot h es m a l l e s tt a s k st h a tt h ec o m p u t e rc a n
p r o c e s s — i nm a c h i n el a n g u a g ec o d e .
B o o t i n g :T h en a m eo f t h ep r o c e d u r eb y w h i c hG E O Sa n do t h e rp r o g r a m sa r el o a d e da n ds t a r t e d .Y o uc a nb o o tG E O So n l yf r o mt h eo r i g i n a ld i s k e t t e .
B o r d e r :R e f e r st o a s p e c i f i ca r e ao n t h es c r e e nw h e ny o ua r ei n t h ed e s k T o p .
T h i sa r e al i e sb e l o wt h eG E O Sw i n d o wa t a b o u tt h el e v e lo f t h ep r i n t e r i c o n .
W h e ni c o n sa r ep l a c e do n t h e b o r d e r ,t h e i ro r d e rc a nb e c h a n g e d ,a n dt h e y
c a nb e c o p i e d .
2 8 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 293/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
B u f f e r :A na r e ao f m e m o r yu s e df o rs h o r t - t e r md a t as t o r a g e .W eu s u a l l yu s e
t h i st e r mt o d e s c r i b ea d i s k e t t eb u f f e r .T h i sd i s k e t t eb u f f e rs t o r e st h es e c t o r s
t h a th a v e b e e nr e a di n f r o md i s k e t t eo r w i l lb e w r i t t e nt o t h ed i s k e t t e .
C o p y p r o t e c t i o n :D i s k e t t e sc a nu s u a l l yb e c o p i e dj u s tl i k ec a s s e t t e sc a n b ec o p i e d .S i n c es o f t w a r em a n u f a c t u r e r so f t e ns e eu n r e s t r i c t e dc o p y i n go f
s o f t w a r ea s c o n t r a r yt o t h e i rb u s i n e s si n t e r e s t s ( a sw e l la s a v i o l a t i o no f
c o p y r i g h tl a w s ) ,t h e ya t t e m p tt o p r e v e n tt h e s u c c e s s f u lc o p y i n go f t h e i r
d i s k s .U s u a l l ys o m ea s p e c to f t h ed i s k e t t e t r a c ko r s e c t o ri s c h a n g e d ,a n dt h i sa l t e r a t i o ni s t e s t e db y t h ep r o g r a m .I f t h ea l t e r a t i o ni s n o to n t h ei n s e r t e d
d i s k e t t e ,t h ep r o g r a mw i l ln o tr u n .T h e s ea l t e r a t i o n s — t h ec o p yp r o t e c t i o n —c a n n o t n o r m a l l y b ec o p i e d .G E O Sh a sa v e r ye f f e c t i v ef o r mo f c o p yp r o t e c t i o n ,w h i c hi s c h e c k e do n l yw h e ny o u ' r e b o o t i n g .
C u r s o r :F l a s h i n gs y m b o lo n t h es c r e e nt h a tt e l l sy o ut h ec o m p u t e ri s w a i t i n g
f o ri n p u t .C h i t h e' 6 4u n d e rG E O S ,t h ec u r s o r a p p e a r sa s a v e r t i c a ll i n e ;t h e
u s u a l' 6 4c u r s o ri s r e c t a n g u l a r .I n g e o W r i t et h ec u r s o ri n d i c a t e st h e l o c a t i o n
a t w h i c ht h en e x tl e t t e rw i l la p p e a ri n t h et e x t
< D E L >k e y :L o c a t e do n t h eu p p e rr i g h to f t h ek e y b o a r d ,t h i sk e yd e l e t e s
o n ec h a r a c t e rt o t h el e f to f t h ec u r s o rw h e np r e s s e d .
d e s k T o p :A p r o g r a mt h a tc r e a t e sa u s e ri n t e r f a c er e s e m b l i n gt h es u r f a c eo f a
d e s k .O nt h i s" d e s k "o b j e c t sc a n b em o v e da n dp r o c e s s e d . I na d d i t i o n ,t h e
d e s k T o pc o n t a i n sa p r i n t e ra n da w a s t eb a s k e t .d e s k T o pt r i e st o m a k ew o r k i n gw i t ht h eu s e ri n t e r f a c el i k ew o r k i n go n a n o r d i n a r yd e s kt o p .
D e s t i n a t i o nd i s k :T h ed i s k e t t e& w h i c hy o uw a n tt o c o p ya f i l e .
D i r e c t o r y :T h et a b l eo f c o n t e n t so f a d i s k e t t e .A f i l ee n t r yi s c r e a t e di n t h e
d i r e c t o r yw h e ne a c hf i l ei s s a v e ds o t h a tt h ed i s k d r i v ed o e sn o th a v et o
s e a r c ht h r o u g ht h ee n t i r e d i s k e t t et o f i n da f i l e .
D i s kb u f f e r :s e eB u f f e r .
F i l e :A c o l l e c t i o no f d a t a .A f i l e i sa n yc o h e s i v e b l o c k o fd a t a .T h ed i f f e r e n c eb e t w e e na f i l ea n da p r o g r a mi s t h a ta p r o g r a ma l s oc o n t a i n s d a t a
i t e m st h a ta r er e c o g n i z e db y t h ec o m p u t e ra s c o m m a n d s .U n d e rG E O S ,e a c hf i l eh a s an a m e( f i l e n a m e )a n da l s oa n i c o n( s y m b o l ) .D o c u m e n t s ,p r o g r a m s ,p h o t oa l b u m s ,e t c .a r ea l lf i l e s .
2 8 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 294/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
F i l ee n t r y :I m p o r t a n td a t aa b o u ta f i l ei s s t o r e d a sa f i l ee n t r yi n t h ed i s kd i r e c t o r y .T h i sd a t ai n c l u d e s t h e f i l e n a m e ,s i z e ,l o c a t i o no n t h ed i s k e t t e ,
t y p eo f f i l e ,a n ds o o n *
F o r m a t t i n g :T h ep r o c e s st h a tp r e p a r e sa d i s k e t t ef o ru s eb y t h e' 6 4 .T h ed i s k e t t ei s c o m p l e t e l ye r a s e di n t h i sp r o c e s s .Y o us h o u l df o r m a ta l lo f t h ed i s k sw h i c hy o un e e df o rw o r k i n gw i t hG E O Su n d e rG E O S — i t sf o r m a t t i n g
d i f f e r sf r o mt h en o r m a l' 6 4f o r m a tc o m m a n d .G E O Sg i v e sd i ed i s k e t t eas p e c i a lf o r m a t
G E O S :G r a p h i cE n v i r o n m e n tO p e r a t i n g S y s t e m .G E O Sc r e a t e sa u s e ri n t e r f a c ew i t hw i n d o w s ,p u l l - d o w nm e n u s ,i c o n s ,a n da j o y s t i c k .I n
a d d i t i o n ,i t o f f e r sf a s td i s k o p e r a t i o n sa n di t so w nf i l ef o r m a t .
G E O Sw i n d o w :D e s i g n a t e s as e c t i o no f t h es c r e e n( u s u a l l yt h em i d d l e )i nw h i c h u pt o e i g h tf i l e sc a nb e d i s p l a y e da t o n et i m ei n t h ed e s k T o p .
g e o P a i n tw i n d o w :T h es e c t i o no f t h es c r e e ni n w h i c h y o uc r e a t ea n de d i t
y o u rg r a p h i cd o c u m e n t s .T h ew i n d o wd i s p l a y so n l y as m a l lp a r to f t h e
e n t i r ed o c u m e n t .Y o uc a nm o v et h i sp a r t
H a r d c o p y :A p a p e rc o p yo f t h ei n f o r m a t i o no n t h ef 6 4s c r e e nt h a ti s
p r o d u c e db y a p r i n t e ro r p l o t t e r .
I c o n :A g r a p h i cs y m b o l .G E O Sr e p r e s e n t si t sd o c u m e n t sa n dg r a p h i c so nt h es c r e e na s i c o n sw h e ny o u w o r kw i t hd e s k T o p .T h ea p p e a r a n c e o f a n
i c o ng e n e r a l l yc o r r e l a t e sw i t hi t sp u r p o s e .T h ep r i n t e ra n dw a s t eb a s k e ta r e
a l s o i c o n s .
I n t e r r u p t :P r o c e s su s e db y t h ec o m p u t e rt o i n t e r r u p ti t sc u r r e n tt a s k ,p r o c e s s
a n o t h e rt a s k ,a n dt h e nr e t u r nt o i t s o r i g i n a lw o r k .I n G E O S ,r e a d i n gt h e
j o y s t i c ka n dk e y b o a r di s a c c o m p l i s h e dt h r o u g hi n t e r r u p t s .
J o y s t i c ka n dj o y s t i c k p o i n t e r :A n i m p o r t a n tp a r to f t h e G E O Su s e ri n t e r f a c e ,t h e j o y s t i c k p o i n t e r r e p r e s e n t sy o u rf i n g e ro n t h e s c r e e n .W i t ht h i s
" f i n g e r "y o uc a ng r a bi c o n s( b yc l i c k i n gt h ef i r eb u t t o n )a n dm o v et h e m .
T h ej o y s t i c k p o i n t e rc a na s s u m ea v a r i e t yo fs h a p e si n G E O S .N o r m a l l yi t i s
d i s p l a y e da s a n a r r o w .Y o u m a yc h a n g et h ea r r o wt o a n o t h e rs h a p eb ye d i t i n g t h ep o i n t e rs p r i t ei n t h eP r e f e r e n c eM a n a g e r .T h ej o y s t i c kp o i n t e rm i g h ta l s ol o o kl i k ea c r o s s h a i ro r a t h i np e ni n g e o P a i n t .T h ej o y s t i c k
p o i n t e ri s m o v e dw i t ht h ej o y s t i c k .T h ef i r eb u t t o ni s u s e dt o c l i c ka t t h e
s p o tt o w h i c ht h ea r r o wp o i n t s .
2 8 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 295/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
M e n u :L i n eo n t h es c r e e n( u s u a l l yi n t h eu p p e rl e f t )t h a tl i s t sv a r i o u s
s u b - m e n u s .d e s k T o pc o n t a i n s t h ef o l l o w i n gm e n u s :g e o s , f i l e ,v i e w ,
d i s k ,a n ds p e c i a l .E a c h n a m e sa m e n uc o n t a i n i n ga s e to f a d d i t i o n a l
c o m m a n d s k n o w na s i t e m s .W h e ny o uc l i c ka n i t e mi n t h em e n u ,i t s
s u b - m e n ui s d i s p l a y e di n a w i n d o wb e l o wt h em e n u .
O p e r a t i n gs y s t e m :D e s c r i b e s ap r o g r a mt h a tp e r f o r m st h em o s ti m p o r t a n t
a n df u n d a m e n t a lo p e r a t i o n so f a c o m p u t e r .W i t h o u ta n o p e r a t i n gs y s t e mp r o g r a m ,t h ec o m p u t e rc a nd o n o t h i n g .I n t h e' 6 4t h eo p e r a t i n gs y s t e mi s
s t o r e di n R O Ms o t h a ti t r e m a i n si n t a c tw h e nt h ep o w e ri s t u r n e do f f .
P a g ep o i n t e r :T e r mf r o mg e o P a i n ta n dg e o W r i t e .I n g e o P a i n ti t r e f e r st o a
r e c t a n g l ei n t h es t a t u sl i n e .T h i sr e c t a n g l ec o r r e s p o n d st o t h ee n t i r ep a g e ,
a n dt h es m a l lr e c t a n g l et h a ta p p e a r si n t h eu p p e rl e f tc o r n e ra t t h eb e g i n n i n gi n d i c a t e s t h es i t u a t i o no f t h eg e o P a i n tw i n d o w .I n g e o W r i t ei t a p p e a r sa t t h e
t o po f t h es c r e e nn e x tt o t h en a m eo f t h ed o c u m e n ta n da l s o i n d i c a t e st h e
p a g e n u m b e r .
P i x e l :S m a l l e s tr e p r e s e n t a b l ep o i n to n t h es c r e e n .
P r i n t e r a d a p t a t i o n : S i n c et h e r e a r ed i f f e r e n tt y p e so f p r i n t e r s ,n o t e v e r y
p r i n t e rc a n b ec o n n e c t e dt o e v e r y c o m p u t e r .U s u a l l ya p r o g r a mk n o w na s a
p r i n t e r d r i v e rm u s tb e l o a d e dt o m a t c ht h ec o m p u t e rt o t h ep r i n t e r .Y o ut e l l
t h ec o m p u t e rw h a tt y p eo f p r i n t e ry o ua r eu s i n g b e f o r ey o up r i n ts o m e t h i n g .
P r o p o r t i o n a lt y p e :A k i n do f t y p ei n w h i c ht h el e t t e r sr e q u i r ea v a r i a b l e
a m o u n to f s p a c e .F o re x a m p l e ,t h el e t t e r" I " o c c u p i e s c o n s i d e r a b l yl e s s
s p a c et h a nt h el e t t e rM M ! f .
< R E S T O R E > k e y :L o c a t e do n t h eu p p e rr i g h to f t h ek e y b o a r di n t h es e c o n d
r o w ,i t ' su s e di n G E O St o r e b o o tt h es y s t e m .I f y o ue x i t e dG E O St h r o u g h
B A S I Co r b y l o a d i n ga B A S I Cp r o g r a m ,i n s e r tt h eo r i g i n a ld i s k e t t ea n d
p r e s st h e< R E S T O R E >k e yt o b o o tG E O S .
S c r e e nm e m o r y :P a r to f t h e c o m p u t e r ' si n t e r n a lm e m o r y .I t s t o r e s
i n f o r m a t i o nt h a td e t e r m i n e st h ea p p e a r a n c eo f t h es c r e e n .W i t h o u tG E O S ,t h es c r e e nm e m o r yu s u a l l yc o n s i s t so f 1 0 0 0m e m o r yl o c a t i o n s ,c o n t a i n i n g
t h ec o d e sf o r4 0 x 2 5 p o s s i b l ec h a r a c t e r so n t h es c r e e n .I t ' ss u f f i c i e n t t o
w r i t et h ec o r r e c tn u m b e ri n t h es c r e e nm e m o r yt o d i s p l a ya c h a r a c t e ro n t h e
s c r e e n .I n c o n t r a s tt o t h i st h e r ei s a l s ot h eh i - r e s( h i g h - r e s o l u t i o n ) s c r e e
Y o u ' r en o tl i m i t e dt o t h eC o m m o d o r e - d e f i n e dc h a r a c t e rs e t sw i t ht h i s
s c r e e n .I n s t e a d ,y o uc a nd e t e r m i n et h ed i s p l a yo f t h ee n t i r es c r e e nw i t h
i n d i v i d u a lp i x e l s .G E O Su s e st h i sh i - r e ss c r e e n .
2 8 4
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 296/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
S c r o l lb o x :A s m a l lr e c t a n g l et h a tc o n t a i n st w oa r r o w s .Y o uc a ns c r o l lt h e
c o n t e n t so f t h ew i n d o wi n t h ed i r e c t i o no f t h ea r r o w s .T h i sc a u s e sp a r to ft h es c r e e nd i s p l a yt o d i s a p p e a ra n da d d i t i o n a ll i n e st o a p p e a ra t t h eo p p o s i t e
s i d eo f t h es c r e e n .T h es c r o l lb o xi s u s u a l l yu s e dw h e nt h ew i n d o wi s t o os m a l lt o c o n t a i na l lo f t h e i n f o r m a t i o n .
S e c t o r :T h ed i s k e t t ei s d i v i d e di n t oa n u m b e ro f t r a c k s .I n t u r n ,t h e t r a c k s
a r ed i v i d e di n t oa n u m b e ro f s e c t o r s .T h ed i s kd r i v ec a nl o c a t ea s e c t o ro nt h ed i s k e t t ew i t ht h eh e l po f s p e c i a lm a r k i n g s .A s e c t o r c o n t a i n sa m a x i m u mo f 2 5 6b y t e s .W h e ny o us t o r ea p r o g r a m ,i t i s d i v i d e du p i n t o s u i t a b l e
s e g m e n t s .T h e s es e g m e n t sa r et h e ns t o r e do n et o a s e c t o r .
S i n g l e - s t e ps i m u l a t o r :A p r o g r a mt h a tc a u s e s a n o t h e rp r o g r a mt o b e
p r o c e s s e ds t e pb y s t e p ,a l l o w i n gt h eu s e rt o e x a m i n ei m p o r t a n ti n f o r m a t i o na f t e re a c hs t e p .A s i n g l e - s t e ps i m u l a t o rp r o g r a mi s p r i n t e di n C h a p t e r 5 o f
t h i sb o o k .Y o uc a nu s ei t t o e x a m i n eG E O Sp r o g r a m ss t e pb y s t e p .
S o u r c ed i s k :T h eo r i g i n a ld i s k e t t e .T h i si s t h ed i s k e t t ey o uw a n tt o c o p y .
S p r i t e :G r a p h i cs y m b o l st h a tc a n b em o v e do n t h es c r e e n .S p r i t e so n t h ef 6 4
c o n s i s to f 2 4 x 2 1p o i n tb l o c k s .S p r i t e sa r e e s p e c i a l l yu s e f u lf o rw r i t i n g
g a m e sb e c a u s et h e yc a nb e m o v e dv e r ye a s i l y .F o re x a m p l e ,G E O Su s e s
s p r i t e sf o rd i s p l a y i n gt h e j o y s t i c k p o i n t e ro n t h es c r e e n .B e c a u s es p r i t e sa r e
c r e a t e dd i f f e r e n t l yt h a nt h en o r m a ls c r e e n e l e m e n t s , t h e yd on o ta p p e a ro n ah a r d c o p y .
T r a c k :T h ed i s k e t t ei s d i v i d e di n t oa n u m b e ro f c i r c u l a rt r a c k s ,w h i c hc o n s i s to f a n u m b e ro f s e c t o r s .T h e r ea r e3 5 t r a c k so n a ! 6 4d i s k e t t e .
U s e ri n t e r f a c e :M a n yc o m p u t e r sa l l o wy o ut o c o m m u n i c a t eo n l yi n ap r o g r a m m i n gl a n g u a g e( s u c ha s B A S I C ) .B e f o r et h ec o m p u t e rc a nd o a n y
u s e f u lw o r kf o ry o u ,y o um u s tf i r s tl e a r n t h el a n g u a g e .W i t ha g o o du s e r
i n t e r f a c ey o uc a nu s ea c o m p u t e rw i t h o u ta n yk n o w l e d g eo f p r o g r a m m i n gl a n g u a g e s o rh o wt h ec o m p u t e ra c t u a l l yw o r k s .O n eu s e ri n t e r f a c ei n v o l v e s
g r a p h i c a l l yd i s p l a y i n gi m p o r t a n te l e m e n t sf o rw o r k i n gw i t ht h ec o m p u t e ro n
t h es c r e e ni t s e l f ,w h i c hc a nt h e nb e m a n i p u l a t e dt o p e r f o r mv a r i o u st a s k s .
F o re x a m p l e ,f i l e sa r ed i s p l a y e da s g r a p h i cs y m b o l sc a l l e di c o n si n G E O S .Y o ud e l e t ea f i l es i m p l yb y m o v i n gt h ef i l e ' si c o no v e rt o t h ew a s t eb a s k e t
i c o n .
2 8 5
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 297/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
W i n d o w :A s e c t i o no f t h es c r e e nd e l i m i t e db y a b o r d e r .T h i ss e c t i o ni s t h e n
t r e a t e d a sa s e p a r a t es c r e e nf o r a c e r t a i nl e n g t ho f t i m e ,G E O Su s e s
w i n d o w st o o u t p u t i n f o r m a t i o n( e r r o rm e s s a g e s )o r t o a s ky o uf o r
i n f o r m a t i o n( t h en a m eo f a d o c u m e n t ) .T h es p e c i a lt h i n ga b o u tw i n d o w si s
t h a td a t ac a nb e d i s p l a y e do n t h es c r e e na n da f t e r w a r dt h eo r i g i n a ls c r e e ni s
r e s t o r e d .T od o t h i s ,t h e p a r to f t h es c r e e nm e m o r yt h a t w i l lb e c h a n g e db yt h ew i n d o wi s s a v e da t a n o t h e rl o c a t i o na n dl a t e rw r i t t e nb a c k .
W o r k i n gc o p y :Y o um u s t c o p yt h ec o n t e n t so f t h eG E O Sd i s t r i b u t i o n
d i s k e t t e t oa n o t h e rd i s k e t t ea n dd e l e t es o m eo f t h ea p p l i c a t i o n / a c c e s o i y
p r o g r a m si n o r d e rt o m a k es o m er o o mo n t h ed i s k e t t ef o rr e a lw o r k .T h i s
" i n c o m p l e t e "c o p yi s c a l l e da w o r k i n gc o p y .
2 8 6
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 298/314
f I n d e x
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 299/314
f
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 300/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
a c c e s s o r yp r o g r a m s 1 7 , 6 7 - 8 6
a d d d r i v e3 8a d d i n gf i l e s1 9
a i r b r u s h 5 2 ,1 3 3 - 1 3 5
a l a r mc l o c k3 5 ,7 0 , 1 8 0 - 1 8 6a p p l i c a t i o np r o g r a m s7 , 2 4 , 4 3 ,
6 8 , 8 0 , 8 7 , 8 8 , 1 1 1 , 1 2 0 , 1 3 0 ,
1 3 4 ,2 0 3 , 2 2 1 , 2 6 7 ,2 6 9
a r r o w s3 7 ,5 0 , 5 9 ,6 7A S C I I1 4 7 - 1 4 8 , 1 6 1 - 1 6 5 ,2 3 1 ,2 5 4
Bb a c k u p c o p yd i s k e t t e s7 - 1 4 , 1 2 8 ,
1 9 7 - 1 9 8
B A C K U P8 , 1 2B A M2 5 8 - 2 5 9 ,2 7 5
B A S I C3 9
B A S I C3 3 , 1 4 7 - 1 7 5 ,2 6 7 - 2 6 9 ,2 8 1 - 2 8 5
b l a n kd i s k e t t e s8 , 1 9 ,3 8 ,1 2 7 ,1 9 7b o o t i n g7 , 1 4 , 1 2 5 - 1 2 9 , 1 9 7 - 1 9 8 ,2 5 4 ,2 6 2 ,2 7 1 , 2 8 1 , 2 8 2 ,2 8 4b o u n d a r y9 3 , 1 3 1
B R E A KI R Q2 4 5
b r i c k s( g e o P a i n tp a t t e r n )1 3 6b r u s h e s4 8 , 4 9 , 5 3 ,1 3 3B S W( f o n t )9 0 - 9 3 ,1 0 4 ,1 1 2 , 1 1 4 ,1 1 8 , 1 3 7 ,1 4 0
b u f f e r1 6 0 - 1 6 4 ,1 6 7 - 1 7 0 ,1 7 7 ,2 3 0 ,2 3 1 , 2 3 8 ,2 4 8 , 2 5 0 , 2 6 5 ,
2 6 6 , 2 6 9 , 2 7 5 , 2 7 7 ,2 8 2
C - 6 43 1 , 7 1 ,8 7 , 1 0 8 ,2 3 5 , 2 4 4 ,2 5 6 ,2 6 7 ,2 6 9 ,2 7 1 ,2 7 4C = ( C o m m o d o r ek e y )3 3 , 2 1 4 -2 1 7 ,2 8 1 - 2 8 5
c a l c u l a t o r3 5 ,7 1
c a l e n d a r( N o t e p a d )1 4 4 - 1 4 7 , 1 8 0
c a n c e lb u t t o n1 3 0 ,2 1 9 , 2 2 4 ,
2 2 5 ,2 3 2 - 2 3 9
c h a n g eb r u s h4 8c h a r a c t e r s 2 7 , 4 3 , 6 5 , 7 6 , 9 1 ,1 1 1c h a r t s8 7 - 9 9
c i r c l e s( g e o P a i n t ) 1 0 6 ,1 2 0 - 1 2 1 ,1 3 2
c l e a r5 1
c l i c k i n g1 2 ,2 4 ,2 7c l o c k( p r o g r a m m i n g )1 7 8
c l o c k( c o n s t a n t d i s p l a yp r g . )
1 8 7 - 1 9 6
c l o s e2 2
c l o s ei c o n7 , 9 ,1 2 ,1 5 ,2 2 ,3 2c o l o r5 6
c o l o ro f f 4 9c o m m a n dm e n u8
< C O N T R O L >k e y1 4 1
c o p y4 7 , 6 1c o p y i n g( f i l e s )4 2
C r e a t e2 5 , 4 3
c r o s s h a i r s 4 7 ,5 1 - 5 5 , 9 5 - 9 7 ,1 0 3c u r s o r1 8 ,2 6 ,5 5
c u s t o mw i n d o w s2 2 5
c u t4 7 ,6 1
Dd a t af i l e s3 3D A T A S E T T E3 1
< D E L >k e y1 3 ,3 8 , 4 6 ,6 1 ,6 3 - 6 5 ,6 7 ,7 2 ,1 4 2 ,1 4 3
d e l e t i n g1 4 ,4 0 ,1 4 2 ,1 6 2 } }
d e s k T o p1 1 , 1 6 ,1 8 , 2 0 , 2 8 ,3 1 - 4 0 , 1 2 8 - 1 3 0 ,2 6 3 - 2 6 5 ,2 7 0 - 2 7 2
d e s k T o pi n f o3 4
d e s k T o pp a r a m e t e r s1 7 ,3 4 ,7 4 - 7 5 ,1 2 5 ,2 1 5 ,2 7 6 ,2 7 7d e s t i n a t i o nd i s k e t t e8 , 3 8 ,4 2 ,4 7d i a g r a m s 8 7 - 9 9
d i a l o g u eb o x 1 3 , 2 1 9 ,2 2 3 - 2 2 4d i a l o g u eb o x e s( c u s t o m )2 2 5 - 2 3 3d i r e c t o r y3 , 1 3 ,2 0 - 2 3
2 8 9
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 301/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
d i s k1 2 ,2 2 ,3 7
d i s kd r i v e 7 - 1 0 , 1 3 - 1 5 ,3 8 , 1 2 6 -
1 2 8 ,1 6 0 ,1 7 8 , 1 9 7 ,2 3 4d i s kd r i v eh e a da l i g n m e n t1 2 6 - 1 2 7 ,
1 9 8d i s k d r i v ee r r o rm e s s a g e s2 1 8 ,2 3 5d i s k e t t ei c o n3 2
d o c u m e n t s( G E O S )1 7 , 3 4 , 4 3 ,
4 4 ,4 6 - 4 9
d o g e a rp a g e2 1 ,1 4 5
D O S( D i s k O p e r a t i n gS y s t e m )1 2 9 ,
1 7 3 ,2 5 2 - 2 5 8 ,2 6 9d o t t e dl i n e s1 3 4 - 1 3 7
d o u b l e - c l i c k i n g2 4 , 4 2 ,5 4 , 1 3 2
d u p l i c a t e3 5
D w i n d l e( f o n t )1 3 7 ,1 4 0
Ee d i t4 7e d i t i n g4 7 - 4 8 ,5 0 , 5 1 , 5 4 , 5 5 ,
5 7 - 6 6
e d i tb o x( g e o P a i n t )4 7 ,4 8 - 5 5
e l e c t r o n i cc i r c u i t s1 0 8
e l l i p s e s( g e o P a i n t ) 1 0 6 ,1 2 0 , 1 3 2E p s o nF X - 1 8 51 3 2
E p s o nF X - 8 51 3 0 ,1 3 1
e r a s e r ( g e o P a i n t ) 4 8 , 5 4 ,5 7 , 7 5 ,
1 0 2 ,1 3 2
e r r o rb o x2 1 8 ,2 2 3
f a u c e t ( g e o P a i n t ) 5 1 ,9 0 , 9 7 , 1 3 3 ,
2 6 5F I F Os t o r a g e2 4 8 ,2 7 7F i g u r e s( l i s t e d )v i i i - i x
f i l e3 5
f i l e s( G E O S )8 , 1 4 ,1 6 - 2 1 ,2 3 ,
f i l e s( n o n - G E O S )3 3f i l e s( u n d e rD O S )2 5 2
f i l es t r u c t u r e1 4 6 ,2 5 2 - 2 5 9 , 2 6 3 -
2 6 4 ,2 6 9f i l et y p e s3 3 , 1 4 8 ,1 6 3 , 1 7 3 , 1 7 7 ,
2 5 2 - 2 5 6 ,2 6 2
F I L E M A S T E R 3 ,1 2 9 ,1 4 8 - 1 5 0 ,
1 6 0 , 1 6 7 ,1 7 1 - 1 7 7 ,1 8 9 ,2 0 3 , 2 4 2 ,
2 6 8 - 2 7 3
F I L E M A S T E Rm e n u1 7 1
F I L E M A S T E R( p r g .l i s t i n g )1 4 9
f i l e n a m e s1 7 , 3 5 , 4 4 , 1 3 1 , 1 6 2 ,
1 6 3 , 1 6 7 , 1 7 2 , 1 9 4 ,2 3 0 ,2 6 9f i r eb u t t o n1 2
f o n t2 6
f o n t( g e o P a i n t )4 9f o n t s 2 1 ,2 6 - 2 8 ,3 3 , 4 9 , 5 4 , 5 5 ,
6 5 , 6 7 ,8 4 ,9 0 , 1 2 1 ,1 3 7 - 1 4 3 ,2 6 2
f o r m a t3 9f o r m a t t i n gG E O Sd i s k e t t e s8 , 3 9
f o r m a t s ( g e o W r i t e )6 5 - 6 6 ,1 2 8 ,
1 3 7 - 1 4 3
Gg e o P a i n t3 , 1 7 ,2 4 ,3 6 ,4 2 ,4 4 - 5 6 ,
5 3 - 5 6 ,5 8 ,6 1 - 6 4 ,1 3 1 - 1 3 6
g e o P a i n ti n f o4 5
g e o s1 7 , 4 5g e o s i n f o3 4G E O SH i ,3 , 4 ,7 - 2 5
G E O SB O O T9 , 1 4 , 1 6 ,8 7 , 1 0 0 ,
1 0 8 ,1 7 3 ,2 5 3 ,2 6 2G E O Sf i l e s t r u c t u r e2 5 2 , 2 5 6 ,
2 5 8 ,2 5 9
G E O SK E R N A L1 4 - 1 5
G E O SU s e r ' sG u i d e7G E O SV I . 03 , 2 5 8
G E O SV 1 . 23 , 2 4 ,5 8g e o W r i t e1 7 , 2 0 - 2 1 , 2 3 - 2 6 ,2 8 ,
3 2 , 3 3 , 3 5 , 5 7 - 6 6 ,7 2 - 8 1 ,8 7 ,
1 3 7 - 1 4 3 ,1 7 7g h o s ti c o n1 5 ,2 0 ,2 3
g o t o p a g e6 4g r a p h i c s3 6 , 5 6 , 6 2 , 6 4 , 6 8 ,7 6 -8 1 , 8 7 , 8 8 , 1 2 0 , 1 3 0 ,2 1 4 ,2 3 1g r a p h s8 7 - 9 9 ,1 3 4
2 9 0
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 302/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
Hh a r d c o p y 4 ,4 1 , 4 5 , 4 9 , 6 6 , 1 1 5 ,1 3 3 ,1 4 3 ,2 4 8
h i d ep i c t u r e s6 4h i g h l i g h t i n gt e x t1 4 1
I C ( i n t e g r a t e dc i r c u i t )1 0 9 - 1 1 0i c o n s4 , 7 - 9 ,1 2 - 1 7 ,2 0 - 2 4 ,3 2 ,
3 6 , 4 0 - 4 3 ,4 5 , 4 9 , 5 0 - 5 5 ,5 8 ,6 8 - 7 0 ,7 2 , 7 3 ,7 9 ,8 0 , 8 2 ,8 9 , 9 0 ,
i c o n s( c u s t o m )1 4 8 - 1 7 8 , 1 8 9 ,i n d i r e c ta d d r e s s i n g2 2 9 ,2 3 7
i n f o3 5i n f ob o x1 4 , 1 5 ,3 2 , 3 5 , 3 7 , 4 1 ,
1 2 9 , 1 4 8 , 1 4 9 , 1 6 3 ,1 6 6 - 1 7 0 ,1 7 3 - 1 7 5 ,1 7 7 , 1 8 9 ,2 0 4 ,2 5 6 ,2 6 5I N F Os e c t o r2 5 4 - 2 5 6 ,2 6 5 , 2 6 9 ,2 7 1
i n v e r t5 1
I R Q( I n t e r r u p tR e q u e s t )1 8 4 - 1 8 6 ,2 1 4 , 2 4 4 , 2 4 5 , 2 7 7 ,2 7 8i t e m s( m e n u )8 , 3 2
j o bc o d e2 2 6 ,2 2 8 - 2 3 0 ,2 3 2 , 2 3 3 ,2 3 6 ,2 3 9
j o b l o o p2 1 6 ,2 4 7 - 2 5 12 7 2 ,2 7 7j o bs t r u c t u r e2 4 7 - 2 5 1j o bt a b l e2 5 0j o y s t i c k p o i n t e r 2 4 , 6 5 ,8 8 ,9 0j u m p c o m m a n d s2 3 5
KK E R N A L1 7 8 - 1 8 0 , 1 9 7 - 1 9 9
k e y b o a r d4 0
L e t t e r s1 9 ,2 0 ,2 2 - 2 4 ,2 8
l o a d i n gG E O S9 , 1 1 , 1 8 , 2 4 , 3 5 ,
5 8 , 6 0 , 6 4 , 7 2 , 1 2 5 ,1 2 6 , 1 2 8 ,
2 1 4 ,2 5 6 ,2 5 8 ,2 6 4 ,2 6 6 ,2 6 7 ,2 7 2l o a d i n gp r g ' s i nm a c h i n el a n g u a g e1 2 9 , 1 9 7 , 1 9 8 ,2 0 3 ,2 5 3 - 2 5 6l o a dp r o b l e m s( G E O S )1 2 5
Mm a r g i n s( g e o W r i t e )5 9 , 6 6 , 6 7 ,1 3 8 - 1 4 2
m e m o r yl o c a t i o n s( G E O S )2 7 4 - 2 7 8m e n u8 , 1 2 - 1 4 ,1 7 , 1 9 ,2 4 ,2 6 - 2 8
m i r r o rx 5 1
m i r r o ry 5 1
m o d e m3 9
m o n i t o r( m a c h i n el a n g u a g e )1 4 6 - 1 4 8 ,2 0 3 - 2 0 4 ,2 1 4 , 2 3 4 , 2 4 1 ,
2 5 6 ,2 6 1 ,2 6 3 ,2 6 5 ,2 6 6 ,2 6 8 ,2 7 1 ,2 7 3m o n i t o r( s c r e e n )8
m o v e5 1
Nn o r m a le d i t4 8
n o t e p a d3 4N o t e p a d7 1 - 7 3 ,1 4 4 - 1 4 7
Oo p e n8 , 1 2 , 1 3 , 1 7 ,2 2 - 2 4 ,3 5 ,4 3o p e r a t i n gs y s t e m1 2 5 , 1 9 7 ,2 0 3 ,
2 1 4 ,2 1 7 ,2 1 8 ,2 2 1 ,2 2 6 ,2 3 4 ,2 4 4 ,2 6 7
o p t i o n s1 9 ,2 4 ,4 7 ,4 9 ,5 3 , 5 8 ,
6 4 ,9 7 , 1 2 8 ,1 2 9 , 1 3 3 ,1 7 1
p a g eb r e a k6 4p a g em a p4 4
p a s t e4 7
p a t t e r n s ( g r a p h i c )5 7 , 8 9 , 9 0 - 9 1 ,9 7 ,1 3 3 - 1 3 6 , 2 2 4 ,2 4 0P C b o a r d1 0 8 - 1 1 0p e n c i l ( g e o P a i n t ) 4 4 ,4 8 , 5 3 - 5 4 ,
2 9 1
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 303/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
7 5 ,8 9 , 1 0 1 , 1 2 1 ,1 3 2
p h o t om a n a g e r3 4
P h o t oM a n a g e r7 6 - 7 9
p h o t os c r a p4 7
p i x e le d i t4 8 , 5 0 ,5 4 ,7 5 , 8 9 ,
1 0 2 ,1 0 5 ,1 0 9 ,1 1 0 ,1 1 2 - 1 1 8 ,1 3 3p i x e l s4 6 , 4 8 ,5 2 ,5 4p o i n ts i z e s( f o n t )2 6p o i n t e r4 , 8 , 1 2 , 1 4 , 1 5 , 1 7 ,1 8 ,
2 0 , 7 4 - 7 7 ,2 7 7p o i n t e r( e d i t i n g )7 5
p o i n t e rs p e e d1 7
P O K E S1 2 9 ,1 9 7
p o s i t i o nl i n e( g e o W r i t e )5 9P r e f e r e n c eM a n a g e r1 7 - 1 8 ,3 4 , 6 8 ,
7 3 - 7 5 ,8 8
p r e f e r e n c e m g r3 4
p r e f e r e n c e s7 7 ,2 3 4
p r e v i e wm o d e4 6 , 6 0 , 9 7 , 9 8 ,
1 0 7 , 1 1 9 ,1 4 2
p r i n t3 6 , 4 6 , 6 1 , 1 2 1 ,1 3 0 - 1 3 2 ,
1 3 7 , 1 4 1 , 1 4 7 , 1 7 1 , 1 7 7 ,2 6 3p r i n t e r7 , 3 2 , 3 4 - 3 6 ,4 1 , 4 5 , 4 6 ,
4 9 , 6 0 , 6 1 , 8 7 , 1 0 0 , 1 0 8 ,1 2 6 ,1 3 0 - 1 3 2 ,1 4 7
p r i n t e r( i n i t i a l i z i n g )1 3 0 , 1 6 0 , 2 1 4p r i n t i n g4 1 , 4 5 , 6 0 ,1 2 9 - 1 3 0p r o g r a mf i l e3 3
p r o g r a m m i n gt h ec l o c k1 7 8
Q - L I N K( Q u a n t u m L i n k ) 3 9
q u i t4 3 , 6 0 ,1 2 8
Rr e c o v e r4 6
r e c t a n g l e s ( g e o P a i n t )5 5 , 1 2 0 ,1 2 1 ,1 3 2
r e f o r m a t t i n g( g e o W r i t e )1 4 0
r e g i s t e r s1 3 0 , 1 7 8 , 1 7 9 ,2 0 3 ,2 1 5 ,2 3 8 ,2 4 5 ,2 4 6
r e n a m e1 3 ,3 5 , 3 8 , 4 6 , 6 1 ,2 1 8
r e s e t3 9R E S E T1 9 7 ,2 7 1
r e s t a r t i n gG E O S1 2 6 - 1 2 8 ,1 6 5< R E S T O R E >8 - 1 0 ,3 9 ,2 8 4< R E T U R N >k e y7 - 9 ,1 1 ,1 4R o m a( f o n t )2 6 , 2 8 , 5 5r o t a t i n g( g e o P a i n t )1 1 8 ,1 4 7
r u l e r( g e o P a i n tm e a s u r e m e n t s )5 2
s c a l i n g ( g e o P a i n t )1 3 1
s c h e m a t i cd i a g r a m s( g e o P a i n t )1 1 1
S C R A T C H1 2 9
s c r e e n4 , 7 - 9 ,1 1 - 1 3 ,1 5 - 1 7s c r o l lb o x3 7 , 4 3 ,4 7 , 4 8 , 5 0 , 5 9 ,
6 7 , 8 4 , 9 4 , 1 0 6 , 1 1 5 - 1 1 7 , 1 2s e c u r i t y1 4 7
S E Q U E N TI A L ( f i l e t y p e ) 1 7 3 ,2 5 3 ,2 5 4 ,2 5 6 ,2 6 3 ,2 6 9
s e l e c tp r i n t e r3 4
s e l e c ti n p u t3 4
s i n g l e - s t e ps i m u l a t o r( S S T )2 0 3 - 2 1 7s o u r c ed i s k9
s p e c i a l3 9
s p r i t e s 4 ,4 5 , 1 6 0 ,1 7 7
s t a r t i n gg e o P a i n t4 2s t a r t i n gG E O S7 - 2 3
s t a r t i n gg e o W r i t e5 7s t a t u sb o x8 , 4 4 , 5 0 - 5 4 ,5 6 ,
9 0 - 9 7 ,1 0 3 , 1 2 7 , 1 8 4 ,1 8 5 ,2 1 5 ,
2 1 7 , 2 4 5 , 2 4 8 - 2 4 9 , 2 7 6
s t a t u sl a m p( d i s k d r i v e )8s t r i n g s2 2 1 , 2 2 8 , 2 2 9 ,2 3 1 ,2 5 6s u b - m e n u8 , 1 2 , 1 3 ,1 9
S W A Pf i l e1 8 ,6 8 , 1 2 8 ,2 1 4 , 2 5 6 ,2 5 8 ,2 7 0 - 2 7 2
s y s t e mf i l e3 3
s y s t e mI R Q1 8 4 - 1 8 6 , 2 1 4 ,2 4 4 ,
2 4 5 , 2 7 7 ,2 7 8
2 9 2
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 304/314
A b a c u sS o f t w a r e G E O SI n s i d ea n dO u t
t a b s1 4 ,1 5 ,5 9 ,6 6 ,6 7 , 1 4 1 ,1 4 3
t e x tc u r s o r1 8 ,2 6 , 5 5 , 5 9 ,6 1 - 6 7t e x t( g e o P a i n t )5 4
t e x t m a n a g e r3 5T e x tM a n a g e r2 3 , 8 0 - 8 6
t e x t s c r a p6 2
T I M E S E T1 8 ,7 6
T o D e b2 5 , 7 9 ,8 0t o o l k i t( g e o P a i n t )4 4 ,4 9 - 5 6t r a c k( d i s k e t t e )1 4 6 , 1 6 1 - 1 6 3 ,1 6 7 ,
1 7 3 , 1 9 9 ,2 5 2 - 2 5 5 ,2 5 8 , 2 6 0 ,
2 6 3 - 2 6 6 ,2 6 9
t r a c k / s e c t o r( G E O Sd i s k e t t ef o r m a t )1 4 6 ,2 6 3
t r o u b l e s h o o t i n g1 2 6
Uu n d e r l i n e9 2 , 1 3 7
u n d o5 7U n i v e r s i t y( f o n t )5 5 ,1 0 2 ,1 1 0
u p d a t e4 6 ,6 0 , 6 1 ,2 4 8
W o r k1 2 0 , 2 2 , 2 3 , 2 8w o r kd i s k e t t e7 , 9 - 1 6 ,1 8 , 1 9 ,2 2w r i t ep r o t e c tt a b1 4w r i t ep r o t e c tb o x1 5W Y S I W Y Gd i s p l a y1 3 7 - 1 4 1
5 0 - 6 0H z c u r r e n t 1 2 5 ,1 7 8 - 1 7 9 ,
1 9 7 - 1 9 9
6 4 CH i
v a l i d a t e3 8 , 1 2 9
v a l i d a t e( D O Sc o m m a n d )3 8 ,
1 2 9v i d e oc h i p2 1 4 , 2 4 4
v i e w3 6
V L I R( f i l et y p e )1 4 6 , 1 7 3 ,2 5 3 ,
2 5 6 ,2 6 3 ,2 6 4
V l . Oa n dV 1 . 2( G E O Sv e r s i o n s )3 ,2 5 8 - 2 6 1
Ww a s t eb a s k e tH i ,7 , 3 2w e d g i n gi n t oG E O S2 6 8w i n d o w s8 , 1 0 ,1 3 - 1 5 ,1 7 - 2 3w i n d o wt e c h n i q u e s2 1 8 - 2 4 3w i n d o w s( c u s t o m )2 1 8 - 2 4 3
w o r dw r a p6 5
2 9 3
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 305/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 306/314
O p t i o n a lD i s k e t t e
G E O SI n s i d e& O u t
O p t i o n a ld i s k e t t e
F o ry o u rc o n v e n i e n c e ,t h ep r o g r a ml i s t i n g sc o n t a i n e di n t h i sb o o ka r e
a v a i l a b l eo n a n 1 5 4 1 / 1 5 7 1f o r m a t t e d f l o p p yd i s k .Y o us h o u l do r d e rt h e
d i s k e t t ei f y o uw a n tt o u s et h eb o o k ' sp r o g r a m s ,b u td o n ' tw a n tt o t y p e
t h e mi n f r o mt h el i s t i n g si n t h eb o o k .
A l lp r o g r a m so n t h ed i s k e t t eh a v e b e e nf u l l y t e s t e d .Y o uc a n c h a n g et h e
p r o g r a m sf o ry o u rp a r t i c u l a rn e e d s .T h ed i s k e t t ei s a v a i l a b l ef o r$ 1 4 . 9 5p l u s
$ 2 . 0 0( $ 5 . 0 0f o r e i g n ) f o rp o s t a g ea n dh a n d l i n g .
W h e no r d e r i n g ,p l e a s eg i v ey o u rn a m ea n ds h i p p i n ga d d r e s s .E n c l o s ea
c h e c k ,m o n e yo r d e ro r c r e d i tc a r di n f o r m a t i o n .M a i ly o u ro r d e rt o :
A b a c u sS o f t w a r e
P . O .B o x7 2 1 9
G r a n dR a p i d s ,M I4 9 5 1 0
O rf o rf a s ts e r v i c e ,c a l l( 6 1 6 )2 4 1 - 5 5 1 0 .
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 307/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 308/314
f r o mA b a c u s
I S o f l w a r e
H i lB A S I C7 . 0I N T E R N A L S
A D A T AB E C K E R D O O KP U B L I S H E DB Y
A b a c u sB f i f f l f f l d S o f lw a r e A b a c u s|
D e t a i l e dg u i d e p r e s e n t st h e 1 2 8 ' sG e t a l l t h e I n s i d eI n f o r m a t i o no no p e r a t i n gs y s t e m ,e x p l a i n s g r a p h i cB A S I C7 . 0 .T h i s e x h a u s t i v eh a n d -c h i p s ,M e m o r y M a n a g e m e n tU n i t ,8 0 b o o ki s c o m p l e t ew i t hc o m m e n t e dc o l u m ng r a p h i c sa n dc o m m e n t e d B A S I C7 . 0 R O Ml i s t i n g s .C o m i n gR O Ml i s t i n g s . S O O p p$ 1 9 . 9 5 S u m m e r ' 8 6 . $ 1 9 . 9 5
F i l l e dw i t hi n f o( o re v e r y o n e .C o v e r s8 0 c o l u m nh i - r e sg r a p h i c s ,w i nd o w i n g ,m e m o r yl a y o u t ,K e r n a lr o u t i n e s ,s p r i t e s ,s o f t w a r e p r o
t e c t i o n , a u t o s t a r t i n g .3 O 0 p p$ 1 9 . 9 5
I n s i d e r s 'g u i d ef o r n o v i c e& a d - L e a r n f u n d a m e n t a l so f C A Dw h i l ev a n c e du s e r s .C o v e r ss e q u e n t i a l& d e v e l o p i n gy o u ro w ns y s t e m .D e s i g nr e l a t i v ef i l e s ,& d i r e c ta c c e s sc o m - o b j e c t so n y o u rs c r e e nt o d u m pt o am a n d s .D e s c r i b e sD O Sr o u t i n e s ,p r i n t e r .I n c l u d e sl i s t i n g sf o r ' 6 4 w i t hC o m m e n t e dl i s t i n g s . $ 1 9 . 9 5S i m o n ' sB a s i c . 3 0 0 p p$ 1 9 . 9 5
C O M M O D O R Er f l t o W d S f tT h ed e f i n i t i v e1 1 / J ( f ? &B A S I Cs o u r c eU C ± k ^ M
B A S I CT r a i n i n gG u i d e '
A D A T A• B E C K E RB O O KP U B L I S H E DB Y
A b a c u st h U t W i S o f t w a r cA Q A T A - B E C K E I
A b a c u s
P U B L I S H E DB Y
[ S o f t w a r eA D A T A
A b a c u s ! S o f t w a r e
I n t r o d u c t i o n t op r o g r a m i n g :p r o b l e ma n a l y s i s ;t h o r o u g hd e s c r i p t i o no f a l l
B A S I C c o m m a n d sw i t hh u n d r e d so f
e x a m p l e s ;m o n i t o rc o m m a n d s ;u t i l
i t i e s ;m u c hm o r e . $ 1 6 . 9 5
P r e s e n t s ,d o z e n so f p r o g r a m m i n gq u i c k - h i t t e r s .E a s ya n d u s e f u lt e c h n i q u e so n t h e o p e r a t i n g s y s t e m ,s t a c k s ,z e r o - p a g e ,p o i n t e r s , t h eB A S I Ci n t e r p r e t e ra n dm o r e .$ 1 6 . 9 5
E s s e n t i a lg u i d ef o re v e r y o n ei n t e r
e s t e di n C P / Mo n t h e 1 2 8 .S i m p l ee x p l a n a t i o no f t h eo p e r a t i n gs y s t e m ,m e m o r yu s a g e ,C P / Mu t i l i t yp r og r a m s , s u b m i tf i l e s& m o r e . $ 1 9 . 9 5
A N A T O M YO F C - 6 4I n s i d e r ' sg u i d et o t h e
' 6 4i n t e r n a l s .G r a p h i c s ,s o u n d ,I / O ,k e r n a l ,
m e m o r ym a p s .m o r e .C o m p l e t ec o m m e n t e dR O Ml i s t i n g s . 3 0 0 p p$ 1 9 . 9 5
A N A T O M YO F 1 S 4 L 1 & D R I V EB e s t
h a n d b o o k o nf t O T ) £ * m M k i sa l l . M a n y
e x a m p l e sa n dv f M s f l i W i H yc o m m e n t e d1 5 4 1R O Ml i s t l n g £ * r S O O p p$ 1 9 . 9 5
M A C H I N EL A N G U A G EC - 6 4L e a r n
6 5 1 0 c o d ew r i t e f a s tp r o g r a m s .M a n ys a m
p l e sa n d l i s t i n g s f o rc o m p l e t ea s s e m b l e r ,
m o n i t o r ,& s i m u l a t o r . 2 0 0 p p$ 1 4 . 9 5
G R A P H I C SB O O KC - 6 4• b e s t r e f e r e n c e
c o v e r s b a s i ca n d a d v a n c e dg r a p h i c s .
S p r i t e s ,a n i m a t i o n ,H i r e s , M u l t i c o l o r ,
l i g h t p e n .3 D - g r a p h i c s , I R Q .C A D ,p r o
j e c t i o n s ,c u r v e s ,m o r e . 3 9 0 p p$ 1 9 . 9 5
T R I C K S& T I P SF O RC - 6 4C o l l e c t i o no f
e a s y - t o - u s e t e c h n i q u e s :a d v a n c e dg r a p h i c s ,
i m p r o v e dd a t ai n p u t ,e n h a n c e dB A S I C ,
C P / M ,m o r e . 2 7 5 p p$ 1 9 . 9 5
1 5 4 1 R E P A I R &M A I N T E N A N C EH a n d b o o kd e s c r i b e st h e d i s k d r i v eh a r d
w a r e .I n c l u d e ss c h e m a t i c sa n dt e c h n i q u e st o k e e p1 5 4 1r u n n i n g . 2 0 0 p p$ 1 9 . 9 5
A D V A N C E DM A C H I N EL A N G U A G EN o t c o v e r e de l s e w h e r e :- v i d e oc o n t r o l l e r ,
i n t e r r u p t s ,t i m e r s , c l o c k s ,I / O ,r e a lt i m e ,
e x t e n d e dB A S I C ,m o r e . 2 1 0 p p$ 1 4 . 9 5
P R I N T E RB O O KC - 6 4 / V I C - 2 0U n d e rs t a n dC o m m o d o r e ,E p s o n - c o m p a t t o l ep r i n t
e r sa n d 1 5 2 0p l o t t e r .P a c k e d :u t i l i t i e s ;g r a
p h i c sd u m p ;3 D - p l o t ;c o m m e n t e dM P S 8 0 1R O Ml i s t i n g s ,m o r e . 3 3 0 p p$ 1 9 . 9 5
S C I E N C E / E N G I N E E R I N GO N C - 6 4 I n
d e p t hi n t r o t oc o m p u t e r si n s c i e n c e .T o p i c s :
c h e m i s t r y ,p h y s i c s ,b i o l o g y ,a s t r o n o m y ,
e l e c t r o n i c s , o t h e r s . 3 5 0 p p$ 1 9 . 9 5
C A S S E T T EB O O K C - 6 4 / V I C - 2 0
C o m p r e h e n s i v eg u i d e ;m a n ys a m p l e
p r o g r a m s . H i g hs p e e do p e r a t i n gs y s t e mf a s tf i l el o a d i n ga n ds a v i n g .2 2 5p p $ 1 4 . 9 5
I D E A SF O RU S EO N C - 6 4T h e m e s :
a u t oe x p e n s e s ,c a l c u l a t o r ,r e c i p ef i l e ,s t o c k
l i s t s ,d i e t p l a n n e r ,w i n d o wa d v e r t i s i n g ,
o t h e r s .I n c l u d e sl i s t i n g s . 2 0 0 p p$ 1 2 . 9 5
C O M P I L E RB O O KC - 6 4 / C - 1 2 8A l ly o u
n e e dt o k n o wa b o u tc o m p i l e r s :h o wt h e y
w o r k ; d e s i g n i n ga n d w r i t i n gy o u r o w n ;
g e n e r a t i n gm a c h i n ec o d e . W i t h w o r k i n g
e x a m p l ec o m p i l e r . S O O p p$ 1 9 . 9 5
A d v e n t u r eG a m e w r l t e r ' tH a n d b o o kS t e p - b y - 6 t e pg u i d et o d e s i g n i n ga n dw r i t i n g
y o u ro w na d v e n t u r eg a m e s .W i t h a u t o m a t e d
a d v e n t u r eg a m eg e n e r a t o r .2 0 0 p p$ 1 4 . 9 5
P E E K S &P O K E SF O RT H EC - 6 4
I n c l u d e si n - d e p t he x p l a n a t i o n so f P E E K ,P O K E ,U S R ,a n do t h e rB A S I C c o m m a n d s .
L e a r nt h e" i n s i d e "t r i c k st o g e tt h em o s to u t
o f y o u r ' 6 4 . 2 0 0 p p$ 1 4 . 9 5
O p t i o n a l D i s k e t t e sf o r b o o k sF o r y o u rc o n v e n i e n c e ,t h e p r o g r a m sc o n t a i n e di n e a c ho f o u rb o o k sa r ea v a i l
a b l eo n d i s k e t t e t os a v e y o ut i m ee n t e r i n gt h e mf r o m y o u r k e y b o a r d .S p e c i f yn a m eo f
b o o kw h e no r d e r i n g . $ 1 4 . 9 5e a c h
C - 1 2 8 a n d C - 6 4o r ot r a d e m a r k so f C o m m o d o r eB u s i n e s sM a c h i n e sI n c .
A b a c u sm mS o f t w a r eP . O .B o x7 2 1 9D e p t . M 9 G r a n dR a p i d s ,M l4 9 5 1 0- T e l e x7 0 9 - 1 0 1■P h o n e( 6 1 6 )2 4 1 - 5 5 1 0O p t i o n a ld i s k e t t e s a v a i l a b l ef o ra l lb o o kt i t l e s- $ 1 4 . 9 5e a c h .O t h e rb o o k s& s o f t w a r ea l s oa v a i l a b l e .C a l lf o rt h en a m eo f y o u r
n e a r e s td e a l e r .O ro r d e rd i r e c t l yf r o mA B A C U Su s i n gy o u rM C ,V i s ao r A m e xc a r d .A d d$ 4 . 0 0 p e ro r d e rf o rs h i p p i n g .F o r e i g n
o r d e r sa d d* 1 0 . 0 0p e rb o o k .C a l ln o wo rw r i t ef o ry o u rf r e e c a t a l o g .D e a l e ri n q u i r e sw e l c o m e - o v e r 1 4 0 0d e a l e r s n a t i o n w i d e .
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 309/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 310/314
B A S I CC o m p i l e r
G i v ey o u rB A S I Cp r o g r a m st h es p e e da n dp e r f o r m a n c et h e yd e s e r v e
T h ec o m p l e t ec o m p i l e ra n d d e v e l o p m e n t p a c ka g e .S p e e d u py o u r p r og r a m s5 x t o 3 5 x .M a n yo p t i o n s :f l e x i b l em e m o r ym a n a g e m e n t ;c h o i c eo f
c o m p i l i n gt o m a c h i n ec o d e ,c o m p a c tp - c o d eo r
b o t h .' 1 2 8v e r s i o n :4 0 o r
8 0c o l u m nm o n i t o r o u t p u t
a n d F A S T - m o d eo p e r at i o n .' 1 2 8C o m p i l e r ' se xt e n s i v e8 0 - p a g ep r og r a m m e r ' sg u i d ec o v e r sc o m p i l e rd i r e c t i v e sa n do p t i o n s ,t w o l e v e l s o f
o p t i m i z a t i o n ,m e m o r yu s a g e ,I / Oh a n d l i n g ,8 0 c o l u m nh i - r e sg r a p h i c s ,f a s t e r ,
h i g h e rp r e c i s i o nm a t hf u n c t i o n s ,s p e e da n d s p a c es a v i n gt i p s ,m o r e .A g r e a tp a c k a g et h a tn o s o f t w a r el i b r a r ys h o u l db e w i t h o u t .1 2 8C o m p i l e r $ 5 9 . 9 5
6 4 C o m p i l e r $ 3 9 . 9 5
F o r s c h o o lo r s o f t w a r e
d e v e l o p m e n t . L e a r nC o n
y o u rC o m m o d o r ew i t ho u ri n -
d e p t ht u t o r i a l .C o m p i l eC p r o
g r a m si n t o f a s t m a c h i n e
l a n g u a g e .C - 1 2 8v e r s i o nh a s
a d d e df e a t u r e s :U n i x ™ - l i k e
o p e r a t i n g s y s t e m ;6 0 KR A Md i s k f o r f a s te d i t i n ga n dc o m p i l i n gL i n k e rc o m b i n e s
u p t o 1 0 m o d u l e s ;C o m b i n e
M / L a n dC u s i n gC A L L ;5 1 K
a v a i l a b l ef o r o b j e c tc o d e ;
F a s t l o a d i n g( 8 s e c .1 5 7 1 ,1 8 s e c . 1 5 4 1 ) ;T w os t a n d a r dI / O l i b r a r y sp l u s
t w oa d d i t i o n a ll i b r a r i e s — m a t hf u n c t i o n s( s i n ,c o s ,s q r t , e t c . )& 2 0 +g r a p h i c
c o m m a n d s( l i n e ,f i l l ,d o t ,e t c . ) . C - 1 2 8$ 5 9 . 9 5
C - 6 4 $ 5 9 . 9 5
E a s i l yc r e a t ep r o f e s s i o n a l
h i g h q u a l i t yc h a r t sa n d
g r a p h sw i t h o u tp r o g r a m m i n g .
Y o uc a ni m m e d i a t e l yc h a n g e
t h e s c a l i n g ,l a b e l i n g , a x i s ,
b a r f i l l i n g ,e t c . t o s u i ty o u r
n e e d s .A c c e p t sd a t af r o m
C a l c R e s u l ta n d M u l t i P l a n .
C - 1 2 8v e r s i o nh a s 3 X t h e
r e s o l u t i o no f t h e ' 6 4 v e r s i o n .
O u t p u t st o m o s tp r i n t e r s .
C - 1 2 8 $ 3 9 . 9 5
C - 6 4 $ 3 9 . 9 5
P o w e r P l a n
O n eo f t h e m o s tp o w e r f u ls p r e a d s h e e t sw i t h i n t e g r a t e d
g r a p h i c s .I n c l u d e sm e n uo r k e y w o r ds e l e c t i o n s ,o n l i n eh e l p
s c r e e n s ,f i e l dp r o t e c t i o n ,w i n d o w i n g ,t r i gf u n c t i o n sa n dm o r e .
P o w e r G r a p h ,t h e g r a p h i c sp a c k a g e ,i s i n c l u d e dt o c r e a t e
i n t e g r a t e dg r a p h sa n dc h a r t s . C - 6 4$ 3 9 . 9 5
T e c h n i c a lA n a l y s i sS y s t e mf o rt h eC - 6 4
A d aC o m p i l e rf o rt h eC - 6 4V i d e o B a s i cL a n g u a g ef o rt h eC - 6 4
$ 5 9 . 9 5
$ 3 9 . 9 5
$ 3 9 . 9 5
R e m a r k a b l ye a s y - t o - u s e
i n t e r a c t i v ed r a w i n gp a c ka g ef o ra c c u r a t e g r a p h i cd e s i g n s .N e wd i m e n s i o ni n g f e a t u r e st o c r e a t e
e x a c ts c a l e d o u t p u tt o a l l
m a j o rd o t - m a t r i xp r i n t e r s .
E n h a n c e dv e r s i o na l l o w s
y o ut o i n p u t v i ak e y b o a r do r h i g hq u a l i t yl i g h t p e n .T w og r a p h i cs c r e e n sf o r
C O P Y i n gf r o mo n et o t h e
o t h e r .D R A W ,L I N E ,B O X ,C I R C L E ,A R C ,E L L I P S Ea v a i l a b l e .F I L Lo b j e c t sw i t h p r e s e l e c t e dP A T
T E R N S ;a d d T E X T ;S A V Ea n dR E C A L Ld e s i g n st o / f r o md i s k .D e f i n ey o u ro w nl i b r a r yo f s y m b o l s / o b j e c t sw i t ht h ee a s y - t o - u s eO B J E C TM A N A G E M E N TS Y S T E M t t 1 0 4 t b j t $ 9 9
y y j y
S Y S T E M - s t o r eu p t o 1 0 4s e p a r a t eo b j e c t s .
L e ty o u r* 1 2 8 o r ' 6 4s p e a kP a s c a l
M A NC - 1 2 8$ 5 9 . 9 5
C - 6 4 $ 3 9 . 9 5
N o t j u s t a c o m p i l e r ,b u t a
c o m p l e t es y s t e mf o rd e v e l o p
i n g a p p l i c a t i o n si n P a s c a l
w i t hg r a p h i c sa n d s o u n d
f e a t u r e s .E x t e n s i v ee d i t o r
w i t hs e a r c h ,r e p l a c e , a u t o ,
r e n u m b e r ,e t c .S t a n d a r dJ &
W c o m p i l e rt h a tg e n e r a t e s
f a s t m a c h i n ec o d e .I f y o u
w a n tt o l e a r nP a s c a lo r t o
d e v e l o ps o f t w a r e u s i n g t h e
b e s tt o o l sa v a i l a b l e - S U P E R
P a s c a li s y o u rf i r s tc h o i c e .
C - 6 4 $ 5 9 . 9 5
O T H E RT I T L E SA V A I L A B L E :C O B O LC o m p i l e r
N o wy o u c a nl e a r nC O B O L ,t h a j j f c s tw i d e l yu s e d c o m m e r c i a l
p r o g r a m i n gl a n g u a g e ,a n d ^ m P m f l p Lo n y o u r6 4 .C O B O Li s e a s yt o l e a r nb e c a u s ei f ? ^ X y J $ £r e a d .C O B O LC o m p i l e rp a c k a g ec o m e sc o m p l e t d g ^ f t nE d i t o r ,C o m p i l e r ,I n t e r p r e t e ra n dS y m b o l i c D e b u g g e r . C - 6 4$ 3 9 . 9 5
P e r s o n a lP o r t f o l i oM a n a g e r
C o m p l e t ep o r t f o l i om a n a g e m e n ts y s t e mf o rt h e i n d i v i d u a lo r
p r o f e s s i o n a li n v e s t o r . E a s i l ym a n a g ey o u rp o r t f o l i o s ,o b t a i n
u p - t o - t h e - m i n u t eq u o t e sa n d n e w s ,a n d p e r f o r ms e l e c t e d
a n a l y s i s .E n t e rq u o t e sm a n u a l l yo r a u t o m a t i c a l l yt h r o u g h
W a r n e r C o m p u t e rS y s t e m s . C - 6 4$ 3 9 . 9 5
X p e r
X P E Ri s t h ef i r s t" e x p e r ts y s t e m "f o rt h eC - 1 2 8 a n dC - 6 4 .W h i l e
o r d i n a r yd a t ab a s e s y s t e m sa r e g o o df o r r e p r o d u c i n gf a c t s ,
X P E Rc a nd e r i v ek n o w l e d g ef r o ma m o u n t a i no f f a c t sa n dh e l p
y o um a k ee x p e r td e c i s i o n s .L a r g ec a p a c i t y .C o m p l e t ew i t h
e d i t i n ga n dr e p o r t i n g . C - 6 4$ 5 9 . 9 5
C - 1 2 8a n dC - 6 4e r et r a d e m a r k so f C o m m o d o r eB u s i n e s sM a c h i n e sI n c .
U n i xi s a t r a d e m a r ko f B e f lL a b o r a t o r i e s
A b a c u s I f i S S o f t P . O .B o x7 2 1 9D e p t . M 9G r a n dR a p i d s ,M l4 9 5 1 0■T e l e x7 0 9 - 1 0 1■ P h o n e( 6 1 6 )2 4 1 - 5 5 1 0C a l ln o wf o rt h en a m eo f y o u rn e a r e s td e a l e r .O rt o o r d e rd i r e c t l yb yc r e d i tc a r d ,M C ,A M E Xo f V I S Ac a l l( 6 1 6 )2 4 1 - 5 5 1 0 .O t h e rs o f t w a r ea n db o o k sa r ea v a i l a b l e - C a l la n da s kf o ry o u rf r e ec a t a l o g .A d d$ 4 . 0 0f o rs h i p p i n gp e ro r d e r .F o r e i g n o r d e r sa d d$ 1 2 . 0 0p e ri t e m .D e a l e ri n q u i r e sw e l c o m e - 1 4 0 0 +n a t i o n w i d e .
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 311/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 312/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 313/314
8/6/2019 GEOS Inside and Out
http://slidepdf.com/reader/full/geos-inside-and-out 314/314