Search found 62 matches

by Chain-Q
Sun Nov 22, 2020 2:16 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

Yes but I suppose the next step is size & speed comparison to a native pascal compiler output. Just to manage some expectations... :) When it comes to comparing to the old compilers, the code which FPC generates will be almost certainly bigger, and on the original '008 almost certainly be slowe...
by Chain-Q
Sat Nov 21, 2020 11:10 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

I have a slightly off-topic question, but it's related because I need it for another example program. :) Is there a tool (preferably one which can run on a non-QL computer for cross-compiling) which can convert a GIF or BMP or something to the native QL screen format? Maybe with dithering, etc... Be...
by Chain-Q
Sat Nov 21, 2020 10:18 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

Yes, actually, there was a piece of uncommitted code, which made vlink default for the Sinclair QL. This was in my working copy, but somehow I missed to commit it, which explains my confusion, because it indeed worked for me... Sorry. See here . So if you update the source and rebuild, you'll no lon...
by Chain-Q
Sat Nov 21, 2020 2:53 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

First, sorry for the delayed response. Near holiday season are busy days at work. There's always more stuff to finish this year... Additionally to the steps vasm must apparently be named "sinclairql-vasmm68k_std" and vlink "sinclairql-ld". Hmm, thanks for reporting this. I think ...
by Chain-Q
Thu Nov 19, 2020 11:31 am
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

How is the relocation handled, is that in some startup code that is just linked in? Yes, it's handled by the platform-specific system entry code, in the case of the QL it's here . The relocation table format is defined by vlink, but it's really simple, the first longword contains the number of relo...
by Chain-Q
Wed Nov 18, 2020 2:04 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

In any case, if it ever comes to that point I volunteer to have a look at porting vasm/vlink. They're pretty much ANSI C with POSIX. So a sufficiently advanced libc and GCC 2.95.3 should be enough for it. Maybe. :) The only problem I see maybe is path handling differences, the QL seems to use the &...
by Chain-Q
Wed Nov 18, 2020 1:02 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

In case anyone wants to get rid of the prejudice "OOP == bloated", have a look at this presentation . The guy writes (and explains what he's doing) a game for a Commodore C64 in an hour. I think he proves a point :) Yes, I know this talk. It's really impressive, but I think the only point...
by Chain-Q
Wed Nov 18, 2020 4:42 am
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

Phew. So... One more post. :) That was great feedback and help, thank you all, probably the best initial feedback of all the 68k platforms I ever worked on (which is most of them at this point), especially at such an early stage, and sorry I didn't get to reply everyone. I hope I didn't miss anythin...
by Chain-Q
Wed Nov 18, 2020 4:21 am
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

I'm highly impressed with the whole project and downright thrilled that there is a QL cross compiler. Yeah, thanks in the name of everyone who works on FPC and Lazarus, and I'm glad one of my dumbest (according to me) idea still make someone thrilled. :) Do check out QPC, it's the emulator I've bee...
by Chain-Q
Wed Nov 18, 2020 3:50 am
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77881

Re: QL / PASCAL

By the way, living in Germany provides the chance to meet, once the pandemic is under control. Yeah, lets hope so! My German needs even more practice than my English, so I'll take a chance to do so for sure. :) Recently I had a short but fascinated look at NetBSD/68k, because it supports a plain 68...