openMSX
Classes | Enumerations | Functions
opll.hh File Reference
#include <stdint.h>
Include dependency graph for opll.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  opll_patch_t
 
struct  opll_t
 

Enumerations

enum  {
  opll_type_ym2413 = 0x00, opll_type_ds1001, opll_type_ym2413b, opll_type_ymf281,
  opll_type_ymf281b, opll_type_ym2420, opll_type_ym2423
}
 
enum  {
  opll_patch_1 = 0x00, opll_patch_2, opll_patch_3, opll_patch_4,
  opll_patch_5, opll_patch_6, opll_patch_7, opll_patch_8,
  opll_patch_9, opll_patch_10, opll_patch_11, opll_patch_12,
  opll_patch_13, opll_patch_14, opll_patch_15, opll_patch_drum_0,
  opll_patch_drum_1, opll_patch_drum_2, opll_patch_drum_3, opll_patch_drum_4,
  opll_patch_drum_5, opll_patch_max
}
 

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
opll_type_ym2413 
opll_type_ds1001 
opll_type_ym2413b 
opll_type_ymf281 
opll_type_ymf281b 
opll_type_ym2420 
opll_type_ym2423 

Definition at line 28 of file opll.hh.

◆ anonymous enum

anonymous enum
Enumerator
opll_patch_1 
opll_patch_2 
opll_patch_3 
opll_patch_4 
opll_patch_5 
opll_patch_6 
opll_patch_7 
opll_patch_8 
opll_patch_9 
opll_patch_10 
opll_patch_11 
opll_patch_12 
opll_patch_13 
opll_patch_14 
opll_patch_15 
opll_patch_drum_0 
opll_patch_drum_1 
opll_patch_drum_2 
opll_patch_drum_3 
opll_patch_drum_4 
opll_patch_drum_5 
opll_patch_max 

Definition at line 38 of file opll.hh.

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.