delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/10/11:25:54

Date: Thu, 10 Feb 94 11:02:22 -0500
From: DJ Delorie <dj AT ctron DOT com>
To: tjko AT tarzan DOT math DOT jyu DOT fi
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Direct video memory access?

> Been testing DJGPP (v1.11.maint2) for a while and it looks great!
> 32bit flat memory model and everything... but it seems that you cannot
> access *directly* the first 1Meg (mapped at E0000000) while running
> QEMM's QDPMI or VDM under OS/2 (ie. DPMI in use) ?

This is correct.

> Since it would be great to be able make same C/ASM sources to
> work in OS2 and DOS. What I especially need is the ability to use virtually
> same 32bit assembler routines that access video memory (text/graphics) 
> under both operating systems.

Use dosmemget() and dosmemput() to access conventional memory.  It
works in all modes.


- Raw text -


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