]> git.sur5r.net Git - cc65/log
cc65
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

20 years agoFixed a bug
cuz [Thu, 10 Jun 2004 08:48:02 +0000 (08:48 +0000)]
Fixed a bug

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

20 years agoone byte space optimization
cpg [Wed, 9 Jun 2004 19:53:13 +0000 (19:53 +0000)]
one byte space optimization

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

20 years agoCheck the return code of the submakes (Christian Groessler)
cuz [Wed, 9 Jun 2004 19:30:33 +0000 (19:30 +0000)]
Check the return code of the submakes (Christian Groessler)

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

20 years agoRenamed ExprLoad to LoadExpr.
cuz [Wed, 9 Jun 2004 19:25:28 +0000 (19:25 +0000)]
Renamed ExprLoad to LoadExpr.
Moved LoadExpr + support functions into a separate module.
Removed obsolete files.
Some cleanup and makefile adjustments.

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

20 years agoRemoved ExprLoad to LoadExpr.
cuz [Wed, 9 Jun 2004 14:12:57 +0000 (14:12 +0000)]
Removed ExprLoad to LoadExpr.
Moved LoadExpr + support functions into a separate module.
Removed obsolete files.
Some cleanup and makefile adjustments.

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

20 years agoFixed a typo and changed example to use new asm syntax
cuz [Mon, 7 Jun 2004 21:40:51 +0000 (21:40 +0000)]
Fixed a typo and changed example to use new asm syntax

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

20 years agoCleaned up the code used for handling jump labels and the label name.
cuz [Mon, 7 Jun 2004 21:16:49 +0000 (21:16 +0000)]
Cleaned up the code used for handling jump labels and the label name.
Fixed a problem that caused the optimizer not to detect that flags set by
a load are used, if the use is "hidden" behind an unconditional branch. This
caused the optimizer to remove the load.

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

20 years agoRemoved debug code
cuz [Sun, 6 Jun 2004 18:36:15 +0000 (18:36 +0000)]
Removed debug code

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

20 years agoMinor change
cuz [Sun, 6 Jun 2004 18:36:08 +0000 (18:36 +0000)]
Minor change

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

20 years agoAdded support for floating point constants in the scanner and Primary()
cuz [Sun, 6 Jun 2004 15:59:44 +0000 (15:59 +0000)]
Added support for floating point constants in the scanner and Primary()

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

20 years agoRenamed ExprDesc.Val to ExprDesc.IVal. Added an FVal field for a floating
cuz [Sun, 6 Jun 2004 14:48:59 +0000 (14:48 +0000)]
Renamed ExprDesc.Val to ExprDesc.IVal. Added an FVal field for a floating
point constant.

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

20 years agoThe loop code will access the stackpointer directly
cuz [Sun, 6 Jun 2004 10:52:32 +0000 (10:52 +0000)]
The loop code will access the stackpointer directly

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

20 years agoAdd predefined type strings for float and double
cuz [Sun, 6 Jun 2004 10:49:59 +0000 (10:49 +0000)]
Add predefined type strings for float and double

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

20 years agoCorrected minor spelling errors
cuz [Sun, 6 Jun 2004 10:35:12 +0000 (10:35 +0000)]
Corrected minor spelling errors

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

20 years agoCorrected minor spelling errors
cuz [Sun, 6 Jun 2004 10:33:00 +0000 (10:33 +0000)]
Corrected minor spelling errors

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

20 years agoImproved code for or and xor
cuz [Sat, 5 Jun 2004 22:10:04 +0000 (22:10 +0000)]
Improved code for or and xor

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

20 years agoMove the test flags into the Flags bitset of struct ExprDesc
cuz [Sat, 5 Jun 2004 20:29:47 +0000 (20:29 +0000)]
Move the test flags into the Flags bitset of struct ExprDesc

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

20 years agoWhen changing the reference to a jump label, do also replace the string
cuz [Sat, 5 Jun 2004 16:21:07 +0000 (16:21 +0000)]
When changing the reference to a jump label, do also replace the string
argument for the instruction with the name of the new jump label. This
allows CodeEntriesAreEqual to work in all cases, and therefore optimizations
based on this function will also work more effectively (or at all).

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

20 years agoRepeat the check in OptJumpTarget whenever a match is found to find rows of matches
cuz [Sat, 5 Jun 2004 16:19:23 +0000 (16:19 +0000)]
Repeat the check in OptJumpTarget whenever a match is found to find rows of matches

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

20 years agoGenerate LDY instead of INY whenever possible because this allows better
cuz [Sat, 5 Jun 2004 16:18:30 +0000 (16:18 +0000)]
Generate LDY instead of INY whenever possible because this allows better
detection of known patterns and is replaced by INY in a later step anyway.

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

20 years agoCheck for and warn on statements that don't have an effect
cuz [Sat, 5 Jun 2004 12:56:51 +0000 (12:56 +0000)]
Check for and warn on statements that don't have an effect

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

20 years agoFixed a bug
cuz [Sat, 5 Jun 2004 11:50:04 +0000 (11:50 +0000)]
Fixed a bug

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

20 years agoMove the compiler stack pointer into its own module.
cuz [Sat, 5 Jun 2004 11:35:53 +0000 (11:35 +0000)]
Move the compiler stack pointer into its own module.
Improved the inlining of standard C functions. Added more standard functions
to inline.

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

20 years agoFixed a bug
cuz [Sat, 5 Jun 2004 11:33:44 +0000 (11:33 +0000)]
Fixed a bug

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

20 years agoFixed a typo
cuz [Fri, 4 Jun 2004 21:30:37 +0000 (21:30 +0000)]
Fixed a typo

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

20 years agoFixed a problem
cuz [Fri, 4 Jun 2004 21:25:54 +0000 (21:25 +0000)]
Fixed a problem

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

20 years agoRemove dependency on rom.o
cuz [Fri, 4 Jun 2004 17:54:15 +0000 (17:54 +0000)]
Remove dependency on rom.o

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

20 years agoAdded T_SIZE_T as an alias for T_UINT
cuz [Fri, 4 Jun 2004 17:52:19 +0000 (17:52 +0000)]
Added T_SIZE_T as an alias for T_UINT

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

20 years agoAdded strcpy
cuz [Fri, 4 Jun 2004 17:51:49 +0000 (17:51 +0000)]
Added strcpy

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

20 years agoFixed a typo
cuz [Fri, 4 Jun 2004 17:00:48 +0000 (17:00 +0000)]
Fixed a typo

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

20 years agoFixed a comment
cuz [Fri, 4 Jun 2004 14:47:21 +0000 (14:47 +0000)]
Fixed a comment

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

20 years agoCheck the InlineStdFuncs flag later
cuz [Fri, 4 Jun 2004 14:37:50 +0000 (14:37 +0000)]
Check the InlineStdFuncs flag later

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

20 years agoFixed a bug
cuz [Fri, 4 Jun 2004 14:36:54 +0000 (14:36 +0000)]
Fixed a bug

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

20 years agoMore debugging output
cuz [Fri, 4 Jun 2004 14:36:36 +0000 (14:36 +0000)]
More debugging output

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

20 years agoFixed a bug
cuz [Fri, 4 Jun 2004 14:06:36 +0000 (14:06 +0000)]
Fixed a bug

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

20 years agoAdded new atmos tgi driver
cuz [Thu, 3 Jun 2004 21:30:16 +0000 (21:30 +0000)]
Added new atmos tgi driver

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