This works on MiSTer, too.
Doesn't recognize the Select/Reset switches, though, which is a pity. This would make a very nice control box for the MiSTer 7800 core.
Now if your dumper code could be launched as a MiSTer script... well, there's the cartridge port everyone has been asking for.