Compare commits
No commits in common. "3dd934bd83ce770a56cf26505d730e6ae47efcc5" and "e4172c14bb9982895adabc0ea6ac6e832dd3f4d9" have entirely different histories.
3dd934bd83
...
e4172c14bb
2 changed files with 0 additions and 105 deletions
|
@ -54,8 +54,6 @@ mbootgetinfo:
|
|||
mov [mbootinfo.fb_type], al
|
||||
inc esi
|
||||
|
||||
;garbage?
|
||||
add esi, 2
|
||||
;; r/g/b positions and masks
|
||||
mov ecx, 6
|
||||
mov edi, mbootinfo.fb_rpos
|
||||
|
|
103
src/start32.asm
103
src/start32.asm
|
@ -97,100 +97,6 @@ start:
|
|||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
|
||||
push stuff.rpostxt
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push dword esp
|
||||
push dword 10
|
||||
xor eax, eax
|
||||
mov al, [mbootinfo.fb_rpos]
|
||||
push dword eax
|
||||
call __uitoa
|
||||
add esp, 3*4
|
||||
push esp
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push stuff.gpostxt
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push dword esp
|
||||
push dword 10
|
||||
xor eax, eax
|
||||
mov al, [mbootinfo.fb_gpos]
|
||||
push dword eax
|
||||
call __uitoa
|
||||
add esp, 3*4
|
||||
push esp
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push stuff.bpostxt
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push dword esp
|
||||
push dword 10
|
||||
xor eax, eax
|
||||
mov al, [mbootinfo.fb_bpos]
|
||||
push dword eax
|
||||
call __uitoa
|
||||
add esp, 3*4
|
||||
push esp
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
|
||||
|
||||
push stuff.rmasksizetxt
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push dword esp
|
||||
push dword 10
|
||||
xor eax, eax
|
||||
mov al, [mbootinfo.fb_rmasksize]
|
||||
push dword eax
|
||||
call __uitoa
|
||||
add esp, 3*4
|
||||
push esp
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push stuff.gmasksizetxt
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push dword esp
|
||||
push dword 10
|
||||
xor eax, eax
|
||||
mov al, [mbootinfo.fb_gmasksize]
|
||||
push dword eax
|
||||
call __uitoa
|
||||
add esp, 3*4
|
||||
push esp
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push stuff.bmasksizetxt
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
push dword esp
|
||||
push dword 10
|
||||
xor eax, eax
|
||||
mov al, [mbootinfo.fb_bmasksize]
|
||||
push dword eax
|
||||
call __uitoa
|
||||
add esp, 3*4
|
||||
push esp
|
||||
call serialwrite
|
||||
add esp, 4
|
||||
|
||||
|
||||
add esp, 36 ;Clean reserved uitoa return string from stack
|
||||
|
||||
; Draw a test pixel to bottom right corner
|
||||
|
@ -226,7 +132,6 @@ rOSkalogodraw:
|
|||
cmp byte bl, [roskalogo.h]
|
||||
jne .loop
|
||||
.done:
|
||||
jmp hang
|
||||
|
||||
|
||||
xor eax, eax
|
||||
|
@ -284,14 +189,6 @@ stuff:
|
|||
.fbdimensionsmsgpfx db 10, "Framebuffer dimensions: ", 0
|
||||
.x db "x", 0
|
||||
|
||||
|
||||
.rpostxt db 10, "rPos: ", 0
|
||||
.gpostxt db 10, "gPos: ", 0
|
||||
.bpostxt db 10, "bPos: ", 0
|
||||
.rmasksizetxt db 10, "rMaskSize: ", 0
|
||||
.gmasksizetxt db 10, "gMaskSize: ", 0
|
||||
.bmasksizetxt db 10, "bMaskSize: ", 0
|
||||
|
||||
align 4096
|
||||
bss_start:
|
||||
;align 4096
|
||||
|
|
Loading…
Reference in a new issue