EasyManua.ls Logo

Atari ST series - Page 287

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...
Fforce
Replace Standard File Handle
Fforce() Opcode = 70 ($46)
P erm its y o u to red ire ct I/O from a sta n d ard d ev ice h an d le to a u se r-d es ig
n ated o n e.
C macro format
w o rd sta tu s, s ta n d a rd , u ser;
sta tu s = F fo rce (s ta n d a rd , u ser);
Machine language format
m o v e.w
m o v e.w
m o v e.w
trap
a d d q .l
Inputs
u ser
sta n d a rd
Results
DO statu s
See also
F d u p ( )
u se r, - (sp )
sta n d ard , - (sp )
# $ 4 6 , - ( s p )
#1
# 6 ,s p
w o rd T h e h an d le o f th e u ser-d es ig n ated file
th a t re p lac es th e sta n d ard file,
w o rd T h e h an d le o f th e sta n d ard file to be re
p laced .
w o rd A 0 in dicate s s u cce ss, o th erw ise a n eg ativ e G E M
D O S e rro r n u m b er is retu rn ed .
279