McROM: STM32 code for a ROM emulator

Getting a microcontroller to role-play as a ROM isn’t difficult. If you know what you’re doing. Do I?