Changeset 567 in xtideuniversalbios for trunk/Assembly_Library/Src/Serial/SerialServer.asm
- Timestamp:
- May 26, 2014, 1:25:15 PM (11 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Serial/SerialServer.asm
r566 r567 27 27 ; SerialServer_SendReceive: 28 28 ; Parameters: 29 ; 29 ; DX: Packed I/O port and baud rate 30 30 ; ES:SI: Ptr to buffer (for data transfer commands) 31 31 ; SS:BP: Ptr to SerialServer_Command structure 32 32 ; Returns: 33 33 ; AH: INT 13h Error Code 34 ; CX:Number of 512-byte blocks transferred34 ; CX: Number of 512-byte blocks transferred 35 35 ; CF: Cleared if success, Set if error 36 36 ; Corrupts registers: … … 334 334 ; Returns: 335 335 ; BP/SI: Checksum for written bytes, compared against ACK from server in .readLoop 336 ; CX: 336 ; CX: Zero 337 337 ; DL: Receive/Transmit Register address 338 ; ES:DI: 338 ; ES:DI: Ptr to buffer 339 339 ; Corrupts registers: 340 340 ; AX … … 401 401 ; Parameters: 402 402 ; AH: UART_LineStatus bit to test (20h for write, or 1h for read) 403 ; 403 ; One entry point fills in AH with 20h for write 404 404 ; DX: Port address (OK if already incremented to UART_lineStatus) 405 ; 406 ; 405 ; BX: 406 ; Stack: 2 words on the stack below the command/count word 407 407 ; Returns: 408 ; 409 ; 408 ; Returns when desired UART_LineStatus bit is cleared 409 ; Jumps directly to error exit if timeout elapses (and cleans up stack) 410 410 ; Corrupts registers: 411 ; 411 ; AX 412 412 ;-------------------------------------------------------------------- 413 413
Note:
See TracChangeset
for help on using the changeset viewer.