Fix from isac for signed problem in startmenu.S
authorTimothy Legge <timlegge@gmail.com>
Thu, 3 Jun 2004 10:24:09 +0000 (10:24 +0000)
committerTimothy Legge <timlegge@gmail.com>
Thu, 3 Jun 2004 10:24:09 +0000 (10:24 +0000)
startmenu.S

index b800a14..b5f59e3 100644 (file)
@@ -631,14 +631,14 @@ console_checkkey:
        movb    $0x1, %ah
        int     $0x16
        jz      1f
-       movw    %ax, %bx
+       movzwl  %ax, %ebx
        jmp     2f
 1:
        movl    $0xFFFFFFFF, %ebx
 2:
        DO_REAL_RETURN
 
-       movzwl  %bx, %eax
+       movl    %ebx, %eax
        popl    %edi
        popl    %esi
        popl    %ebx