1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-02 18:06:48 +00:00
Commit Graph

1931 Commits

Author SHA1 Message Date
cuz
1c715a5ee3 Added ERR_EXPECTED_EOF
git-svn-id: svn://svn.cc65.org/cc65/trunk@201 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 06:37:53 +00:00
cuz
62abe29353 Added string handling functions: .STRLEN and .STRAT
git-svn-id: svn://svn.cc65.org/cc65/trunk@199 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-25 21:32:11 +00:00
cuz
5ee142c7c2 Bumped the .IF nesting to 256
git-svn-id: svn://svn.cc65.org/cc65/trunk@198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-25 21:31:54 +00:00
cuz
2f933e35d7 Bumped the version number
git-svn-id: svn://svn.cc65.org/cc65/trunk@175 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-20 06:05:28 +00:00
cuz
a7e0a65131 Fixed a problem with the add and sub macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@172 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-19 09:24:12 +00:00
cuz
5337ff7bcd Fixed some gcc warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@169 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-18 22:39:35 +00:00
cuz
bb2fbd6282 Fixed a gcc warning
git-svn-id: svn://svn.cc65.org/cc65/trunk@168 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-18 22:35:05 +00:00
cuz
110b322903 Fix some gcc warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@167 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-18 22:32:50 +00:00
cuz
70aa776d33 Removed duplicate variable ProgName
git-svn-id: svn://svn.cc65.org/cc65/trunk@153 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-15 12:33:56 +00:00
cuz
359a89d0bf Added the .TCOUNT function
git-svn-id: svn://svn.cc65.org/cc65/trunk@151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-15 10:33:32 +00:00
cuz
f88d81a393 Change intermediate file name for grc from .ss to .s
git-svn-id: svn://svn.cc65.org/cc65/trunk@148 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-15 08:45:31 +00:00
cuz
c69ab79e76 Update from Maciek
git-svn-id: svn://svn.cc65.org/cc65/trunk@147 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-15 08:43:55 +00:00
cuz
0e460243fd Fix macro output in the listing
git-svn-id: svn://svn.cc65.org/cc65/trunk@141 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-09 13:19:25 +00:00
cuz
3f4da40d6d Added -h option
git-svn-id: svn://svn.cc65.org/cc65/trunk@137 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-08 21:01:02 +00:00
cuz
fbe694bca3 Added/finished .MID, .LEFT, .RIGHT
git-svn-id: svn://svn.cc65.org/cc65/trunk@136 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-08 14:01:43 +00:00
cuz
3e416337b2 Fixed translation table for GEOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@134 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-30 19:45:13 +00:00
cpg
ac3ebc0989 adapted CfgAtari for maximum memory
git-svn-id: svn://svn.cc65.org/cc65/trunk@131 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 23:08:44 +00:00
cuz
158714acf9 Working on .MID
git-svn-id: svn://svn.cc65.org/cc65/trunk@130 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 17:48:28 +00:00
cuz
0ebf91be52 Check for duplicate files in an argument list and print a warning
git-svn-id: svn://svn.cc65.org/cc65/trunk@129 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-25 14:08:36 +00:00
cuz
6b002da603 Removed the strexpr module and placed the implementation of the .STRING
builtin function into the NextTok function.
Added the .CONCAT function.


git-svn-id: svn://svn.cc65.org/cc65/trunk@113 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-23 20:49:47 +00:00
cuz
85402a4323 Added the .depend file
git-svn-id: svn://svn.cc65.org/cc65/trunk@111 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 21:29:11 +00:00
cuz
4e647d2d68 Added support for geos resource files
git-svn-id: svn://svn.cc65.org/cc65/trunk@110 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 21:22:39 +00:00
cuz
38288d7eef Added grc
git-svn-id: svn://svn.cc65.org/cc65/trunk@108 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 21:05:03 +00:00
cuz
8b971f7c73 Created a gcc makefile for grc
git-svn-id: svn://svn.cc65.org/cc65/trunk@107 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 21:02:43 +00:00
cuz
53485bc321 First import of resource compiler by Maciej
git-svn-id: svn://svn.cc65.org/cc65/trunk@106 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 21:00:33 +00:00
cuz
553063a498 Fixed usage text
git-svn-id: svn://svn.cc65.org/cc65/trunk@100 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 11:45:01 +00:00
cuz
120cdab4aa Bumped the version number
git-svn-id: svn://svn.cc65.org/cc65/trunk@99 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 11:39:13 +00:00
cuz
7bd93e9e82 New long option: --debug
git-svn-id: svn://svn.cc65.org/cc65/trunk@98 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 11:38:57 +00:00
cuz
9e83b00152 Rewrote parsing of locals.
Removed non working code for register variables.


