It's a little odd that the top line (first 8 vertical bits) is ok and the others are completely garbled. People do seem to have more problems with the type B display but I have not seen anything quite like this before. Type B displays seem to have more problems but I don't know why, they are supposed to be following the same spec as the type a chips. Perhaps just coincidence.
Anyway, I have been working for a while on finding a way to get the problem panels to work without slowing them down to a crawl. I have had limited success so far, impeded somewhat by the poorly documented ks0108 chip. But I plan to spend some time on this over the holiday period so hope to have something for the new year.
If you are impatient and want to do some investigation for yourself, you can try the code posted here:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1210427907/42#42It would be worth reading the other posts discussing timing problems and see if you can find a delay that solves your problem. Don't forget that you need to delete the ks0108.o file in the library directory for any changes in the library source code to take affect (otherwise the code will not be recompiled)
If you do get it working better, please post what you did. If not, perhaps I will have something in the new year.
Have a happy holiday.