invertScreen: ld hl,plotsscreen ld bc,767 invertLoop: ld a,255 xor (hl) ld (hl),a inc hl dec c jr nz,invertLoop djnz invertLoop ret