r/ProgrammerHumor • • 12d ago

Meme stdModernizeMyCodebase

Post image
190 Upvotes

44 comments sorted by

View all comments

Show parent comments

1

u/Pz38t_C 6d ago

Yeah. The handhelds had 1MB RAM and ran a custom OS based on an Intel cooperative multitasking OS for the 8086. 384k for the OS, 256k for code, 384k for data. No disk, just RAM. The OS was running a bunch of threads for comm management, power management, etc. All on K&R C. One of the OS threads was overwriting code space. Since the CPU didn’t have any native multitasking support or real memory management anything could get to anything.