|
|
1.1 ! root 1: ! 2: /*++ BUILD Version: 0002 // Increment this if a change has global effects ! 3: ! 4: ! 5: Copyright (c) 1992 Microsoft Corporation ! 6: ! 7: Module Name: ! 8: ! 9: hardware.h ! 10: ! 11: Abstract: ! 12: ! 13: This include file defines constants and types for ! 14: the Microsoft midi synthesizer. ! 15: ! 16: Author: ! 17: ! 18: Robin Speed (RobinSp) 20-Oct-92 ! 19: ! 20: Revision History: ! 21: ! 22: --*/ ! 23: ! 24: #include <synth.h> ! 25: ! 26: ! 27: ! 28: #define SYNTH_PORT 0x388 ! 29: #define NUMBER_OF_SYNTH_PORTS 4 ! 30: ! 31: ! 32: // ! 33: // Sound system hardware and device-level variables ! 34: // ! 35: ! 36: typedef struct { ! 37: ULONG Key; // For debugging ! 38: #define HARDWARE_KEY (*(ULONG *)"Hw ") ! 39: ! 40: PUCHAR SynthBase; // base port address for synth ! 41: ! 42: } SOUND_HARDWARE, *PSOUND_HARDWARE; ! 43: ! 44: ! 45: ! 46: ! 47: // ! 48: // Devices - these values are also used as array indices ! 49: // ! 50: ! 51: typedef enum { ! 52: AdlibDevice = 0, ! 53: Opl3Device, ! 54: NumberOfDevices ! 55: } SOUND_DEVICES; ! 56:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.