This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # Extract files from raw image of FAT12 disk | |
| # This is incomplete. Directories are not supported | |
| import sys | |
| with open(sys.argv[1], 'rb') as f: | |
| b = f.read() | |
| sector_size = 512 |
OlderNewer