Jean-Philip Desjardins
Jean-Philip Desjardins
Came up with a very quick test case using the function you've provided (slightly modified to set bit 30 of COP0.r12): ``` #include #include #include extern void LoadAverageCol(unsigned char*, unsigned...
@Kingcom If the bit is not set, the CPU throws a coprocessor unusable exception.
Here's the code for reference purposes: https://github.com/jpd002/ps2autotests/tree/gte_test/tests/cpu/gte. For GTE instructions, there's this documentation that I know of, but I'm not sure about its completeness: http://psx.rules.org/gte.txt.
Reading from `0x1F801824` (which is the MDEC1 register from what I can gather) after writing `0x80000000` (which should reset the MDEC) at that address gives `0x80040000` which appears to be...
Thanks for the docs, @ADormant !
Looking good! Did you test it with an executable generated from PS2SDK?
Hi! We already do 1 and 2. Number 2 is recent, it was a part of the whole block linking improvements. Right now, the emulator will create blocks that start...
It helped a bit, maybe in the 10~15% range. How did you do your tests to compare performance against PCSX2? We could probably try to identify specific test cases that...
Might be a long shot, but maybe reading the clock through CDVDMAN (`CdReadClock`) would work? In Play! this is [implemented](https://github.com/jpd002/Play-/blob/e5ae547e66e17437a34d798beaf3972747189b1a/Source/iop/Iop_Cdvdman.cpp#L67) as reading the host's clock, but I don't know about...
I've been playing around and here's examples of x86 code output for very simple EE code snippets: https://gist.github.com/jpd002/497e67bc57d43e75005b34ccb7066a32 Prolog/Epilog are taking a huge amount of instructions compared to the rest....