Home Download Musics Developers
API Sources Tools File Format Technicals

ym2149_t Struct Reference
[YM-2149 emulator]

#include <ymemul.h>


Detailed Description

YM-2149 internal data structure.


Data Fields

u8 ctrl
 Current control (working) register.

u8 data [16]
 YM data register.

unsigned int env_ct
 Envelop period counter.

unsigned int env_cont
 Continue mask [0 or 0x1f].

unsigned int env_alt
 Alternate mask [0 or 0x1f].

unsigned int env_bit
 Envelop level : 5 LSB are envelop level.

unsigned int env_bitstp
 Envelop level step : [0 or 1].

unsigned int noise_gen
 Noise generator 17-bit shift register.

unsigned int noise_ct
 Noise generator period counter.

signed int voice_ctA
 Canal A sound period counter.

signed int voice_ctB
 Canal B sound period counter.

signed int voice_ctC
 Canal C sound period counter.

unsigned int sq
 Square level 0xABC.


The documentation for this struct was generated from the following file: