Merge origin/main into fix/issue-3-cursor-position

This commit is contained in:
Pierre-Emmanuel Gob. 2026-09-19 23:21:16 +02:00
commit d84131de74
4 changed files with 0 additions and 6 deletions

2
.gitignore vendored
View file

@ -13,12 +13,10 @@ compile_commands.json
.vscode/ .vscode/
.idea/ .idea/
*~ *~
.pyc
*.pyc *.pyc
# QEMU / debug # QEMU / debug
*.log *.log
qemu*.log
*.core *.core
# For contributors using ai agents # For contributors using ai agents

View file

@ -42,7 +42,6 @@ static void update_hw_cursor(void)
outb(VGA_CRT_DATA, (uint8_t)((pos >> 8) & 0xFFU)); outb(VGA_CRT_DATA, (uint8_t)((pos >> 8) & 0xFFU));
} }
/* Move every line one row up and blank the last line */
static void scroll(void) static void scroll(void)
{ {
for (uint8_t row = 1; row < VGA_HEIGHT; row++) { for (uint8_t row = 1; row < VGA_HEIGHT; row++) {

View file

@ -89,8 +89,6 @@ static uint8_t k_shift;
static uint8_t k_caps; static uint8_t k_caps;
static uint8_t k_e0; static uint8_t k_e0;
/* Queue helpers below; port I/O comes from io.h. */
/* Drop-newest on full: keeps the consumer's prefix intact for editing. */ /* Drop-newest on full: keeps the consumer's prefix intact for editing. */
static void enqueue(char c) static void enqueue(char c)
{ {

View file

@ -41,7 +41,6 @@ void serial_putchar(char c)
/* Spin until THR is empty; hangs only if hardware is absent/wedged, /* Spin until THR is empty; hangs only if hardware is absent/wedged,
* which is why callers gate on serial_ok() when unsure. */ * which is why callers gate on serial_ok() when unsure. */
while ((inb(COM_LSR) & LSR_TX_EMPTY) == 0) { while ((inb(COM_LSR) & LSR_TX_EMPTY) == 0) {
/* Poll. */
} }
outb(COM_DATA, (uint8_t)c); outb(COM_DATA, (uint8_t)c);
} }