8080-Emulator  0.1
An Intel 8080 emulator for Space Invaders
Public Attributes | List of all members
port_IO Struct Reference

Imaginary external Ports used to communicate with the player and hardware. More...

#include <space.h>

Public Attributes

uint8_t shift_config
 
union {
   struct {
      uint8_t   y
 
      uint8_t   x
 
   } 
 
   uint16_t   hidden_reg
 
}; 
 
uint8_t port_0
 
uint8_t port_1
 
uint8_t port_2
 
uint8_t port_3
 
uint8_t port_5
 

Detailed Description

Imaginary external Ports used to communicate with the player and hardware.

Member Data Documentation

◆ 

union { ... }

Union to redirect Port 4 writes and Port 2 reads

◆ hidden_reg

uint16_t port_IO::hidden_reg

abstracted 15 byte register

◆ port_0

uint8_t port_IO::port_0

Input Ports

◆ port_3

uint8_t port_IO::port_3

Output Ports

◆ shift_config

uint8_t port_IO::shift_config

Shift Reg config to control Port 2 reads

◆ x

uint8_t port_IO::x

most significant byte

◆ y

uint8_t port_IO::y

least significant byte


The documentation for this struct was generated from the following file: