I'm interested in writing my own microkernel with graphics support. However, as far as I know there is no way to change the graphics mode without interrupt 0x10
, which requires Real Mode. How can I switch between Real and Protected Mode during the application's runtime? I have seen an article on osdev.org, but since I am new to assembly I cannot work out how to implement this.
Technical details:
- Ubuntu 16.04.4 LTS
- GCC 7.3.0 cross-compiler (i686-elf)
- NASM 2.11.08 assembler, but inline GAS-style syntax is fine