Commit Graph

35 Commits

Author SHA1 Message Date
Rob McMullen
dc25b69d69 Added tests for binary file creation
* fixed return value mismatch in get_xex to create_executable_file_image
2017-05-03 12:00:34 -07:00
Rob McMullen
359e690b1c Added test cases for Atari enhanced density and double density disk images 2017-05-02 19:08:40 -07:00
Rob McMullen
3efb3d1afa Fixed segment resize that wasn't updating data/style attrs in DefaultSegment 2017-05-02 16:17:45 -07:00
Rob McMullen
a739b19cf2 Fixed comment test for change in get_comment_restore_data return value 2017-05-02 15:59:24 -07:00
Rob McMullen
77d11b9f78 Skip jsonpickle tests if jsonpickle not installed 2017-05-02 15:49:33 -07:00
Rob McMullen
053c7a773e Changed get_xex to return segments: root segment & list of sub-segments 2017-03-26 22:19:09 -07:00
Rob McMullen
6f29e6053a Added resizable segments 2017-03-22 22:34:21 -07:00
Rob McMullen
026417b295 Added better comment save/restore methods 2017-03-13 11:49:35 -07:00
Rob McMullen
f1b0f5ebac Added faster comment splitting
* added functions to copy a segment & its base so comments can be marked on the copy of the base and show up in the copy of the segment
2017-03-13 07:05:37 -07:00
Rob McMullen
afa9c9786a Fixed xex creation test 2017-03-12 21:48:13 -07:00
Rob McMullen
bdf0b67075 Fixed segment rawdata copy for non-indexed segments 2017-03-12 21:46:24 -07:00
Rob McMullen
bd4ff9569a Added copy function to raw data 2017-03-12 17:01:28 -07:00
Rob McMullen
68469e8e92 Added tests for deleting all files 2017-02-24 10:13:31 -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
7afa2a0e92 Changed file comparisons to numpy array_equals 2017-02-23 22:15:20 -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
3157b13727 Added tests for DOS 33 disk images; code still failing all tests, but making progress 2017-02-22 12:11:56 -08:00
Rob McMullen
ea92e91865 Added file deletion for Atari DOS 2017-02-21 23:07:24 -08:00
Rob McMullen
7f2b07b221 More tests for writing Atari DOS files 2017-02-21 20:14:16 -08:00
Rob McMullen
c0340a1807 Fixed file number in Atari DOS files 2017-02-21 19:49:03 -08:00
Rob McMullen
767e76671b First code to add files to an Atari DOS image 2017-02-21 19:25:47 -08:00
Rob McMullen
f64ffb777b Added user data serialization and expanded user data to actually use the user_index field so multiple types of user data are actually supported 2016-06-06 14:31:51 -07:00
Rob McMullen
66bb7e63ea Added new test_data directory for test images 2016-06-06 11:53:55 -07:00
Rob McMullen
20feb9c96a Added checks for invalid cart type and added unit tests 2016-06-03 13:05:16 -07:00
Rob McMullen
68de323d3f Added better error checking for atari DOS executables 2016-06-01 15:37:28 -07:00
Rob McMullen
ea9466cda7 Added segment interleaving support 2016-05-17 14:53:52 -07:00
Rob McMullen
0f209cf50a Fixed indexing of sub-arrays 2016-05-10 11:37:01 -07:00
Rob McMullen
4c4da4bf38 Added add_atr_header and removed hack to insert a header into an already existing disk image
* until I think of a better solution, forcing you to create an entirely new disk image
2016-05-05 23:11:06 -07:00
Rob McMullen
6d2f483f40 Changed to my own bootloader rather than kboot 2016-05-05 17:44:20 -07:00
Rob McMullen
eaca5e166a Added XEX creator from a list of segments 2016-05-05 17:14:23 -07:00
Rob McMullen
b977322a4e Initial attempt at adding kboot header 2016-05-03 23:21:01 -07:00
Rob McMullen
a33e5aa6b2 Added segment parsing of DOS files within ATR images
* removed IndexedByteSegment; moved segment order info into SegmentData and OrderWrapper
2016-04-12 17:04:21 -07:00
Rob McMullen
d8236e4edd Added pseudo-serialization for segments, and unit test 2016-04-05 15:48:24 -07: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
dd73ec7db4 Added test generation tools using franny to create disk images 2016-02-07 15:04:56 -08:00