Here is a great tool to create music for games. It includes a .pdf manual which is also great. I haven't read it all, but if you scroll down to the end of the manual, you'll find links with short description for various old school games, beautiful!
Pxtone
Yea, and its freeware!