This ROM tests the delayed effect of CLI and related instructions (SEI, PLP, and RTI). It tests several combinations of clearing and setting the flag and some related behaviors.
cli_latency_tests.zip
Post any problems or questions.
EDIT: I rewrote the tests to rely less on proper APU behavior, and to be more straightforward. I also clarified what the paired tests do. Good thing I uploaded the source yesteday, becase my main code partition became corrupt yesterday night.
cli_latency_tests.zip
Post any problems or questions.
EDIT: I rewrote the tests to rely less on proper APU behavior, and to be more straightforward. I also clarified what the paired tests do. Good thing I uploaded the source yesteday, becase my main code partition became corrupt yesterday night.