We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Transfer Word Select: Difference between revisions

From SnesLab
Jump to: navigation, search
(created page)
 
(how the TWS determines TU size)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''Transfer Word Select''' is the bottom 3 bits of DMAPx.
The '''Transfer Word Select''' is the bottom 3 bits of DMAPx.
The block of memory transferred by a [[DMA]] is broken into some number of '''transfer units'''.  A transfer unit may be one, two, or four bytes in size.  Here is how the transfer word select determines how big transfer units are:
When these three bits are 000, transfer units are one byte in size.
When these three bits are 001, 010, or 110, transfer units are two bytes in size.
Otherwise, transfer units are four bytes in size.


[[Category:ASM]]
[[Category:ASM]]

Latest revision as of 23:25, 26 July 2023

The Transfer Word Select is the bottom 3 bits of DMAPx.

The block of memory transferred by a DMA is broken into some number of transfer units. A transfer unit may be one, two, or four bytes in size. Here is how the transfer word select determines how big transfer units are:

When these three bits are 000, transfer units are one byte in size. When these three bits are 001, 010, or 110, transfer units are two bytes in size. Otherwise, transfer units are four bytes in size.