1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-17 09:07:32 +00:00
Commit Graph

3791 Commits

Author SHA1 Message Date
cuz
c77d0dea94 Implement character set translation and different target systems
git-svn-id: svn://svn.cc65.org/cc65/trunk@295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-21 21:20:40 +00:00
cuz
6f4a92b259 Set the target system also for the assembler
git-svn-id: svn://svn.cc65.org/cc65/trunk@294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-21 21:20:16 +00:00
cuz
1c14beb82d Working on the new parser
git-svn-id: svn://svn.cc65.org/cc65/trunk@293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-20 19:12:43 +00:00
cuz
64dac7e7b7 Working on the new parser
git-svn-id: svn://svn.cc65.org/cc65/trunk@291 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-20 09:25:47 +00:00
cuz
7e59a882c5 Working on the new parser
git-svn-id: svn://svn.cc65.org/cc65/trunk@290 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-19 21:55:06 +00:00
cuz
66b40d1a84 Use more gcc attributes
git-svn-id: svn://svn.cc65.org/cc65/trunk@289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-19 18:16:54 +00:00
cuz
58e6c61a68 Added a module that implements dynamic arrays.
git-svn-id: svn://svn.cc65.org/cc65/trunk@288 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-19 18:16:41 +00:00
cuz
2bcb747b58 Added first code for a parse tree implementation.
git-svn-id: svn://svn.cc65.org/cc65/trunk@287 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-16 09:10:50 +00:00
cuz
25f5c69efa Reworked type comparison and handling of type qualifiers
git-svn-id: svn://svn.cc65.org/cc65/trunk@285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 22:18:26 +00:00
cuz
4f8a02e253 Added an os2 target
git-svn-id: svn://svn.cc65.org/cc65/trunk@281 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 10:21:46 +00:00
cuz
614b50a9b0 Watcom make fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 10:21:26 +00:00
cuz
d8337840c1 Added watcom makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 10:21:08 +00:00
cuz
ebed04f6b2 BIT encoding was wrong for the 65SC02 in immidiate addressing mode
git-svn-id: svn://svn.cc65.org/cc65/trunk@268 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 20:15:44 +00:00
cuz
3b2f6679b5 Don't create code for a subtraction of zero
git-svn-id: svn://svn.cc65.org/cc65/trunk@267 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 19:26:19 +00:00
cuz
679570ce45 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@265 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 11:02:06 +00:00
cuz
bb115c8ae2 Change the implementation of the file table. It may now grow to an arbitrary
size. It is also possible to search in the table by name, which will be
needed later to add line debug information.


git-svn-id: svn://svn.cc65.org/cc65/trunk@262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-02 14:12:36 +00:00
cuz
097a01094e Added a method to write variable sized unsigned values. Use this method for
all sorts of things in the object files. This does not only make the object
files smaller, but does also remove several limits (strings may be longer
than 255 bytes, several counters no longer have 8 or 16 bit limits).


git-svn-id: svn://svn.cc65.org/cc65/trunk@260 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-02 13:23:06 +00:00
cuz
51543fddb0 Increased the file count to 16 bits when written to the object file.
Moved the input file table to a separate module and added an AddFile()
function to add files to this table.
Removed the 8 bit limit for the file number in several places (the file
number is still 8 bits in the file position structure).
Added a pseudo instruction .dbg that will be used to add debug info from
high level code to the assembler source.
Added a subkey "file" to the .dbg command that allows to add a file to the
file table that is later written to the object file.


git-svn-id: svn://svn.cc65.org/cc65/trunk@258 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 21:36:45 +00:00
cuz
6b3b938945 Filecount is now an u16
git-svn-id: svn://svn.cc65.org/cc65/trunk@257 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 20:32:46 +00:00
cuz
929c6ab2af Remove the check.x modules since they are now in common/
git-svn-id: svn://svn.cc65.org/cc65/trunk@254 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:11:36 +00:00
cuz
d171b3dac9 Check for const in function parameters (first level only).
Place local static const data into the RODATA segment.


git-svn-id: svn://svn.cc65.org/cc65/trunk@253 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:05:24 +00:00
cuz
85417b6d1b Some changes in the way, types and type strings are handled.
Check for and honour const in several places: Assignment to const is flagged
with an error. Const data is placed in the rodata segment.


git-svn-id: svn://svn.cc65.org/cc65/trunk@252 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 18:45:08 +00:00
cuz
5ee8618510 Use the CHECK macros from the common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@251 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:17:43 +00:00
cuz
7e4a0ed5c6 Remove remaining stuff from the old CHECK macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@250 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:07:15 +00:00
cuz
887ce0c1d7 Use the CHECK macros from the common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:05:48 +00:00
cuz
e133416d05 Moved the check module to the common dir.
Replaced the type constants by something more expandable.


git-svn-id: svn://svn.cc65.org/cc65/trunk@248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:04:35 +00:00
cuz
9e47a53bb7 Move the check module to common/
git-svn-id: svn://svn.cc65.org/cc65/trunk@247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:01:21 +00:00
cuz
89dccd5a23 Added dump of debug symbols and output of values for the exports, in those
cases where the export is a constant.


