Many classic Macs came with — or supported — displays running at 512x384 pixels, but many compact Macs, ranging from the original 1984 machine up through 1991’s Macintosh Classic II had built-in CRTs running at 512x342 pixels. That covers all black-and-white compact Macs with a 9-inch screen. The later Color Classic and Color Classic II used a 10-inch CRT at a full 512x384.
This came up when I joined John Gruber on The Talk Show. At one point in the show, I rattled off the original Mac’s resolution as being 512x384.