mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Merge Disk namespace into the IDEDiskDevice class.
This commit is contained in:
parent
cba05ce75e
commit
b8264e7d47
Notes:
sideshowbarker
2024-07-19 16:11:37 +09:00
Author: https://github.com/awesomekling
Commit: b8264e7d47
10 changed files with 231 additions and 244 deletions
|
@ -100,4 +100,13 @@ word getISR()
|
|||
return (isr1 << 8) | isr0;
|
||||
}
|
||||
|
||||
word get_irr()
|
||||
{
|
||||
IO::out8(PIC0_CTL, 0x0a);
|
||||
IO::out8(PIC1_CTL, 0x0a);
|
||||
byte irr0 = IO::in8(PIC0_CTL);
|
||||
byte irr1 = IO::in8(PIC1_CTL);
|
||||
return (irr1 << 8) | irr0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue