Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
commodore_65.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SCREEN_FORMAT   SDL_PIXELFORMAT_ARGB8888
 
#define USE_LOCKED_TEXTURE   1
 
#define RENDER_SCALE_QUALITY   0
 
#define FAST_CPU_CYCLES_PER_SCANLINE   227
 
#define SLOW_CPU_CYCLES_PER_SCANLINE   64
 
#define SID_CYCLES_PER_SEC   1000000
 
#define AUDIO_SAMPLE_FREQ   44100
 
#define DEFAULT_ROM_FILE   "#c65-system.rom"
 
#define ALLOW_512K_RAMEXP
 

Functions

void apply_memory_config (void)
 
Uint8 io_read (int addr)
 
void io_write (int addr, Uint8 data)
 
void write_phys_mem (int addr, Uint8 data)
 
Uint8 read_phys_mem (int addr)
 
void c65_reset (void)
 
int c65_reset_asked (void)
 
int dump_memory (const char *fn)
 
int c65_load_rom (const char *fn, unsigned int dma_rev)
 

Variables

Uint8 memory [0x100000]
 
char emulator_speed_title []
 
int register_screenshot_request
 
char current_rom_filepath []
 

Macro Definition Documentation

◆ ALLOW_512K_RAMEXP

#define ALLOW_512K_RAMEXP

Definition at line 40 of file commodore_65.h.

◆ AUDIO_SAMPLE_FREQ

#define AUDIO_SAMPLE_FREQ   44100

Definition at line 33 of file commodore_65.h.

◆ DEFAULT_ROM_FILE

#define DEFAULT_ROM_FILE   "#c65-system.rom"

Definition at line 35 of file commodore_65.h.

◆ FAST_CPU_CYCLES_PER_SCANLINE

#define FAST_CPU_CYCLES_PER_SCANLINE   227

Definition at line 29 of file commodore_65.h.

◆ RENDER_SCALE_QUALITY

#define RENDER_SCALE_QUALITY   0

Definition at line 27 of file commodore_65.h.

◆ SCREEN_FORMAT

#define SCREEN_FORMAT   SDL_PIXELFORMAT_ARGB8888

Definition at line 25 of file commodore_65.h.

◆ SID_CYCLES_PER_SEC

#define SID_CYCLES_PER_SEC   1000000

Definition at line 32 of file commodore_65.h.

◆ SLOW_CPU_CYCLES_PER_SCANLINE

#define SLOW_CPU_CYCLES_PER_SCANLINE   64

Definition at line 30 of file commodore_65.h.

◆ USE_LOCKED_TEXTURE

#define USE_LOCKED_TEXTURE   1

Definition at line 26 of file commodore_65.h.

Function Documentation

◆ apply_memory_config()

void apply_memory_config ( void  )

Definition at line 94 of file commodore_65.c.

Here is the caller graph for this function:

◆ c65_load_rom()

int c65_load_rom ( const char *  fn,
unsigned int  dma_rev 
)

Definition at line 304 of file commodore_65.c.

Here is the call graph for this function:

◆ c65_reset()

void c65_reset ( void  )

Definition at line 792 of file commodore_65.c.

Here is the caller graph for this function:

◆ c65_reset_asked()

int c65_reset_asked ( void  )

Definition at line 783 of file commodore_65.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dump_memory()

int dump_memory ( const char *  fn)

Definition at line 754 of file commodore_65.c.

◆ io_read()

Uint8 io_read ( int  addr)

Definition at line 472 of file commodore_65.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ io_write()

void io_write ( int  addr,
Uint8  data 
)

Definition at line 546 of file commodore_65.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_phys_mem()

Uint8 read_phys_mem ( int  addr)

Definition at line 692 of file commodore_65.c.

◆ write_phys_mem()

void write_phys_mem ( int  addr,
Uint8  data 
)

Definition at line 656 of file commodore_65.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ current_rom_filepath

char current_rom_filepath[]

Definition at line 51 of file commodore_65.c.

◆ emulator_speed_title

char emulator_speed_title[]

Definition at line 78 of file commodore_65.c.

◆ memory

Uint8 memory[0x100000]

Definition at line 43 of file commodore_65.c.

◆ register_screenshot_request

int register_screenshot_request

Definition at line 54 of file enterprise128.c.