AMOSi:Intcall

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-7/Help_70.AMOS


Calls a command directly from the Intuition library.


Before using this function, it's vital to load the appropriate control parameters into the registers D0-D7 and A0-A3. This can be accomplished with the AREG() and DREG() variables from AMOS Basic.


When the function terminates, the contents of D0 will be returned back to your program.


result=Intcall(function_offset)