QLiberator externals problem with QPC2

Discussion and advice about emulating the QL on other machines.
Post Reply
EmmBee
Trump Card
Posts: 240
Joined: Fri Jan 13, 2012 5:29 pm
Location: Kent

QLiberator externals problem with QPC2

Post by EmmBee »

With QLiberator, resident procedures and functions can be written in SuperBASIC, compiled and then LRESPRed in a BOOT file.

I find this works well with Minerva, but with QPC2 the _obj files have to be modified before they will work. In the patch program supplied with QPC2, the first lines are ...

100 REMark - This patch allows QLiberator externals to be used with SBASIC.
110 REMark - It removes the address sensitivity and allows externals to be
120 REMark - LRESPRed from any SBASIC Job (the check for Job 0 is replaced by
130 REMark - a check for 'NOT EXECUTED' - (a6).b = $00 or $ff
140 REMark - The patch can be used on QLIB_OBJ so that all future externals
150 REMark - be less fussy, or it can be used on externals which have already
160 REMark - compiled.

The problem is I have been unable to get this to work properly. Every time I try, the error message of Unknown Version appears. This applies to both Qlib_obj and other _obj files I’ve created.

Any ideas?

Michael


Post Reply