From 4a9624da0c7cf0c27a00e1ff497d13f2e4a0d03e Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Tue, 10 Nov 2026 01:16:40 +0800 Subject: [mubios] Implement serial input and BIOS console key handling Implement UART receive, transmit timeouts, configuration and status reporting for INT 14h functions 00h-03h. Initialize the BDA serial timeout and expose the driver interfaces. Translate terminal characters and CSI/SS3 escape sequences into BIOS keyboard events for INT 16h. Add blocking reads, non-consuming status queries, enhanced key reads and keyboard buffer insertion. --- mubios/services/int15.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mubios/services/int15.c') diff --git a/mubios/services/int15.c b/mubios/services/int15.c index b9edb76..4100935 100644 --- a/mubios/services/int15.c +++ b/mubios/services/int15.c @@ -62,9 +62,9 @@ get_memory_end (void) } else { - extended_kib = (u16)cmos_read8 (CMOS_EXTENDED_MEMORY_LOW_16M) - | (u16)((u16)cmos_read8 (CMOS_EXTENDED_MEMORY_HIGH_16M) - << 8); + extended_kib + = (u16)cmos_read8 (CMOS_EXTENDED_MEMORY_LOW_16M) + | (u16)((u16)cmos_read8 (CMOS_EXTENDED_MEMORY_HIGH_16M) << 8); if (extended_kib != 0u) memory_end = E820_MEMORY_BASE + ((u32)extended_kib << 10); else -- cgit v1.2.3