Hi!

8-Авг-2006 06:45 [EMAIL PROTECTED] (Michael Devore) wrote to
freedos-devel@lists.sourceforge.net:

>>So, BL should be modified only in case of error. Not a big deal, I suggest
MD> No, I think it is proper to ensure that BL should be set to a nonerror code
MD> condition.  I won't change the existing code and I think the spec
MD> interpretation is sufficient to support that behavior.

     I just review HIMEM source: there also cleared BL.

     Interesting, that when I search "A20" through source, I found outdated
comment ("if someone ever decides to disable A20, EMM386 will crash nearly
immediately. so the code to disable A20 was disabled itself...") and
complete code duplication (proc disable_a20 is complete copy, except one
instruction, for disable_enable_a20).

     (And small optimization:

        mov  ah,2
        jmp short disable_enable_a20
disable_a20:
[...]
        mov  ah,0
disable_enable_a20:
[...]
     mov al,0ddh                ; or df=dd+2
     or  al,ah

may be replaced by:

        mov  ah,0dfh
        jmp short disable_enable_a20
disable_a20:
[...]
        mov  ah,0ddh
disable_enable_a20:
[...]
     mov al,ah
).

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to