www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/05/18:09:15

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: A new DJGPP coder need help
Date: 5 May 1997 13:25:21 GMT
Organization: Oxford University, England
Lines: 26
Message-ID: <5kkn41$498@news.ox.ac.uk>
References: <336DCCA2 DOT 161D AT iiic DOT ethz DOT ch>
NNTP-Posting-Host: sable.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Andrea Martino (amartino AT iiic DOT ethz DOT ch) wrote:
: Hallo, I`m new in DJGPP world and so I have some problems.

I can't help with ASM, sorry. Have you looked at Brennan's guide, though?
http://www.rt66.com/~brennan/djgpp, follow the links to his guide to DJGPP
inline assembler.

: Another problem (my machine has 24 Mb of RAM)...

Yes, but you also have hard drive space free which your DPMI server is
treating as virtual memory. This is completely transparent to your
programs; your malloc works because the total amount of memory
(physical+virtual) is enough to provide the block you requested.

: /------

: Why (in protected mode) I have to import go32 for adressing the video
: memory? Where can I find some good tutorials?

Because it's protected, and you need to ask the DPMI server for permission
to write there. I don't know about tutorials, but http://www.delorie.com/
has some links, and Brennan's DJGPP page (mentioned above) is invaluable.

-- 
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford

- Raw text -


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