Thanks. It's written in C using sdcc. Some plaforms, such as Gameboy and ZX spectrum, needed some Z80 at the video rendering level to get it fast enough. I've written my own hardware layer for each of the platforms. It's been interesting getting to know each platform.