The second thing that stands out (though failed to input above) is the OS sitting in chip RAM, later moved to the ROM.
Lets just reverse engineer the whole thing from top to bottom and submit the results to the UAE emulator team.
Lets start with the two most important engineers Jay and Dave (forgive me Dave, I'm going to go over this with a fine tooth comb). Jay was BS, Dave was a BS electrical engineering. Let's suppose Jay's favourite class was physics; pendulums, clockwork, you get the idea. Visualize the bus like you do the solar system. Planets making an intricate dance around the Sun, interacting with each other via gravity.