@nprofile1q... This brings the nostalgia of CGA programming, with the writes to the video buffer that had to be timed using PIT to corrspond to the CRT blanking intervals. You had to do the writes when the electron beam was invisibly going back after finishing a line or a frame, otherwise you'd see snow on your screen.