| VOL Statement | Reference/Commodore BASIC V3.5
VOL volume level
Sets the volume level for the SOUND statement.
The volume level is a value between 0-8 (8: maximum volume, 0: off). Negative values or values larger than 8 will result in an ?Illegal quantity error. Decimal values are rounded down, therefore VOL7.999 and VOL7 will have the same effect.
VOL affects all SOUND voices.
The machine language equivalent would be adjusting the $FF11 TED register.
VOL 8 Sets volume to maximum
VOL 0 Turns off sound
V SHIFT+O
$DB
|
| |
Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon |