Flashing a BIOS when computer wont get past POST

Alright, I have here a HP Pavilion 513c that needs a flashed BIOS. It boots up and begins with the standard startup features, but once it goes to read ANY of the attached devices, it restarts itself and locks up.

I know that the problem lies in the BIOS, but since it cannot load anything off of a floppy or bootable flashdrive, is there any way to flash the BIOS when it wont even load that far?

Alright, I tried tweeking with the BIOS chip and I can now boot to my A: drive. I put my BIOS flash program on a floppy (After getting it to DOS with a bootable disk) and tried running the program, but it says it cannot be used in DOS mode. So close to solving the problem, but so far >_<