x86 Emulators

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:x86 Emulators

Post by Brendan »

Hi,
srg wrote: BTW IMHO the PC is desperately missing a method to do ICE on a normal motherboard.
I'd prefer a very good emulator. Something that could emulate an 80386 or an 8 way opteron server running in 64 bit (and everything in-between) that isn't restricted by the amount of resources in the host machine, and does have a good debugger.

Bochs is the closest thing I've found so far, but it's lacking PAE, ACPI, MSRs, NUMA, hyper-threading and is restricted by host resources. Bochs debugger needs improvements for multi-CPU. The BIOS code could also be done so that the same BIOS image works for all setups. Each BIOS function could be accelerated by simulation rather than emulation too.

I'd love to write an emulator with my OS as host, but by the time my OS is done I wouldn't need one so much (and I'm not immortal so time is a factor)...


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
srg

Re:x86 Emulators

Post by srg »

Brendan wrote: Hi,
srg wrote: BTW IMHO the PC is desperately missing a method to do ICE on a normal motherboard.
I'd prefer a very good emulator. Something that could emulate an 80386 or an 8 way opteron server running in 64 bit (and everything in-between) that isn't restricted by the amount of resources in the host machine, and does have a good debugger.

Bochs is the closest thing I've found so far, but it's lacking PAE, ACPI, MSRs, NUMA, hyper-threading and is restricted by host resources. Bochs debugger needs improvements for multi-CPU. The BIOS code could also be done so that the same BIOS image works for all setups. Each BIOS function could be accelerated by simulation rather than emulation too.

I'd love to write an emulator with my OS as host, but by the time my OS is done I wouldn't need one so much (and I'm not immortal so time is a factor)...


Cheers,

Brendan
Surly it would be best to be able to do exactly with what you do with bochs, but will a real machine, stop it, read write memory and registers, real probe mode stuff. I saw it done with a PowerPC before and it was great. Really I mean take any PC, from a 386 to an 8-way 64-bit opteron system and use it like you use a bochs emulation.

srg
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:x86 Emulators

Post by Brendan »

Hi,
srg wrote: Surly it would be best to be able to do exactly with what you do with bochs, but will a real machine, stop it, read write memory and registers, real probe mode stuff. I saw it done with a PowerPC before and it was great. Really I mean take any PC, from a 386 to an 8-way 64-bit opteron system and use it like you use a bochs emulation.
IMHO a great emulator would be much better as you can test all CPUs with any combination of hardware (even impossible combinations, like an 80386 with PCI).

If you had a device that allowed you to use a real CPU like you'd use Bochs then it'd be very unlikely that it'd work on all computers, and also unlikely that you'd have that many real computers to plug it into. It would still be extremely useful though :).


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
gilles

Re:x86 Emulators

Post by gilles »

Have you tried Emu486 from www.gerisoft.net ?
It is base on RDOS 486 cpu emulation and uses some of Bochs devices.It's aim is to permit os developper to debug their OS.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:x86 Emulators

Post by Brendan »

Hi,
gilles wrote: Have you tried Emu486 from www.gerisoft.net ?
It is base on RDOS 486 cpu emulation and uses some of Bochs devices.It's aim is to permit os developper to debug their OS.
For my OS it dies during the boot sector - it thought "WBINVD" was an invalid instruction.

It does look promising though.


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Post Reply