'Tools to work on g64 et al'
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?


REPLY: [With No Quote] --- [With Quoted Text]

Replies:
--* Tools to work on g64 et al
4/04/2011 @ 21:08--Lord Crass
4/05/2011 @ 02:45----Nate
4/07/2011 @ 06:22------hyper active
4/07/2011 @ 16:04--------Nate
4/08/2011 @ 08:48----------Pete Rittwage
4/08/2011 @ 19:55------------hyper active
4/10/2011 @ 13:34----------Nate
4/10/2011 @ 21:00------------Pete Rittwage
4/12/2011 @ 22:11--------------Nate
4/12/2011 @ 22:58----------------Pete Rittwage
4/13/2011 @ 11:00------------Lord Crass
4/14/2011 @ 17:29--------------Nate
4/14/2011 @ 19:56----------------Lord Crass
4/14/2011 @ 20:25------------------Pete Rittwage
4/15/2011 @ 23:10----------------J Achernar

--- 0 Users Online --- 0 Recent Unique Posters

Q53=1669889439 - Threads: / 1669889439