Use proper syntax for x86
authorhpa <hpa>
Tue, 6 Jul 2004 22:18:55 +0000 (22:18 +0000)
committerhpa <hpa>
Tue, 6 Jul 2004 22:18:55 +0000 (22:18 +0000)
memdisk/memdisk.doc

index 1d374d2..c01ae5e 100644 (file)
@@ -154,7 +154,7 @@ suddenly disappearing from underneath):
        cmp bx, 4B53h
        jne not_memdisk
 
-       di
+       cli
        mov bx,[es:0]           ; INT 13h handler offset
        mov eax,[es:di+16]      ; Old INT 13h handler
        mov byte [es:bx], 0EAh  ; FAR JMP
@@ -164,4 +164,4 @@ suddenly disappearing from underneath):
        mov eax,[es:di+20]      ; Old INT 15h handler
        mov byte [es:bx], 0EAh  ; FAR JMP
        mov [es:bx+1], eax
-       ei
+       sti