mirror of https://github.com/tailix/loadwarka.git
Print a string from second sector
This commit is contained in:
parent
f72c3e0a26
commit
641a0a2923
|
@ -38,6 +38,9 @@ main:
|
|||
mov $STAGE2_ADDR(hello), %si
|
||||
call print_str
|
||||
|
||||
mov $STAGE2_ADDR(teststr), %si
|
||||
call print_str
|
||||
|
||||
hang:
|
||||
cli
|
||||
hlt
|
||||
|
@ -61,6 +64,8 @@ print_str:
|
|||
call print_char
|
||||
jmp print_str
|
||||
|
||||
.fill 512, 1, 0
|
||||
.fill 437, 1, 0
|
||||
|
||||
teststr: .string "Test string\r\n"
|
||||
|
||||
_end:
|
||||
|
|
Loading…
Reference in New Issue