openMSX
|
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) |
anonymous enum |
anonymous enum |
void OPLL_Clock | ( | opll_t * | chip, |
int32_t * | buffer | ||
) |
Definition at line 1062 of file opll.cc.
References opll_t::cycles, opll_t::lfo_am_counter, opll_t::lfo_am_out, opll_t::output_m, opll_t::output_r, opll_t::rm_enable, rm_num_bd0, rm_num_tc, and opll_t::rm_select.
Referenced by openmsx::YM2413OriginalNukeYKT::YM2413::generateChannels().
void OPLL_Reset | ( | opll_t * | chip, |
uint32_t | chip_type | ||
) |
Definition at line 293 of file opll.cc.
References opll_t::chip_type, opll_t::eg_level, eg_num_release, opll_t::eg_out, opll_t::eg_state, opll_type_ds1001, opll_type_ym2413, opll_type_ym2413b, opll_type_ym2420, opll_type_ym2423, opll_type_ymf281, opll_type_ymf281b, opll_t::patchrom, opll_t::rhythm, opll_t::rm_enable, rm_num_tc, and opll_t::rm_select.
Referenced by openmsx::YM2413OriginalNukeYKT::YM2413::reset().
void OPLL_Write | ( | opll_t * | chip, |
uint32_t | port, | ||
uint8_t | data | ||
) |
Definition at line 1101 of file opll.cc.
References opll_t::write_a, opll_t::write_d, and opll_t::write_data.
Referenced by openmsx::YM2413OriginalNukeYKT::YM2413::generateChannels().