Add passing memory offset to PCB
Make TTY static
Add memory calls