Passing the strings to string prints through stack
This commit is contained in:
parent
e2572d50af
commit
9fc1cd0064
2 changed files with 12 additions and 4 deletions
|
|
@ -58,9 +58,11 @@ serialinit:
|
|||
ret
|
||||
|
||||
serialwrite:
|
||||
push ebp
|
||||
mov ebp, esp
|
||||
pushad
|
||||
cld
|
||||
mov esi, stuff.bootmsg
|
||||
mov esi, [ebp+8]
|
||||
.loop:
|
||||
mov dx, SERIAL_PORT+5
|
||||
.wait:
|
||||
|
|
@ -75,6 +77,7 @@ serialwrite:
|
|||
jmp .loop
|
||||
.done:
|
||||
popad
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
serialiniterror:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue