Figure 5.7 shows that the RAM is addresses 0-16383, the Screen is 16384-24575, and the Keyboard is 24576.
In binary:
RAM 0000 0000 0000 0000 - 0011 1111 1111 1111
Screen 0100 0000 0000 0000 - 0101 1111 1111 1111
Keyboard 0110 0000 0000 0000
Notice that all RAM addresses have the form 00XX XXXX XXXX XXXX (where X means "don't care"),
all Screen addresses are 010X XXXX XXXX XXXX, and
the Keyboard is 011X XXXX XXXX XXXX.
Ignore bit 15 since Memory's
address is only 15 bits wide. Look at bits 14 and 13:
RAM addresses start 0X,
Screen addresses start 10, and
Keyboard address starts 11.
--Mark