"And how can I disable BIOS memory options?"
While booting your machine, before windows starts to load, press F1 or F10 (not sure which for your model, but HP says one of them should work) to access the BIOS configuration utility, this'll allow you to turn off shadowing and caching, but odds are that's not your problem if the machine was working and you haven't changed it since it last worked. You may want to make sure the BIOS properly recognizes your RAM and hard drive though, so it won't hurt to go in there.
As for the problem, I would try booting from your XP disc and choosing the option to repair the current installation.
1. When the Press any key to boot from CD message is displayed on your screen, press a key to start your computer from the Windows XP CD.
2. Press ENTER when you see the message To setup Windows XP now, and then press ENTER displayed on the Welcome to Setup screen.
3. Do not choose the option to press R to use the Recovery Console.
4. In the Windows XP Licensing Agreement, press F8 to agree to the license agreement.
5. Make sure that your current installation of Windows XP is selected in the box, and then press R to repair Windows XP.
6. Follow the instructions on the screen to complete Setup.
This may solve your boot problem, but it (and/or system restore) will not remove viruses, spyware, etc and I'm assuming that if you found 490, that your problem lies there. To fix these, you'll need to find a way to scan your system without booting from it, you may be able to buy an antivirus program that comes with a boot disc that'll allow you to run a scan from the CD or find a geek friend to make you a free BARTPE or WINPE boot disc or make one yourself if you have access to another computer.
check
http://www.ubcd4win.com/ to make a BARTPE disc or
http://www.microsoft.com/technet/security/guidance/disasterrecovery/malware/default.mspx to make a WINPE boot disc or you can try 911 rescue cd
http://www.911cd.net/downloads/, which looks easier to set up, but I personally haven't tried it.
good luck