🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46644

Re: Using video memory with djgpp

#46644
From: "John Burton"
Date: Sun, 30 Oct 1994 16:17
12 lines
1244 bytes
> Randy Zack (randy@field.acucobol.com) wrote:
> > was wondering if there is any way to access video memory.  I
> It is mapped somewhere to 0xE0000000 (at least on ET4000 chipsets
> you get 1MB linear VidMem).
> Read the DOCs btw, they should tell you more about if your chipset > is 
supported also.

Use the _go32_conventional_memory_sel function (something like that 
anyway) to get a selector to the first Meg of physical memory and then 
use the functions in sys/farptr.h to access the memory. Or code your own 
in assembly language. Easy and it works under windows(dpmi) which the 
first method does not.
Technical Details
Message-ID: <CyHuLw.K3q@cix.compulink.co.uk>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.sprintlink.net!EU.net!uknet!cix.compulink.co.uk!jburton
References: <38r00e$n4@edoras.ms.sub.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3c0671e7074d5c7a
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-10-30 11:29:22 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.sprintlink.net!EU.net!uknet!cix.compulink.co.uk!jburton
From: jburton@cix.compulink.co.uk ("John Burton")
Subject: Re: Using video memory with djgpp
Message-ID: <CyHuLw.K3q@cix.compulink.co.uk>
Organization: Compulink Information eXchange
References: <38r00e$n4@edoras.ms.sub.org>
Date: Sun, 30 Oct 1994 16:17:55 GMT
X-News-Software: Ameol
Lines: 12