This trap returns information about the Operating System.
Call Parameters | Return Parameters | ||
---|---|---|---|
D0.B | $00 | D0.L | Undefined. Ignore return value. |
D1.L | Unused. | D1.L | Job id of current job. |
D2.L | Unused. | D2.L | QDOS/SMSQ version as ASCII string - '1.03' for example. |
A0.L | Unused. | A0.L | Address of system variables. |
No errors are returned by this trap. |
The example below shows the use of this trap call to obtain the address of the location of the system variables prior to some (unknown?) usage of that returned address.
info moveq #0,d0 ; MT_INF trap #1 ; Get system variables address into A0 ... ; Do something here.