Search found 488 matches

by ql_freak
Wed May 14, 2025 11:38 pm
Forum: Hardware
Topic: Announcing the new "Gold Card" - QIMSI Gold
Replies: 357
Views: 106661

Re: Announcing the new "Gold Card" - QIMSI Gold

I (quite good in Software, know a little bit about hardware) have a wish for C68 (I have played already with it) and QIMSI (Gold):

Is it possible to support hardware handshaking for the serial port (CTS / RTS or so, I think on the QL it was DTR). Then it's possible to write a protocol, which has ...
by ql_freak
Mon May 12, 2025 6:44 pm
Forum: Software & Programming
Topic: Problem with parameter to a SuperBASIC machine code extension
Replies: 2
Views: 194

Re: Problem with parameter to a SuperBASIC machine code extension


I'm not familiar with C1mon, but I couldn't reproduce this on neither Minerva nor SMSQ/E. When I take the pointer at $28(A6) (i.e. VVBAS) and add the offset from the parameter, this takes me to the correct location (the length word, not the first character of the string).

I must test it again ...
by ql_freak
Mon May 12, 2025 12:59 am
Forum: Software & Programming
Topic: BatmanQL - Joan Gayon (2025)
Replies: 38
Views: 1481

Re: BatmanQL - Joan Gayon (2025)


The 8049 keyboard co-processor. (Sinclair's naming was "Integrated peripheral co-processor", I think).

It's (IMO): Intelligent Peripheral CoProcessor and MT.IPCOM stands for Manager Trap with the Intelligent coprocessor COMmunication (but we can only guess, only Anthony knows, what the ...
by ql_freak
Mon May 12, 2025 12:05 am
Forum: Software & Programming
Topic: Problem with parameter to a SuperBASIC machine code extension
Replies: 2
Views: 194

Problem with parameter to a SuperBASIC machine code extension

reflectionLDebug001.png
As you can see in the screenshot after entering the machine code function, a3 (of course relative to a6) points to the following 8 bytes (8 is length of a name table entry):

02 01 FF FF 00 00 00 20

Looks good: 02 01 is the code for a string (which I have expected).

FF FF ...
by ql_freak
Sun May 11, 2025 3:19 pm
Forum: Software & Programming
Topic: How to debug machine code PROCs/FNs with Computer One Monitor (C1MON)?
Replies: 3
Views: 283

Re: How to debug machine code PROCs/FNs with Computer One Monitor (C1MON)?

I have finally found the solution:

Load your extension (ideally in a MultiBASIC) with cde=RESPR(size):LBYTES 'filename_cde',cde:CALL cde:JOBS:PRINT HEX$(cde,32)

Switch into C1Mon and enter the command jobs (use a channel with a large window, in my config it is #3)

Find the MultiBASIC job id by ...
by ql_freak
Sat May 10, 2025 10:57 am
Forum: Software & Programming
Topic: My "from PACKAGE import *" (Python) simulation project (reflection)
Replies: 37
Views: 2609

Re: My "from PACKAGE import *" (Python) simulation project (reflection)


If I understood right, your work (this one) allows to get the last free line, or rephrasing it, it allows to get the next numerable line.
Have I understood right?

Exactly.

This is to work with Minerva OS, or also with others like JS, JM...?

This should work with any really compatible S(uper ...
by ql_freak
Sat May 10, 2025 1:45 am
Forum: Software & Programming
Topic: My "from PACKAGE import *" (Python) simulation project (reflection)
Replies: 37
Views: 2609

Re: My "from PACKAGE import *" (Python) simulation project

For Derek: New FuNction REF_GETLNHI% returns the highest line number of the currently loaded SuperBASIC program.

I still do not know, for what this is needed (especially as REF_GETLNFREE%-1 is the same), but it was easy to add.

reflection_txt has also been extended(!).

(Packed with 7-Zip on ...
by ql_freak
Thu May 08, 2025 11:10 pm
Forum: Software & Programming
Topic: My "from PACKAGE import *" (Python) simulation project (reflection)
Replies: 37
Views: 2609

Re: My "from PACKAGE import *" (Python) simulation project

To get the last line just subtract 1 from REF_GETLNFREE%. But it shouldn't be a problem to ad a function which returns the last line number. For the second enhancement: There is no fixed increment or I do not see what you mean.

Unfortunately I'm currently very short of time, so it may take some time.
by ql_freak
Thu May 08, 2025 12:16 am
Forum: Software & Programming
Topic: My "from PACKAGE import *" (Python) simulation project (reflection)
Replies: 37
Views: 2609

Re: My "from PACKAGE import *" (Python) simulation project

First version of my reflection S(uper)BASIC machine code toolkit (library):

See attachement (packed on PC with 7-Zip [can it be unpacked with zip on the QL?], tested on Minerva and QPC2).
by ql_freak
Sun May 04, 2025 5:55 pm
Forum: Software & Programming
Topic: How to debug machine code PROCs/FNs with Computer One Monitor (C1MON)?
Replies: 3
Views: 283

How to debug machine code PROCs/FNs with Computer One Monitor (C1MON)?

I think I have already debugged machine code extensions with Computer One Monitor but can't remember how I did it. I've set the job ID in C1MON to a Minverva MultiBASIC with C1MONs job command and then called the extension (in this case a function) with print funcname (it's a function without ...