Dma 0 - Nintendo 1504166 - Game Boy Advance SP Edition Console Programming Manual

Programming manual
Table of Contents

Advertisement

AGB Programming Manual

12.1 DMA 0

DMA 0 allows different areas of internal memory in the main unit to access one
another. It has the highest priority of the DMA channels.
1) Source Address
Specifies the source address using 27 bits.
The area 00000000h-07FFFFFFh (internal memory area of main unit) can
be specified.
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Address
Register
DMA0
0B0h
SAD_L
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Address
Register
DMA0
0B2h
SAD_H
2) Destination Address
Specifies the destination address using 27 bits.
The area 00000000h-07FFFFFFh (internal memory area of main unit) can
be specified.
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Address
Register
DMA0
0B4h
DAD_L
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Address
Register
DMA0
0B6h
DAD_H
3) Word Count
Specifies the number of bytes transferred by DMA0, using 14 bits. The
number can be specified in the range 0001h~3FFFh~0000h (when 0000h
is set, 4000h bytes are transferred).
Thus, in 16-bit data transfer mode, up to 4000h x 2=8000h bytes can be
transferred, and in 32-bit data transfer mode, up to 4000h x 4=10000h
bytes can be transferred.
Address
Register
DMA0
0B8h
CNT_L
©1999 - 2001 Nintendo of America Inc.
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
109
DMA Transfer
Attributes
Initial Value
W
0000h
Attributes Initial Value
W
0000h
Initial Value
Attributes
W
0000h
Attributes Initial Value
W
0000h
Attributes
Initial Value
W
0000h
D.C.N. AGB-06-0001-002B4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agb series

Table of Contents