]> git.sur5r.net Git - cc65/log
cc65
20 years agoFixed wrong reference
cuz [Fri, 8 Oct 2004 15:51:18 +0000 (15:51 +0000)]
Fixed wrong reference

git-svn-id: svn://svn.cc65.org/cc65/trunk@3220 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed references to non existing header files
cuz [Fri, 8 Oct 2004 15:48:40 +0000 (15:48 +0000)]
Fixed references to non existing header files

git-svn-id: svn://svn.cc65.org/cc65/trunk@3219 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded the lynx target
cuz [Fri, 8 Oct 2004 09:23:59 +0000 (09:23 +0000)]
Added the lynx target

git-svn-id: svn://svn.cc65.org/cc65/trunk@3218 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded the lynx target
cuz [Fri, 8 Oct 2004 09:23:02 +0000 (09:23 +0000)]
Added the lynx target

git-svn-id: svn://svn.cc65.org/cc65/trunk@3217 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoReplaced putchar by an assembler version
cuz [Wed, 6 Oct 2004 21:42:17 +0000 (21:42 +0000)]
Replaced putchar by an assembler version

git-svn-id: svn://svn.cc65.org/cc65/trunk@3216 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoRemoved getchar/putchar macros
cuz [Wed, 6 Oct 2004 21:35:34 +0000 (21:35 +0000)]
Removed getchar/putchar macros

git-svn-id: svn://svn.cc65.org/cc65/trunk@3215 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoDocument predefined constants
cuz [Wed, 6 Oct 2004 21:12:28 +0000 (21:12 +0000)]
Document predefined constants

git-svn-id: svn://svn.cc65.org/cc65/trunk@3214 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoo65.h, note when header file function lists are incomplete
cuz [Wed, 6 Oct 2004 20:52:00 +0000 (20:52 +0000)]
o65.h, note when header file function lists are incomplete

git-svn-id: svn://svn.cc65.org/cc65/trunk@3213 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded setjmp/longjmp
cuz [Wed, 6 Oct 2004 20:38:18 +0000 (20:38 +0000)]
Added setjmp/longjmp

git-svn-id: svn://svn.cc65.org/cc65/trunk@3212 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agofixed a typo
cpg [Mon, 4 Oct 2004 18:24:37 +0000 (18:24 +0000)]
fixed a typo

git-svn-id: svn://svn.cc65.org/cc65/trunk@3211 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded SWEET 16 CPU
cuz [Sun, 3 Oct 2004 22:10:42 +0000 (22:10 +0000)]
Added SWEET 16 CPU

git-svn-id: svn://svn.cc65.org/cc65/trunk@3210 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded SWEET 16 mode
cuz [Sun, 3 Oct 2004 21:38:49 +0000 (21:38 +0000)]
Added SWEET 16 mode

git-svn-id: svn://svn.cc65.org/cc65/trunk@3209 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded new CPU SWEET16
cuz [Sun, 3 Oct 2004 21:26:00 +0000 (21:26 +0000)]
Added new CPU SWEET16

git-svn-id: svn://svn.cc65.org/cc65/trunk@3208 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded new CPU SWEET16
cuz [Sun, 3 Oct 2004 21:25:29 +0000 (21:25 +0000)]
Added new CPU SWEET16

git-svn-id: svn://svn.cc65.org/cc65/trunk@3207 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a wording
cuz [Sat, 2 Oct 2004 20:41:59 +0000 (20:41 +0000)]
Fixed a wording

git-svn-id: svn://svn.cc65.org/cc65/trunk@3206 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agomod_load and mod_free
cuz [Sat, 2 Oct 2004 20:38:57 +0000 (20:38 +0000)]
mod_load and mod_free

