Emulation’s legal whether or not some of the software on a platform is abandonware (which doesn’t justify anything legally, anyway)
Can’t distribute games or other copyrighted software with them, though. Of course that’s still highly likely to get you in trouble. And with the same caveat as anything legal in the US: it’s as legal as your ability to weather a series of failing lawsuits against you.