1 ;-----------------------------------------------------------
\r
3 ; MXGC.ASM - Get 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 ; Returns the current setting of the selected DAC register.
\r
20 ; Index = color index (0-255)
\r
21 ; R, G, B = byte pointers to red, green and blue
\r
29 Index:WORD = ARG_SIZE
\r
34 mov dx, 3C7h ; PEL read address register
\r