| delorie.com/archives/browse.cgi | search |
| Message-ID: | <35CD4FD1.65FD4B5@geocities.com> |
| From: | Merlin <merlin__ AT geocities DOT com> |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Extended Inline Assembly Help |
| References: | <199808082021 DOT VAA24824 AT sable DOT ox DOT ac DOT uk> <902615331 DOT 608967 AT samba DOT news DOT big-orange DOT net> |
| Lines: | 22 |
| Date: | Sun, 09 Aug 1998 07:32:05 GMT |
| NNTP-Posting-Host: | 209-cy-wpg.ilos.net |
| NNTP-Posting-Date: | Sun, 09 Aug 1998 02:32:05 CDT |
| Organization: | MBnet Networking Inc. |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Sylvester Hesp wrote:
> It's not only 'simpler', __dpmi_int() must be used, because you can't
> just call a real-mode interrupt from protected mode.
:-)
void settextmode()
{
union REGS regs;
regs.x.ax=0x03;
int86(0x10,®s,®s);
}
That should work too...
cya l8r,
Merlin.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |