openMSX
|
#include <cstdint>
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) |
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().