But there’s another problem: these results are printed within DOSBox. In the emulated DOS machine. I needed a way to transfer them back to the host.
When bootstrapping any reasonably-powerful embedded system, the UART is normally one of the first devices to have a driver written for it. On a PC, emulated or otherwise, it's also pretty trivial to initialise and use one: https://wiki.osdev.org/Serial_Ports
When bootstrapping any reasonably-powerful embedded system, the UART is normally one of the first devices to have a driver written for it. On a PC, emulated or otherwise, it's also pretty trivial to initialise and use one: https://wiki.osdev.org/Serial_Ports