;
                                Z33TBUFF.COM                                  

             Size (recs) CRC   Version    Author/Latest Issue      Disk
               2k (16)   2968  1.0        James Penny 9/89         Z3COM18

  1- Usage  2- Notes  3- Examples of Use                                      


   Z33TBUFF will make a  temporary buffer large enough  to hold the RCP,  IOP,
FCP,  and NDR segments, providing the current environment shows that these lie
below the CCP.   It then writes an  RSX header immediately below the buffer to
protect it and the header from being over-written by a warm boot.   This means 
that you can have any mix  of sizes  of  the  above  segments  that  you want.  
Further, you can change them before any command.

   Z33TBUFF is derived from Z33TRCP  which  was  similar,  but set aside space
only for the RCP.   Further,  Z33TRCP made no use of the environment data,  so 
you had to re-compile and keep a new version for every change of RCP size.  
:1

 Usage 

   Z33TBUFF zeroes out the pointers in the environment to those segments which
were held in the buffer when the  buffer is removed  using  the  RCPX command.  
This means that  to  have  a  minimal  system,  all you  have  to  do is issue 
RCPX;Z33TBUFF.   When the machine comes back,  you will have a system sans any 
of the segments RCP, IOP, FCP, NDR which lay in the buffer.   This gives you a 
Z-system with only the static buffers and the  header to eat up TPA.   Loss of
memory is only about 1K.  The header requires 0C0h = 192 bytes.
:2

 Z33TBUFF Notes 

   a. In using aliases, it is easy to get in  a  situation  where no space has
      been set aside for  an  FCP,  yet  an FCP is  needed in  expansion of an 
      alias.   This typically happens  because  you forgot to load  a ENV file 
      right before running the  alias.   You will find that  the system may be 
      very confused if you later try to load  an  ENV file in  an  attempt  to 
      rectify matters.   In fact, you will usually have to reboot.   Moral: 1)
      use ALIASES  to  change  systems, 2) DO NOT USE ALIASES (other  than  to 
      reestablish a system) when running the minimal system;  in particular do
      not run aliases with IF's in them from the minimal system.
:3

 Examples of Use 

   a. LDR system sys.env
      Z33TBUFF
      LDR system z33.fcp,z33,rcp,sys.ndr    (no IOP)
      time

      sample aliases:

      normal RCPX;LDR system sys.env;Z33TBUFF;LDR z33.fcp,z33.rcp,sys.ndr
      trap   RCPX;LDR system sys.env;Z33TBUFF;LDR z33.fcp,trap,rcp,sys.ndr
      tiny   RCPX;Z33TBUFF
      make   RCPX;LDR system sys.env;z33TBUFF;LDR z33.fcp,make.rcp;IF NULL $1;
             ;ELSE make $1;FI