summaryrefslogtreecommitdiff
path: root/v4.0/src/CMD/GRAPHICS/GRSHAR.STR
blob: 5e62727590a0d42195a037cb46ec90b5245d3e04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.XLIST										;AN000;
PAGE										;AN000;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;					;AN000;
;; DOS - GRAPHICS Command
;; (C) Copyright IBM Corp 198?,...						;AN000;
;;										;AN000;
;; File Name:  GRSHAR.STR							;AN000;
;; ----------									;AN000;
;;										;AN000;
;; Description: 								;AN000;
;; ------------ 								;AN000;
;; Include file containing structures and equates for				;AN000;
;; Shared Data Area.								;AN000;
;;										;AN000;
;; This area is used for communication between the installation process 	;AN000;
;; and the Print Screen process; it contains all the information		;AN000;
;; extracted from the printer profile.						;AN000;
;;										;AN000;
;;										;AN000;
;; Change History:								;AN000;
;; ---------------								;AN000;
;;										;AN000;
;;										;AN000;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;					;AN000;
				       ;;					;AN000;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;					;AN000;
.LIST										;AN000;
					;					;AN000;
SHARED_DATA_AREA_STR STRUC		;					;AN000;
  SD_TOTAL_SIZE       DW    ?		; Total # bytes ALLOCATED to the	;AN000;
					;  the Shared Data Area.		;AN000;
  ;;;;;;;;;;;; Environment ;;;;;;;;;;;;;;					;AN000;
  SWITCHES	      DB    0		; Command line switches 		;AN000;
  HARDWARE_CONFIG     DB    ?		; Type of video hardware		;AN000;
  PRINTER_TYPE	      DB    ?		; Type of printer attached		;AN000;
					;					;AN000;
  ;;;;;;;;;;;; Profile Data ;;;;;;;;;;;;;					;AN000;
  DARKADJUST_VALUE    DB    0		; Darkness adjustment value		;AN000;
					;					;AN000;
  NUM_PRT_COLOR       DB    ?		; Number of print colors		;AN000;
  COLORPRINT_PTR      DW    ?		; Pointer to COLORPRINT info		;AN000;
					;					;AN000;
  NUM_PRT_BANDS       DB    ?		; Number of selectable print bands	;AN000;
  COLORSELECT_PTR     DW    ?		; Pointer to COLORSELECT info		;AN000;
					;  bands				;AN000;
  DISPLAYMODE_PTR     DW  ?		; Pointer to start of DISPLAYMODE	;AN000;
					;  info 				;AN000;
SHARED_DATA_AREA_STR ENDS	       ;;					;AN000;
										;AN000;
										;AN000;
;;;;;;;;; COLORSELECT info structure ;;;;					;AN000;
					;					;AN000;
COLORSELECT_STR  STRUC			;					;AN000;
  NUM_SELECT_ESC    DB	?		; number of escape bytes to		;AN000;
					;  select this band			;AN000;
  SELECT_ESC	    DB	?		; Escape bytes to select band		;AN000;
COLORSELECT_STR  ENDS		       ;;					;AN000;
										;AN000;
										;AN000;
										;AN000;
;;;;;;;;; COLORPRINT info structure ;;;;;					;AN000;
					;					;AN000;
COLORPRINT_STR	STRUC			;					;AN000;
  RED		    DB	?		; RGB value				;AN000;
  GREEN 	    DB	?		;					;AN000;
  BLUE		    DB	?		;					;AN000;
					; Bit mask indicating color		;AN000;
  SELECT_MASK	    DB	?		;  bands required:			;AN000;
					;  Bit 0: first band in table		;AN000;
COLORPRINT_STR	ENDS		       ;;  Bit 1: second band...		;AN000;
										;AN000;
										;AN000;
;;;;;;;;; DISPLAYMODE info structure ;;;;					;AN000;
					; A new block is built when a		;AN000;
DISPLAYMODE_STR STRUC			;  DISPLAYMODE statement is		;AN000;
					;   found				;AN000;
  NEXT_DISP_MODE    DW	?		; Pointer to info for next		;AN000;
					;  display mode; -1 if last		;AN000;
  NUM_DISP_MODE     DB	?		; Number of display modes for		;AN000;
  DISP_MODE_LIST_PTR DW ?		;  this record - list of them		;AN000;
					;					;AN000;
  BOX_WIDTH	    DB	?		; Print box size - horizontal		;AN000;
  BOX_HEIGHT	    DB	?		; Print box size - vertical		;AN000;
					;					;AN000;
  NUM_PATTERNS	    DB	?		; Number of grey patterns for		;AN000;
					;  this box size			;AN000;
  PATTERN_TAB_PTR   DW	?		; pointer to grey pattern table 	;AN000;
					;  for this display mode		;AN000;
  NUM_GRAPHICS_ESC  DB	?		; # of escape byte for GRAPHICS 	;AN000;
  GRAPHICS_ESC_PTR  DW	?		; pointer to GRAPHICS escape		;AN000;
  LOW_BYT_COUNT_PTR DW	?		; pointers to number of bytes sent	;AN000;
  HGH_BYT_COUNT_PTR DW	?		;  to the printer (1 word holds this	;AN000;
					;    number but, must be send 1 byte	;AN000;
					;     at a time).			;AN000;
  NUM_SETUP_ESC     DB	?		; # of escape byte for SETUP		;AN000;
  SETUP_ESC_PTR     DW	?		; pointer to SETUP escape seq		;AN000;
					;  for this display mode		;AN000;
  NUM_RESTORE_ESC   DB	?		; # of escape byte for RESTORE		;AN000;
  RESTORE_ESC_PTR   DW	?		; pointer to RESTORE escape		;AN000;
					;  seq for this display mode		;AN000;
  PRINT_OPTIONS     DB	?		;					;AN000;
					;					;AN000;
DISPLAYMODE_STR ENDS		       ;;					;AN000;
										;AN000;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;					;AN000;
;;										;AN000;
;; SHARED DATA AREA  -	EQUATES 						;AN000;
;;										;AN000;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;					;AN000;
										;AN000;
; SWITCHES	      DB    <bit mask>	; Command line switches:		;AN000;
    REVERSE_SW		EQU 1		;   /R					;AN000;
    BACKGROUND_SW	EQU 2		;   /B					;AN000;
					;					;AN000;
; HARDWARE_CONFIG     DB    <bit mask>	; Type of video hardware		;AN000;
    PALACE		EQU 1		;  attached				;AN000;
    ROUNDUP		EQU 2		; PS 2 MODEL 50 60 AND 80		;AN000;
    EGA 		EQU 4		; Enhance Graphics Adapter		;AN000;
    PC_CONVERTIBLE	EQU 8		; PC Convertible LCD			;AN000;
    OLD_ADAPTER 	EQU 16		; Color Graph. Adater or MONO		;AN000;
					;					;AN000;
; PRINTER_TYPE	      DB    <bit mask>	; Type of printer attached		;AN000;
    COLOR		EQU 1		;					;AN000;
    BLACK_WHITE 	EQU 2		;					;AN000;
					;					;AN000;
; PRINT_OPTIONS       DB  <bit mask>	;					;AN000;
    ROTATE		EQU 1		;					;AN000;