Re: Looking for code to test an 8088 emulator
- From: James Harris <james.harris.1@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Sep 2011 14:47:31 -0700 (PDT)
On Sep 20, 6:57 pm, "wolfgang kern" <nowh...@xxxxxxxx> wrote:
James Harris asked:
|On Sep 19, 9:42 am, "wolfgang kern" <nowh...@xxxxxxxx> wrote:
....
wflags = (wflags AND ff00h) OR (bAH AND D5h)
|Good point but how on earth did you choose those values and that
|code? :-(
My notes on EFLag-register in 16/32-bit modes:
....
Sorry to put you to all that work. I've not been following this thread
too closely and in your line
wflags = (wflags AND ff00h) OR (bAH AND D5h)
I saw what appeared to be three hex values! That trailing h was never
a good idea, IMHO, given that a leading hex digit can be a letter. A
leading 0x is more consistent.
BTW, I think someone else mentioned it but the emulator might have to
or-in bit 1 - either when setting the flags register or when reading
it.
James
.
- References:
- Looking for code to test an 8088 emulator
- From: Ruud
- Re: Looking for code to test an 8088 emulator
- From: wolfgang kern
- Re: Looking for code to test an 8088 emulator
- From: Ruud
- Re: Looking for code to test an 8088 emulator
- From: Ruud
- Re: Looking for code to test an 8088 emulator
- From: Ruud
- Re: Looking for code to test an 8088 emulator
- From: wolfgang kern
- Re: Looking for code to test an 8088 emulator
- From: James Harris
- Re: Looking for code to test an 8088 emulator
- From: wolfgang kern
- Looking for code to test an 8088 emulator
- Prev by Date: Re: Looking for code to test an 8088 emulator
- Next by Date: Re: Looking for code to test an 8088 emulator
- Previous by thread: Re: Looking for code to test an 8088 emulator
- Next by thread: Re: Looking for code to test an 8088 emulator
- Index(es):