diff options
-rw-r--r-- | sys/boot/i386/boot0/boot0.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/boot/i386/boot0/boot0.S b/sys/boot/i386/boot0/boot0.S index 64be3dd..246372d 100644 --- a/sys/boot/i386/boot0/boot0.S +++ b/sys/boot/i386/boot0/boot0.S @@ -319,8 +319,9 @@ main.15: movw $LOAD,%bx # Address for read jc main.10 # If error cmpw $MAGIC,0x1fe(%bx) # Bootable? jne main.10 # No - movw $crlf,%si # Leave some - callw puts # space + pushw %si # Save ptr to selected part. + callw puts # Leave some space + popw %si # Restore, next stage uses it jmp *%bx # Invoke bootstrap /* |