Operational Phases
The BUILD program has three distinct phases:
SPhase 1. In this phase BUILD reads the command file or, if interactive, prompts you for any vital information that was not included in the runstring (output file, snapshot file, or system file). As soon as BUILD has this information it proceeds to the second phase.
SPhase 2. This phase allows you to specify the memory layout for your target system. BUILD asks first for the memory size of the system (in pages), and then asks if you want automatic reserved partition definition. If you answer YES, BUILD automatically creates reserved partitions of the proper size for each program that you merge with the system. If you answer NO, you have to specify the reserved partitions you want in your system. You may also place programs into partitions manually during phase 3.
Note
If you wish to load programs over a DS link using the APLDR program, you must use manual partition definition.
If you ask for automatic reserved partition definition, BUILD proceeds directly to phase 3. If you ask for manual reserved partition definition, you must next define the partitions by entering the size (in pages) of each one. BUILD goes on to phase 3 when you end partition definition by entering /C, by defining partitions that take up all of memory, or by using up all of the memory descriptors (as defined during system generation). (NOTE: Because of the nature of a memorybased system, only reserved partitions are allowed; dynamic partitions can be used only in a diskbased system.)
SPhase 3. During this phase you can merge programs into the system. You can also reset the system security code, using the command
SS,newcode
The command
PT
displays the partition table so you can see which programs are in which partitions and how many pages they take up.
Use the RP command to load programs into the merged system file. A command of the form
RP,<program file>[,newname]
builds an ID segment for the specified program and loads it into the merged system file. Following each RP command, you can enter one or more of these subcommands to modify the way the ID segment for the program is constructed:
PR,n | sets the program priority to n. (Default is the value supplied by LINK.) |
SZ,nn | sets the program size, including system common, to nn pages. This has the |
| same function as the loader SZ command, but overrides it. For CDS programs |
| (VC+ only) the SZ command overrides the LINK heap (HE) command. You |
| can use this command to create buffer space behind your program. (Such space |
| can be made available to your program with a call to the LIMEM subroutine.) |
Installing a MemoryBased System 103