Ok, here's a test program in assembly. it creates a test file, reads it back to verify it against memory, then does so again with the extra CHKINs that trigger the bug.
OK, I just discovered that true drive emulation was on, Turning it off prevents the behavior, so this may be invalid. I thought the combination of "-virtualdev8 -iecdevice8 -device8 1" was enough, but apparently +drive8truedrive is also needed. I was going for ease of runnability, since you can just paste the basic into the emulator, but if, after the truedrive reveal, you still want the test code in assembly, I can provide that.
OK, I just discovered that true drive emulation was on, Turning it off prevents the behavior, so this may be invalid. I thought the combination of "-virtualdev8 -iecdevice8 -device8 1" was enough, but apparently +drive8truedrive is also needed. I was going for ease of runnability, since you can just paste the basic into the emulator, but if you still want the test code in assembly I can provide that.
Note: calling CLRCHN before calling CHKIN also prevents the problem.
Extraneous CHKIN calls lose data on host filesystem
xvic only shows part of screen in NTSC mode
OK, but when will 3.6.2 be released? I use x128 more than any other emulator and this is a complete stopper . . .
Just tested r41334, looks to be fixed. Thanks!