← Back to portfolio

Technical notes.

Writing about systems, emulation, and the things I build. 2 posts published

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.

Building an Intel 8080 Emulator from Scratch

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.