I/O: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 24: Line 24:
<!-- ==Nintendo Switch==-->
<!-- ==Nintendo Switch==-->
==External links==
==External links==
*[https://gbdev.gg8.se/wiki/articles/Joypad_Input Joypad input on Game Boy dev wiki]
*[https://gbdev.io/pandocs/Memory_Map.html#io-ranges Game Boy Memory Map - Pan Docs]
*[https://gbdev.io/pandocs/Memory_Map.html#io-ranges Game Boy Memory Map - Pan Docs]
*[https://shonumi.github.io/dandocs.html Dan Docs by Shonumi (obscure peripherals)]
*[https://shonumi.github.io/dandocs.html Dan Docs by Shonumi (obscure peripherals)]

Revision as of 12:02, 8 November 2022

I/O (input/output) refers to how a computer communicates with the outside world. In the Game Boy/Color's Z80-based processor, registers for the input/output range between 0xFF00 to 0xFF70.

The Game Boy/Color has included a huge amount of communication peripherals. One of the most commonly used is the Link Cable; which inspired the Pokémon concept as Satoshi Tajiri was a bug catcher during his childhood, and there were also inspirations from Menko card games, and kaijuu media such as Kamen Rider, Ultraman. Additionally, the Game Boy Color (but not the Game Boy Advance) included a built-in infrared port.

The Japanese version of Pokémon Crystal communicated over the Internet using a mobile phone and the Mobile GB Adapter, but the Mobile GB Adapter fell into relative obscurity and never left Japan.

DMG mode

  • $FF00 - Joypad
  • $FF01 - Serial transfer
  • $FF04 $FF07 - Timer/divider
  • $FF10 $FF26 - Audio
  • $FF30 $FF3F - Wave pattern
  • $FF40 $FF4B - LCD Control, Status, Position, Scrolling, Palettes
  • $FF50 - Is boot ROM disabled? (non-zero if true)

CGB mode

  • $FF4F - VRAM Bank Select
  • $FF51 $FF55 - VRAM DMA
  • $FF68 $FF69 - BG/OBJ Palettes
  • $FF70 - WRAM Bank Select

External links

This article or section is a stub. You can help Glitch City Wiki by expanding it.