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

Go to the source code of this file.

Data Structures

struct  cpu65_st
 

Macros

#define CPU65_PF_N   0x80
 
#define CPU65_PF_V   0x40
 
#define CPU65_PF_E   0x20
 
#define CPU65_PF_B   0x10
 
#define CPU65_PF_D   0x08
 
#define CPU65_PF_I   0x04
 
#define CPU65_PF_Z   0x02
 
#define CPU65_PF_C   0x01
 

Functions

void cpu65_write_callback (Uint16 addr, Uint8 data)
 
void cpu65_write_rmw_callback (Uint16 addr, Uint8 old_data, Uint8 new_data)
 
Uint8 cpu65_read_callback (Uint16 addr)
 
void cpu65_reset (void)
 
int cpu65_step (void)
 
void cpu65_set_pf (const Uint8 st)
 
Uint8 cpu65_get_pf (void)
 

Variables

struct cpu65_st CPU65
 

Macro Definition Documentation

◆ CPU65_PF_B

#define CPU65_PF_B   0x10

Definition at line 26 of file cpu65.h.

◆ CPU65_PF_C

#define CPU65_PF_C   0x01

Definition at line 30 of file cpu65.h.

◆ CPU65_PF_D

#define CPU65_PF_D   0x08

Definition at line 27 of file cpu65.h.

◆ CPU65_PF_E

#define CPU65_PF_E   0x20

Definition at line 25 of file cpu65.h.

◆ CPU65_PF_I

#define CPU65_PF_I   0x04

Definition at line 28 of file cpu65.h.

◆ CPU65_PF_N

#define CPU65_PF_N   0x80

Definition at line 23 of file cpu65.h.

◆ CPU65_PF_V

#define CPU65_PF_V   0x40

Definition at line 24 of file cpu65.h.

◆ CPU65_PF_Z

#define CPU65_PF_Z   0x02

Definition at line 29 of file cpu65.h.

Function Documentation

◆ cpu65_get_pf()

Uint8 cpu65_get_pf ( void  )

Definition at line 331 of file cpu65.c.

◆ cpu65_read_callback()

Uint8 cpu65_read_callback ( Uint16  addr)

Definition at line 711 of file commodore_65.c.

Here is the caller graph for this function:

◆ cpu65_reset()

void cpu65_reset ( void  )

Definition at line 353 of file cpu65.c.

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

◆ cpu65_set_pf()

void cpu65_set_pf ( const Uint8  st)

Definition at line 313 of file cpu65.c.

Here is the caller graph for this function:

◆ cpu65_step()

int cpu65_step ( void  )

Definition at line 796 of file cpu65.c.

◆ cpu65_write_callback()

void cpu65_write_callback ( Uint16  addr,
Uint8  data 
)

Definition at line 723 of file commodore_65.c.

Here is the caller graph for this function:

◆ cpu65_write_rmw_callback()

void cpu65_write_rmw_callback ( Uint16  addr,
Uint8  old_data,
Uint8  new_data 
)

Definition at line 741 of file commodore_65.c.

Here is the call graph for this function:

Variable Documentation

◆ CPU65

struct cpu65_st CPU65

Definition at line 60 of file cpu65.c.