1 ;-----------------------------------------------------------
\r
3 ; MXSC.ASM - Set color function
\r
4 ; Copyright (c) 1994 by Alessandro Scotti
\r
6 ;-----------------------------------------------------------
\r
12 MX_TEXT SEGMENT USE16 PARA PUBLIC 'CODE'
\r
13 ASSUME cs:MX_TEXT, ds:NOTHING, es:NOTHING
\r
15 ;-----------------------------------------------------------
\r
17 ; Updates the selected DAC register.
\r
20 ; Index = index of color to set
\r
21 ; R, G, B = color components
\r
29 Index:WORD = ARG_SIZE
\r
34 mov dx, 3C8h ; PEL write address register
\r