03-13-2005, 07:35 PM
Adigun, it's a nice work. But small siggestion: Use "SELECT CASE as const TargetCol" It is mutch faster.
url]http://fbide.sourceforge.net/[/url]
Behold, the worldâs *first ever* FB palette library!!
|
03-13-2005, 07:35 PM
Adigun, it's a nice work. But small siggestion: Use "SELECT CASE as const TargetCol" It is mutch faster.
url]http://fbide.sourceforge.net/[/url]
03-14-2005, 01:15 AM
To everyone (especially to lillo and VonGodric, too! ! ):
Thank you all for your very supportive comments and praises about my palette library!! :king: !! I mean, listen, ever since it has been about two (2) years ago that I got my first original palette lib created for QuickBASIC 4.5 and 7.1 (I believe it was originally called âThe 8-Bit Palette Machine for Future.Libraryâ), I have taken quite my careful and thorough time to create such faithful, uncompromised palette routines that do what they are *designed* to do in the exact first place, know what I mean? =b Praise God for first inspiring me to do it all, too! Hey, quality is at the top of my game here, you know now? And lillo and DrV, you both are absolutely correct that GFXlib 2 was first originally written in C, not in FreeBASIC. I know that now. :wtnod: And so, I thank you two a lot on that, truly! VonGodric, regarding my lib today, as for your suggestion which is: Quote:Use "SELECT CASE as const TargetCol" It is mutch faster. ......I *just* might wanna try it, particularly for my next coming version of this (for after v1.0 of my lib). In my around 20+ years of BASIC programming, man, Iâve been _so_ familiar with QB that when I have used âSelect Caseâ in such a normal routine way so many countless times, I have even carried that VERY way directly into FB myself. BUT, like I said, I just might wanna try it indeed (I have just yesterday learned a bit about pointers from your really good tutorial about them, VonGodric! ;*) ! )! And finally, in case any of you are wondering just how many total lines of code that the original FB source of The New FreeBASIC 8-Bit Palette Machine has, it is (get this!!).... Yep, 5,071 lines long indeed. And that is just for v1.0 of this alone!! (Wow, I *never* even thought that I have written that many myself!! :o ! AMAZING.) That is just how much effort indeed was placed in this whole entire FB lib here since it first got started late last month (February 2005). And now you know, ladies and genlemen. And finally, over to you Barok: I am *so* sorry that your own palette routines in FB did not work too well. You are right, man, your thing had quite a lot a bugs that need to be ironed out in order to make your routines work right the way they successfully did in QB. Hey, I wanna wish you well on the bugfixes, Barok. You count on it now!! =b To all of you, I thank you once again for such excellent time well spent today. :king: Be checking you later!!! ENJOYING THE MAGNIFICENT TIME WITH YOU ALL HERE, 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â P.S. To one of the Admins of QBasicNews.com, I thank you *especially* for moving this topic of mine right over to the âFB Projectsâ section, right where it needs to be. I truly appreciate that move now!! ! UPDATE (from Sunday, March 13, 2005 at 10:40pm EST): Following VonGodricâs own advice on the âSELECT CASE as constâ thing that I mentioned from earlier within this post, I have just tried it on my libâs source code and applied it in there. When I then gave it a compile on FB v0.12 to build a custom library out of it, IT WORKED FINE! And as well, people, when I later compiled and ran my libâs demo using that newly created version of the library file, I noticed that the palette operation speed for many of the routines supporting the default GFXlib 2 palette was much faster now, noticably! Thank you, VonGodric!! d==b !
url=http://dhost.hopto.org/aapproj/][/url]
Your *official* home of the FreeBasic GFX Demo Central, now holding over 150 FB graphics demos so far!!! !
03-14-2005, 11:34 AM
According to changelog of FreeBasic:
[added] SELECT CASE AS CONST statement, only integer constants are allowed and a jump table is generated making the it much faster than an ordinary SELECT when more than 4 CASE's have to be checked (v1c) so it is new to FB and was not part of qb.
url]http://fbide.sourceforge.net/[/url]
03-15-2005, 12:53 AM
To VonGodric once again here:
VERY interesting. So that may explain why the palette operation on my routines that do support the default GFXlib 2 palette was noticably faster indeed than it was before, all from the instant I applied that âSELECT CASE as constâ thing into my source and recompiled it! Youâre brilliant, you know that, man? The thing is, not only is this form of âSELECT CASEâ indeed all-new to FB, but it *also* just debuted in FB v0.12, too (as I found out for myself from yesterday now)! Also, you are correct too that that new form there was never even part of the old QB, originally. Also of vital note, this week (if not even SOONER! :king: ! ), I am gonna devote at least an entire webpage to my current new palette lib you are looking at right here, all on my *very* next update of the AAP Official Projects Squad!! I will keep you and the others posted in this thread, VonGodric. Hang on now! I thank you once again for your very insightful information. See you once again as I get ready to plan the next update of my site today. ^_-=b ! - 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â
url=http://dhost.hopto.org/aapproj/][/url]
Your *official* home of the FreeBasic GFX Demo Central, now holding over 150 FB graphics demos so far!!! ! |
« Next Oldest | Next Newest »
|