Page 1 of 1

Bochs: How to emulate a 286 or 8086?

Posted: Fri Dec 10, 2010 9:50 am
by bob10
Hi,

is it possible to configure bochs to emulate only a 80386 and not a 80486/Pentium or newer?
I would like to test my cpuid detection routine...

Re: Bochs: How to emulate a 286 or 8086?

Posted: Fri Dec 10, 2010 9:58 am
by f2
I'm not sure if it's really possible. Maybe by modifying and recompiling Bochs...

However, there's a cpuid option which allows you to disable some features, like MMX, SSE instructions. It is also possible to set the vendor string. Well, it's not really what you want, but it could be useful for you.

Re: Bochs: How to emulate a 286 or 8086?

Posted: Fri Dec 10, 2010 10:29 am
by Karlosoft
Hi! In the title you asked for 8086 80286. In the text the 80386. So, what do you want to know? ;)

Re: Bochs: How to emulate a 286 or 8086?

Posted: Fri Dec 10, 2010 2:14 pm
by bob10
Sorry.
I want to test an assembler routine, which detectes if CPUID support is available or not.

Re: Bochs: How to emulate a 286 or 8086?

Posted: Fri Dec 10, 2010 6:59 pm
by Combuster
Just configuring bochs with --enable-cpu-level=3 will result in a emulation without CPUID.