Comment
Comment by nilsimsa
The hardware was not quite standardized at that time so CP/M had a layered structure consisting of a BIOS, BDOS and the command line processor. The BIOS was the hardware abstraction layer and was ported to the specific combination of hardware. The BDOS provided the file system and the command line processor provided a standardized interface. On top of this you would run the BASIC interpreter as an application.