The WHDLoad frontend iGame was open sourced a while back but not announced until just recently. From the authors
Webpage:
"You can find it's source at:
GitHub. There is an effort to modernize it a bit, and maybe add some new features. The iGame_rel/ folder on github will contain builds from various stages of development."