QLCOMMANDER - testers and help needed

Anything QL Software or Programming Related.
User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Post 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
Last edited by Andrew on Sat Jan 05, 2019 5:22 pm, edited 1 time in total.


User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Post 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
Attachments
qlc_bas.zip
(16.21 KiB) Downloaded 240 times


martyn_hill
Aurora
Posts: 909
Joined: Sat Oct 25, 2014 9:53 am

Re: QLCOMMANDER - testers and help needed

Post 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.
Attachments
qlc_bas.zip
Turbo-ready QLC_bas
(16.63 KiB) Downloaded 249 times


User avatar
pjw
QL Wafer Drive
Posts: 1286
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: QLCOMMANDER - testers and help needed

Post 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.


Per
dont be happy. worry
- ?
Jack_Free
ROM Dongle
Posts: 42
Joined: Sun Aug 30, 2015 3:31 pm

Re: QLCOMMANDER - testers and help needed

Post 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


Sinclair QL + SGC, Sinclair QL+QL-SD.
Excuse my English, I use google translator :-)
User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Post 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


User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Post 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.


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

Re: QLCOMMANDER - testers and help needed

Post 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?


Sinclair QL + SGC, Sinclair QL+QL-SD.
Excuse my English, I use google translator :-)
User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCOMMANDER - testers and help needed

Post 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_'


User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QLCOMMANDER - testers and help needed

Post 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


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