Author: | Nate (guest: search) | |
Date: | Mon, Apr 04th, 2011 @ 19:50 ( . ) |
Ok, here's what I've gotten so far. The main question is how people want to work with the data. So please let me know what transformations are needed. The basic text format is: # NIB parsed file # Written on 2011/4/4 tracks 41 track 1 density 3 SYNC:41 157 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 14a 155 155 155 155 155 155 155 155 155 SYNC:33 149 14f 14e 14b 1cb 1cb 155 155 155 155 155 155 155 155 155 SYNC:41 ... The file lists the number of tracks and then entries for each track. Track 1 is in density 3. Then each SYNC (10 or more 1-bits) is listed, along with its bit-length. As you can see, nibread overestimated the standard DOS sectors here as 41 bits instead of 40. Data is in 10-bit hex format, big-endian. So 10 bits of sync is 3ff. For sync-less tracks, the data is just output as raw 10-bit GCR symbols (no "SYNC" listed in it but otherwise the same as track data). Operations you can do already: * Insert, change, delete GCR symbols * Change SYNC length, delete SYNCs, add them, etc. Adding soon to the code: * Shift track: output 7 .nib files with shifts of 1 to 7 bits for a given track * Density conversion: given a range of bits within a track, convert the raw data from one density to another Any other suggestions? Like or hate the data format? |
4/05/2011 @ 02:45----Nate 4/07/2011 @ 16:04--------Nate --- 0 Users Online --- 0 Recent Unique Posters |