Message-ID: <35CD4FD1.65FD4B5@geocities.com> From: Merlin 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Precedence: bulk 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.