Changeset 418


Ignore:
Timestamp:
Mar 23, 2009, 12:15:39 AM (16 years ago)
Author:
Paul Smedley
Message:

Build fixes for Watcom 1.8

Location:
OCO/trunk/drv16
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • OCO/trunk/drv16/irq.hpp

    r33 r418  
    5151// ###IHV:  IRQ sharing flag.  Set this to "0" for ISA bus, "1" for PCI
    5252// PCI and Microchannel environments (where hardware can share an IRQ level.
    53 const IRQ_HW_Sharing = 0;
     53const BOOL IRQ_HW_Sharing = 0;
    5454
    5555// Max num of int handlers per IRQ level.
    56 const MAX_HandlersPerIRQLevel = 3;
     56const int MAX_HandlersPerIRQLevel = 3;
    5757
    5858// PFN_InterruptHandler:  Pointer to an interrupt handler.  This is a near
  • OCO/trunk/drv16/maudio.cpp

    r237 r418  
    7070// if these haven't been redefined by the sub-classes.
    7171//******************************************************************************
    72 virtual int MIDIAUDIO::writeByte(OSSSTREAMID StreamId, BYTE b)
     72int MIDIAUDIO::writeByte(OSSSTREAMID StreamId, BYTE b)
    7373{
    7474   return 0;    // Failure.
     
    7676//******************************************************************************
    7777//******************************************************************************
    78 virtual int MIDIAUDIO::readByte(OSSSTREAMID StreamId)
     78int MIDIAUDIO::readByte(OSSSTREAMID StreamId)
    7979{
    8080   return -1;   // Failure.
  • OCO/trunk/drv16/midimsg.hpp

    r33 r418  
    5555
    5656// Byte length of the IBM Sysex Signature (0xF000003A).
    57 const IBMSysexSigLen = 4;
     57const int IBMSysexSigLen = 4;
    5858
    5959// Miscellaneous error codes, must be <0.
     
    6868// Longest message at time of this writing is 4 byte IBM Sysex signature
    6969// plus 4 bytes sysex command and data == 8 bytes.  We'll tack on 2 extra.
    70 const MAX_MidiMsgLen = (IBMSysexSigLen + 4 + 2);
     70const int MAX_MidiMsgLen = (IBMSysexSigLen + 4 + 2);
    7171
    7272// We use this class to build up MIDI messages as we receive the bytes.
  • OCO/trunk/drv16/midistrm.hpp

    r33 r418  
    3939
    4040// Number of notes in the MIDI definition.
    41 const NUM_MidiNotes = 128;
     41const int NUM_MidiNotes = 128;
    4242
    4343// Number of channels in the MIDI definition.
    44 const NUM_MidiChannels = 16;
     44const int NUM_MidiChannels = 16;
    4545
    4646// The MIDI parser is always in one of the following states.
  • OCO/trunk/drv16/sizedefs.h

    r33 r418  
    2424#define SIZEDEFS_H
    2525
    26 const NumLogicalDevices = 5; // Number of PNP logical devices on adapter.
     26const int NumLogicalDevices = 5; // Number of PNP logical devices on adapter.
    2727
    2828#define HEAP_SIZE         16384         // must be a multiple of 4
  • OCO/trunk/drv16/stream.cpp

    r33 r418  
    196196//******************************************************************************
    197197#pragma off (unreferenced)
    198 virtual ULONG STREAM::Write(PSTREAMBUF pbuf, ULONG uLength, BOOL fLooping)
     198ULONG STREAM::Write(PSTREAMBUF pbuf, ULONG uLength, BOOL fLooping)
    199199#pragma on (unreferenced)
    200200{
  • OCO/trunk/drv16/timer.cpp

    r33 r418  
    217217 * @notes Maps operation to _iStop (Stop and Pause are identical).
    218218 */
    219 virtual int TIMER::Stop( void )
     219int TIMER::Stop( void )
    220220{
    221221   return _iStop();
     
    229229 * @notes Maps operation to _iStop (Stop and Pause are identical).
    230230 */
    231 virtual int TIMER::Pause( void )
     231int TIMER::Pause( void )
    232232{
    233233   return _iStop();
     
    241241 * @notes Maps operation to _iStart (Start and Resume are identical).
    242242 */
    243 virtual int TIMER::Resume( void )
     243int TIMER::Resume( void )
    244244{
    245245   return _iStart();
Note: See TracChangeset for help on using the changeset viewer.