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

17 years agoAdded #warning (suggestion by Rudolf Schubert).
cuz [Tue, 28 Aug 2007 12:53:43 +0000 (12:53 +0000)]
Added #warning (suggestion by Rudolf Schubert).

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

17 years agoPreparation for introducing token sources.
cuz [Mon, 27 Aug 2007 20:39:02 +0000 (20:39 +0000)]
Preparation for introducing token sources.

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

17 years agoFixed a bug: The compiler evaluated constant expressions internally always
cuz [Sun, 26 Aug 2007 18:53:46 +0000 (18:53 +0000)]
Fixed a bug: The compiler evaluated constant expressions internally always
using signed integers as data types. This led to wrong results for mod, div
and compares.

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

17 years agoFixed a bug: Byte three of the remainder was overwritten by byte 4.
cuz [Sun, 26 Aug 2007 17:25:21 +0000 (17:25 +0000)]
Fixed a bug: Byte three of the remainder was overwritten by byte 4.

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

17 years agoAdded Peter Wendrich <pwsoft@syntiac.com> to the CREDITS file.
cuz [Thu, 23 Aug 2007 19:50:17 +0000 (19:50 +0000)]
Added Peter Wendrich <pwsoft@syntiac.com> to the CREDITS file.

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

17 years agoNew .FEATURE org_per_seg. If enabled, .org/.reloc do only influence the
cuz [Thu, 23 Aug 2007 19:48:43 +0000 (19:48 +0000)]
New .FEATURE org_per_seg. If enabled, .org/.reloc do only influence the
current segment. Idea by Peter Wendrich <pwsoft@syntiac.com>.

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

17 years agoRemove the #error statement if the platform is unknown. This allows use of
cuz [Tue, 21 Aug 2007 13:16:53 +0000 (13:16 +0000)]
Remove the #error statement if the platform is unknown. This allows use of
conio.h in custom targets.

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

17 years agoDon't try to strip the ca65html perl script.
cuz [Mon, 20 Aug 2007 09:24:04 +0000 (09:24 +0000)]
Don't try to strip the ca65html perl script.

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

17 years agoAdded an URL tag
cuz [Mon, 20 Aug 2007 08:43:45 +0000 (08:43 +0000)]
Added an URL tag

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

17 years agoReplaced "Copyright" tag by "License".
cuz [Mon, 20 Aug 2007 08:40:23 +0000 (08:40 +0000)]
Replaced "Copyright" tag by "License".

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

17 years agoApplied Magervalps colorization changes with some minor modifications.
cuz [Sun, 19 Aug 2007 12:54:45 +0000 (12:54 +0000)]
Applied Magervalps colorization changes with some minor modifications.
Colorization is now done by using CSS style sheets, so even colorized pages
are valid HTML.

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

17 years agoFixed umlauts
cuz [Sun, 19 Aug 2007 12:23:24 +0000 (12:23 +0000)]
Fixed umlauts

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

17 years agoAmiga install files by Stefan Haubenthal.
cuz [Sun, 19 Aug 2007 12:12:33 +0000 (12:12 +0000)]
Amiga install files by Stefan Haubenthal.

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

17 years agoFixed an error handling SC_EXTERN.
cuz [Tue, 3 Jul 2007 16:02:04 +0000 (16:02 +0000)]
Fixed an error handling SC_EXTERN.

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

17 years agoFixed an error.
cuz [Tue, 3 Jul 2007 16:01:51 +0000 (16:01 +0000)]
Fixed an error.

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

17 years agoFixed an error
cuz [Thu, 28 Jun 2007 10:28:34 +0000 (10:28 +0000)]
Fixed an error

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

17 years agoChanges from Greg King
cuz [Thu, 21 Jun 2007 20:42:16 +0000 (20:42 +0000)]
Changes from Greg King

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

17 years agoFixed wrong spelling of ".dbyt".
cuz [Tue, 12 Jun 2007 15:51:48 +0000 (15:51 +0000)]
Fixed wrong spelling of ".dbyt".

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

