QUOTE(MatQuasar @ Jul 19 2023, 10:22 PM)
Last time I encounter 64-bit address is not all accessible, only 40-bit address, and need some tweaks to access all 64-bit memory....
Then when doing bootloader also I encounter A20 line, or else cannot access full width of memory address (not sure how many bits).....
That's when I start pening pening kepala, give up studying the width of bus, memory address...

A20 is designed to be default off, for compatible with older system (8086 / 8088 / 80168).
40 bit address can handle up to 1 TB (some system is 48 bit up to 256 TB),
We're not going to see a system which needs more than that so soon.
So hardware manufacturer (CPU & motherboard) can cut cost for not design such large bus.
Ref :
A20 line - Wikipedia
https://en.wikipedia.org/wiki/A20_lineP/S : For more info about memory addressing,
you may also check how those old 4 / 8 bit CPU and bus designed.
This post has been edited by flashang: Jul 19 2023, 11:30 PM