Now I bought a new computer, and I currently only have UEFI working for boot. I know that UEFI has quite some differences for running kernels, but since my kernel uses the multiboot standard, I have tried running it anyway. As expected, I got no video output whatsoever, and don't know what is working and what is not. I now want to switch my kernel to run on both BIOS and UEFI, or UEFI only. I've been looking for an alternative to output some text in UEFI, and the only thing I found was using a Print method when actually making an UEFI application. However, even there, I'm not sure whether this text output only works when running an application on the UEFI shell, or also when booting from it directly.
I prefer to keep using multiboot and GRUB because of the simple way of developing (No EDK to setup, etc). However, I don't know how to continue from this point. I've been searching for quite some time, and have found some alternatives to the old videomem trick, but all of them are quite complex and not something that I can use to atleast see what still does work from my kernel. The alternatives I found are:
- (The UEFI application I found earlier)
- Asking grub to hand over a framebuffer, or using VBE (This requires drawing a font (?), which will take some time to implement)
- Sending output through serial connection (This would require me tinkering with the hardware to attach a serial cable, and then using a second computer)
I wasn't able to find a lot of information on OsDev about uefi development. How would you guys make an UEFI compatible OS?