emulator: fill memory with a pattern at startup