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

534 Commits

Author SHA1 Message Date
cuz
0ab45f63f0 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@550 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 21:01:50 +00:00
cuz
cd6f591d11 Minor rearrangements to make the code more robust in case of errors.
git-svn-id: svn://svn.cc65.org/cc65/trunk@549 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 20:39:17 +00:00
cuz
e131b6e432 65C02 optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@548 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 20:38:45 +00:00
cuz
fa46d84571 Fixed wrong translations for PET and CBM610
git-svn-id: svn://svn.cc65.org/cc65/trunk@524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-02 15:01:47 +00:00
cuz
a5d8a5a94f Translate chars returned by .strat into the target charset
git-svn-id: svn://svn.cc65.org/cc65/trunk@509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:37:41 +00:00
cuz
81249b8d92 Fix detection of byte sized expressions
git-svn-id: svn://svn.cc65.org/cc65/trunk@503 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 09:04:07 +00:00
cuz
6632756ceb Replaced the unused NES target by BBC
git-svn-id: svn://svn.cc65.org/cc65/trunk@497 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-30 08:55:16 +00:00
cuz
fef6e7d7d6 Added config file for bcc micro
git-svn-id: svn://svn.cc65.org/cc65/trunk@496 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-30 08:50:09 +00:00
cuz
2df60e5033 Use the new TgtTranslateBuf function
git-svn-id: svn://svn.cc65.org/cc65/trunk@493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 15:22:06 +00:00
cuz
c45592efbf New TgtTranslateBuf function
git-svn-id: svn://svn.cc65.org/cc65/trunk@492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 15:18:39 +00:00
cuz
0adf3945b7 Implementation for the .IFPxx commands was missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-28 20:55:12 +00:00
cuz
3a7eccfc8d pusha function has changed
git-svn-id: svn://svn.cc65.org/cc65/trunk@488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-28 13:33:27 +00:00
cuz
5be5b3763b Implemented large offsets for g_putind
git-svn-id: svn://svn.cc65.org/cc65/trunk@483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-27 16:52:52 +00:00
cuz
f6768466be Fix several errors: The address operator on functions (resulting in a
pointer-to-function type) was not possible. It is redundant but allowed.
A cast with a function on the right side resulted in an internal compiler
error, since the implicit cast from function to pointer-to-function was
missing in this case.
An assignment of a function to a void pointer was not possible because the
same implicit conversion was missing.


git-svn-id: svn://svn.cc65.org/cc65/trunk@482 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-24 10:46:04 +00:00
cuz
0333dbbd85 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@481 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-24 07:36:08 +00:00
cuz
4ea94a9302 Use "[linker generated]" as source for linker generated symbols.
git-svn-id: svn://svn.cc65.org/cc65/trunk@478 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-23 19:14:15 +00:00
cuz
cefb4c067d Added optimizations for commutative arithmetic ops
git-svn-id: svn://svn.cc65.org/cc65/trunk@469 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 21:39:56 +00:00
cuz
901a8088e6 New --cpu command line switch
git-svn-id: svn://svn.cc65.org/cc65/trunk@468 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 20:19:15 +00:00
cuz
596068b4ce In switch statements, do only print a warning about missing case labels if
there are no regular labels and no default label.


git-svn-id: svn://svn.cc65.org/cc65/trunk@467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 12:02:15 +00:00
cuz
d2d7a2e31b Added condes decls to all linker config files
git-svn-id: svn://svn.cc65.org/cc65/trunk@462 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 23:04:30 +00:00
cuz
0beeda5852 Debugging the condes support
git-svn-id: svn://svn.cc65.org/cc65/trunk@461 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 22:59:11 +00:00
cuz
834a3eac52 Added condes tables to c64 config
git-svn-id: svn://svn.cc65.org/cc65/trunk@459 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 22:58:41 +00:00
cuz
518220f9cf First finished implementation of the condes feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@456 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 21:56:48 +00:00
cuz
7646787a6e Added InitFilePos method
git-svn-id: svn://svn.cc65.org/cc65/trunk@454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 19:44:18 +00:00
cuz
b9970cb7da Working on the condes feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 15:22:57 +00:00
cuz
53a885df58 Make target for generating the .inc files
git-svn-id: svn://svn.cc65.org/cc65/trunk@448 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-19 17:39:12 +00:00
cuz
93c998d9e8 MingW fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-19 17:35:07 +00:00
cuz
56489eb834 Fixed a DJGPP warning
git-svn-id: svn://svn.cc65.org/cc65/trunk@445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-17 10:31:39 +00:00
cuz
cc9a01777e Small fix for DJGPP
git-svn-id: svn://svn.cc65.org/cc65/trunk@444 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-17 10:24:16 +00:00
cuz
12996ee12b New module to handle initializers
git-svn-id: svn://svn.cc65.org/cc65/trunk@432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-03 09:31:18 +00:00
cuz
0dce6a79b6 Removed underlines from struct names
git-svn-id: svn://svn.cc65.org/cc65/trunk@431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-02 22:11:48 +00:00
cuz
18840117ec Removed underlines from structure names.
Moved the fragment type into its own module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@430 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-02 22:11:25 +00:00
cuz
d341e0ad76 Removed error numbers in favour of literal error messages. The error numbers
were harder to manage, made the code harder to read, and lead no less
verbose messages, since it was effort to add a new message. The new approach
has the drawback that it's more difficult to translate, but this won't
happen anyway.


