Framebuffer putpixel LEGGOOO! (disabled paging lol)
This commit is contained in:
parent
8709de5747
commit
3c121e97f4
3 changed files with 121 additions and 41 deletions
|
|
@ -65,6 +65,12 @@ mbootgetinfo:
|
|||
mov edi, mbootinfo.fb_rpos
|
||||
rep movsb
|
||||
|
||||
.bytesppcalc:
|
||||
xor eax, eax
|
||||
mov al, [mbootinfo.fb_bpp]
|
||||
mov ebx, 8
|
||||
div bl
|
||||
mov [mbootinfo.fb_bytespp], al
|
||||
.done:
|
||||
pop edi
|
||||
pop esi
|
||||
|
|
@ -116,3 +122,4 @@ mbootinfo:
|
|||
.fb_gmasksize db 0
|
||||
.fb_bpos db 0
|
||||
.fb_bmasksize db 0
|
||||
.fb_bytespp db 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue