aboutsummaryrefslogtreecommitdiff
path: root/mubios/services
Commit message (Collapse)AuthorAgeFilesLines
* [mubios] Initialize the 8042 keyboard controllerRichard Qin19 hours1-13/+2
| | | | | | | | | | | | | | | POST only unmasked IRQ1 in the PIC and never configured the 8042 itself, so the keyboard stayed in its post-reset disabled state: the clock was inhibited and no scan code ever reached the output buffer. IRQ1 never fired, the BDA keyboard buffer stayed empty, and GRUB polling INT 16h AH=01h never saw a key. Add kbd_init() to disable both ports, drain the output buffer, clear the clock inhibit bits in the command byte, enable the keyboard and auxiliary IRQs and select set 1 translation, then enable scanning with 0xF4. The IRQ1 handler now checks the status register for a pending output byte before reading the data port and drops auxiliary port bytes. The set 2 break prefix tracking is gone because translation is enabled.
* [mubios] Initialize VGA mode and serial BIOS servicesRichard Qin39 hours2-0/+75
|
* [mubios] Add CHS disk services and multi-sector PIO readsRichard Qin40 hours1-0/+128
|
* [mubios] Add EDD parameters and normalize PS/2 inputRichard Qin41 hours2-1/+70
|
* [mubios] Fixed BDA Offset and IRQ1 Save OrderRichard Qin2 days1-3/+4
| | | | Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
* [mubios] Add cursor and char serviceRichard Qin2 days1-3/+55
| | | | Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
* [mubios] Implement INT 16h Keyboard ServiceRichard Qin2 days1-0/+143
| | | | Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
* [mubios] Implement INT 15h E820hRichard Qin2 days1-0/+84
| | | | Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
* [mubios] Extend registers from 16-bit to 32-bitRichard Qin2 days2-11/+11
| | | | Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
* [mubios] Multi-sector INT 13h AH=42hRichard Qin2 days1-3/+6
| | | | Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
* [mubios] Add C implementation of INT 10hRichard Qin2 days1-0/+88
| | | | Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
* [mubios] Add services INT 13hRichard Qin2 days1-0/+104
Signed-off-by: Richard Qin <richard.qin.x@gmail.com>