[...]
Thanks a lot for reporting! This should be fixed in the latest build.
Apparently this was a windows-only crash (I suspect caused by a bug(?) in the MSVC compiler). I also took some steps to ensure that similar future problems will cause compile errors rather than runtime crashes.
Cheers, I can confirm it's working. Aside of this issue, I see you had to revert quite some recent changes because of MSVC incompatibility apparently. Wouldn't it be an option to (just(?)) use GCC for Windows as well?
https://github.com/openMSX/openMSX/issues/1238 is the corresponding issue.
As Wouter wrote there: perhaps your editor is (temporarily) putting (backup?) files in the folder, causing it to be larger than 712kB, so that the disk becomes full? This will cause corruption.
oO No comments
Please tell me how exactly you are modifying the content of the folder that is used as disk in openMSX.
From OpenMSX, by using save"name.bas"
Some random thoughts/ideas:
* try another file system for the ram disk, or perhaps another RAM disk host application;
* exclude the directory in your AV config;
* would it be an option to use an MSX HDD?
* try a short dir without spaces;
* perhaps you can use Sysinternals Process Monitor as a diagnostic tool;
* perhaps some power saving stuff may interfere?
* ...
I was under the impression you were using die as disk to also edit the files from outside the MSX. But is that correct?
If not, why are you using dir as disk in the first place?
From the issue:
About text editor: you mean I doing some file modifications outside emulator when it working?
No, I do not disturb FS. But I have antivirus, may be it doing some checks, idk.
Yes, so why not use a disk image instead? At least as a workaround it may be very useful.
But I have antivirus, may be it doing some checks, idk.
Ooh, antivirus software on Windows is a definite possible culprit. Many of them acquire locks on the file when they detect it is accessed, which could cause openMSX to fail subsequent write accesses in the writing process. I’ve seen mysterious file corruptions in other software and I know for certain that e.g. version control software takes complicated special measures in their repository file management to work around that, it’s quite an ugly situation.
Try adding your dir-as-disk folder to the exclusion list of your antivirus software and I bet your issues will be gone.
I trying work without antivirus too, it was disable for week or even more. Windows Defender was disabled too.
Problem the same.
Using any disk images is not possible for me.
Why is it impossible?
Why is it impossible?
Coz I need reconfigure resources, data & code everytime from machine, and outside.
Everytime it needing recreate or update disk image without OpenMSX.