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...
Bochs: How to emulate a 286 or 8086?
Re: Bochs: How to emulate a 286 or 8086?
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.
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.
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa
Re: Bochs: How to emulate a 286 or 8086?
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?
Sorry.
I want to test an assembler routine, which detectes if CPUID support is available or not.
I want to test an assembler routine, which detectes if CPUID support is available or not.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Bochs: How to emulate a 286 or 8086?
Just configuring bochs with --enable-cpu-level=3 will result in a emulation without CPUID.