Hi!

2-Фев-2004 10:58 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to
[EMAIL PROTECTED]:

>>     if ((lr.DL & 0xef) > 0x2)
>> First, losted AL check (for AX=6C00) - should be "if (lr.AL || ((lr.DL".
LG> You probably forgot about that. Check for AL=0 was deliberately removed!
LG> File "history.txt" says:
>> * inthndlr.c: Remove AL=0 check for AH=6c (from Arkady) Optimize DL check.

     Look in fd-kernel archive at 29/10/2003, letter with subject "Re:
[kernel] ROM-DOS SYS bug". There I say:

______________O\_/_________________________________\_/O______________
     In my (old and rejected) patches was:

    case 0x6c:
        if (al || lr.DL >= 0x20 || (lr.DL & 0x0F) > 2)

I.e. I replace "(lr.DL & 0xf0) > 0x10" by "lr.DL >= 0x20". Well, _now_ I
look at RBIL and may rework this so:

        /* valid values for DL are 000x000x and 000x0010 */
        if ((lr.DL & 0xEF) > 2) /* 0xEF == 11101111b     */
_____________________________________________________________________
              O/~\                                 /~\O

As you may see, I told only about checks for DL, not for AL. Probably,
mistake happen because I not mention AL in last expression explicitly.




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to