Merge pull request #5 from Plexi09/refactor/clean-code

docs: removed unceccessary comments
This commit is contained in:
Pierre-Emmanuel Gob. 2026-09-19 23:10:35 +02:00 • committed by GitHub
commit dcb393f307
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 6 deletions

2
.gitignore vendored
View file

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

View file

@ -18,7 +18,6 @@ static uint8_t cursor_col;
* store in order. */
static volatile uint16_t *const vga = (uint16_t *)VGA_ADDR;
/* Move every line one row up and blank the last line */
static void scroll(void)
{
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_e0;
/* Queue helpers below; port I/O comes from io.h. */
/* Drop-newest on full: keeps the consumer's prefix intact for editing. */
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,
* which is why callers gate on serial_ok() when unsure. */
while ((inb(COM_LSR) & LSR_TX_EMPTY) == 0) {
/* Poll. */
}
outb(COM_DATA, (uint8_t)c);
}