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