PZ80emu  0.1
Functions
io.h File Reference
#include <stdint.h>
#include "z80.h"
Include dependency graph for io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

__BEGIN_DECLS void _out_mem_reg8 (uint8_t, struct z80 *, uint8_t *)
 places the contents of an 8-bit register on the databus More...
 
void _out_c_reg8 (uint8_t, struct z80 *, uint8_t *)
 
void _in_reg8_mem (uint8_t *, struct z80 *, uint8_t *)
 reads value of data bus into an 8-bit register More...
 

Detailed Description

Author
Peter H. Ezetta

Function Documentation

◆ _in_reg8_mem()

void _in_reg8_mem ( uint8_t *  reg,
struct z80 cpu,
uint8_t *  memory 
)

reads value of data bus into an 8-bit register

Parameters
regregister to store input value to
cpuz80 CPU object
memorypointer to allocated memory

◆ _out_mem_reg8()

__BEGIN_DECLS void _out_mem_reg8 ( uint8_t  reg,
struct z80 cpu,
uint8_t *  memory 
)

places the contents of an 8-bit register on the databus

Parameters
regregister to output
cpuz80 CPU object
memorypointer to allocated memory