fix: memory layout and startup
This commit is contained in:
parent
92d8a91be4
commit
8dc53f662e
7 changed files with 48 additions and 32 deletions
|
|
@ -141,6 +141,12 @@ __clear:
|
|||
mov $0xb8000, %edi
|
||||
mov $0x2000, %ecx
|
||||
rep stosw
|
||||
mov $0x3D4, %dx
|
||||
mov $0x0A, %al
|
||||
out %al, %dx
|
||||
inc %dx
|
||||
mov $0x20, %al
|
||||
out %al, %dx
|
||||
ret
|
||||
|
||||
__print:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue