Brings back memories of programming in the 70s. Stuff like that was necessary all the time. Writing your own character-plotting code on a graphics terminal; wild attempts to calculate floating point (or estimate it) using every trick in the book and some you invented.
Add to that doing bit-banging on pins to simulate serial protocols with timing loops; storing things in odd places like the file buffer on a time-share system (used to run 20+ terminal sessions on a single 1MHz processor!) or the previous line on a programmable terminal (up-arrow and transmit-line to get it back).