SOUNDBLASTER
DOSSEG .MODEL TINY .STACK 200h SBREG EQU 224h SBIO EQU 225h .CODE TEXT db "Setting volume /0"
START: ;print on screen mov ah,9 mov dx,offset TEXT int 21h ;set value mov bl,00ffh ;write to soundblaster volumeregister mov dx,SBREG mov al,22h out dx,al mov dx,SBIO mov al,bl out dx,al ;return to dos mov ax,4c00h int 21h END START