Added mem-mapped IO support, worked a bit on bare script.