SVGA in QBasic question (from Tolga Sizene)
Posted: Thu Nov 13, 2008 4:46 pm
A question from a QB Express reader...
Hi!.
I really need help. I am triing to set a svga screen in qb4.5. I've tried 'call interruptx' and even 'call absolute'. And I set the svga screen. Since I have a LCD monitor, the systems with a CRT monitor installed, does not runs my program. The monitors say, 'out of range'. So, I've learned that there is a CRTC table and I've learned the ports. And the 'EDID'. But never ever succeed on setting a svga mode with correct refresh rates.
But FB does it. I beg you, please develop an article about that. How to set a svga mode with correct refresh rates ? Please include examples.
In fact, it is all in english and it is senseless for me.(just for me). ex : 'Horizantal Sync Total' It is 1240 for a 1024xYxD screen. But why ? The other parameters are the same. The pixel clock ? The color clock ? Please help. Also, Does it matter if we set a svga mode in 16 bits mode (pmode I think) ?. I mean, If we use, 32 bit mode with linear addressing, does it make a change ?
Thanks....
Question 2: How to write our own 'call absolute' command in assembly. Any ideas ?. setting CS:IP to a point and return back to the caller when finishes. ???
Note : I don't want to use FB, instead I am creating my own sub commands like; 'Load.Pic Sting$, Pic.No%, PaletteFlag%" etc..
Note : You can modify my post, cuz my english really sux.
Special Question : Is antony gual alive ? If so send my regards....He is my idol but he doesn't know yet...
Tolga Sizene