Page 2 of 14

Re: QLCOMMANDER - testers and help needed

Posted: Sat Jan 05, 2019 4:41 pm
by Andrew
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

Re: QLCOMMANDER - testers and help needed

Posted: Sat Jan 05, 2019 4:54 pm
by Andrew
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

Re: QLCOMMANDER - testers and help needed

Posted: Sat Jan 05, 2019 6:09 pm
by martyn_hill
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.

Re: QLCOMMANDER - testers and help needed

Posted: Sat Jan 05, 2019 6:17 pm
by pjw
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.

Re: QLCOMMANDER - testers and help needed

Posted: Sat Jan 05, 2019 6:51 pm
by Jack_Free
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

Re: QLCOMMANDER - testers and help needed

Posted: Sat Jan 05, 2019 9:25 pm
by Andrew
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

Re: QLCOMMANDER - testers and help needed

Posted: Sat Jan 05, 2019 9:34 pm
by Andrew
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.

Re: QLCOMMANDER - testers and help needed

Posted: Sun Jan 06, 2019 9:35 am
by Jack_Free
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?

Re: QLCOMMANDER - testers and help needed

Posted: Sun Jan 06, 2019 12:25 pm
by Andrew
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_'

Re: QLCOMMANDER - testers and help needed

Posted: Sun Jan 06, 2019 1:26 pm
by tofro
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