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

Classes

struct  Sap_File

Functions

int from_hex_char (int h)
static long from_hex (byte const *in)
static int from_dec (byte const *in, byte const *end)
static void parse_string (byte const *in, byte const *end, int len, char *out)
static blargg_err_t parse_info (byte const *in, long size, Sap_Emu::info_t *out)
static void copy_sap_fields (Sap_Emu::info_t const &in, track_info_t *out)
static Music_Emunew_sap_emu ()
static Music_Emunew_sap_file ()

Variables

long const base_scanline_period = 114
static gme_type_t_ const gme_sap_type_ = { "Atari XL", 0, &new_sap_emu, &new_sap_file, "SAP", 1 }
BLARGG_EXPORT gme_type_t const gme_sap_type = &gme_sap_type_

Function Documentation

◆ copy_sap_fields()

void copy_sap_fields ( Sap_Emu::info_t const & in,
track_info_t * out )
static

◆ from_dec()

int from_dec ( byte const * in,
byte const * end )
static

◆ from_hex()

long from_hex ( byte const * in)
static

◆ from_hex_char()

int from_hex_char ( int h)
inline

◆ new_sap_emu()

Music_Emu * new_sap_emu ( )
static

◆ new_sap_file()

Music_Emu * new_sap_file ( )
static

◆ parse_info()

blargg_err_t parse_info ( byte const * in,
long size,
Sap_Emu::info_t * out )
static

◆ parse_string()

void parse_string ( byte const * in,
byte const * end,
int len,
char * out )
static

Variable Documentation

◆ base_scanline_period

long const base_scanline_period = 114

◆ gme_sap_type

BLARGG_EXPORT gme_type_t const gme_sap_type = &gme_sap_type_
extern

◆ gme_sap_type_

gme_type_t_ const gme_sap_type_ = { "Atari XL", 0, &new_sap_emu, &new_sap_file, "SAP", 1 }
static