Closed xiaoyuvax closed 11 months ago
With stdlib zero you just write a Main as usual and use System.Console.WriteLine as usual. See the snake sample in the repo.
oic, i have to get reference to SystemTable this way, right?
EFI_SYSTEM_TABLE* tbl = StartupCodeHelpers.s_efiSystemTable;
System table is not exposed from zerolib. You need to do --stdlib:none and implement everything yourself.
compiling the single file of following code with
--os:uefi --stdlib:zero
throws errorerror output: