Date: Thu, 26 Mar 1998 11:04:49 +0300 (IDT) From: Eli Zaretskii To: "Ben N. Shadwick" cc: djgpp AT delorie DOT com Subject: Re: passing & retrieving buffer thru interrupt In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.