mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
Kernel: Let's say that IO::delay(N) delays for N microseconds
Supposedly that's how much delay you get when doing I/O on port 0x80.
This commit is contained in:
parent
85aafe492d
commit
03eb0e5638
3 changed files with 5 additions and 11 deletions
|
@ -100,7 +100,7 @@ void SB16::initialize()
|
|||
disable_irq();
|
||||
|
||||
IO::out8(0x226, 1);
|
||||
IO::delay();
|
||||
IO::delay(32);
|
||||
IO::out8(0x226, 0);
|
||||
|
||||
auto data = dsp_read();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue