Nintendo GAME BOY ADVANCE Programming Manual page 4

Hide thumbs Also See for GAME BOY ADVANCE:
Table of Contents

Advertisement

iv
7
Color Palettes ....................................................................................................................................61
7.1
Color Palette Overview ............................................................................................................61
7.1.1
16 Colors x 16 Palettes ..................................................................................................61
7.1.2
256 Colors x 1 Palette....................................................................................................61
7.1.3
Color 0 Transparency ....................................................................................................61
7.2
Color Palette RAM ................................................................................................................... 62
7.3
Color Data Format ................................................................................................................... 63
8
Window Feature ................................................................................................................................ 65
8.1
Window Position Setting..........................................................................................................65
8.2
Window Control .......................................................................................................................65
8.2.1
Control of Inside of Window ........................................................................................... 66
8.2.2
Control of Outside of Window and Inside of OBJ Window .............................................66
9
Color Special Effects .........................................................................................................................67
9.1
Selection of Color Special Effects............................................................................................67
9.2
Color Special Effects Processing.............................................................................................69
9.2.1
Coefficients for Color Special Effects.............................................................................69
10 Sound ................................................................................................................................................71
10.1 Sound Block Diagram ..............................................................................................................71
10.2 Direct Sounds A and B ............................................................................................................71
10.2.1 Sound FIFO Input Registers ..........................................................................................72
10.3 Sound 1 ...................................................................................................................................73
10.4 Sound 2 ...................................................................................................................................76
10.5 Sound 3 ...................................................................................................................................78
10.5.1 Waveform RAM..............................................................................................................81
10.6 Sound 4 ...................................................................................................................................82
10.7 Sound Control..........................................................................................................................84
10.8 Sound PWM Control ................................................................................................................87
11 Timer ................................................................................................................................................89
11.1 Timer Setting ...........................................................................................................................89
11.2 Timer Control ...........................................................................................................................89
12 DMA Transfer ....................................................................................................................................91
12.1 DMA 0 ......................................................................................................................................91
12.1.1 Source Address .............................................................................................................92
12.1.2 Destination Address .......................................................................................................92
12.1.3 Word Count....................................................................................................................92
12.1.4 DMA Control ..................................................................................................................93
12.2 DMA 1 and 2............................................................................................................................95
12.2.1 Source Address .............................................................................................................95
12.2.2 Destination Address .......................................................................................................95
12.2.3 Word Count....................................................................................................................96
12.2.4 DMA Control ..................................................................................................................97
12.3 DMA 3 ......................................................................................................................................99
12.3.1 Source Address .............................................................................................................99
12.3.2 Destination Address .......................................................................................................99
12.3.3 Word Count..................................................................................................................100
12.3.4 DMA Control ................................................................................................................100
12.3.5
Display Synchronization DMA.....................................................................................103
12.4 DMA Problems: How to Avoid Them .....................................................................................104
12.4.1 When the DMA Repeat Function is not Used ..............................................................104
12.4.2 When the DMA Repeat Function is Used ....................................................................104
13 Communication Functions...............................................................................................................107
13.1 8-Bit/32-Bit Normal Serial Communication ............................................................................108
13.1.1 SIO Timing Chart .........................................................................................................109
13.1.2 32-Bit Normal Serial Communication Data Registers ..................................................110
 AGB-06-0001-002-B13
Released: May 27, 2005
Game Boy Advance Programming Manual
May 25, 2005
© 1999-2005 NINTENDO

Advertisement

Table of Contents
loading

Table of Contents