Do you have the original discs that came with the machine? Do you know what version of Mac OS X it is running? Does it get a mention in the start up, I am trying to remember which OS had the space theme at start up... It's going back a long way!
When you said you entered a couple of codes, where did you get these codes?