This is a port of MTE MK1 NES / AGNES to the SEGA SG-1000 (and, therefore, the SEGA Master System) console.
Albeit there are some differencies, the code is almost verbatim - the main difference is that this version is divided in several modules and the NES version is monolithic.
MT Engine MK1 SG1000 was designed and developed by The Mojon Twins
This engine uses aPLib, PSGlib and a heavily modified version of SGlib from DevKitSMS by sverx.
MT Engine MK1 NES is copyleft The Mojon Twins and is distributed under a LGPL license.
If you like this, you can buy me a coffee.
Have fun.