Noise
Function number: 130
Generates a periodic or white noise sound using the specified type, volume, and duration.
Register entry values
AX = EE82
BX = Type (0-7)
0-3 are periodic noises
4-7 are white noises
CX = Volume (0-15)
0 is the quietest
15 is the loudest
DX = Duration (0-65535)
This is the number of clock ticks the noise will last
Register exit values
None
Example
MOV AX,0EE82H ;Noise function
MOV BX,1 ;Set the type
MOV CX,7 ;Set the volume
MOV DX,3 ;Set the duration
INT 10H ;Call GRAFIX
Comments
See the 'Noise' function in chapter 2 for more information.