Rev 4149 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4149 | Rev 4151 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | jmpl *%edi |
80 | jmpl *%edi |
81 | 81 | ||
82 | vesa_meeting_point: |
82 | vesa_meeting_point: |
83 | # returned back to protected mode |
83 | # returned back to protected mode |
84 | 84 | ||
85 | mov %esi, KA2PA(vesa_ph_addr) |
- | |
86 | mov %di, KA2PA(vesa_height) |
85 | mov %ax, KA2PA(vesa_scanline) |
87 | shr $16, %edi |
86 | shr $16, %eax |
88 | mov %di, KA2PA(vesa_width) |
87 | mov %ax, KA2PA(vesa_bpp) |
- | 88 | ||
89 | mov %bx, KA2PA(vesa_scanline) |
89 | mov %bx, KA2PA(vesa_height) |
90 | shr $16, %ebx |
90 | shr $16, %ebx |
91 | mov %bx, KA2PA(vesa_bpp) |
91 | mov %bx, KA2PA(vesa_width) |
- | 92 | ||
- | 93 | mov %dl, KA2PA(vesa_green_pos) |
|
- | 94 | shr $8, %edx |
|
- | 95 | mov %dl, KA2PA(vesa_green_mask) |
|
- | 96 | shr $8, %edx |
|
- | 97 | mov %dl, KA2PA(vesa_red_pos) |
|
- | 98 | shr $8, %edx |
|
- | 99 | mov %dl, KA2PA(vesa_red_mask) |
|
- | 100 | ||
- | 101 | mov %esi, %edx |
|
- | 102 | mov %dl, KA2PA(vesa_blue_pos) |
|
- | 103 | shr $8, %edx |
|
- | 104 | mov %dl, KA2PA(vesa_blue_mask) |
|
- | 105 | ||
- | 106 | mov %edi, KA2PA(vesa_ph_addr) |
|
92 | #endif |
107 | #endif |