Controller Polling and Memory Cards on PS1
Controller input and save data look like small gameplay services in an editor. On the original PlayStation they are external devices with protocols, connection states, and failure cases.
A useful engine API hides the transaction details without hiding the facts that matter to the game.