LineToC
Function number: 31
Draws a line starting at the current X, Y position to specified X, Y position using the specified color.
Register entry values
AX = EE1F
SI = X position to line to
DI = Y position to line to
DX = Color of line
Register exit values
None
Example
MOV AX,0EE1FH ;Draw line to with color function
MOV SI,150 ;Ending X position
MOV DI,199 ;Ending Y position
MOV DX,10 ;Color of line
INT 10H ;Call GRAFIX
Comments
None