Generally legal. Creating/distributing emulators (software mimicking console hardware) is typically lawful (Sony v. Connectix precedent).
Legal gray area.
Understand your local laws; prioritize legal acquisition.