We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Programmable I/O Port: Difference between revisions
From SnesLab
(only top 2 bits of WRIO used) |
(WRIO initialized to FFh on reset) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The 8-bit '''Programmable I/O Port''' allows the [[5A22]] to communicate with SNES peripherals. | The 8-bit '''Programmable I/O Port''' allows the [[5A22]] to communicate with SNES peripherals. | ||
There is the register commonly referred to as '''WRIO''' for short located at 4201h. Only the top two bits are used by the [[control deck]]. It has [http://www.learningaboutelectronics.com/Articles/Open-collector-output.php open collector output].<sup>[2]</sup> WRIO is the out-port. | There is the register commonly referred to as '''WRIO''' for short located at 4201h. Only the top two bits are used by the [[control deck]]. It has [http://www.learningaboutelectronics.com/Articles/Open-collector-output.php open collector output] and is initialized to FFh on reset.<sup>[2]</sup> WRIO is the out-port. The last sentence of page 2-14-1 likely has a typo; supposed to be referring to page 2-28-1 not 1-28-1. | ||
There is also the RDIO register at 4213h. Only the top two bits are used by the control deck. RDIO is the in-port. | There is also the RDIO register at 4213h. Only the top two bits are used by the control deck. RDIO is the in-port. | ||
Line 8: | Line 8: | ||
* [[3D Glass]] | * [[3D Glass]] | ||
* [[X-Band Keyboard]] | * [[X-Band Keyboard]] | ||
* [[External Latch]] | |||
=== References === | === References === |
Latest revision as of 04:21, 20 December 2023
The 8-bit Programmable I/O Port allows the 5A22 to communicate with SNES peripherals.
There is the register commonly referred to as WRIO for short located at 4201h. Only the top two bits are used by the control deck. It has open collector output and is initialized to FFh on reset.[2] WRIO is the out-port. The last sentence of page 2-14-1 likely has a typo; supposed to be referring to page 2-28-1 not 1-28-1.
There is also the RDIO register at 4213h. Only the top two bits are used by the control deck. RDIO is the in-port.
See Also
References
- Official Super Nintendo development manual on the programmable i/o port: Page 2-14-1 of Book I
- https://problemkaputt.de/fullsnes.htm#snescontrollersioportsmanualreading
- page 2-28-1 of Book I on WRIO
- page 2-28-7 of Book I on RDIO