Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Data Structures | Functions
cia6526.h File Reference
#include "xemu/emutools_snapshot.h"
#include <time.h>
Include dependency graph for cia6526.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Cia6526
 

Functions

void cia_init (struct Cia6526 *cia, const char *name, void(*outa)(Uint8 data), void(*outb)(Uint8 data), void(*outsr)(Uint8 data), Uint8(*ina)(void), Uint8(*inb)(void), Uint8(*insr)(void), void(*setint)(int level))
 
void cia_reset (struct Cia6526 *cia)
 
void cia_write (struct Cia6526 *cia, int addr, Uint8 data)
 
Uint8 cia_read (struct Cia6526 *cia, int addr)
 
void cia_tick (struct Cia6526 *cia, int ticks)
 
void cia_dump_state (struct Cia6526 *cia)
 
void cia_ugly_tod_updater (struct Cia6526 *cia, const struct tm *t, Uint8 sec10, int hour_offset)
 

Function Documentation

◆ cia_dump_state()

void cia_dump_state ( struct Cia6526 cia)

Definition at line 323 of file cia6526.c.

◆ cia_init()

void cia_init ( struct Cia6526 cia,
const char *  name,
void(*)(Uint8 data outa,
void(*)(Uint8 data outb,
void(*)(Uint8 data outsr,
Uint8(*)(void)  ina,
Uint8(*)(void)  inb,
Uint8(*)(void)  insr,
void(*)(int level)  setint 
)

Definition at line 98 of file cia6526.c.

◆ cia_read()

Uint8 cia_read ( struct Cia6526 cia,
int  addr 
)

Definition at line 121 of file cia6526.c.

◆ cia_reset()

void cia_reset ( struct Cia6526 cia)

Definition at line 63 of file cia6526.c.

◆ cia_tick()

void cia_tick ( struct Cia6526 cia,
int  ticks 
)

Definition at line 281 of file cia6526.c.

◆ cia_ugly_tod_updater()

void cia_ugly_tod_updater ( struct Cia6526 cia,
const struct tm *  t,
Uint8  sec10,
int  hour_offset 
)

Definition at line 270 of file cia6526.c.

◆ cia_write()

void cia_write ( struct Cia6526 cia,
int  addr,
Uint8  data 
)

Definition at line 169 of file cia6526.c.