summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/ARENA.INC
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/INC/ARENA.INC')
-rw-r--r--v4.0/src/INC/ARENA.INC30
1 files changed, 30 insertions, 0 deletions
diff --git a/v4.0/src/INC/ARENA.INC b/v4.0/src/INC/ARENA.INC
new file mode 100644
index 0000000..5177552
--- /dev/null
+++ b/v4.0/src/INC/ARENA.INC
@@ -0,0 +1,30 @@
1; SCCSID = @(#)arena.asm 1.1 85/04/09
2BREAK <Memory arena structure>
3
4;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
5; C A V E A T P R O G R A M M E R ;
6; ;
7;
8; arena item
9;
10arena STRUC
11arena_signature DB ? ; 4D for valid item, 5A for last item
12arena_owner DW ? ; owner of arena item
13arena_size DW ? ; size in paragraphs of item
14arena_reserved DB 3 DUP(?) ; reserved
15arena_name DB 8 DUP(?) ; owner file name
16arena ENDS
17
18;
19; CAUTION: The routines in ALLOC.ASM rely on the fact that arena_signature
20; and arena_owner_system are all equal to zero and are contained in DI. Change
21; them and change ALLOC.ASM.
22
23arena_owner_system EQU 0 ; free block indication
24
25arena_signature_normal EQU 4Dh ; valid signature, not end of arena
26arena_signature_end EQU 5Ah ; valid signature, last block in arena
27; ;
28; C A V E A T P R O G R A M M E R ;
29;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
30 \ No newline at end of file