Hack-a-Day / 2018-Supercon-Badge

Retrocomputing badge for the 2018 Hackaday Superconference
https://hackaday.io/project/161859-2018-hackaday-superconference-badge
MIT License
27 stars 8 forks source link

Add support for onboard hardware IO via Z80 simulator #24

Open JamesNewton opened 6 years ago

JamesNewton commented 6 years ago

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