Search found 854 matches

by Martin_Head
Tue Jan 07, 2020 1:31 pm
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 56276

Re: QLiberator decompiler

Great! So perhaps you can change the place, where 512x256 is the maximum for dragging QLib's own window. At the moment, my main concern is trying to make sure that the decompiled QLib is accurate to the original. I would like to get a recompilation that is identical to the original. (If that's poss...
by Martin_Head
Tue Jan 07, 2020 11:17 am
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 56276

Re: QLiberator decompiler

Yesterday I tried to get QLiberator to compile itself in Qemulator under QDOS. I thought I had already tried this, but I could not have.
It took 12 minutes to LOAD the Qlib basic program. And just under 2 hours to compile itself.
Image25.png
Image26.png
by Martin_Head
Tue Jan 07, 2020 11:09 am
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 56276

Re: QLiberator decompiler

base: bra.w qlib_start ; --------------------------------------------------------------------------- dc.w 0 dc.w $4AFB dc.w 9 dc.b 'Qlib_3.35' dc.b ' ' dc.l token_base-base dc.l name_table-base dc.l 0 ; Line table dc.w 4 dc.l data_tokens-base ; First DATA token dc.w 9 ; Channel count ; ============...
by Martin_Head
Tue Jan 07, 2020 10:39 am
Forum: Compatibles Corner
Topic: Q68 Ethernet
Replies: 41
Views: 44032

Re: Q68 Ethernet

There's the IP Network driver that replicates the QL Network driver over a TCP connection. I have always wondered why that driver was not implemented using UDP. Since QL network can deal with retransmissions anyway, why the technical requirement for the highlevel TCP protocol, which is far more com...
by Martin_Head
Sat Jan 04, 2020 11:10 am
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 56276

Re: QLiberator decompiler

I have most of this stuff already figured out, but you're too fast for me ;) i'm too busy with other stuff right now, but here's the start of QLIB_obj as I currently understand it dc.l 0 ; Line table dc.w 4 dc.l data_tokens-base ; First DATA token dc.w $FF00 ; WINDS I have disassembled most of the ...
by Martin_Head
Tue Dec 31, 2019 5:11 pm
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 56276

Re: QLiberator decompiler

I think I have figured out what the 'something odd' is. It's 'External Procedures and Functions'. In the QLiberator manual around page 14.9 it talks about using QLIB! to start the compiler from BASIC. I've just got to figure out exactly how it works, to get the decompiler to recognize it. I think th...
by Martin_Head
Tue Dec 31, 2019 11:51 am
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 56276

Re: QLiberator decompiler

I am using QLiberator version 3.36. When I compile, in the top right-hand corner I get the message version 3.35 I've just tried compiling a program with a REMark $$chan=9 and QLiberator reports: Highest channel : 9 What does the QLIB_PATCH program report as the number of channels, or if you disasse...
by Martin_Head
Tue Dec 31, 2019 11:35 am
Forum: Compatibles Corner
Topic: Q68 Ethernet
Replies: 41
Views: 44032

Re: Q68 Ethernet

If the TCP/IP stack was written or use of on chip solution. What applications are available? There's the IP Network driver that replicates the QL Network driver over a TCP connection. It currently works with QPC2, SMSQemulator, Qemulator, and UQLX. So long as Q68 supported at least the TCP parts of...
by Martin_Head
Tue Dec 31, 2019 11:07 am
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 56276

Re: QLiberator decompiler

The manual says: "The minimum size of a channel table is 3 entries, for channels 0, 1 and 2" - so its the actual number of channels that need to be given. CMD$ is initially set up by QLiberator as a variable to read the incoming Option command string and can be used as a normal variable a...
by Martin_Head
Mon Dec 30, 2019 4:39 pm
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 56276

Re: QLiberator decompiler

A bit of an update. The BASIC error was caused by a typo on my part, rather than a problem with the decompile. That got the compile to work. The next problem, was that when I EXEC the resulting object I got a Qliberator error, something about an undefined variable. That turned out to be CMD$. I had ...