Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

SSE2 in DOS | PAQ8o8z (Jan. 6) (DOSX)

posted by Rugxulo Homepage, Usono, 06.01.2008, 05:09

> But disabling paging to prevent the bug from triggering a PF is cca as
> smart as neglecting the existence of a bug and banning the reporting
> person to prevent further posts pointing to this bug :lol3:

Heh.

> Not for me. The Win32 executable works (compiled by Matt ?), yours
> doesn't. :-(

BTW, his default-compiled Win32 .EXE whines about tmpfile access (when run as non-admin on Vista) unlike a manual OpenWatcom build. Weird. (And yet another issue is that his MinGW is 3.4.5, I think, slightly less ideal.)

> You should fix the page fault rather than shooting around with covered
> eyes in the hope to shoot the SSE2/CR4 issue :hungry:

The problem was that I didn't know what was causing it. It turned out that three things (at least) were no-nos: mucking with CRx under Windows, non-16-byte-aligned SSE2 memory access, and accidental pointer misuse re: getenv() ... oops!

> You should remove the CR4 code (since HDPMI32 cares), remove the V86
> "code" (there is no "V86" in PM DPMI code) and fix the SSE-unrelated bugs.
> Maybe you introduced them, maybe they origin from Matt but he has the luck
> that they don't generate symptoms on Win32 :-|
>
> PS: definitely NOT a JEMM386 issue :clap:

Yeah, I think it works now (tested under QEMU):

http://rugxulo.googlepages.com/paq8o8z-jan6.7z

Of course, as you mentioned, CWSDPMI doesn't emulate CRx access, and even though I like HDPMI32, I preferred to go with the "all-in-one" solution (DPMI server + .EXE a la D3X). Seems to work (DJGPP output's CRC32 matched the Win32 one under HX under QEMU). Feel free to test it, though. ;-)

> PPSS: PAQ9 is out :lol3:

But based on different stuff: two mixers, no external .ASM, meant to be (ideally, 2x) faster than LPQ1 (?) but portably supporting archives > 2 GB. Or something like that.

---
Know your limits.h

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 224 users online (0 registered, 224 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum