HuC6261

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

VCE, PC-FX style.

This article is grossly incomplete, and is a Work-in-Progress.

Contents

I/O Port Address

Port Address R/W Bits Description

Registers

$00 - Picture Mode - Halfword

Bit 1-0Field Configuration

00 = 263-line frame

01 = 262-line frame

10 = Interlaced mode(262.5 per field?)

11 = Undefined

Bit 2Sychronization Source?

0 = Internal?

1 = External?

Bit 3Pixel Dot Clock

0 = 5.37MHz

1 = 7.16MHz

Bit 6VDC BG Palette Size

0 = 16 entries

1 = 256 entries

Bit 7VDC SPR Palette Size

0 = 16 entries

1 = 256 entries

Bit 8VDC BG Display

0 = Hide VDC BG

1 = Show VDC BG

Bit 9VDC SPR Display

0 = Hide VDC SPR

1 = Show VDC SPR

Bit 10HuC6272 BG0 Display

0 = Hide BG0

1 = Show BG0

Bit 11HuC6272 BG1 Display

0 = Hide BG1

1 = Show BG1

Bit 13HuC6272 BG2 Display

0 = Hide BG2

1 = Show BG2

Bit 14HuC6272 BG3 Display

0 = Hide BG3

1 = Show BG3

Bit 15HuC6271 Display

0 = Hide HuC6271 output

1 = Show HuC6271 output

$01 - Palette Read/Write Address - Halfword

Bit 8-0Palette Read/Write Address

$02 - Palette Data Read/Write Port - Halfword

Bit 15-8Y
Bit 7-4U
Bit 3-0V

$04 - VDC Palette Offset - Halfword

Bit 15-8BG
Bit 7-0SPR

$05 - BMG0/BMG1 Palette Offset - Halfword

Bit 15-8BMG1
Bit 7-0BMG0

$06 - BMG2/BMG3 Palette Offset - Halfword

Bit 15-8BMG3
Bit 7-0BMG2

$08 - Priority 0 - Halfword

$09 - Priority 1 - Halfword

$0d - Fixed Color Register(CCR) - Halfword

$0e - Cellophane Setting Register(BLE) - Halfword

$0f - Sprite cellophane setting register(SPBL) - Halfword


$10 - $15 - Cellophane Coefficients - Halfword

xxxxYYYYUUUUVVVV
Bit 8-11YYYY
Bit 4-7UUUU
Bit 0-3VVVV
Personal tools