openMSX
Enumerations | Functions
opll.cc File Reference
#include <string.h>
#include "opll.hh"
Include dependency graph for opll.cc:

Go to the source code of this file.

Enumerations

enum  { eg_num_attack = 0, eg_num_decay = 1, eg_num_sustain = 2, eg_num_release = 3 }
 
enum  {
  rm_num_bd0 = 0, rm_num_hh = 1, rm_num_tom = 2, rm_num_bd1 = 3,
  rm_num_sd = 4, rm_num_tc = 5
}
 

Functions

void OPLL_Reset (opll_t *chip, uint32_t chip_type)
 
void OPLL_Clock (opll_t *chip, int32_t *buffer)
 
void OPLL_Write (opll_t *chip, uint32_t port, uint8_t data)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
eg_num_attack 
eg_num_decay 
eg_num_sustain 
eg_num_release 

Definition at line 26 of file opll.cc.

◆ anonymous enum

anonymous enum
Enumerator
rm_num_bd0 
rm_num_hh 
rm_num_tom 
rm_num_bd1 
rm_num_sd 
rm_num_tc 

Definition at line 33 of file opll.cc.

Function Documentation

◆ OPLL_Clock()

void OPLL_Clock ( opll_t chip,
int32_t *  buffer 
)

◆ OPLL_Reset()

void OPLL_Reset ( opll_t chip,
uint32_t  chip_type 
)

◆ OPLL_Write()

void OPLL_Write ( opll_t chip,
uint32_t  port,
uint8_t  data 
)

Definition at line 1109 of file opll.cc.

References opll_t::write_a, opll_t::write_d, and opll_t::write_data.