17 years agoFixed hangs on certain info files. PC was not incremented when DataByteLine
cuz [Tue, 12 Jun 2007 07:29:25 +0000 (07:29 +0000)]
Fixed hangs on certain info files. PC was not incremented when DataByteLine
is called.

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

17 years agoThe copyright tag is deprecated.
cuz [Sat, 26 May 2007 19:59:06 +0000 (19:59 +0000)]
The copyright tag is deprecated.

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

17 years agoFixed a problem with MagerValps changes.
cuz [Mon, 21 May 2007 20:51:55 +0000 (20:51 +0000)]
Fixed a problem with MagerValps changes.

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

17 years agospace optimization by Stefan Haubenthal
cpg [Wed, 28 Mar 2007 19:34:48 +0000 (19:34 +0000)]
space optimization by Stefan Haubenthal

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

17 years agoFix type of "&array" - it will actually generate pointer to array, not pointer
cuz [Sun, 18 Mar 2007 19:15:35 +0000 (19:15 +0000)]
Fix type of "&array" - it will actually generate pointer to array, not pointer
to element. This will make some valid code work but emits now errors for
questionable code.

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

17 years agoUsing typdefs, it is possible to construct types that have qualifiers
cuz [Sun, 18 Mar 2007 18:26:00 +0000 (18:26 +0000)]
Using typdefs, it is possible to construct types that have qualifiers
attached to an array (not the elementtype). Fix these problems by tranfering
the qualifiers to the elements.

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

17 years agoCorrected some 510/610 info.
cuz [Sun, 11 Mar 2007 22:02:36 +0000 (22:02 +0000)]
Corrected some 510/610 info.

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

17 years agoFixed a bug introduced with the last patch
cuz [Sat, 10 Feb 2007 18:22:43 +0000 (18:22 +0000)]
Fixed a bug introduced with the last patch

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

17 years agoUpdated version by Karri Kaksonen.
cuz [Fri, 9 Feb 2007 08:24:03 +0000 (08:24 +0000)]
Updated version by Karri Kaksonen.

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

17 years agoFixed an error in SB_Slice.
cuz [Wed, 7 Feb 2007 14:25:51 +0000 (14:25 +0000)]
Fixed an error in SB_Slice.

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

17 years agoMagerValp: I adjusted some of the regexps in ca65html again, to better detect
cuz [Sat, 3 Feb 2007 18:26:16 +0000 (18:26 +0000)]
MagerValp: I adjusted some of the regexps in ca65html again, to better detect
labels, and to eliminate false positives where labels start with three
characters matching an opcode.

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

17 years agoFixed internal compiler error on invalid input code.
cuz [Sat, 3 Feb 2007 18:11:37 +0000 (18:11 +0000)]
Fixed internal compiler error on invalid input code.

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

17 years agoNew version by Oliver Schmidt
cuz [Wed, 24 Jan 2007 21:07:11 +0000 (21:07 +0000)]
New version by Oliver Schmidt

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

17 years agoUpdate from Oliver Schmidt
cuz [Fri, 5 Jan 2007 16:16:34 +0000 (16:16 +0000)]
Update from Oliver Schmidt

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

18 years agoReplace the fixed buffer in the Find() routine by a dynamically allocated
cuz [Tue, 22 Aug 2006 20:27:59 +0000 (20:27 +0000)]
Replace the fixed buffer in the Find() routine by a dynamically allocated
string using a StrBuf. This works around problems with Watcom C where
FILENAME_MAX was just 80.

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

18 years agoIgnore intermediate files
cuz [Fri, 18 Aug 2006 16:41:45 +0000 (16:41 +0000)]
Ignore intermediate files

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

18 years agoAdded build rules for the apple2-auxmem driver.
cuz [Fri, 18 Aug 2006 16:40:45 +0000 (16:40 +0000)]
Added build rules for the apple2-auxmem driver.

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

18 years agoNew extended memory driver by Stefan Haubenthal.
cuz [Thu, 17 Aug 2006 19:50:23 +0000 (19:50 +0000)]
New extended memory driver by Stefan Haubenthal.

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

