中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 05:37
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » [Help] About programming for VESA
Printable Version  1,126 / 10
Floor1 070 Posted 2003-08-13 00:00
高级用户 Posts 218 Credits 663 From 福建
Under DOS, how do you program for VESA ah??????????
Floor2 hhhhhh Posted 2003-08-13 00:00
初级用户 Posts 156 Credits 516
What language? C or Basic or VB?
Floor3 070 Posted 2003-08-13 00:00
高级用户 Posts 218 Credits 663 From 福建
C, or assembly
Floor4 hhhhhh Posted 2003-08-14 00:00
初级用户 Posts 156 Credits 516
This is for switching code pages. I think what you want is to implement SVGA, not VGA, right? First do a graphics initialization include, return value, then initialize again. This graphics driver is fairly good, but the support isn't good enough.
Floor5 070 Posted 2003-08-14 00:00
高级用户 Posts 218 Credits 663 From 福建
How do I do it??
Floor6 Dark-Destroy Posted 2003-08-15 00:00
元老会员 Posts 3,551 Credits 8,312
The following is quoted from hhhhhh's post at 2003-8-14 18:49:14:
This is for switching code pages. I think what you want is to implement SVGA, not VGA, right? First do a graphics initialization include, return value, then initialize again. This graphics driver is fairly good, but the support isn't good enough.


Wrong. VESA is a software standard interface created because different manufacturers' SVGA graphics cards had different specifications. The most widely used one at present is VESA 2.0. The graphics.h file in TUBRO C does not have functions supporting VESA; as for DJGPP, I don't know. If you write it in ASM, you first need to know whether your BIOS supports VESA 2.0. If it doesn't, you need to use an add-on. univbe.exe is a good program, recommended.
Floor7 hhhhhh Posted 2003-08-16 00:00
初级用户 Posts 156 Credits 516
Right, graphics.h doesn't have functions supporting vesa, but if you copy svga256.bgi into C's system program directory and compile, it will work. I don't like using univbe.exe.
Floor8 Dark-Destroy Posted 2003-08-17 00:00
元老会员 Posts 3,551 Credits 8,312
The following is quoted from hhhhhh's post at 2003-8-16 18:47:13:
Right, graphics.h doesn't have functions supporting vesa, but if you copy svga256.bgi into C's system program directory and compile, it will work. I don't like using univbe.exe.


svga256.bgi?? Which development environment is that from?? It's not in borland C.... nor in tubro C......
Floor9 hhhhhh Posted 2003-08-17 00:00
初级用户 Posts 156 Credits 516
It's not from bc or tc, it's an SVGA graphics interface program, so then you can only use univbe.exe
Floor10 lemonhall Posted 2003-08-17 00:00
高级用户 Posts 183 Credits 639
..........Here's a suggestion: go to a DOS game development website. Discussing it here probably won't lead to any result.
Floor11 凌晨一点 Posted 2003-10-25 00:00
初级用户 Posts 54 Credits 255
Do you have SVGA256.bgi?
Could you send me a copy?
My E-MAIL: dongkai329@yahoo.com.cn
Thanks ^_^
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023