It was a hack because it depended on the refresh cycle of old CRT displays. The electron gun scanned across each horizontal line from top to bottom. The video chip could use interrupts to switch resolution in the middle of the vertical refresh cycle. The same trick wouldn't work with a modern LCD display.