Ported useful.h to Emerald engine
Ported most methods to Emerald. bootloader.asm still needs tweaking.