1
1
Fork 0

Passing the strings to string prints through stack

This commit is contained in:
Lauren Toivanen 2023-07-24 05:17:57 +03:00
parent e2572d50af
commit 9fc1cd0064
Signed by: jt
GPG key ID: 9151B109B73ECAD5
2 changed files with 12 additions and 4 deletions

View file

@ -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: