delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/18/18:06:24

From: Sampo Niskanen <sampo AT lizard DOT compart DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with linear video memory
Date: 14 Aug 1997 19:12:35 GMT
Organization: Xgateway Finland Ltd. - news.xgw.fi server
Lines: 13
Message-ID: <5svlb3$auf@news.xgw.fi>
NNTP-Posting-Host: lizard.compart.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

How can I make a selector to access the memory of a linear framebuffer
(VESA VBE 2.0, __dpmi_set_selector doesn't work) and how can I write in
it? When I try to write to it (with a selector which can access all 4GB
of memory), it always segfaults. Is there something else to do than
just to set a (vesa) videomode with bit 14 set and to check the position
of the framebuffer to get a linear framebuffer?

-- 
  __________________________________________________
 /____\    Sampo Niskanen <=> sampo AT compart DOT fi      \
       \         http://www.compart.fi/~sampo        \
        \     ________________________________________\___
         \___/___________________________________________/

- Raw text -


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