This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define GLFW_INCLUDE_VULKAN | |
| #include <GLFW/glfw3.h> | |
| #include <iostream> | |
| #include <fstream> | |
| #include <stdexcept> | |
| #include <algorithm> | |
| #include <vector> | |
| #include <cstring> | |
| #include <cstdlib> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; A basic multiboot2 compatible longmode bootstrap that loads into a higher half kernel. | |
| ; It identity maps the lower 1GB of memory | |
| ; And then maps the lowest 1GB of memory to the last 2GB of memory. (higher-half) | |
| ; Then it jumps to entry64 if it successfuly enters long mode, entry32 if it loads successfully | |
| ; but is on a computer that does not support long mode, and error if it fails to load. | |
| ; This section of the code is for 32 bit execution | |
| bits 32 | |
| section .text |