OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 12:20 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re:x86 Emulators
PostPosted: Tue Sep 07, 2004 5:51 am 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
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.


Top
 Profile  
 
 Post subject: Re:x86 Emulators
PostPosted: Tue Sep 07, 2004 7:23 am 
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


Top
  
 
 Post subject: Re:x86 Emulators
PostPosted: Tue Sep 07, 2004 8:17 am 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
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.


Top
 Profile  
 
 Post subject: Re:x86 Emulators
PostPosted: Wed Jan 19, 2005 8:16 pm 
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.


Top
  
 
 Post subject: Re:x86 Emulators
PostPosted: Tue Jan 25, 2005 5:50 am 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 53 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group