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

From SnesLab
Jump to: navigation, search

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

  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