Agree with the above.
Once you have cleaned, have a look at (if I'm counting properly), A8. This is an educated guess based on: you have what looks like four lines of good data followed by four lines of default VRAM content, repeat. The framebuffer is 512 pixels wide, at 1bpp, which is 64...