Source code of Windows XP (NT5)
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.

41 lines
1.1 KiB

  1. #ifndef __DACK_H__
  2. #define __DACK_H__
  3. #define PALETTE_Y 0x01
  4. #define PALETTE_Cb 0x02
  5. #define PALETTE_Cr 0x03
  6. class Dack
  7. {
  8. private:
  9. PUCHAR ioBase;
  10. UCHAR DigitalOutMode;
  11. public:
  12. void init( const PDEVICE_INIT_INFO pDevInit );
  13. NTSTATUS PCIF_RESET( void );
  14. void PCIF_AMUTE_ON( void );
  15. void PCIF_AMUTE_OFF( void );
  16. void PCIF_AMUTE2_ON( void );
  17. void PCIF_AMUTE2_OFF( void );
  18. void PCIF_VSYNC_ON( void );
  19. void PCIF_VSYNC_OFF( void );
  20. void PCIF_PACK_START_ON( void );
  21. void PCIF_PACK_START_OFF( void );
  22. void PCIF_SET_DIGITAL_OUT( UCHAR mode );
  23. void PCIF_SET_DMA0_SIZE( ULONG dmaSize );
  24. void PCIF_SET_DMA1_SIZE( ULONG dmaSize );
  25. void PCIF_SET_DMA0_ADDR( ULONG dmaAddr );
  26. void PCIF_SET_DMA1_ADDR( ULONG dmaAddr );
  27. void PCIF_DMA0_START( void );
  28. void PCIF_DMA1_START( void );
  29. void PCIF_SET_PALETTE( UCHAR select, PUCHAR pPalette );
  30. void PCIF_GET_PALETTE( UCHAR select, PUCHAR pPalette );
  31. void PCIF_CHECK_SERIAL( void );
  32. void PCIF_DMA_ABORT( void );
  33. void PCIF_ALL_IFLAG_CLEAR( void );
  34. void PCIF_ASPECT_0403( void );
  35. void PCIF_ASPECT_1609( void );
  36. };
  37. #endif // __DACK_H__