Fix a typo in previous commit: must call "putn" to print a crlf,
instead of "puts" which prints whatever is at %si, followed by a CRLF. It was not noticed during tests because at that point %si points to a partition entry whose first byte is 0x80, which is both a terminator for the string and a non printable character. Submitted by: Christoph Mallon
This commit is contained in:
parent
e7b613e283
commit
e1a8c28b5e
@ -320,7 +320,7 @@ main.15: movw $LOAD,%bx # Address for read
|
||||
cmpw $MAGIC,0x1fe(%bx) # Bootable?
|
||||
jne main.10 # No
|
||||
pushw %si # Save ptr to selected part.
|
||||
callw puts # Leave some space
|
||||
callw putn # Leave some space
|
||||
popw %si # Restore, next stage uses it
|
||||
jmp *%bx # Invoke bootstrap
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user