From: "Damian Yerrick" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: HELP - GFX programming Lines: 45 Organization: Pin Eight Software X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: <9Vh04.2948$at4.63036@dfiatx1-snr1.gtei.net> X-Trace: +rhFIsDYXqFHTFsND+qQ6R/W85Ml0iI9y2s2iaJ+JF6eOL3Vi/gvw1Kknl9g5QQeIHF6+RyXYfKm!qHRhqxVjlnWNgDInrJ+lwL73MxtUWseGmLTRbRF4k7+oelg3dS6VMoxUDJSzT13UaGefoLqIVw== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sun, 28 Nov 1999 22:20:53 GMT Distribution: world Date: Sun, 28 Nov 1999 22:20:54 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "sl" wrote: > > I have been studying the VESA 1.2 document and I have > some technical questions.. I need to know what the following > things are and what they are used for: The VESA specs are dense and DOS-only. For an easier, more portable way to get SVGA in 256, thousands, or millions of colors, try Allegro. http://www.talula.demon.co.uk/allegro/ No use reinventing the wheel, but if you insist: > 1) Memory windows Has nothing to do with Microsoft Windows 3.x, 95, 98, or NT. The original SVGA cards had a banked frame buffer so that real- mode (pre-DJGPP) programs could access all the RAM on the card. A program would write a bunch of pixels to one bank, "slide the window," and write to the next bank. > 2) Window granularity > 3) Memory banks > 4) Memory model - How does it help us when we know which > memory model the card uses? Planar vs. linear: In planar (16 color or some cards' 16 million color) modes, red is stored in one bitplane, green in another, and blue in a third. In linear (256 colors and most cards' high and true color), modes, the pixels are stored as a straight bitmap. > 5) If NumberOfImagePages is nonzero and there is space for > virtual display images/pages, how does one flip between them? > How does one write into these virtual pages as opposed to the > displayed page? By sliding the window to the other pages. > That's all for now .. Please reply, Posted and emailed. Damian Yerrick