From the CMOS, where everybody else does.
But as far as the program I was saying. The bios is stored on a chip comprised of something called NVRAM. This NVRAM is what can be accessed with a program, and this NVRAM is what stores all the CMOS settings.
If you can get into the CMOS....which should be rare considering a BIOS master password prevents all access until it's entered....it may be possible to reset the password....depends on the CMOS.