I am looking for 80386 real mode simulator, can you recommend some? I am interested just in CPU core and memory, I dont need peripherals and accurate modeling of instruction execution time due to pipelining. I have already briefly tried simulator included in dosbox but didnt liked its UI much. Thanks.
Asked
Active
Viewed 1,486 times
2 Answers
1
What specifically are you looking for? Any x86 simulator will load the bootloader in real mode. qemu and bochs are both free and can emulate x86 processors.

ughoavgfhw
- 39,734
- 6
- 101
- 123
-
And bochs even has built-in debugger. qemu is supposedly able to connect to gdb, but I never got that working in 16 bit mode. – Jester Feb 16 '11 at 22:33
-
@Jester The -s flag enables the debugger port, and the -S (capital s) tells it to wait for the debugger before starting. Maybe you were past real mode when you connected? – ughoavgfhw Feb 16 '11 at 23:34
-
Actually I think it connected, just that gdb wasn't very happy with 16 bit real mode (my gdb being 64 bit, even). – Jester Feb 17 '11 at 01:00
-
@Jester Yeah, you are probably right then. gdb doesn't notice its in real mode so it disassembles as if it wasn't. – ughoavgfhw Feb 17 '11 at 02:01