Reading USB Mass Storage Devices with Raw SCSI
Walking through the USB mass storage protocol — CBW/CSW handshakes, SCSI command transport over libusb, and parsing raw MBR blocks to detect partition schemes without the OS filesystem layer.
Writing about systems, emulation, and the things I build. 3 posts published
Walking through the USB mass storage protocol — CBW/CSW handshakes, SCSI command transport over libusb, and parsing raw MBR blocks to detect partition schemes without the OS filesystem layer.
GPU performance-based device selection, test suite refactoring, setuptools_scm PEP 440 fix — and why the PR is still open three months later. An honest post-mortem of contributing to a GPU neural simulation backend.
Mapping all 256 opcodes, building a disassembler first, grouped instruction dispatch, flag gotchas, and running the Space Invaders ROM. References the Emulator 101 tutorial with original design decisions.