Qbasicnews.com
I got an FB “Screen 13” bug to report for GFXlib 2. - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: General (http://qbasicnews.com/newforum/forum-6.html)
+--- Forum: General/Misc (http://qbasicnews.com/newforum/forum-18.html)
+--- Thread: I got an FB “Screen 13” bug to report for GFXlib 2. (/thread-7474.html)



I got an FB “Screen 13” bug to report for GFXlib 2. - Adigun A. Polack - 06-04-2005

Dearest v3cz0r and Angelo Mottola (aka lillo),

Hello and a very richly splendid weekend to you both. :king: !

Now then, I have just now spotted a pretty serious bug in both FB and GFXlib 2, in that when you punch in either of the codes:

[syntax="FreeBASIC"]Screen 13, 16[/syntax]
[syntax="FreeBASIC"]Screen 13, 24[/syntax]
[syntax="FreeBASIC"]Screen 13, 32[/syntax]

......then at runtime, it *automatically* switches you to a 320x200 resolution with no more than 8-bit color ( :???: ), rather instead of the desired color depth like it is supposed to, regardless of the number of pages or whether it is full-screen or not.

With “ScreenRes”, however, when you enter in either of the following:

[syntax="FreeBASIC"]ScreenRes 320, 200, 16[/syntax]
[syntax="FreeBASIC"]ScreenRes 320, 200, 24[/syntax]
[syntax="FreeBASIC"]ScreenRes 320, 200, 32[/syntax]

.....then at runtime, you get the 320x200 graphics resolution in the desired color depth of your choice. Amazingly, I find it really strange as to why “ScreenRes” works so brilliantly well and “Screen 13” don’t even seem to cooperate with the desired color depth at all (other than 8-bit), all where a 320x200 graphics resolution in both FB and GFXlib 2 is concerned! Very odd there that it even happened on FB versions up to at least v0.13b, as well. :-?

So then, could at least one of you please fix that “Screen 13” bug so that the 320x200 graphics resolution should operate in the color depth of his/her own choosing? Thanks so very much, gentlemen!! Big Grin=b !

See you both later, and I thank you additionally for your wonderful time well spent! Cool



HELPING YOU TO CONFRONT THE SITUATION,

[Image: file.php?id=32]
Adigun Azikiwe Polack
One of the Founders of “Aura Flow” ::: Continuing Developer of “Frantic Journey”
Current Developer of “Star Angelic Slugger” ::: Webmaster of the “AAP Official Projects Squad”
Original Creator of the “The New FreeBASIC 8-Bit Palette Machine”


I got an FB “Screen 13” bug to report for GFXlib 2. - Anonymous - 06-04-2005

Well, regardless, its documented. so its nothing noone knows about


edit: from fbgfx.txt:

"For modes 14 and up, the depth parameter changes the color depth to the
specified new one; if depth is not specified, these modes run in 8bpp. For
modes 13 and below, depth has no effect. If you need custom resolutions,
have a look at the SCREENRES statement."


Right you are, Cha0s. I can see that now so far! ;-) - Adigun A. Polack - 06-05-2005

To Cha0s:

I see now. I never even fully looked into that until now, and yes, it is clearly documented there indeed (as you just said). I just found that one out today, man. So, I believe you are very much correct on that. And as for the changing of the color depths so far in a 320x200 mode using the “ScreenRes” statement, well, at least it is truly better than nothing, I must tell you! Cool

Be checking you out later, man, and thank you now! Smile=b



[Image: file.php?id=32]
- Adigun Azikiwe Polack
One of the Founders of “Aura Flow” ::: Continuing Developer of “Frantic Journey”
Current Developer of “Star Angelic Slugger” ::: Webmaster of the “AAP Official Projects Squad”
Original Creator of the “The New FreeBASIC 8-Bit Palette Machine”


Re: Right you are, Cha0s. I can see that now so far! ;-) - Anonymous - 06-05-2005

Quote: it is truly better than nothing, I must tell you! Cool

werd. check you later now, dawg