Module regs

Module regs 

Source
Expand description

The HuC6270’s register file and the fields the timing generator reads (vdc/regs.py).

[hw: pcetech 5.1; mfr: Hudson HuC6270 manual] Registers are 16 bits, written a byte at a time. Valid register numbers are $00-$02 and $05-$13; the rest do nothing.

Structs§

VdcRegisters
Raw 16-bit register values, with the fields the sequencer uses as methods.

Constants§

BSY
BXR
BYR
CR
CR_BACKGROUND
CR_COLLISION_IRQ
CR_FLAG
CR_OVERFLOW_IRQ
CR_RASTER_IRQ
CR_SPRITES
CR_VBLANK_IRQ
DCR
DESR
DS
DV
HDR
HSR
INCREMENTS
[hw: pcetech 5.1 register $05] CR bits 12-11 select how much MAWR/MARR advance per access.
IRQ_BITS
LENR
MARR
MAWR
MWR
OR
RCR
RR
SATB
SOUR
VCR
VD
VDW
VPR
VRW

Functions§

valid_register
$00-$02 and $05-$13.