EarthBound/CGRAM DMA Transfer Style Table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Create page)
 
m (Xkeeper moved page EarthBound:CGRAM DMA Transfer Style Table to EarthBound/CGRAM DMA Transfer Style Table: normalize subpages and titles)
 
(No difference)

Latest revision as of 02:41, 24 January 2024

This is a sub-page of EarthBound.

CGRAM DMA Transfer Style Table
Game EarthBound
Start Address 0x009198
End Address 0x0091AF
# of Entries 3
Entry Length 8 bytes (0x08)
Total Length 24 bytes (0x18)
Back to the ROM map

The CGRAM DMA Transfer Style Table stores miscellaneous parameters for DMA transfers to CGRAM.

Format

Unknown

Number of Bytes to Transfer

Number of bytes to DMA transfer to CGRAM. At most 512 (0x0200), the maximum size of SNES CGRAM.

Source Address

Source address (in the CPU address space) for the DMA transfer. EarthBound always sets the source bank to $00, therefore the source address can only be $000000-$001fff for WRAM or $008000-$00ffff for ROM.

Destination Address

Destination address (in CGRAM). CGRAM is addressed by word (color), not byte.

Table Contents

Offset Num Bytes Source Destination Description
00 256 $7e0200 $0000 Text/Window/Map (background) palettes
08 256 $7e0300 $0080 Sprite palettes
10 512 $7e0200 $0000 All palettes