VB is not the language to do it in. Use Assembly or C++. I have the source code for UltraHLE (Nintendo 64 Emulator) which is written in C++. If you would like it, I can send it to you.