-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C64 Emulator Test Suite V2.15 fails on TRAP16 test and HANGS on TRAP17 test with V5.1RC2 / V5.1RC1 #133
Comments
@paich64 Thank you VERY MUCH for this thorough analysis, the source code, the tests itself, etc. @MJoergen and I are meeting on Saturday. We will assess, if we see a path ("semi-low hanging fruit") to fix this for the 5.1 release or not. This is why I did for now stick a "V6 or later" not this issue, even though it is clearly a regression. @paich64 Your demo deep dive testing and your cartridge (.crt and hardware) testing is now twice as important: Because if any additional regressions are now introduced - like a demo not working any more or a cartridge (sw/hw) - then we might want to boost the priority of this one to "5.1 (R4/R5 surge)". |
From "Test Suite 2.15.txt" which is part of the souce code:
The last sentence is very relevant: Between V5 and V5.1 we added support for the real-time clock but we activated it hardwired. This means, "the datasette" (the real-time clock) is always connected in V5.1. Hypothesis: This might be the reason why the trap fails. @MJoergen As discussed on Skype: Please do a testbuild where you disconnect the "datasette" and check if this fixes it. |
The attached file contains V5.1 A16 for both R3 and R6 board. Please try both. This version is based of the RC2, but with the RTC disabled. |
@paich64 A clarifying question: Does both TRAP16 and TRAP17 complete without any errors, on the MiSTer ? I'm specifically talking about the errors in TRAP17 that were already present in V5.0. |
Good news, the issue is fixed with V5.1A16 ! Results comparison between V5.0 / V5.1RC1 / V5.1RC2 / V5.1A16 on R3A and R6 boards V5.0 V5.1RC1/RC2 V5.1A16 Mister Latest core Basically, on the Mister latest core, the test suite behaves exactly the same as on V5.0 and V5A16 on R3A/R6 Let me know if i should keep using V5A16 for smoke tests. |
@paich64 No, please do not use Alpha 16 for additional smoke tests or demo tests. Please do use RC2 instead. Reason: Alpha 16 does nothing else than DISABLING the real time clock for GEOS (which useses the cassette port) because the test suite wants the cassette drive disconnected as described above: "The datasette may not be connected while TRAP16 and TRAP17 are running!" This is the only difference between Alpha 16 and RC2. MiSTer seems to have disabled the RTC for GEOS by default. For the time being, we want to hide this complexity from the end users of the MEGA65 and the GEOS RTC should "just work". Which is why for the time being we would tend to leave the RTC on by default - which means TRAP 16 would continue to fail. But if thorough tests such as smoke tests, cartridges (hardware or emulated) or demos would fail because of this, then we would reconsider. PLUS: It might make sense to have a "Advanced settings" submenu in V6 where users might be able to configure things like this, but also other things like VIC models, CIA models as described here: #120 I am leaving this issue open so that we can re-consider at a later stage. |
C64 core regression tests include running the C64 Emulator Test Suite V2.15.
HOWEVER:
TRAP16 test issue
On V5.0 TRAP16 is successfull:

On V5.1RC2/V5.1RC1 TRAP16 is failing:

TRAP17 test issue
On V5.0 TRAP17 fails, however we can move forward with next tests :


On V5.1RC2/V5.1RC1 TRAP17 fails but also hangs when displaying debug info. we can't move forward with next tests:


additional observations for TRAP16 and TRAP17 tests :
both issues do not occure with latest Mister C64 core
The unexpected outcome is exactly the same on R3A and R5
Using a lower resolution when testing does not change the outcome
Disabling flicker free does not change the outcome
To reproduce the issue :
this will execute the tests starting from TRAP1 test.
C64 Emulator Test Suite V2.15 download :
tsuit215.zip
C64 Emulator Test Suite V2.15 source code for individual tests:
testsuite-2.15.tar.gz
The text was updated successfully, but these errors were encountered: