some comments

This commit is contained in:
rgimad
2025-01-21 01:20:34 +03:00
parent 3aa3180cd8
commit fa217d4578
3 changed files with 3 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ proc main _efi_handle, _efi_table
mov rcx, [rbx+EFI_SYSTEM_TABLE.ConOut] mov rcx, [rbx+EFI_SYSTEM_TABLE.ConOut]
fstcall [rcx+EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.Reset], rcx, 1 fstcall [rcx+EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.Reset], rcx, 1
test eax, eax test eax, eax
jnz $ ; what can I do here? jnz $ ; loop if fail to init text
fstcall set_text_color, EFI_BLUE or EFI_BACKGROUND_GREEN fstcall set_text_color, EFI_BLUE or EFI_BACKGROUND_GREEN
fstcall print_string, msg_hello_k64_loader fstcall print_string, msg_hello_k64_loader
@@ -53,7 +53,7 @@ proc main _efi_handle, _efi_table
fstcall set_text_color, EFI_LIGHTRED fstcall set_text_color, EFI_LIGHTRED
fstcall print_string, msg_2 fstcall print_string, msg_2
;; TODO: print some dec, hex. => impl simple printf ;; TODO: print some dec, hex. => impl simple printf. fdo.inc
jmp $ jmp $
endp endp

1
kernel/fdo.inc Normal file
View File

@@ -0,0 +1 @@
; TODO printf impl here

View File