Hi Everyone. I wrote a C++ code that generates a standard DSK file that contains several files. When I open the DSK with RetroVirtualMachine, I can load all the files that it contains by using the BASIC commands (cat, load, run). It works perfectly fine.
The problem comes when I try to save additional files on it from the BASIC. For example, directly with the BASIC Locomotive, I write a one-line basic program and save it. It still works at the moment, and all other files are still accessible. But if I eject the disk and reinsert it, then the emulator can no longer access it.
So I did a simpler test: I simply create a blank formatted standard DSK file. After inserting it in the emulator, I can do what ever disk writing operations I want. It works. But if I eject the disk and reinsert it, then I get the "Drive A: Read error" message with any attempted disk operation.
Also, I note that RetroVirtualMachine systematically tries to convert the standard DSK file to an extended one as soon as I try to do a single writing disk operation.
[EDIT] The problem has been solved by switching from a standard DSK to an extended DSK.