delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/03/30/03:05:45

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Martin Stromberg <eplmst AT lws256 DOT emw DOT erisoft DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DMA question
Date: 30 Mar 2004 07:46:42 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 43
Message-ID: <c4b8l2$gma$1@antares.lu.erisoft.se>
References: <c3rg77$19no$1 AT alpha2 DOT radio-msu DOT net>
NNTP-Posting-Host: lws256.emw.erisoft.se
User-Agent: tin/1.4.7-20030322 ("Suggestions") (UNIX) (SunOS/5.8 (sun4u))
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Anthony <akantsel AT integra DOT rmt DOT ru> wrote:
: Hello,
: The program from message
: http://www.delorie.com/djgpp/mail-archives/djgpp/1995/12/13/17:04:41
: Generates the following output:

: Entry point = 20B:CF
: XMS vesion = 3.0
: Handle of 2048k block = D5B6
: Locked 2048k block at physical location 001B1400
: Linear address = 001B1400, physical address = 001B1400
: Writing to memory area
: Verifying memory area
: Unlocked 2048k block
: Freed 2048k block

: Is it normal that Linear address == physical address?

Depends on XMS provider and if you run in VM86 mode:

1. plain DOS in VM86 mode (using EMM386) -> normal (except for UMBs).

2. plain DOS in real mode -> very normal.

3. VM86 in some WINDOZE or DOSEMU -> unnormal, or I'd say _unlikely_ is
more appropriate.

: Where can I find any discription of interrupts used in this program?

Search for Ralf Brown's Interrupt List.

: One more question: is it 'good style' to post a link to text of program or I
: should put the text in message body?

Tiny program (perhaps up to a page) should be ok. Link is ok. It
depends on what the question is. If you had a lot of questions
regarding specific things about the code, a link and quoting the
relevant parts with your questions would be better.


Right,

						MartinS

- Raw text -


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