
Inside the 512-Byte MBR: Boot Code, Partition Table and Signature
Decode the 512-byte master boot record field by field, from 446 bytes of boot code to four 16-byte partition entries and the 0xAA55 signature, with xxd output.
Everything you need to level up your coding skills.

Decode the 512-byte master boot record field by field, from 446 bytes of boot code to four 16-byte partition entries and the 0xAA55 signature, with xxd output.

Run low-priority background work in vApplicationIdleHook: enable it, keep it short and non-blocking, work in slices, and know when a task is better.

Use WaitForSingleObject and WaitForMultipleObjects to block on events, threads, processes and mutexes, read the return codes and avoid the 64 handle limit.

Bring up a USB CDC serial port on an STM32F4 with TinyUSB: 48 MHz clock, OTG_FS pins, VBUS sensing, the interrupt handler, tusb_config.h and a printf retarget.

Learn how I2C and SPI work on the wire, what each costs in pins and speed, and how Linux splits each into controller drivers and client drivers for developers.

Build an I2C master in Verilog that writes one byte to a 7-bit address with quarter-bit timing, open-drain lines and ACK checking, tested against a slave model.

The number systems and bit operations behind every emulator: binary, hex, shifts, AND, OR, XOR, masks, signed bytes and sign extension, with C examples.

Build a file parser with afl-clang-fast and AddressSanitizer, seed and run afl-fuzz 4.x, read the crashes directory and shrink a crash with afl-tmin.

Learn what IEEE 754 NaN, infinity and negative zero are, how they arise, why NaN is not equal to itself, and how to test for each safely in C.

Encode with h264_nvenc and hevc_nvenc in FFmpeg 7.1 on NVIDIA GPUs: driver needs, a working command, quality settings, session limits and fixes.

Build a resumable state-machine parser in C that takes a protocol in any chunking, so TCP segmentation never breaks framing, and test it at every split offset.

Pick the right OpenMP loop schedule by looking at how iteration cost varies, with deterministic examples of static, dynamic, guided and runtime scheduling.
We send one email when a new post is published. No spam.