qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] 16-bit (and 8-bit) emulation


From: Paul Brook
Subject: Re: [Qemu-devel] 16-bit (and 8-bit) emulation
Date: Sun, 15 Apr 2007 13:35:04 +0100
User-agent: KMail/1.9.5

On Sunday 15 April 2007 13:08, Nigel Horne wrote:
> Stuart Brady wrote:
> > On Sun, Apr 15, 2007 at 11:08:56AM +0100, Nigel Horne wrote:
> >> Can qemu emulate 16-bit machines (286?)?
> >
> > None that I'm aware of.  Is there any particular need for 286 emulation?
>
> To test my code on machines where sizeof(int) == sizeof(short), and
> sizeof(int) != sizeof(long).

Modern x86 are backwards compatible[*], so you should be able to do that 
anyway.

Paul

[*] There are a few corner cases, but these are only likely to effect 
hand-written asm doing evil things. There's probably more difference between 
qemu and real hardware than 286 and i386 real mode.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]