]> git.sur5r.net Git - cc65/log
cc65
12 years agoMinimal formatting adjustment.
ol.sc [Sun, 30 Sep 2012 14:18:47 +0000 (14:18 +0000)]
Minimal formatting adjustment.

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

12 years agoFix calculation of text width for bitmap fonts.
uz [Thu, 20 Sep 2012 21:14:46 +0000 (21:14 +0000)]
Fix calculation of text width for bitmap fonts.

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

12 years agoAdded a note about errors in disk drives on some platforms that lead to
uz [Thu, 20 Sep 2012 20:25:22 +0000 (20:25 +0000)]
Added a note about errors in disk drives on some platforms that lead to
failures if files are opened/closed while reading the directory.

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

12 years agoFixed a bug reported by thefox: The .CHARMAP command must not accept indices
uz [Mon, 17 Sep 2012 15:09:39 +0000 (15:09 +0000)]
Fixed a bug reported by thefox: The .CHARMAP command must not accept indices
or character codes with a value of zero. The assembler runs into a CHECK in
tgttrans anyway if the index is zero.

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

12 years agoChange address of sec loader
karri [Sat, 15 Sep 2012 12:57:37 +0000 (12:57 +0000)]
Change address of sec loader

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

12 years agoShring the bootloader by 20 bytes and remove restrictions on file size
karri [Tue, 11 Sep 2012 13:01:39 +0000 (13:01 +0000)]
Shring the bootloader by 20 bytes and remove restrictions on file size

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

12 years agoAdded a "fillval" attribute to the segment definition. When given, it
uz [Sun, 9 Sep 2012 19:00:43 +0000 (19:00 +0000)]
Added a "fillval" attribute to the segment definition. When given, it
overrides the value from the memory area for all space that lies within the
segment itself.

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

12 years agoReplaced Apple II specific solution with implementation of recently introduced mass...
ol.sc [Sun, 9 Sep 2012 16:16:08 +0000 (16:16 +0000)]
Replaced Apple II specific solution with implementation of recently introduced mass-storage device enumaration.

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

12 years agoReplaced Apple II specific solution with implementation of recently introduced mass...
ol.sc [Sun, 9 Sep 2012 13:38:32 +0000 (13:38 +0000)]
Replaced Apple II specific solution with implementation of recently introduced mass-storage device enumaration.

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

12 years agoIntroduced mass-storage device enumaration - with implementation for C64 and C128.
ol.sc [Sun, 9 Sep 2012 12:14:45 +0000 (12:14 +0000)]
Introduced mass-storage device enumaration - with implementation for C64 and C128.

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

12 years agoFixed problems reported by Greg King.
uz [Thu, 6 Sep 2012 20:36:35 +0000 (20:36 +0000)]
Fixed problems reported by Greg King.

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

12 years agoHave the internal function 'isdisk' set the carry for device 31. As the device id...
ol.sc [Wed, 5 Sep 2012 19:07:34 +0000 (19:07 +0000)]
Have the internal function 'isdisk' set the carry for device 31. As the device id 31 doesn't really exist it is for sure no disk.

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

12 years agoGenerate and package a matching emd binary of the new driver for the target
uz [Wed, 5 Sep 2012 13:45:17 +0000 (13:45 +0000)]
Generate and package a matching emd binary of the new driver for the target
platform.

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

12 years agoAdded the first EMD driver for the atari, written and contributed by Shawn
uz [Wed, 5 Sep 2012 11:25:28 +0000 (11:25 +0000)]
Added the first EMD driver for the atari, written and contributed by Shawn
Jefferson <sjefferson@shaw.ca>.

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

12 years agoMinor change.
ol.sc [Tue, 4 Sep 2012 09:00:43 +0000 (09:00 +0000)]
Minor change.

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

12 years agoSome documentation fixes. Errors reported by Michael Bazzinotti
uz [Sun, 2 Sep 2012 20:09:39 +0000 (20:09 +0000)]
Some documentation fixes. Errors reported by Michael Bazzinotti
<mbazzinotti@gmail.com>.

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

