Hacker News new | past | comments | ask | show | jobs | submit login
Testing a compiler that can’t even print (blog.danieljanus.pl)
14 points by nathell on Sept 26, 2021 | hide | past | favorite | 2 comments



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


Agreed, but this was surprisingly painful to achieve do on my raspberry 3.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: