Changeset 334 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/Serial
- Timestamp:
- Mar 13, 2012, 5:29:34 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Device/Serial
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialCommand.asm
r292 r334 54 54 %include "SerialServer.asm" 55 55 56 %if SerialCommand_FallThroughToSerialServer_SendReceive <> SerialServer_SendReceive 57 %error "SerialServer_SendReceive must be the first routine at the top of SerialServer.asm in the Assembly_Library" 56 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 57 %if SerialCommand_FallThroughToSerialServer_SendReceive <> SerialServer_SendReceive 58 %error "SerialServer_SendReceive must be the first routine at the top of SerialServer.asm in the Assembly_Library" 59 %endif 58 60 %endif 59 61 … … 163 165 %include "SerialServerScan.asm" 164 166 165 %if SerialCommand_FallThroughToSerialServerScan_ScanForServer <> SerialServerScan_ScanForServer 166 %error "SerialServerScan_ScanForServer must be the first routine at the top of SerialServerScan.asm in the Assembly_Library" 167 %endif 167 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 168 %if SerialCommand_FallThroughToSerialServerScan_ScanForServer <> SerialServerScan_ScanForServer 169 %error "SerialServerScan_ScanForServer must be the first routine at the top of SerialServerScan.asm in the Assembly_Library" 170 %endif 171 %endif 168 172 169 173 -
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.