Change addressing of flash access functions to bytes

I also asked Nuand to pull this in but they haven't yet and merged some of your changes instead which (like the recent legacy mode) trampled all over my changes.

If you merge this then at least we won't be trampling over each others work anymore :3