Japanese
INDEX ▲ | STN-35 | STN-36 | STN-38 | STN-39 | STN-40 | STN-41 | STN-42

STN-39

Supplement about the number of transferred bytes of SCU-DMA


 issue number:
STN-39
 date of issue:
96/02/16
 media:
●Common ○CD-ROM ○Cartridge ○Others
 connection:
○Program ●Hard ○Manual ○Tools ○Game ○ Bug ○Others
 Information distinction:
●New ○Change ○Addition
 importance:
●Strict observance ○Recommended ○Reference ○Others
 attached file:
●No ○ Yes
 Subject supplement:

Contents

■Operation when the number of DMA transfer bytes is set to '0'

When the number of SCU-DMA transfer bytes is set to '0', the number of transfers will be the maximum value for each setting.

■Supplement about the number of transferred bytes of SCU-DMA

When the number of transfer bytes of SCU-DMA is set to '0', the number of transfers is the maximum for each setting.

Number of table/transfer bytes
direct mode indirect mode
Transfer level Register setting value Number of bytes transferred Transfer count setting value Number of bytes transferred
LEVEL 0 00000H
00001H
00002H
:
FFFFFH
100000H bytes
000001H byte
000002H bytes
:
0FFFFFH byte
00000H
00001H
00002H
:
FFFFFH
100000H bytes
000001H byte
000002H bytes
:
0FFFFFH byte
LEVEL 1 000H
001H
002H
:
FFFH
1000H bytes
0001H Byte
0002H Byte
:
0FFFH byte
00000H
00001H
00002H
:
FFFFFH
100000H bytes
000001H bytes
000002H bytes
:
0FFFFFH byte
LEVEL 2 000H
001H
002H
:
FFFH
1000H bytes
0001H Byte
0002H Byte
:
0FFFH byte
00000H
00001H
00002H
:
FFFFFH
100000H bytes
000001H byte
000002H bytes
:
0FFFFFH bytes
DSP 00H
01H
02H
:
FFH
100H word
001H Word
002H Word
:
0FFH word

■Transfer example

In case of DMA settings: transfer source = address 6001000H, transfer destination = address 00H of RAM0, number of transfer bytes = 00H.

Address 6001000H → Address 00H of RAM0 (1st word data)
Address 6001004H → Address 01H of RAM0 (2nd word data)
Address 6001008H → Address 02H of RAM0 (3rd word data)
: :
60010FCH address → 3FH address of RAM0 (64th word data)
Address 6001100H → Address 00H of RAM0 (65th word data) ← 1st word will be overwritten
Address 6001104H → Address 01H of RAM0 (66th word data)
: :
Address 60013FAH → Address 3EH of RAM0 (255th word data)
60013FCH address → 3FH address of RAM0 (256th word data) Maximum number of transfers

■Reference

"HARDWARE MANUAL/SCU User's Manual"
CPU-DMA direct mode ●Number of transferred bytes

that's all
INDEX ▲ | STN-35 | STN-36 | STN-38 | STN-39 | STN-40 | STN-41 | STN-42
Copyright SEGA ENTERPRISES, LTD., 1997