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

20 years agoCopy the new atmos tgi driver
cuz [Thu, 3 Jun 2004 21:28:56 +0000 (21:28 +0000)]
Copy the new atmos tgi driver

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

20 years agoTGI driver by Stefan Haubenthal
cuz [Thu, 3 Jun 2004 21:27:56 +0000 (21:27 +0000)]
TGI driver by Stefan Haubenthal

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

20 years agoDefine symbols depending on the target system similar to the C compiler.
cuz [Thu, 3 Jun 2004 21:12:29 +0000 (21:12 +0000)]
Define symbols depending on the target system similar to the C compiler.

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

20 years agofinish last change
cpg [Thu, 3 Jun 2004 19:46:16 +0000 (19:46 +0000)]
finish last change

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

20 years agorename backwards compatibility define
cpg [Thu, 3 Jun 2004 19:45:50 +0000 (19:45 +0000)]
rename backwards compatibility define

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

20 years agoprepend a "_" to clib runtime functions
cpg [Thu, 3 Jun 2004 19:43:11 +0000 (19:43 +0000)]
prepend a "_" to clib runtime functions

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

20 years agoFixed symbol usage
cuz [Thu, 3 Jun 2004 17:42:56 +0000 (17:42 +0000)]
Fixed symbol usage

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

20 years agoImprovements by Oliver Schmidt
cuz [Thu, 3 Jun 2004 15:05:41 +0000 (15:05 +0000)]
Improvements by Oliver Schmidt

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

20 years agoFixed a typo
cuz [Thu, 3 Jun 2004 12:09:24 +0000 (12:09 +0000)]
Fixed a typo

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

20 years agoImproved code generation
cuz [Thu, 3 Jun 2004 12:08:49 +0000 (12:08 +0000)]
Improved code generation

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

20 years agoFixed generation of non optimal code in StructRef()
cuz [Thu, 3 Jun 2004 11:10:30 +0000 (11:10 +0000)]
Fixed generation of non optimal code in StructRef()

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

20 years agoComment and indentation changes
cuz [Thu, 3 Jun 2004 11:08:50 +0000 (11:08 +0000)]
Comment and indentation changes

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

20 years agoRewrote code generation for the strlen standard function. Added code for
cuz [Wed, 2 Jun 2004 21:33:35 +0000 (21:33 +0000)]
Rewrote code generation for the strlen standard function. Added code for
other standard functions in several places.

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

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

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

20 years agoFixed a bug
cuz [Tue, 1 Jun 2004 20:30:44 +0000 (20:30 +0000)]
Fixed a bug

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

20 years agosmall optimization; fix line buffered read of length 0
cpg [Tue, 1 Jun 2004 20:25:44 +0000 (20:25 +0000)]
small optimization; fix line buffered read of length 0

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

20 years agoNew options
cuz [Tue, 1 Jun 2004 11:22:35 +0000 (11:22 +0000)]
New options

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

20 years agoFix external function names
cuz [Tue, 1 Jun 2004 08:48:20 +0000 (08:48 +0000)]
Fix external function names

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

20 years agoString literals can be handled as static data in most cases
cuz [Mon, 31 May 2004 19:51:13 +0000 (19:51 +0000)]
String literals can be handled as static data in most cases

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

20 years agoComment fixes by Stefan Haubenthal
cuz [Mon, 31 May 2004 19:35:30 +0000 (19:35 +0000)]
Comment fixes by Stefan Haubenthal

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

20 years agoSmall addition by Stefan Haubenthal
cuz [Mon, 31 May 2004 19:31:53 +0000 (19:31 +0000)]
Small addition by Stefan Haubenthal

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

20 years agoSmall fix by Stefan Haubenthal
cuz [Mon, 31 May 2004 19:30:27 +0000 (19:30 +0000)]
Small fix by Stefan Haubenthal

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

20 years agoAdded oserrlist.s from Stefan Haubenthal
cuz [Mon, 31 May 2004 19:27:54 +0000 (19:27 +0000)]
Added oserrlist.s from Stefan Haubenthal

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

20 years agoLoad programs at 13:5900 instead of 00
cuz [Mon, 31 May 2004 19:25:38 +0000 (19:25 +0000)]
Load programs at 13:5900 instead of 00

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

20 years agoRewrite/cleanup of the complete expression flags handling.
cuz [Mon, 31 May 2004 15:27:33 +0000 (15:27 +0000)]
Rewrite/cleanup of the complete expression flags handling.

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

20 years agoSome improvements in font generation
cuz [Mon, 31 May 2004 15:17:40 +0000 (15:17 +0000)]
Some improvements in font generation

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

20 years agofix comment
cpg [Fri, 28 May 2004 22:05:01 +0000 (22:05 +0000)]
fix comment

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