🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46618

Re: DOS video memory in DJGPP

#46618
From: Paul Shirley
Date: Fri, 04 Nov 1994 20:02
26 lines
1884 bytes
           S.Hull@bradford.ac.uk "S HULL" writes:
>James Bielman (jamesjb@CSOS.ORST.EDU) wrote:  
>: Does anyone know where DJGPP maps the beginning of the 
>: VGA memory to? In desperation I tried writing to 
>: 0xA0000000 but it crashed on me with a seg. violation.  
>: Any ideas? Thankx a lot.  : -=- James -=- 
>: Internet: jamesjb@csos.orst.edu 
>
>I downloaded DJGPP a couple of days ago to take a look and have the same
>problem. It mentioned that the first 1Mb of physical memory was mapped to
>E0000000 so I tried writing to E00A0000, it didn't crash but I saw no
>output. I don't want to use the drivers included, I want to write my own.
> 
>Is there anybody seriously using DJGPP for game developement out there? If
>so could someone with a few answers put together a mini faq or something as
>I see a lot of people with questions like this.  
>

I have no problem accessing it at 0xd0000000 :-)

The docs suggest that it may be located elsewhere depending on which
memory manager is installed so check the docs.


-- 
Paul Shirley: Coffee Hunter Extreme
Technical Details
Message-ID: <783979342snz@teeny.demon.co.uk>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!gatech!howland.reston.ans.net!pipex!demon!teeny.demon.co.uk!PS
References: <39bk5k$kkp@columbia.acc.brad.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3c2b9b0cb32b965f
X-Google-Attributes: gid11318c,public
X-Google-Thread: fe306,3c2b9b0cb32b965f
X-Google-Attributes: gidfe306,public
X-Google-ArrivalTime: 1994-11-04 12:02:22 PST
Newsgroups: gnu.gcc.help,rec.games.programmer
From: PS@teeny.demon.co.uk (Paul Shirley)
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!gatech!howland.reston.ans.net!pipex!demon!teeny.demon.co.uk!PS
Subject: Re: DOS video memory in DJGPP
References: <39bk5k$kkp@columbia.acc.brad.ac.uk>
Organization: TWG
Reply-To: PS@teeny.demon.co.uk
X-Newsreader: Demon Internet Simple News v1.27
Lines: 26
Date: Fri, 4 Nov 1994 20:02:22 +0000
Message-ID: <783979342snz@teeny.demon.co.uk>
Sender: usenet@demon.co.uk