add hsi to source\emulator\hash

my second try at this, looks alot better