Chapter 9. Input Output

9.1. I/O Unit on ][+

Table 9-1. Apple ][+ I/O Unit addresses

AddrNameAccessDescriptionUnit
C000KBDRLast key pressedKeyboard
C010KBDSTRBRWKeyboard StrobeKeyboard
C020TAPEOUTR7Toggle Cassette Tape Output 
C030SPKRRToggle SpeakerSpeaker
C040STROBERGame I/O Strobe OutputGame
C050TXTCLRWRDisplay GraphicsGraphicMode
C051TXTSETWRDisplay TextGraphicMode
C052MIXCLRWRDisplay Full ScreenGraphicMode
C053MIXSETWRDisplay Split ScreenGraphicMode
C054TXTPAGE1WRDisplay Page 1GraphicMode
C055TXTPAGE2WRDisplay Page 2 GraphicMode
C056LORESWRDisplay LoRes GraphicsGraphicMode
C057HIRESWRDisplay HiRes GraphicsGraphicMode
C058CLRAN0WRAnnunciator 0 OffGame
C059SETAN0WRAnnunciator 0 OnGame
C05ACLRAN1WRAnnunciator 1 OffGame
C05BSETAN1WRAnnunciator 1 OnGame
C05CCLRAN2WRAnnunciator 2 OffGame
C05DSETAN2WRAnnunciator 2 OnGame
C05ECLRAN3WRAnnunciator 3 OffGame
C05FSETAN3WRAnnunciator 3 OnGame
C060TAPEINR7Read Cassette Input 
C061PB0R7Switch Input 0Game
C062PB1R7Switch Input 1Game
C063PB2R7Switch Input 2Game
C064PADDL0R7Analog Input 0Game
C065PADDL1R7Analog Input 1Game
C066PADDL2R7Analog Input 2Game
C067PADDL3R7Analog Input 3Game
C070PTRIGRAnalog Input ResetGame
C080 RRead RAM bank 2; no writeLanguageCard
C081 RRRead ROM; write RAM bank 2LanguageCard
C082 RRead ROM; no writeLanguageCard
C083 RRRead/write RAM bank 2LanguageCard
C084-C087  Same as C080-C083LanguageCard
C088 RRead RAM bank 1; no writeLanguageCard
C089 RRRead ROM; write RAM bank 1LanguageCard
C08A RRead ROM; no writeLanguageCard
C08B RRRead/write RAM bank 1LanguageCard
C08C-C08F RSame as C088-C08BLanguageCard
C090-C09F  Slot 1 addressesSlots
C0A0-C0AF  Slot 2 addressesSlots
C0B0-C0BF  Slot 3 addressesSlots
C0C0-C0CF  Slot 4 addressesSlots
C0D0-C0DF  Slot 5 addressesSlots
C0E0-C0EF  Slot 6 addressesSlots
C0F0-C0FF  Slot 7 addressesSlots

R - Read to act or get information, W - Write to act, RR - Read twice to act, R7 - Read information from bit 7