Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New and never-before-seen QB graphics modes discovered!
#11
To Spotted Cheetah:

Hey, so wonderful and an absolute pleasure as well to talk to you for the very first time. Big Grin

Now then, I have just recently checked out your two programs this morning: the one where you set your QB Screen 9 to 88.5 Hz, and the C program of your VGA library that presents the many custom tweaks for 256-color modes. And man, I am telling you that you did a *really* fine job on them, to be honest on this here! Cool=b

Quote:I think an 512*400 mode would be the best since it is fast, can be tweaked easily (and should not turn any monitor into garbage) and has almost square pixels (512*384).

Look man, if a 512x400 custom graphics mode is simply possible to implement in QB, then by *absolutely* all means necessary, let us just see your fine piece of code and show me how it works! Big Grin ! (Hey, come to think of it, I would TRULY love to implement it into my set of custom modes, and anything like that in QB indeed is definitely appreciated!)

Speaking of custom modes, here are the following ones that I have done so far now:

________________________________________________________________
Tweaked from QB’s Screen 2:
• 512x200x2 mode

Tweaked from QB’s Screen 8:
• 512x200x16 mode
• 512x200x16 psuedo-widescreen mode (technically done, but needs *proper* vertical centering!)
• 512x133x16 mode
• 512x100x16 mode
• 512x80x16 mode

Tweaked from QB’s Screen 9:
• 512x350x16 mode
• 512x175x16 mode
• 512x117x16 mode
• 512x88x16 mode
• 512x70x16 mode

Tweaked from QB’s Screen 11:
• 512x480x2 mode
• 512x240x2 mode
• 512x160x2 mode
• 512x120x2 mode

Tweaked from QB’s Screen 12:
• 512x480x16 mode
• 512x240x16 mode
• 512x160x16 mode
• 512x120x16 mode
________________________________________________________________

.......and praise God that He has surely enabled me to do so and make progress on them in the first place, just to be no less than a blessing to you and this whole community, you know what I mean, man? ;*) ! We only just begun here!

And I thank you so much for such an interesting idea of yours about me adding some refresh rates and stuff to my custom graphics modes (I’ll simply bet that the idea has apparently well been stuck in the head since your fascinating topic about QB graphics mode refresh rates in this very forum back in 2004, hasn’t it? Wink ). I might want to implement it along with my modes, too!

Spotted Cheetah, it is such a great pleasure to have you at this topic, and you have a splendidly good 2005 now!! :king:



WITH OPEN ARMS,