git-svn-id: svn://svn.cc65.org/cc65/trunk@3205 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoMore exact POSIX references.
cuz [Sat, 2 Oct 2004 20:14:49 +0000 (20:14 +0000)]
More exact POSIX references.
fileno function.
Fix stdio functions that were listed as in stdlib.h.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3204 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a typo, fixed ldax macro.
cuz [Sat, 2 Oct 2004 19:54:20 +0000 (19:54 +0000)]
Fixed a typo, fixed ldax macro.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3203 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoRemoved the shift runtime functions because there calling semantics have been
cuz [Tue, 28 Sep 2004 19:44:17 +0000 (19:44 +0000)]
Removed the shift runtime functions because there calling semantics have been
changed and size optimizations are no longer possible and needed.
Use the UNKNOWN_REGVAL constant instead of -1.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3202 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdd --dbginfo
cuz [Mon, 27 Sep 2004 20:21:47 +0000 (20:21 +0000)]
Add --dbginfo

git-svn-id: svn://svn.cc65.org/cc65/trunk@3201 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a typo
cuz [Thu, 23 Sep 2004 19:05:57 +0000 (19:05 +0000)]
Fixed a typo

git-svn-id: svn://svn.cc65.org/cc65/trunk@3200 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAllow to override CC65_LIB on the command line
cuz [Thu, 23 Sep 2004 19:05:49 +0000 (19:05 +0000)]
Allow to override CC65_LIB on the command line

git-svn-id: svn://svn.cc65.org/cc65/trunk@3199 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAllow to override CC65_INC on the command line
cuz [Thu, 23 Sep 2004 19:04:00 +0000 (19:04 +0000)]
Allow to override CC65_INC on the command line

git-svn-id: svn://svn.cc65.org/cc65/trunk@3198 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoInfo about using additional memory
cuz [Thu, 23 Sep 2004 18:55:08 +0000 (18:55 +0000)]
Info about using additional memory

git-svn-id: svn://svn.cc65.org/cc65/trunk@3197 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoInternal identifier names have changed, _heap.h is available
cuz [Thu, 23 Sep 2004 17:55:23 +0000 (17:55 +0000)]
Internal identifier names have changed, _heap.h is available

git-svn-id: svn://svn.cc65.org/cc65/trunk@3196 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoUpdate, add note about master makefile
cuz [Thu, 23 Sep 2004 17:40:16 +0000 (17:40 +0000)]
Update, add note about master makefile

git-svn-id: svn://svn.cc65.org/cc65/trunk@3195 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdd new maintainer
cuz [Thu, 23 Sep 2004 17:35:11 +0000 (17:35 +0000)]
Add new maintainer

git-svn-id: svn://svn.cc65.org/cc65/trunk@3194 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed bug with braces in initializer lists
cuz [Thu, 23 Sep 2004 17:34:03 +0000 (17:34 +0000)]
Fixed bug with braces in initializer lists

git-svn-id: svn://svn.cc65.org/cc65/trunk@3193 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoInvalid code was generated for a switch statement with no case labels.
cuz [Wed, 22 Sep 2004 17:48:23 +0000 (17:48 +0000)]
Invalid code was generated for a switch statement with no case labels.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3191 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew special condes type interruptor
cuz [Mon, 20 Sep 2004 10:42:29 +0000 (10:42 +0000)]
New special condes type interruptor

git-svn-id: svn://svn.cc65.org/cc65/trunk@3190 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoRenamed __IRQFUNC_xxx -> __INTERRUPTOR_xxx
cuz [Mon, 20 Sep 2004 10:24:59 +0000 (10:24 +0000)]
Renamed __IRQFUNC_xxx -> __INTERRUPTOR_xxx

git-svn-id: svn://svn.cc65.org/cc65/trunk@3189 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew condes type interruptor
cuz [Mon, 20 Sep 2004 10:23:57 +0000 (10:23 +0000)]
New condes type interruptor

git-svn-id: svn://svn.cc65.org/cc65/trunk@3188 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew condes type interruptor
cuz [Mon, 20 Sep 2004 10:15:01 +0000 (10:15 +0000)]
New condes type interruptor

git-svn-id: svn://svn.cc65.org/cc65/trunk@3187 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoDocument some more functions
cuz [Fri, 17 Sep 2004 20:08:59 +0000 (20:08 +0000)]
Document some more functions

