|
The Hack screen has 256 rows and 512 columns. Since each pixel is mapped with a bit in memory, 512 columns needs (512/16), 32, bytes of memory. So for all pixels, rows we need 32 * 256 = 8192 words of memory, which is exactly our screen memory mapped size.
My questions is how does fonts are represented in memory? I mean like the font for 'a' won't be in a consecutive memory location? And also a byte in Hack is 16 bit, but the font needs only 8 bits for the column, so how does actually the word divided into different characters, 8 bit for 'a' 8 bit for 'b'?
|