Last active
October 4, 2025 05:39
-
-
Save ssghost/f35fbd09a6966e316d44eb814d2a1027 to your computer and use it in GitHub Desktop.
Revisions
-
ssghost revised this gist
Oct 4, 2025 . No changes.There are no files selected for viewing
-
ssghost revised this gist
Oct 4, 2025 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,7 @@ WAITFOREVENT DQ ? CONOUT DQ ? OUTPUTSTRING DQ ? BOOTSERVICES DQ ? HELLOMESSAGE DW "H", "E", "L", "L", "O", " ", "U", "E", "F", "I", 10, 13, 0 .CODE @@ -23,7 +24,7 @@ EFI_MAIN PROC MOV RBX, QWORD PTR [RAX + 08H] MOV OUTPUTSTRING, RBX MOV RAX, QWORD PTR [RDX + 60H] MOV BOOYSERVICES, RAX MOV RBX, QWORD PTR [RAX + 60H] MOV WAITFOREVENT, RBX -
ssghost revised this gist
Oct 4, 2025 . 1 changed file with 18 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,10 @@ .DATA IMAGE DQ ? SYSTEMTABLE DQ ? INDEX DQ ? CONIN DQ ? WAITFORKEY DQ ? WAITFOREVENT DQ ? CONOUT DQ ? OUTPUTSTRING DQ ? HELLOMESSAGE DW "H", "E", "L", "L", "O", " ", "U", "E", "F", "I", 10, 13, 0 @@ -10,15 +14,29 @@ EFI_MAIN PROC MOV IMAGE, RCX MOV SYSTEMTABLE, RDX MOV RAX, QWORD PTR [RDX + 030H] MOV CONIN, RAX MOV RBX, QWORD PTR [RAX + 10H] MOV WAITFORKEY MOV RAX, QWORD PTR [RDX + 040H] MOV CONOUT, RAX MOV RBX, QWORD PTR [RAX + 08H] MOV OUTPUTSTRING, RBX MOV RAX, QWORD PTR [RDX + 60H] MOV BOOYSERVICE, RAX MOV RBX, QWORD PTR [RAX + 60H] MOV WAITFOREVENT, RBX MOV RCX, CONOUT LEA RDX, [HELLOMESSAGE] CALL OUTPUTSTRING MOV RCX, 01H LEA RDX, [WAITFORKEY] LEA R8, [INDEX] CALL WAITFOREVENT RET EFI_MAIN ENDP -
ssghost created this gist
Oct 4, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ .DATA IMAGE DQ ? SYSTEMTABLE DQ ? CONOUT DQ ? OUTPUTSTRING DQ ? HELLOMESSAGE DW "H", "E", "L", "L", "O", " ", "U", "E", "F", "I", 10, 13, 0 .CODE EFI_MAIN PROC MOV IMAGE, RCX MOV SYSTEMTABLE, RDX MOV RAX, QWORD PTR [RDX + 040H] MOV CONOUT, RAX MOV RBX, QWORD PTR [RAX + 08H] MOV OUTPUTSTRING, RBX MOV RCX, CONOUT LEA RDX, [HELLOMESSAGE] CALL OUTPUTSTRING RET EFI_MAIN ENDP END