On Tue, 8 Sep 1998, CyberPsychotic wrote:

>I was coding some kind of emulator like thing and came to the need to run
>a piece of binary code in 8086 mode. (no DOS ints. a coulpa of BIOS ones),
>I 've read in some book that it could be possble to switch 486 processor
>to run certain task in 8086 mode I wonder if that's possible to do this
>from within a C code? (actually I don't remember what book I have seen it

Yes, 386+ CPUs have so called vm86-mode. For details how to do it see
eg. Intel Pentium Programmer's Manual and Dosemu. Also man vm86 may help.

--
| Tuukka Toivonen <[EMAIL PROTECTED]>       [PGP public key
| Homepage: http://www.ee.oulu.fi/~tuukkat/       available]
| Try also finger -l [EMAIL PROTECTED]
| Studying information engineering at the University of Oulu
+-----------------------------------------------------------

Reply via email to