mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 12:20:21 +00:00
30 lines
758 B
C
30 lines
758 B
C
![]() |
/*
|
||
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
||
|
* PROJECT: ReactOS Virtual DOS Machine
|
||
|
* FILE: speaker.h
|
||
|
* PURPOSE: PC Speaker emulation
|
||
|
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
||
|
*/
|
||
|
|
||
|
#ifndef _SPEAKER_H_
|
||
|
#define _SPEAKER_H_
|
||
|
|
||
|
/* INCLUDES *******************************************************************/
|
||
|
|
||
|
#include "ntvdm.h"
|
||
|
|
||
|
/* DEFINES ********************************************************************/
|
||
|
|
||
|
#define SPEAKER_CONTROL_PORT 0x61
|
||
|
|
||
|
/* FUNCTIONS ******************************************************************/
|
||
|
|
||
|
VOID SpeakerInitialize(VOID);
|
||
|
VOID SpeakerCleanup(VOID);
|
||
|
BYTE SpeakerReadStatus(VOID);
|
||
|
VOID SpeakerWriteCommand(BYTE Value);
|
||
|
|
||
|
#endif // _SPEAKER_H_
|
||
|
|
||
|
/* EOF */
|