adding yote call and fixed weird comment
This commit is contained in:
parent
e2315fc3cc
commit
b3483ce7fc
11
loader.asm
11
loader.asm
@ -5,16 +5,12 @@ MAGIC_NUMBER equ 0x1BADB002
|
|||||||
FLAGS equ 0x0
|
FLAGS equ 0x0
|
||||||
CHECKSUM equ -MAGIC_NUMBER
|
CHECKSUM equ -MAGIC_NUMBER
|
||||||
|
|
||||||
; example stuff
|
|
||||||
A equ 3
|
|
||||||
B equ 2
|
|
||||||
C equ 1
|
|
||||||
|
|
||||||
; size in bytes
|
; size in bytes of stack
|
||||||
KERNEL_STACK_SIZE equ 4096
|
KERNEL_STACK_SIZE equ 4096
|
||||||
|
|
||||||
; external labels(cdecl) calling convention
|
; external labels(cdecl) calling convention
|
||||||
extern colors
|
extern yote
|
||||||
|
|
||||||
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,8 +31,7 @@ align 4
|
|||||||
dd CHECKSUM
|
dd CHECKSUM
|
||||||
|
|
||||||
loader:
|
loader:
|
||||||
; pls
|
call yote
|
||||||
call colors
|
|
||||||
|
|
||||||
.loop:
|
.loop:
|
||||||
jmp .loop
|
jmp .loop
|
||||||
|
Loading…
Reference in New Issue
Block a user