Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 3

LineTo

Function number: 12

Draws a line from the current X, Y position to specified X, Y position using the current drawing color.

Register entry values

AX = EE0C
SI = Ending X position
DI = Ending Y position

Register exit values

None

Example

MOV     AX,0EE0CH       ;Draw line to function
MOV SI,319 ;Ending X
MOV DI,199 ;Ending Y
INT 10H ;Call GRAFIX

Comments

None