mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 21:04:26 +00:00
![Hermès Bélusca-Maïto](/assets/img/avatar_default.png)
Start to implement a basic emulated PC speaker, using the Beep driver. svn path=/branches/ntvdm/; revision=60853
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 */
|