Pascal for ZX81
Re: Pascal for ZX81
So, I took the scans of the Partial Pascal manual, converted them to one PDF and hired someone on Fiverr to do the initial retyping. The Fiverr person did a pretty good job; I only had to do some light editing throughout the document.
Attached is my first pass through. I've started marking up the text, differentiating between instruction and typed code with typography. I'm also going to insert screenshots where it makes sense.
Best,
David
Attached is my first pass through. I've started marking up the text, differentiating between instruction and typed code with typography. I'm also going to insert screenshots where it makes sense.
Best,
David
- Attachments
-
- Semper Partial Pascal manual.pdf
- (587.48 KiB) Downloaded 234 times
My archive.org collection, containing many Timex/Sinclair related publications.
TimexSinclair.com, my website about Sinclair computers in the US.
TimexSinclair.com, my website about Sinclair computers in the US.
Re: Pascal for ZX81
Wow! This is brilliant.
Re: Pascal for ZX81
Ok, I believe I've finished cleaning it up and apply typographic magic.
This will also be on archive.org any minute now.
This will also be on archive.org any minute now.
- Attachments
-
- Semper Partial Pascal manual.pdf
- (763.29 KiB) Downloaded 231 times
My archive.org collection, containing many Timex/Sinclair related publications.
TimexSinclair.com, my website about Sinclair computers in the US.
TimexSinclair.com, my website about Sinclair computers in the US.
Re: Pascal for ZX81
Great!
Thanks a lot
Siggi
Thanks a lot
Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
http://zx81.ddns.net/ZxTeaM
Re: Pascal for ZX81
It seems there is no direct way to write a program, to compile it afterwards and run immediately. You have to save in between. Is this true or am I wrong?
Re: Pascal for ZX81
That's my read: write the program, compile, then load for execution. I think it's more a system for teaching Pascal than for anything actually useful.
My archive.org collection, containing many Timex/Sinclair related publications.
TimexSinclair.com, my website about Sinclair computers in the US.
TimexSinclair.com, my website about Sinclair computers in the US.
Re: Pascal for ZX81
Yes, you have to save in between. And saving is to the program’s own tape format. So the only way to use the program is to save to real tape, or the wave tape in the Eighty One emulator. No binary file format can be used.
The only way to run a program is in this environment as well. No machine code is generated, as mentioned in my previous post. It seems to be generating some sort of p-code, which is like byte code in the Java world.
The only way to run a program is in this environment as well. No machine code is generated, as mentioned in my previous post. It seems to be generating some sort of p-code, which is like byte code in the Java world.
Re: Pascal for ZX81
well, if it has a p-code (or similar interpreter), that is definitely interesting ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Pascal for ZX81
It does not look like other p-code documentation I’ve found. It seems it has it’s own proprietary p-code.
I had hoped I could make a plain machine code binary with this program, but unfortunately that will require a lot of hacking, including having the interpreter in the binary as well.
I had hoped I could make a plain machine code binary with this program, but unfortunately that will require a lot of hacking, including having the interpreter in the binary as well.
Re: Pascal for ZX81
Just saw this thread. I am a big fan of Pascal, so this awesome and a big step up from Basic even without pointers support. I'll be curious to see how much faster than Basic the compiled programs run since it seems that it compiles to p-code and not machine code.