Rich Mellor wrote:
> We have a reliable check for GD2 - what we do not know is how to check if
> using the new traps will have any effect !

Ah, my fault. I forgot that we did not include the new traps into
PTR_GEN for QDOS systems, it only provides a "GD2 light" with only
enough functionality to make the new WMAN work.

> Don't intend to - though it is nice to see QWord running on an Aurora
> under Minerva or QDOS !!

Actually I personally don't really like that. People should have
incentives to do the switch to SMSQ/E.

> I think my solution of (a) seeing if GD2 is supported and then (b)
> try to use one of the new traps and see if there is an error return
> will let me know whether I am running on a system without colour
> drivers... Is this the right approach though?

Of all the options you currently have this is actually a pretty good
one.

> Sorry - you are right - it is PTR_GEN I am interrogating - guess you
> didn't look at the code snippets.

No, no time.

>> Non starter. Then you still only know whether GD2 is there, but not
>> whether high colour modes are supported.
> Not true - my second code snippet worked on Aurora - PTR_GEN was telling
> me that GD2 is there, but when I tried to use one of the new traps (set
> strip colour to system palette), I got an error return so that I know that
> the colour drivers are not supported.  Guess it should be error -19 that
> is returned...?

It means "not implemented", yes. So you're right, you could do that.

Marcel

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to