SMSQ/E IOW.BLKx traps

Anything QL Software or Programming Related.
Post Reply
User avatar
tofro
Font of All Knowledge
Posts: 3115
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

SMSQ/E IOW.BLKx traps

Post by tofro »

The SMSQ/E Reference guide advertises variations of the IOW.BLOK trap, namely IOW.BLKP, IOW.BLKT and IOW.BLKN (for 8-bit, 24-bit and native color, respectively). I have tried these traps with SMSQ/E 3.38 on QPC2 in the respective modes, but each of them comes back with a "Bad Parameter" error. Does anyone know where these are implemented (if at all) and what I may be doing wrong?


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
NormanDunbar
Forum Moderator
Posts: 2483
Joined: Tue Dec 14, 2010 9:04 am
Location: Buckie, Scotland
Contact:

Re: SMSQ/E IOW.BLKx traps

Post by NormanDunbar »

Maybe ask Wolfgang Lenerz on the QL Users list. He's not on the Forum.

I, on the other hand, have no idea!


Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Derek_Stewart
Font of All Knowledge
Posts: 4733
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: SMSQ/E IOW.BLKx traps

Post by Derek_Stewart »

Hi,

Do you have example code that is causing the problem?


Regards,

Derek
User avatar
tofro
Font of All Knowledge
Posts: 3115
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: SMSQ/E IOW.BLKx traps

Post by tofro »

Derek_Stewart wrote: Mon Nov 25, 2024 8:59 am Hi,

Do you have example code that is causing the problem?
Of course:

https://github.com/tofro/QL-Plasma/blob/main/plasma.asm

replace the #$2e (the standard IOW.BLK trap) in line 105 with $5c, $5d or $5e (the new ones), and you'll see what I see: nothing.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
pjw
QL Wafer Drive
Posts: 1623
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: SMSQ/E IOW.BLKx traps

Post by pjw »

Its complicated, tofro. I dont think the documentation is correct. Ive tried this before. I dont get bad parameters, but am only able to draw black blocks in any other mode than COLOUR_QL. I shall investigate further when I get time, but if you get an answer before, I should be glad to hear of it..


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
Post Reply