; patching some bytes
; assembled with 'nasm -fbin -o patch.com patch.asm

    org  0x100        ; .com files always start 256 bytes into the segment

    mov  dx, msg      ; the address of or message in dx
    mov  ah, 9        ; ah=9 - "print string" sub-function
    int  0x21         ; call dos services

    mov  ah, 0x4c     ; "terminate program" sub-function
    int  0x21         ; call dos services

; data

    msg  db 'Patching to enable Soundblaster...', 0x0d, 0x0a, '$'   ; $-terminated message
