🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46626

DOS video memory in DJGPP

#46626
From: S HULL
Date: Thu, 03 Nov 1994 21:19
18 lines
1499 bytes
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.  

Thanks, 
S.Hull@bradford.ac.uk
Technical Details
Message-ID: <39bk5k$kkp@columbia.acc.brad.ac.uk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!EU.net!uknet!strath-cs!bradford.ac.uk!shull

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-05 17:12:45 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!EU.net!uknet!strath-cs!bradford.ac.uk!shull
From: S.Hull@bradford.ac.uk (S HULL)
Newsgroups: gnu.gcc.help,rec.games.programmer
Subject: DOS video memory in DJGPP
Date: 3 Nov 1994 21:19:48 GMT
Organization: University of Bradford
Lines: 19
Message-ID: <39bk5k$kkp@columbia.acc.brad.ac.uk>
NNTP-Posting-Host: ccw308.acc.brad.ac.uk
X-Newsreader: TIN [version 1.2 PL2]