Hudson Soft HuC6280

From Wikipedia, the free encyclopedia

The HuC6280 8-bit microprocessor is Japanese company Hudson Soft's improved version of the WDC 65C02 CPU. The most notable product using the HuC6280 is NEC's TurboGrafx 16 video game console.

Contents

[edit] Description

The HuC6280 contains a 65C02 core which has several additional instructions and a few internal peripheral functions such as an interrupt controller, a Memory management unit, a timer, an 8-bit parallel I/O port, and a Programmable Sound Generator. The processor operates at two speeds, 3.56 MHz and 7.16 MHz.

[edit] Memory Mapping

The HuC6280 has a 64 KiB logical address space and a 2 MiB physical address space. To access this entire memory space, the HuC6280 uses a MMU (Memory Management Unit) that splits the memory space into segments of 8 KiB. The logical address space is split as follows:

           page 0 -> $0000-$1FFF
           page 1 -> $2000-$3FFF
           page 2 -> $4000-$5FFF
           page 3 -> $6000-$7FFF
           page 4 -> $8000-$9FFF
           page 5 -> $A000-$BFFF
           page 6 -> $C000-$DFFF
           page 7 -> $E000-$FFFF

Each logical 8 KiB segment (or page) is associated with an 8-bit register (MPR0-7) that contains the index of the 8 KiB segment (or bank) in physical memory to map in this page. Two special instructions are used to access these registers:

TAMi, transfer the content of the accumulator (A) into a MPR register (0-7).

TMAi, transfer a MPR register into the accumulator.

[edit] HuC6280's PSG

The PSG provides 6 sound channels, which can be conveniently paired according to the functionality they provide:

       0-1 - Waveform playback
             Frequency modulation (channel 1 muted)
       2-3 - Waveform playback only
       4-5 - Waveform playback
             White noise generation

Waveform playback is the most common and allows a 32 byte, 5 bit unsigned linear sample to be played back at selected frequencies. Frequency modulation takes this one step further, allowing the playback frequency to be dynamically adjusted according to a specified pattern. White noise is used to simulate percussion instruments and effects, such as explosions, by means of a pseudo-random square wave.

Alternatively, each channel can be individually switched to "Direct D/A" mode in which the programmer can send data directly to the sound mixer, allowing more complex sound patterns to be generated, such as speech. Inevitably, this requires more programming effort and CPU time.

[edit] External links


65xx-series CPUs from MOS Technology, second source/clone vendors, and the Western Design Center

MOS 4510MOS 6501MOS 6502WDC 65C02Hudson HuC6280Ricoh 2A03MOS 6507MOS 6508MOS 6509
MOS 6510 (and 7501, 8500, 8501) ● MOS 8502MOS 65CE02WDC 65802WDC 65816Ricoh 5A22Nintendo SA-1

In other languages