usually, we convert back tape formats to wav at loading time (not always easy, but then you can use core functions to handle everything else ), but of course you need to have enough data to recover the original wave (or a square wave that a PC6001 could not distinguish from a real analogic one)