Initial revision
[ssr] / StraySrc / Libraries / Core / sh / heapws
1 ;
2 ; heap.s
3 ;
4 ; A resizing, nonshifting heap workspace (MDW)
5 ;
6 ; © 1998 Straylight
7 ;
8
9 ;----- Licensing note -------------------------------------------------------
10 ;
11 ; This file is part of Straylight's heap.
12 ;
13 ; Heap is free software; you can redistribute it and/or modify
14 ; it under the terms of the GNU General Public License as published by
15 ; the Free Software Foundation; either version 2, or (at your option)
16 ; any later version.
17 ;
18 ; Heap is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ; GNU General Public License for more details.
22 ;
23 ; You should have received a copy of the GNU General Public License
24 ; along with Heap. If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27 heap__flex # 4 ;Pointer to flex block
28 heap__chunkSize # 4 ;Size to allocate chunks in
29 heap__freeList # 4 ;Offset to free list, or 0
30 heap__alloced # 4 ;Offset to unallocated area
31 heap__size # 4 ;Current size of heap
32
33 ;----- That's all, folks ----------------------------------------------------
34
35 END