beebasm

changeset 14:f75bd81903ee v1.00

BeebASM v1.00 - first released Mar 30 2008 13:02:19
author Samwise <samwise@bagshot-row.org>
date Sun May 02 12:21:01 2010 +0100
parents 55c5cbd4025e
children 418906016281
files about.txt beebasm.exe demo.ssd src/Makefile.inc src/asmexception.h src/expression.cpp src/main.cpp
diffstat 7 files changed, 18 insertions(+), 12 deletions(-) [+]
line diff
     1.1 --- a/about.txt	Sun May 02 12:19:15 2010 +0100
     1.2 +++ b/about.txt	Sun May 02 12:21:01 2010 +0100
     1.3 @@ -1,6 +1,6 @@
     1.4  *******************************************************************************
     1.5  *                                                                             *
     1.6 -*                               BeebAsm V0.06                                 *
     1.7 +*                               BeebAsm V1.00                                 *
     1.8  *                                                                             *
     1.9  *             A portable 6502 assembler with BBC Micro style syntax           *
    1.10  *                                                                             *
    1.11 @@ -379,7 +379,7 @@
    1.12    it.  However, unlike BBC BASIC, forward references to labels inside the loop
    1.13    will work properly, so, for example, this little multiply routine is
    1.14    perfectly ok:
    1.15 -  
    1.16 +
    1.17              .multiply
    1.18              \\ multiplies A*X, puts result in product/product+1
    1.19              CPX #0:BEQ zero
    1.20 @@ -438,7 +438,7 @@
    1.21            BPL loop
    1.22            RTS
    1.23        }
    1.24 -  
    1.25 +
    1.26        .copy
    1.27        {
    1.28            LDY #31
    1.29 @@ -552,6 +552,8 @@
    1.30  
    1.31  9. VERSION HISTORY
    1.32  
    1.33 +30/03/2008  1.00  First stable release.  Corrected a few C++ compliance
    1.34 +                  issues in the source code.
    1.35  22/01/2008  0.06  Fixed bug with forward-referenced labels in indirect
    1.36                    instructions.
    1.37  09/01/2008  0.05  Added MAPCHAR.  Fixed SKIPTO (see, told you I was doing
     2.1 Binary file beebasm.exe has changed
     3.1 Binary file demo.ssd has changed
     4.1 --- a/src/Makefile.inc	Sun May 02 12:19:15 2010 +0100
     4.2 +++ b/src/Makefile.inc	Sun May 02 12:21:01 2010 +0100
     4.3 @@ -54,17 +54,17 @@
     4.4  
     4.5  # Declare executable names
     4.6  
     4.7 -CC				:=		C:/MinGW/bin/gcc
     4.8 -CXX				:=		C:/MinGW/bin/gcc
     4.9 -LD				:=		C:/MinGW/bin/gcc
    4.10 -MKDIR			:=		C:/Cygwin/bin/mkdir -p
    4.11 -RM				:=		C:/Cygwin/bin/rm -f
    4.12 -ECHO			:=		@@C:/Cygwin/bin/echo -e
    4.13 +CC				:=		gcc
    4.14 +CXX				:=		gcc
    4.15 +LD				:=		gcc
    4.16 +MKDIR			:=		mkdir -p
    4.17 +RM				:=		rm -f
    4.18 +ECHO			:=		@@echo -e
    4.19  
    4.20  
    4.21  # Declare default number of CPUs
    4.22  
    4.23 -CPUS			?=		2
    4.24 +CPUS			?=		1
    4.25  
    4.26  
    4.27  # Set variables according to VERBOSE
     5.1 --- a/src/asmexception.h	Sun May 02 12:19:15 2010 +0100
     5.2 +++ b/src/asmexception.h	Sun May 02 12:21:01 2010 +0100
     5.3 @@ -23,6 +23,7 @@
     5.4  public:
     5.5  
     5.6  	AsmException() {}
     5.7 +	virtual ~AsmException() {}
     5.8  
     5.9  	virtual void Print() const = 0;
    5.10  };
    5.11 @@ -45,6 +46,8 @@
    5.12  	{
    5.13  	}
    5.14  
    5.15 +	virtual ~AsmException_FileError() {}
    5.16 +
    5.17  	virtual void Print() const;
    5.18  
    5.19  	virtual const char* Message() const
     6.1 --- a/src/expression.cpp	Sun May 02 12:19:15 2010 +0100
     6.2 +++ b/src/expression.cpp	Sun May 02 12:21:01 2010 +0100
     6.3 @@ -7,6 +7,7 @@
     6.4  /*************************************************************************************************/
     6.5  
     6.6  #include <cmath>
     6.7 +#include <cerrno>
     6.8  #include <sstream>
     6.9  #include <iomanip>
    6.10  
     7.1 --- a/src/main.cpp	Sun May 02 12:19:15 2010 +0100
     7.2 +++ b/src/main.cpp	Sun May 02 12:21:01 2010 +0100
     7.3 @@ -23,7 +23,7 @@
     7.4  using namespace std;
     7.5  
     7.6  
     7.7 -#define VERSION "0.06"
     7.8 +#define VERSION "1.00"
     7.9  
    7.10  
    7.11  /*************************************************************************************************/
    7.12 @@ -207,7 +207,7 @@
    7.13  		SymbolTable::Instance().Dump();
    7.14  	}
    7.15  
    7.16 -	if ( !GlobalData::Instance().IsSaved() )
    7.17 +	if ( !GlobalData::Instance().IsSaved() && exitCode == EXIT_SUCCESS )
    7.18  	{
    7.19  		cerr << "warning: no SAVE command in source file." << endl;
    7.20  	}