git-svn-id: svn://svn.cc65.org/cc65/trunk@96 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 11:28:39 +00:00
cuz
ea43c68b9b Changed usage information text
git-svn-id: svn://svn.cc65.org/cc65/trunk@95 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-22 11:13:38 +00:00
cuz
04ee693c00 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@91 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-21 21:02:44 +00:00
cpg
e27fafbea3 set MAX_INC_NESTING to 20
git-svn-id: svn://svn.cc65.org/cc65/trunk@90 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-21 00:10:12 +00:00
cuz
dff9bae70a Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@89 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-20 06:53:01 +00:00
cuz
c31008c78a Remove io.*, some cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@87 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-15 19:03:01 +00:00
cuz
7329d4acb3 New long option --static-locals
git-svn-id: svn://svn.cc65.org/cc65/trunk@85 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 21:20:45 +00:00
cuz
4b1abd7cc9 Better error messages when opening include files
git-svn-id: svn://svn.cc65.org/cc65/trunk@83 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 21:07:58 +00:00
cuz
aa8737733f Use the xmalloc module from the common directory.
Rewrote the include file management, keeping a list of all include files
and cleaning up the code while going.


git-svn-id: svn://svn.cc65.org/cc65/trunk@82 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 21:01:37 +00:00
cuz
500233166a 65C02 additions, saved a few bytes in the code generator
git-svn-id: svn://svn.cc65.org/cc65/trunk@80 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 16:58:52 +00:00
cuz
409d12534b New option --add-source
git-svn-id: svn://svn.cc65.org/cc65/trunk@79 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 10:58:52 +00:00
cuz
6d33db1291 Just renames
git-svn-id: svn://svn.cc65.org/cc65/trunk@78 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 10:03:59 +00:00
cuz
623c1e6ffc Module now in common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@77 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 10:03:34 +00:00
cuz
6976b75308 Remove unneeded includes
git-svn-id: svn://svn.cc65.org/cc65/trunk@76 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 10:03:26 +00:00
cuz
1b25672550 Initialize command line to make ProgName valid
git-svn-id: svn://svn.cc65.org/cc65/trunk@75 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 10:02:48 +00:00
cuz
cf71093fe9 Code now in common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@74 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 10:02:05 +00:00
cuz
c2b19b5e00 Use stuff from the common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@73 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 10:01:36 +00:00
cuz
ecdce2cd16 Fix problematic code. Use more stuff from the shared modules.
git-svn-id: svn://svn.cc65.org/cc65/trunk@72 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 10:00:55 +00:00
cuz
2767f66146 Place shared modules into the common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@71 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 09:57:42 +00:00
cuz
6a482b59fa Move stuff into the common directory
git-svn-id: svn://svn.cc65.org/cc65/trunk@70 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 09:38:07 +00:00
cuz
1081c1dcdd More common subroutines
git-svn-id: svn://svn.cc65.org/cc65/trunk@69 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 09:32:22 +00:00
cuz
114bc5a370 Some basic support for the 65C02 CPU.
Use the command line module from common/ and support long options.
Rename the include module to incpath (as in the assembler).


git-svn-id: svn://svn.cc65.org/cc65/trunk@67 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 08:18:19 +00:00
cuz
f1feae3a97 Rename a function
git-svn-id: svn://svn.cc65.org/cc65/trunk@66 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 07:48:27 +00:00
cuz
b9ce81c7e3 Fixed an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@65 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 07:35:00 +00:00
cuz
93be370fa4 Use new cmdline module
git-svn-id: svn://svn.cc65.org/cc65/trunk@64 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 07:22:25 +00:00
cuz
94cee5c9b2 New module for command line parsing
git-svn-id: svn://svn.cc65.org/cc65/trunk@63 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-14 07:09:10 +00:00
cuz
9cc25f13b6 Added support for old style (K&R) function declarations.
Several renames for better readibility.
Removed separate struct and enum symbol tables in favour of one tag table.
Check for some more error conditions or dubious constructs.


