LMMS
Loading...
Searching...
No Matches
Kss_Emu.cpp File Reference
#include "Kss_Emu.h"
#include "blargg_endian.h"
#include <string.h>
#include "blargg_source.h"

Classes

struct  Kss_File

Functions

static void copy_kss_fields (Kss_Emu::header_t const &h, track_info_t *out)
static blargg_err_t check_kss_header (void const *header)
static Music_Emunew_kss_emu ()
static Music_Emunew_kss_file ()
void kss_cpu_write (Kss_Cpu *cpu, unsigned addr, int data)
void kss_cpu_out (Kss_Cpu *cpu, cpu_time_t time, unsigned addr, int data)
int kss_cpu_in (Kss_Cpu *, cpu_time_t, unsigned addr)

Variables

long const clock_rate = 3579545
int const osc_count = Ay_Apu::osc_count + Scc_Apu::osc_count
static gme_type_t_ const gme_kss_type_ = { "MSX", 256, &new_kss_emu, &new_kss_file, "KSS", 0x03 }
BLARGG_EXPORT gme_type_t const gme_kss_type = &gme_kss_type_

Function Documentation

◆ check_kss_header()

blargg_err_t check_kss_header ( void const * header)
static

◆ copy_kss_fields()

void copy_kss_fields ( Kss_Emu::header_t const & h,
track_info_t * out )
static

◆ kss_cpu_in()

int kss_cpu_in ( Kss_Cpu * ,
cpu_time_t ,
unsigned addr )

◆ kss_cpu_out()

void kss_cpu_out ( Kss_Cpu * cpu,
cpu_time_t time,
unsigned addr,
int data )

◆ kss_cpu_write()

void kss_cpu_write ( Kss_Cpu * cpu,
unsigned addr,
int data )

◆ new_kss_emu()

Music_Emu * new_kss_emu ( )
static

◆ new_kss_file()

Music_Emu * new_kss_file ( )
static

Variable Documentation

◆ clock_rate

long const clock_rate = 3579545

◆ gme_kss_type

BLARGG_EXPORT gme_type_t const gme_kss_type = &gme_kss_type_
extern

◆ gme_kss_type_

gme_type_t_ const gme_kss_type_ = { "MSX", 256, &new_kss_emu, &new_kss_file, "KSS", 0x03 }
static

◆ osc_count