git-svn-id: svn://svn.cc65.org/cc65/trunk@3186 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoVIC20 specific docs (contributed by Stefan Haubenthal)
cuz [Fri, 17 Sep 2004 17:33:27 +0000 (17:33 +0000)]
VIC20 specific docs (contributed by Stefan Haubenthal)

git-svn-id: svn://svn.cc65.org/cc65/trunk@3185 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a few typos (Stefan Haubenthal)
cuz [Fri, 17 Sep 2004 17:29:20 +0000 (17:29 +0000)]
Fixed a few typos (Stefan Haubenthal)

git-svn-id: svn://svn.cc65.org/cc65/trunk@3184 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a C99ism
cuz [Thu, 16 Sep 2004 14:31:40 +0000 (14:31 +0000)]
Fixed a C99ism

git-svn-id: svn://svn.cc65.org/cc65/trunk@3183 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoIntroduce a -E flag that activates just the preprocessor.
cuz [Thu, 16 Sep 2004 12:42:41 +0000 (12:42 +0000)]
Introduce a -E flag that activates just the preprocessor.
Use variable sized string buffers for input and macro processing instead
of the fixed buffers used before.
Many changes in the preprocessor to make it more standards compliant (which
it is still not).

git-svn-id: svn://svn.cc65.org/cc65/trunk@3182 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agofix a typo
cpg [Wed, 15 Sep 2004 19:33:52 +0000 (19:33 +0000)]
fix a typo

git-svn-id: svn://svn.cc65.org/cc65/trunk@3181 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoadd 'and' in the authors listing
cpg [Tue, 14 Sep 2004 21:01:06 +0000 (21:01 +0000)]
add 'and' in the authors listing

git-svn-id: svn://svn.cc65.org/cc65/trunk@3180 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoadd example of a memory configuration with holes; add cpg@aladdin.de
cpg [Tue, 14 Sep 2004 20:56:07 +0000 (20:56 +0000)]
add example of a memory configuration with holes; add cpg@aladdin.de
as bugs/feedback address

git-svn-id: svn://svn.cc65.org/cc65/trunk@3179 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a typo
cuz [Fri, 10 Sep 2004 09:55:55 +0000 (09:55 +0000)]
Fixed a typo

git-svn-id: svn://svn.cc65.org/cc65/trunk@3178 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a typo
cuz [Mon, 6 Sep 2004 10:27:06 +0000 (10:27 +0000)]
Fixed a typo

git-svn-id: svn://svn.cc65.org/cc65/trunk@3177 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed the definition of the long branch macros to avoid "Constant expression
cuz [Mon, 16 Aug 2004 10:04:09 +0000 (10:04 +0000)]
Fixed the definition of the long branch macros to avoid "Constant expression
expected" errors when the branch target is outside the local scope.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3176 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a bug: Closing all files on exit did not work
cuz [Mon, 9 Aug 2004 10:38:12 +0000 (10:38 +0000)]
Fixed a bug: Closing all files on exit did not work

git-svn-id: svn://svn.cc65.org/cc65/trunk@3175 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agofix comment
cpg [Wed, 4 Aug 2004 00:10:55 +0000 (00:10 +0000)]
fix comment

git-svn-id: svn://svn.cc65.org/cc65/trunk@3174 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agodisplay more memory variables
cpg [Wed, 4 Aug 2004 00:02:24 +0000 (00:02 +0000)]
display more memory variables

git-svn-id: svn://svn.cc65.org/cc65/trunk@3173 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoDiscarding data for a memory area is done by assigning an empty name
cuz [Tue, 3 Aug 2004 13:33:06 +0000 (13:33 +0000)]
Discarding data for a memory area is done by assigning an empty name

git-svn-id: svn://svn.cc65.org/cc65/trunk@3172 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed the last fix
cuz [Mon, 2 Aug 2004 17:19:52 +0000 (17:19 +0000)]
Fixed the last fix

git-svn-id: svn://svn.cc65.org/cc65/trunk@3171 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoIn a function call for all parameters not covered by a prototype, convert
cuz [Mon, 2 Aug 2004 16:39:55 +0000 (16:39 +0000)]
In a function call for all parameters not covered by a prototype, convert
arrays to pointer to first element, and functions to pointer to function.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3169 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew function PtrConversion
cuz [Mon, 2 Aug 2004 16:37:00 +0000 (16:37 +0000)]
New function PtrConversion

