Search found 219 matches

by janbredenbeek
Fri Feb 16, 2018 12:03 pm
Forum: Software & Programming
Topic: A6 and the CALL command
Replies: 8
Views: 237

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: 248

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: 639

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: 639

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: 639

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: 639

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: 929

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...
by janbredenbeek
Wed Feb 07, 2018 12:29 pm
Forum: Software & Programming
Topic: peek-a-oh
Replies: 6
Views: 283

Re: peek-a-oh

You could try the first entry of the slave block table, which is pointed to by SV.BTBAS ($28058). This will always be marked 'unusable' (all zeroes) since this entry corresponds to the first slave block in RAM, which starts at $28000 (or $30000 with dual-screen Minerva) and is unusable because the s...
by janbredenbeek
Tue Feb 06, 2018 4:49 pm
Forum: Software & Programming
Topic: Odd behavour
Replies: 24
Views: 929

Re: Odd behavour

Hi Jan, The compatibility fix could be to modify the code to read : a(x+1)=two( (x) ) Does this now work correctly on both systems ? It is a pity if code tweaks are necessary, but they are better than nothing... Regards, Steve. On SMSQmulator I get '2 0' and a(3) equals 200. Haven't been able yet t...
by janbredenbeek
Sun Feb 04, 2018 10:49 pm
Forum: Software & Programming
Topic: Assembly Language eComic - Issue 4 now available
Replies: 11
Views: 480

Re: Assembly Language eComic - Issue 4 now available

Thanks Norman, looks like I've got something interesting to read this week :)

regards, Jan.

Go to advanced search