Rob McMullen
476f0cd568
Added splitting-on-comments when using get_entire_style_ranges, refs: https://github.com/robmcmullen/omnivore/issues/117
2017-03-12 14:16:08 -07:00
Rob McMullen
5f9acaa802
Added UnsupportedDiskImage error to show that the disk has a known format but it's not able to be parsed
2017-03-07 11:05:16 -08:00
Rob McMullen
e38b94fc0c
Added extra parameter to ScreenSaver encode_data method
...
* intended to be a link back to the user interface in case it needs to use a dialog to get more info from the user
2017-03-04 17:21:25 -08:00
Rob McMullen
e980019bf6
Moved Atari boot disk-specific stuff out of base class
2017-03-02 12:28:05 -08:00
Rob McMullen
d23f1abda7
Fixed Atari boot disk so it's recognized again
2017-03-02 12:16:22 -08:00
Rob McMullen
334fc3644c
reordered display of command line arguments when using -h
2017-02-27 12:38:28 -08:00
Rob McMullen
ea09ec8833
Changed remove to delete: renamed argument -r to -d
2017-02-27 11:56:08 -08:00
Rob McMullen
1f7d82c208
Fixed file type setting adding a file to DOS 3.3
2017-02-26 21:43:20 -08:00
Rob McMullen
6910cb4539
Fixed adding a file to a disk with zero directory entries
2017-02-26 21:35:30 -08:00
Rob McMullen
1262e23df6
Fixed an argument list after refactoring
2017-02-26 19:55:12 -08:00
Rob McMullen
3e3a547634
removed debug prints
2017-02-26 19:12:32 -08:00
Rob McMullen
9a87d10326
Added extra metadata command to print out lots of info about dirent
2017-02-26 17:08:55 -08:00
Rob McMullen
f00ef7cbea
Fixed variable name typo
2017-02-26 15:26:40 -08:00
Rob McMullen
1011b2dd12
VTOC now respects starting sector label when printing out grid
2017-02-26 15:23:05 -08:00
Rob McMullen
28f2d11be2
Atari DOS disks should start from sector 1
2017-02-26 15:22:28 -08:00
Rob McMullen
eda250185e
Fixed file deletion that was not updating the VTOC
2017-02-26 14:23:58 -08:00
Rob McMullen
e9af557200
Added option to show vtoc
2017-02-26 14:14:25 -08:00
Rob McMullen
74b0a63ef6
Changed meaning of --all to operate on all files rather than just extract all files
2017-02-26 14:10:01 -08:00
Rob McMullen
f4057f6ad5
Added Dirent abstract base class and ability for find_dirent to take filename or dirent
2017-02-26 14:06:29 -08:00
Rob McMullen
4d1f17677d
Added pretty printing of VTOC by track
...
* changed VTOC, Directory classes to keep pointer to header, not just sector sizes
2017-02-26 13:34:07 -08:00
Rob McMullen
151cf06115
Added --shred command line arg to fill free sectors with zero
2017-02-26 13:07:36 -08:00
Rob McMullen
91dc32e430
Added missing argument to create_executable_file_image
2017-02-26 12:45:54 -08:00
Rob McMullen
718101d4a4
Added -b command line flag to add raw data to executables
2017-02-26 12:31:34 -08:00
Rob McMullen
07cdb05ba2
Added -s command to use pyatasm to assemble MAC/65 source and place it in a file in the disk image
2017-02-26 12:14:23 -08:00
Rob McMullen
3e77cb86bc
Added automatic data byte marking for XEX expanded files
2017-02-24 23:48:10 -08:00
Rob McMullen
39b988863c
Extract load addr for DOS 3.3 binary files
...
* automatically mark first 4 bytes of binary file as data
* made summary, file_type properties
2017-02-24 23:36:08 -08:00
Rob McMullen
55fd4f00c6
Gracefully handle ProDOS images by saying they aren't supported
2017-02-24 22:20:35 -08:00
Rob McMullen
58932b5bd7
Config logger so it doesn't say it can't find any handlers
2017-02-24 22:20:07 -08:00
Rob McMullen
08be06df62
Updated to version 4.0 for upcoming release
2017-02-24 22:05:41 -08:00
Rob McMullen
d19dd3b218
Added file manipulation commands to atrcopy script
2017-02-24 11:57:51 -08:00
Rob McMullen
8ec391edc9
Removed some debug prints
2017-02-24 10:39:47 -08:00
Rob McMullen
efb0d6ef28
Added count of free sectors based on VTOC allocation table
2017-02-24 10:14:38 -08:00
Rob McMullen
68469e8e92
Added tests for deleting all files
2017-02-24 10:13:31 -08:00
Rob McMullen
9733aa4777
Changed get_filename() into a property
2017-02-24 08:42:04 -08:00
Rob McMullen
3007e384a6
Changed size of last delete test so it will fit on the DOS 3.3 test disk image
2017-02-24 08:24:34 -08:00
Rob McMullen
4485cd7e63
Fixed deleted flag and track/sector list length. Most delete tests pass
2017-02-23 22:54:01 -08:00
Rob McMullen
fe5fc502ca
Progress in deleting DOS 3.3 files
2017-02-23 22:16:18 -08:00
Rob McMullen
7afa2a0e92
Changed file comparisons to numpy array_equals
2017-02-23 22:15:20 -08:00
Rob McMullen
2558a51826
Fixed DOS 3.3 directory sector linking. Tests are starting to pass!
2017-02-23 19:51:22 -08:00
Rob McMullen
605f77afb3
Removed SectorBuilder class; fixed DOS 3.3 track/sector list
...
* put SectorBuildeR functionality into DiskImage
2017-02-23 19:16:22 -08:00
Rob McMullen
9e1e60420c
Added missing method for KBoot
2017-02-23 19:10:52 -08:00
Rob McMullen
f04db6bf29
Fixed directory loading; was referencing first_directory on disk image object
2017-02-23 15:59:42 -08:00
Rob McMullen
4514e46161
Fixed parsing of disk images broken after recent rearrangement of classes
2017-02-23 15:34:56 -08:00
Rob McMullen
6e8cf1c4c4
Moved some classes to different files, fixed Atari dos tests
...
* consolidated bytes_per_sector and sector_size (which mean the same thing) into sector_size
* moved AtrHeader, XfdHeader to ataridos.py
* moved base classes like WriteableSector, SectorList, etc. to utils.py
2017-02-23 14:23:29 -08:00
Rob McMullen
f84cea7170
Moved file creation classes to utils.py
...
* prefer to pass around header than individual attributes so instances can get what they want
2017-02-23 13:53:32 -08:00
Rob McMullen
35c13bb9d5
Added BaseHeader for superclass
2017-02-23 13:02:56 -08:00
Rob McMullen
04edbed853
Fixed VTOC bit packing and unpacking
2017-02-23 12:04:14 -08:00
Rob McMullen
fe01a97c1f
Progress on DOS 33 VTOC using complicated numpy manipulation.
...
* not complete, and may be easier to understand by using a reorder on the raw bytes rather than trying to convert to 16 bit values and skipping every other
2017-02-22 23:19:12 -08:00
Rob McMullen
b87335dfa8
Fixed directory name output; still not passing any tests
2017-02-22 14:01:54 -08:00
Rob McMullen
5a1718bf1d
Changed sector labels for DOS 33 to report track, sector rather than sector number
2017-02-22 12:12:52 -08:00