Search found 240 matches

by EmmBee
Wed Feb 12, 2020 10:16 am
Forum: Software & Programming
Topic: Resident QLib Jobs
Replies: 6
Views: 2979

Re: Resident QLib Jobs

The SMSQ/E manual includes the following text: QLiberators EXTERNals do not work If you have compiled own procedures and functions using QLiberator, which you want to load using LRESPR, then you have to patch QLIB_RUN and QLIB_OBJ first to make them work. You will find two BASIC programs with the s...
by EmmBee
Tue Feb 11, 2020 10:12 pm
Forum: Software & Programming
Topic: Writing $$external extensions with QLib
Replies: 54
Views: 14556

Re: Writing $$external extensions with QLib

... Wherever possible, if I need an extension I try to write is in assembler. This is because I started out with a 4K computer and still find it traumatic to use 16K to implement an UPPER$ function. But dont mind me. You never know when you might need some extra kit in your toolbox! I totaly agree,...
by EmmBee
Tue Feb 11, 2020 9:29 pm
Forum: Software & Programming
Topic: Writing $$external extensions with QLib
Replies: 54
Views: 14556

Re: Writing $$external extensions with QLib

The same with the QLib decompiler. There were hundreds of ideas from people to enhance it, the first was to make its window go further than 512x256. But there comes nothing up until now. We have to wait ;) . It seems like Martin has done the perfect job of decompiling Q_Liberator back into its Supe...
by EmmBee
Tue Feb 11, 2020 5:55 pm
Forum: Software & Programming
Topic: Writing $$external extensions with QLib
Replies: 54
Views: 14556

Re: Writing $$external extensions with QLib

I've tried out the new PARSTR$ keyword from the tkparex.zip. This now works on my DCOPY program, I no longer have to include the quote marks. One thing to notice is that if the result from PARSTR$ is copied back to the parameter, it stops with an error. This is noted in the SBASIC/SuperBASIC Referen...
by EmmBee
Fri Feb 07, 2020 3:29 pm
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 55882

Re: QLiberator decompiler

HAOUI wrote: IMHO, What we need instead, is PARNAM$() or PARTYP$() working for compiled $$external. I already wrote similar functions as assembler extensions that work for $$external (see sources and binary in attached archive). I called them PARNAMEX$() and PARSTREX$(). I am not totally happy with ...
by EmmBee
Thu Feb 06, 2020 11:06 pm
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 55882

Re: QLiberator decompiler

Hi Martin & everybody, My question may be off-topic but I need your help. I am looking for fetching name parameters (i.e. file name without quotes) passed from interpreter to $$external procedures in a similar way that TK2 PARNAM$() does. I am able to access the name table of the caller and see...
by EmmBee
Thu Feb 06, 2020 1:37 pm
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 6960

Re: EasyPTR APPMAN help

Per, Doing that allows it to show the menu in SBASIC. If I compile with it LRESPR'd and compile without the $$asmb directive, it runs okay as well. However, linking in with $$asmb=filename,0,64 results in a message of "String is not numeric" (!!) on the line calling APPA0. The Manual says...
by EmmBee
Tue Feb 04, 2020 2:52 pm
Forum: Software & Programming
Topic: Writing $$external extensions with QLib
Replies: 54
Views: 14556

Re: Writing $$external extensions with QLib

Nice article, I enjoyed reading this. I notice you didn't mention anything about the stack. I can sometimes get better results (less crashing) when I use larger and larger stack space. Also increasing the heap can help. It could well be that it's merely running out of memory and can't keep up and cr...
by EmmBee
Tue Feb 04, 2020 8:58 am
Forum: General QL Chat
Topic: Productivity in the QL
Replies: 44
Views: 17550

Re: Productivity in the QL

Ralf R. wrote:
EmmBee wrote:Besides, I am a complete beginner at the pointer environment, and so a simple start would perhaps be more appropriate for my needs.
I agree, just look at your PM.
Thanks Ralf, for your explanation. Yes, I agree, EasyPtr is the best way - it's easier to use and more readable.
by EmmBee
Mon Feb 03, 2020 5:08 pm
Forum: General QL Chat
Topic: Productivity in the QL
Replies: 44
Views: 17550

Re: Productivity in the QL

If easyptr is to hard for you (QPTR more harder), you may try the little toolkit, which QLiberator uses. MK has dissassembled that for me, with a little SB demo program. If interested, I can upload it in the "decompiler" thread. Yes, I would like to see that, would be ideal for me. Good l...