Changeset 418
- Timestamp:
- Mar 23, 2009, 12:15:39 AM (16 years ago)
- Location:
- OCO/trunk/drv16
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
OCO/trunk/drv16/irq.hpp
r33 r418 51 51 // ###IHV: IRQ sharing flag. Set this to "0" for ISA bus, "1" for PCI 52 52 // PCI and Microchannel environments (where hardware can share an IRQ level. 53 const IRQ_HW_Sharing = 0;53 const BOOL IRQ_HW_Sharing = 0; 54 54 55 55 // Max num of int handlers per IRQ level. 56 const MAX_HandlersPerIRQLevel = 3;56 const int MAX_HandlersPerIRQLevel = 3; 57 57 58 58 // PFN_InterruptHandler: Pointer to an interrupt handler. This is a near -
OCO/trunk/drv16/maudio.cpp
r237 r418 70 70 // if these haven't been redefined by the sub-classes. 71 71 //****************************************************************************** 72 virtualint MIDIAUDIO::writeByte(OSSSTREAMID StreamId, BYTE b)72 int MIDIAUDIO::writeByte(OSSSTREAMID StreamId, BYTE b) 73 73 { 74 74 return 0; // Failure. … … 76 76 //****************************************************************************** 77 77 //****************************************************************************** 78 virtualint MIDIAUDIO::readByte(OSSSTREAMID StreamId)78 int MIDIAUDIO::readByte(OSSSTREAMID StreamId) 79 79 { 80 80 return -1; // Failure. -
OCO/trunk/drv16/midimsg.hpp
r33 r418 55 55 56 56 // Byte length of the IBM Sysex Signature (0xF000003A). 57 const IBMSysexSigLen = 4;57 const int IBMSysexSigLen = 4; 58 58 59 59 // Miscellaneous error codes, must be <0. … … 68 68 // Longest message at time of this writing is 4 byte IBM Sysex signature 69 69 // plus 4 bytes sysex command and data == 8 bytes. We'll tack on 2 extra. 70 const MAX_MidiMsgLen = (IBMSysexSigLen + 4 + 2);70 const int MAX_MidiMsgLen = (IBMSysexSigLen + 4 + 2); 71 71 72 72 // We use this class to build up MIDI messages as we receive the bytes. -
OCO/trunk/drv16/midistrm.hpp
r33 r418 39 39 40 40 // Number of notes in the MIDI definition. 41 const NUM_MidiNotes = 128;41 const int NUM_MidiNotes = 128; 42 42 43 43 // Number of channels in the MIDI definition. 44 const NUM_MidiChannels = 16;44 const int NUM_MidiChannels = 16; 45 45 46 46 // The MIDI parser is always in one of the following states. -
OCO/trunk/drv16/sizedefs.h
r33 r418 24 24 #define SIZEDEFS_H 25 25 26 const NumLogicalDevices = 5; // Number of PNP logical devices on adapter.26 const int NumLogicalDevices = 5; // Number of PNP logical devices on adapter. 27 27 28 28 #define HEAP_SIZE 16384 // must be a multiple of 4 -
OCO/trunk/drv16/stream.cpp
r33 r418 196 196 //****************************************************************************** 197 197 #pragma off (unreferenced) 198 virtualULONG STREAM::Write(PSTREAMBUF pbuf, ULONG uLength, BOOL fLooping)198 ULONG STREAM::Write(PSTREAMBUF pbuf, ULONG uLength, BOOL fLooping) 199 199 #pragma on (unreferenced) 200 200 { -
OCO/trunk/drv16/timer.cpp
r33 r418 217 217 * @notes Maps operation to _iStop (Stop and Pause are identical). 218 218 */ 219 virtualint TIMER::Stop( void )219 int TIMER::Stop( void ) 220 220 { 221 221 return _iStop(); … … 229 229 * @notes Maps operation to _iStop (Stop and Pause are identical). 230 230 */ 231 virtualint TIMER::Pause( void )231 int TIMER::Pause( void ) 232 232 { 233 233 return _iStop(); … … 241 241 * @notes Maps operation to _iStart (Start and Resume are identical). 242 242 */ 243 virtualint TIMER::Resume( void )243 int TIMER::Resume( void ) 244 244 { 245 245 return _iStart();
Note:
See TracChangeset
for help on using the changeset viewer.