delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/18/18:55:29

Message-ID: <36A3C372.76E193CE@net4you.co.at>
Date: Tue, 19 Jan 1999 00:27:46 +0100
From: Seawolf <seawolf AT net4you DOT co DOT at>
X-Mailer: Mozilla 4.07 [de] (Win98; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Need help with VESA code please
NNTP-Posting-Host: 194.177.154.75
X-Trace: 19 Jan 1999 00:26:50 +0100, 194.177.154.75
Lines: 19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Is someone having some code for plotting pixels in 8+-bit VESA graphics
modes? It should work with Borland C 3.1 (may contain intel assembly) -
sorry, but I don't know any other place where to ask... I've already
written the main code but I have no clue how to do bank switching,...
(it's my first try on VESA programming - everything's okay except the
drawing functions ;). The tutorials that I've found are complete
VESA-howto's for DJGPP or WatcomC (and I'm really the wrong person for
porting 32-bit AT&T / intel assembly to 16-bit intel assembly ;-). So I
mean plotting a single pixel by using

[very simplified, 8-bit modes]
pokeb( 0xA000, pixelOffset, color);

works fine for the first bank. But what do I have to do now? When
crossing a bank boundary I have to do bank switching - right?

Thanks a lot in advance!


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019