For doing bare metal programming, it would be really useful if there was a software emulator for the Raspberry Pi which I could use for debugging and inspection of state. Does such a thing exist?
I've seen some people using qemu with a custom kernel to run Raspbian on the versatilepb platform. But that's not the same thing, because that's not emulating the Raspberry Pi hardware --- it's merely emulating a similar but different ARM board. I need something which actually thinks it's a Pi.