Probably most source code has been lost. Games were considered throwaway projects, executives barely knew what source code was, and game dev work was considered entry-level and low-status. The main source of 80s and early 90s code that we have are floppy disks that developers took home rather than the companies that published the games.
Consider that version control was something that was basically only used by Unix developers back then. E.g. DOOM, with a particularly technically proficient team, was developed by passing disks with source files around.