Groups | Search | Server Info | Login | Register
Groups > alt.sys.pdp10 > #9928
| From | jayjwa <jayjwa@atr2.ath.cx.invalid> |
|---|---|
| Newsgroups | alt.sys.pdp10 |
| Subject | Re: TOPS Pascal questions |
| Date | 2026-03-30 13:05 -0400 |
| Organization | atr2net 2026 |
| Message-ID | <87h5px1c50.fsf@atr2.ath.cx> (permalink) |
| References | <87341kbrt8.fsf@atr2.ath.cx> <mdd5x6fv3s5.fsf@panix5.panix.com> <7wzf3p61r7.fsf@junk.nocrew.org> |
Lars Brinkhoff <lars.spam@nocrew.org> writes:
> Here is some code I have received. The Rutgers files say the compiler
> originally came from a Hamburg DEC-20. The Hamburg files are for a
> DEC-10 and mention the CDC heritage.
>
> https://github.com/PDP-10/rutgers-pascal
> https://github.com/PDP-10/hamburg-pascal
The problem I'm having is that the documentation matches neither of my
TOPSes. Whatever was mentioned in the above and whatever is on
TOPS-20 Panda and TOPS-10 Pascal off the DECUS tapes is different from
that.
.r pascal
*bskara.rel=bskara.pas /cref /list
?SCNUKS Unknown switch LIST
*bskara.rel=bskara.pas/list
?SCNUKS Unknown switch LIST
*bskara.rel=bskara.pas
No error detected
Highseg: 1K
Lowseg : 1K
Runtime: 0: 0. 20
*^Z
.exec bskara
LINK: Loading
[LNKXCT BSKARA execution]
INPUT :
OUTPUT :
[INPUT, end with ^Z: ]
1 -4 2
ax^2 + bx + c = 0 : Quadratic Equation Solver
Enter three numbers to solve your quadratic
equation as A B C for coefficients and constant:
The roots rounded to four places are 3.4142 and 0.5858
EXIT
.dir bskara.*
BSKARA REL 10 <057> 30-Mar-99 DSKB: [30,1,DEV]
BSKARA BAK 3 <057> 30-Mar-99
BSKARA PAS 3 <057> 30-Mar-99
Total of 16 blocks in 3 files on DSKB: [30,1,DEV]
So it's ignoring compiler switches all around
{$L+,O+ Compiler options for Listing and Assembly output}
on TOPS-10 *and* TOPS-20.
(*$T-,S1300,R16*) <-- exact text from the linked manuals
@type expon.err
1 (*$T-,S1300,R16*)
P* 1** ^
1.^: Error in options
@
@exec expon
LINK: Loading
[LNKNSA No start address]
%LNKDLT Execution deleted
This link:
https://github.com/PDP-10/hamburg-pascal/blob/master/oldpascal/pascal.doc.1
by the file name style, is for TOPS-20. Yet is says:
MITTEILUNG NR. 37
PASCAL for the DECSystem-10
My T20 doc:pascal.doc one starts:
PASCAL FOR THE DECSYSTEM-20
which is clearly for the '20. So there is some mismatching of
documentation, binary code, and versions.
T10's:
.type doc:pascal.doc
This document describes DECsystem-10 Pascal. This Pascal
system is the result of cooperation among a number of
different people. It was originally written at the
University of Hamburg by a group of people under the
supervision of Prof. H.-H. Nagel. This version was
developed from Prof. Nagel's by Charles Hedrick, and is
maintained by him. Lee Cooprider and others at the
University of Southern California have been particularly
helpful in supplying improvements, largely to the debugger.
A number of compiler bug fixes were supplied by Andrew
Hisgen at Carnegie-Mellon University.
Compiler switches aren't that big of a deal for me, now, but exponents
would be very nice (x**y).
--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"
Back to alt.sys.pdp10 | Previous | Next — Previous in thread | Next in thread | Find similar
TOPS Pascal questions jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-03-27 22:39 -0400
Re: TOPS Pascal questions Rich Alderson <news@alderson.users.panix.com> - 2026-03-28 21:05 -0400
Re: TOPS Pascal questions Rich Alderson <news@alderson.users.panix.com> - 2026-03-28 21:10 -0400
Re: TOPS Pascal questions Lars Brinkhoff <lars.spam@nocrew.org> - 2026-03-30 10:38 +0000
Re: TOPS Pascal questions jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-03-30 13:05 -0400
Re: TOPS Pascal questions Lars Brinkhoff <lars.spam@nocrew.org> - 2026-03-31 04:30 +0000
Re: TOPS Pascal questions jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-04-01 17:21 -0400
Re: TOPS Pascal questions Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-04-01 23:54 +0000
csiph-web