diff --git a/Goals.txt b/Goals.txt new file mode 100644 index 0000000..f9899e0 --- /dev/null +++ b/Goals.txt @@ -0,0 +1,20 @@ +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 diff --git a/Problems.txt b/Problems.txt new file mode 100644 index 0000000..05203be --- /dev/null +++ b/Problems.txt @@ -0,0 +1,5 @@ +Problems to Solve: + +1. How to march through the file. +2. How to load a number of bytes at a specific offset? (e.g. Load 2 bytes from 0x04dc) +3. How to write to a file.