Thread View: net.lang.pascal
1 messages
1 total messages
Started by hmc
Mon, 14 Jul 1986 10:59
Berkeley Pascal for Sys V
Author: hmc
Date: Mon, 14 Jul 1986 10:59
Date: Mon, 14 Jul 1986 10:59
32 lines
2188 bytes
2188 bytes
We are running a Perkin-Elmer 3230 under PE's Xelso operating system, which is standard System VR2. I have been trying to put up the Berkeley Pascal on this system. We have Release 3.0 of this which is written for 4.2BSD on a Vax or 68000. I decided that the interpreter would be easier to port than the compiler. I have come across two major problems. 1) The interpreter uses the machine's stack to pass arguments to routines. There is a sed script for modifying the assembly code of the interp routine to do this. 2) It assumes that longs can start on a short boundary. I solved the first problem by just using a global array for the stack and not trying to use the machine's stack. I have been gradually sorting out all the boundary problems but it is a slow and tedious process. Has anyone gone through this loop before and produced a genuinely portable version of Berkeley Pascal? I would be interested in either/both the interpreter (pi/px) and the compiler (pc). Sorry about posting this to so many groups, but I hope that way I might get lucky. -- *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* + + + "Who are all these people in my office anyway?" + + + + Hugh M. Conner hmc@ee.hw.ac.uk + + + *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads