China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 03:33
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Help] About programming for VESA View 1,019 Replies 10
Original Poster Posted 2003-08-13 00:00 ·  中国 福建 三明 广电网
高级用户
★★
苏醒的沉睡者
Credits 659
Posts 217
Joined 2003-02-15 00:00
23-year member
UID 930
Gender Male
From 福建
Status Offline
Under DOS, how do you program for VESA ah??????????
好久没碰Dos,手都生了,赶紧回来练练.嘿嘿
Floor 2 Posted 2003-08-13 00:00 ·  中国 浙江 杭州 华数宽带
初级用户
★★
Credits 516
Posts 156
Joined 2003-07-28 00:00
23-year member
UID 7657
Gender Male
Status Offline
What language? C or Basic or VB?
Floor 3 Posted 2003-08-13 00:00 ·  中国 福建 三明 广电网
高级用户
★★
苏醒的沉睡者
Credits 659
Posts 217
Joined 2003-02-15 00:00
23-year member
UID 930
Gender Male
From 福建
Status Offline
C, or assembly
好久没碰Dos,手都生了,赶紧回来练练.嘿嘿
Floor 4 Posted 2003-08-14 00:00 ·  中国 浙江 杭州 华数宽带
初级用户
★★
Credits 516
Posts 156
Joined 2003-07-28 00:00
23-year member
UID 7657
Gender Male
Status Offline
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.
Floor 5 Posted 2003-08-14 00:00 ·  中国 福建 三明 广电网
高级用户
★★
苏醒的沉睡者
Credits 659
Posts 217
Joined 2003-02-15 00:00
23-year member
UID 930
Gender Male
From 福建
Status Offline
How do I do it??
好久没碰Dos,手都生了,赶紧回来练练.嘿嘿
Floor 6 Posted 2003-08-15 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
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.
MSN:tiqit2@hotmail.com
Floor 7 Posted 2003-08-16 00:00 ·  中国 浙江 杭州 华数宽带
初级用户
★★
Credits 516
Posts 156
Joined 2003-07-28 00:00
23-year member
UID 7657
Gender Male
Status Offline
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.
Floor 8 Posted 2003-08-17 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
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......
MSN:tiqit2@hotmail.com
Floor 9 Posted 2003-08-17 00:00 ·  中国 浙江 杭州 华数宽带
初级用户
★★
Credits 516
Posts 156
Joined 2003-07-28 00:00
23-year member
UID 7657
Gender Male
Status Offline
It's not from bc or tc, it's an SVGA graphics interface program, so then you can only use univbe.exe
Floor 10 Posted 2003-08-17 00:00 ·  中国 陕西 西安 教育网
高级用户
★★
OS/2女孩
Credits 639
Posts 183
Joined 2003-06-14 00:00
23-year member
UID 5148
Gender Female
Status Offline
..........Here's a suggestion: go to a DOS game development website. Discussing it here probably won't lead to any result.
REM 喜欢DOS,因为它的简单
REM 喜欢OS/2,因为它不再矫饰
REM 喜欢BASIC,因为它并不幼稚
REM 喜欢GNU,因为它杂乱无章
Floor 11 Posted 2003-10-25 00:00 ·  中国 湖南 长沙 电信
初级用户
★★
Credits 255
Posts 54
Joined 2003-10-24 00:00
22-year member
UID 11864
Gender Male
Status Offline
Do you have SVGA256.bgi?
Could you send me a copy?
My E-MAIL: dongkai329@yahoo.com.cn
Thanks ^_^
Forum Jump: