Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Find out SUM_FLAG calculations #1

Open
GoogleCodeExporter opened this issue Mar 22, 2015 · 1 comment
Open

Find out SUM_FLAG calculations #1

GoogleCodeExporter opened this issue Mar 22, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Find out where sum of GTE FLAG is calculated

Original issue reported on code.google.com by [email protected] on 9 Feb 2011 at 11:38

@GoogleCodeExporter
Copy link
Author

Pcsx do it in following way:

{{{
#define SUM_FLAG if(gteFLAG & 0x7F87E000) gteFLAG |= 0x80000000;
}}}

SUM_FLAG is called at the end of each opcode to calculate the sum.

How (and where) Pops calculate sum flag is still unknown.

Original comment by [email protected] on 9 Feb 2011 at 11:42

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant