I just found out that there is an open-source implementation of A Link to The Past on PC.
@beardalaxy I don't think this was done via decompilation since the original game was written in assembly (which is not portable). So it isn't technically a port. It still requires an original ROM to abstract the assets though.
@beardalaxy The author said he used the ALTTP disassembly and wrote corresponding C code.