1 /* 2 * BDM2: Banked dumb monochrome driver 3 * Pascal Haible 9/93, haible@izfm.uni-stuttgart.de 4 * 5 * bdm2/driver/sigma/sigmaPorts.h 6 * I/O Port definitions for Sigma L-View and Sigma LaserView PLUS 7 * 8 * see bdm2/COPYRIGHT for copyright and disclaimers. 9 */ 10 11 /* Many thanks to Rich Murphey (rich@rice.edu) who sent me the docs */ 12 13 /* $XFree86: mit/server/ddx/x386/bdm2/drivers/sigma/sigmaPorts.h,v 2.1 1993/09/10 08:11:46 dawes Exp $ */ 14 15 /* 16 * Name r/w I/O Bit Reset Description 17 * ------------------------------------- 18 * Expanded Memory System Window Address Registers 19 * EN1 r/w 0249 D7 0 EMS Frame Access Enable 20 * W16 r/w 4249 D7 0 EMS Frame Pointer A16 (Location of 64k Frame) 21 * W17 r/w 8249 D7 0 EMS Frame Pointer A17 (8000:0000 - E000:0000) 22 * W18 r/w C249 D7 0 EMS Frame Pointer A18 (on 64k boundarys) 23 * High Resolution Mode Control Registers 24 * BLANK r/w 0649 D7 0 HiRes Video Display Enable 25 * ZOOM r/w 4649 D7 0 Multiplane Write Enable 26 * GR0 r/w 8649 D7 0 Gray 0 27 * GR1 r/w C649 D7 0 Gray 1 28 * Expanded Memory System Window Page Registers 29 * BANK0 r/w 0248 D7 x 16k Page at EMS Frame Pointer + 0k 30 * BANK1 r/w 4248 D7 x 16k Page at EMS Frame Pointer + 16k 31 * BANK2 r/w 8248 D7 x 16k Page at EMS Frame Pointer + 32k 32 * BANK3 r/w C248 D7 x 16k Page at EMS Frame Pointer + 48k 33 * Emulation Control/Configuration Register 34 * HIRES r/w 0A48 D7 0 Emulation Display Disable 35 * MONOEN ro 0A48 D6 Emulation Hardware Enable (Jumper) 36 * Emulation Mode Control Register 37 * BOLD r/w 8A48 D1 0 Dither/Bold Text Intensity Representation 38 * WOB r/w 8A48 D0 0 Black Text on White Background/White Text on 39 * Black Background 40 */ 41 42 #if defined(ACK_ASSEMBLER) || defined(C_STYLE_HEX_CONSTANTS) 43 #define SLV_EN1 0x0249 44 #define SLV_W16 0x4249 45 #define SLV_W17 0x8249 46 #define SLV_W18 0xC249 47 #define SLV_BLANK 0x0649 48 #define SLV_ZOOM 0x4649 49 #define SLV_GR0 0x8649 50 #define SLV_GR1 0xC649 51 #define SLV_BANK0 0x0248 52 #define SLV_BANK1 0x4248 53 #define SLV_BANK2 0x8248 54 #define SLV_BANK3 0xC248 55 #define SLV_HIRES 0x0A48 56 #define SLV_MONOEN 0x0A48 57 #define SLV_BOLD 0x8A48 58 #define SLV_WOB 0x8A48 59 #else 60 #define SLV_EN1 $0x0249 61 #define SLV_W16 $0x4249 62 #define SLV_W17 $0x8249 63 #define SLV_W18 $0xC249 64 #define SLV_BLANK $0x0649 65 #define SLV_ZOOM $0x4649 66 #define SLV_GR0 $0x8649 67 #define SLV_GR1 $0xC649 68 #define SLV_BANK0 $0x0248 69 #define SLV_BANK1 $0x4248 70 #define SLV_BANK2 $0x8248 71 #define SLV_BANK3 $0xC248 72 #define SLV_HIRES $0x0A48 73 #define SLV_MONOEN $0x0A48 74 #define SLV_BOLD $0x8A48 75 #define SLV_WOB $0x8A48 76 #endif 77