git-svn-id: svn://svn.cc65.org/cc65/trunk@62 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-12 18:31:40 +00:00
cuz
04dee08f58 Minor changes for MSC compatibility
git-svn-id: svn://svn.cc65.org/cc65/trunk@61 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-12 12:32:39 +00:00
cuz
8f1688015b Removed a duplicate line
git-svn-id: svn://svn.cc65.org/cc65/trunk@60 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-12 09:29:13 +00:00
cuz
4219ffcb6a Fix minor function handling stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@53 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:33:25 +00:00
cuz
e932798ead Add knowledge about a few more runtime functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@52 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:32:54 +00:00
cuz
699a7cbf3f Remove functions that do no longer exist
git-svn-id: svn://svn.cc65.org/cc65/trunk@51 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:32:37 +00:00
cuz
2e532d9ccd Explicitly clear reserved storage with $00.
git-svn-id: svn://svn.cc65.org/cc65/trunk@50 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 16:32:12 +00:00
cuz
97c9226c1e Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@43 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-10 10:24:28 +00:00
cuz
84066d5f1c VC++ fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@41 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-09 08:25:15 +00:00
cuz
f24375b241 Fix several VC++ warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@40 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 21:11:48 +00:00
cuz
048930265c Fix several VC++ warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@39 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 21:02:46 +00:00
cuz
386c3d412d Fix several VC++ Warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@38 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 20:55:04 +00:00
cuz
612627f5ca Watcom/NT fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@37 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 20:32:44 +00:00
cuz
774b4bb424 Some work on function stuff.
Use xsprintf from the common directory.
Use hashstr from the common directory.


git-svn-id: svn://svn.cc65.org/cc65/trunk@36 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 20:27:05 +00:00
cuz
b05c1e1111 Use xsprintf in common library
git-svn-id: svn://svn.cc65.org/cc65/trunk@32 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:18:40 +00:00
cuz
12b2ee8f60 Add #define for MSC
git-svn-id: svn://svn.cc65.org/cc65/trunk@31 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-08 18:18:20 +00:00
cuz
522c7e8c46 Added a more generic way to push sources that deliver a token stream
independent of the actual input from the file. Change macro handling
to use the new input stack.
Fixed an error in FreeIf: If an unexpected .ENDIF was reached, the
assembler started an endless loop printing error messages.


git-svn-id: svn://svn.cc65.org/cc65/trunk@24 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-03 11:15:11 +00:00
izydorst
5e561a0f40 ?
git-svn-id: svn://svn.cc65.org/cc65/trunk@23 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-02 02:33:28 +00:00
izydorst
dee6b970a1 *** empty log message ***
git-svn-id: svn://svn.cc65.org/cc65/trunk@22 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-02 02:13:19 +00:00
cuz
58a9481d8d Abort on string overflow
git-svn-id: svn://svn.cc65.org/cc65/trunk@21 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-01 16:41:28 +00:00
cuz
2d99d910b2 Added xsprint to the watcom makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@20 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-01 16:25:05 +00:00
cuz
a561fc35bb Added portability sprintf function
git-svn-id: svn://svn.cc65.org/cc65/trunk@19 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-06-01 16:22:30 +00:00
cuz
1a679b3a20 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@15 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 17:40:38 +00:00
cuz
a1c89d9aed Change the implementation of Add() so it won't modify it's argument.
git-svn-id: svn://svn.cc65.org/cc65/trunk@14 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-30 06:31:09 +00:00
cuz
bca9ccd5b8 Added long options. Added --asm-include-dir to set the include path for
the assembler.


git-svn-id: svn://svn.cc65.org/cc65/trunk@13 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-29 18:41:25 +00:00
cuz
78057df08b Added functions to remember a set of include search paths and to search
for includes in these directories. Extended the scanner to use the new
functions.
Added several command line switches, including -I (--include-dir) to use
the new include search feature.


git-svn-id: svn://svn.cc65.org/cc65/trunk@12 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-29 18:40:56 +00:00
uz
53dd513176 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-05-28 13:40:48 +00:00