Date: Mon, 29 Mar 1999 12:47:14 -0500 Message-Id: <199903291747.MAA06798@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <7do9p8$a7j$1@orudios.magnet.at> (marku@magnet.at) Subject: Re: Tricky interrupt problem References: <7do9p8$a7j$1 AT orudios DOT magnet DOT at> Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Using __dpmi_int is OK, but the trick is to point DS:DX at the 16-bit "transfer buffer" that djgpp uses to talk with DOS. You fill the transfer buffer with data, set up DS:DX to point to it, call the interrupt, and then copy the new data back. The libc sources have lots of examples of using the transfer buffer.