8080-Emulator
0.1
An Intel 8080 emulator for Space Invaders
|
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 |
Imaginary external Ports used to communicate with the player and hardware.
union { ... } |
Union to redirect Port 4 writes and Port 2 reads
uint16_t port_IO::hidden_reg |
abstracted 15 byte register
uint8_t port_IO::port_0 |
Input Ports
uint8_t port_IO::port_3 |
Output Ports
uint8_t port_IO::shift_config |
Shift Reg config to control Port 2 reads
uint8_t port_IO::x |
most significant byte
uint8_t port_IO::y |
least significant byte