git-svn-id: svn://svn.cc65.org/cc65/trunk@428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-02 21:22:33 +00:00
cuz
db656c5e38 Added missing params to Error function
git-svn-id: svn://svn.cc65.org/cc65/trunk@424 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 19:12:27 +00:00
cuz
0899e279b3 Added a sort function
git-svn-id: svn://svn.cc65.org/cc65/trunk@418 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:25:52 +00:00
cuz
1226f095e1 Moved the target configurations into separate files
git-svn-id: svn://svn.cc65.org/cc65/trunk@416 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:08:25 +00:00
cuz
72e32b332b Working on initializers
git-svn-id: svn://svn.cc65.org/cc65/trunk@411 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 20:48:11 +00:00
cuz
3fde2841f1 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@410 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:52:30 +00:00
cuz
99c9f4fe4e Renamed EXP_INITIALIZER
git-svn-id: svn://svn.cc65.org/cc65/trunk@409 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:52:22 +00:00
cuz
e5c029e538 Renamed EXP_INITIALIZER, added check macros
git-svn-id: svn://svn.cc65.org/cc65/trunk@408 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:48:13 +00:00
cuz
c4778045f9 Add initializer bit in debug syms
git-svn-id: svn://svn.cc65.org/cc65/trunk@407 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:33:04 +00:00
cuz
9977ddd973 Add initializer
git-svn-id: svn://svn.cc65.org/cc65/trunk@406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:30:26 +00:00
cuz
3485519242 Bump version number
git-svn-id: svn://svn.cc65.org/cc65/trunk@405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:29:57 +00:00
cuz
6ddfa26ecb Change symbol flags, add initializer
git-svn-id: svn://svn.cc65.org/cc65/trunk@404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:29:25 +00:00
cuz
71aba577c8 Add the default libraries if both, a target and a config file are given.
Previously no startup file and system library were passed to the linker
if a configuration file was specified on the command line.


git-svn-id: svn://svn.cc65.org/cc65/trunk@385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-20 14:37:24 +00:00
cuz
39b380b6e6 Added handling for -h command line parameter
git-svn-id: svn://svn.cc65.org/cc65/trunk@378 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 07:29:40 +00:00
cpg
84531f991f changed Atari ZP define to have max. ZP space available
git-svn-id: svn://svn.cc65.org/cc65/trunk@376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-17 23:51:01 +00:00
cuz
5807140732 Allow larger address ranges
git-svn-id: svn://svn.cc65.org/cc65/trunk@370 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-15 19:52:33 +00:00
cuz
221ef5a9c2 Error handling cleanup/changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@369 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-15 19:52:01 +00:00
cuz
5cf9e0af18 Working on the new parser.
git-svn-id: svn://svn.cc65.org/cc65/trunk@368 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-15 19:51:39 +00:00
cuz
669d063e75 Added functions taking and returning consts
git-svn-id: svn://svn.cc65.org/cc65/trunk@367 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-15 09:24:21 +00:00
cuz
04c9e1e3c7 Check for macro redefinitions that are not identical and flag them as an
error.


git-svn-id: svn://svn.cc65.org/cc65/trunk@357 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 21:20:34 +00:00
cuz
1c2d6e984d New module
git-svn-id: svn://svn.cc65.org/cc65/trunk@355 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:41:18 +00:00
cuz
2bd62669ce Fixed a bug in explicit type casts
git-svn-id: svn://svn.cc65.org/cc65/trunk@354 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:40:36 +00:00
cuz
72f0cd6368 Fixed a warning
git-svn-id: svn://svn.cc65.org/cc65/trunk@353 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:39:26 +00:00
cuz
afce58deb6 Added a missing include
git-svn-id: svn://svn.cc65.org/cc65/trunk@352 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:39:04 +00:00
cuz
2e227d5406 Declaring a char explicitly as signed was ignored and the default (unsigned)
char type was used.


git-svn-id: svn://svn.cc65.org/cc65/trunk@350 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 19:35:32 +00:00
cuz
97f9682307 Added labels, SIEZ attribute for labels, dependent labels etc.
git-svn-id: svn://svn.cc65.org/cc65/trunk@343 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-29 12:26:34 +00:00
cuz
ee084ac224 Added dword tables, char comments etc.
git-svn-id: svn://svn.cc65.org/cc65/trunk@340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-26 07:08:38 +00:00
cuz
806461993b Moved data output routines into a separate module.
Added output pagination.


