4 ms·
Testing a compiler that can’t even print
- userbinator 5y agoBut 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 https://wiki.osdev.org/Serial_Ports
- inshadows 5y agoAgreed, but this was surprisingly painful to achieve do on my raspberry 3.