🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5309

Re: Novice 386 C Compiler/Video Driver/EMM Questions

#5309
From: Joe Huffman
Date: Tue, 19 Mar 1991 21:14
66 lines
3573 bytes
osmoviita@cc.helsinki.fi writes:

>In article <1991Mar12.174602.25258@proto.com>, joe@proto.com (Joe Huffman) 
>writes:
>> 
>> Zortech C/C++ can give you 386 code with the PharLap DOS extender.   The
>> graphics library (which I wrote) currently does not support a 512 x 512 x
>> 256 simultaneous color mode.  But if your graphics board supports VESA
>> then the high resolution (greater than 320 x 200) 256 color modes will be
>> supported soon.  If it doesn't support VESA then either you can easily make

>When will that be available (V. 2.2 ?)? I hope it supports all VESA modes.

It won't support all of them (I'm not sure that any board supports all of
them).  But it will support some of the high resolution (>= 800 x 600)
256 color modes.

>And double buffering functions for cards with enough memory e.g. 1 MB card 
>in 800x600x256 or 640x480x256 mode. 512x512x256 color mode support would be 
>nice for me too (with use of 1024x1024x256 image memory and 512x512
>window). VESA support is really important, but in addition to that there
>could be drivers for most common SuperVGAs which doesn't support VESA.

Double buffering functions in not planned at this time.

Several Super VGA boards are currently supported including: 

Orchid Pro Designer With multi-freq monitor, 800x600x16 colors (mode 0x29).
Paradise VGA Plus   With multi-freq monitor, 800x600x16 colors (mode 0x58).
Trident 8900        With multi-freq monitor, 800x600x16 colors (mode 0x5B).
Video 7 VEGA VGA    With multi-freq monitor, 800x600x16 colors (mode 0x62).
Diamond Flower Inst With multi-freq monitor, 800x600x16 colors (mode 0x64).
VESA (multi vendor) With multi-freq monitor, 800x600x16 colors (mode 0x6A).
Everex EVGA         With multi-freq monitor, 800x600x16 colors (mode 0x70).

>It sounds too hard to start writing a driver if one wants to buy a compiler
>to make graphics programs without any knowledge of the graphics hardware or
>being novice in C/C++.

There are about 4 functions that you have to write in order to make a 
crude (slow) driver with FG.  fg_init_YOUR_BOARD(), fg_term_YOUR_BOARD(),
fg_YOUR_BOARD_drawdot(), and fg_YOUR_BOARD_readdot().  If in addition you
write a fast fg_YOUR_BOARD_drawline() for the case of horizontal lines then
you will make a significant speed up for the library as a whole.

>> Zortech gives educational discounts to people that have .EDU in their email
>> address.  Call 800-848-8408 and ask for Renee to order (or to get

>Only in U.S.A. :-( ?

I'm not sure of the details.  Send email to zortech-ed@zortech.com.  I think
it is available elsewhere.

---
Zortech mailing list: send email to 'ztc-list-request@uunet.uu.net' with:
Add: your-user-name@your-machine-name
In the body of the message.
---
Send Zortech bug reports to 'zortech-bugs@zortech.com'
Send requests for educational discounts to 'zortech-ed@zortech.com'
---
Zortech is my major source of income.  Statements about them or their 
competitors cannot be totally without bias.  

-- 
joe@proto.com
Technical Details
Message-ID: <1991Mar19.211422.10207@proto.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!proto!joe
References: <11886@uhccux.uhcc.Hawaii.Edu> <1991Mar12.174602.25258@proto.com> <1991Mar18.030229.5580@cc.helsinki.fi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!proto!joe
From: joe@proto.com (Joe Huffman)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Novice 386 C Compiler/Video Driver/EMM Questions
Message-ID: <1991Mar19.211422.10207@proto.com>
Date: 19 Mar 91 21:14:22 GMT
References: <11886@uhccux.uhcc.Hawaii.Edu> <1991Mar12.174602.25258@proto.com> <1991Mar18.030229.5580@cc.helsinki.fi>
Organization: Prototronics @ Sandpoint, Idaho
Lines: 66