The original PC and XT had fixed addresses for printer and serial ports. Th ey were compatible.
I may still have the printed source code for the Heathkit/Zenith BIOS for t he computers that were sold to the US military. Zenith bought Heatthkit to get into the computer business. The bidding process required bidders to alr eady be in the computer business. Typical of Heathkit, ports were all at th e wrong addresses, sou you had to run ZDOS. A third party board was sold th at remapped the addresses so you could run software not written by Heathkit /Zenith.