home *** CD-ROM | disk | FTP | other *** search
- ReadMe.
- =======
-
- This version of flex is designed to work with Acorn's Toolbox.
-
-
- It provides support for dynamic areas on the Risc Pc and allows a callback
- function to be registered, which will be called when a flex block moves.
- These changes were made by Andy Armstrong.
-
- There is also support for the Virtualise module from Clares Micro Supplies.
- This module provides virtual memory for applications which use dynamic areas
- on the Risc PC. This support was added by David Jackson from Clares.
-
- The main new call is.
-
-
- flex_initx(char * filename,int *msg,BOOL da,int maxsize,BOOL virtual)
-
- This initialises flex and replaces flex_init.
-
- the call flex_initx("fred",&msg,FALSE,-1,FALSE) is equivalent to the old flex_init("fred",&msg)
-
- the extra parameter 'da' controls whether a dynamic area is to be used if
- available. If da is TRUE and you are not on a machine with dynamic areas,
- flex operates exactly as the original version.
-
- The extra parameter maxsize determines the maximum size to which the
- dynamic area can grow. It is important that you don't make this too big. You
- should let the user configure this. The Risc Pc has a limited address space
- (2Gb), and if several applications create areas which have a 256Mb maximum
- size, you soon run out of address space.
-
- The final extra parameter determines whether virtual memory is active on
- the area. If you create the area with VM off, you can activate virtual
- memory with
-
- flex_virtualstart()
-
-
-
-
- For details of the other calls, see flex.h and the Virtualise module
- documentation.
-
-