]> git.sur5r.net Git - cc65/log
cc65
15 years agoFixed problems with casts, where larger values weren't truncated when casting
uz [Sun, 28 Dec 2008 16:25:03 +0000 (16:25 +0000)]
Fixed problems with casts, where larger values weren't truncated when casting
down to char size.

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

16 years agoAdd new --tabsize option to usage/help output.
uz [Tue, 11 Nov 2008 21:23:15 +0000 (21:23 +0000)]
Add new --tabsize option to usage/help output.

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

16 years agoNew option --tabsize.
uz [Tue, 11 Nov 2008 21:21:10 +0000 (21:21 +0000)]
New option --tabsize.

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

16 years agoBe more tolerant with dos/windows line endings.
uz [Tue, 11 Nov 2008 21:16:51 +0000 (21:16 +0000)]
Be more tolerant with dos/windows line endings.

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

16 years agoFixed the macro versions of several inline functions.
uz [Sun, 31 Aug 2008 18:31:18 +0000 (18:31 +0000)]
Fixed the macro versions of several inline functions.

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

16 years agoMore changes to support address size qualifiers.
uz [Sun, 31 Aug 2008 18:24:33 +0000 (18:24 +0000)]
More changes to support address size qualifiers.

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

16 years agoTest for pointer must use IsTypePtr not a direct compare. The later may (and
uz [Sun, 31 Aug 2008 18:23:58 +0000 (18:23 +0000)]
Test for pointer must use IsTypePtr not a direct compare. The later may (and
does) fail because of qualifiers.

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

16 years agoFixed problems with the startup code (Greg King): Interrupts must be hooked
uz [Sun, 31 Aug 2008 18:22:51 +0000 (18:22 +0000)]
Fixed problems with the startup code (Greg King): Interrupts must be hooked
before calling initlib because initlib calls contructors and may install
drivers, which enable hardware interrupts. Similar for donelib.

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

16 years agoReverted a change that should not have been commited.
uz [Sun, 31 Aug 2008 18:21:17 +0000 (18:21 +0000)]
Reverted a change that should not have been commited.

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

16 years agoMade strxfrm fastcall, added docs.
uz [Wed, 27 Aug 2008 20:02:48 +0000 (20:02 +0000)]
Made strxfrm fastcall, added docs.

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

16 years agoRemoved flushall, since it is non-standard and not used anyway.
uz [Mon, 25 Aug 2008 20:49:52 +0000 (20:49 +0000)]
Removed flushall, since it is non-standard and not used anyway.

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

16 years agoAdded reference to dio_query_sectcount().
ol.sc [Mon, 25 Aug 2008 20:23:12 +0000 (20:23 +0000)]
Added reference to dio_query_sectcount().

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

16 years agoFixed Plus/4 info. This is a test commit by uz using the ol.sc account.
ol.sc [Mon, 25 Aug 2008 17:41:16 +0000 (17:41 +0000)]
Fixed Plus/4 info. This is a test commit by uz using the ol.sc account.

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

16 years agoMoved the fascall and near/far flags from the function desriptor into the
uz [Sun, 24 Aug 2008 17:33:30 +0000 (17:33 +0000)]
Moved the fascall and near/far flags from the function desriptor into the
type. Started to add general handling of address size flags in types.

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

16 years agoDocument the new c_comments feature.
uz [Thu, 21 Aug 2008 19:42:52 +0000 (19:42 +0000)]
Document the new c_comments feature.

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

16 years agoEnable use of new C like comments only if the new feature "c_comments" is
uz [Thu, 21 Aug 2008 19:35:39 +0000 (19:35 +0000)]
Enable use of new C like comments only if the new feature "c_comments" is
enabled.

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

16 years agoAdded C like /* */ comments.
uz [Tue, 19 Aug 2008 21:26:23 +0000 (21:26 +0000)]
Added C like /* */ comments.

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

16 years agoChecked in a small test routine for the serial drivers. It has been lying
uz [Thu, 14 Aug 2008 19:17:34 +0000 (19:17 +0000)]
Checked in a small test routine for the serial drivers. It has been lying
around for some time here.

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

16 years agoSome more floating point support.
uz [Mon, 11 Aug 2008 17:51:00 +0000 (17:51 +0000)]
Some more floating point support.

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

16 years agoUse GlobalModeFlags() if apropriate.
uz [Sat, 9 Aug 2008 20:33:11 +0000 (20:33 +0000)]
Use GlobalModeFlags() if apropriate.

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

16 years agoFixed a bug: Structure assignment was broken.
uz [Fri, 8 Aug 2008 16:47:43 +0000 (16:47 +0000)]
Fixed a bug: Structure assignment was broken.

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

16 years agoFixed a bug: The op= operators (+=, -=, etc.) worked on const qualified
uz [Thu, 7 Aug 2008 22:22:58 +0000 (22:22 +0000)]
Fixed a bug: The op= operators (+=, -=, etc.) worked on const qualified
objects.

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

16 years agoFixed a bug: It was possible to increment or decrement const qualified
uz [Thu, 7 Aug 2008 22:18:12 +0000 (22:18 +0000)]
Fixed a bug: It was possible to increment or decrement const qualified
objects.

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

16 years agoIgnore files/file types.
uz [Tue, 5 Aug 2008 21:55:14 +0000 (21:55 +0000)]
Ignore files/file types.

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

16 years agoIndexing a string by an expression which was not a simple variable didn't
uz [Tue, 5 Aug 2008 21:20:42 +0000 (21:20 +0000)]
Indexing a string by an expression which was not a simple variable didn't
work:  "abcd"[atoi("2")];

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

16 years agoPass a complete ExprDesc and not just the Flags field to GlobalModeFlags to
uz [Tue, 5 Aug 2008 21:11:26 +0000 (21:11 +0000)]
Pass a complete ExprDesc and not just the Flags field to GlobalModeFlags to
allow for better debugging (output) in case of problems.

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

16 years agoDoneStrBuf -> SB_Done (Stefan Haubenthal).
uz [Tue, 5 Aug 2008 20:56:35 +0000 (20:56 +0000)]
DoneStrBuf -> SB_Done (Stefan Haubenthal).

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

16 years agoAdded Koala Pad mouse drivers written by Stefan Haubenthal.
uz [Tue, 5 Aug 2008 20:54:35 +0000 (20:54 +0000)]
Added Koala Pad mouse drivers written by Stefan Haubenthal.

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

16 years agoIgnore a few files/file types.
uz [Tue, 5 Aug 2008 19:48:33 +0000 (19:48 +0000)]
Ignore a few files/file types.

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

16 years agoFixed wrong code generation for
uz [Tue, 5 Aug 2008 19:47:57 +0000 (19:47 +0000)]
Fixed wrong code generation for
((unsigned char *)(&shadow))[reg & 0x0f] = value;

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

16 years agoIgnore some files/file types.
uz [Tue, 5 Aug 2008 17:07:15 +0000 (17:07 +0000)]
Ignore some files/file types.

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

16 years agoIgnore a few files/file types.
uz [Tue, 5 Aug 2008 15:53:40 +0000 (15:53 +0000)]
Ignore a few files/file types.

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

16 years agoFixed a comment.
uz [Tue, 5 Aug 2008 15:52:25 +0000 (15:52 +0000)]
Fixed a comment.

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

16 years agoIgnore dbg.s, it's a generated file.
uz [Sun, 3 Aug 2008 21:07:42 +0000 (21:07 +0000)]
Ignore dbg.s, it's a generated file.

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

16 years agoIgnore several generated files.
uz [Sun, 3 Aug 2008 21:02:38 +0000 (21:02 +0000)]
Ignore several generated files.

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

16 years agoFixed several problems with old style (K&R) declarations and a mix of old and
uz [Sun, 3 Aug 2008 20:55:36 +0000 (20:55 +0000)]
Fixed several problems with old style (K&R) declarations and a mix of old and
new style decls.

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

16 years agoFixed a comment
uz [Sun, 3 Aug 2008 20:09:03 +0000 (20:09 +0000)]
Fixed a comment

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

16 years agoMove some storage class handling and checking for implicit into from locals.c
uz [Sun, 3 Aug 2008 18:20:12 +0000 (18:20 +0000)]
Move some storage class handling and checking for implicit into from locals.c
and compile.c into ParseDecl() (declare.c).

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

16 years agoTransfer the storage class flags from struct DeclSpec into struct Declaration.
uz [Sun, 3 Aug 2008 18:00:05 +0000 (18:00 +0000)]
Transfer the storage class flags from struct DeclSpec into struct Declaration.

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

16 years agoFixed handling of function definitions with an empty parameter list. According
uz [Sun, 3 Aug 2008 15:30:03 +0000 (15:30 +0000)]
Fixed handling of function definitions with an empty parameter list. According
to the standard, an empty parameter list in a function declarator that is not
a definition means that the function may have any number of parameters. In a
function definition, it means that there are no parameters (as if the function
were declared with a "void" parameter list).

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

16 years agoA label must always be followed by a statement. This wasn't checked by the
uz [Sun, 3 Aug 2008 12:54:11 +0000 (12:54 +0000)]
A label must always be followed by a statement. This wasn't checked by the
compiler before.

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

16 years agogit-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81
uz [Sat, 2 Aug 2008 22:02:54 +0000 (22:02 +0000)]
git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81

16 years agoIn an old style function definition, print a diagnostic if a type is assigned V2.12.0
cuz [Fri, 1 Aug 2008 21:40:07 +0000 (21:40 +0000)]
In an old style function definition, print a diagnostic if a type is assigned
twice to a parameter.

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

16 years agoA label must always be followed by a statement. Check for this.
cuz [Fri, 1 Aug 2008 20:00:23 +0000 (20:00 +0000)]
A label must always be followed by a statement. Check for this.

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

16 years agoSwitch statement may now contain arbitrary code as the standard requires. The
cuz [Fri, 1 Aug 2008 19:44:01 +0000 (19:44 +0000)]
Switch statement may now contain arbitrary code as the standard requires. The
compiler will now accept stuff like Duffs device.

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

16 years agoAdded several type checks, especially for functions. Moved check for implicit
cuz [Thu, 31 Jul 2008 18:31:15 +0000 (18:31 +0000)]
Added several type checks, especially for functions. Moved check for implicit
int return type.

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

16 years agoCalling an undefined function is an error in C99.
cuz [Thu, 31 Jul 2008 18:30:33 +0000 (18:30 +0000)]
Calling an undefined function is an error in C99.

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

16 years agoFixed an error
cuz [Sat, 26 Jul 2008 22:19:01 +0000 (22:19 +0000)]
Fixed an error

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

16 years agoFixed a typo.
cuz [Mon, 21 Jul 2008 18:42:46 +0000 (18:42 +0000)]
Fixed a typo.

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

16 years agoadd CONIO section (from Stefan Haubenthal)
cpg [Wed, 16 Jul 2008 20:42:38 +0000 (20:42 +0000)]
add CONIO section (from Stefan Haubenthal)

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

16 years agoMove zpsave into its own segment to decrease the executable size.
cuz [Tue, 15 Jul 2008 18:34:20 +0000 (18:34 +0000)]
Move zpsave into its own segment to decrease the executable size.

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

16 years agouse __ZPSAVE_LOAD__ instead of __BSS_LOAD__ to create EXEHDR
cpg [Fri, 4 Jul 2008 17:32:00 +0000 (17:32 +0000)]
use __ZPSAVE_LOAD__ instead of __BSS_LOAD__ to create EXEHDR

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

16 years agoadd "define=yes" for ZPSAVE segment, since it's needed by crt0.s
cpg [Fri, 4 Jul 2008 17:31:14 +0000 (17:31 +0000)]
add "define=yes" for ZPSAVE segment, since it's needed by crt0.s

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

16 years agoMoved the data that keeps a copy of the used zero page locations in its own
cuz [Thu, 3 Jul 2008 19:39:14 +0000 (19:39 +0000)]
Moved the data that keeps a copy of the used zero page locations in its own
segment to reduce the executable size.

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

16 years agofix comments for LMARGN and RMARGN
cpg [Tue, 1 Jul 2008 21:05:28 +0000 (21:05 +0000)]
fix comments for LMARGN and RMARGN

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

16 years agoUse RMARGN instead of a hard coded value for compatibility with XEP80.
cpg [Tue, 1 Jul 2008 20:58:03 +0000 (20:58 +0000)]
Use RMARGN instead of a hard coded value for compatibility with XEP80.
Patch by Stefan Haubenthal.

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

16 years agoFixed an error in .out
cuz [Sun, 29 Jun 2008 20:13:37 +0000 (20:13 +0000)]
Fixed an error in .out

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

16 years agoSeveral updates by Oliver Schmidt.
cuz [Mon, 16 Jun 2008 17:32:33 +0000 (17:32 +0000)]
Several updates by Oliver Schmidt.

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

16 years agoUpdates and hints regarding AppleCommander by Oliver Schmidt.
cuz [Mon, 16 Jun 2008 17:25:01 +0000 (17:25 +0000)]
Updates and hints regarding AppleCommander by Oliver Schmidt.

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

16 years agoBumped the version number
cuz [Mon, 21 Apr 2008 20:14:29 +0000 (20:14 +0000)]
Bumped the version number

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

16 years agoBumped the version number
cuz [Mon, 21 Apr 2008 20:11:14 +0000 (20:11 +0000)]
Bumped the version number

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

16 years agoRenamed setoserror to seterrnofromoserror to avoid clashes.
cuz [Tue, 15 Apr 2008 06:55:35 +0000 (06:55 +0000)]
Renamed setoserror to seterrnofromoserror to avoid clashes.

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

16 years agoFixed an error.
cuz [Tue, 15 Apr 2008 06:44:46 +0000 (06:44 +0000)]
Fixed an error.

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

16 years agoRemoved display swapping code
cuz [Mon, 14 Apr 2008 18:56:32 +0000 (18:56 +0000)]
Removed display swapping code

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

16 years agoNew entry point setoserror
cuz [Sun, 13 Apr 2008 17:35:15 +0000 (17:35 +0000)]
New entry point setoserror

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

16 years agoNew function fndefunit.
cuz [Sun, 13 Apr 2008 14:49:16 +0000 (14:49 +0000)]
New function fndefunit.

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

16 years agoAdded information about the DTV extended memory driver.
cuz [Thu, 10 Apr 2008 20:29:25 +0000 (20:29 +0000)]
Added information about the DTV extended memory driver.

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

16 years agoNew get_tv function by Stefan Haubenthal.
cuz [Thu, 10 Apr 2008 20:20:26 +0000 (20:20 +0000)]
New get_tv function by Stefan Haubenthal.

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

16 years agoNTSC/PAL update by Stefan Haubenthal.
cuz [Thu, 10 Apr 2008 20:15:28 +0000 (20:15 +0000)]
NTSC/PAL update by Stefan Haubenthal.

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

16 years agoNew get_tv module from Stefan Haubenthal.
cuz [Thu, 10 Apr 2008 20:12:20 +0000 (20:12 +0000)]
New get_tv module from Stefan Haubenthal.

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

16 years agoMore fixes for Watcom C / C89.
cuz [Mon, 31 Mar 2008 21:28:50 +0000 (21:28 +0000)]
More fixes for Watcom C / C89.

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

16 years agoFixed another problem with the macros.
cuz [Mon, 31 Mar 2008 21:23:10 +0000 (21:23 +0000)]
Fixed another problem with the macros.

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

16 years agoAllow an optional '+' sign before an exponent of a floating point constant.
cuz [Mon, 31 Mar 2008 21:17:27 +0000 (21:17 +0000)]
Allow an optional '+' sign before an exponent of a floating point constant.

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

16 years agoFixed bugs in the macro versions of the GetStringId inline functions.
cuz [Mon, 31 Mar 2008 21:13:10 +0000 (21:13 +0000)]
Fixed bugs in the macro versions of the GetStringId inline functions.

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

16 years agoMake much more usage of dynamic strings (StrBufs) instead of char* and
cuz [Mon, 31 Mar 2008 20:54:45 +0000 (20:54 +0000)]
Make much more usage of dynamic strings (StrBufs) instead of char* and
friends. Since names and other strings are now StrBufs in many places, code
for output had to be changed.
Added support for string literals to StrBuf.

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

16 years agoThe conversion specifier to output a StrBuf had to be changed, because gcc
cuz [Mon, 31 Mar 2008 20:51:31 +0000 (20:51 +0000)]
The conversion specifier to output a StrBuf had to be changed, because gcc
emits a warning for each such unknown conversion specifier.

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

16 years agoRemoved an unused module.
cuz [Sun, 30 Mar 2008 08:41:26 +0000 (08:41 +0000)]
Removed an unused module.

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

16 years agoFixed an error in the type comparison code. Function declarators were not
cuz [Sat, 29 Mar 2008 12:17:32 +0000 (12:17 +0000)]
Fixed an error in the type comparison code. Function declarators were not
considered equal, if the functions defined different local structs.

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

16 years agoNew functions SB_ToLower and SB_ToUpper.
cuz [Thu, 27 Mar 2008 13:40:38 +0000 (13:40 +0000)]
New functions SB_ToLower and SB_ToUpper.

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

16 years agoQuite some functions mentioned as "unsupported" are available in the meantime
cuz [Wed, 26 Mar 2008 08:39:36 +0000 (08:39 +0000)]
Quite some functions mentioned as "unsupported" are available in the meantime
(Stefan Haubenthal).

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

16 years agoFixed a few typos (Stefan Haubenthal).
cuz [Wed, 26 Mar 2008 08:35:50 +0000 (08:35 +0000)]
Fixed a few typos (Stefan Haubenthal).

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

16 years agoThe value of COLOR_WHITE changed from 1 to 3.
cuz [Tue, 25 Mar 2008 19:08:26 +0000 (19:08 +0000)]
The value of COLOR_WHITE changed from 1 to 3.

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

16 years agoRemoved obsolete files.
cuz [Tue, 25 Mar 2008 19:07:52 +0000 (19:07 +0000)]
Removed obsolete files.

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

16 years agoOliver Schmidt updated the graphics drivers and part of the C library for the
cuz [Sun, 16 Mar 2008 09:37:22 +0000 (09:37 +0000)]
Oliver Schmidt updated the graphics drivers and part of the C library for the
Apple machines.

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

16 years agoOliver Schmidt added test output for second fire button.
cuz [Sun, 16 Mar 2008 09:27:20 +0000 (09:27 +0000)]
Oliver Schmidt added test output for second fire button.

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

16 years agoIgnore all the generated text files.
cuz [Sun, 16 Mar 2008 09:01:28 +0000 (09:01 +0000)]
Ignore all the generated text files.

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

16 years agoFixed a bug in the optimizer. Loads of X and Y from memory were sometimes
cuz [Wed, 27 Feb 2008 20:37:02 +0000 (20:37 +0000)]
Fixed a bug in the optimizer. Loads of X and Y from memory were sometimes
replaced by loads of A with an immediate value (which is stored in said memory
location).

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

16 years agoOliver Schmidt fixed errors in the LINE and SETPIXELCLIP routines.
cuz [Mon, 25 Feb 2008 07:47:04 +0000 (07:47 +0000)]
Oliver Schmidt fixed errors in the LINE and SETPIXELCLIP routines.

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

16 years agoThe descriptions of the CLI and SEI functions were reversed.
cuz [Thu, 21 Feb 2008 16:59:57 +0000 (16:59 +0000)]
The descriptions of the CLI and SEI functions were reversed.

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

16 years agoPatch for ca65html by Greg King:
cuz [Wed, 20 Feb 2008 17:27:19 +0000 (17:27 +0000)]
Patch for ca65html by Greg King:

The "ca65html.sgml" patch:
1) Removes text that says that the colorize option is non-standard.
2) Corrects the information about what is put on the index page.

