How piat0n/baremetal-ram-dumper works
BareMetal RAM Dumper is a BIOS-bootable x86 utility that copies valid physical RAM to the boot medium. The documented workflow starts when BIOS loads the boot sector; stage1 loads stage2, which checks disk support, discovers usable memory, copies it in chunks using unreal mode, and writes the dump beginning at LBA 64. The graph separates bootstrapping from dump processing while showing BIOS, RAM, and disk as external dependencies. No source excerpts were provided, so relationships are based on the README only.
Main entry points: stage2.asm Dump program · stage1.asm Boot sector
Components 8
Bootloader
- Boot sector
stage1.asm
Dump engine
- Dump program
stage2.asm - Memory map
stage2.asm - Unreal-mode copy
stage2.asm - Chunk writer
stage2.asm
Other components
- BIOS firmware
- Boot medium
- Physical RAM
Connections 12
- BIOS firmware → Boot sector: boots
README.md - Boot sector → BIOS firmware: requests read
README.md - BIOS firmware → Dump program: loads
README.md - Boot sector → Boot medium: reads LBA 1
README.md - Dump program → BIOS firmware: queries EDD
README.md - Dump program → Memory map: queries map
README.md - Memory map → Dump program: limits RAM scan
README.md - Dump program → Unreal-mode copy: copies chunks
README.md - Unreal-mode copy → Physical RAM: reads memory
README.md - Unreal-mode copy → Chunk writer: fills buffer
README.md - Chunk writer → BIOS firmware: requests write
README.md - Chunk writer → Boot medium: writes from LBA 64
README.md