Commit Graph

73 Commits

Author SHA1 Message Date
Rob McMullen
18a12c0225 Changed IndexedByteSegment to use numpy array as order so fancy indexing works in __getitem__ 2016-02-18 10:17:21 -08:00
Rob McMullen
cfaca75052 Include scripts in MANIFEST.in; new version 2.3.1 2016-02-15 22:00:55 -08:00
Rob McMullen
671b55b981 Fixed style operations on IndexedByteSegment 2016-02-13 11:34:45 -08:00
Rob McMullen
2846da9334 Fixed bitmap sector size 2016-02-13 11:34:23 -08:00
Rob McMullen
42d2a977cc Added function to return ranges of selected styles 2016-02-12 22:53:58 -08:00
Rob McMullen
c30aaa451a Fixed single density boot sector indexing for double density disks 2016-02-12 22:01:39 -08:00
Rob McMullen
9f88cd22d2 Fixed some imports 2016-02-12 21:36:08 -08:00
Rob McMullen
3f40a914ea Split monolithic atrcopy.py into multiple files in the atrcopy package
* fixed setup.py to work with package format
2016-02-12 20:36:33 -08:00
Rob McMullen
47c45d9032 Added windows batch script 2016-02-11 23:40:38 -08:00
Rob McMullen
61a855a062 Added SpartaDOS file support
* added timestamp printing
* added -d debug option
2016-02-11 23:23:31 -08:00
Rob McMullen
690cc0aaca Changed binary test data so the file contents repeat on 8 character boundaries making differences easier to spot in Omnivore's char view
* added ranges for file specification
2016-02-11 22:29:51 -08:00
Rob McMullen
c36aebd593 Added SpartaDOS sector map parsing and initial directory support 2016-02-11 19:18:09 -08:00
Rob McMullen
ce36ea9ee6 Initial SpartaDOS support
* updated version number to 2.2.0 impending release of SpartaDOS format
2016-02-11 18:56:26 -08:00
Rob McMullen
7110a056b6 Added error checking for empty files and files with bad sector maps
* added new class of exceptions: InvalidFile
2016-02-11 14:33:47 -08:00
Rob McMullen
c02b983d06 Added conversion from rectangles to ranges 2016-02-11 13:27:52 -08:00
Rob McMullen
20c5b35d9c Added rectangular selection calculations 2016-02-10 13:58:47 -08:00
Rob McMullen
b033afc31c Updated version to 2.1.1 2016-02-10 11:30:39 -08:00
Rob McMullen
463aa15479 Attempt to fix setup script when numpy isn't present
* pip appears to be brokes; numpy can't be automatically installed as a dependency
* added instructions to README
2016-02-10 11:28:29 -08:00
Rob McMullen
76c7028c0a Added selected style, changed comment style to 2
* handle reversed range specifiers
2016-02-10 10:28:36 -08:00
Rob McMullen
967ea446fb style is now tracked in segments, referring back to the disk image to share views among segments 2016-02-09 16:55:24 -08:00
Rob McMullen
3b7c4a8b66 Changed np.uint16 to '<u2' because can't assume we're running on a little-endian machine 2016-02-09 15:43:01 -08:00
Rob McMullen
5ddd6808fc Updated to 2.1.0 2016-02-09 10:45:23 -08:00
Rob McMullen
a377e61fe6 Added atrcopy script 2016-02-09 10:44:41 -08:00
Rob McMullen
b2b08df40c Added fix for xex with bad segment definitions 2016-02-09 10:37:36 -08:00
Rob McMullen
59d5f40e10 Moved main script into run() function 2016-02-09 10:32:02 -08:00
Rob McMullen
7b3c009e63 Put more methods in DiskImageBase and created KBootDirent so that KBoot exes can be extracted using normal extraction routines
* added name to disk image to supply default filename for kboot exes
2016-02-09 10:23:06 -08:00
Rob McMullen
e859fad650 Updated version to 2.0.2 2016-02-08 23:15:55 -08:00
Rob McMullen
8555ead870 Fixed file extraction using old variable name 2016-02-08 22:11:49 -08:00
Rob McMullen
8526e111f1 Updated version number 2016-02-08 14:48:11 -08:00
Rob McMullen
38ca54ed64 Fixed MyDOS sector processing 2016-02-08 14:36:24 -08:00
Rob McMullen
2b71295965 Added filesystem formats to README 2016-02-08 14:09:02 -08:00
Rob McMullen
6e438c049b Added segment savers to be used by Omnivore to provide options to save individual segments 2016-02-08 12:23:38 -08:00
Rob McMullen
d38cee95c3 Added separate image type for boot disks 2016-02-08 10:13:42 -08:00
Rob McMullen
5ed7afc9c3 Initial support for multiple types of disk images
* added KBoot image detection
* created base class for disk images
2016-02-07 22:22:21 -08:00
Rob McMullen
4093077e3c Added enhanced density VTOC2 segment 2016-02-07 18:43:44 -08:00
Rob McMullen
c99f6d38ff Added support for double density images with 128 byte boot sectors 2016-02-07 18:21:13 -08:00
Rob McMullen
dd73ec7db4 Added test generation tools using franny to create disk images 2016-02-07 15:04:56 -08:00
Rob McMullen
acdbe784c5 Fixed file extraction to only happen with -x option 2016-02-07 11:13:49 -08:00
Rob McMullen
63239991e3 Added leading $ to hex values for printing 2016-02-07 11:12:50 -08:00
Rob McMullen
53261afdb0 Added byte_bounds_offset to determine location of start of segment in source data 2016-02-06 11:55:09 -08:00
Rob McMullen
e96a27bd9d Fixed length of IndexedByteSegment 2016-02-06 11:36:57 -08:00
Rob McMullen
ee030df3e1 Workaround for numpy treating indexed arrays as copies: operate on original array using indexes 2016-02-06 11:02:09 -08:00
Rob McMullen
4c4882b2b3 Now requires numpy support because Omnivore does and bumped version number to 2.0.0 2016-02-05 23:08:32 -08:00
Rob McMullen
9907050f5c Added methods to allow overriding of segment type in subclasses
* updated to version 1.3.0
2015-12-22 19:57:17 -08:00
Rob McMullen
be8e0ada1a Created new segment type to hold raw sectors rather than huge number of individual segments
* added segment label function to return sector number and offset into sector given the index
2015-12-14 15:58:29 -08:00
Rob McMullen
784aed230e Updated version to 1.1.1 2015-11-03 15:27:27 -08:00
Rob McMullen
b1453375e9 Added sectors to parse_segments 2015-11-03 14:28:18 -08:00
Rob McMullen
8172194fbe Fixed off-by-one error for sector number validity check 2015-11-03 14:25:43 -08:00
Rob McMullen
e593788227 Updated to version 1.1.0 2015-10-25 22:37:41 -07:00
Rob McMullen
846a744bd1 Added segment parser to AtrDiskImage
* added -s flag to display segments
* added optional name for segments
2015-10-16 10:15:00 -07:00