EasyManua.ls Logo

Atari ST series - Page 201

Atari ST series
420 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Physbase
Get Screen RAM Physical Base Address
Physbase() Opcode = 2
T his fu n ctio n re tu rn s th e startin g a d d re ss of scre en d isp lay m e m o ry.
C macro format
lo n g scrad d r;
s c ra d d r = P h y s b a s e ();
Machine language format
m o v e .w # 2 , - (sp )
trap # 1 4
ad d q .l # 2 ,s p
Inputs
N o ne
Results
DO s crad d r lo n g A p o in te r to th e b eg in n in g o f th e 3 2K m em ory
block th a t is cu rre n tly d isp lay ed .
See also
L o g b a s e (), S e ts c re e n ()
193