18 years agoHonor the new MOUSE_FLAG_EARLY_IRQ and MOUSE_FLAG_LATE_IRQ flags also when
cuz [Thu, 17 Aug 2006 19:40:16 +0000 (19:40 +0000)]
Honor the new MOUSE_FLAG_EARLY_IRQ and MOUSE_FLAG_LATE_IRQ flags also when
uninstalling the driver.

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

18 years agoFixed a typo (patch by Stefan Haubenthal).
cuz [Thu, 17 Aug 2006 19:28:43 +0000 (19:28 +0000)]
Fixed a typo (patch by Stefan Haubenthal).

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

18 years agoAdded docs for the Supervision Console contributed by Stefan Haubenthal.
cuz [Thu, 17 Aug 2006 19:27:19 +0000 (19:27 +0000)]
Added docs for the Supervision Console contributed by Stefan Haubenthal.

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

18 years agoMouse driver fixes by Oliver Schmidt.
cuz [Thu, 17 Aug 2006 19:22:53 +0000 (19:22 +0000)]
Mouse driver fixes by Oliver Schmidt.

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

18 years agoAdded constructor support (contributed by Stefan Haubenthal).
cuz [Thu, 17 Aug 2006 19:19:55 +0000 (19:19 +0000)]
Added constructor support (contributed by Stefan Haubenthal).

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

18 years agoRewrote the xxx_load routines for the drivers in assembler to save some
cuz [Mon, 5 Jun 2006 16:59:29 +0000 (16:59 +0000)]
Rewrote the xxx_load routines for the drivers in assembler to save some
space.

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

18 years agojoy_unload didn't return a valid error code.
cuz [Sun, 4 Jun 2006 10:33:51 +0000 (10:33 +0000)]
joy_unload didn't return a valid error code.

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

18 years agoser_unload didn't return a valid error code.
cuz [Sun, 4 Jun 2006 10:31:33 +0000 (10:31 +0000)]
ser_unload didn't return a valid error code.

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

18 years agomouse_unload didn't return a valid erro code on success.
cuz [Sun, 4 Jun 2006 10:29:13 +0000 (10:29 +0000)]
mouse_unload didn't return a valid erro code on success.

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

18 years agoFixed a problem when loading joystick drivers: When an install error occurred,
cuz [Sun, 4 Jun 2006 10:15:18 +0000 (10:15 +0000)]
Fixed a problem when loading joystick drivers: When an install error occurred,
the driver wasn't removed from memory.

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

18 years agoUnloading the joystick driver didn't reset the interrupts, so the program may
cuz [Sun, 4 Jun 2006 10:14:30 +0000 (10:14 +0000)]
Unloading the joystick driver didn't reset the interrupts, so the program may
crash later.

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

18 years agoFixed an error in the load routine: The driver was not removed from memory
cuz [Sun, 4 Jun 2006 10:01:33 +0000 (10:01 +0000)]
Fixed an error in the load routine: The driver was not removed from memory
when the install routine failed.

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

18 years agoFixed error handling
cuz [Sun, 4 Jun 2006 09:59:02 +0000 (09:59 +0000)]
Fixed error handling

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

18 years agoFixed a problem in mouse_load_driver: The driver was not removed from memory
cuz [Sun, 4 Jun 2006 09:48:14 +0000 (09:48 +0000)]
Fixed a problem in mouse_load_driver: The driver was not removed from memory
when the load failed.

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

18 years agoAddition warning in comment
cuz [Wed, 31 May 2006 21:18:44 +0000 (21:18 +0000)]
Addition warning in comment

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

18 years agoMinor update by Oliver Schmidt
cuz [Wed, 31 May 2006 21:11:46 +0000 (21:11 +0000)]
Minor update by Oliver Schmidt

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

18 years agoNew cbm510 docs by Stefan Haubenthal.
cuz [Wed, 31 May 2006 21:08:57 +0000 (21:08 +0000)]
New cbm510 docs by Stefan Haubenthal.

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

18 years agoFixed a problem with undefined identifiers in #if expressions: If the
cuz [Mon, 29 May 2006 20:38:44 +0000 (20:38 +0000)]
Fixed a problem with undefined identifiers in #if expressions: If the
identifier is not the last token on the line, the compiler will run into
an error.

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

