Search found 710 matches

by janbredenbeek
Mon Aug 18, 2025 10:12 pm
Forum: Software & Programming
Topic: QPC2 MultiBASIC: Load SBASIC machine code function resident
Replies: 23
Views: 688

Re: QPC2 MultiBASIC: Load SBASIC machine code function resident


Minerva LEN 102 s STRLEN% 112 s
SBASIC LEN 18 s STRLEN% 22/23 (i.e. about 22.5 s)

I don't know how long the strings were, but I can imagine that copying a very long string onto the RI stack and then reclaiming the space would take significant time. Also, something like LEN(A$ & B$) will have to ...
by janbredenbeek
Mon Aug 18, 2025 4:47 pm
Forum: Software & Programming
Topic: QPC2 MultiBASIC: Load SBASIC machine code function resident
Replies: 23
Views: 688

Re: QPC2 MultiBASIC: Load SBASIC machine code function resident


I'm confused:
Why are you calling an (apparently) SBASIC job a "Mutibasic job"? It isn't.

Ah, that's the difference!
A NEW in Minerva's MB clears out the name table except for machine code procedures and functions already loaded (and inherited).

A NEW in SBASIC clears out the whole name table ...
by janbredenbeek
Sun Aug 17, 2025 11:55 am
Forum: Software & Programming
Topic: QPC2 MultiBASIC: Load SBASIC machine code function resident
Replies: 23
Views: 688

Re: QPC2 MultiBASIC: Load SBASIC machine code function resident

I see some issues in your code:


No check if the parameter is a string, or if there's even a parameter at all


The parameter to bv.chrix should be in d1, not d0. You're now requesting a random value, which might be negative and corrupt the system.

Also, it's not necessary to enter supervisor ...
by janbredenbeek
Sat Aug 16, 2025 10:07 pm
Forum: Software & Programming
Topic: QPC2 MultiBASIC: Load SBASIC machine code function resident
Replies: 23
Views: 688

Re: QPC2 MultiBASIC: Load SBASIC machine code function resident

ql_freak wrote: Sat Aug 16, 2025 9:27 pm Is it possible to load SBASIC extensions resident in a MultiBASIC job (without loading it in job 0,0)?
Should be possible, as long as they contain only SB extensions (not device drivers etc). They should survive a NEW, but disappear when you kill the MB job.
by janbredenbeek
Fri Aug 15, 2025 11:47 am
Forum: QL Emulation
Topic: sq68ux gains sound and writing to disk
Replies: 16
Views: 731

Re: sq68ux gains sound and writing to disk


⬢ [arch] ❯ cat sq68ux.ini
#SMSQE = Q68_SMSQ.bin
sysrom = Q68_ROM.SYS
#SD1 = q68.img


It boots, but I cannot access the WIN drives after having them configured.

Maybe it's due to the old SD card driver from Wolfgang. I'm looking for a way to backport the SMSQ/E driver but without success so ...
by janbredenbeek
Fri Aug 15, 2025 9:11 am
Forum: QL Emulation
Topic: sq68ux gains sound and writing to disk
Replies: 16
Views: 731

Re: sq68ux gains sound and writing to disk

XorA wrote: Fri Aug 15, 2025 2:46 am You might get lucky if your machine's one is 40Mhz or higher!
I got a QL index of 1180, on my 14th Gen i7. The score of the real Q68 is about 25...
by janbredenbeek
Fri Aug 15, 2025 9:09 am
Forum: QL Emulation
Topic: sq68ux gains sound and writing to disk
Replies: 16
Views: 731

Re: sq68ux gains sound and writing to disk



Hi XorA,
I tried the Windows version (couldn't get the Linux version working because of a missing libSDL3, which I couldn't find with apt) but got an error message 'Error: Short Read Q68_SMSQ.BIN 567'.

The error message is normal, I think you are missing the SD1=blah.img (it crashes the ...
by janbredenbeek
Thu Aug 14, 2025 10:25 pm
Forum: QL Emulation
Topic: sq68ux gains sound and writing to disk
Replies: 16
Views: 731

Re: sq68ux gains sound and writing to disk

Hi XorA,
I tried the Windows version (couldn't get the Linux version working because of a missing libSDL3, which I couldn't find with apt) but got an error message 'Error: Short Read Q68_SMSQ.BIN 567'.

I tried the Q68_SMSQ.BIN from the repository and the latest binary from the 3.42 distribution.
by janbredenbeek
Wed Aug 13, 2025 10:40 pm
Forum: QL Emulation
Topic: sq68ux gains sound and writing to disk
Replies: 16
Views: 731

Re: sq68ux gains sound and writing to disk


A very long way from v1.00 release but might be useful to some.

https://github.com/xXorAa/sQ68Lay

Has gained SSSS (or however many S's you like) sound.
It has also gained the ability to write to SD card images (which has been missing a long time).

Thanks, I see that the 'loglevel' error ...
by janbredenbeek
Wed Aug 13, 2025 10:35 pm
Forum: Software & Programming
Topic: SGC Games Compatibility
Replies: 16
Views: 771

Re: SGC Games Compatibility


Well, there's mainly two, maybe three sins that game writers tend to commit frequently (for no good reason, actually):

Patch the first entry in the polling interrupt list with your own code address, basically killing the interrupt system - On Minerva, which relies on complete execution of the ...