This vector allocates space on the maths stack at BV_RIP(A6).
Call Parameters | Return Parameters | ||
---|---|---|---|
D0.L | Unused | D0.L | Error code SMSQ - Corrupted QDOS. |
D1.L | Number of bytes required. | D1.L | Corrupted. |
D2.L | Unused | D2.L | Corrupted. |
D3.L | Unused | D3.L | Corrupted. |
A1.L | Pointer to maths stack | A1.L | Corrupted. |
A6.L | SupBASIC pointer | A6.L | May be changed. |
No errors QDOS. But for SMSQ -
ERR_OM | Out of memory. |
The example below shows the use of this vector to allocate space on the maths stack.
Get_space movea.w BV_CHRIX,A2 ; BV_CHRIX vector address. moveq #16,d1 ; Number of bytes required. jsr (a2) ; Make the call bne.s Error_handler ; Oops! (SMSQ only)