The routines in MODE 0 and MODE 2 will not work properly due to lack of a command:
ADD HL, HL ;HL * 2
ADD HL, HL ;HL * 4
ADD HL, BC ;+ BC = Startaddress
ADD HL, HL ;of the raster line
''ADD HL, HL ;HL * 2'' ''ADD HL, HL ;HL * 2'' ''ADD HL, BC ;+ BC = Startaddress'' ''ADD HL, HL ;of the raster line'' '''LD A, E '''