diff options
Diffstat (limited to 'v4.0/src/INC/ARENA.INC')
| -rw-r--r-- | v4.0/src/INC/ARENA.INC | 30 |
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 | ||
| 2 | BREAK <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 | ; | ||
| 10 | arena STRUC | ||
| 11 | arena_signature DB ? ; 4D for valid item, 5A for last item | ||
| 12 | arena_owner DW ? ; owner of arena item | ||
| 13 | arena_size DW ? ; size in paragraphs of item | ||
| 14 | arena_reserved DB 3 DUP(?) ; reserved | ||
| 15 | arena_name DB 8 DUP(?) ; owner file name | ||
| 16 | arena 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 | |||
| 23 | arena_owner_system EQU 0 ; free block indication | ||
| 24 | |||
| 25 | arena_signature_normal EQU 4Dh ; valid signature, not end of arena | ||
| 26 | arena_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 | ||