ad9833 rewrite WIP