delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/20/08:05:39

Message-ID: <000c01be445b$c7537240$a2e9bcca@harveen.tm.net.my>
From: "Guan Foo Wah" <jgfw AT usa DOT net>
To: <djgpp AT delorie DOT com>
Subject: Re: Need help with VESA code please
Date: Wed, 20 Jan 1999 14:28:39 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
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


There are two methods for bank switching. One is to jump to the bank
swiching code in memory which I don't know how to do it in DJGPP.

The second is to use interrupt which is simple
ah = 0x4F
al = 5
bx =0
dx = bank_no
call int = 0x10

- Raw text -


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