Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
commander_x16.c File Reference
#include "xemu/emutools.h"
#include "xemu/emutools_files.h"
#include "xemu/emutools_hid.h"
#include "xemu/emutools_config.h"
#include "commander_x16.h"
#include "xemu/cpu65.h"
#include "xemu/via65c22.h"
#include "vera.h"
#include "input_devices.h"
Include dependency graph for commander_x16.c:

Go to the source code of this file.

Macros

#define IODEBUGPRINT   DEBUG
 
#define SCREEN_WIDTH   640
 
#define SCREEN_HEIGHT   480
 
#define CYCLES_PER_SCANLINE   254
 
#define VIRTUAL_SHIFT_POS   0x31
 

Functions

void cpu65_write_callback (Uint16 addr, Uint8 data)
 
Uint8 cpu65_read_callback (Uint16 addr)
 
int dump_stuff (const char *fn, void *mem, int size)
 
int main (int argc, char **argv)
 

Variables

Uint64 all_virt_cycles = 0
 

Macro Definition Documentation

◆ CYCLES_PER_SCANLINE

#define CYCLES_PER_SCANLINE   254

Definition at line 42 of file commander_x16.c.

◆ IODEBUGPRINT

#define IODEBUGPRINT   DEBUG

Definition at line 33 of file commander_x16.c.

◆ SCREEN_HEIGHT

#define SCREEN_HEIGHT   480

Definition at line 37 of file commander_x16.c.

◆ SCREEN_WIDTH

#define SCREEN_WIDTH   640

Definition at line 36 of file commander_x16.c.

◆ VIRTUAL_SHIFT_POS

#define VIRTUAL_SHIFT_POS   0x31

Definition at line 55 of file commander_x16.c.

Function Documentation

◆ cpu65_read_callback()

Uint8 cpu65_read_callback ( Uint16  addr)

Definition at line 125 of file commander_x16.c.

◆ cpu65_write_callback()

void cpu65_write_callback ( Uint16  addr,
Uint8  data 
)

Definition at line 76 of file commander_x16.c.

◆ dump_stuff()

int dump_stuff ( const char *  fn,
void *  mem,
int  size 
)

Definition at line 307 of file commander_x16.c.

Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 336 of file commander_x16.c.

Here is the call graph for this function:

Variable Documentation

◆ all_virt_cycles

Uint64 all_virt_cycles = 0

Definition at line 277 of file commander_x16.c.

◆ clock

int clock

Definition at line 66 of file commander_x16.c.

◆ dumpmem

int dumpmem

Definition at line 65 of file commander_x16.c.

◆ fullscreen

int fullscreen

Definition at line 65 of file commander_x16.c.

◆ hiramsize

int hiramsize

Definition at line 66 of file commander_x16.c.

◆ sdlrenderquality

int sdlrenderquality

Definition at line 65 of file commander_x16.c.

◆ syscon

int syscon

Definition at line 65 of file commander_x16.c.