delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/26/03:05:27

Date: Thu, 26 Mar 1998 11:04:49 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Ben N. Shadwick" <bshadwic AT clark DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: passing & retrieving buffer thru interrupt
In-Reply-To: <Pine.HPP.3.96.980324204247.6520A-100000@csci.clark.edu>
Message-ID: <Pine.SUN.3.91.980326110430.29215M-100000@is>
MIME-Version: 1.0

On Tue, 24 Mar 1998, Ben N. Shadwick wrote:

> Now that I've had to deal with it, I agree that the parts of the FAQ dealing
> with interrupts and pointers to physical memory locations are confusing and
> unclear, and that adding some example code would definitely be useful to
> many people...

Are you sure you are using the latest FAQ version 2.10?  As far as I
could see, sections 18.3 and 18.4 in the latest version deal
extensively with this issue, including sample code and pointers to
library functions which should be used; you can have further info by
looking up those functions in the libc reference.

If the info in the FAQ is still unclear and confusing, please describe
what parts are unclear and confusing, and/or suggest how to change
them.

> (in fact, what I could use right now are some good examples!)

Please bear in mind that the FAQ cannot be a tutorial.  So it cannot
include too many examples.  I usually put an example where it allows
me to describe succinctly what would otherwise take too many words.

> Here is a summary of what I want to do (in order):
> 
> - Store the buffer address in es:di registers
> - Assign proper values to other registers for calling the function
> - Call the function
> - Examine the contents of the buffer

These are all discussed and explained in sections 18.3 and 18.4 of the
FAQ.  If you have more specific questions about some aspects of these,
please ask them explicitly.

- Raw text -


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