Logbase
Get Screen RAM Logical Base Address
Logbase() Opcode = 3
T his fu nction re tu rn s th e b eg in n in g ad d re ss o f lo gical scre en disp lay m em
o ry . T h e lo g ical scre en is th e are a in m e m o ry th a t T O S g ra p h ics fu n ction s
w rite s to . T h is is u su ally th e s am e are a as th e p h ysica l d isp lay , b u t ca n be
ch an g e d to u p d ate a g rap h ics d isp lay w ith o u t le ttin g th e u se r s ee th e u p
d a te p ro ces s .
C macro format
lo n g lo g scrad d r;
lo gs cra d d r = L o g b a s e ();
Machine language format
m o v e .w # 3 , - (sp )
trap # 1 4
ad d q .l # 2 ,s p
Inputs
N o n e
Results
DO lo gs cra d d r lo n g T h e sta rtin g a d d re ss of th e logical scree n (th e
3 2K m em o ry are a to w h ich gra p h ics fu nctio n s
w rite).
See also
P h y s b a s e (), S e ts c r e e n ()
194