Need to investigate what is required to boot with UEFI.
How to get the memory map?
Is a GPT (instead of MBR) partition format needed?
Where are the ACPI tables?
Easiest method is to use GRUB and load a multiboot file.
There is no text mode in UEFI! Graphics are required.