x64sc -default -autostart-handle-tde
disables TDE while loading.
also, speeders like dolphindos don't work at all anymore if "handle TDE on autostart" is enabled, they just hang when we try to load:
x64sc -default -drive8type 1571 -kernal "\prof\prodos24l2.u4" -dos1571 "\prof\1571" -drive8ram4000 -parallel8 1 -drive8profdos -profdos1571 "\prof\ROM"
^ works
x64sc -default -autostart-handle-tde -drive8type 1571 -kernal "\prof\prodos24l2.u4" -dos1571 "\prof\1571" -drive8ram4000 -parallel8 1 -drive8profdos -profdos1571 "\prof\ROM"
^ does not work anymore
It hangs when you load in the emulation? Or using the UI?
wait, now that i read it again... they only ever worked by chance. The kernal traps are not universally valid and only work with "known" kernals - the log should give you an error that says so actually (please check).
that said, we can add kernals to the list of known working ones IF you can confirm that actually all traps are working (load/save/open/close/read/write basically)
i get a
C64MEM: Warning - Unknown Kernal image.warning.but it all worked fine until [r46183]
also, as mentioned, if TDE is enabled together with "handle TDE on autostart", it loads from a .d64 without TDE (even a 200 block file is loaded in no time). maybe it is supposed to do that, i don't know. but it was different until [r46183]
Related
Commit: [r46183]
I'll have to check the logic AGAIN :)
All combinations of options should work (except those that CANT work of course) - see the scripts in https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/testbench/autostart/ - BUT i only test with the default ROMs.
However, that unknown kernals do not work with device traps is expected. There should be a warning saying so in the log too.... i'll look at that again and make it more verbose if needed.
That said, could you provide checksums of those kernals you are using, so we are talking about the same thing? :)
please try r46207 - it handles this situation better, hopefully :) it will now try to enable the traps, and when that does fail it falls back to using TDE (and you will see in detail in the log which traps failed exactly)
Last edit: gpz 2 days ago