www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/16/14:31:26

From: Michael Flegel <FLEGEL AT physnet DOT uni-hamburg DOT de>
Newsgroups: alt.lang.asm,comp.os.msdos.djgpp
Subject: Physical Address -> Descriptor?
Date: Mon, 15 Jun 1998 12:25:48 +0000
Organization: University of Hamburg -- Germany
Lines: 23
Message-ID: <Pine.VMS.3.91-b11-vms.980615122005.825A-100000@sat111.physnet.uni-hamburg.de>
NNTP-Posting-Host: sat111.physnet.uni-hamburg.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello Y'All,

I've been trying to implement some VESA routines in protected mode under 
djgpp. As it happens, function 4F01h returns a the Physical Address of 
the flat memory area of the video memory. Now I've tried and tried, but I 
just can't get the PhysBasePtr -> linear address -> descriptor/selector 
-> correct access rights/limit for descriptor right.
There must me millions of people who have working protected mode djgpp 
VESA code out there. So _please_ can somebody just send me their three 
lines of C code or 27 lines of asm code that takes care of my problem?
I would be greatly indebted to anyone who can help me.
Thanx in advance,

  MLF/SLi

;----------------------------------------------------------------------------;
;  Michael Lamar Flegel  ;  Student of Math and Physics in Hamburg, Germany  ;
;  Am Ehrenmal 2         ;---------------------------------------------------;
;  21516 Schulendorf     ;  www.physnet.uni-hamburg.de/home/vms/flegel       ;
;  Germany               ;  flegel AT physnet DOT uni-hamburg DOT de                    ;
;----------------------------------------------------------------------------;

- Raw text -


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