Rob McMullen
cb9f592762
Removed some debug prints
2019-03-08 10:34:55 -08:00
Rob McMullen
c57c35eeec
Added create_emulator_boot_segment to disk images and files
...
* prepare a segment that can be written to disk and booted by an emulator
2018-10-26 10:53:35 -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
664963cb58
Fixed some exception calls
2018-06-24 18:39:15 -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
223f8fc1ff
Fixed #12 : changed utf-8 encoding to latin1
2018-06-24 09:53:22 -07:00
Rob McMullen
1968cd9717
Fixes to convert filenames to str rather than bytes
2018-06-23 22:05:35 -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
b1e7aff40b
Fixed exceptions for py3
...
* added usage summary if no args
2018-03-22 12:25:29 -07:00
Rob McMullen
db970c1caa
Fixed #7 : removed check for low load address; have examples of loading boot sectors at $0080
...
* added new check for valid ATR disk image size if boot sector not recognized
2017-10-02 11:14:02 -07:00
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