...is calculate the offset address of the pixel
you want to set. As I said, 1 byte = 1 pixel, so the following simple
formula will work:
offset& = y * 320& + x
Pixels are stored left to right and then top to bottom, so the formula
moves down y rows (320 is the width of the screen in mode 13)...