Re: poke4 won't accept my 32bit values

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Al,
it's still early yet, but just before you posted this I'd tracked down the
location of the problem. Superficially it appears to be a bug in the direct
draw library (create3d_device) that is corrupting a part of the interpreter.

I found this out but placing the offending line of code in various parts of
the program until I isolated the line of code that was causing the effect.

I appears that once the call to create3d_device has been executed, poke4()
would no longer work for any values between #FFFFFF01 and #FFFFFFFF. Instead
it would also convert these to #100000000, even if the values were in
variables or expressions (eg. #FFFFFF00 + #FF).

The workaround was to place all the code containing the poke4() statements
physically before the create3d_device function was executed.

Of course, none of this is conclusive yet. I've given this info to Robert as
well and maybe he can confirm it or find a deeper reason.

----- Original Message -----
From: "Al Getz" <Xaxo at aol.com>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, March 21, 2001 4:39 PM
Subject: RE: poke4 won't accept my 32bit values


[big snip]
>
> Good luck with it.
> --Al
>

------
Derek Parnell
Melbourne, Australia
"To finish a job quickly, go slower."

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu