From what has been said about SuperSoft FORTRAN (here and elsewhere) I had assumed that it was a fairly high quality piece of software. I've downloaded a zip file, and tried to use it. I can't get anything I've written to work. The zip file included alittle "test" program, and I can get that to compile and run, BUT the structure of the program is somewhat unorthodox (IMO). Even a simple loop program, that I wrote, gives run-time errors (and the documentation that says to look in Appendix G(?) for
In contrast, I have been able to use the Microsoft FORTRAN software with only limited hassles.
Roger
The text of the program in the SuperSoft FORTRAN language should be written in capital letters.
For this reason, source files from Microsoft FORTRAN may not be compiled by SuperSoft FORTRAN.
It's (the manual) not complete, but it describes the language well enough that it can compile.
On Saturday, January 15, 2022 at 3:46:03 PM UTC-8, nikiti...@gmail.com wrote:printer port"?. That helped me figure out what I was doing wrong, and I finally got a simple DO loop program to work as expected. Maybe now I can get something more complex to work?
...<snip>....
Right -- I gathered that from looking at the examples in the documentation. >> For this reason, source files from Microsoft FORTRAN may not be compiled by SuperSoft FORTRAN.The text of the program in the SuperSoft FORTRAN language should be written in capital letters.
I never expected that to be the case. I've fooled around with enough CP/M compilers that I know that they vary widely in their operational requirements.
It's (the manual) not complete, but it describes the language well enough that it can compile.
I just wish that the appendices were available somewhere. The software just spits out numbered error messages which aren't very useful to figure out exactly what's gone wrong.
I discovered (quite by accident -- I downloaded the files to my Z80 via XMODEM on my B serial port, and left the port hooked up after doing so) that a lot of feedback from the compiler and utilities gets sent to that port. I guess that's the CP/M "
Thanks for your comments.
Roger
I was finally able to get the test program I wanted to run to compile. I found that execution with the SuperSoft version took 1 min. 16 secs (20 MHz Z80), but the Micro$lop FORTRAN version ran in 21 or 22 secs. The SuperSoft code is smaller (8.4k vs.12.8k). The program uses floating point arithmetic, so there were slight differences in the output, but I expected that. Results depend on how the f.p. is implemented. In debugging the SS code (and checking the numbers with a calculator), I think that
As a point of reference, the same algorithm compiled with Hitech C runs in about 16 seconds (same computer).
Interesting exercise!
Roger
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 76:49:39 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,203 |
Messages: | 5,332,821 |
Posted today: | 1 |