Rob McMullen
37c2311d1b
Fixed some python 3 bytes/string issues
2017-05-08 22:26:48 -07:00
Rob McMullen
8284ae23b3
Changed to floor division which works on both py2 and py3
2017-05-08 11:03:04 -07:00
Rob McMullen
c30f390fed
All tests passing for python 3
2017-05-07 19:33:38 -07:00
Rob McMullen
841aa1dc9b
WIP for py3 support
2017-05-07 18:58:10 -07:00
Rob McMullen
bddae24cb1
Futurize --stage1 changes
2017-05-07 13:31:45 -07:00
Rob McMullen
6047824405
Added 'if _xd:' wrapper around expensive debug logging calls
...
* generating numpy lists for printing is pretty expensive when doing it thousands of time as in the unit tests
2017-05-07 12:23:51 -07:00
Rob McMullen
aef23b879a
Fixed abbreviation of bytes: should be "B", not "b" which is bits
2017-05-06 19:53:15 -07:00
Rob McMullen
43c330c925
Fixed atari assembly and updated docs
2017-05-06 17:06:55 -07:00
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
e93f09e298
Added --run-addr (--brun) command line param
...
* for dos33, have to create a tiny segment at the beginning to store a JMP if addr is not the first byte in the first segment
2017-05-02 11:17:32 -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
c897460df0
PEP8 whitespace fixes
2017-03-23 10:06:37 -07:00
Rob McMullen
6f29e6053a
Added resizable segments
2017-03-22 22:34:21 -07:00
Rob McMullen
e7f0b49c34
Added comments for VTOC, Directory sectors in Atari, Apple DOS formats
2017-03-20 23:12:54 -07:00
Rob McMullen
f152a7dd2d
Change to data style for some known locations
2017-03-20 14:29:08 -07: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
9a87d10326
Added extra metadata command to print out lots of info about dirent
2017-02-26 17:08:55 -08:00
Rob McMullen
28f2d11be2
Atari DOS disks should start from sector 1
2017-02-26 15:22:28 -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
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
9733aa4777
Changed get_filename() into a property
2017-02-24 08:42:04 -08:00
Rob McMullen
fe5fc502ca
Progress in deleting DOS 3.3 files
2017-02-23 22:16:18 -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
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
d851a06ae1
WIP on DOS 3.3 support
2017-02-22 07:19:52 -08:00
Rob McMullen
ea92e91865
Added file deletion for Atari DOS
2017-02-21 23:07:24 -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
3a988495e8
Added extra verbosity to show parsing error
2016-10-01 18:42:39 -07:00
Rob McMullen
441c6f449f
Fix for stale code in 130k disk image support
2016-09-21 15:24:50 -07:00
Rob McMullen
7500aafce1
Added strict/relaxed checking to allow autoload scanning to match as narrowly as possible
...
* added cart image names from atari800 source
2016-06-02 16:59:59 -07:00
Rob McMullen
68de323d3f
Added better error checking for atari DOS executables
2016-06-01 15:37:28 -07:00
Rob McMullen
f1038329ee
Added parsers and MIME type definitions from Omnivore
...
* restructured main script to use parsers, replacing the old logic
2016-06-01 15:11:30 -07:00
Rob McMullen
eaca5e166a
Added XEX creator from a list of segments
2016-05-05 17:14:23 -07:00
Rob McMullen
bc7097dfd0
Fix for incorrect ObjSegment call when there's a short segment header
2016-05-04 11:18:50 -07:00
Rob McMullen
6a924a5970
Removed wxpython specific get_file_dialog_wildcard out of atrcopy & added more descriptive class attribute names for segment saver info
2016-04-19 16:01:05 -07:00
Rob McMullen
97394e0e89
Added some logging, version number to 2.6.0
2016-04-12 17:13:33 -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
1ab03e2612
Fixed typo in Atari DOS vtoc parsing
2016-04-12 11:47:27 -07:00
Rob McMullen
5465edcfdf
Added error checking for valid VTOC
2016-03-28 15:48:46 -07:00
Rob McMullen
66e7c14ddb
Changed permissions to 644
2016-03-25 16:09:29 -07:00
Rob McMullen
c8ccd73779
Added SegmentData class and updated to version 2.5.0 in preparation for adding comments
2016-03-25 16:08:50 -07:00
Rob McMullen
06aa3bfa9b
Added verbose info for segments using dirents
2016-03-05 20:53:08 -08:00
Rob McMullen
d6fec961b8
Added verbose_info property for segments allowing more descriptive text
2016-03-04 23:52:05 -08:00
Rob McMullen
c30aaa451a
Fixed single density boot sector indexing for double density disks
2016-02-12 22:01:39 -08:00