Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

FreeDOS' contributor (Miscellaneous)

posted by rr Homepage E-mail, Berlin, Germany, 08.04.2009, 21:25

> > Like making sure HIMEMX runs on 386s? (Still waiting on that patch.)
> :-P
>
> 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

---
Forum admin

 

Complete thread:

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