(04-30-2012, 09:13 PM)John Wrote: I actually think it has something to do with this little bit of source from your string.asm included in your kernel.
Perhaps your strings aren't properly parsing? Check the loops again, maybe something's bugging out here.
Code:os_string_parse:
push si
mov ax, si
mov bx, 0
mov cx, 0
mov dx, 0
push ax
.loop1:
lodsb
cmp al, 0
je .finish
cmp al, ' '
jne .loop1
dec si
mov byte [si], 0
inc si
mov bx, si
.loop2:
lodsb
cmp al, 0
je .finish
cmp al, ' '
jne .loop2
dec si
mov byte [si], 0
inc si
mov cx, si
.loop3:
lodsb
cmp al, 0
je .finish
cmp al, ' '
jne .loop3
dec si
mov byte [si], 0
inc si
mov dx, si
.finish:
pop ax
pop si
ret
Messages In This Thread |
Philly-Cheese OS - by Wischyre - 04-29-2012, 11:59 PM
RE: Philly-Cheese OS - by bmanrules - 04-30-2012, 10:01 AM
RE: Philly-Cheese OS - by Blaze - 04-30-2012, 10:03 AM
RE: Philly-Cheese OS - by John - 04-30-2012, 08:43 PM
RE: Philly-Cheese OS - by Wischyre - 04-30-2012, 08:45 PM
RE: Philly-Cheese OS - by John - 04-30-2012, 09:03 PM
RE: Philly-Cheese OS - by Wischyre - 04-30-2012, 09:10 PM
RE: Philly-Cheese OS - by John - 04-30-2012, 09:13 PM
RE: Philly-Cheese OS - by Wischyre - 04-30-2012, 09:19 PM
|
Users browsing this thread: |
1 Guest(s) |