Search code examples
assemblynasmbios

BIOS Real Mode Alert NASM


Is it possible to create an alert sound (like '\a' in C) using BIOS interrupts with assembly? If so, how can I do it? I have tried to print \a, but that did not work as intended.


Solution

  • try

    mov ah, 0Eh
    mov al, 07h
    int 10h
    

    http://en.wikipedia.org/wiki/INT_10H

    Teletype output AH=0Eh
    AL = Character