ulao Wrote:My clearest point is, if you plan out to emulate as accurate as possible, then doing so at full potential can and will only be guaranteed with the lowest level in mind.
If I recall correctly, you can HLE things with 100% accuracy. The DMG bootrom is one such area (probably the SGB and GBC bootroms too, if properly studied). HLE was also used for the emulation of a couple of SNES components in earlier emulator, and it was capable of generating a 1:1 result in comparison to real hardware (obviously the others could not be HLE'd, which is why byuu went the route he did). But that isn't to say you always need to take a low-level approach to everything to achieve 100% accuracy, or even high levels of accuracy, regardless of the intent of the emulator. The "lowest level" is even a subjective term. Where does it become low enough? In the case of the DMG bootrom, is simply copy+pasting the GB state (register values, memory values, clock counts) after the bootrom is run enough or is it necessary to run the bootrom through the emulator itself? Both can (with a good enough emulator) produce 1:1 hardware results, but obviously it's possible not to take the "lowest level".