[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”
url=http://dhost.hopto.org/aapproj/][Image: file.php?id=194][/url]
Your *official* home of the FreeBasic GFX Demo Central, now holding over 150 FB graphics demos so far!!! Big Grin !
Reply
#12
Thanks, i am glad too to meet somebody who finally has some interest on this subject Smile

I checked out your codes: they are just changing the displayed width of the standard QB screens. So they actually remain the same, the screen is just being informed to stop the displaying at 512, not at 640. To achieve the higher refresh rates, all the registers need to be set back for the 512 width, and you will get 108Hz for 512*350 Smile.

The 640*400 mode is quite simple to set up, since you only need to disable the double scanning at 640*200. If you can not find out how to do it i will give you some register sets next time when i can bring stuff here (after 2 weeks) for these mode.

As i said i know how the screen works, i just did not know (possibly because i did not try out) that QB can use these modes. In the case of that 88.5Hz SCREEN 9 i just thought that as everything remains the same except the refresh rate, QB will not notice it, and it worked.

The speed what you got is possibly because of the less pixels, and maybe because QB optimizes the multiplications here as bit shifts since 512 is a power of 2.


So there is more power in that VGA than whatever you can imagine! Let's let it breaking out! Smile
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply
#13
To Spotted Cheetah again:

I couldn’t have said it any darned better myself, and so thank you! Big Grin !

Quote:I checked out your codes: they are just changing the displayed width of the standard QB screens. So they actually remain the same, the screen is just being informed to stop the displaying at 512, not at 640. To achieve the higher refresh rates, all the registers need to be set back for the 512 width, and you will get 108Hz for 512*350 Smile.

Interestingly enough, that is mostly true (at least!). :wtnod: I have not exactly tested the exact Hz rates for my new modes that I was so recently trying out along with your really good QB graphics mode refresh rate code, but I am no doubt certain that on my old monitor from 1992, the modes under QB Screens 8, 9, 11, and 12 all came through and showed VERY clearly with a Hz rate of over 100 (*not* that I want people to try it on certain monitors as there is a possible risk/hazard involved that can do any harmful damage or even worse to the monitors themselves! :o )!!

Quote:The 640*400 mode is quite simple to set up, since you only need to disable the double scanning at 640*200. If you can not find out how to do it i will give you some register sets next time when i can bring stuff here (after 2 weeks) for these mode.

As i said i know how the screen works, i just did not know (possibly because i did not try out) that QB can use these modes. In the case of that 88.5Hz SCREEN 9 i just thought that as everything remains the same except the refresh rate, QB will not notice it, and it worked.

Amazing! :o On how a 640x400 mode can be achieved, I did not even know about that at all (nor did I even think of knowing how to do it, too!). Tell you what, both your register sets and a clear description of how to do the 640x400 mode are *most* welcome here, Spotted Cheetah, and I will wait for you to do so now. ^_^ !

And thank God that you sure know how to access that new mode in QB, too.

Quote:The speed what you got is possibly because of the less pixels, and maybe because QB optimizes the multiplications here as bit shifts since 512 is a power of 2.

ABSOLUTELY 100% TRUE. d=Big Grin=b Know why, my man? Because, as I noticed myself over the past couple to several days ago while I was testing my new graphics modes in QB, I discovered for myself that as the viewable vertical pixels got smaller and smaller, there was indeed more and more speed increase creeping in and pushing on forward (even to the possible point of speeds actually exceeding Screen 13 itself!! :rotfl: ! )! I have noticed this while I was running the modes in their QB-compiled .EXE file-format form, and it really impressed the living heck out of me, you know what I mean? In terms of the optimizations here — multiplications and all — it is like QuickBASIC/QBasic simply saying, “Alright, we can do this, so let’s just get it done and that’s that! :neo:”, and believe me, it is being done right already and then some. Period, end of the conversation. ;*) !

Quote:So there is more power in that VGA than whatever you can imagine! Let's let it breaking out! Smile

A BIG AMEN to that!!! :king: !! That is all I can say, my man.

Catch you again now, and once again, thank you! Big Grin