git-svn-id: svn://svn.cc65.org/cc65/trunk@3168 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded IsODigit
cuz [Thu, 29 Jul 2004 20:51:58 +0000 (20:51 +0000)]
Added IsODigit

git-svn-id: svn://svn.cc65.org/cc65/trunk@3167 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed description of bgcolor
cuz [Thu, 29 Jul 2004 07:06:34 +0000 (07:06 +0000)]
Fixed description of bgcolor

git-svn-id: svn://svn.cc65.org/cc65/trunk@3166 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agofix typo (detected by Stefan Haubenthal)
cpg [Fri, 23 Jul 2004 20:04:58 +0000 (20:04 +0000)]
fix typo (detected by Stefan Haubenthal)

git-svn-id: svn://svn.cc65.org/cc65/trunk@3165 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed inline assembler problems with instructions where implicit means
cuz [Sun, 18 Jul 2004 09:34:52 +0000 (09:34 +0000)]
Fixed inline assembler problems with instructions where implicit means
actually accumulator addressing. These went through and caused the
optimizer to behave strangely.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3164 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoImprove handling of files with foreign newline sequences.
cuz [Sun, 18 Jul 2004 08:46:12 +0000 (08:46 +0000)]
Improve handling of files with foreign newline sequences.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3163 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdd dummy return value to avoid a wcc warning
cuz [Sat, 17 Jul 2004 22:16:02 +0000 (22:16 +0000)]
Add dummy return value to avoid a wcc warning

git-svn-id: svn://svn.cc65.org/cc65/trunk@3162 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoRemove exprnode.obj
cuz [Sat, 17 Jul 2004 22:15:43 +0000 (22:15 +0000)]
Remove exprnode.obj

git-svn-id: svn://svn.cc65.org/cc65/trunk@3161 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed problems with unnamed labels
cuz [Sat, 17 Jul 2004 22:14:30 +0000 (22:14 +0000)]
Fixed problems with unnamed labels

git-svn-id: svn://svn.cc65.org/cc65/trunk@3160 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdjust result to user visible size
cuz [Sat, 17 Jul 2004 12:18:51 +0000 (12:18 +0000)]
Adjust result to user visible size

git-svn-id: svn://svn.cc65.org/cc65/trunk@3159 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew function heapblocksize()
cuz [Sat, 17 Jul 2004 12:12:54 +0000 (12:12 +0000)]
New function heapblocksize()

git-svn-id: svn://svn.cc65.org/cc65/trunk@3158 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew function heapblocksize()
cuz [Sat, 17 Jul 2004 12:05:36 +0000 (12:05 +0000)]
New function heapblocksize()

git-svn-id: svn://svn.cc65.org/cc65/trunk@3157 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoMake a few params const
cuz [Sun, 11 Jul 2004 14:06:49 +0000 (14:06 +0000)]
Make a few params const

git-svn-id: svn://svn.cc65.org/cc65/trunk@3155 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoCheck for invalid function names before trying to compare the name against
cuz [Sun, 11 Jul 2004 13:47:57 +0000 (13:47 +0000)]
Check for invalid function names before trying to compare the name against
the names of known standard functions.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3154 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded SB_Compare
cuz [Sun, 11 Jul 2004 11:13:10 +0000 (11:13 +0000)]
Added SB_Compare

git-svn-id: svn://svn.cc65.org/cc65/trunk@3153 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoget_ostype() was split into get_ostype() and get_tv() a long time
cpg [Fri, 9 Jul 2004 19:56:55 +0000 (19:56 +0000)]
get_ostype() was split into get_ostype() and get_tv() a long time
ago...

git-svn-id: svn://svn.cc65.org/cc65/trunk@3152 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agozap also deletes *.ser and *.mou files
cpg [Fri, 9 Jul 2004 19:46:30 +0000 (19:46 +0000)]
zap also deletes *.ser and *.mou files