git-svn-id: svn://svn.cc65.org/cc65/trunk@339 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-25 07:06:46 +00:00
cuz
42fb5661f1 Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@338 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 20:54:49 +00:00
cuz
16bc247cbf Added da65
git-svn-id: svn://svn.cc65.org/cc65/trunk@337 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 19:08:36 +00:00
cuz
b960e3ead3 Started to add config file
git-svn-id: svn://svn.cc65.org/cc65/trunk@336 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 19:06:59 +00:00
cuz
8bab228a52 Added printf format attributes
git-svn-id: svn://svn.cc65.org/cc65/trunk@335 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 18:04:17 +00:00
cuz
5ceb76f3bb Ignore some files
git-svn-id: svn://svn.cc65.org/cc65/trunk@334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 16:07:39 +00:00
cuz
5a90b5a58c First da65 version
git-svn-id: svn://svn.cc65.org/cc65/trunk@332 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 15:55:57 +00:00
cuz
c05f6064a4 Add an include file
git-svn-id: svn://svn.cc65.org/cc65/trunk@331 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 14:54:15 +00:00
cuz
1b4039be3b Initialize translation tables
git-svn-id: svn://svn.cc65.org/cc65/trunk@327 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-14 19:26:13 +00:00
cuz
2ff9f2fc1d Export/rename init function
git-svn-id: svn://svn.cc65.org/cc65/trunk@326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-14 19:24:14 +00:00
cuz
5126ae8f4c Fix the atari config
git-svn-id: svn://svn.cc65.org/cc65/trunk@324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:49:56 +00:00
cuz
b36de422ec Use a separate ZEROPAGE segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:49:32 +00:00
cuz
5446245eb4 Comment changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:32:54 +00:00
cuz
34651d3518 Fixed the help text
git-svn-id: svn://svn.cc65.org/cc65/trunk@318 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 12:06:04 +00:00
cuz
56df2ea164 Added -l and --listing options.
git-svn-id: svn://svn.cc65.org/cc65/trunk@317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 12:05:10 +00:00
cuz
d27cd62465 Added new emulation feature: loose_char_term
git-svn-id: svn://svn.cc65.org/cc65/trunk@316 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 12:01:40 +00:00
cuz
a41de0ea3f Added .a65 as an assembler extension
git-svn-id: svn://svn.cc65.org/cc65/trunk@315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:52:14 +00:00
cuz
8198af9844 Added CollLast
git-svn-id: svn://svn.cc65.org/cc65/trunk@314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:47:08 +00:00
cuz
6bf763ff08 Added the --feature option
git-svn-id: svn://svn.cc65.org/cc65/trunk@312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:42:44 +00:00
cuz
6288682343 Separated the emulation features in a module.
Add a new command line option --feature that allows to set emulation
features from the command line.


git-svn-id: svn://svn.cc65.org/cc65/trunk@311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:35:22 +00:00
cuz
f55d0ccee1 Added new .feature: pc_assignment
git-svn-id: svn://svn.cc65.org/cc65/trunk@310 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:05:32 +00:00
cuz
5abb3954a6 Rewrote the input file management.
Added preliminary version of the dependency file creation.


git-svn-id: svn://svn.cc65.org/cc65/trunk@309 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-01 19:20:32 +00:00
cuz
d62e48f14a Allow static initialization of collections
git-svn-id: svn://svn.cc65.org/cc65/trunk@308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-01 14:48:04 +00:00
cuz
0d7763cedb New long option: --start-addr
git-svn-id: svn://svn.cc65.org/cc65/trunk@307 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-24 06:41:55 +00:00
cuz
8a79129caa Working on the new parser
git-svn-id: svn://svn.cc65.org/cc65/trunk@306 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 20:16:02 +00:00
cuz
a30ea446e8 Check for the presence of an argument if the option requires one.
git-svn-id: svn://svn.cc65.org/cc65/trunk@304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:18:03 +00:00
cuz
01bdac2907 Remove checks for an argument in the option handling functions, since the
check is done by the cmdline module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@303 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:16:16 +00:00
cuz
c3105a4e5d Change target handling, use modules from the common directory.
New long options: --config and --mapfile.


git-svn-id: svn://svn.cc65.org/cc65/trunk@302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:13:24 +00:00
cuz
e163b07d1b The checks if there is an argument are not needed since this is done by the
cmdline module.


git-svn-id: svn://svn.cc65.org/cc65/trunk@301 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:09:44 +00:00
cuz
dacd2bb457 No need to check/set Target
git-svn-id: svn://svn.cc65.org/cc65/trunk@300 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 07:01:36 +00:00
cuz
f871ab4ba6 Move target handling routines into the common directory.
git-svn-id: svn://svn.cc65.org/cc65/trunk@299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 07:01:18 +00:00
cuz
7691c3cdcc Simplify target handling, use common modules
git-svn-id: svn://svn.cc65.org/cc65/trunk@298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 06:56:14 +00:00
cuz
0335765223 Move target handling and character set translation into the common directory.
git-svn-id: svn://svn.cc65.org/cc65/trunk@297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 06:45:55 +00:00
cuz
5d504a0637 Move target type and character translation into the common dir
git-svn-id: svn://svn.cc65.org/cc65/trunk@296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-22 07:03:44 +00:00
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