It looks like the Z80 sim just calls this code, which implements a few virtual devices like the disk, and console. It would have to be expanded to support the other onboard hardware, from the CP/M system. E.g. the MBASIC and FORTH languages on the CP/M disk can't currently turn on or off the LED, play sounds, control IO pins, etc...
It looks like the Z80 sim just calls this code, which implements a few virtual devices like the disk, and console. It would have to be expanded to support the other onboard hardware, from the CP/M system. E.g. the MBASIC and FORTH languages on the CP/M disk can't currently turn on or off the LED, play sounds, control IO pins, etc...
https://github.com/Hack-a-Day/2018-Supercon-Badge/blob/fd0b49988b37b262aaa4500b2aaae71faff5dade/firmware/badge-supercon18.X/src/Z80/iosim.c#L134