Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

HIMEMX update after 3.32 | 80386 SX compatibility (Announce)

posted by DOS386, 13.04.2009, 09:52

> > Like making sure HIMEMX runs on 386s? (Still waiting on that patch.)
> Here you have HIMEMX for 386sx
> http://rayer.ic.cz/os/himemx33.zip
> For completeness here's the GNU diff output against HimemX 3.32.

--- HIMEMX332.ASM Tue Mar 11 15:24:50 2008
+++ HIMEMX333.ASM       Sun Apr 27 01:50:02 2008
@@ -6,6 +6,7 @@
 ; original work by Till Gerken.
 ; major rework by tom ehlert.
 ; modified for >64M support, Michael Devore
+; 386/486 PMode switch patch by Ninho, tested by RayeR on Am386SX-25
 ;
 ; If you would like to use parts of this driver in one of your projects, please
 ; check up with me first.
@@ -86,7 +87,7 @@
 
 ;--- assembly time parameters
 
-VERSIONSTR             equ <'3.32'>
+VERSIONSTR             equ <'3.33'>
 DRIVER_VER             equ 300h+32
 INTERFACE_VER  equ 300h
 
@@ -1324,6 +1325,9 @@
     mov cr0,eax
 ;--- the 80386 (and 80486?) need a short delay after switching to PM
 ;--- before a segment register can be set! Any instruction is sufficient.
+flushes both the instruction prefetch and predecode queues.
+flushes both the instruction prefetch and predecode queues.
+    jmp $+2                 ; flush both the instruction prefetch and predecode queues
     dec ax                  ; clear PE bit
     mov ds,dx
     mov es,dx


Just one instruction added ? :clap:

Someone please package it (source + binary + docs) with all version numbers updated (forgot one above ?) and history file updated ... and release it ... and ask the FreeDOS guys for updating FreeDOS list and mirroring at Ibiblio :-)

(hope there is no need to explain why I opened a new topic for this "answer")

---
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
22632 Postings in 2109 Threads, 402 registered users, 429 users online (0 registered, 429 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum