home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / amos / ldos_demo / examples / ldos / mem-demo.amos / mem-demo.amosSourceCode
Encoding:
AMOS Source Code  |  1992-05-27  |  456 b   |  9 lines

  1. ' AMOS only returns the AVAILABLE mem, not the largest block.
  2. ' So if you try to allocate all free mem (for a diskcopy for example)
  3. ' you'll get an error since there are no block large enough. 
  4. '
  5. ' Llargest Free(CHIP|FAST) returns the value you can allocate. 
  6. ' CHIP=0, FAST=1 
  7. Print "                   CHIP         FAST"
  8. Print "Total available: ";Chip Free;"      ";Fast Free
  9. Print "Largest block:   "; Extension_10_02F4(0);"      "; Extension_10_02F4(1)