Strange quirk with JEMMEX 5.78 and disk acces under DOS 6.22 (Users)
I just observed a strange behaviour on my DOS configuration on new MB Gigabyte GA-P67-DS3-B3. I used JEMMEX and DOS 6.22 without problems for years. I have a line in autoexec.bat that delete some leftover file after Win98 run that is sometimes created. Now I found that computer hangs if file exist and DOS is trying to delete the file. It waits about a minute and then display disk access error message abort/retry/fail...
If I step the autoexec, break before delete and type del file command manually it hangs too. I tracked the problem and found that if I skip loading JEMMEX in my config.sys then it works fine. I tried various safe options but none helps, e.g.:
DEVICE=C:\DOS\JEMMEX.EXE X=A000-FFFF NOHI NOVME NOINVLPG NOEMS NOVCPI VERBOSE
What's interesting is that if I load the UIDE or XIDE driver later in autoexec it will fix it and write access works. So I just moved the del line behind loading xide but I don't have a good feeling about it. It's indicating something is rotten in JEMMEX or BIOS (I use SATA in IDE legacy mode). Any idea what JEMMEX option could help to avoid this?
UPDATE:
further bug tracking found that it's NOT Jemmex specific but also happen with QEMM386 and EMM386 but only when I do write access to partitions on SSD drive attached to SATA3 controller. No problem with writting on partitions on HDD attached to SATA2.
So I assume that's some BIOS bug which affects only SATA3 ports (It may be linked with setting IDE legacy mode that may not work properly) and triggers only under V86 mode. It's interesting that loading of UIDE/XIDE fix it. I'd like to isolate what operation XIDE do that fix it.
It also explains me why Win98 couldn't boot from SATA3 attached SSD (no problem on SATA2 port) because it switches to V86 mode and triggers the bug. I just tried to load XIDE in Win98's autoexec.bat and it booted to desktop (before it just hanged in textmode screen) but then immediatelly crashed the explorer.exe - I don't wonder that XIDE is not compatible with Win98 but just to demonstrate it fixed SATA3 issue some way and moved further in boot process...
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- Strange quirk with JEMMEX 5.78 and disk acces under DOS 6.22 - RayeR, 29.12.2015, 19:25 (Users)
- Strnge quirk with JEMMEX 5.78 and disk acces under DOS 6.22 - Laaca, 30.12.2015, 08:09
- Strange quirk with JEMMEX 5.78 and disk acces under DOS 6.22 - RayeR, 30.12.2015, 08:31
- Strange quirk under v86-dsk acces under DOS 6.22 workaround - RayeR, 31.12.2015, 21:32
- Strange quirk under v86-dsk acces under DOS 6.22 workaround - Laaca, 31.12.2015, 22:49
- Strange quirk under v86-dsk acces under DOS 6.22 workaround - RayeR, 31.12.2015, 21:32
- Strange quirk with JEMMEX 5.78 and disk acces under DOS 6.22 - RayeR, 30.12.2015, 08:31
- Strnge quirk with JEMMEX 5.78 and disk acces under DOS 6.22 - Laaca, 30.12.2015, 08:09