Reminds me of how I started programming software for the Tandy 2000 -- using Turbo Pascal 7 for DOS. As long as I use 8086 instructions and my own library routines and not e.g., BGI or anything that assumes a PC, the EXEs will run fine on a (emulated) Tandy 2000, because it's still a 16-bit x86 architecture. The weird I/O mapping of this PC-incompatible machine could be accommodated with inline asm. So it's not cross-CPU-arch, but still using more modern tools to program for a weird old machine, and I love it.
Turbo Pascal 3 worked on the Apricot F10 (a similar non-PC MSDOS machine) if my memory serves it was a port of the CP/M version so you just had to tell it what display driver to use (vt100/vt52/adm12 etc)