Initial import of stuff from Z800.