I/O: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (→DMG mode) |
(Dan Docs information) |
||
Line 9: | Line 9: | ||
==DMG mode== |
==DMG mode== |
||
*$FF00 - Joypad |
*$FF00 - Joypad |
||
*$FF01 - Serial transfer |
*$FF01 - Serial transfer (also used in the Turbo File GB's communication protocol) |
||
*$FF02 - Serial control (also used in DMG-07 4-Player Adapter for "ping" packets) |
*$FF02 - Serial control (also used in the Mobile GB Adapter (64KB/s, bits 0 and 1 high), and the DMG-07 4-Player Adapter for "ping" packets) |
||
*$FF04 - Divider |
*$FF04 - Divider |
||
*$FF05 - Timer counter |
*$FF05 - Timer counter |
||
Line 50: | Line 50: | ||
**HDMA dest low |
**HDMA dest low |
||
**HDMA count |
**HDMA count |
||
*$FF56 - Infrared port RP Register (infrared is also used with the Pokémon Pikachu 2 virtual pet, Pocket Sakura, Full Changer) |
|||
*$FF56 - Infrared port |
|||
**Bit 0: Is the Game Boy Color's infrared light on/off? (read/write) |
|||
**Bit 1: Infrared signal (0=receiving it, 1=normal/no signal) (read only) |
|||
**Bit 2-5: Unknown/unused? |
|||
**Bit 6-7: Enable signal read? (0=disable, 3=enable) (read/write). It is also capable of resetting bit 1 to 0 when disabled and re-enabled under certain conditions. |
|||
*$FF68-$FF69 - BG/OBJ palettes |
*$FF68-$FF69 - BG/OBJ palettes |
||
**$FF68 - Bg pal sel |
**$FF68 - Bg pal sel |