openMSX
DACSound8U.hh
Go to the documentation of this file.
1 // This class implements a 8 bit unsigned DAC
2 
3 #ifndef DACSOUND8U_HH
4 #define DACSOUND8U_HH
5 
6 #include "DACSound16S.hh"
7 
8 namespace openmsx {
9 
10 class DACSound8U final : public DACSound16S
11 {
12 public:
13  DACSound8U(std::string_view name, std::string_view desc,
14  const DeviceConfig& config);
15 
16  void writeDAC(uint8_t value, EmuTime::param time);
17 };
18 
19 } // namespace openmsx
20 
21 #endif
DACSound16S.hh
openmsx::DeviceConfig
Definition: DeviceConfig.hh:19
openmsx::DACSound8U::DACSound8U
DACSound8U(std::string_view name, std::string_view desc, const DeviceConfig &config)
Definition: DACSound8U.cc:7
openmsx::DACSound8U
Definition: DACSound8U.hh:10
openmsx::DACSound8U::writeDAC
void writeDAC(uint8_t value, EmuTime::param time)
Definition: DACSound8U.cc:16
openmsx::DACSound16S
Definition: DACSound16S.hh:12
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5