Category : Music and Digitized Voice
Archive   : SDTK.ZIP
Filename : INTERR.H

 
Output of file : INTERR.H contained in archive : SDTK.ZIP

#ifndef _INTERR_H
#define _INTERR_H

#ifndef _GLOBAL_H
#include "global.h"
#endif

#ifndef _CONTROL_H
#include "control.h"
#endif

/***************************************************************************
Definitions
***************************************************************************/
/*
* All AdLib drivers sub id
*/

typedef enum AdlibSubDriversID {
ADLIB_DISPATCH_DRIVER_ID,
ADLIB_CTRLCHIP_DRIVER_ID,
ADLIB_FM_DRIVER_ID,
ADLIB_WAVE_DRIVER_ID,
ADLIB_TIMER_DRIVER_ID,
ADLIB_MIDI_DRIVER_ID,
ADLIB_SCSI_DRIVER_ID,
ADLIB_SYNC_DRIVER_ID,
ADLIB_VOICEPAD_DRIVER_ID,
ADLIB_MAX_NUMBER_ID
}
AdLibSubDriverID;

/***************************************************************************
Structure
****************************************************************************/

/*
* This structure is managed by this CtrlDrv but is used by all other
* Adlib Drivers. A copy is transfered on request to the driver who
* ask for it.
*/

typedef struct FastAccessTable {
CallbackPtr intFunc;
} FastAccessTable;

/****************************************************************************
PUBLIC functions
*****************************************************************************/

#ifdef __cplusplus
extern "C" {
#endif
WORD InitInterruptService(WORD baseAddress);
WORD RemoveInterruptService(void);
CallbackPtr SetDriverCallback(AdLibSubDriverID driverID,
CallbackPtr newProc);
CallbackPtr ResetDriverCallback(AdLibSubDriverID driverID);
#ifdef __cplusplus
};
#endif


#endif


  3 Responses to “Category : Music and Digitized Voice
Archive   : SDTK.ZIP
Filename : INTERR.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/