18 years agoTerminate the line containing the #if expression before passing it to the
cuz [Mon, 29 May 2006 20:36:21 +0000 (20:36 +0000)]
Terminate the line containing the #if expression before passing it to the
parser.

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

18 years agoUpdate by Oliver Schmidt
cuz [Mon, 29 May 2006 16:27:39 +0000 (16:27 +0000)]
Update by Oliver Schmidt

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

18 years agoChanged the mouse API: Introduced a new flag byte that contains information
cuz [Sun, 21 May 2006 11:25:31 +0000 (11:25 +0000)]
Changed the mouse API: Introduced a new flag byte that contains information
about the driver, the mouse kernel needs to know. Current supported: Two flags
to enable interrupts before or after calling the driver INSTALL routine.

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

18 years agoDon't check for open .IF clauses when reaching the end of pushed input data.
cuz [Sun, 21 May 2006 11:23:22 +0000 (11:23 +0000)]
Don't check for open .IF clauses when reaching the end of pushed input data.
This will allow to write macros that contain open .IFs.

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

18 years agoThe Plus/4 has an ACIA
cuz [Tue, 9 May 2006 19:44:33 +0000 (19:44 +0000)]
The Plus/4 has an ACIA

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

18 years agoSmall C16 fixes by Stefan Haubenthal.
cuz [Tue, 9 May 2006 19:44:19 +0000 (19:44 +0000)]
Small C16 fixes by Stefan Haubenthal.

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

18 years agoMinor fixes by Stefan Haubenthal
cuz [Mon, 8 May 2006 19:29:37 +0000 (19:29 +0000)]
Minor fixes by Stefan Haubenthal

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

18 years agoNew version from Oliver Schmidt
cuz [Mon, 8 May 2006 19:26:21 +0000 (19:26 +0000)]
New version from Oliver Schmidt

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

18 years agoSmall addition by Oliver Schmidt
cuz [Wed, 26 Apr 2006 12:45:23 +0000 (12:45 +0000)]
Small addition by Oliver Schmidt

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

18 years agoRemoved a C99 construct
cuz [Mon, 24 Apr 2006 23:45:44 +0000 (23:45 +0000)]
Removed a C99 construct

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

18 years agoBugfix by Oliver Schmidt
cuz [Sun, 23 Apr 2006 20:30:44 +0000 (20:30 +0000)]
Bugfix by Oliver Schmidt

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

18 years agoAdded another optimization step
cuz [Sun, 16 Apr 2006 21:35:36 +0000 (21:35 +0000)]
Added another optimization step

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

18 years agoAdded more info about internal (builtin) functions
cuz [Sun, 16 Apr 2006 21:35:24 +0000 (21:35 +0000)]
Added more info about internal (builtin) functions

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

18 years agoComment fix
cuz [Sun, 16 Apr 2006 20:32:09 +0000 (20:32 +0000)]
Comment fix

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

18 years agoRepeatedly call OptStore1 after OptJumpTarget because it is able to do some
cuz [Sat, 15 Apr 2006 20:46:05 +0000 (20:46 +0000)]
Repeatedly call OptStore1 after OptJumpTarget because it is able to do some
more work in case of for loops.

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

18 years agoldaxysp doesn't return flags any more.
cuz [Sat, 15 Apr 2006 20:45:35 +0000 (20:45 +0000)]
ldaxysp doesn't return flags any more.

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

18 years agoAdded some code rewriting (may enable optimizations in a few cases).
cuz [Sat, 15 Apr 2006 20:31:43 +0000 (20:31 +0000)]
Added some code rewriting (may enable optimizations in a few cases).

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

18 years agoOptimize decaxn
cuz [Sat, 15 Apr 2006 19:28:45 +0000 (19:28 +0000)]
Optimize decaxn

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

18 years agoDeclare zero page variables before use. Otherwise they aren't used in zero
cuz [Sun, 9 Apr 2006 11:43:03 +0000 (11:43 +0000)]
Declare zero page variables before use. Otherwise they aren't used in zero
page addressing mode, if the assembler has a choice.

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

