Skip to contentSkip to conversation

PICs on Linux

DISCUSSION Bill Couture 1 participant 1 message Nov 12, 2004 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · Ryan Underwood

Check [email protected]. That is where the development related traffic happens. [email protected] is still alive but most user questions are handled through the sourceforge tracker in these days.

OK, I'll take a look.

Quoted 1 line
Quoted 1 line

When I looked at DOSEMU, I quickly noticed that the CPU flags were

being

Quoted 1 line
Quoted 1 line

done wrong. I should look at it again and see if they have been

fixed.

Quoted 3 lines

Can you be more specific please, and/or file and issue in the bug tracker? This sounds like something that would be a good idea to fix.

I'll have to look at my archives, but as I remember when I saw that he was computing flags by some logical method rather than doing the actual operation and looking at the results, it didn't seem right to me (i've done a 80x86 emulator before, in the mid-80's -- very useful as a debugger).

The problem showed up with instructions like ADC and SBB, where CY was not 0. Thus, you had 3 values going into the computation and affecting the flags, in which case the flags were wrong in some cases.

As I said, I'll have to go into my archives and try to find it.

Bill