Nyanix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 41bd6754c8166456d1913516ab8739d280edc6b9
parent f8666e3fcf4a5a0fd567efaa30053050466b6a89
Author: k4m1 <df@elisanet.fi>
Date:   Fri,  6 Jul 2018 13:44:34 +0300

cleaned comments
Diffstat:
src/2nd_stage.s | 14++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/2nd_stage.s b/src/2nd_stage.s @@ -42,7 +42,9 @@ switch_to_pm: ; in 32-bit mode ! jmp GDT_32_CODE:pmode_init -; ============================================================================ ;; 32-bit protected mode ;; ============================================================================ ; +; ============================================================================ ; +; 32-bit protected mode ; +; ============================================================================ ; [bits 32] ; Function to initialize pmode pmode_init: @@ -62,7 +64,9 @@ pmode_init: call pmode ; ============================================================================ ; -; Function that's in protected 32-bit mode. ;; This function server as the 'main' function of tthe bootloader. ;; ============================================================================ ; +; Function that's in protected 32-bit mode. ; +; This function server as the 'main' function of tthe bootloader. ; +; ============================================================================ ; pmode: push ebp mov ebp, esp @@ -90,7 +94,8 @@ pmode: hlt ; ============================================================================ ; -; Functionality for enabling a20-gate ;; ============================================================================ ; +; Functionality for enabling a20-gate ; +; ============================================================================ ; check_a20: push ebp mov ebp, esp @@ -140,7 +145,8 @@ enable_a20: pop ebp ret -; ============================================================================ ;; Keyboard Control related functionality. ; +; ============================================================================ ; +; Keyboard Control related functionality. ; ; ============================================================================ ; __KBD_DISABLE equ 0xAD