Commit Graph

403 Commits

Author SHA1 Message Date
Rob McMullen
956fd58294 Allow DefaultSegment to be created from a simple numpy array 2018-09-18 17:01:26 -07:00
Rob McMullen
266bf24d79 Updated version to 9.0 2018-07-24 10:11:58 -07:00
Rob McMullen
53e937c870 Fixed namespace error of ByteNotInFile166 2018-07-20 08:04:54 -07:00
Rob McMullen
80d47573bb added delete_file stub to LocalFilesystemImage 2018-07-18 19:33:44 -07:00
Rob McMullen
dff073208f Added dummy diskimage to allow writing assembled files to local disk 2018-07-17 18:47:40 -07:00
Rob McMullen
e4ce309bd3 Added file extensions recognition to create_executable_file_image
* you can write a XEX to an Apple DOS 3.3 image, for instance
2018-07-17 18:33:16 -07:00
Rob McMullen
54b7d56085 Added RunAddressSegment that will supply a run addr to assemble
* moved executable file creation into executables.py (XEX, BSAVE, etc.)
2018-07-17 18:10:29 -07:00
Rob McMullen
5f5e911d10 Added check for incomplete file in container unpacking 2018-07-16 07:03:47 -07:00
Rob McMullen
cdac32238e Changed MANIFEST.in to match *_test?.atr* automatically 2018-06-28 10:35:12 -07:00
Rob McMullen
dc4a0a8418 Updated to version 8.2 2018-06-28 10:30:11 -07:00
Rob McMullen
941ab4147a Added ATR header to kboot images 2018-06-28 10:28:55 -07:00
Rob McMullen
80943254b4 Fixed #13: filename/ext need to be bytes, not str in py3 2018-06-28 10:19:11 -07:00
Rob McMullen
0f5d9b845e Updated version to 8.1 2018-06-25 12:02:09 -07:00
Rob McMullen
98e46ac23c Refs #1: BSAVE parser now much more strict on detecting valid file
* size specified in header must now match exactly to the length of data in the file
* i.e.: rejects incomplete files and files with extra data
2018-06-25 11:55:05 -07:00
Rob McMullen
f03517f0b0 Removed duplicate error messages when disk image type isn't supported 2018-06-25 11:35:38 -07:00
Rob McMullen
ca6076b1ad Added compressed container examples to MANIFEST.in 2018-06-24 23:14:13 -07:00
Rob McMullen
b5c4f19e31 Updated version to 8.0 2018-06-24 23:10:41 -07:00
Rob McMullen
6e7497b3d3 Added bz2, xz containers, tests, sample data 2018-06-24 23:07:47 -07:00
Rob McMullen
e32bfc921f Updated readme to emphasize py3.6-only and to show support for compressed containers 2018-06-24 22:22:56 -07:00
Rob McMullen
3262f470f5 More documentation for DiskImageContainer 2018-06-24 20:01:44 -07:00
Rob McMullen
714493b597 Refs #1: added gzip container as reference 2018-06-24 18:40:16 -07:00
Rob McMullen
664963cb58 Fixed some exception calls 2018-06-24 18:39:15 -07:00
Rob McMullen
7659499fdb Refs #1: added detection of DCM images 2018-06-24 17:21:47 -07:00
Rob McMullen
1a7381b865 Classes no longer unnecessarily subclass from object, as in py3 it's the default 2018-06-24 17:20:32 -07:00
Rob McMullen
6b9cf6d4d2 Converted "from errors import *" to "from . import errors" 2018-06-24 12:10:59 -07:00
Rob McMullen
1b7e1fad4c Fixed bytes/str issue for spartados directory 2018-06-24 10:08:07 -07:00
Rob McMullen
223f8fc1ff Fixed #12: changed utf-8 encoding to latin1 2018-06-24 09:53:22 -07:00
Rob McMullen
7e3159b175 Disk image filenames should be str, not encoded bytes 2018-06-24 09:51:46 -07:00
Rob McMullen
8747e7e26b Updated version to 7.1 2018-06-23 22:17:31 -07:00
Rob McMullen
1968cd9717 Fixes to convert filenames to str rather than bytes 2018-06-23 22:05:35 -07:00
Rob McMullen
800c01ccde Fixed #6: changed sparta dos dirent from stomping on 'filename' property of parent class 2018-06-23 21:50:42 -07:00
Rob McMullen
5680505f11 Updated setup to drop py2.7, 3.5 support. 3.6 only now 2018-06-23 20:04:59 -07:00
Rob McMullen
50a66a2dc9 Fixed deserialization to handle the start_addr to origin renaming 2018-06-05 18:13:58 -07:00
Rob McMullen
ff937ebcc0 Removed future library; python 3.6 only as of version 7.0 2018-06-04 10:27:51 -07:00
Rob McMullen
ab05cb1ae1 Changed start_addr to origin 2018-06-04 10:19:08 -07:00
Rob McMullen
caee2554f8 Added segment saver for Apple 2 binary format 2018-05-26 20:14:57 -07:00
Rob McMullen
ebdcb01c40 Changed numpy convenience method tostring to tobytes 2018-05-26 20:07:43 -07:00
Rob McMullen
68debef437 Added create_subset method to DefaultSegment 2018-05-25 12:13:57 -07:00
Rob McMullen
2b95276029 Added magic signature detection
* appends detail to MIME type if match; e.g. application/vnd.atari8bit.atr.jumpman
2018-04-30 22:28:47 -07:00
Rob McMullen
b1e7aff40b Fixed exceptions for py3
* added usage summary if no args
2018-03-22 12:25:29 -07:00
Rob McMullen
5f384fce62 Updated to version 7.0 2018-03-22 12:12:45 -07:00
Rob McMullen
b26d00a08d Added 'boot' command to readme 2018-03-22 12:11:45 -07:00
Rob McMullen
79b1e2c413 fixed kboot to work with the 'boot' command to generate a boot disk 2018-03-21 21:46:20 -07:00
Rob McMullen
64ca982b72 Updated to version 6.5.0 2018-03-09 11:34:36 -08:00
Rob McMullen
cf1fe5344b Fixed #8: added partial template name matching 2018-03-09 11:28:55 -08:00
Rob McMullen
55b368414e Refs #8: added better error message when attempting to load unknown template 2018-03-09 11:06:30 -08:00
Rob McMullen
4185ca5617 Refs #8: added some error checking for templates without .inf files 2018-03-09 11:00:09 -08:00
Rob McMullen
6ea00e263e Profiling speedup #4: changed all types of raw data to use array for reverse index lookup 2017-10-06 12:06:37 -07:00
Rob McMullen
a05d66cde6 Profiling speedup #3: reduce number of function calls inside get_index_from_base_index because it gets called *a lot* in loops 2017-10-05 23:18:41 -07:00
Rob McMullen
1adb4f0a61 Fixed error in calc_lookups; all tests pass 2017-10-05 22:18:25 -07:00