Humans are perfectly capable of writing code for old systems. Not all of the documentation that exists, exists on the web. If it doesn't, operations can be discovered by reverse-engineering the hardware, mapping the memory, etc. People do this all the time.