HARDWARE ManualSCU User's Manual
BackForward
SCU User's Manual / Chapter 2 Operation Description

◆ DMA mode

There are two types of SCU DMA modes:

  1. Direct mode
  2. Indirect mode

● Direct mode
Directly use the address value of the DMA set register for each level, and data from the memory at the address indicated by the read address register to the memory at the address indicated by the write address register by the number of bytes indicated by the number of transferred bytes. Perform the transfer. Performs one execution with one startup and terminates DMA. Figure 2.4 shows the details of the DMA transfer operation in direct mode.

Figure 2.4 Details of direct mode DMA transfer operation

● Indirect mode
In contrast to the direct mode, the mode that indirectly uses the level-specific DMA set register to execute DMA transfer is called the indirect mode. In direct mode, the address value and the number of bytes stored in the set register are stored in the indirect mode temporary buffer in indirect mode, and the DMA transfer is repeatedly executed until the exit code in the buffer is detected. Therefore, the feature of indirect mode is that multiple DMA transfers can be executed with one startup. Figure 2.5 shows the indirect mode DMA execution flow.

Figure 2.5 Indirect mode DMA transfer flow

When indirect mode is activated, the parameters for 3 longwords are first read from the address written in the write address register (DxW) and stored in the temporary buffer. Then perform the actual DMA based on that parameter. After the DMA is completed, read the address ~ parameter of DxW + CH and execute in the same way. This operation is repeated until an exit code is detected.
Also, the address in indirect mode is incremented in 4-byte increments.

Figure 2.6 Details of indirect mode DMA transfer operation


BackForward
HARDWARE ManualSCU User's Manual
Copyright SEGA ENTERPRISES, LTD., 1997