Skip to content

Commit

Permalink
Commit for DASM version 2.20.11 - build 2014.03.04.
Browse files Browse the repository at this point in the history
Sources were downloaded from the dasm-dillon release on SourceForge.
  • Loading branch information
dionoid committed Aug 8, 2019
1 parent ba9584b commit 8826508
Show file tree
Hide file tree
Showing 113 changed files with 14,772 additions and 1,569 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.o
bin
dasm
ftohex
35 changes: 35 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
$Id: AUTHORS 110 2008-04-08 02:43:12Z phf $

===========
The Authors
===========

The following people contributed code to this distribution of DASM
over the years (alphabetical by first name):

* Andrew Davie <atari2600 at taswegian dot com>
- maintainer (2003-2008)

* John Saeger <john at whimsey dot com>
- support for illegal 6502 opcodes (2003)

* Matthew Dillon <dillon at backplane dot com>
- original author (1988-2002)

* Olaf "Rhialto" Seibert <rhialto at falu dot nl>
- lots of extensions (1995)

* Peter H. Froehlich <phf at acm dot org>
- current maintainer (2008-)

* Thomas Mathys <mathys66 at bluewin dot ch>
- support for Fairchild F8 processor (2004)

Authors hold the copyright for their individual contributions to DASM
and have agreed to distribute DASM and their individual contributions
under the GNU General Public License (see file COPYING).

If you have contributed code to this distribution of DASM but are not
listed above, please contact us! Visit http://dasm-dillon.sf.net/ for
more information.

41 changes: 19 additions & 22 deletions src/copyright.txt → COPYING
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Preamble
Preamble

The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Expand All @@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.

When we speak of free software, we are referring to freedom, not
Expand Down Expand Up @@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE

GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains
Expand Down Expand Up @@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
Expand Down Expand Up @@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
Expand Down Expand Up @@ -225,7 +225,7 @@ impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
Expand Down Expand Up @@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

NO WARRANTY
NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
Expand All @@ -277,11 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

END OF TERMS AND CONDITIONS


How to Apply These Terms to Your New Programs
How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
Expand All @@ -305,10 +303,9 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Also add information on how to contact you by electronic and paper mail.

Expand Down Expand Up @@ -338,5 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
48 changes: 48 additions & 0 deletions CREDITS
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
$Id: CREDITS 327 2014-02-09 13:06:55Z adavie $

===========
The Credits
===========

The following people hacked DASM, but their modifications have not
been integrated yet (alphabetical by first name):

* Lasse Oeoerni <loorni at gmail dot com>
- fixed various problems (1999-2004)

The following people helped by building binaries/executables for
various platforms (alphabetical by first name):

* James Wilkinson <james at slor dot net>
- BeOS and Linux (2005)

* Jason Rein <jjrein at earthlink dot net>
- Mac OS 9 (2003)

* Jay Carlson <nop at nop dot com>
- MS-DOS and Unix (1993)

* Jeremy Penner <jeremy at sporktania dot com>
- Mac OS X (2003)

* Peter Gordon <pete at petergordon dot org dot uk>
- Amiga OS3 and OS4 (2003)

* Rob Kudla <webmaster at kudla dot org>
- Linux including RPMs (2003)

The following people allowed us to distribute their example code
with DASM (alphabetical by first name):

* Rob Kudla <webmaster at kudla dot org>
- Boing! demo for Atari 2600 (2008)

Note that inclusion of example code in the DASM distribution does
not put that code under the GNU General Public License by default.
If you want to modify and redistribute example code from people
listed above, read the license on their code carefully, or contact
them directly for permission if in doubt.

If you helped with DASM but are not listed here, please contact us!
Visit http://dasm-dillon.sf.net/ for more information.

136 changes: 136 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
$Id: ChangeLog 114 2008-04-08 02:50:35Z phf $

Note that we document changes to the source files and
closely related files (Makefile, test cases) only, this
is *not* a complete record of every single change ever
made. Check the Subversion logs for that. :-)

2008-04-07 Peter H. Froehlich <phf at acm dot org>

* Makefile (dist:): added README.ANDREW and CREDITS;
corrected test/atari2600/ pattern

