Driv3rs/Goals.txt
2015-08-16 10:23:28 -05:00

21 lines
633 B
Plaintext

1. Obtain the name of the .dsk image from the command-line (like: python my_script.py my_disk_image.dsk)
2. For each driver:
a. File offset
b. List the name of the driver
c. Whether it's char or block device
d. Manufacturer id
e. Version number
If it were to print it all on one line, delimited with commas or something, it might help later when it's used to troll through a directory.
So maybe:
$ python my_script.py my_disk_image.dsk
0530,FMT_D1,BLOCK,01,1.1
096e,FMT_D2,BLOCK,01,1.1
0990,FMT_D3,BLOCK,01,1.1
09B2,FMT_D4,BLOCK,01,1.1
0a00,SILENTYPE,CHAR,01,4.0c
0b00,DMP,CHAR,01,1.0
0c00,CONSOLE,CHAR,01,1.0