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
Jump to: navigation, search
(only top 2 bits of WRIO used)
(mention typo)
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].<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.

Revision as of 04:15, 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.[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

  1. Official Super Nintendo development manual on the programmable i/o port: Page 2-14-1 of Book I
  2. https://problemkaputt.de/fullsnes.htm#snescontrollersioportsmanualreading
  3. page 2-28-1 of Book I on WRIO
  4. page 2-28-7 of Book I on RDIO