home *** CD-ROM | disk | FTP | other *** search
-
-
- TABLE OF CONTENTS
-
- --background--
- rexx_exec.library/AvailMem
- rexx_exec.library/FlushMem
- rexx_exec.library/ReBoot
-
-
- --background-- --background--
-
- $(C): (1996, Rocco Coluccelli, Bologna)
- $VER: rexx_exec.library 37.00 (30.01.97)
-
- rexx_exec.library
-
- This sub-library of the rexxMOOS.library let ARexx programmers
- use some function from the system exec.library
-
- AvailMem()
- FlushMem()
- ReBoot()
-
- NOTES
-
- Is part of the MOOS package.
-
- TODO
-
- BUGS
-
- rexx_exec.library/AvailMem rexx_exec.library/AvailMem
-
- NAME
-
- AvailMem -- Returns information about the available memory.
-
- SYNOPSIS
-
- size = AvailMem(options)
-
- FUNCTION
-
- Use this function to know how much memory is currently
- available in the system or to returns the largest free block
- of memory, according with any class of memory (see below).
-
- INPUTS
-
- options - "Flags/N,Outstem,Largest=L/S"
-
- "Flags" - A bit mask to select which value we need
- to be returned:
-
- Mem_Any = 0
- Mem_Public = 1
- Mem_Chip = 2
- Mem_Fast = 4
- Mem_Local = 128
- Mem_24bitdma = 256
- Mem_Kick = 512
-
- "Outstem" - The function may fill a given stem with values
- of the available memory:
-
- <stem.>Mem_Any
- Any type of memory
-
- <stem.>Mem_Public
-
- <stem.>Mem_Chip
-
- <stem.>Mem_Fast
-
- <stem.>Mem_Local
- Memory that does not go away at RESET
-
- <stem.>Mem_24bitdma
- Memory within 24 bits of address and
- usable in DMA mode.
-
- <stem.>Mem_Kick
- Memory that can be used for KickTags
-
- "Largest" - Instead of return the total size of memory
- available, the function can return the largest
- contiguous block of free mem.
-
- RESULT
-
- The total size of available memory in the classes specified with
- flags, or the largest block size specifying the "Largest" option.
-
- EXAMPLE
-
- SAY AvailMem()
-
- NOTES
-
- Due to the effect of multitasking, the value returned may not
- actually be the amount of free memory available at that instant.
-
- SEE ALSO
-
- exec.library/AvailMem(), exec.library/AllocMem()
-
- rexx_exec.library/FlushMem rexx_exec.library/FlushMem
-
- NAME
-
- FlushMem -- Flush all class of memory.
-
- SYNOPSIS
-
- FlushMem()
-
- FUNCTION
-
- Force the system for freeing all un-needed memory.
-
- INPUTS
-
- RESULT
-
- EXAMPLE
-
- CALL FlushMem()
-
- NOTES
-
- SEE ALSO
-
- exec.library/AllocMem()
-
- rexx_exec.library/ReBoot rexx_exec.library/ReBoot
-
- NAME
-
- ReBoot -- Reboot the Amiga.
-
- SYNOPSIS
-
- ReBoot()
-
- FUNCTION
-
- Reboot the machine. All external memory and periperals will be
- RESET, and the machine will start its power up diagnostics.
- This function never returns.
-
- INPUTS
-
- All that we wants.
-
- RESULT
-
- An altogether totally integrated living system.
-
- EXAMPLE
-
- SAY "Bye, bye..."
- CALL ReBoot()
-
- NOTES
-
- SEE ALSO
-
- exec.library/ColdReboot()
-
-
-