X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=uefi%2Fmain.asm;h=431a64c9d1267c846c47279630a680b34dff7e69;hb=9e21256a9103dc92035bdef940b342522ea3efb3;hp=62b81df5fedb728188d1a4104af54b966c8da9f7;hpb=d0c63c32298a6a7fd2957624c092df01df66cdca;p=rrq%2Fjonasforth.git diff --git a/uefi/main.asm b/uefi/main.asm index 62b81df..431a64c 100644 --- a/uefi/main.asm +++ b/uefi/main.asm @@ -11,8 +11,13 @@ entry main ;; - This should allow the user to type in a string, and then feed the ;; buffer to us one character at a time. ;; - [ ] We want to show the user's input on the screen while reading +;; - [ ] Read a file that was bundled with the program +;; - It looks like we can use EFI_LOAD_FILE_PROTOCOL.LoadFile() to load +;; a file into a buffer. In order to be able to use this, we need to +;; have some way of interpreting a static buffer instead of reading as +;; we go. -;; #region Structs +;; EFI struct definitions {{{ EFI_NOT_READY = 0x8000_0000_0000_0000 or 6 @@ -65,7 +70,7 @@ struc EFI_INPUT_KEY { } struct EFI_INPUT_KEY -;; #endregion +;; }}} section '.text' code executable readable