Learning CPU 'protected mode'. Manually initialize global table descriptors, GDTR registers, CR0 register and execute some code from previously initialized memory segments.
- Craft two memory descriptors: first descriptor's linear memory starts somewhere in between 0x7C00:0x7E00 (Master Boot Record). Second descriptor's linear address starts from 0xB8000 (Video Memory)
- Initialize GDTR register
- Switch 0th bit of CR0 to 1 (enable protected mode)
- Jump to code of selector 8 (descriptor one) - copy bytes into second descriptor's memory
- Observe text on display