amatsukaze: implement memory-mapped IO