Mike wrote:Other than the file length is adjusted to 1500 bytes ($05DC) the routines are an exact copy of the ones used in the VIC-20 version.
You say the other routines "seem" to work fine. Check whether they write their data into the correct position for the save, and load routines. When they're used within the editor for temporary storage, and restore purpose - they can do so nearly everywhere in memory. When that data is put at a wrong position you won't notice any error, unless the data is supposed to be transferred to/from disk.
Those routines simply copy the screen to a temporary location and retrieve it. The same routines are called when you press enter to bring up the character select screen because it stores the screen, clears the screen, and redraws it after you pick your character. However, I have an idea.. I'll just try commenting out those routines and trying the load/save routines.. I'll let you know what happens.
EDIT - Same problem. So my only guess is that the load routine is loading in the file at the wrong address and screwing something up, probably because the load routine doesn't force an address and instead depends on the file's 2-byte load address on the disk.
EDIT AGAIN - Interesting.. I just noticed something. Even though I deleted the previous IMAGE.P00 files from the directory, when I actually do a LOAD"$",8 from inside VICE, it shows several files all with the same name of "IMAGE" so I suspect it is loading one of the VIC-20 files which is at a different load address.. but the question now is, where are these files coming from since I deleted them from the folder?
EDIT EVEN AGAIN - Figured it out.. I had renamed some other .P00 files but did not realize they stored the filename inside of the file. So that was the problem.. apparently the program itself has been working for some time. I'll post it on my website if anyone wants to try it out.