openMSX
Classes | Namespaces | Macros | Functions | Variables
YMF278.cc File Reference
#include "YMF278.hh"
#include "ResampledSoundDevice.hh"
#include "Rom.hh"
#include "SimpleDebuggable.hh"
#include "DeviceConfig.hh"
#include "MSXMotherBoard.hh"
#include "MemBuffer.hh"
#include "MSXException.hh"
#include "StringOp.hh"
#include "serialize.hh"
#include "likely.hh"
#include "memory.hh"
#include <algorithm>
#include <cmath>
#include <cstring>
Include dependency graph for YMF278.cc:

Go to the source code of this file.

Classes

class  openmsx::DebugRegisters
class  openmsx::DebugMemory
class  openmsx::YMF278Slot
class  openmsx::YMF278::Impl

Namespaces

namespace  openmsx
 Thanks to enen for testing this on a real cartridge:

Macros

#define SC(db)   unsigned(db * (2.0 / ENV_STEP))
#define O(a)   (a * RATE_STEPS)
#define O(a)   (a)
#define O(a)   int((EG_TIMER_OVERFLOW / a) / 6)
#define O(a)   int(a * 65536)
#define SC(db)   int(db * (2.0 / ENV_STEP))

Functions

 openmsx::SERIALIZE_CLASS_VERSION (YMF278Slot, 3)

Variables

 openmsx::YMF278

Macro Definition Documentation

#define O (   a)    (a * RATE_STEPS)

Definition at line 280 of file YMF278.cc.

#define O (   a)    (a)

Definition at line 280 of file YMF278.cc.

#define O (   a)    int((EG_TIMER_OVERFLOW / a) / 6)

Definition at line 280 of file YMF278.cc.

#define O (   a)    int(a * 65536)

Definition at line 280 of file YMF278.cc.

#define SC (   db)    unsigned(db * (2.0 / ENV_STEP))

Definition at line 288 of file YMF278.cc.

#define SC (   db)    int(db * (2.0 / ENV_STEP))

Definition at line 288 of file YMF278.cc.