|
LMMS
|
#include <Hes_Emu.h>
Classes | |
| struct | header_t |
Public Types | |
| enum | { header_size = 0x20 } |
| Public Types inherited from Music_Emu | |
| typedef short | sample_t |
| typedef gme_equalizer_t | equalizer_t |
| Public Types inherited from Gme_File | |
| enum | { max_field_ = 255 } |
Static Public Member Functions | |
| static gme_type_t | static_type () |
| Static Public Member Functions inherited from Music_Emu | |
| static const equalizer_t | make_equalizer (double treble, double bass) |
| Static Public Member Functions inherited from Gme_File | |
| static void | copy_field_ (char *out, const char *in) |
| static void | copy_field_ (char *out, const char *in, int len) |
Private Types | |
| typedef Hes_Cpu | cpu |
| Private Types inherited from Hes_Cpu | |
| enum | { page_size = 0x2000 } |
| enum | { page_shift = 13 } |
| enum | { page_count = 8 } |
| enum | { idle_addr = 0x1FFF } |
| enum | { cpu_padding = 8 } |
| enum | { irq_inhibit = 0x04 } |
Private Member Functions | |
| int | cpu_read_ (hes_addr_t) |
| int | cpu_read (hes_addr_t) |
| void | cpu_write_ (hes_addr_t, int data) |
| void | cpu_write (hes_addr_t, int) |
| void | cpu_write_vdp (int addr, int data) |
| byte const * | cpu_set_mmr (int page, int bank) |
| int | cpu_done () |
| void | recalc_timer_load () |
| void | irq_changed () |
| void | run_until (hes_time_t) |
| Private Member Functions inherited from Hes_Cpu | |
| void | reset () |
| void | set_mmr (int reg, int bank) |
| uint8_t const * | get_code (hes_addr_t) |
| bool | run (hes_time_t end_time) |
| hes_time_t | time () const |
| void | set_time (hes_time_t t) |
| void | adjust_time (int delta) |
| hes_time_t | irq_time () const |
| void | set_irq_time (hes_time_t) |
| hes_time_t | end_time () const |
| void | set_end_time (hes_time_t) |
| void | end_frame (hes_time_t) |
| Hes_Cpu () | |
Private Attributes | |
| byte * | write_pages [page_count+1] |
| Rom_Data< page_size > | rom |
| header_t | header_ |
| hes_time_t | play_period |
| hes_time_t | last_frame_hook |
| int | timer_base |
| struct { | |
| hes_time_t last_time | |
| blargg_long count | |
| blargg_long load | |
| int raw_load | |
| byte enabled | |
| byte fired | |
| } | timer |
| struct { | |
| hes_time_t next_vbl | |
| byte latch | |
| byte control | |
| } | vdp |
| struct { | |
| hes_time_t timer | |
| hes_time_t vdp | |
| byte disables | |
| } | irq |
| Hes_Apu | apu |
| byte | sgx [3 *page_size+cpu_padding] |
| Private Attributes inherited from Hes_Cpu | |
| uint8_t | ram [page_size] |
| registers_t | r |
| uint8_t | mmr [page_count+1] |
Friends | |
| class | Hes_Cpu |
Additional Inherited Members | |
| Public Attributes inherited from Gme_File | |
| BLARGG_DISABLE_NOTHROW typedef uint8_t | byte |
| Static Public Attributes inherited from Music_Emu | |
| static equalizer_t const | tv_eq |
| Protected Types inherited from Classic_Emu | |
| enum | { wave_type = 0x100 , noise_type = 0x200 , mixed_type = wave_type | noise_type } |
|
private |
| Hes_Emu::Hes_Emu | ( | ) |
| Hes_Emu::~Hes_Emu | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protectedvirtual |
Reimplemented from Gme_File.
|
private |
|
protectedvirtual |
Implements Classic_Emu.
|
private |
|
protectedvirtual |
Implements Classic_Emu.
|
protectedvirtual |
Implements Classic_Emu.
|
inlinestatic |
|
protectedvirtual |
Implements Gme_File.
Implements Classic_Emu.
|
friend |
|
private |
| byte Hes_Emu::control |
| blargg_long Hes_Emu::count |
| byte Hes_Emu::disables |
| byte Hes_Emu::enabled |
| byte Hes_Emu::fired |
|
private |
| struct { ... } Hes_Emu::irq |
|
private |
| hes_time_t Hes_Emu::last_time |
| byte Hes_Emu::latch |
| blargg_long Hes_Emu::load |
| hes_time_t Hes_Emu::next_vbl |
|
private |
| int Hes_Emu::raw_load |
|
private |
| hes_time_t Hes_Emu::timer |
| struct { ... } Hes_Emu::timer |
|
private |
| hes_time_t Hes_Emu::vdp |
| struct { ... } Hes_Emu::vdp |
|
private |