18 years agoEmit warnings for symbols that were used suboptimal because of forward
cuz [Sun, 9 Apr 2006 10:56:23 +0000 (10:56 +0000)]
Emit warnings for symbols that were used suboptimal because of forward
definitions. For example a zero page symbol that is used as absolute because
it was undefined when encountered.

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

18 years agoNew function xdup.
cuz [Sun, 9 Apr 2006 10:04:50 +0000 (10:04 +0000)]
New function xdup.

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

18 years agoThe Apple2 has only upper case chars.
cuz [Fri, 7 Apr 2006 17:49:38 +0000 (17:49 +0000)]
The Apple2 has only upper case chars.

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

18 years agoCorrected some runtime function info
cuz [Fri, 7 Apr 2006 08:38:30 +0000 (08:38 +0000)]
Corrected some runtime function info

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

18 years agoFixed a copy&paste error
cuz [Thu, 6 Apr 2006 20:23:53 +0000 (20:23 +0000)]
Fixed a copy&paste error

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

18 years agoFixed problem with unprotected <> chars
cuz [Thu, 6 Apr 2006 20:20:39 +0000 (20:20 +0000)]
Fixed problem with unprotected <> chars

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

18 years agoThe apples do now have a mouse driver
cuz [Thu, 6 Apr 2006 19:55:50 +0000 (19:55 +0000)]
The apples do now have a mouse driver

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

18 years agoApple 2 mouse driver and other stuff from Oliver Schmidt
cuz [Thu, 6 Apr 2006 19:51:37 +0000 (19:51 +0000)]
Apple 2 mouse driver and other stuff from Oliver Schmidt

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

18 years agoAdded lots of runtime function info.
cuz [Mon, 3 Apr 2006 19:31:31 +0000 (19:31 +0000)]
Added lots of runtime function info.
Fixed a problem with wrong info for the incaxn functions.

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

18 years agoAdded info for the staxspidx runtime function.
cuz [Sun, 2 Apr 2006 15:32:16 +0000 (15:32 +0000)]
Added info for the staxspidx runtime function.

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

18 years agoCode goes into the CODE segment, not RODATA.
cuz [Fri, 31 Mar 2006 20:07:43 +0000 (20:07 +0000)]
Code goes into the CODE segment, not RODATA.

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

18 years agoFixed a few errors in the macros used by the Watcom compiler.
cuz [Thu, 30 Mar 2006 19:49:03 +0000 (19:49 +0000)]
Fixed a few errors in the macros used by the Watcom compiler.

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

18 years agoFixed a problem of the optimizer. Unknown internal functions are marked as
cuz [Fri, 24 Mar 2006 15:24:34 +0000 (15:24 +0000)]
Fixed a problem of the optimizer. Unknown internal functions are marked as
using just EAX as input, and destroy all registers. This did cause the
optimizer to remove loads to zero page locations needed in the routines or
later.
Print a warning for unknown internal functions when in debug mode.

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

18 years agoCleanup. Added a few general purpose functions.
cuz [Sun, 19 Feb 2006 15:53:11 +0000 (15:53 +0000)]
Cleanup. Added a few general purpose functions.

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

18 years agoChanged the low level type representation from a strung of unsigned short
cuz [Sun, 19 Feb 2006 12:29:37 +0000 (12:29 +0000)]
Changed the low level type representation from a strung of unsigned short
elements to a string of structs, each representing one type element. This
should fix problems on unusual architectures, since it is no longer necessary
to embedd pointers and other data converted to numbers in the string of
unsigned shorts.
Increased the TypeCode length to unsigned long to make room for more type
bits.
Inline more functions in datatype.h.

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

18 years agoRemoved an unneeded struct forward
cuz [Sat, 18 Feb 2006 12:23:07 +0000 (12:23 +0000)]
Removed an unneeded struct forward

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

18 years agoAdded the inline keyword
cuz [Fri, 17 Feb 2006 20:27:51 +0000 (20:27 +0000)]
Added the inline keyword

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

18 years agoParse the C99 "restrict" keyword correctly (but ignore it otherwise).
cuz [Fri, 17 Feb 2006 20:19:35 +0000 (20:19 +0000)]
Parse the C99 "restrict" keyword correctly (but ignore it otherwise).

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