diff options
Diffstat (limited to 'src/savage_regs.h')
-rw-r--r-- | src/savage_regs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/savage_regs.h b/src/savage_regs.h index 9d80e94..4a6cb99 100644 --- a/src/savage_regs.h +++ b/src/savage_regs.h @@ -159,9 +159,21 @@ enum S3CHIPTAGS { #define S3_SEC_BD_LOW 0X8178 #define S3_SEC_BD_HIGH 0X817c +/* duoview */ + #define SELECT_IGA1 0x4026 #define SELECT_IGA2_READS_WRITES 0x4f26 +#define SelectIGA1() \ +do { \ + OUTREG16(SEQ_ADDRESS_REG,SELECT_IGA1); \ +} while (0) + +#define SelectIGA2() \ +do { \ + OUTREG16(SEQ_ADDRESS_REG,SELECT_IGA2_READS_WRITES); \ +} while (0) + #define MEM_PS1 0x10 /*CRCA_4 :Primary stream 1*/ #define MEM_PS2 0x20 /*CRCA_5 :Primary stream 2*/ #define MEM_SS1 0x40 /*CRCA_6 :Secondary stream 1*/ |