Search found 1292 matches

by tofro
Mon Feb 19, 2018 1:48 pm
Forum: General QL Chat
Topic: Online Chat Event: Saturday, 8pm!
Replies: 5
Views: 161

Re: Online Chat Event: Saturday, 8pm!

In short: Not yet, Kameraden, not yet!

The Saturday following the Sunday that Dave announced this is the 24th.

Tobias
by tofro
Sun Feb 18, 2018 10:21 am
Forum: Software & Programming
Topic: Graphic drawing Qemulator/QPC2
Replies: 10
Views: 352

Re: Graphic drawing Qemulator/QPC2

Martin, The original QL generated slightly rectangular pixels, while all emulators need to live with square pixels on modern monitors. That means, you either need to live with distorted squares and circles when you do a pixel-exact emulation, or you change the aspect ratio of the graphics- to pixel ...
by tofro
Sun Feb 18, 2018 9:39 am
Forum: Software & Programming
Topic: SD_SETPA failes on SMSQ with Invalid Parameter
Replies: 10
Views: 256

Re: SD_SETPA failes on SMSQ with Invalid Parameter

Norman, I suppose it doesn't help if I'll tell you "this should work".... What could upset the QL, however, is your "new way of formatting source code". I would suppose there's something ending up on an odd address. Note byte: dc.b 42 word: dc.w 4711 and byte: dc.b 42 word: dc.w ...
by tofro
Fri Feb 16, 2018 2:08 pm
Forum: Software & Programming
Topic: A6 and the CALL command
Replies: 8
Views: 272

Re: A6 and the CALL command

Is a6 cached in the job header at start? If so, you could either load it from there before ending your routine, there would be no need to stack it then either. In QDOS, this doesn't help. a6 can change between any two instructions (Even worse, QDOS might assume SuperBASIC is where you make a6 point...
by tofro
Fri Feb 16, 2018 12:14 pm
Forum: Software & Programming
Topic: A6 and the CALL command
Replies: 8
Views: 272

Re: A6 and the CALL command

My first answer applied to SMSQ/E, sorry for not pointing this out. Note that, under SMSQ/E, the SBasic area doesn't move. If you write an extension, references thus needn't be relative to A6 during the entire processing. However, doing so will make your extension incompatible with QDOS. I think thi...
by tofro
Fri Feb 16, 2018 11:22 am
Forum: Software & Programming
Topic: A6 and the CALL command
Replies: 8
Views: 272

Re: A6 and the CALL command

I would guess that as long as your code doesn't call any SBASIC traps and vectors (the ones that use a6 as argument), you should be safe. Your SBASIC program as such is halted during CALL, so if your code doesn't give SBASIC a reason to move, no one else will.

Tobias
by tofro
Wed Feb 14, 2018 7:31 pm
Forum: Software & Programming
Topic: Correct Maths Stack usage (CHRIX/RESRI)
Replies: 27
Views: 719

Re: Correct Maths Stack usage (CHRIX/RESRI)

I have checked my paper copy of the SMSQ/E Reference Manual (from 1992, when you still had to buy it...) - It has the very same information, which I still strongly believe is wrong.

Tobias
by tofro
Wed Feb 14, 2018 12:08 pm
Forum: Software & Programming
Topic: Correct Maths Stack usage (CHRIX/RESRI)
Replies: 27
Views: 719

Re: Correct Maths Stack usage (CHRIX/RESRI)

That file handles all the SB heaps, so contains a lot of stuff. But entering through sb_resar is pretty straightforward and doesn't have any branches (other than a "do nothing" exit if the wanted space is already there or the routine not being called from SBASIc context). Sorry to contrad...
by tofro
Wed Feb 14, 2018 11:54 am
Forum: Hardware
Topic: Internal memory upgrade?
Replies: 7
Views: 285

Re: Internal memory upgrade?

Martin_Head wrote:I think you need +12v for the video circuitry. As for who did the upgrade, I think there used to be advert in the QL magazines.


12Volts should be needed only for Composite and Modulator. RGB should work fine without.

Tobias
by tofro
Wed Feb 14, 2018 8:40 am
Forum: Software & Programming
Topic: Correct Maths Stack usage (CHRIX/RESRI)
Replies: 27
Views: 719

Re: Correct Maths Stack usage (CHRIX/RESRI)

The routine you're looking for is sb_resar in smsq_sbas_ressb_asm. It doesn't even use a1 as a parameter or return value, so there is not much point in setting it. a1 is also returned unchanged from there. The maths stack to be grown is retrieved from and returned in BV_RIP(a6). The sb_resar call c...

Go to advanced search