QLCOMMANDER - testers and help needed

Anything QL Software or Programming Related.
Andrew
Trump Card
Posts: 190
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Postby Andrew » Sat Jan 05, 2019 4:41 pm

Line 130 is a call to OUTLN - this is part of PE .
So if you load PTR_GEN, WMAN, HOT_REXT it should work
Please download the latest qlc_bas code below
Last edited by Andrew on Sat Jan 05, 2019 5:22 pm, edited 1 time in total.


Andrew
Trump Card
Posts: 190
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Postby Andrew » Sat Jan 05, 2019 4:54 pm

Hi Martyn - thank you for all you help!
I have made a few changes - found a couple of bugs and fixed them, and identified all (I hope) variables that should be passed by reference
Please take a look at the attached file
Attachments
qlc_bas.zip
(16.21 KiB) Downloaded 31 times


martyn_hill
Super Gold Card
Posts: 514
Joined: Sat Oct 25, 2014 9:53 am

Re: QLCOMMANDER - testers and help needed

Postby martyn_hill » Sat Jan 05, 2019 6:09 pm

Hi again Andrew!

I've debugged a little more to better suit compilation with Turbo - including the required pass-by-ref additions and hereby attached.

Still some odd bugs that I have yet to identify, but most of the program now works under QPC2 after compilation.

Some issues:
a) After MORE is called to display a binary file, and when displaying a SCR type file, the CSIZE of the two listing windows gets reset, causing an odd display.
b) After displaying a FNT type file, the final wait for key-press crashes the compiled job.

Quite functional, otherwise.

I will test the compiled job on a basic QL (with memory expansion) later this weekend.

If you want to PM me, I can share some more details about what I needed to do to correct some of the other odd (compiled) behaviour - peculiarities that don't show up until compiled...

Regards.
Attachments
qlc_bas.zip
Turbo-ready QLC_bas
(16.63 KiB) Downloaded 31 times


User avatar
pjw
Super Gold Card
Posts: 526
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: QLCOMMANDER - testers and help needed

Postby pjw » Sat Jan 05, 2019 6:17 pm

What machine do you have, Andrew? All SMSQ/E is, is a MUCH better version of Qdos (+tk2+ptr_gen+wman+hotkey++). It wont run on a BBQL, but anything from a GC and up should be fine. Regarding PE programming, you could do worse that try EasyPtr (available from Marcel's excellent site here). Its much easier to use than Qptr, and the manual explains most of what you need. The Qptr manual is fine - so long as you already know enough to have written it yourself ;)
You seem to be using the Qptr toolkit, as OUTLN comes from there (it should really have been included in Wman, to my mind). Thats what seems to be bugging Jack_Free. I dont see that you need this command in your program, so long as youre not using any Wman features. Just use WINDOW instead.


Per
Be wary of large West-Coast corporations bearing gifts!
- Ancient Trojan proverb
Jack_Free
ROM Dongle
Posts: 41
Joined: Sun Aug 30, 2015 3:31 pm

Re: QLCOMMANDER - testers and help needed

Postby Jack_Free » Sat Jan 05, 2019 6:51 pm

PJW :

I'm not sure what you're talking about, I'm using google translator and it makes no sense to me, sorry.

Andrew:
still the same error line error 130
if I use the goto 140 program to run,
but writes config file not found

I see content win1_ win2_ I do not have disk
I can move arrows
if I select a directory and press enter, I see the contents of the subdirectory
if I select a file like xxx_boot and press CF1 it is followed by error at line 7910
and the program ends

  I use PE components PTR_GEN v2.01, WMAN v2.05 and HOT_REXT v2.29


I do not use an emulator, just a real QL, excuse my English, I use google translator :-)
Sinclair QL + SGC, Sinclair QL+Qubide interface, Sinclair QL+QL-SD.
Andrew
Trump Card
Posts: 190
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Postby Andrew » Sat Jan 05, 2019 9:25 pm

Jack_free - yes, pjw is right - Outln is included in Qptr_bin, so you have to load it too
Download it from here http://www.dilwyn.me.uk/program/qptr.zip


Andrew
Trump Card
Posts: 190
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Postby Andrew » Sat Jan 05, 2019 9:34 pm

pjw - Thanks for the EasyPtr tip ! I will download it it and read the manuals.
I have a QL+SGC + QL-SD (but I have some very strange an unexplained issues with the QL-SD :cry: ) - and another QL+GC (still have to find which RAM chip is not working all the time - but it will be fixed by next week) - so SMSQ/E can run on both machines. Still don't have a mouse that works :( But I bought 5 on ebay, so hopefully there will be one that works.


Jack_Free
ROM Dongle
Posts: 41
Joined: Sun Aug 30, 2015 3:31 pm

Re: QLCOMMANDER - testers and help needed

Postby Jack_Free » Sun Jan 06, 2019 9:35 am

Hello,

Thank you very much for your help.
I added qptr_bin and the program works.
But it still writes config file not found ...
how can I fix this thing?


I do not use an emulator, just a real QL, excuse my English, I use google translator :-)
Sinclair QL + SGC, Sinclair QL+Qubide interface, Sinclair QL+QL-SD.
Andrew
Trump Card
Posts: 190
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Postby Andrew » Sun Jan 06, 2019 12:25 pm

jack - edit line 1030 (or 1040 in older version) to point to the directory where you installed the program
1030 IF ConfigDrv$='' THEN ConfigDrv$='win2_QLCOMMANDER_'


User avatar
tofro
QL Wafer Drive
Posts: 1585
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QLCOMMANDER - testers and help needed

Postby tofro » Sun Jan 06, 2019 1:26 pm

Andrew wrote:pjw - Thanks for the EasyPtr tip ! I will download it it and read the manuals.
I have a QL+SGC + QL-SD (but I have some very strange an unexplained issues with the QL-SD :cry: )


What version of QL-SD do you have? The original one was never working properly with the SGC, while Marcel's version of the PLD code seems to work fine now.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO

Who is online

Users browsing this forum: No registered users and 4 guests