Began work on syscall handler

This could take a while…
Much simpler syscall

This actually works, but it may be affected by the target architecture.
Fix page copying