1
Fork 0
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:
Andreas Kling 2020-05-16 10:39:06 +02:00
parent 85aafe492d
commit 03eb0e5638
3 changed files with 5 additions and 11 deletions

View file

@ -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();