Курсовая работа: Шина расширения ISA
main proc near
jmp first_instruction
saved_int08labeldword
old_offsdw ?
old_segdw ?
vector= (08h)
isworkingdb 0
_TCCdb 0
uninst_message db 10,13,"Uninstalling... ",'$'
message db 10,13,"Already loaded!",10,13
db "'main u' for uninstall",10,13,'$'
string db " ",'$'
input_message db “Enter number (0-7): ”,'$'
begin_message db "Wormer started",10,13,'$'
end_message db "Wormer stopped",10,13,'$'
int08_treater:
jmp gonow
db '08hook'
gonow:
push ax bx
mov bl, 0102h
in al, bl; пытаемся получить статус устройства из порта 258
and al, 10000000b
cmp al, 10000000b
je start_loop
cmp cs: isworking, 1
je end_loop
jmp leave_treater
start_loop: