Changeset 292 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device
- Timestamp:
- Mar 3, 2012, 6:53:28 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialCommand.asm
r277 r292 4 4 ; Section containing code 5 5 SECTION .text 6 7 %define SERIALSERVER_AH_ALREADY_HAS_COMMAND_BYTE 8 %define SERIALSERVER_NO_ZERO_SECTOR_COUNTS 6 9 7 10 ;-------------------------------------------------------------------- … … 43 46 .readOrWrite: 44 47 mov [bp+IDEPACK.bFeatures],ah ; store protocol command 45 48 46 49 mov dx, [di+DPT_SERIAL.wSerialPortAndBaud] 47 50 48 jmp SerialServer_SendReceive 51 ALIGN JUMP_ALIGN 52 SerialCommand_FallThroughToSerialServer_SendReceive: 49 53 54 %include "SerialServer.asm" 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" 58 %endif 59 60 ALIGN JUMP_ALIGN 61 SerialCommand_ReturnError: 62 stc 63 ret 50 64 51 65 ;-------------------------------------------------------------------- … … 133 147 134 148 test ax,ax ; Take care of the case that is different between master and slave. 135 jz .error149 jz SerialCommand_ReturnError 136 150 137 151 ; fall-through … … 142 156 xchg dx, ax ; move ax to dx (move previously found serial drive to dx, could be zero) 143 157 144 .identifyDeviceInDX: 145 jmp SerialServerScan_ScanForServer 158 .identifyDeviceInDX: 146 159 147 .error: 148 stc 149 ret 160 ALIGN JUMP_ALIGN 161 SerialCommand_FallThroughToSerialServerScan_ScanForServer: 162 163 %include "SerialServerScan.asm" 164 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 168 169
Note:
See TracChangeset
for help on using the changeset viewer.