Fix register dump
Add basic ncurses mips interface