www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/11/09:16:50

Date: Wed, 11 May 94 09:09:16 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: jordan AT u-bourgogne DOT fr
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Some help about djgpp C/C++

>     - where can I get documented sample programs for various uses of this
>       compiler?

the samples subdirectory has some programs.  The tests module
(djtst111.zip) has some others.

>     - how can I write directly in the video ram (text mode) ?

Use the functions in <pc.h> (*Screen*).

>     - how can I access to a specific PHYSICAL address (such as with
>       Borland C peek and poke instructions

For 0-1Mb, you can use the dosmemget and dosmemput functions, or with
1.11.maint5 use <farptr.h> and _go32_conventional_mem_selector().

>     - does a clear documentation exist about DPMI versus gnuC++ ?

Not a clear one, but look in docs/djgpp/dpmi.doc and in info's libcref
section for _go32_dpmi_*.


- Raw text -


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