Find the maximum amount of free memory.
Call Parameters | Return Parameters | ||
---|---|---|---|
D0.B | $06 | D0.L | Corrupted? |
D1.L | Unused | D1.L | Maximum free space in bytes. |
D2.L | Unused | D2.L | Corrupted. |
D3.L | Unused | D3.L | Corrupted. |
A0.L | Unused | A0.L | Corrupted. |
A1.L | Unused | A1.L | Corrupted. |
A2.L | Unused | A2.L | Corrupted. |
A3.L | Unused | A3.L | Corrupted. |
No errors are returned by this trap.
The following shows the use of this call :
mfree moveq #06,d0 ; MT_FREE/SMS_FRTP trap #1 ; Find amount of free space <do stuff here with the number of bytes in D1.L> : :