Threaded emulation
Fix bug with upper flash page bits