Skip to content
systemcoding.dev

Tag

intermediate

255 posts

Flat illustration of user space above the system call boundary, the kernel and the hardware, with the Linux, C and Intel logos.
Kernels

Handle Keyboard Input With a PS/2 Driver

Write a PS/2 keyboard driver for a hobby kernel: the 8042 ports, scancode set 1, make and break codes, the 0xE0 prefix, shift and caps lock, and a ring buffer.

9 min read
Flat illustration of a microcontroller wired to an LED and a sensor, with the C, Arm and Espressif logos.
Embedded

Implement a Fixed-Point FIR Filter in C

Write a Q15 FIR filter in portable C with a circular delay line, a 32-bit accumulator and one saturating shift at the end, with worked moving-average output.

7 min read