IBM themselves released the board schematics for the 5150.
This is the technical manual for it
http://classiccomputers.info/down/IBM/IBM_PC_5150/IBM_5150_T...
> IBM published the entire listings of the BIOS for its original PC, PC XT, PC AT, and other contemporary PC models, in an appendix of the IBM PC Technical Reference Manual for each machine type.