r/ProgrammerHumor • • Oct 12 '26

Meme stdModernizeMyCodebase

Post image
190 Upvotes

44 comments sorted by

View all comments

Show parent comment

1

u/awesome-alpaca-ace Oct 18 '26

OS blowing holes in code space?

1

u/Pz38t_C Oct 19 '26

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.