[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”
url=http://dhost.hopto.org/aapproj/][Image: file.php?id=194][/url]
Your *official* home of the FreeBasic GFX Demo Central, now holding over 150 FB graphics demos so far!!! Big Grin !
Reply
#14
During downloading a few things i write down what i know now (i do not have my tons of notes here what i made to make clear all of the VGA ports' exact work, as i said when i will get back here after 2 weeks).

So firstly altering all the registers containing the width of the screen is far easier than doing the same for the height. At the width there are 6 registers + a memory page width, all of them contain different values plus some damn overflow bits what always need to be remembered. That was why i could make that working automatically in that C program.

The case of height is much more complex. For a start there is an entire register just to hold the overflow values (for example 350 not fits on one byte...), and some of that group can be write protected what must be disabled first to alter them. When i created that 88.5 Hz mode 9 i spent the most time with setting back the retrace registers pixel py pixel and tested if i messed up with those overflows. But it is possible to be done, although it needs much more work to do it properly.

The case of double scanning is quite simple to this: as i can there is just one register what holds this for the height (You altered that to get the 80 pixel tall mode). In the case of width i still did not find out where is the double scanning bit for mode 7, but i think it is somewhere at setting the 256 colors (because of the technique of the VGA 256 color modes ALWAYS have double scanning enabled for their width. So if you set 256*400 in the C program, the screen will get almost the same register set as for 512*400, 16 colors except that a few bits were switched to make it 256 color).


At the side of monitors every recent CRT SVGA should deal easily with these modes as they ask much less from the hardware than for example an 1024 * 768 mode. Of course old screens may fail. That was why i included the VGA compatible mode set in that C program: if it is enabled (Refresh rate is 0), then the mode what it sets will be always VGA compatible (So it will work nicely on any screen capable to display SCREEN 13). But now if it is possible it is good to make these things healthier to the eyes.



Who is that Dmitry Brant ? I tried to search for him, but all what i could find is loads of 404s. But from those short descriptions he really seem to know QB and programming deeply (I found a short chunk of a lost web page from 1999 where it was written that he has a JPG viewer in QB...).
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply
#15
To Spotted Cheetah:

Well, what I do know about Dmitry Brant myself is that he is an *excellent* QB and VB (Visual Basic) programmer, his best work I believe being his own custom Mode-X routines for QB itself — including an ABSOLUTELY so unusual 320x25x256 graphics mode work in what he calls the “Ludicrous Mode”, too — which absolutely was one of the big-time inspirations for me to work on my original graphics modes in the first place. Big Grin

The last I remember apparently about his site appearances, his latest site was dmitrybrant.com (his personal page), but now it ends up with either a 404 or 403 Forbidden error. Sad But man, his QTopia webpage will surely both be and remain a finely good QB website treasure for you and I and this whole community as well to remember if not even cherish forever! Enough said. Wink

Thanks once more now, Spotted Cheetah, and see you later. ^_^ !



[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”
url=http://dhost.hopto.org/aapproj/][Image: file.php?id=194][/url]
Your *official* home of the FreeBasic GFX Demo Central, now holding over 150 FB graphics demos so far!!! Big Grin !
Reply
#16
I do not do any blabbing, just visit our web page & click on Simple VGA Tweaker Smile
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply
#17
To Spotted Cheetah:

When I have last checked out your site just now to try to check out your thing here, it sadly said:

Quote:The page cannot be displayed

The page you are looking for is currently unavailable. The Web site might be
experiencing technical difficulties, or you may need to adjust your browser settings.

And so, could you please upload your “Simple VGA Tweaker” using http://forum.qbasicnews.com/users/upload.php so that I can download it and try it out? Thanks so much!! Big Grin

Talk to you soon, and welcome back! Cool



[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”
url=http://dhost.hopto.org/aapproj/][Image: file.php?id=194][/url]
Your *official* home of the FreeBasic GFX Demo Central, now holding over 150 FB graphics demos so far!!! Big Grin !
Reply
#18
I checked it out: our page is working well. It might have happened that you tried to open it while we uploaded when we deleted the previous first. As i said i just tried: i clicked on it, and downloaded: it is working. I do not want to put it up anywhere else as it is not only me in the Society, i am just only one member of it. It is true that it is only me who visits QBN, but i am not the only one there.
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply
#19
Well hello there, fellow developers...
I found this page while testing out the new MSN search engine (I just tried searching my own name).
I've been out of the loop with respect to QB for quite awhile now; I had no idea there was anything left of the once-thriving community.

Thanks for the kind words, btw, except what is this about 'stealing code'? I did have a collection of other people's programs available for download on my former site (but then, so did everyone in those days); is that what you meant?

I do apologize for taking down dmitrybrant.com, but I'm working on it as we speak. I can't say I have any new QB projects to announce at this point... but we'll se how things go in the coming weeks.

-Dmitry
Reply
#20
Welcome, Dmitry!!

I'm glad you remember QB..

I must thank you for the hundreds of hours of coding and reading specs your jpeg viewer gave me back in 1999. And I aplologize for not telling you about my version then.

Give First Basic a try. It's QB in Windows without an IDE or a GUI library (at the moment).
Antoni
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)