It's C++. Code is here: https://bitbucket.org/zxmarcos/tmsemu/
Niiice! How about Battle Toads?
I definitely should give it a try, but atm I'm focusing on W/T-Unit because they are simpler.btoads has a more complex video hardware.
Battle Toads should use a TMS34020 as main CPU... this microprocessor should have an enhanced instruction set compared to the TMS34010 (though I could be wrong).
I think the hardest problem with this processor family is the graphics operations, there are 10 operations, but they are very customizable like raster operations, etc.
Well...