2 *************************************************************************
\r
4 * PCX_EXT.H - PCX_LIB Library External Definitions Include File
\r
8 * History: 91/02/14 - Created
\r
9 * 91/04/01 - Release 1.00A
\r
10 * 91/04/07 - Release 1.00B
\r
12 * Compiler: Microsoft C V6.0
\r
14 * Author: Ian Ashdown, P.Eng.
\r
16 * 620 Ballantree Road
\r
17 * West Vancouver, B.C.
\r
19 * Tel. (604) 922-6148
\r
20 * Fax. (604) 987-7621
\r
22 * Copyright: Public Domain
\r
24 *************************************************************************
\r
29 #define _PCX_EXT_H 1
\r
34 typedef int BOOL; /* Boolean flag */
\r
36 /* STRUCTURE DECLARATIONS */
\r
38 typedef struct pcx_vsb /* BIOS video services data save buffer */
\r
40 struct pcx_ppt /* Primary Pointer Table */
\r
42 void _far *vptp; /* Video Parameter Table pointer */
\r
43 unsigned char _far *dsap; /* Dynamic Save Area pointer */
\r
44 void _far *tmacgp; /* Text Mode Aux Char Generator pointer */
\r
45 void _far *gmacgp; /* Graphics Mode Aux Char Generator ptr */
\r
46 void _far *sptp; /* Secondary Pointer Table pointer */
\r
47 void _far *rsv_1; /* Reserved */
\r
48 void _far *rsv_2; /* Reserved */
\r
52 /* Previous Primary Pointer Table pointer */
\r
54 struct pcx_ppt _far *prev_pptp;
\r
58 /* FUNCTIONS PROTOTYPES */
\r
60 extern BOOL pcx_init_dsa(PCX_VSB **);
\r
61 extern BOOL pcx_isvga(void);
\r
62 extern BOOL pcx_read(char *, int, int);
\r
63 extern BOOL pcx_write(char *, int, int, int, int);
\r
65 extern void pcx_free_dsa(PCX_VSB *);
\r