[Coco] OS-9 Pascal

John Donaldson jadonaldson at charter.net
Thu Feb 17 16:33:53 EST 2005


    Well I got the Pascal Package to work, kinda. Looks like the hard 
coding is still going to be a problem,
so it time to look at the Basic09 code real well. It is a nice package. 
I did discover that I had to use the
Pascal Ed10 instead of the Pascal Ed 08. It seems something is wrong 
with the CP(...) call in Ed08, but
works in Ed10. I have it working up to a point by just using it as it 
is. The only module so far that I have
had to put in /DD/CMDS is PascalErrs. If nothing else fixing the hard 
coding will stop that. Another
feature that I am going to fix in the Basic09 code is take out the 
PARAM, so that it deflauts to /DD. I was
starting the QP by using a script that first loaded Runb, Gfx2, chx 
/DD/Pascal_CMDS, QP. Since I did
not satify the PARAM it would keep running in a circle. We now have /DD 
for everything 35,40,80 Track
Floppies, Hard Drive and Ram Disk.
   It will allow me to edit/create a program, compile it, and run it as 
P-Code. It fails on Translater. looking
at the Basic09 source, it does a SHELL "PascalS PascalT.PRUN S24K". 
Should not that be #24K???
think I'll try this outside of the QP routine and see if I can get it to 
run as a test.

John Donaldson


Frederick D Provoncha wrote:

>On Wed, 16 Feb 2005 13:22:31 -0500 John Donaldson
><jadonaldson at charter.net> writes:
>  
>
>>  I have gotten a little farther. I copied PascalErrs to the /DD/CMDS 
>>
>>directory. It now get pass that
>>and looks like it does the directery listing of /R0. At least I 
>>think it 
>>does. It clears the screen and the
>>listing is displayed then the screen clears again and it starts the 
>>
>>excuting  "qp.startup" over and over.
>>  According to the docs, it is suppose to display the contents of 
>>/R0 
>>and then prompt you for the name
>>of the source code file. So it is almost working.
>>   Is the Basci09 source for the modules in "QP" avaible. I suppect 
>>the 
>>problem may be in one of these or
>>there is something else I'm not doing correctly.
>>
>>John Donaldson
>>    
>>
>
>Yes, the source files are included in the download. I found 2 source
>files: 'qp.b09', and 'sieve.b09'. I have Quick Pascal running on my
>Coco's hard drive under NitrOS-9 without a problem. Perhaps you need to
>make a change to your 'qp.startup' file? List the contents of the file.
>It's a pretty small file, what does it say?
>
>Fred Provoncha
>Stansbury Park, UT
>
>  
>





More information about the Coco mailing list