Atari MMU

Atari MMU is a custom memory management unit chip for the Atari 8-bit computers. It enables access to the hardware registers on ANTIC, GTIA, POKEY and 6520 PIA. The later XL/XE MMU (C061618) also selects OS ROM, Atari BASIC ROM, self-test ROM and LEDs in the 1200XL. On the 128K 130XE the EMMU chip handles similar functionality.
The user cannot directly manipulate the Atari MMU, but selects the various ROMS and memory via the memory-mapped hardware register known as PORTB (5401710 or D30116). Atari changed PORTB from an input port on the 400/800 machines to an output port on the XL/XE machines, leaving two joystick ports instead of four on the XL/XE machines.
By setting and clearing specific bits in PORTB, the user can access either the ROMs or memory locations. No synchronization is required as the OS handles the access.
The bit assignments for PORTB on the XL/XE machines are:
Note: The 1200XL does not have BASIC built-in.