Hacker News new | ask | show | jobs
by pflanze 928 days ago
> the C64 could display a total of 16 colors at a standard resolution of 120 x 200 pixels, though it also has a graphics mode with the higher resolution of 320 x 200 with more limited colors

I'm not sure where your 120 pixels are coming from, looks like an error. Color mode was half the resolution of the hires mode (2 hires pixels were taken together to represent 4 values that a color pixel could represent; there were 40x25 blocks (corresponding to characters in text mode) where the colors used for each of the 2 or 4 states could be set (with some additional complication as it was using a separate RAM chip for part of that, the details of which escape my memory without looking it up). There were also 8 sprites of 24 (hires) or 12 (color) pixels horizontally, those don't add up to 120 pixels either.

2 comments

Yeah, that should probably read 160x200. IIRC, most C64 games ran at that resolution. This was called “high resolution graphics” in the marketing material, mind you :)
C64 hi-res graphics was 320x200, two selectable colors for each 8x8 char sized block. So 16 colors on the screen, but...

See: https://www.c64-wiki.com/wiki/High_Resolution

That makes much more sense, thanks! I mixed something up there, or I just misunderstood the marketing material as a kid.
You can get far past those limitations with nufli, which uses sprite layers and some other trickery.

https://web.archive.org/web/20170104014040/http://c64pixels....

The images really look like that on C64 screen, with absolutely no flickering etc.

Apologies and many thanks. It was an honest typo, should have been 160 x 200. I've corrected it now. Appreciate the headsup.