Search found 2254 matches

by NormanDunbar
Thu Apr 22, 2021 4:25 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77661

Re: QL / PASCAL

http://www.dilwyn.me.uk/psions/index.html 1. The .exe file thing is probably not a huge problem these days. Given that we are cross compiling, the file name created on Windows/Linux/etc is easily renamed for transfer to the QL. In addition, the emulators all/mostly can cope with dots in filenames. ...
by NormanDunbar
Thu Apr 22, 2021 3:59 pm
Forum: Help for New Users
Topic: Dump/edit file from microdrive
Replies: 5
Views: 3402

Re: Dump/edit file from microdrive

Head over to Dilwyn's fine web site and grab the latest versions of Quill/Abacus. It's at http://www.dilwyn.me.uk/psions/index.html there are versions for microdrive and floppy as required. These files are in a specific format and contain numerous binary characters that a text editor will probably c...
by NormanDunbar
Thu Apr 22, 2021 11:03 am
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77661

Re: QL / PASCAL

Norman, I give you first shot if you want to get your hands dirty with it :-P Gee! Thanks! :D :D No, I'm happy to make a little contribution as and when I can. I did manage to have a quick look yesterday before being dragged off by MrsD to "get a life". She's out walking today, so I'm on ...
by NormanDunbar
Wed Apr 21, 2021 2:47 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77661

Re: QL / PASCAL

Just a quickie, the document on building the Cross Compiler had a minor error in it at the end where the QL Units were copied to the installation folder required. The end of the command was missing, not good. A few other typose and speling erors have been fixed. ;) Version 1.1 is online now. As ever...
by NormanDunbar
Sun Apr 18, 2021 7:16 am
Forum: Software & Programming
Topic: Pascal Crosscompiler Advice
Replies: 20
Views: 4638

Re: Pascal Crosscompiler Advice

mk79 wrote:At last! Somebody who actually listens to me :-D
I did promise to try it out! ;) Works perfectly. Thanks for the hint.

Cheers,
Norm.
by NormanDunbar
Sun Apr 18, 2021 7:14 am
Forum: Software & Programming
Topic: Pascal Crosscompiler Advice
Replies: 20
Views: 4638

Re: Pascal Crosscompiler Advice

Chain-Q wrote:If any of the above doesn't work how I described, that's a bug, please report and it will be fixed.
It's all fine, thanks. Derek needed to upgrade QPC to version 5.x to execute files created with the -WQqhdr option.

Cheers,
Norm.
by NormanDunbar
Sat Apr 17, 2021 7:58 pm
Forum: Software & Programming
Topic: Pascal Crosscompiler Advice
Replies: 20
Views: 4638

Re: Pascal Crosscompiler Advice

I noticed I was using QPC2 4.05, so I upgrade to 5.00 and the hello.exe file executes from QPC2 DOS drive. Excellent. I am 99% certaing that QPC 5 was when this style of header was able to be executed. I've been using XTcc trailers until recently, when Marcel gave me a telling off -- after all the ...
by NormanDunbar
Sat Apr 17, 2021 3:31 pm
Forum: Software & Programming
Topic: Pascal Crosscompiler Advice
Replies: 20
Views: 4638

Re: Pascal Crosscompiler Advice

Hi Derek, I compiled the hello.pp file with: fpc-ql -Tsinclairql -WQqhdr hello.pp Which produced the output described and using Q-emulator, was abloe to execute the file 'hello.exe' But the file 'hello.exe' would not execute in QPC2 or SMSQmulator, SMSQ/E still thinking it was a Type 0 or data file....
by NormanDunbar
Fri Apr 16, 2021 5:56 pm
Forum: Software & Programming
Topic: Pascal Crosscompiler Advice
Replies: 20
Views: 4638

Re: Pascal Crosscompiler Advice

Hi Derek, Here's something that might help, from Chain-Q: Another hint: Debugging config file and path issues is quite easy using the -vv compiler argument. This will write a file called "fpcdebug.txt" into the current directory, which contains human readable verbose information about the ...
by NormanDunbar
Thu Apr 15, 2021 8:44 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77661

Re: QL / PASCAL

I want to keep this style for the system unit, and the raw headers. For the user-visible qdos unit in qlunits, we can add overloaded functions, which would be more Pascal-ish. function mt_inf(system_vars: ppbyte; ver_ascii: plongint): Tjobid; would be equivalent with this: function mt_inf(out syste...