Thanks Mike, the new version works perfectly!
stefanbylund
Recent community posts
The Level 9 Compilation for Spectrum Next has stopped working in CSpect 2.16.0 and later, it works fine in CSpect 2.15.2 and earlier. I used CSpect 2.15.2 when testing it for CSpect and that was a bit sloppy of me, I should have used the latest version.
The problem seems to be the esx_f_stat() function in Z88DK which uses the esxDOS F_STAT call. This function is used to determine if the game is a single-file game (gamedata.dat) or a multi-file game (gamedat1.dat, gamedat2.dat, ...). The esx_f_stat() function returns zero if the F_STAT call was successful and non-zero if an error occurred.
As I understand it, CSpect simulates a subset of the esxDOS calls on top of the host file system. In CSpect 2.15.2 and earlier, the simulated esxDOS F_STAT call worked fine when CSpect was started with the -mmc option and a specified directory. Maybe esxDOS F_STAT only works with an actual SD card image in CSpect 2.16.0 and later, and not in its simulated form?
For reference, this is the command-line used to start one of the games in the Level 9 compilation:
CSpect.exe -w4 -tv -zxnext -mmc=D:\level9.run\adventure-quest\ D:\level9.run\adventure-quest\level9_512.nex