Secure Socket Extremism in DOS | You maybe have a Page Foul (DOSX)
> hopefully fixed a few things.
Not really
> It seems to run in WinXP, QEMU/FreeDOS, and pure FreeDOS
Great ... but
HDPMI32: same PF
D3X (world's first executable): starts, but other bugs (for example you append the dest ext to src filename, "file not found" , and, for DOS you of course should truncate ".paq8blah8junk8dfjhgdf" to ".PAQ" or ".PQ8"
> For one thing, I don't really know what I'm doing, it's a bit out
> of my league. Anyways, even if I ignored this, it works under XP.
> But my goal is to work (also) under pure DOS.
Anyway, to brew an EXE working both under Windaube and DOS, the way is MINGW and a Win32 executable, and HX , rather than DGJPP and NTVDPMI
> PAQ8o8 is the latest PAQ8 series compressor/archiver, and I made it
> automatically detect NOASM/MMX/SSE2 instead of requiring
Great ... but the bugs should go away first
> I didn't try with HDPMI32. Actually, I was using XP, and now I'm using
> Vista. I'm somewhat limited in what cpus I can try at the moment.
Tried to install DOS besides XP or Vista ?
> Under QEMU, it reports a page fault. But PMODETSR (from my disk #2) seems
> to work, at least with HIMEMX.
> need to try in real DOS (eventually), but in QEMU, trying SSE2 w/
> PMODETSR under JEMM386 crashes QEMU! (Doh!)
QEMU bug ...
> wish I could use the same DOS binary under Vista that works fine under XP
MINGW + vice-versa, see above ...
> Problem: SSE2 doesn't work without OS support (e.g. which DOS doesn't
> implicitly have). I weakly tried, but I'm not sure I did it correctly.
Question of just 3 bits in CR registers ? And you call this "OS support" ?
> SSE5 is AMD's latest, to be implemented in 2009. SSE4.1 and SSE4.2 are
> Intel's crud to be released sometime next year (??). SSSE3 is only supported
... blah ... blah ... blah
Remember the MMX "revolution" ? The "new high performance" FPU of 80387 ? The "new great" FPU of 8087 ? And finally the 8080 dealing with just bytes, no FPU at all
> Under real DOS? QEMU or BOCHS? CWSDPMI or other DPMI host?
HDPMI32 (as written above, CWSDPMI seems not to emulate CR accesses, and I don't like it too much anyway), and, native pure DOS (isn't it natively slow enough ? )
> JEMM386 or HIMEMX?
NO.
> Most of my problems are lack of cpus to test.
Lack of DOS installations / lack of effort to install DOS
> QEMU is probably not 100% accurate/reliable.
Indeed. QEMU is known to neglect intentionally various "protection" checks
> doesn't work with OpenWatcom (yet) because of different calling conventions
OK, when you compile with WATCOM, there is DOS/32A
> Would it be so horrible for JEMM386 or even HDPMI32 to automagically
I see definitely no point for JEMM386, and little point for HDPMI32. Last but not least, as you wrote above, your DGJPP executable requires DPMI, not XMS or even worse EMS, so your complaining about JEMMEX is not really helpful here, just leave it aside
Anyway, from your bug symptoms, I think I have "found" the bug, it's indeed a page fault, no way related to SSE, caused by a faulty memory access, that's why I/you get no PF with paging-inactive DPMI hosts without EMM386, because PF's simply don't exist then
And, with buggy code, occurrence of PF's indeed can depend from HIMEMX or EMM386, thus if you get such "random" PF's then you have a corrupt memory access or "wild" pointer BTW, I also had similar problems (but without DGJPP) in the past Finally, presence of HIMEMX or JEMMEX MAY NOT AFFECT the availability of SSE (or RDMSR/WRMSR or whatever) from DPMI - you get what the DPMI host gives you (Ring0 or Ring3, CR emulated or not), EMM386 can only "push" a paging-inactive host to use paging and allow a PF to occur and point you to your bug
You should add some debug info: "Now will CPUID" - "CPUID done, result:" ... - "Now try to enable SSE, writing CR's" - "SSE enabled" to see where your bug is (probably NOT in SSE at all).
---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***
Complete thread:
- SSE in DOS under JEMM386 ?? - Rugxulo, 03.01.2008, 06:54 (DOSX)
- SSE in DOS under JEMM386 ?? - DOS386, 03.01.2008, 08:12
- SSE in DOS under JEMM386 ?? - Rugxulo, 04.01.2008, 01:03
- SSE in DOS under JEMM386 ?? - Japheth, 03.01.2008, 09:19
- SSE in DOS under JEMM386 ?? - Rugxulo, 04.01.2008, 01:05
- SSE in DOS under JEMM386 ?? - Japheth, 04.01.2008, 09:44
- SSE in HDPMI / bug (c/c) - DOS386, 04.01.2008, 10:20
- SSE in HDPMI / bug (c/c) - Japheth, 04.01.2008, 11:12
- SSE in HDPMI / bug (c/c) - Rugxulo, 04.01.2008, 22:39
- SSE in HDPMI / bug (c/c) - Japheth, 04.01.2008, 11:12
- SSE in DOS under JEMM386 ?? - Rugxulo, 07.01.2008, 14:49
- SSE in DOS under JEMM386 ?? - Japheth, 07.01.2008, 17:42
- SSE in DOS under JEMM386 ?? - Rugxulo, 09.01.2008, 01:23
- SSE in DOS under JEMM386 ?? - Rugxulo, 09.01.2008, 10:46
- SSE in DOS -> Illegal Instruction Exception - DOS386, 10.01.2008, 01:22
- SSE in DOS -> Illegal Instruction Exception - Steve, 10.01.2008, 08:46
- SSE in DOS -> alignment issues - Rugxulo, 10.01.2008, 22:21
- SSE in DOS under JEMM386 ?? - Japheth, 10.01.2008, 17:19
- SSE in DOS -> Illegal Instruction Exception - DOS386, 10.01.2008, 01:22
- SSE in DOS under JEMM386 ?? - Rugxulo, 09.01.2008, 10:46
- SSE in DOS under JEMM386 ?? - Rugxulo, 09.01.2008, 01:23
- SSE in DOS under JEMM386 ?? - Japheth, 07.01.2008, 17:42
- SSE in HDPMI / bug (c/c) - DOS386, 04.01.2008, 10:20
- SSE in DOS under JEMM386 ?? - Japheth, 04.01.2008, 09:44
- SSE in DOS under JEMM386 ?? - Rugxulo, 04.01.2008, 01:05
- SSE in pure DOS - Rugxulo, 04.01.2008, 06:09
- Secure Socket Extremism in DOS | You maybe have a Page Foul - DOS386, 04.01.2008, 07:52
- SSE in DOS | Page Fault | JEMM386 / HDPMI32 - Rugxulo, 04.01.2008, 22:47
- SSE in DOS | Page Fault <- YES, your bug | HDPMI32 - DOS386, 05.01.2008, 02:19
- SSE2 in DOS | PAQ8o8z (Jan. 6) - Rugxulo, 06.01.2008, 05:09
- SSE2 in DOS | PAQ8o8z (Jan. 6) - DOS386, 08.01.2008, 02:00
- SSE2 in DOS | PAQ8o8z (Jan. 6) - Rugxulo, 06.01.2008, 05:09
- SSE in DOS | Page Fault <- YES, your bug | HDPMI32 - DOS386, 05.01.2008, 02:19
- SSE in DOS | Page Fault | JEMM386 / HDPMI32 - Rugxulo, 04.01.2008, 22:47
- Secure Socket Extremism in DOS | You maybe have a Page Foul - DOS386, 04.01.2008, 07:52
- MS the "only hope"? - Japheth, 04.01.2008, 12:11
- MS the "only hope"? - RayeR, 04.01.2008, 18:09
- MS the "only hope"? - Japheth, 04.01.2008, 19:16
- MS the "only hope"? - RayeR, 04.01.2008, 22:17
- MS the "only hope"? (Vista DPMI bug: 32 MB max.) - Rugxulo, 04.01.2008, 22:31
- MS the "only hope" ? NOT for me !!! - DOS386, 05.01.2008, 02:22
- MS the "only hope" ? NOT for me !!! - RayeR, 05.01.2008, 18:58
- MS the "only hope" ? NOT for me !!! Multiboot - DOS386, 08.01.2008, 01:47
- NTVDM forever! - Japheth, 08.01.2008, 09:02
- MS the "only hope" ? NOT for me !!! Multiboot - Steve, 08.01.2008, 13:54
- MS the "only hope" ? NOT for me !!! Multiboot - Rugxulo, 09.01.2008, 01:19
- MS the "only hope" ? NOT for me !!! Multiboot - RayeR, 14.01.2008, 21:34
- MS the "only hope" ? NOT for me !!! Multiboot - DOS386, 08.01.2008, 01:47
- MS the "only hope" ? NOT for me !!! - RayeR, 05.01.2008, 18:58
- A TSR worth a try in Vista - Japheth, 05.01.2008, 11:04
- A TSR worth a try in Vista - Rugxulo, 05.01.2008, 21:08
- A TSR worth a try in Vista - Khusraw, 07.01.2008, 11:06
- A TSR worth a try in Vista - Rugxulo, 07.01.2008, 14:44
- A TSR worth a try in Vista - Japheth, 07.01.2008, 17:34
- A TSR worth a try in Vista - Rugxulo, 09.01.2008, 01:09
- A TSR worth a try in Vista - Khusraw, 07.01.2008, 11:06
- A TSR worth a try in Vista - Rugxulo, 05.01.2008, 21:08
- MS the "only hope" ? NOT for me !!! - DOS386, 05.01.2008, 02:22
- MS the "only hope"? - Japheth, 04.01.2008, 19:16
- MS the "only hope"? - RayeR, 04.01.2008, 18:09
- SSE in DOS under JEMM386 ?? - DOS386, 03.01.2008, 08:12