Linux Inside

Updated 3 days ago

Tw (@tw4452852) started discussion #89

a year ago · 0 comments


First of all we put the address of boot_params in the esi register and the address of code segment register cs (0x1000) in bx. After this we shift bx by 4 bits and add the address of label 2 to it (we will have the physical address of label 2 in the bx after this) and jump to label 1. Next we put data segment and task state segment in the cs and di registers with:

Video mode initialization and transition to protected mode (Edit this file)

Here, it should write the physical address of label 2 in label 2 instead of bx.

No description provided.

No comments on this discussion.

to join this conversation on GitBook. Already have an account? Sign in to comment

You’re not receiving notifications from this thread.

1 participant