Or legal if the game is classified abandoneware by the software company. Many software companies put their old games online for free download if they have become classics but no longer in sale; such as games from Team-17, Mindscape (Wings for example) and so on.
However what's the fun of downloading ROMS for your PC when most people have an old SEGA or Nintendo in their closet
