@thomasfuchs
The original IBM PC tech reference manual included the BIOS code that allowed for a broad development of the PC. I think it was only Gates' Basic that was 'protected.'
GWBasic and Phoenix BIOS.
https://retrocomputing.stackexchange.com/questions/12018/why-did-ibm-make-the-pc-bios-source-code-public