Search found 240 matches

by EmmBee
Fri Aug 20, 2021 2:51 pm
Forum: Software & Programming
Topic: QLiberator v3.42
Replies: 57
Views: 10247

Re: QLiberator v3.42

Occasionally, there comes a need to calculate a null string at the very end of a string. To illustrate, consider this short program ... 100 x$ = "abcd" 120 PRINT #0,'x$ = "'; x$; '"' 130 PRINT #0,'x$(5 TO 4) = "'; 140 PRINT #0, x$(5 TO 4); '"' I've tried the above on Q-...
by EmmBee
Sat Aug 14, 2021 3:31 pm
Forum: Software & Programming
Topic: QLiberator v3.42
Replies: 57
Views: 10247

Re: QLiberator v3.42

My point is, that if applying some or all of these patches simply updates Qlib_run, whilst maintaining backward compatibility, then they should be applied and the resulting code disassembled and re- assembled into a new, universal toolkit called, eg Qlib342_run . This I have now done, and am curren...
by EmmBee
Fri Aug 13, 2021 3:21 pm
Forum: Software & Programming
Topic: QLiberator v3.42
Replies: 57
Views: 10247

Re: QLiberator v3.42

I've downloaded the v1.9 QLOAD from Dilwyn's website,
and have tried this on a small program QSAVED on QPC2,
on JS ROM with Q-emuLator. This all seems to work out okay.

Of course, if you're using $ or % literals then there'll be a problem,
as QDOS will reject them.

EmmBee
by EmmBee
Fri Aug 13, 2021 11:54 am
Forum: Software & Programming
Topic: QLiberator v3.42
Replies: 57
Views: 10247

Re: QLiberator v3.42

Has anyone tried to load a QSAVEd file from SMSQ/E under QDOS with Liberation's QLOAD_bin? Per has told me, that this crashes QDOS, which makes me wonder as I haven't find any place in SMSQ/E manual, which states any incompatibilities.<> On closer inspection the crashes with the standard Qloadref t...
by EmmBee
Wed Aug 04, 2021 5:24 pm
Forum: Software & Programming
Topic: QLiberator v3.41
Replies: 19
Views: 4298

Re: QLiberator v3.41

<> pjw wrote: So RENAME ram1_test_sav to ram1_test_wrk and enter that name into the console and compile. Error: File not found QLIB has certainly gone wrong, here! <> I think it is probably just a deliberate "bug". QLib is trying to be helpful by hiding complexity: Since QLib itself creat...
by EmmBee
Fri Jul 30, 2021 11:56 pm
Forum: Software & Programming
Topic: QLiberator v3.42
Replies: 57
Views: 10247

QLiberator v3.42

Here is the latest QLiberator with Per Witte's update to the NEXT_TOKEN m/c routine
Enjoy ...
Qlib_3.42.zip
(98.4 KiB) Downloaded 89 times
by EmmBee
Thu Jul 29, 2021 11:54 pm
Forum: Software & Programming
Topic: QLiberator v3.41
Replies: 19
Views: 4298

Re: QLiberator v3.41

I don’t do any assembler, but … pjw wrote: $Deee, $Eeee, and $Feee (and $Ceee too) all have one unique property in common, different from all other current token values: Their two top bits are set. Thus by making just two tiny alterations to the original NEXT_TOKEN code, from this: Sounds good to me...
by EmmBee
Sat Jul 24, 2021 8:59 pm
Forum: Software & Programming
Topic: QLiberator v3.41
Replies: 19
Views: 4298

Re: QLiberator v3.41

SAVE ram1_test_bas QSAVE LIBERATE <> My preferred method for QLib-compiling stuff is to use the first method described (above, under the code): Make a change to the code, QSAVE. Click Compile. Test. Repeat. But clearly that doesnt work if the source code contains binary or hex numbers. Currently, Q...
by EmmBee
Wed Jul 21, 2021 6:15 pm
Forum: Software & Programming
Topic: QLiberator v3.41
Replies: 19
Views: 4298

Re: QLiberator v3.41

Derek_Stewart wrote: Renaming this to: QLIB_OBJ, all works fine.
Thanks, Derek

Here is a zip with the names changed to Qlib_obj and Qlib_patch_obj
Qlib_3.41.zip
(98.43 KiB) Downloaded 81 times
by EmmBee
Tue Jul 20, 2021 11:25 pm
Forum: Software & Programming
Topic: QLiberator v3.41
Replies: 19
Views: 4298

QLiberator v3.41

We have a new version of QLiberator. Some recent discussions have centred around attaching REMarks to the top line of FOR loops. Here is an example ... 100 FOR n = 1 TO 7 : REMark 110 PRINT n 120 END FOR n Per Witte has pointed out that this is only allowable with SMSQ/E. On other systems such as QD...