git-svn-id: svn://svn.cc65.org/cc65/trunk@3151 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agorename some Atari specific function names
cpg [Fri, 9 Jul 2004 19:33:28 +0000 (19:33 +0000)]
rename some Atari specific function names

git-svn-id: svn://svn.cc65.org/cc65/trunk@3150 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agokeep the old names (w/o "_") of get_ostype() and get_tv() for cross
cpg [Fri, 9 Jul 2004 19:27:12 +0000 (19:27 +0000)]
keep the old names (w/o "_") of get_ostype() and get_tv() for cross
platform compatibility

git-svn-id: svn://svn.cc65.org/cc65/trunk@3149 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agorevert last change
cpg [Fri, 9 Jul 2004 19:23:13 +0000 (19:23 +0000)]
revert last change

git-svn-id: svn://svn.cc65.org/cc65/trunk@3148 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoA main function not returning an int is not allowed in standard C
cuz [Tue, 6 Jul 2004 14:25:48 +0000 (14:25 +0000)]
A main function not returning an int is not allowed in standard C

git-svn-id: svn://svn.cc65.org/cc65/trunk@3147 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a bug
cuz [Tue, 6 Jul 2004 14:25:03 +0000 (14:25 +0000)]
Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@3146 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoCleanup in ShiftExpr.
cuz [Tue, 6 Jul 2004 11:30:08 +0000 (11:30 +0000)]
Cleanup in ShiftExpr.
Changed GetCodePos to also remember the stack pointer at the given location,
this removes the necessity to manipulate the stack when removing code. Since
CodeMark is now a struct, the API for most asmcode functions has changed.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3145 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded lasr.o
cuz [Mon, 5 Jul 2004 22:38:21 +0000 (22:38 +0000)]
Added lasr.o

git-svn-id: svn://svn.cc65.org/cc65/trunk@3144 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew code for the shift functions
cuz [Mon, 5 Jul 2004 22:24:06 +0000 (22:24 +0000)]
New code for the shift functions

git-svn-id: svn://svn.cc65.org/cc65/trunk@3143 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoChanged shift functions, added info about shift runtime functions
cuz [Wed, 30 Jun 2004 19:18:56 +0000 (19:18 +0000)]
Changed shift functions, added info about shift runtime functions

git-svn-id: svn://svn.cc65.org/cc65/trunk@3142 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a bug
cuz [Wed, 30 Jun 2004 18:11:11 +0000 (18:11 +0000)]
Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@3141 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a bug
cuz [Tue, 29 Jun 2004 20:48:35 +0000 (20:48 +0000)]
Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@3140 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoRemove shifts from kcalc
cuz [Tue, 29 Jun 2004 20:44:50 +0000 (20:44 +0000)]
Remove shifts from kcalc

git-svn-id: svn://svn.cc65.org/cc65/trunk@3139 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoMove shift expression evaluation into a separate module. More checks and
cuz [Tue, 29 Jun 2004 20:44:01 +0000 (20:44 +0000)]
Move shift expression evaluation into a separate module. More checks and
improvements for shift expressions.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3138 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoRenaming and cleanup
cuz [Tue, 29 Jun 2004 20:37:18 +0000 (20:37 +0000)]
Renaming and cleanup

git-svn-id: svn://svn.cc65.org/cc65/trunk@3137 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoSome renaming
cuz [Tue, 29 Jun 2004 20:35:39 +0000 (20:35 +0000)]
Some renaming

git-svn-id: svn://svn.cc65.org/cc65/trunk@3136 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoAdded license information preproc.h
cuz [Tue, 29 Jun 2004 20:26:27 +0000 (20:26 +0000)]
Added license information preproc.h

git-svn-id: svn://svn.cc65.org/cc65/trunk@3135 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a problem
cuz [Mon, 21 Jun 2004 22:30:07 +0000 (22:30 +0000)]
Fixed a problem

