I'm looking to develop apps for the iPad. I believe I have to own a Mac (a friend has lent me his). Can I upload my test apps to the iPad? Can I eventually freely distribute them in the app store (I won't be charging for the apps)?

Do I need to register as a developer to do any of the above?

If I do need to register, what's the point to handing out the SDK for free? Testing apps on the iPad is a pretty fundamental requirement to writing code. And there's no real point if I can't give that app out to people to use.

Thanks in advance for your help.