В новых версиях AwardBIOS обнаружен такой фрагмент кода:
PROC proc near mov dx, 320h in al, dx mov bl, al mov al, 5Ah out dx, al in al, dx mov _Semafor, 0FFh cmp al, 5Ah jnz _ALisnot5A mov _Semafor, 5Ah or bl, bl jnz _BLisnotZero mov dx, 323h mov al, 1 out dx, al Halt1: jmp short Halt1 _BLisnotZero: mov al, bl mov dx, 320h out dx, al _ALisnot5A: cmp _Semafor, 5Ah jz _Exit mov dx, 328h mov al, 10h out dx, al mov al, 5Ah inc dx out dx, al out 0EBh, al in al, dx mov _Semafor, 0FFh cmp al, 5Ah jnz _Exit mov _Semafor, 5Ah mov dx, 328h mov al, 3Eh out dx, al inc dx in al, dx out 0EBh, al cmp al, 5Ah jz _Exit cmp al, 0A5h jz _Clear_328 cmp al, 66h jz _Exit mov al, 0A5h out dx, al out 80h, al mov dx, 32Fh mov al, 1 out dx, al Halt2: jmp short Halt2 _Clear_328: mov dx, 328h xor al, al out dx, al _Exit: retn
Отправить комментарий