[comp.sys.atari.st] Report on GEMBOOT.PRG ...

XBR4D76H@DDATHD21.BITNET.UUCP (04/15/87)

Received: from BR4.THD.DA.D.EUROPE by DDATHD21.BITNET
          via GNET with RJE ; 15 Apr 87 01:45:22
Date:     Wed, 15 Apr 87 01:44:47 +0200 (Central European Sommer Time)
From:     XBR4D76H@DDATHD21.BITNET
Subject:  Re: Report on GEMBOOT.PRG ...
To:       info-atari16@score.stanford.edu
X-VMS-To: X%"info-atari16@score.stanford.edu"

Thanks about your comment on GEMBOOT, Simon.
My statement about GEMBOOT adding 300 directory blocks was a bit misleading.
Actually the system memory block I called "directory block" should be called
a type-4 block.
The length of a type-x block is (x*8 + 1) words.
GEMDOS needs 2 type-4 blocks for each opened folder.
Thus GEMBOOT provides additional space for 150 folders.
AHDI adds another 128 type-4 blocks to the system memory free lists.

The 3000 words system memory is used as follows:

Fixed:
root process descriptor          : 1 type-16 block
AUTO-exec (PD and env.string)    : 2 type-1 blocks
GEMBOOT (PD and env.string)      : 2 type-1 blocks
DESKTOP (PD and env.string)      : 2 type-1 blocks
GEM internal files (mem. resid.) : 1 type-1 block
Line-F handler                   : 1 type-1 block
foreground task                  : 2 type-1 blocks
each accessory task              : 3 type-1 blocks
each active drive                : 1 type-3 block

Variable:
each loaded RSC-File             : 1 type-1 block
each nonterminated Pexec         : 2 type-1 blocks

Typically having 5 accessories and 6 active drives needs about 500 words
system memory space.
Providing 6 processes with max. 20 Malloc'ed memory blocks each you need
120 type-1 blocks (120*9 = 1080 words) for memory descriptors.
This leaves approx. 1400 words of system memory (42 type-4 blocks) for
folder space.

Thus you have a total capacity of 470 type-4 blocks or 235 folders.
Easy, isn't it ?

  Konrad A. Hahn
  Dept. of Computer Science @ Techn. University Darmstadt
  BITNET: XBR4D76H@DDATHD21