- WARNING - This code is for teaching purposes only. It is not written for professional use. Some code is written in order to speed up teaching, and thus is not properly coded. You should rewrite the code for your own professional use.
- Starting with CODE5, the resolution from the EFI file sets the screen height and width to 1920x1080.
- Although this can work on real hardware, I do NOT recommend doing so unless you know what you are doing. Use virtualbox or qemu until you know you have solid working code.
- For CODE1, you will need the BOOTX64.EFI file from my other GitHub Repo. https://github.com/ThatOSDev/UEFI-Tuts
- The drive.hdd file is included, I didn't realize this when I made the first video.
- The bios64.bin file is for qemu to work. Otherwise QEMU will fail to load.
- Although the BUILD INSTRUCTIONS shows Windows, MAC or Linux, this tutorial series is using a windows host. However all code and makefile command switches should all work if you follow the build instructions.
- OSFMount ---- https://www.osforensics.com/tools/mount-disk-images.html
- QEMU ( Optional ) ---- https://www.qemu.org/
- VirtualBox ( Optional ) ---- https://www.virtualbox.org/
- GCC for windows ---- https://nuwen.net/mingw.html
https://github.com/ThatOSDev/ThatOS64/tree/master/BUILD.md
YOUTUBE : https://www.youtube.com/channel/UCouyC9D6WFBwc24sqdkS-jw
DISCORD : ThatOSDev#5516
- THINGS YOU SHOULD KNOW BEFORE STARTING OS DEVELOPMENT
- The C Language
- Assembly Language
- How to read Hex Code ( Example : 0x8664 )
- How your Host Operating System works ( Such as windows or linux )
- How your compiler works ( Such as GCC )
- How to do research ( Don't be lazy )
- BEGINNER MISTAKES : https://wiki.osdev.org/Beginner_Mistakes
NOTE: This is current starting with CODE5
typedef struct BLOCKINFO
{
uint64_t BaseAddress;
uint64_t BufferSize;
uint32_t ScreenWidth;
uint32_t ScreenHeight;
uint32_t PixelsPerScanLine;
uint64_t LoaderFileSize;
EFI_MEMORY_DESCRIPTOR* MMap;
uint64_t MMapSize;
uint64_t MMapDescriptorSize;
uint64_t* rsdp;
} __attribute__((__packed__)) BLOCKINFO;
- RIGHT CLICK THE LINKS AND OPEN IN NEW TAB
More Tuts Coming soon... ( NOTE : The order of this list is subject to change )
* IDT
* BMP / TGA Image Loading
* PCI
* AHCI
* Mouse