home *** CD-ROM | disk | FTP | other *** search
- PRODUCT : TURBO PASCAL NUMBER : 149
- VERSION : ALL
- OS : CP/M-80
- DATE : March 4, 1986
-
- TITLE : ROMMING CODE FOR CP/M-80
-
- The following guidelines are for developers who wish to ROM Turbo
- Pascal code. The guidelines assume that the developer has the
- knowledge to undertake the task, hence are worded for the
- experienced developer.
-
- Guidelines:
-
- 1) Addresses 0-FF must be RAM and must reflect the normal usage
- in a CP/M environment.
-
- 2) Address 1 is used to locate the BIOS vector (NOTE: this is
- only relevant if you do not redefine device I/O procedures).
-
- 3) Address 6 is used to indicate the top of available memory.
-
- 4) Addresses A0-FF are used by the Run-Time system for local
- variables (NOTE: this cannot be changed).
-
- 5) When a Turbo Pascal program terminates it calls address 0.
-
- 6) When compiling the program you must use the Options menu to
- ensure that variables are placed in RAM.
-
- 7) Turbo Pascal does not make any BDOS calls unless the program
- uses file I/O. Turbo Pascal does however make BIOS calls for
- device I/O. In order to avoid these calls to the BIOS the
- I/O procedure addresses should be changed by changing the
- appropriate pointers ie., ConOutPtr, etc.
-
-
-