home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.update.uu.se
/
ftp.update.uu.se.2014.03.zip
/
ftp.update.uu.se
/
pub
/
rainbow
/
msdos
/
decus
/
RB140
/
grlib03a.arj
/
ASMD.H
< prev
next >
Wrap
Text File
|
1988-12-19
|
4KB
|
96 lines
;asmd.h
;******************************************************************
; REFERENCES TO GRAPHICS DATA FIELDS IN openws.asm *
;******************************************************************
.XLIST
EXTRN ws_data:BYTE ;All the bytes needed to initialise
;the work station. DO NOT CHANGE.
EXTRN p1:BYTE ;param table for PRAM & FIGS cmnds.
EXTRN ws_type:BYTE ;work station type. 1 to 6
EXTRN ws_wmo:BYTE ;write mode. 0 to 3
EXTRN gbmod:BYTE ;GO's mode register.
EXTRN fgbg:BYTE ;defines fore_grnd/back_grnd colour.
EXTRN alups:BYTE ;defines the writing mode.
EXTRN gbmskl:BYTE ;GO's write mask, split into low and
EXTRN gbmskh:BYTE ;high bytes.
EXTRN gdcml:BYTE ;GDC's write mask, as above.
EXTRN gdcmh:BYTE
EXTRN curl0:BYTE ;three bytes which define the GDC's
EXTRN curl1:BYTE ;cursor position.
EXTRN curl2:BYTE ;curl2 only uses it's high nibble.
EXTRN ymax:WORD ;max pixels on 'y' axis. 0 to ymax
EXTRN xmax:WORD ;max pixels on 'x' axis. 0 to xmax
EXTRN twdir:BYTE ;direct'n for word & vector drawing.
EXTRN nmritl:BYTE ;# words to write. used by FIGS
EXTRN nmrith:BYTE
EXTRN sh_p_lin:WORD ;number of shifts to do to convert a
;line number to an absolute address.
EXTRN bytes_p_lin:WORD ;number of words per line.
EXTRN x_start:WORD ;four gen. purpose variables, mainly
EXTRN y_start:WORD ;used for line drawing to defined the
EXTRN x_stop:WORD ;start and stop vectors.
EXTRN y_stop:WORD
EXTRN g_strtx:WORD ;defines current 'x' offset from the
;start of line to 1st pix. displayed
EXTRN scr_top:BYTE ;define the top & bottom lines for
EXTRN scr_bot:BYTE ;vertical scrolling.
EXTRN scrltb:BYTE ;mirror of line number sequence.
EXTRN clmpda:BYTE ;defines the colour intensities.
EXTRN pattbl:BYTE ;defines patterns & repeat factors
; for drawing lines.
;***** LINE VARIABLES *****
EXTRN l_col:BYTE ;line colour.
EXTRN l_type:BYTE ;line type, indexes "pattbl".
EXTRN l_wid:BYTE ;line width. (not used currently).
;***** FILL VARIABLES *******
EXTRN f_col:BYTE ;fill colour.
EXTRN f_type:BYTE ;fill type. 0 to 3
EXTRN f_style:BYTE ;fill style. 0 to 7
EXTRN f_patrn:BYTE ;table of patterns for filling:
;***** TEXT VARIABLES *****
EXTRN t_col:BYTE ;text colour.affects "text"&"gtext."
EXTRN t_font:BYTE ;text font. affects "gtext" only.
EXTRN t_sca:BYTE ;text scale. affects "text" only.
EXTRN t_dir:BYTE ;direction that text is written.
; affects "text" only.
EXTRN t_x:WORD ;define the bottom left of the char.
EXTRN t_y:WORD ;cell in which char. is displayed.
;***** MARKER VARIABLES *****
EXTRN m_col:BYTE ;marker colour.
EXTRN m_type:BYTE ;marker type. 0 to 15
EXTRN m_sca:BYTE ;marker scale.
EXTRN m_tab:BYTE ;vector table for markers.
;***** WORK AREAS *****
EXTRN old_int_off:WORD ;saved Graphics board int vector offset
EXTRN old_int_seg:WORD ;saved Graphics board int vector segment
EXTRN int_done:BYTE
EXTRN gintvect:WORD ;Graphics board interrupt vector location
;***** SWITCHES *****
EXTRN swisg:BYTE ;1= graphics option present
EXTRN sw100a:BYTE ;1= 100a, 0= 100b
;***** TEXT FONT TABLES *****
EXTRN tfonts:WORD ;table of 4 pointers to the user definable
;gtext fonts. (256 characters per font)
;***** GP Work area ****
EXTRN gp_buff:WORD ;2k gen. purpose array for 'xy' points.
;Used heavily by "circle","segment",
;"arc" and "rectangle", therefore
;don't use it for these functions.
SEGEND DATA
SEGDEF CODE
EXTRN dseg_sav:WORD ;Save of DS for later use
EXTRN eseg_sav:WORD ;Save of ES for later use
SEGEND CODE
SEGDEF DATA
.LIST