Hacker News new | ask | show | jobs
by int_19h 2263 days ago
The array is 256 entries big, because it's a palette for an 8-bit VGA color mode, where each pixel is an index into it. The link is very obvious and natural here.