* test/atari2600/*: removed one Atari 2600 test case
due to concerns about the original Atari copyright
on the code; adjusted Makefile accordingly

* src/main.c, doc/dasm.txt: synchronized usage information
between dasm itself and the documentation for dasm

* src/main.c: completely removed deprecated -t option

* src/ftohex.c: removed _fmode stuff that was necessary
for ancient C compilers for DOS

2008-04-06 Peter H. Froehlich <phf at acm dot org>

* Makefile: removed Apple specific warning option, added
-p to mkdir in build target (thanks to Andrew Davie);
added a test target to run all tests from trunk; added
"recursive clean" for test directory to clean target;
fixed dist target to allow for correctly structured
source and binary releases; default target now builds
DASM; install target added but just prints a warning

* test/*: imported Matt Dillon's original test cases from
his 2.16 release

* test/atari2600/*: added two "real" Atari 2600 programs as
test cases and created a trivial testing framework

* test/Makefile, test/run_tests.sh: created a slightly more
advanced testing framework, still far from decent though

* ChangeLog: finally wrote this file for everything that
happened since I took over :-)

2008-04-05 Peter H. Froehlich <phf at acm dot org>

* src/main.c: made command line behavior more Unix-like by
removing "spurious" output (version, completed); added a
new -E option to control format of error messages; also
refactored asmerr() to make it somewhat cleaner

* src/asm.h src/global.c src/main.c: turned -T sortmode stuff
into a proper enum type and refactored main.c code to use
enum constants for range checking

* Makefile: added to produce beta releases as well as final
releases; beta releases work, final releases don't yet

* src/*: introduced the new "standard header" in all our
source files

2008-04-04 Peter H. Froehlich <phf at acm dot org>

* src/asm.h: completely removed the old "bool" defines,
were not in use anymore anyway (see 2008-04-01)

* src/main.c: replaced calls of non-standard atoi() with
standard strtol(), no error checking yet; added range
checking for -T option

* src/asm.h src/globals.c src/main.c: introduced a "regular"
configuration variable F_sortmode for the -T option; the
bTableSort hack is however not gone yet

* src/Makefile: switched on many more warning options,
including -Wextra temporarily

* src/*: fixed more warnings, many of which came from
what -Wextra said about field initializations in the
opcode tables

* src/asm.h src/mne*.c: added MNEMONIC_NULL macro to
mark the end of MNEMONIC tables correctly and without
duplicating the code in every file

2008-04-03 Peter H. Froehlich <phf at acm dot org>

* src/Makefile: added target to make an alpha release,
reorganized structure to be more obvious

2008-04-02 Peter H. Froehlich <phf at acm dot org>

* src/main.c (CompareAlpha, CompareAddress): rewrote
CompareAlpha() to call strcasecmp() instead of
allocating memory for both strings, converting
them to lower case inline with one loop for each
string, calling strcmp(), and then freeing memory
again; also corrected the casts from const void*
to const SYMBOL** following the example for qsort(3)
from the Linux man page

* src/Makefile: switched on many more warning options

* src/*: fixed lots of warnings: shadowing, some
more static, lots and lots of const (and casts
losing const when they shouldn't)

2008-04-01 Peter H. Froehlich <phf at acm dot org>

* src/mnef8.c: replaced uses of non-standard stricmp() with
standard strcasecmp()

* src/asm.h (SYMBOL): made "value" field signed again, fixing
the long-standing "-1 bug" (partially for sure)

* src/asm.h: switched to stdbool.h from custom define for bool

* test/negative.h: added a new test case for negative literals

* src/Makefile: use gcc to build on Unix systems, added mnef8.c
to dependencies, added a "clean" target, switched to C99 and
enabled many warning options

* src/*: fixed lots of warnings in all source files, mostly
concerned with initializion of MNEMONIC tables and various
printf format codes; also added "static" to many functions
that are used only within one file and removed several of
the prototypes that were unnecessary because of this

Note that there is a long and involved history of changes from
before 2.20.11 that was not reconstructed here. It would be an
interesting (if Quixotic) project to actually do the necessary
research, but it's not on my agenda for the near future.

Loading

0 comments on commit 8826508

Please sign in to comment.