Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Data Structures | Functions
via65c22.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  Via65c22
 

Functions

void via_init (struct Via65c22 *via, const char *name, void(*outa)(Uint8 mask, Uint8 data), void(*outb)(Uint8 mask, Uint8 data), void(*outsr)(Uint8 data), Uint8(*ina)(Uint8 mask), Uint8(*inb)(Uint8 mask), Uint8(*insr)(void), void(*setint)(int level))
 
void via_reset (struct Via65c22 *via)
 
void via_write (struct Via65c22 *via, int addr, Uint8 data)
 
Uint8 via_read (struct Via65c22 *via, int addr)
 
void via_tick (struct Via65c22 *via, int ticks)
 

Function Documentation

◆ via_init()

void via_init ( struct Via65c22 via,
const char *  name,
void(*)(Uint8 mask, Uint8 data outa,
void(*)(Uint8 mask, Uint8 data outb,
void(*)(Uint8 data outsr,
Uint8(*)(Uint8 mask ina,
Uint8(*)(Uint8 mask inb,
Uint8(*)(void)  insr,
void(*)(int level)  setint 
)

Definition at line 77 of file via65c22.c.

◆ via_read()

Uint8 via_read ( struct Via65c22 via,
int  addr 
)

Definition at line 177 of file via65c22.c.

◆ via_reset()

void via_reset ( struct Via65c22 via)

Definition at line 56 of file via65c22.c.

◆ via_tick()

void via_tick ( struct Via65c22 via,
int  ticks 
)

Definition at line 224 of file via65c22.c.

◆ via_write()

void via_write ( struct Via65c22 via,
int  addr,
Uint8  data 
)

Definition at line 99 of file via65c22.c.