Files
Digital-Research-Source-Code/CPM OPERATING SYSTEMS/CPM 8000 (CPM8K)/P-CP M-Z8K SOURCES/pg/pgmac.tex
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

86 lines
2.0 KiB
TeX

.bp odd
.cs 5
.mt 5
.mb 6
.pl 66
.ll 65
.po 10
.hm 2
.fm 2
.ft All Information Presented Here is Proprietary to Digital Research
.he
.ce 2
.sh
Appendix C
.sp
.sh
Base Page Format
.sp 2
.he CP/M-8000 Programmer's Guide C Base Page Format
.pp 5
Table C-1 shows the format of the base page. The base page
describes a program's environment. The Program Load Function
(59) allocates space for a base page when this function is
invoked to load an executable command file. For more details,
on the Program Load Function and command files, refer to the
appropriate sections in this manual.
.mb 5
.fm 1
.ix base page format
.sp 2
.sh
.ce
Table C-1. Base Page Format: Offsets and Contents
.sp 2
.in 1
.nf
Offset Contents
------ --------
0000 - 0003 Lowest address of TPA (from LPB)
0004 - 0007 1 + Highest address of TPA
(from LPB)
0008 - 000B Starting address of the Text
Segment
000C - 000F Length of Text Segment (bytes)
0010 - 0013 Starting address of the Data
Segment (initialized data)
0014 - 0017 Length of Data Segment
0018 - 001B Starting address of the bss
(uninitialized data)
001C - 001F Length of bss
0020 - 0023 Length of free memory after bss
0024 - 0024 Drive from which the program was
loaded
0025 - 0037 Reserved, unused
0038 - 005B 2nd parsed FCB from Command Line
005C - 007F 1st parsed FCB from Command Line
0080 - 00FF Command Tail and Default DMA
Buffer
.fi
.in 0
.sp 2
.ce
End of Appendix C
.bp
.mb 6
.fm 2
.he CP/M-8000 Programmer's Guide End of Appendix C
.sp 50
.nx appd