mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
64 lines
1.7 KiB
#ifdef PRINTER
|
|
|
|
/*
|
|
* SoftPC Revision 2.0
|
|
*
|
|
* Title : IBM PC Parallel Printer Adaptor definitions
|
|
*
|
|
* Description : This module contains declarations that are used in
|
|
* accessing the Parallel Printer adaptor emulation
|
|
*
|
|
* Author(s) : Ross Beresford
|
|
*
|
|
* Notes :
|
|
*/
|
|
|
|
/* SccsID[]="@(#)printer.h 1.7 11/14/94 Copyright Insignia Solutions Ltd."; */
|
|
|
|
/*
|
|
* ============================================================================
|
|
* Structure/Data definitions
|
|
* ============================================================================
|
|
*/
|
|
|
|
|
|
/*
|
|
* ============================================================================
|
|
* External declarations and macros
|
|
* ============================================================================
|
|
*/
|
|
|
|
#ifdef ANSI
|
|
extern void printer_init(int);
|
|
extern void printer_post(int);
|
|
extern void printer_status_changed(int);
|
|
#else
|
|
extern void printer_init();
|
|
extern void printer_post();
|
|
extern void printer_status_changed();
|
|
#endif
|
|
|
|
#ifdef PS_FLUSHING
|
|
extern void printer_psflush_change IPT2(IU8,hostID, IBOOL,apply);
|
|
#endif /* PS_FLUSHING */
|
|
|
|
/*
|
|
* The following 6 defines refer to the address in the BIOS data area
|
|
* at which the LPT port addresses and timeout values can be found.
|
|
* The actual values for the port addresses (LPT1_PORT_START and ..._END)
|
|
* are defined in host_lpt.h
|
|
*/
|
|
#define LPT1_PORT_ADDRESS (BIOS_VAR_START + 8)
|
|
#define LPT2_PORT_ADDRESS (BIOS_VAR_START + 0xa)
|
|
#define LPT3_PORT_ADDRESS (BIOS_VAR_START + 0xc)
|
|
|
|
#define LPT1_TIMEOUT_ADDRESS (BIOS_VAR_START + 0x78)
|
|
#define LPT2_TIMEOUT_ADDRESS (BIOS_VAR_START + 0x79)
|
|
#define LPT3_TIMEOUT_ADDRESS (BIOS_VAR_START + 0x7a)
|
|
|
|
#if defined(NTVDM)
|
|
extern void printer_is_being_closed(int adapter);
|
|
#endif
|
|
|
|
|
|
#endif
|