Retro-Malware: Writing A Keylogger for DOS, Part 1

As a fun hobbyist project, I decided to dig into the realities of exploring what modern malware and credential gathering would look like if those techniques were invented in the early to mid 90s. First off, we need to talk about the programming environments and constraints given to us by running DOS in real mode.