Ignore:
Timestamp:
Mar 13, 2012, 5:29:34 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Serial server DPT flag optimization, remove Serial/IDE specific header on drive scan results, added GNU GPL v2 banner at boot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialDPT.asm

    r277 r334  
    2525; if the floppy support is disabled.
    2626;
    27         mov     al, [es:si+SerialServer_ATA_wFloppyFlagAndType]
    28         or      al, FLGH_DPT_SERIAL_DEVICE
    29         or      byte [di+DPT.bFlagsHigh], al
    30 
    31         test    al, FLGH_DPT_SERIAL_FLOPPY           ; clears CF
    32         jz      .notfloppy
    33         stc     
    34 .notfloppy:     
     27        mov     al, [es:si+SerialServer_ATA_wDriveFlags]
     28        shl     al, 1
     29        mov     byte [di+DPT.bFlagsHigh], al
    3530       
    3631        ret
    3732
     33%ifndef CHECK_FOR_UNUSED_ENTRYPOINTS
     34    %if FLGH_DPT_SERIAL_DEVICE != 0x4 || FLGH_DPT_SERIAL_FLOPPY != 0x10 || FLGH_DPT_SERIAL_FLOPPY_TYPE_MASK != 0xe0 || FLGH_DPT_SERIAL_FLOPPY_TYPE_FIELD_POSITION != 5
     35        %error "The serial server passes FLGH values into SerialDPT_Finalize directly.  If the flag positions are changed, corresponding changes will need to be made in the serial server, and likely a version check put in to deal with servers talking to incompatible clients"
     36    %endif
     37%endif
Note: See TracChangeset for help on using the changeset viewer.