Ignore:
Timestamp:
Feb 28, 2012, 2:45:48 PM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Moved the bulk of the serial code to the assembly library, for inclusion in other utilities. Fixed a bug in int13h.asm when floppy support was not enabled that was preventing foreign drives from working properly.

File:
1 edited

Legend:

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

    r258 r277  
    1717;--------------------------------------------------------------------
    1818SerialDPT_Finalize:
    19         mov     ax, [es:si+ATA6.wSerialPortAndBaud]
     19        mov     ax, [es:si+SerialServer_ATA_wPortAndBaud]
    2020        mov     [di+DPT_SERIAL.wSerialPortAndBaud], ax
    2121
    2222;
    2323; Note that this section is not under %ifdef MODULE_SERIAL_FLOPPY.  It is important to
    24 ; detect floppy disks presented by the server and not treat them like hard disks, even
     24; distinguish floppy disks presented by the server and not treat them as hard disks, even
    2525; if the floppy support is disabled.
    2626;
    27         mov     al, [es:si+ATA6.wSerialFloppyFlagAndType]
     27        mov     al, [es:si+SerialServer_ATA_wFloppyFlagAndType]
    2828        or      al, FLGH_DPT_SERIAL_DEVICE
    2929        or      byte [di+DPT.bFlagsHigh], al
Note: See TracChangeset for help on using the changeset viewer.