AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
260 stars 61 forks source link

Hostdrv - host directory file contents unchanging inside NP21Kai, persistent cache? #109

Closed megatron-uk closed 4 years ago

megatron-uk commented 4 years ago

Is there anything persistent about Hostdrv and the filesystem that it is mapped to?

The reason I ask is that my (very recently implemented) development process for the PC-98 is to use a decent editor on the host system (usually jedit, gedit or kate on Linux), and run the PC-98 native make.exe and gcc.exe on NP21Kai, with the hostdrv mapped to the source code directory ( would use a cross-compiler, but the PC-98 gcc toolchain and djgpp version is sufficiently old to make this a non trivial task).

Most things seem to be fine like this, but I'm come across some odd issues that I cannot explain - I was getting some syntax errors from gcc on a file I was writing, I fixed them on the real system, checked that reloading the file from disk showed the fix, and then ran make.exe inside NP21Kai again... which output the same syntax error again.

Thinking I've missed something I've tried restarting NP21Kai, exiting it completely and starting it up again. The same syntax error shows and the C source file only shows the original file contents, not including the fix.

Is there anything in place that Hostdrv uses as a persistent file cache or similar? It's the only explanation I can come up with for the contents of the hostdrv mapped directory not having the current contents of one or more files.

megatron-uk commented 4 years ago

Fixed by replacing user with a non-defective model.