From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: svga Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <393A97A6 DOT 68C0EB6 AT ne DOT infi DOT net> <393A9867 DOT 8872DAEE AT it-he DOT org> <8heat2$cho$1 AT supernews DOT com> <393C606A DOT 174FA10D AT ne DOT infi DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 36 X-Trace: /bCCZGA/bwdI+6eHiSpkWrs8KlcIHqgI0WfhnKn0apQUydPHaMKSHk1gJpD0Ly9inNSRW17eKeO8!MMYl/Y4Xh22JyI0Lf9sIy8LDWM3UFFK2yOhIBJYm4AabOXxNcsm5kVpcX4jZPBO/IMw6Ly//sO1+!fcQc 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: Wed, 07 Jun 2000 19:42:43 GMT Distribution: world Date: Wed, 07 Jun 2000 19:42:43 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 05 Jun 2000 22:22:35 -0400, Martell wrote: >i would like to write the graphical functions myself, just for the >knowledge of how they work, so using pre-written functions is not >what im looking for here. But you can still _look_ at working library functions to see how they work. >i already know how to allocate 307 kb and how to get into svga mode, >switch banks Bank switching is different on each video card; VESA tries to fix this, but implementations are extremely buggy. >but im having trouble transfering the buffer to the screen. (64K at >a time thanx to bank switching). Instead of bank switching, you might want to look for VESA 2 linear frame buffer. It gives you one big bank (like the Mac does) that can be up to 16 MB (given enough VRAM). >anybody have any ideas/suggestions/comments/source code that might >help me do this? Look at the Allegro source: http://www.talula.demon.co.uk/allegro/ See how it works its magic, and write your own code to do the same. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/