delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/06/13:12:58

From: Hartmut Schirmer <hsc AT techfak DOT uni-kiel DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: weird 32 bit lines in VESA 2.0
Date: Fri, 06 Jun 1997 08:32:33 +0200
Organization: Technische Fakultaet, University of Kiel, Germany
Lines: 16
Message-ID: <3397AF01.7944@techfak.uni-kiel.de>
References: <338F8816 DOT 43DF28C6 AT mwci DOT net> <3394754A DOT 1FBB0227 AT mwci DOT net> <5n37pi$pi AT freenet-news DOT carleton DOT ca> <339702D1 DOT 1038F03B AT mwci DOT net>
NNTP-Posting-Host: zora.techfak.uni-kiel.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Larry Swanson wrote:
>       In my original post(which appears to have been deleted)  I said
> that I though that I was in a 32 bit color mode. Now , with some help
> and re-examining of my code, it appears that I am in a 24 bit mode.
>     Does anybody out there know how to get a 32 bit mode under VESA?  > I would prefer to write out a d-word at a time, mostly for speed and
> partly for ease of use.

Select a VESA mode with 4 Bytes/Pixel should be 32bit memory layout
then. But keep in mind to check how it's aligned :)

Hartmut
-- 
Hartmut Schirmer                   | Phone: +49-431-77572-709  FAX:-703
Automatisierungs- & Regelungstech. | hsc AT techfak DOT uni-kiel DOT de
Technische Fakult"at,              | http://www.techfak.uni-kiel.de/~hsc
Kaiserstr. 2, 24143 Kiel, Germany  | PGP key via WWW, Key ID:6D84AEC1

- Raw text -


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