
The commit after this one adds GS register writes, so this moves the VS handlers into functions so they can be re-used and extended more easily.
The commit after this one adds GS register writes, so this moves the VS handlers into functions so they can be re-used and extended more easily.