mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
Kernel: Add a beep() syscall that beeps the PC speaker.
Hook this up in Terminal so that the '\a' character generates a beep. Finally emit an '\a' character in the shell line editing code when backspacing at the start of the line.
This commit is contained in:
parent
dcf490ecab
commit
3cba2a8a78
14 changed files with 82 additions and 25 deletions
|
@ -60,6 +60,9 @@ static dword handle(RegisterDump& regs, dword function, dword arg1, dword arg2,
|
|||
case Syscall::SC_yield:
|
||||
Scheduler::yield();
|
||||
break;
|
||||
case Syscall::SC_beep:
|
||||
Scheduler::beep();
|
||||
break;
|
||||
case Syscall::SC_donate:
|
||||
return current->process().sys$donate((int)arg1);
|
||||
case Syscall::SC_gettid:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue