Hi Matt,
Sounds a good project.
I've had a quick look at the links you provided.
SCM doesn't currently support the 8251 UART, however, the example project code you linked to looks virtually identical the 68B50 code in SCM. It looks like you only need to substitute the correct bits and bytes in the I/O instructions.
I don't know how hard it would be to change the RSZ80 to emulate a 68B50, but if you could be confident of doing that reliably I think you might be able to run SCM unmodifed. SCM only really needs a UART, 8k of ROM starting at 0x0000, and about 1k of RAM from 0xFC00 to 0xFFFF.
If the RSZ80 can emulate a simple output port at I/O address 0x00, equivalent to the RC2014 digital I/O module's LED output port, you could try the unmodified SCM code. The first thing it does is a self-test which shows a light sequence on the LED output port.
If you decide to port SCM by replacing the 68B50 support with 8251 support, I suggest you remove the SIO support and the code to test what UART is present. Just get it to assume the existence of the 8251. This will reduce the complexity and thus increase the chance of success.
I suggest you start with SCM configuration R1 as this does not include any extra features, such as BASIC and CP/M loader.
I am part way through a tidy up of the monitor code to better separate the hardware specific code. Unfortunately, I currently only have the Z180 version in the new format. When I get around to it, I'll move all the variants of SCM to this new layout and write some proper documentation to help people port it to other hardware. Sadly, it is not there yet.
I assume you've had a good look at all the documentation
here and found the
assembler by Francis Piérot. SCM was written with my own rather flaky development environment and has a unique assembler format.
Please, keep us informed of progress.
Steve