git-svn-id: svn://svn.cc65.org/cc65/trunk@246 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-31 22:21:37 +00:00
cuz
b01c0adf49 Include file path changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@243 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:27:37 +00:00
cuz
a01a9429ba Renamed x65 to xo65
git-svn-id: svn://svn.cc65.org/cc65/trunk@242 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:10:32 +00:00
cuz
80e1e6f673 Added --dump-all
git-svn-id: svn://svn.cc65.org/cc65/trunk@241 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:09:52 +00:00
cuz
3eabe5026f Added dump of exports and imports
git-svn-id: svn://svn.cc65.org/cc65/trunk@240 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:02:44 +00:00
cuz
f91833caef Added dump of segments
git-svn-id: svn://svn.cc65.org/cc65/trunk@239 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 19:51:33 +00:00
cuz
a63d35278c Added dump of the file list
git-svn-id: svn://svn.cc65.org/cc65/trunk@238 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 16:15:04 +00:00
cuz
697f6e1cfa Add dumping of options
git-svn-id: svn://svn.cc65.org/cc65/trunk@237 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 14:25:30 +00:00
cuz
4e6faabc21 File no longer needed
git-svn-id: svn://svn.cc65.org/cc65/trunk@233 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:24:28 +00:00
cuz
8dbc44fed4 Better handling of missing flags and wrong files
git-svn-id: svn://svn.cc65.org/cc65/trunk@232 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 22:39:39 +00:00
cuz
7158553772 Added the od65 directory
git-svn-id: svn://svn.cc65.org/cc65/trunk@231 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 22:35:34 +00:00
cuz
8f320c4ab4 First rudimentary version - can dump xo65 headers
git-svn-id: svn://svn.cc65.org/cc65/trunk@230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 22:34:15 +00:00
cuz
a20f4dd8c8 Fixed two typos
git-svn-id: svn://svn.cc65.org/cc65/trunk@229 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 21:45:12 +00:00
cuz
f9b58c50dd Add common dir in more search paths
git-svn-id: svn://svn.cc65.org/cc65/trunk@226 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 16:01:54 +00:00
cuz
0a57d32509 Renamed several expression ops and added others.
Placed the DumpExpr function into the common directory, since it is
used by the assembler and linker.


git-svn-id: svn://svn.cc65.org/cc65/trunk@225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 15:53:33 +00:00
cuz
b40d409c4f Output an error message when trying to determine the size of type void.
git-svn-id: svn://svn.cc65.org/cc65/trunk@224 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 12:07:04 +00:00
cuz
c0f16c531b Check segment in in #pragma for validity
git-svn-id: svn://svn.cc65.org/cc65/trunk@223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 12:03:29 +00:00
cuz
9d85d084d0 Moved segment name handling into a separate module.
New compiler options to set the default segment names from the command line.


git-svn-id: svn://svn.cc65.org/cc65/trunk@222 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 11:49:34 +00:00
cuz
9fa11093eb Added a watcom makefile
git-svn-id: svn://svn.cc65.org/cc65/trunk@220 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:15:51 +00:00
cuz
b933cd1ee3 Added a DOS target
git-svn-id: svn://svn.cc65.org/cc65/trunk@219 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:15:21 +00:00
cuz
9200dbb247 Add the include dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@218 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:11:59 +00:00
cuz
07ce8ae322 Add the common library
git-svn-id: svn://svn.cc65.org/cc65/trunk@217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:06:08 +00:00
cuz
f05e1ccc5f Added the io module
git-svn-id: svn://svn.cc65.org/cc65/trunk@216 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:05:43 +00:00
cuz
44a11218e1 Added .REPEAT pseudo instruction
git-svn-id: svn://svn.cc65.org/cc65/trunk@215 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 12:15:40 +00:00
cuz
77e8bffa81 Use gcc function attributes, fix several format related problems
git-svn-id: svn://svn.cc65.org/cc65/trunk@214 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 21:08:52 +00:00
cuz
ef579c4015 More attribute use
git-svn-id: svn://svn.cc65.org/cc65/trunk@213 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 21:07:01 +00:00
cuz
8f1533c8cc Use gcc attribs
git-svn-id: svn://svn.cc65.org/cc65/trunk@212 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 20:42:23 +00:00
cuz
d7ddc3d12e Use gcc attribs, fixed a wrong arg
git-svn-id: svn://svn.cc65.org/cc65/trunk@211 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 20:40:44 +00:00
cuz
3bcbcd9474 Use gcc function attributes for better error checking
git-svn-id: svn://svn.cc65.org/cc65/trunk@210 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 20:33:33 +00:00
cuz
f97869b106 Bumped the version number
git-svn-id: svn://svn.cc65.org/cc65/trunk@205 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 18:48:27 +00:00
cuz
3c5ae1b3c4 Added .WARNING
git-svn-id: svn://svn.cc65.org/cc65/trunk@204 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 18:47:57 +00:00
cuz
8972f1db97 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@203 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 06:38:36 +00:00
cuz
2311661a0e Fixed a bug in the .ERROR directive
git-svn-id: svn://svn.cc65.org/cc65/trunk@202 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 06:38:22 +00:00
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