Changeset 334 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialDPT.asm
- Timestamp:
- Mar 13, 2012, 5:29:34 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialDPT.asm
r277 r334 25 25 ; if the floppy support is disabled. 26 26 ; 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 35 30 36 31 ret 37 32 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.