;
; flexws.sh
;
; Flexible memory handling workspace (MDW)
;
;  1998 Straylight
;

;----- Licensing note -------------------------------------------------------
;
; This file is part of Straylight's flex.
;
; Flex is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2, or (at your option)
; any later version.
;
; Flex is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with Flex.  If not, write to the Free Software Foundation,
; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

;----- Options --------------------------------------------------------------
;
; Options must be defined, although the value is irrelevant.
;
; FLEXWS_DYNAREA	Define workspace for dynamic area support
; FLEXWS_STACK		Define workspace for relocation stack support

flex__flags	#	4			;Various interesting flags
flex__base	#	4			;Base of the flex area
flex__free	#	4			;Start of free area
flex__end	#	4			;End of the flex area
flex__chunk	#	4			;Page size to allocate in

		[	:DEF:FLEXWS_DYNAREA
flex__dynArea	#	4			;Dynamic area handle
		]

		[	:DEF:FLEXWS_STACK
flex__relocSP	#	4			;Stack ptr for relocation stk
flex__relocStk	#	256*4			;Make space for 256 entries
		]

;----- That's all, folks ----------------------------------------------------

		END