git-svn-id: svn://svn.cc65.org/cc65/trunk@3134 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoThe -A and --ansi switches are gone, together with the __STRICT_ANSI__
cuz [Mon, 21 Jun 2004 22:22:11 +0000 (22:22 +0000)]
The -A and --ansi switches are gone, together with the __STRICT_ANSI__
predefined macro. Instead there is now a command line option --standard that
allows to set c89, c99 or cc65 as language standard. The compiler defines a
macro __CC65_STD__ that is one of __CC65_STD_C89__, __CC65_STD_C99__ or
__CC65_STD_CC65__ depending on the command line option. Default is cc65 (all
extensions) as before.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3133 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoRemoved the undocumented, obsolete and unused OptDisable flagset
cuz [Tue, 15 Jun 2004 21:24:47 +0000 (21:24 +0000)]
Removed the undocumented, obsolete and unused OptDisable flagset

git-svn-id: svn://svn.cc65.org/cc65/trunk@3132 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoDocument the codesize, optimize and warn pragmas
cuz [Tue, 15 Jun 2004 21:20:34 +0000 (21:20 +0000)]
Document the codesize, optimize and warn pragmas

git-svn-id: svn://svn.cc65.org/cc65/trunk@3131 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoMake the -W flag stackable.
cuz [Tue, 15 Jun 2004 21:05:40 +0000 (21:05 +0000)]
Make the -W flag stackable.
New pragmas codesize, optimize and warn.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3130 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoMake the -O and --codesize options stackable.
cuz [Tue, 15 Jun 2004 20:29:49 +0000 (20:29 +0000)]
Make the -O and --codesize options stackable.
Copy the current optimization settings into a code segment on creation.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3129 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoInline assembly can now reference C labels with the %g format specifier
cuz [Tue, 15 Jun 2004 20:08:01 +0000 (20:08 +0000)]
Inline assembly can now reference C labels with the %g format specifier

git-svn-id: svn://svn.cc65.org/cc65/trunk@3128 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoSome cleanup
cuz [Tue, 15 Jun 2004 20:05:54 +0000 (20:05 +0000)]
Some cleanup

git-svn-id: svn://svn.cc65.org/cc65/trunk@3127 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoChanged an error message
cuz [Tue, 15 Jun 2004 09:29:31 +0000 (09:29 +0000)]
Changed an error message

git-svn-id: svn://svn.cc65.org/cc65/trunk@3126 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew function tgi_geterrormsg
cuz [Tue, 15 Jun 2004 09:08:39 +0000 (09:08 +0000)]
New function tgi_geterrormsg

git-svn-id: svn://svn.cc65.org/cc65/trunk@3125 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoUse enum, declare count of errors
cuz [Tue, 15 Jun 2004 09:08:31 +0000 (09:08 +0000)]
Use enum, declare count of errors

git-svn-id: svn://svn.cc65.org/cc65/trunk@3124 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed an error
cuz [Tue, 15 Jun 2004 09:06:36 +0000 (09:06 +0000)]
Fixed an error

git-svn-id: svn://svn.cc65.org/cc65/trunk@3123 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoNew module tgi_geterrormsg.s
cuz [Tue, 15 Jun 2004 09:02:05 +0000 (09:02 +0000)]
New module tgi_geterrormsg.s

git-svn-id: svn://svn.cc65.org/cc65/trunk@3122 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoPatches from Greg King
cuz [Sun, 13 Jun 2004 18:28:09 +0000 (18:28 +0000)]
Patches from Greg King

git-svn-id: svn://svn.cc65.org/cc65/trunk@3121 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed problems on 64 bit platforms and some other sloopyness when working
cuz [Thu, 10 Jun 2004 13:03:28 +0000 (13:03 +0000)]
Fixed problems on 64 bit platforms and some other sloopyness when working
with the element count of an array.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3120 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoBetter error messages
cuz [Thu, 10 Jun 2004 11:02:05 +0000 (11:02 +0000)]
Better error messages

git-svn-id: svn://svn.cc65.org/cc65/trunk@3119 b7a2c559-68d2-44c3-8de9-860c34a00d81

20 years agoFixed a warning
cuz [Thu, 10 Jun 2004 10:37:55 +0000 (10:37 +0000)]
Fixed a warning

git-svn-id: svn://svn.cc65.org/cc65/trunk@3118 b7a2c559-68d2-44c3-8de9-860c34a00d81