setcolor - sets the current drawing color

VAX11

 

setcolor - sets the current drawing color

 

Description:    setcolor sets the current drawing color. It gets color in RGB format and sets the current color to that color.

Gets:               On stack: Red, Green, Blue

Returns:          On r0: 0 on success, -1 on failure

 

Example:

 

.text

.word 0

calls $0, .initgraph

pushl $100

pushl $200

pushl $100

calls $3, .setcolor