Search found 632 matches

by janbredenbeek
Sun Mar 04, 2018 11:59 am
Forum: Hardware
Topic: QL Eprom programmer
Replies: 48
Views: 20584

Re: QL Eprom programmer

Hi, Jan Bredenbeek's Eprom Programmer, it looks to have all the functionality of QEP, details are located here: http://qlforum.co.uk/viewtopic.php?f=3&t=1392&start=10#p17898 and the manin QL Eprommer thread: http://qlforum.co.uk/viewtopic.php?f=2&t=2010#p17905 I did say in the 1990s, I ...
by janbredenbeek
Sun Feb 18, 2018 11:02 pm
Forum: General QL Chat
Topic: Online Chat Event: Saturday, 8pm!
Replies: 8
Views: 5020

Re: Online Chat Event: Saturday, 8pm!

Dave wrote:I'll be explaining my, err, new thing, and doing a live video feed to demonstrate it. It is pretty cool.

Be there or be somewhere else.
Interesting! I guess it will be 8pm UK time, not TX time? :D

Jan.
by janbredenbeek
Sun Feb 18, 2018 10:58 pm
Forum: Software & Programming
Topic: SD_SETPA failes on SMSQ with Invalid Parameter
Replies: 10
Views: 4460

Re: SD_SETPA failes on SMSQ with Invalid Parameter

So, the SCR_ channel opens, and returns $2A6CA8 as the channel Id in A0. At least, it did in the last test. QMON2 told me so. This should have rung a bell, as channel IDs should never have such a high value in the lower word. The lower word is an index value in the channel table which never exceeds...
by janbredenbeek
Fri Feb 16, 2018 12:03 pm
Forum: Software & Programming
Topic: A6 and the CALL command
Replies: 8
Views: 3300

Re: A6 and the CALL command

I don't know about SMSQ/E. But I thought that in QDOS, when a job is started, SuperBASIC moves down in memory, and the new job goes above it. Likewise if the job above SuperBASIC ends, SuperBASIC moves up. Or have I got this all wrong? No, you're right at least with QDOS/Minerva. Under SMSQ/E and S...
by janbredenbeek
Wed Feb 14, 2018 3:18 pm
Forum: Hardware
Topic: Internal memory upgrade?
Replies: 7
Views: 3242

Re: Internal memory upgrade?

Back in the mid-'80s, when memory upgrades were still expensive, there were two guys here in NL who sold such upgrades consisting of 16 256Kbit RAM chips and some extra logic for the address decoding (they used a PROM for that) and multiplexing. I even have the fitting instructions (which are unfort...
by janbredenbeek
Tue Feb 13, 2018 11:47 pm
Forum: Software & Programming
Topic: Correct Maths Stack usage (CHRIX/RESRI)
Replies: 27
Views: 10183

Re: Correct Maths Stack usage (CHRIX/RESRI)

Hi Norman, Thanks Marcel, that worked perfectly. Trap #15 once again brings QMON to the fore. I added a TRAP #15 to DJToolkit's DJTK_VER$ function. This takes no parameters and returns a 4 character string, requiring 6 bytes on the stack. PRINT DJTK_VER$ QMON was activated. A1 was set to zero. PRINT...
by janbredenbeek
Tue Feb 13, 2018 11:38 pm
Forum: Software & Programming
Topic: Correct Maths Stack usage (CHRIX/RESRI)
Replies: 27
Views: 10183

Re: Correct Maths Stack usage (CHRIX/RESRI)

This is what the QL Technical Manual says about BV.CHRIX: BV.CHRIX is used to reserve space on the arithmetic stack (A6,A 1). On entry, the number of bytes required should be in D1.L: DO to D3 are smashed. Since not only the stack but the whole SuperBASIC area may move during the call, the arithmeti...
by janbredenbeek
Tue Feb 13, 2018 10:33 am
Forum: Software & Programming
Topic: Correct Maths Stack usage (CHRIX/RESRI)
Replies: 27
Views: 10183

Re: Correct Maths Stack usage (CHRIX/RESRI)

Yet the SMSQ/E Bible says: Vector $11A Reserve Room on Arithmetic Stack QA.RESRI Call parameters Return parameters D1.L Number of bytes required D1 ??? D2 D2.L ??? D3 D3.L ??? A0 A0 Preserved A1 Pointer to RI stack (rel. A6) A1 ??? A2 A2 Preserved A3 A3 Preserved Error returns: IMEM out of memory [...
by janbredenbeek
Mon Feb 12, 2018 11:26 pm
Forum: Software & Programming
Topic: Correct Maths Stack usage (CHRIX/RESRI)
Replies: 27
Views: 10183

Re: Correct Maths Stack usage (CHRIX/RESRI)

Martyn, Norman,

There is no need to pre-load A1 with the value of BV.RIP. The 'Pennell bible' lists BV.CHRIX as having only one parameter (D1: amount of space needed) and A1 as 'preserved'.
Of course, you need to load A1 with BV.RIP(A6) afterwards since areas may have been moved.

Jan.
by janbredenbeek
Wed Feb 07, 2018 12:44 pm
Forum: Software & Programming
Topic: Odd behavour
Replies: 24
Views: 9603

Re: Odd behavour

would It not come under the wider scope of the BASIC language ? which is usually a left to right evaluation? I doubt if this was ever standardised in BASIC. AFAIK there is no such thing as 'standard BASIC'. It might as well be that SuperBASIC was the first BASIC that would let you use a function ca...