12 years agoFix by Greg King.
ol.sc [Sun, 26 Aug 2012 19:25:56 +0000 (19:25 +0000)]
Fix by Greg King.

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

12 years agoDo not try to dump an expression that has errors (circular references in this
uz [Wed, 22 Aug 2012 21:24:54 +0000 (21:24 +0000)]
Do not try to dump an expression that has errors (circular references in this
case) because the dump routine doesn't detect this and runs into an endless
recursion.

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

12 years agoNew option --relax-checks that disable the check for a match beween size oif
uz [Mon, 20 Aug 2012 20:07:05 +0000 (20:07 +0000)]
New option --relax-checks that disable the check for a match beween size oif
an expression and the address size. Will allow short branches between segments
among other things. Suggested by Spiro Trikaliotis.

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

12 years agoFix by Spiro Trikaliotis.
ol.sc [Sun, 19 Aug 2012 10:28:12 +0000 (10:28 +0000)]
Fix by Spiro Trikaliotis.

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

12 years agoMinor changes.
ol.sc [Thu, 16 Aug 2012 19:29:29 +0000 (19:29 +0000)]
Minor changes.

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

12 years agoAdded 'multidemo' to the samples README.
ol.sc [Thu, 16 Aug 2012 19:20:53 +0000 (19:20 +0000)]
Added 'multidemo' to the samples README.

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

12 years agoAdded somewhat more complex demo. It looks for emdrivers in the current directory...
ol.sc [Wed, 8 Aug 2012 21:23:18 +0000 (21:23 +0000)]
Added somewhat more complex demo. It looks for emdrivers in the current directory and tries to load them until one loads successfully. In that case it "streams" its overlay files into extended memory. Finally it loads its overlays from extended memory (or disk) and calls into them.

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

12 years agoChoose another way to fix the issue from r5804: When parsing the directory
uz [Mon, 6 Aug 2012 18:45:26 +0000 (18:45 +0000)]
Choose another way to fix the issue from r5804: When parsing the directory
name, add a file mask, so the result is "$0:*" or similar. When specified like
this, the drive accepts the r/o specifier ",R" so we don't have to complicate
the code in open().

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

12 years agoFixed a bug: The floppies do not like ,R (for read mode) when opening the
uz [Sun, 5 Aug 2012 21:32:40 +0000 (21:32 +0000)]
Fixed a bug: The floppies do not like ,R (for read mode) when opening the
directory.

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

12 years agoDon't add the current directory to the list of search paths. If the main file
uz [Wed, 1 Aug 2012 21:44:36 +0000 (21:44 +0000)]
Don't add the current directory to the list of search paths. If the main file
is located there, it is added anyway. If the main file is located elsewhere,
we don't want to search in the current directory.

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

12 years agoDon't add the current directory to the list of search paths. If the main file
uz [Wed, 1 Aug 2012 21:42:26 +0000 (21:42 +0000)]
Don't add the current directory to the list of search paths. If the main file
is located there, it is added anyway. If the main file is located elsewhere,
we don't want to search in the current directory.

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

12 years agoDocument that scopes don't have an effect on unnamed labels.
uz [Wed, 1 Aug 2012 19:32:38 +0000 (19:32 +0000)]
Document that scopes don't have an effect on unnamed labels.

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

12 years agoFix invalid header offset (has been changed in opendir.c but checkin of
uz [Wed, 1 Aug 2012 08:49:09 +0000 (08:49 +0000)]
Fix invalid header offset (has been changed in opendir.c but checkin of
readdir.c was missing).

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

12 years agoHave _em_load_driver exported here now that it is an asm function.
ol.sc [Tue, 31 Jul 2012 21:37:07 +0000 (21:37 +0000)]
Have _em_load_driver exported here now that it is an asm function.

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

12 years agoFixed a comment.
uz [Mon, 30 Jul 2012 19:02:07 +0000 (19:02 +0000)]
Fixed a comment.

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

12 years agoInclude the CBM disk label in the returned directory entries.
uz [Mon, 30 Jul 2012 19:01:45 +0000 (19:01 +0000)]
Include the CBM disk label in the returned directory entries.

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

12 years agoFixed a problem with a memcpy optimization (source and target have been
uz [Sat, 28 Jul 2012 12:26:57 +0000 (12:26 +0000)]
Fixed a problem with a memcpy optimization (source and target have been
swapped).

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

12 years agoForgot to add the new module that contains em_load_driver.
uz [Mon, 23 Jul 2012 06:18:58 +0000 (06:18 +0000)]
Forgot to add the new module that contains em_load_driver.

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

12 years agoAn already loaded driver is an error in ser_load_driver, because the library
uz [Sun, 22 Jul 2012 19:54:04 +0000 (19:54 +0000)]
An already loaded driver is an error in ser_load_driver, because the library
cannot know if it was dynamically loaded or statically linked.

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

12 years agoRewrote em_load_driver in assembler fixing a possible memory leak.
uz [Sun, 22 Jul 2012 11:36:09 +0000 (11:36 +0000)]
Rewrote em_load_driver in assembler fixing a possible memory leak.

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

12 years agoMore comment fixes.
uz [Sun, 22 Jul 2012 11:20:45 +0000 (11:20 +0000)]
More comment fixes.

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

12 years agoFixed a few comments.
uz [Sun, 22 Jul 2012 11:18:36 +0000 (11:18 +0000)]
Fixed a few comments.

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

12 years agoRewrote tgi_load_driver in assembler and fixed a possible memory leak when
uz [Sun, 22 Jul 2012 11:07:46 +0000 (11:07 +0000)]
Rewrote tgi_load_driver in assembler and fixed a possible memory leak when
doing so. Changed the behaviour in case a driver is already loaded: Since the
library cannot know if this driver was linked statically or loaded
dynamically, an already installed driver is considered an error. It must be
removed before calling tgi_load_driver.

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

12 years agoRetrofitted comments from GEOS overlay demo to regular overlay demo.
ol.sc [Thu, 19 Jul 2012 12:25:04 +0000 (12:25 +0000)]
Retrofitted comments from GEOS overlay demo to regular overlay demo.

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

12 years agoFixed an error in the macro package that prevented the macros to work
uz [Tue, 17 Jul 2012 18:30:05 +0000 (18:30 +0000)]
Fixed an error in the macro package that prevented the macros to work
correctly. The short forms of the jumps were never choosen. The error was
introduced with release 3176 in 2004(!) and reported by thefox.

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

12 years agoPermit the .string builtin function to work with scoped identifiers.
uz [Tue, 17 Jul 2012 18:28:07 +0000 (18:28 +0000)]
Permit the .string builtin function to work with scoped identifiers.

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

12 years agoMove the _filetype variable into its own module, so people who want to change
uz [Sun, 15 Jul 2012 12:34:35 +0000 (12:34 +0000)]
Move the _filetype variable into its own module, so people who want to change
the default can replace exactly this module without interfering with other
stuff.

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

12 years agoDo not add the file type to the name when using append mode. It causes more
uz [Sun, 15 Jul 2012 12:30:43 +0000 (12:30 +0000)]
Do not add the file type to the name when using append mode. It causes more
problems than it helps.

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

12 years agoFixed a problem with the optimizations for shifts.
uz [Thu, 12 Jul 2012 21:12:50 +0000 (21:12 +0000)]
Fixed a problem with the optimizations for shifts.

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

12 years agoAdded a test program to test the 16 bit shift ops.
uz [Thu, 12 Jul 2012 21:11:21 +0000 (21:11 +0000)]
Added a test program to test the 16 bit shift ops.

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

12 years agoAdded an option to output the assembly after each transformation step of the
uz [Thu, 12 Jul 2012 20:30:01 +0000 (20:30 +0000)]
Added an option to output the assembly after each transformation step of the
optimizer.

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

12 years agoEnable optimization for arithmetic right shift. NOTE: There's a bug lingering
uz [Wed, 11 Jul 2012 20:58:29 +0000 (20:58 +0000)]
Enable optimization for arithmetic right shift. NOTE: There's a bug lingering
in the shift code optimization which needs fixing.

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

12 years agoRewrite code for arithmetic right shift.
uz [Wed, 11 Jul 2012 20:57:02 +0000 (20:57 +0000)]
Rewrite code for arithmetic right shift.

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

12 years agoAdd another form of duplicate load removal.
uz [Tue, 10 Jul 2012 20:46:21 +0000 (20:46 +0000)]
Add another form of duplicate load removal.

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

12 years agoModifications for smaller code size.
uz [Tue, 10 Jul 2012 20:45:16 +0000 (20:45 +0000)]
Modifications for smaller code size.

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

12 years agoAdedd a few cross-references for the new cbm_k_ function descriptions.
uz [Mon, 9 Jul 2012 19:44:40 +0000 (19:44 +0000)]
Adedd a few cross-references for the new cbm_k_ function descriptions.

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

12 years agocbm_k_ functions documented
silverdr [Mon, 9 Jul 2012 19:23:52 +0000 (19:23 +0000)]
cbm_k_ functions documented

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

12 years agoRearrange order of opt steps for better efficiency.
uz [Sun, 8 Jul 2012 21:56:01 +0000 (21:56 +0000)]
Rearrange order of opt steps for better efficiency.

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

12 years agoReplacement in OptShift3 is even possible, when X is used later.
uz [Sun, 8 Jul 2012 13:05:57 +0000 (13:05 +0000)]
Replacement in OptShift3 is even possible, when X is used later.

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

12 years agoFixed an error.
uz [Sat, 7 Jul 2012 22:22:59 +0000 (22:22 +0000)]
Fixed an error.

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

12 years agoAdded optimization for complax.
uz [Sat, 7 Jul 2012 19:54:24 +0000 (19:54 +0000)]
Added optimization for complax.

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

12 years agoMore shift optimizations.
uz [Sat, 7 Jul 2012 19:24:17 +0000 (19:24 +0000)]
More shift optimizations.

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

12 years agoAdded a comment.
uz [Sat, 7 Jul 2012 19:09:23 +0000 (19:09 +0000)]
Added a comment.

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

12 years agoStart adding stuff that optimizes the new shift functions.
uz [Sat, 7 Jul 2012 17:56:39 +0000 (17:56 +0000)]
Start adding stuff that optimizes the new shift functions.

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

12 years agoIgnore a few more "harmless" functions when optimizing.
uz [Sat, 7 Jul 2012 17:36:15 +0000 (17:36 +0000)]
Ignore a few more "harmless" functions when optimizing.

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

12 years agoMove the optimization routines for shifts into a separate module.
uz [Sat, 7 Jul 2012 15:21:12 +0000 (15:21 +0000)]
Move the optimization routines for shifts into a separate module.

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

12 years agoFixed compiler warnings.
uz [Fri, 6 Jul 2012 20:02:43 +0000 (20:02 +0000)]
Fixed compiler warnings.

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

12 years agoTransform tosshlax and friends into a sequence that doesn't use the stack if
uz [Fri, 6 Jul 2012 20:01:46 +0000 (20:01 +0000)]
Transform tosshlax and friends into a sequence that doesn't use the stack if
possible.

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

12 years agoAdded info for new shift routines that don't use the stack.
uz [Fri, 6 Jul 2012 20:00:22 +0000 (20:00 +0000)]
Added info for new shift routines that don't use the stack.

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

12 years agoSmall code changes for more safety (and to be compatible with the new shift
uz [Fri, 6 Jul 2012 19:59:29 +0000 (19:59 +0000)]
Small code changes for more safety (and to be compatible with the new shift
routines that don't use the stack).

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

12 years agoRewrite to add an entry point for shraxy that doesn't need to pass values over
uz [Fri, 6 Jul 2012 19:57:24 +0000 (19:57 +0000)]
Rewrite to add an entry point for shraxy that doesn't need to pass values over
the stack.

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

12 years agoComment and tab fix. No code changes.
uz [Fri, 6 Jul 2012 19:56:42 +0000 (19:56 +0000)]
Comment and tab fix. No code changes.

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

12 years agoAdded functional Atari directory classification macros for file types from struct...
ol.sc [Tue, 3 Jul 2012 20:10:52 +0000 (20:10 +0000)]
Added functional Atari directory classification macros for file types from struct dirent contributed by Stefan A. Haubenthal.

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

12 years agoThis is C, not 6502 ;-))
ol.sc [Tue, 3 Jul 2012 20:00:01 +0000 (20:00 +0000)]
This is C, not 6502 ;-))

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

12 years agoAdded section on 'overlaydemo'.
ol.sc [Tue, 3 Jul 2012 19:55:03 +0000 (19:55 +0000)]
Added section on 'overlaydemo'.

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

12 years agoUse 's' as default file type instead of 'u'.
uz [Sun, 1 Jul 2012 18:24:01 +0000 (18:24 +0000)]
Use 's' as default file type instead of 'u'.

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

12 years agoAccording to Greg King, Vorpal files are regular files.
uz [Sun, 1 Jul 2012 18:10:57 +0000 (18:10 +0000)]
According to Greg King, Vorpal files are regular files.

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

12 years agoFix list of CBM kernal level functions.
uz [Sun, 1 Jul 2012 12:50:05 +0000 (12:50 +0000)]
Fix list of CBM kernal level functions.

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

12 years agoFixed naming of cbm_clall.
uz [Sun, 1 Jul 2012 12:45:26 +0000 (12:45 +0000)]
Fixed naming of cbm_clall.

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

12 years agoUnified names of CBM kernal level functions and completed the list of
uz [Sun, 1 Jul 2012 12:36:44 +0000 (12:36 +0000)]
Unified names of CBM kernal level functions and completed the list of
functions in the cbm.h header file.

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

12 years agoFixed wrong filename for module c_getin.s
uz [Sun, 1 Jul 2012 11:32:59 +0000 (11:32 +0000)]
Fixed wrong filename for module c_getin.s

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

12 years agoAdded missing function cbm_k_getin, which was in cbm.h but an implementation
uz [Sun, 1 Jul 2012 11:30:41 +0000 (11:30 +0000)]
Added missing function cbm_k_getin, which was in cbm.h but an implementation
was missing.

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

12 years agoMove evaluation of the argument for .BANK into the linker. It is otherwise too
uz [Sat, 30 Jun 2012 17:18:03 +0000 (17:18 +0000)]
Move evaluation of the argument for .BANK into the linker. It is otherwise too
restricted, since no imported symbols may be used.

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

12 years agoIgnore generated files.
uz [Fri, 29 Jun 2012 15:05:04 +0000 (15:05 +0000)]
Ignore generated files.

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

12 years agoAdded dummy classification macros for the remaining targets - even for those that...
ol.sc [Mon, 25 Jun 2012 20:23:54 +0000 (20:23 +0000)]
Added dummy classification macros for the remaining targets - even for those that don't have the field 'd_type'.

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

12 years agoAdded register info for the aslaxy and shlaxy routines.
uz [Sun, 24 Jun 2012 22:05:56 +0000 (22:05 +0000)]
Added register info for the aslaxy and shlaxy routines.

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

12 years agoAdd another entry point to the shift left routine, that shifts A/X by Y
uz [Sun, 24 Jun 2012 22:04:00 +0000 (22:04 +0000)]
Add another entry point to the shift left routine, that shifts A/X by Y
without going over the stack.

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

12 years agoAdded secondary linker config for Atari overlays (located below main program like...
ol.sc [Sun, 24 Jun 2012 21:23:25 +0000 (21:23 +0000)]
Added secondary linker config for Atari overlays (located below main program like Apple II).

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

12 years agoMade overlaydemo compatible with the Atari:
ol.sc [Sun, 24 Jun 2012 21:15:39 +0000 (21:15 +0000)]
Made overlaydemo compatible with the Atari:
- 8.3 overlay filenames
- exit only after keypress

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

12 years agoMinor adjustment to Apple II coding style (two spaces for macro definitions).
ol.sc [Sun, 24 Jun 2012 19:59:49 +0000 (19:59 +0000)]
Minor adjustment to Apple II coding style (two spaces for macro definitions).

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

12 years agoAdded Apple II classification macros for file types from struct dirent.
ol.sc [Sun, 24 Jun 2012 19:49:15 +0000 (19:49 +0000)]
Added Apple II classification macros for file types from struct dirent.

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

12 years agoSpecial handling for a few more runtime functions.
uz [Sun, 24 Jun 2012 14:29:27 +0000 (14:29 +0000)]
Special handling for a few more runtime functions.

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

12 years agoAdded classification macros for file types from struct dirent.
uz [Sun, 24 Jun 2012 14:23:33 +0000 (14:23 +0000)]
Added classification macros for file types from struct dirent.

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

12 years agoMove definitions for CBM file types into its own header file, since these
uz [Sun, 24 Jun 2012 13:52:06 +0000 (13:52 +0000)]
Move definitions for CBM file types into its own header file, since these
definitions are needed for file type macros in dirent.h. Unify names for the
include files.

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

12 years agoOptSize2 needs an extra removal of duplicate transfers.
uz [Sat, 23 Jun 2012 19:34:48 +0000 (19:34 +0000)]
OptSize2 needs an extra removal of duplicate transfers.

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

12 years agoCentralize generation of register infos for a code segment. This means that
uz [Sat, 23 Jun 2012 17:33:31 +0000 (17:33 +0000)]
Centralize generation of register infos for a code segment. This means that
all optimizer functions can rely on it.

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

12 years agoAdded two replacements for negax. Shift right for signed values can be treated
uz [Sat, 23 Jun 2012 16:58:05 +0000 (16:58 +0000)]
Added two replacements for negax. Shift right for signed values can be treated
like unsigned if X is known to be zero.

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

12 years agoThe OptNegXXX function were actually handling bnega... runtime stuff. Renamed
uz [Sat, 23 Jun 2012 16:17:56 +0000 (16:17 +0000)]
The OptNegXXX function were actually handling bnega... runtime stuff. Renamed
them accordingly.

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

12 years agoAdded secondary linker config for Apple2 overlays (like C64).
ol.sc [Sat, 16 Jun 2012 23:09:20 +0000 (23:09 +0000)]
Added secondary linker config for Apple2 overlays (like C64).

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

12 years agoWe now don't define the memory area RAM anymore. So use the segment STARTUP - as...
ol.sc [Sat, 16 Jun 2012 22:58:03 +0000 (22:58 +0000)]
We now don't define the memory area RAM anymore. So use the segment STARTUP - as done in crt0.s.

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

12 years agoThe Apple2 linker configs *-loader.cfg only differed in the presumed HIMEM from the...
ol.sc [Sat, 16 Jun 2012 22:48:45 +0000 (22:48 +0000)]
The Apple2 linker configs *-loader.cfg only differed in the presumed HIMEM from the default config. Rather have that value adjustable.

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

12 years agoAdjusted comment to recent changes.
ol.sc [Sat, 16 Jun 2012 22:24:06 +0000 (22:24 +0000)]
Adjusted comment to recent changes.

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

12 years agoAvoid mixing of memory areas and segments in address computations (and made move...
ol.sc [Sat, 16 Jun 2012 22:13:58 +0000 (22:13 +0000)]
Avoid mixing of memory areas and segments in address computations (and made move of segment INIT somewhat more readable).

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

12 years agoI just don't like 'file = "" '.
ol.sc [Sat, 16 Jun 2012 21:12:56 +0000 (21:12 +0000)]
I just don't like 'file = "" '.

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