<sourceforge is running at least 10 hours behind, so CC'ed directly>

At 03:23 AM 7/27/2006 +0200, Eric Auer wrote:

>Eric indicated I need to allow local A20 control, but
>as it turns out, that won't help.  EXEPACK code simply doesn't call 
>A20
>routines, so EMM386 cannot fix this problem.  It never "sees" the 
>wrap
>occurring.  The situation has to be corrected within the 
>kernel.
>---
>
>The kernel DOES correct the problem. And things do work with HIMEM.
>The PROBLEM is that EMM386 does not allow programs to disable the A20.
>
>This also means that EMM386 does not allow the kernel to disable the A20
>either, of course...

You win.  I added support for local and global disable/enable of A20 
functions by changing the mappings of the 16 HMA page table entries to 
point to 0:0 on disable and 100000h on enable.  With that in place, the 
EXEPACK'd program did work correctly without a LOADFIX approach.

Whether EMM386's support for disable A20 will unlease many kinds of 
mischief -- as warned about in the original source code comments, and 
listed as the reason support was not provided originally -- remains to be seen.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to