| delorie.com/archives/browse.cgi | search |
| From: | Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: es:di with interrupts? |
| Date: | Wed, 17 Dec 1997 11:44:30 +0100 |
| Organization: | University of Ghent, Belgium |
| Lines: | 17 |
| Message-ID: | <3497AD0E.3820@rug.ac.be> |
| References: | <349792B9 DOT 34FCF982 AT mailto DOT de> |
| NNTP-Posting-Host: | eduserv1.rug.ac.be |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
krizz wrote: > > i want to use an interrupt under djgpp. the interrupt need a buffer > with a segment and offset (es:di). how can i convert my flat to real > memory? Any differences between real mode and protected mode and how you should port programs from rm to pm is covered in the FAQ. If your interrupt is a protected mode interrupt, you could access DOS memory, through the _dos_ds selector, but for further information on how to use protected mode interrupts see also Eli's FAQ. -- \ Vik /-_-_-_-_-_-_/ \___/ Heyndrickx / \ /-_-_-_-_-_-_/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |