Skip to content

Commit

Permalink
updated to r2202 from svn repo
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Apr 19, 2020
1 parent af962ae commit cb68c41
Show file tree
Hide file tree
Showing 22 changed files with 1,590 additions and 233 deletions.
3 changes: 1 addition & 2 deletions 64tass.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Turbo Assembler 6502/65C02/65816/DTV
$Id: 64tass.c 2158 2020-03-22 07:58:51Z soci $
$Id: 64tass.c 2199 2020-04-06 21:07:14Z soci $
6502/65C02 Turbo Assembler Version 1.3
(c) 1996 Taboo Productions, Marek Matula
Expand Down Expand Up @@ -4879,7 +4879,6 @@ int main2(int *argc2, char **argv2[]) {
int argc;

err_init(*argv2[0]);
setvbuf(stdout, NULL, _IOLBF, 1024);
avltree_init(&star_root);
objects_init();
init_section();
Expand Down
4 changes: 2 additions & 2 deletions 64tass.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
$Id: 64tass.h 2176 2020-03-23 20:12:04Z soci $
$Id: 64tass.h 2200 2020-04-07 19:18:23Z soci $
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -23,7 +23,7 @@
#include "inttypes.h"
#include "wait_e.h"
#ifndef REVISION
#define REVISION "2176?"
#define REVISION "2200?"
#endif
#undef VERSION
#define VERSION "1.55." REVISION
Expand Down
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ OBJ = 64tass.o opcodes.o str.o avl.o my_getopt.o eval.o error.o section.o \
intobj.o bitsobj.o functionobj.o instruction.o unicode.o unicodedata.o listing.o \
registerobj.o dictobj.o namespaceobj.o operobj.o gapobj.o typeobj.o noneobj.o \
longjump.o wctype.o wchar.o math.o arguments.o optimizer.o opt_bit.o labelobj.o \
errorobj.o macroobj.o mfuncobj.o identobj.o memblocksobj.o foldobj.o main.o
errorobj.o macroobj.o mfuncobj.o identobj.o memblocksobj.o foldobj.o main.o console.o
LDLIBS = -lm
LANG = C
REVISION := $(shell svnversion | grep --color=none "^[1-9]" || echo "2176?")
REVISION := $(shell svnversion | grep --color=none "^[1-9]" || echo "2200?")
CFLAGS = -O2 -W -Wall -Wextra -Wwrite-strings -Wshadow -fstrict-aliasing -DREVISION="\"$(REVISION)\"" -Wstrict-aliasing=2 -Werror=missing-prototypes
LDFLAGS = -g
CFLAGS += $(LDFLAGS)
Expand Down Expand Up @@ -71,6 +71,7 @@ codeobj.o: codeobj.c codeobj.h obj.h attributes.h inttypes.h values.h \
namespaceobj.h listobj.h intobj.h bitsobj.h bytesobj.h oper_e.h \
operobj.h gapobj.h typeobj.h noneobj.h errorobj.h memblocksobj.h \
identobj.h addressobj.h
console.o: console.c console.h stdbool.h
dictobj.o: dictobj.c dictobj.h obj.h attributes.h inttypes.h eval.h \
stdbool.h error.h errors_e.h avl.h variables.h str.h intobj.h listobj.h \
values.h strobj.h boolobj.h operobj.h oper_e.h typeobj.h noneobj.h \
Expand All @@ -82,7 +83,7 @@ error.o: error.c error.h attributes.h stdbool.h errors_e.h avl.h \
inttypes.h wchar.h file.h str.h 64tass.h wait_e.h unicode.h eval.h \
arguments.h opcodes.h section.h macro.h strobj.h obj.h addressobj.h \
values.h registerobj.h namespaceobj.h operobj.h oper_e.h typeobj.h \
labelobj.h errorobj.h noneobj.h identobj.h
labelobj.h errorobj.h noneobj.h identobj.h console.h
errorobj.o: errorobj.c errorobj.h obj.h attributes.h inttypes.h \
errors_e.h str.h stdbool.h eval.h values.h error.h avl.h 64tass.h \
wait_e.h file.h macro.h typeobj.h registerobj.h namespaceobj.h
Expand Down Expand Up @@ -149,7 +150,7 @@ macroobj.o: macroobj.c macroobj.h obj.h attributes.h inttypes.h str.h \
stdbool.h values.h eval.h error.h errors_e.h avl.h file.h operobj.h \
oper_e.h typeobj.h namespaceobj.h intobj.h noneobj.h errorobj.h
main.o: main.c 64tass.h attributes.h stdbool.h inttypes.h wait_e.h \
wchar.h error.h errors_e.h avl.h unicode.h
wchar.h error.h errors_e.h avl.h unicode.h console.h
math.o: math.c math.h
memblocksobj.o: memblocksobj.c memblocksobj.h obj.h attributes.h \
inttypes.h stdbool.h values.h error.h errors_e.h avl.h typeobj.h
Expand Down Expand Up @@ -202,7 +203,7 @@ typeobj.o: typeobj.c typeobj.h obj.h attributes.h inttypes.h stdbool.h \
functionobj.h
unicodedata.o: unicodedata.c unicodedata.h attributes.h inttypes.h
unicode.o: unicode.c unicode.h attributes.h inttypes.h stdbool.h wchar.h \
wctype.h error.h errors_e.h avl.h unicodedata.h str.h
wctype.h error.h errors_e.h avl.h unicodedata.h str.h console.h
values.o: values.c values.h attributes.h obj.h inttypes.h unicode.h \
stdbool.h error.h errors_e.h avl.h strobj.h typeobj.h
variables.o: variables.c variables.h stdbool.h str.h inttypes.h unicode.h \
Expand Down
11 changes: 6 additions & 5 deletions Makefile.amigaos
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ OBJ = 64tass.o opcodes.o str.o avl.o my_getopt.o eval.o error.o section.o \
intobj.o bitsobj.o functionobj.o instruction.o unicode.o unicodedata.o listing.o \
registerobj.o dictobj.o namespaceobj.o operobj.o gapobj.o typeobj.o noneobj.o \
longjump.o wctype.o wchar.o math.o arguments.o optimizer.o opt_bit.o labelobj.o \
errorobj.o macroobj.o mfuncobj.o identobj.o memblocksobj.o foldobj.o main.o
errorobj.o macroobj.o mfuncobj.o identobj.o memblocksobj.o foldobj.o main.o console.o
LDLIBS = -lmsoft
LANG = C
REVISION := $(shell svnversion | grep --color=none "^[1-9]" || echo "2176?")
REVISION := $(shell svnversion | grep --color=none "^[1-9]" || echo "2200?")
CFLAGS = -c99 -soft-float
LDFLAGS =
CFLAGS += $(LDFLAGS)
Expand Down Expand Up @@ -57,6 +57,7 @@ codeobj.o: codeobj.c codeobj.h obj.h attributes.h inttypes.h values.h \
namespaceobj.h listobj.h intobj.h bitsobj.h bytesobj.h oper_e.h \
operobj.h gapobj.h typeobj.h noneobj.h errorobj.h memblocksobj.h \
identobj.h addressobj.h
console.o: console.c console.h stdbool.h
dictobj.o: dictobj.c dictobj.h obj.h attributes.h inttypes.h eval.h \
stdbool.h error.h errors_e.h avl.h variables.h str.h intobj.h listobj.h \
values.h strobj.h boolobj.h operobj.h oper_e.h typeobj.h noneobj.h \
Expand All @@ -68,7 +69,7 @@ error.o: error.c error.h attributes.h stdbool.h errors_e.h avl.h \
inttypes.h wchar.h file.h str.h 64tass.h wait_e.h unicode.h eval.h \
arguments.h opcodes.h section.h macro.h strobj.h obj.h addressobj.h \
values.h registerobj.h namespaceobj.h operobj.h oper_e.h typeobj.h \
labelobj.h errorobj.h noneobj.h identobj.h
labelobj.h errorobj.h noneobj.h identobj.h console.h
errorobj.o: errorobj.c errorobj.h obj.h attributes.h inttypes.h \
errors_e.h str.h stdbool.h eval.h values.h error.h avl.h 64tass.h \
wait_e.h file.h macro.h typeobj.h registerobj.h namespaceobj.h
Expand Down Expand Up @@ -135,7 +136,7 @@ macroobj.o: macroobj.c macroobj.h obj.h attributes.h inttypes.h str.h \
stdbool.h values.h eval.h error.h errors_e.h avl.h file.h operobj.h \
oper_e.h typeobj.h namespaceobj.h intobj.h noneobj.h errorobj.h
main.o: main.c 64tass.h attributes.h stdbool.h inttypes.h wait_e.h \
wchar.h error.h errors_e.h avl.h unicode.h
wchar.h error.h errors_e.h avl.h unicode.h console.h
math.o: math.c math.h
memblocksobj.o: memblocksobj.c memblocksobj.h obj.h attributes.h \
inttypes.h stdbool.h values.h error.h errors_e.h avl.h typeobj.h
Expand Down Expand Up @@ -188,7 +189,7 @@ typeobj.o: typeobj.c typeobj.h obj.h attributes.h inttypes.h stdbool.h \
functionobj.h
unicodedata.o: unicodedata.c unicodedata.h attributes.h inttypes.h
unicode.o: unicode.c unicode.h attributes.h inttypes.h stdbool.h wchar.h \
wctype.h error.h errors_e.h avl.h unicodedata.h str.h
wctype.h error.h errors_e.h avl.h unicodedata.h str.h console.h
values.o: values.c values.h attributes.h obj.h inttypes.h unicode.h \
stdbool.h error.h errors_e.h avl.h strobj.h typeobj.h
variables.o: variables.c variables.h stdbool.h str.h inttypes.h unicode.h \
Expand Down
11 changes: 6 additions & 5 deletions Makefile.amigaos4
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ OBJ = 64tass.o opcodes.o str.o avl.o my_getopt.o eval.o error.o section.o \
intobj.o bitsobj.o functionobj.o instruction.o unicode.o unicodedata.o listing.o \
registerobj.o dictobj.o namespaceobj.o operobj.o gapobj.o typeobj.o noneobj.o \
longjump.o wctype.o wchar.o math.o arguments.o optimizer.o opt_bit.o labelobj.o \
errorobj.o macroobj.o mfuncobj.o identobj.o memblocksobj.o foldobj.o main.o
errorobj.o macroobj.o mfuncobj.o identobj.o memblocksobj.o foldobj.o main.o console.o
LDLIBS = -lm
LANG = C
REVISION := $(shell svnversion | grep --color=none "^[1-9]" || echo "2176?")
REVISION := $(shell svnversion | grep --color=none "^[1-9]" || echo "2200?")
CFLAGS = -O2 -W -Wall -Wextra -DREVISION="\"$(REVISION)\""
LDFLAGS = -s
CFLAGS += $(LDFLAGS)
Expand Down Expand Up @@ -55,6 +55,7 @@ codeobj.o: codeobj.c codeobj.h obj.h attributes.h inttypes.h values.h \
namespaceobj.h listobj.h intobj.h bitsobj.h bytesobj.h oper_e.h \
operobj.h gapobj.h typeobj.h noneobj.h errorobj.h memblocksobj.h \
identobj.h addressobj.h
console.o: console.c console.h stdbool.h
dictobj.o: dictobj.c dictobj.h obj.h attributes.h inttypes.h eval.h \
stdbool.h error.h errors_e.h avl.h variables.h str.h intobj.h listobj.h \
values.h strobj.h boolobj.h operobj.h oper_e.h typeobj.h noneobj.h \
Expand All @@ -66,7 +67,7 @@ error.o: error.c error.h attributes.h stdbool.h errors_e.h avl.h \
inttypes.h wchar.h file.h str.h 64tass.h wait_e.h unicode.h eval.h \
arguments.h opcodes.h section.h macro.h strobj.h obj.h addressobj.h \
values.h registerobj.h namespaceobj.h operobj.h oper_e.h typeobj.h \
labelobj.h errorobj.h noneobj.h identobj.h
labelobj.h errorobj.h noneobj.h identobj.h console.h
errorobj.o: errorobj.c errorobj.h obj.h attributes.h inttypes.h \
errors_e.h str.h stdbool.h eval.h values.h error.h avl.h 64tass.h \
wait_e.h file.h macro.h typeobj.h registerobj.h namespaceobj.h
Expand Down Expand Up @@ -133,7 +134,7 @@ macroobj.o: macroobj.c macroobj.h obj.h attributes.h inttypes.h str.h \
stdbool.h values.h eval.h error.h errors_e.h avl.h file.h operobj.h \
oper_e.h typeobj.h namespaceobj.h intobj.h noneobj.h errorobj.h
main.o: main.c 64tass.h attributes.h stdbool.h inttypes.h wait_e.h \
wchar.h error.h errors_e.h avl.h unicode.h
wchar.h error.h errors_e.h avl.h unicode.h console.h
math.o: math.c math.h
memblocksobj.o: memblocksobj.c memblocksobj.h obj.h attributes.h \
inttypes.h stdbool.h values.h error.h errors_e.h avl.h typeobj.h
Expand Down Expand Up @@ -186,7 +187,7 @@ typeobj.o: typeobj.c typeobj.h obj.h attributes.h inttypes.h stdbool.h \
functionobj.h
unicodedata.o: unicodedata.c unicodedata.h attributes.h inttypes.h
unicode.o: unicode.c unicode.h attributes.h inttypes.h stdbool.h wchar.h \
wctype.h error.h errors_e.h avl.h unicodedata.h str.h
wctype.h error.h errors_e.h avl.h unicodedata.h str.h console.h
values.o: values.c values.h attributes.h obj.h inttypes.h unicode.h \
stdbool.h error.h errors_e.h avl.h strobj.h typeobj.h
variables.o: variables.c variables.h stdbool.h str.h inttypes.h unicode.h \
Expand Down
11 changes: 6 additions & 5 deletions Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ OBJ = 64tass.o opcodes.o str.o avl.o my_getopt.o eval.o error.o section.o \
intobj.o bitsobj.o functionobj.o instruction.o unicode.o unicodedata.o listing.o \
registerobj.o dictobj.o namespaceobj.o operobj.o gapobj.o typeobj.o noneobj.o \
longjump.o wctype.o wchar.o math.o arguments.o optimizer.o opt_bit.o labelobj.o \
errorobj.o macroobj.o mfuncobj.o identobj.o memblocksobj.o foldobj.o main.o
errorobj.o macroobj.o mfuncobj.o identobj.o memblocksobj.o foldobj.o main.o console.o
LDLIBS = -lm
LANG = C
REVISION := $(shell svnversion | grep --color=none "^[1-9]" || echo "2176?")
REVISION := $(shell svnversion | grep --color=none "^[1-9]" || echo "2200?")
CFLAGS = -O2 -march=i586 -W -Wall -Wextra -DREVISION="\"$(REVISION)\""
LDFLAGS = -s
CFLAGS += $(LDFLAGS)
Expand Down Expand Up @@ -55,6 +55,7 @@ codeobj.o: codeobj.c codeobj.h obj.h attributes.h inttypes.h values.h \
namespaceobj.h listobj.h intobj.h bitsobj.h bytesobj.h oper_e.h \
operobj.h gapobj.h typeobj.h noneobj.h errorobj.h memblocksobj.h \
identobj.h addressobj.h
console.o: console.c console.h stdbool.h
dictobj.o: dictobj.c dictobj.h obj.h attributes.h inttypes.h eval.h \
stdbool.h error.h errors_e.h avl.h variables.h str.h intobj.h listobj.h \
values.h strobj.h boolobj.h operobj.h oper_e.h typeobj.h noneobj.h \
Expand All @@ -66,7 +67,7 @@ error.o: error.c error.h attributes.h stdbool.h errors_e.h avl.h \
inttypes.h wchar.h file.h str.h 64tass.h wait_e.h unicode.h eval.h \
arguments.h opcodes.h section.h macro.h strobj.h obj.h addressobj.h \
values.h registerobj.h namespaceobj.h operobj.h oper_e.h typeobj.h \
labelobj.h errorobj.h noneobj.h identobj.h
labelobj.h errorobj.h noneobj.h identobj.h console.h
errorobj.o: errorobj.c errorobj.h obj.h attributes.h inttypes.h \
errors_e.h str.h stdbool.h eval.h values.h error.h avl.h 64tass.h \
wait_e.h file.h macro.h typeobj.h registerobj.h namespaceobj.h
Expand Down Expand Up @@ -133,7 +134,7 @@ macroobj.o: macroobj.c macroobj.h obj.h attributes.h inttypes.h str.h \
stdbool.h values.h eval.h error.h errors_e.h avl.h file.h operobj.h \
oper_e.h typeobj.h namespaceobj.h intobj.h noneobj.h errorobj.h
main.o: main.c 64tass.h attributes.h stdbool.h inttypes.h wait_e.h \
wchar.h error.h errors_e.h avl.h unicode.h
wchar.h error.h errors_e.h avl.h unicode.h console.h
math.o: math.c math.h
memblocksobj.o: memblocksobj.c memblocksobj.h obj.h attributes.h \
inttypes.h stdbool.h values.h error.h errors_e.h avl.h typeobj.h
Expand Down Expand Up @@ -186,7 +187,7 @@ typeobj.o: typeobj.c typeobj.h obj.h attributes.h inttypes.h stdbool.h \
functionobj.h
unicodedata.o: unicodedata.c unicodedata.h attributes.h inttypes.h
unicode.o: unicode.c unicode.h attributes.h inttypes.h stdbool.h wchar.h \
wctype.h error.h errors_e.h avl.h unicodedata.h str.h
wctype.h error.h errors_e.h avl.h unicodedata.h str.h console.h
values.o: values.c values.h attributes.h obj.h inttypes.h unicode.h \
stdbool.h error.h errors_e.h avl.h strobj.h typeobj.h
variables.o: variables.c variables.h stdbool.h str.h inttypes.h unicode.h \
Expand Down
Loading

0 comments on commit cb68c41

Please sign in to comment.