get virtual memory SCULIB_MALLOC
If status is bad on entry the routine will return immediately.
If START_PTR is not equal to 0 then
It’s possible that VM may have already been allocated to START_PTR so issue an error message and set status bad.
else
Call PSX_MALLOC to allocate the required memory plus space for 2 integers at either end.
If status is good then Set START_PTR and END_PTR to point to the first and last bytes in the section of memory to be used and call SCULIB_CFILLI to set the sentinel integers at either end of the block to 37. SCULIB_FREE will check these for corruption when the time comes to free the VM.
end if