One of the coolest aspects of their codebase is the ASCII-art diagrams of arcade circuit boards[1], dip switches, and memory maps. These are used to help document each machine driver.
[1] https://github.com/mamedev/mame/blob/f548e02647523b87b269ff7...