complete cpu api

Adds all of the cpu/memory functions. These don't set SDL_err so they're all direct wrappers.