The "ca65html" patch:
1) Looks for "?" and "@" at the front of cheap local labels.
2) Handles label assignment statements.
3) Parses many more ca65 dot-directives.
4) Handles every official op-code mnemonic that ca65 knows.
5) Recognizes both upper- and lower-case directives and mnemonics.

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

16 years agoAllow optional assignments in .export and .exportzp statements.
cuz [Tue, 19 Feb 2008 21:01:07 +0000 (21:01 +0000)]
Allow optional assignments in .export and .exportzp statements.

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

16 years agoFixed an error (Oliver Schmidt).
cuz [Wed, 12 Dec 2007 19:16:52 +0000 (19:16 +0000)]
Fixed an error (Oliver Schmidt).

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

17 years agoDocument segment support for da65 (which is not completely done).
cuz [Sun, 2 Sep 2007 19:57:34 +0000 (19:57 +0000)]
Document segment support for da65 (which is not completely done).

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

17 years agoMore segment support stuff.
cuz [Sun, 2 Sep 2007 19:49:12 +0000 (19:49 +0000)]
More segment support stuff.

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

17 years agoStarted to add support for segments.
cuz [Fri, 31 Aug 2007 20:27:53 +0000 (20:27 +0000)]
Started to add support for segments.

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

17 years agoMove code to a subroutine.
cuz [Fri, 31 Aug 2007 20:23:37 +0000 (20:23 +0000)]
Move code to a subroutine.

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

17 years agoPreprocess the remainder of the line in a #include preprocessor directive.
cuz [Fri, 31 Aug 2007 16:02:03 +0000 (16:02 +0000)]
Preprocess the remainder of the line in a #include preprocessor directive.
This allows use of macros in the file spec and is a requirement of the C
standard.

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

17 years agoRenamed the Val field to IVal to allow values of other types later.
cuz [Thu, 30 Aug 2007 20:24:16 +0000 (20:24 +0000)]
Renamed the Val field to IVal to allow values of other types later.

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

17 years agoMove more stuff from scanner.c into the new module token.c.
cuz [Tue, 28 Aug 2007 21:14:21 +0000 (21:14 +0000)]
Move more stuff from scanner.c into the new module token.c.

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

17 years agoFixed the name of the assembler.
cuz [Tue, 28 Aug 2007 19:54:48 +0000 (19:54 +0000)]
Fixed the name of the assembler.

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