From: Michael Flegel 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: NNTP-Posting-Host: sat111.physnet.uni-hamburg.de Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 ; ;----------------------------------------------------------------------------;