Code: Select all
mov ax, 0x000e
mov si, ax
mov ax, 0x07C0
mov ds, ax
mov dl, 0x01
jmp 1
db 0x10
db 0x00
dw 0x0100
dw 0x7D00
dw 0x0000
dw 0x0000
dw 0x0000
dw 0x0000
dw 0x0001
1:
clc
mov ah,0x42
int 0x13
jc fail
mov ah, 0xe
mov al, [0x7D00]
int 0x10
fail:
mov ah,0xe
mov al,"f"
int 0x10
loop:
jmp loop
times 510-($-$$) db 0
db 0x55
db 0xAA
db "W"