ComSquare::CPU::InternalRegisters Struct Reference

Struct containing internal registers of the CPU. More...

`#include <CPU.hpp>`

Collaboration diagram for ComSquare::CPU::InternalRegisters:

## Public Attributes

uint8_t | nmitimen
| Interrupt Enable Register. More...
uint8_t | wrio
| IO Port Write Register. More...
uint8_t | wrmpya
| Multiplicand Register A. More...
uint8_t | wrmpyb
| Multiplicand Register B. More...
uint8_t | wrdivl
| Divisor & Dividend Registers (A - Low) More...
uint8_t | wrdivh
| Divisor & Dividend Registers (A - High) More...
uint8_t | wrdivb
| Divisor & Dividend Registers (B) More...
uint8_t | htimel
| IRQ Timer Registers (Horizontal - Low) More...
uint8_t | htimeh
| IRQ Timer Registers (Horizontal - High) More...
uint8_t | vtimel
| IRQ Timer Registers (Vertical - Low) More...
uint8_t | vtimeh
| IRQ Timer Registers (Vertical - High) More...
uint8_t | mdmaen
| DMA Enable Register. More...
uint8_t | hdmaen
| HDMA Enable Register. More...
uint8_t | memsel
| ROM Speed Register. More...
uint8_t | rdnmi
| Interrupt Flag Registers. More...
uint8_t | timeup
| Interrupt Flag Registers - TimeUp. More...
uint8_t | hvbjoy
| PPU Status Register. More...
uint8_t | rdio
| IO Port Read Register. More...
uint8_t | rddivl
| Divide Result Registers (can sometimes be used as multiplication result register) - LOW. More...
uint8_t | rddivh
| Divide Result Registers (can sometimes be used as multiplication result register) - HIGH. More...
uint8_t | rdmpyl
| Multiplication Result Registers (can sometimes be used as divide result register) - LOW. More...
uint8_t | rdmpyh
| Multiplication Result Registers (can sometimes be used as divide result register) - HIGH. More...
uint8_t | joy1l
| Controller Port Data Registers (Pad 1 - Low) More...
uint8_t | joy1h
| Controller Port Data Registers (Pad 1 - High) More...
uint8_t | joy2l
| Controller Port Data Registers (Pad 2 - Low) More...
uint8_t | joy2h
| Controller Port Data Registers (Pad 2 - High) More...
uint8_t | joy3l
| Controller Port Data Registers (Pad 3 - Low) More...
uint8_t | joy3h
| Controller Port Data Registers (Pad 3 - High) More...
uint8_t | joy4l
| Controller Port Data Registers (Pad 4 - Low) More...
uint8_t | joy4h
| Controller Port Data Registers (Pad 4 - High) More...

## Detailed Description

Struct containing internal registers of the CPU.

## Member Data Documentation

## hdmaen

uint8_t ComSquare::CPU::InternalRegisters::hdmaen

HDMA Enable Register.

## htimeh

uint8_t ComSquare::CPU::InternalRegisters::htimeh

IRQ Timer Registers (Horizontal - High)

## htimel

uint8_t ComSquare::CPU::InternalRegisters::htimel

IRQ Timer Registers (Horizontal - Low)

## hvbjoy

uint8_t ComSquare::CPU::InternalRegisters::hvbjoy

PPU Status Register.

## joy1h

uint8_t ComSquare::CPU::InternalRegisters::joy1h

Controller Port Data Registers (Pad 1 - High)

## joy1l

uint8_t ComSquare::CPU::InternalRegisters::joy1l

Controller Port Data Registers (Pad 1 - Low)

## joy2h

uint8_t ComSquare::CPU::InternalRegisters::joy2h

Controller Port Data Registers (Pad 2 - High)

## joy2l

uint8_t ComSquare::CPU::InternalRegisters::joy2l

Controller Port Data Registers (Pad 2 - Low)

## joy3h

uint8_t ComSquare::CPU::InternalRegisters::joy3h

Controller Port Data Registers (Pad 3 - High)

## joy3l

uint8_t ComSquare::CPU::InternalRegisters::joy3l

Controller Port Data Registers (Pad 3 - Low)

## joy4h

uint8_t ComSquare::CPU::InternalRegisters::joy4h

Controller Port Data Registers (Pad 4 - High)

## joy4l

uint8_t ComSquare::CPU::InternalRegisters::joy4l

Controller Port Data Registers (Pad 4 - Low)

## mdmaen

uint8_t ComSquare::CPU::InternalRegisters::mdmaen

DMA Enable Register.

## memsel

uint8_t ComSquare::CPU::InternalRegisters::memsel

ROM Speed Register.

## nmitimen

uint8_t ComSquare::CPU::InternalRegisters::nmitimen

Interrupt Enable Register.

## rddivh

uint8_t ComSquare::CPU::InternalRegisters::rddivh

Divide Result Registers (can sometimes be used as multiplication result register) - HIGH.

## rddivl

uint8_t ComSquare::CPU::InternalRegisters::rddivl

Divide Result Registers (can sometimes be used as multiplication result register) - LOW.

## rdio

uint8_t ComSquare::CPU::InternalRegisters::rdio

IO Port Read Register.

## rdmpyh

uint8_t ComSquare::CPU::InternalRegisters::rdmpyh

Multiplication Result Registers (can sometimes be used as divide result register) - HIGH.

## rdmpyl

uint8_t ComSquare::CPU::InternalRegisters::rdmpyl

Multiplication Result Registers (can sometimes be used as divide result register) - LOW.

## rdnmi

uint8_t ComSquare::CPU::InternalRegisters::rdnmi

Interrupt Flag Registers.

## timeup

uint8_t ComSquare::CPU::InternalRegisters::timeup

Interrupt Flag Registers - TimeUp.

## vtimeh

uint8_t ComSquare::CPU::InternalRegisters::vtimeh

IRQ Timer Registers (Vertical - High)

## vtimel

uint8_t ComSquare::CPU::InternalRegisters::vtimel

IRQ Timer Registers (Vertical - Low)

## wrdivb

uint8_t ComSquare::CPU::InternalRegisters::wrdivb

Divisor & Dividend Registers (B)

## wrdivh

uint8_t ComSquare::CPU::InternalRegisters::wrdivh

Divisor & Dividend Registers (A - High)

## wrdivl

uint8_t ComSquare::CPU::InternalRegisters::wrdivl

Divisor & Dividend Registers (A - Low)

## wrio

uint8_t ComSquare::CPU::InternalRegisters::wrio

IO Port Write Register.

## wrmpya

uint8_t ComSquare::CPU::InternalRegisters::wrmpya

Multiplicand Register A.

## wrmpyb

uint8_t ComSquare::CPU::InternalRegisters::wrmpyb

Multiplicand Register B.

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

- sources/CPU/CPU.hpp