Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

SSE in DOS under JEMM386 ?? (DOSX)

posted by DOS386, 03.01.2008, 08:12
(edited by DOS386 on 03.01.2008, 08:33)

> Okay, so I've been reading up on SSE/SSE2 (32-bit) somewhat, but the
> problem is that it needs OS support (e.g. Linux 2.4, Win98).

Really ? :confused:

> It seems that you have to enable the CR4 bit 9 (OSFXSR) as well
> as enable CR0's MP (bit 1) but disable CR0's EM (bit 2).

And the problem is - why don't you do this ?

> I finally seem to get it to run w/ SSE2 in QEMU, but only if running
> HIMEMX (e.g. real mode) and with PMODETSR (ring 0, no paging) since it's a
> DJGPP-compiled program (needs DPMI).

You compiled a DGJPP port ? The source seems to access those bits - did you add this code ? Anyway, all CR's are privileged resources, thus you will need a Ring0 DPMI host (like CWSDPR0 or WDOSX) or a host emulating CR accesses (HDPMI32). Or did you try with the greatest CWSDPMI only and didn't work ? Is this the problem ? But why related to JEMM386/HIMEMX ? :confused:

> I really wish I could test under Vista

Vista is the best DOS ? :lol3:

You didn't really describe the problem.

P.S.: SSSSSE5 was released recently. SSE/SSE2 is obsolete :lol3:

TEST: OK, all what I get from your port is a Page Fault :-(

Hint: write a small test prog using FASM with or without enabling the CR bits and executing just 1 SS instruction ... based on USEDPMI.ASM or my DOS/32A example. BTW: Why bother with Causeway, DOS/32A reportedly enables SSE also :clap:

PPSS: FB graphics ;-)

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

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