testing colors in the frame buffer
This commit is contained in:
parent
24d62e82f2
commit
a02a286aea
10
loader.asm
10
loader.asm
@ -14,7 +14,7 @@ C equ 1
|
|||||||
KERNEL_STACK_SIZE equ 4096
|
KERNEL_STACK_SIZE equ 4096
|
||||||
|
|
||||||
; external labels(cdecl) calling convention
|
; external labels(cdecl) calling convention
|
||||||
extern sum
|
extern colors
|
||||||
|
|
||||||
section .bss
|
section .bss
|
||||||
align 4 ; aligning to bytes for x86(32-bit) reasons
|
align 4 ; aligning to bytes for x86(32-bit) reasons
|
||||||
@ -35,12 +35,8 @@ align 4
|
|||||||
dd CHECKSUM
|
dd CHECKSUM
|
||||||
|
|
||||||
loader:
|
loader:
|
||||||
mov eax, 0X1234ABCD
|
; pls
|
||||||
; call our external function
|
call colors
|
||||||
push dword C
|
|
||||||
push dword B
|
|
||||||
push dword A
|
|
||||||
call sum
|
|
||||||
|
|
||||||
.loop:
|
.loop:
|
||||||
jmp .loop
|
jmp .loop
|
||||||
|
Loading…
Reference in New Issue
Block a user