Search found 1316 matches

by pjw
Sun Jan 14, 2024 6:24 pm
Forum: General QL Chat
Topic: User meeting in Spain to celebrate the 40th Anniversary of the Sinclair QL
Replies: 25
Views: 3947

Re: User meeting in Spain to celebrate the 40th Anniversary of the Sinclair QL

badaman wrote: Sun Jan 14, 2024 4:44 pm <>
Very soon we will report on the workshop, which had 40 visitors and in which there were interviews and tinkering.
Looking forward to reading or watching it. A pity more of us couldnt be there..
by pjw
Sun Jan 14, 2024 11:31 am
Forum: Software & Programming
Topic: Bug in string handling in SMSQ/E
Replies: 11
Views: 1196

Re: Bug in string handling in SMSQ/E

Apropos nothing, I just thought y'all might enjoy this little number by xkcd:
xkcd_donald_knuth.jpg
:)
by pjw
Mon Jan 08, 2024 4:13 pm
Forum: Software & Programming
Topic: Bug in string handling in SMSQ/E
Replies: 11
Views: 1196

Re: Bug in string handling in SMSQ/E

"Legal" string slices could in theory be from 0 to LEN long. Since LEN(string$(n to n)) = 1, then the only way to get to 0 is by LEN(string$(n to n - 1))! In other words: Its a "design philosophy", not a bug! :) PRINT string$(1 to 0) also works! PS: <> .. SMSQ/E seems just to cat...
by pjw
Mon Jan 08, 2024 1:30 pm
Forum: Software & Programming
Topic: Bug in string handling in SMSQ/E
Replies: 11
Views: 1196

Re: Bug in string handling in SMSQ/E

10 a$ = "1234567890" 20 b$ = a$(4 to 3): REMark This works 30 c$ = a$(4 to 2): REMark This fails with an error. Neither Qdos JS nor Minerva accept line 30, so that seems to be normal behaviour. SMSQ/E seems just to catch the error before the program runs; the others fall over when they re...
by pjw
Sun Jan 07, 2024 3:19 pm
Forum: Software & Programming
Topic: PE Programming for dummies
Replies: 91
Views: 34332

Re: PE Programming for dummies

FI2 has all the information you have configured for each extension, and very kindly lets you easily access it. All you would have to do it to parse and interpret all that information and then carry out the required action yourself. I agree it shouldn't be a major problem for FI2 to execute a specif...
by pjw
Sun Jan 07, 2024 1:21 pm
Forum: Software & Programming
Topic: PE Programming for dummies
Replies: 91
Views: 34332

Re: PE Programming for dummies

<> Also I added some FileInfo2 support to QLCommander. Which raises other questions: If an extension has several actions associated with it (e.g. View, Edit, Delete, Move) - is it possible to call a specific extension? (Call View when user clicks on View button, call Edit when user clicks on Edit b...
by pjw
Wed Jan 03, 2024 10:38 am
Forum: Software & Programming
Topic: QL/E - The QL Environment (QLE)
Replies: 60
Views: 54772

Re: QL/E - The QL Environment (QLE)

Just a quick bug report: Thank you! I like feedback. :D Hardware: BBQL JS ROM Tetroid SGC QIMSI Using QLE.WIN Boot program: Line 931: bad name Looks like DISP_TYPE isn't defined. FYI: In QL/E, on non-SMSQ system, the DISP_TYPE machine code command is generated by the Q2S*_bin toolkit. Q2S was added...
by pjw
Tue Jan 02, 2024 9:10 pm
Forum: Software & Programming
Topic: QL/E - The QL Environment (QLE)
Replies: 60
Views: 54772

Re: QL/E - The QL Environment (QLE)

<> I can offer the following hot-fix. Change line 931 in boot to 931 dt=DISP_TYPE : SELect ON dt <> Qdos doesnt do SELect ON very well. It only accepts float variables or functions. Minerva is a little better as it also accepts integer% variables and functions, but also doesnt like m/c functions li...
by pjw
Mon Dec 18, 2023 1:45 pm
Forum: Software & Programming
Topic: QUESTION: Branch Size on QPC2 (68020+)?
Replies: 16
Views: 2456

Re: QUESTION: Branch Size on QPC2 (68020+)?

tofro wrote: Mon Dec 18, 2023 1:34 pm
pjw wrote: Mon Dec 18, 2023 1:14 pm (QPC2 or Qx0 only!)
That's exactly the point why I made this alternate proposal. My code runs everywhere.
I know, but my reply was more directed to the question asked by Derek: "OK, how do I get QMAC to assemble 68020, 68040, 68060 op codes, required on the Q40, Q60"
by pjw
Mon Dec 18, 2023 1:14 pm
Forum: Software & Programming
Topic: QUESTION: Branch Size on QPC2 (68020+)?
Replies: 16
Views: 2456

Re: QUESTION: Branch Size on QPC2 (68020+)?

Perhaps I misunderstood, but to use Qmac to generate MC68020 code for an MC68020+ CPU you can "simply" add the binary inline. For example, the binary for BRA is %01100000 ($60) in the msb. If the lsb of the word is 0, then the following word contains the twos compliment displacement to the...