u$uex.get.buf

u$uex.get.buf


u$pl.mon.data Index Level u$uex.rel.buf
Syntax result = oconv( max.frames, "u$uex.get.buf" )
Category BASIC
Type User Exit
Description The "u$uex.get.buf" user exit gets a block of consecutive frames in memory as close to the specified "max.frames" as possible.

"result" is dynamic array which contains the following information:

result<1> = segment:offset
  segment: segment (hex) of requested buffer (0 for ap/pro)
  offset : offset (hex) of requested buffer (0 for ap/native)

result<2> = number.of.frames
Options
See Also u$uex.rel.buf
Example tape.buf = oconv(128,'u$uex.get.buf')
Warnings maximum frames allocated for Ap/native is 256, for Ap/Pro is 1024.
Compatibility
u$pl.mon.data Index Level u$uex.rel.buf