|
|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 8704 (0x2200)
Types: TextFile
Names: »ERROR.DOK«
└─⟦98ebcd56b⟧ Bits:30004773 Turbo Pascal v.2.00B for CP/M-86
└─⟦this⟧ »ERROR.DOK«
æ.HEå
æ.L-å
*****************************************************************
* *
* Print this document in the following way: *
* *
* 1. Exit Turbo Pascal *
* 2. Activate the TLIST program *
* 3. Answer READ.ME and press <RETURN> *
* 4. Press <RETURN> to question about Options. *
* *
* *
* If you want to change the left margin use the directive: *
* PO (Page Offset E.g. PO8) (the dot must be in column one). *
* *
* You may also use the PL directive to set Page Length *
* *
*****************************************************************
æ.L+å
æ.PO8å
æ.PL66å
Addendum to TURBO REFERENCE MANUAL
CP/M-86 and CCP/M-86 Version
October 1983
(C) Copyright 1983 Borland International Inc.
æ.HEAddendum to the TURBO Pascal Reference Manual page: # ØFirst printing November 1983 å
æ.PAå▶8a◀
-----------------------------------------------------------------
HOW TO GET STARTED RIGHT NOW
-----------------------------------------------------------------
1. Make a copy of the distribution disk to a fresh system disk.
2. Start TINST and select S for Screen installation.
3. Select your terminal from the menu.
4. Exit from TINST and start TURBO.
5. Type Y for Yes and R for Run.
6. Answer: "CALC" and press <RETURN>
The compiler will now compile the file CALC.PAS. The object code
is placed directly in memory and executed immediately.
To▶a0◀ make▶a0◀ a COM/CMD file:▶a0◀ select O for Options and then▶a0◀ C▶a0◀ for
COM/CMD▶a0◀ file▶a0◀ then Q to Quit the Options menu and C▶a0◀ to▶a0◀ Compile
again.
æ.PAå▶8a◀
-----------------------------------------------------------------
FILES ON THE DISTRIBUTION DISK
-----------------------------------------------------------------
----------------------------------------------------------------
! THE FILE YOU MUST HAVE TO DEVELOP AND COMPILE PROGRAMS !
----------------------------------------------------------------
! TURBO.COM Compiler and Editor !
----------------------------------------------------------------
----------------------------------------------------------------
! OPTIONAL FILES WHEN DEVELOPING PROGRAMS !
----------------------------------------------------------------
! TURBOMSG.OVR Error messages (You may ommit this file) !
! TLIST.COM Program lister !
----------------------------------------------------------------
----------------------------------------------------------------
! FILES YOU ONLY NEED WHEN YOU INSTALL TURBO !
----------------------------------------------------------------
! TINST.COM Installation program !
! TINSTMSG.OVR Message file for TINST !
! TINST.DTA Contains terminal definitions !
---------------------------------------------------------------
Once▶a0◀ you▶a0◀ have installed TURBO you may delete these▶a0◀ files▶a0◀ from
your working copy of TURBO.
-----------------------------------------------------------------
! FILES WITH DEMONSTRATION PROGRAMS !
-----------------------------------------------------------------
! CALC.PAS MicroCalc (spread sheet demo program) !
! CALC.HLP On-line manual for MicroCalc !
! CALCDEMO.MCS Example spread sheet definition !
-----------------------------------------------------------------
æ.PAå
----------------------------------------------------------------▶8a◀----------------------------------------------------------------
CORRECTIONS TO THE MANUAL:
----------------------------------------------------------------
PAGE 66
Examples of string comparisons:
'A' < 'B' is TRUE
'A' > 'b' is FALSE
PAGE 126
The Init procedure should be CRTinit, and the Exit procedure
should be CRTexit.
PAGE 213
The X compiler directive is valid for the CP/M-80 implementation
only.
PAGE 193 / 197
The parameter for function calls should be defined as follows:
RegPack = record
ax,bx,cx,dx,bp,si,di,ds,es,flags: Integer;
end;
æ.PAå▶8a◀
---------------------------------------------------------------
MURPHY DELETED THE FOLLOWING FROM THE MANUAL:
---------------------------------------------------------------
Procedure Halt;
This procedure will stop execution and exit the program.
Function UpCase(Ch: Char): Char;
This▶a0◀ function returns the uppercase equivalent of the▶a0◀ parameter
Ch.▶a0◀ Example:▶a0◀ if▶a0◀ C1▶a0◀ has the value 'a' then UpCase(C1) has▶a0◀ the
value 'A'.
Function Chr(I: IExpr): Char;
This function returns the character with the ASCII value I.
Example: Chr(65) returns the value 'A'.
Procedure Intr(InterruptNumber: IConstant; var Result: RecPack);
This▶a0◀ procedure initializes the registers and flags as▶a0◀ specified
in▶a0◀ the▶a0◀ parameter "RecPack" and then makes a software▶a0◀ interrupt
corresponding to the parameter "InterruptNumber" which ▶13◀must be▶a0◀ a
constant.▶93◀▶a0◀ When the interrupt service routine returns control▶a0◀ to
your▶a0◀ program "RegPack" will contain any returned values form the
service routine.
.pa▶8a◀
-----------------------------------------------------------------
LIST OF COMMON QUESTIONS AND ANSWERS
-----------------------------------------------------------------
Q: How do I use the system?
A: Please read the manual.
Q: Is TURBO an interpretor like UCSD?
A: No, it generates ultra-fast machine code.
Q: Do I need the TURBO system to run programs developed in TURBO
Pascal?
A: No, make a .COM or .CMD file.
Q: How many lines of code can the compiler handle.
A: No limit (The object code, however, cannot excede 64 KB)
Q: How many significant digits does TURBO support in floating point?
A: 11.
Q:▶a0◀Why do I get garbage on the screen when starting the TURBO
editor?
A: You have not installed TURBO for your system.
Q: What do I do when I run out of space using the editor?
A: Split your source code (see manual $I directive.)
Q: What do I do when I run out of space while compiling?
A: Use the $I directive and/or generate a .COM or .CMD file.
Q: How do I make a .COM or .CMD file?
A: Type O from the main menu then type C.
Q: What do I do when the compiler generates too much code?
A: Read the appendicies about compiler switches and .CHN files.
Q: Does TURBO Pascal support overlays?
A: No, but ask Borland about Borland Pascal...
Q: Does TURBO Pascal support the 8087 chip?
A: No, but ask Borland about Borland Pascal...
.pa▶8a◀
-----------------------------------------------------------------
A SPECIAL NOTE TO CONCURRENT CP/M USERS
-----------------------------------------------------------------
You▶a0◀ may have noticed that some programs eats all your memory▶a0◀ so
that you can not run programs concurrently under CCP/M.
Not so with TURBO-Pascal programs.
TURBO▶a0◀ lets you specify the maximum amount of memory used by▶a0◀ the
program.▶a0◀ To do so,▶a0◀ enter the Options menu and select C for▶a0◀ Cmd
file. The specify the desired value.
To let TURBO Pascal itself allocate less memory than the standard
amount which is 8000 paragraphs use the following DDT86 patch:
DDT86
-RTURBO.CMD ; Read in TURBO.CMD
-S11 ; Patch maximum memory requirement
XXXXat you can not run programs concurrently under CCP/M.
Not so with TURBO-Pascal programs.
TURBO▶a0◀ lets you specify the maximum amount of memory used by▶a0◀ the
program.▶a0◀ To do so,▶a0◀ enter the Options menu and select C for▶a0◀ Cmd
file. The specify the desired value.
To let TURBO Pascal itself allocate less memory than the standard
amount which is 8000 paragraphs use the following DDT86 patch:
DDT86
-RTURBO.CMD ; Read in TURBO.CMD
-S11 ; Patch maximum memory requirement
XXXX«eof»