I remember Compaq had the bios on the hard drive, but they must have had something to recognise the hard drive in the first place, so I presume a tiny bit of code in ROM and then the main bios on the drive. I remember it was a pain in the neck and I never wanted to work on a Compaq again,
Not sure what that was you were working on, but it wasn't a PC. The BIOS has always been in EPROM or Flash on the system board/motherboard, otherwise you can't boot the operating system on the disk.
The original 5150 IBM PC also had BASIC in ROM, so if you didn't insert a floppy, it would enter ROM BASIC, also a Microsoft product. The hard disk versions of the PC (PC/XT) and the 80286 chip version (PC/AT) also worked in the same way.
Compaq was first with the 386 chip, and the industry dislike the IBM PS/2 models (which in the UK were sold in Dixons in high streets) as they used the incompatible MCA expansion card; so the "clones" profited, and the famous Amstrad models appeared (PC1512, PC1640).
24 years of broadband connectivity since 1999 trial - Live BQM