I am building an operating system for the x86_64 ISA. I am to the point in my development where I want to begin to display things graphically for the user, and therefore wish to retrieve the monitor/video output's native resolution instead of the preset BIOS video modes. I understand that this may be able to be done via VESA VBE and EDID functions, but documentation--especially on the latter--is sparse.
How should I go about finding the preferred video mode? Am I looking in the entirely wrong direction for my answer?