]> git.sur5r.net Git - cc65/log
cc65
14 years agoFix the plot routine to work with the buggy -02 kernal.
uz [Sat, 26 Sep 2009 15:56:29 +0000 (15:56 +0000)]
Fix the plot routine to work with the buggy -02 kernal.

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

14 years agoOOPS! Forgot to add the mouse_getbox and mouse_setbox modules to subversion.
uz [Sat, 26 Sep 2009 15:19:14 +0000 (15:19 +0000)]
OOPS! Forgot to add the mouse_getbox and mouse_setbox modules to subversion.

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

14 years agoChanged the existing Commodore mouse drivers for the new API. UNTESTED!
uz [Sat, 26 Sep 2009 11:35:32 +0000 (11:35 +0000)]
Changed the existing Commodore mouse drivers for the new API. UNTESTED!

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

14 years agoDocumented the new mouse_setbox() and mouse_getbox functions.
uz [Sat, 26 Sep 2009 11:14:46 +0000 (11:14 +0000)]
Documented the new mouse_setbox() and mouse_getbox functions.

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

14 years agoChanged the mouse API: mouse_box is gone, there are now mouse_getbox and
uz [Sat, 26 Sep 2009 11:11:14 +0000 (11:11 +0000)]
Changed the mouse API: mouse_box is gone, there are now mouse_getbox and
mouse_setbox instead. Beware: Current drivers will crash until they're
changed!

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

14 years agoRemove this copy of the apple include file - a copy was added to asminc
uz [Fri, 25 Sep 2009 13:46:18 +0000 (13:46 +0000)]
Remove this copy of the apple include file - a copy was added to asminc
before and we don't need it twice.

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

14 years agoMoved into asminc, so it will be available in the distribution.
ol.sc [Fri, 25 Sep 2009 06:21:14 +0000 (06:21 +0000)]
Moved into asminc, so it will be available in the distribution.

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

14 years agoSystime implementation derived from the cbm610.
uz [Thu, 24 Sep 2009 21:09:45 +0000 (21:09 +0000)]
Systime implementation derived from the cbm610.

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

14 years agoFixed the config for the CBM510. Because of changes in the startup code, it
uz [Thu, 24 Sep 2009 20:42:55 +0000 (20:42 +0000)]
Fixed the config for the CBM510. Because of changes in the startup code, it
didn't work any longer.

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

14 years agoSystime implementation for the CBM610, derived from the C64.
uz [Thu, 24 Sep 2009 20:12:40 +0000 (20:12 +0000)]
Systime implementation for the CBM610, derived from the C64.

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

14 years agoThe CIA TOD needs a write to the 1/10 sec register to start. Shortened the
uz [Thu, 24 Sep 2009 19:40:36 +0000 (19:40 +0000)]
The CIA TOD needs a write to the 1/10 sec register to start. Shortened the
code by using initialized data.

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

14 years agoMoved most platform assembler includes into asminc, so they will be available
uz [Thu, 24 Sep 2009 17:44:22 +0000 (17:44 +0000)]
Moved most platform assembler includes into asminc, so they will be available
in the distribution.
Added --forget-inc-paths to the command line of the assembler in the
Makefiles, because the assembler does now have builtin paths and will find
include files from an installation first.
Hopefully fixed any problems that arose from the two changes.

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

14 years agoSince we have now builtin search paths, we need to be able to forget them,
uz [Thu, 24 Sep 2009 17:24:52 +0000 (17:24 +0000)]
Since we have now builtin search paths, we need to be able to forget them,
otherwise we cannot build libraries with a customized version.

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

14 years agoFixed a comment
uz [Thu, 24 Sep 2009 17:09:50 +0000 (17:09 +0000)]
Fixed a comment

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

14 years agoAdded a test for strtoul().
uz [Thu, 24 Sep 2009 17:09:33 +0000 (17:09 +0000)]
Added a test for strtoul().

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

14 years agoChange the makefiles so that CFLAGS that are special for the application are
uz [Thu, 24 Sep 2009 15:07:11 +0000 (15:07 +0000)]
Change the makefiles so that CFLAGS that are special for the application are
appended after assigning the base value to CFLAGS. This allows to change
CFLAGS on the command line without too much hassle.

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

14 years agoUse xmalloc.h and change the code slightly to get rid of two gcc warnings.
uz [Thu, 24 Sep 2009 15:05:48 +0000 (15:05 +0000)]
Use xmalloc.h and change the code slightly to get rid of two gcc warnings.

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

14 years agoAdded search paths similar to that of the linker and compiler.
uz [Thu, 24 Sep 2009 14:49:52 +0000 (14:49 +0000)]
Added search paths similar to that of the linker and compiler.

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

14 years agoDito for the enhanced apple2
uz [Tue, 22 Sep 2009 22:39:34 +0000 (22:39 +0000)]
Dito for the enhanced apple2

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

14 years agoAdd the apple extra files to the apple2 rpm package.
uz [Tue, 22 Sep 2009 22:21:38 +0000 (22:21 +0000)]
Add the apple extra files to the apple2 rpm package.

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

14 years agoBuild files in the extra directory (analog to apple2).
ol.sc [Tue, 22 Sep 2009 21:43:57 +0000 (21:43 +0000)]
Build files in the extra directory (analog to apple2).

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

14 years agoFixed an error.
uz [Tue, 22 Sep 2009 19:10:46 +0000 (19:10 +0000)]
Fixed an error.

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

14 years agoBuild files in the extra directory.
uz [Tue, 22 Sep 2009 19:00:12 +0000 (19:00 +0000)]
Build files in the extra directory.

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

14 years agoAdded author hint - as contained in the other source files.
ol.sc [Tue, 22 Sep 2009 17:30:50 +0000 (17:30 +0000)]
Added author hint - as contained in the other source files.

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

14 years agoAdded alternative implementation for ProDOS 8 I/O buffer management. The purpose...
ol.sc [Tue, 22 Sep 2009 17:29:49 +0000 (17:29 +0000)]
Added alternative implementation for ProDOS 8 I/O buffer management. The purpose of this implementation is to avoid pulling in the heap stuff (and especially the C-written posix_memalign() function) into small file utility-like applications. It saves in this scenario > 1400 Bytes. It manages memory blocks between $0800 and the cc65 start address. This is especially usefull for the now supported "native" SYS programs starting at $2000.

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

14 years agoChanged search paths to use subdirectories of CC65_HOME, remove CC65_LIB.
uz [Tue, 22 Sep 2009 11:49:53 +0000 (11:49 +0000)]
Changed search paths to use subdirectories of CC65_HOME, remove CC65_LIB.

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

14 years agoNew function AddSubSearchPathFromEnv.
uz [Tue, 22 Sep 2009 11:29:13 +0000 (11:29 +0000)]
New function AddSubSearchPathFromEnv.

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

14 years agoPreparation for extra platform object files
uz [Tue, 22 Sep 2009 10:27:30 +0000 (10:27 +0000)]
Preparation for extra platform object files

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

14 years agoMove/rename extra object files for the Apple2.
uz [Tue, 22 Sep 2009 10:22:29 +0000 (10:22 +0000)]
Move/rename extra object files for the Apple2.

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

14 years agoNew linker config for the VIC-20 with 32K cartridge by Stefan Haubenthal.
uz [Tue, 22 Sep 2009 09:33:49 +0000 (09:33 +0000)]
New linker config for the VIC-20 with 32K cartridge by Stefan Haubenthal.

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

14 years agoFixed documentation about search paths, especially search paths for configs.
uz [Sun, 20 Sep 2009 18:06:29 +0000 (18:06 +0000)]
Fixed documentation about search paths, especially search paths for configs.
Updated the intro a bit.

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

14 years agoFixed a copy&paste error.
uz [Sun, 20 Sep 2009 17:16:31 +0000 (17:16 +0000)]
Fixed a copy&paste error.

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

14 years agoAdded the lynx serial driver
uz [Sun, 20 Sep 2009 16:48:27 +0000 (16:48 +0000)]
Added the lynx serial driver

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

14 years agoRenamed the comlynx source and driver to lynx-comlynx, so it follows the
uz [Sun, 20 Sep 2009 16:47:30 +0000 (16:47 +0000)]
Renamed the comlynx source and driver to lynx-comlynx, so it follows the
existing naming conventions.

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

14 years agoImproved memset/memcpy/memmove functions by Christian Krueger.
uz [Sun, 20 Sep 2009 14:32:25 +0000 (14:32 +0000)]
Improved memset/memcpy/memmove functions by Christian Krueger.

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

14 years agoRemove the framerate module. It's job is done by the tgi driver.
uz [Sun, 20 Sep 2009 14:26:50 +0000 (14:26 +0000)]
Remove the framerate module. It's job is done by the tgi driver.

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

14 years agoLynx patches by Karri Kaksonen. Improvements for the graphics driver, new
uz [Sun, 20 Sep 2009 14:22:04 +0000 (14:22 +0000)]
Lynx patches by Karri Kaksonen. Improvements for the graphics driver, new
serial driver.

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

14 years agoOliver added a comment to the Apple2 linker config.
uz [Sun, 20 Sep 2009 13:14:29 +0000 (13:14 +0000)]
Oliver added a comment to the Apple2 linker config.

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

14 years agoPackage the additional linker scripts for the apple.
uz [Sat, 19 Sep 2009 16:17:01 +0000 (16:17 +0000)]
Package the additional linker scripts for the apple.

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

14 years agoAdditional linker configs for the Apple by Oliver Schmidt.
uz [Sat, 19 Sep 2009 16:14:46 +0000 (16:14 +0000)]
Additional linker configs for the Apple by Oliver Schmidt.

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

14 years agoRemoved the - now unused - empty builtin configuration (was used for the ace
uz [Fri, 18 Sep 2009 19:13:59 +0000 (19:13 +0000)]
Removed the - now unused - empty builtin configuration (was used for the ace
target before).

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

14 years agoChange search paths for the linker.
uz [Fri, 18 Sep 2009 19:00:24 +0000 (19:00 +0000)]
Change search paths for the linker.

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

14 years agoPrepared the spec file for version 2.13.0. Additional config files will no go
uz [Fri, 18 Sep 2009 18:14:34 +0000 (18:14 +0000)]
Prepared the spec file for version 2.13.0. Additional config files will no go
to /usr/lib/cc65/cfg/.

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

14 years agoRemoved unused code.
uz [Fri, 18 Sep 2009 17:42:44 +0000 (17:42 +0000)]
Removed unused code.

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

14 years agoReplaced the condition for the assertion in toggle_videomode by something that
uz [Fri, 18 Sep 2009 17:39:23 +0000 (17:39 +0000)]
Replaced the condition for the assertion in toggle_videomode by something that
is still always false, but will be evaluated by the linker instead of the
assembler. The assembler will otherwise emit a warning when just translating
the module.

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

14 years agoFixed an error in the makefile. strtoimax and strtoumax were in the wrong
uz [Fri, 18 Sep 2009 17:23:48 +0000 (17:23 +0000)]
Fixed an error in the makefile. strtoimax and strtoumax were in the wrong
list.

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

14 years agoRenamed some additional (not builtin) linker configs.
uz [Fri, 18 Sep 2009 17:06:26 +0000 (17:06 +0000)]
Renamed some additional (not builtin) linker configs.

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

14 years agoRemoved the (unused and probably non-working) config for OS/A65.
uz [Fri, 18 Sep 2009 17:04:20 +0000 (17:04 +0000)]
Removed the (unused and probably non-working) config for OS/A65.

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

14 years agoAdded a missing paren.
uz [Fri, 18 Sep 2009 15:09:07 +0000 (15:09 +0000)]
Added a missing paren.

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

14 years agoAdded wide char literals, but treat them identical as normal strings.
uz [Fri, 18 Sep 2009 14:28:52 +0000 (14:28 +0000)]
Added wide char literals, but treat them identical as normal strings.

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

14 years agoMake wchar_t a char instead of a short.
uz [Fri, 18 Sep 2009 07:38:00 +0000 (07:38 +0000)]
Make wchar_t a char instead of a short.

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

14 years agointtypes.h is an ISO C standard include file.
uz [Thu, 17 Sep 2009 19:31:47 +0000 (19:31 +0000)]
inttypes.h is an ISO C standard include file.

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

14 years agoNew strtoimax and strtoumax standard functions as aliases for strtol/strtoul.
uz [Thu, 17 Sep 2009 18:37:42 +0000 (18:37 +0000)]
New strtoimax and strtoumax standard functions as aliases for strtol/strtoul.

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

14 years agoLynx changes by Karri Kaksonen.
uz [Thu, 17 Sep 2009 09:32:05 +0000 (09:32 +0000)]
Lynx changes by Karri Kaksonen.

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

14 years agoAdded a (currently untested) strtoul implementation. strtol and strtoul should
uz [Tue, 15 Sep 2009 21:45:25 +0000 (21:45 +0000)]
Added a (currently untested) strtoul implementation. strtol and strtoul should
probably get merged somehow, because they share quite some code.

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

14 years agoShrink atoi by using negeax instead of inlined code.
uz [Tue, 15 Sep 2009 21:25:44 +0000 (21:25 +0000)]
Shrink atoi by using negeax instead of inlined code.

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

14 years agoMake system() fastcall like most other library functions.
uz [Tue, 15 Sep 2009 21:01:20 +0000 (21:01 +0000)]
Make system() fastcall like most other library functions.

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

14 years agoAdded an implementation of strtol (stdlib.h).
uz [Tue, 15 Sep 2009 20:56:08 +0000 (20:56 +0000)]
Added an implementation of strtol (stdlib.h).

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

14 years agoTestcode for strtol and atoi.
uz [Tue, 15 Sep 2009 20:47:03 +0000 (20:47 +0000)]
Testcode for strtol and atoi.

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

14 years agoAdded declarations for strtol and strtoul.
uz [Tue, 15 Sep 2009 20:46:38 +0000 (20:46 +0000)]
Added declarations for strtol and strtoul.

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

14 years agoImproved the code that checks for memory accesses. The old code didn't detect
uz [Mon, 14 Sep 2009 22:02:48 +0000 (22:02 +0000)]
Improved the code that checks for memory accesses. The old code didn't detect
certain accesses.

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

14 years agoAdded tgi_load_driver.s to files to be ignored.
ol.sc [Mon, 14 Sep 2009 20:13:52 +0000 (20:13 +0000)]
Added tgi_load_driver.s to files to be ignored.

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

14 years agoNow that cc65 programs can run as SYS files themselves my ProDOS Loader ulimately...
ol.sc [Mon, 14 Sep 2009 19:58:06 +0000 (19:58 +0000)]
Now that cc65 programs can run as SYS files themselves my ProDOS Loader ulimately has to change from a minimalistic shell replacement to a pure loader (without exit hook). This approach simplifies several things. However the "reboot after exit" option now present as a ProDOS Loader variant has to move into the cc65 program.

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

14 years agoRemoved debug output
uz [Mon, 14 Sep 2009 19:56:47 +0000 (19:56 +0000)]
Removed debug output

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

14 years agoFixed another problem with OptJumpTarget1, that was mostly prevented from
uz [Mon, 14 Sep 2009 19:54:50 +0000 (19:54 +0000)]
Fixed another problem with OptJumpTarget1, that was mostly prevented from
being triggered by other optimizations, which removed or changed the trigger
code.

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

14 years agoFixed a problem with OptJumpTarget1: The inspected jump must not have a label
uz [Mon, 14 Sep 2009 18:36:38 +0000 (18:36 +0000)]
Fixed a problem with OptJumpTarget1: The inspected jump must not have a label
attached, because the effective code changes for code jumping to this label if
removals are applied.

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

14 years agoBeing loaded by my 'ProDOS Loader' needs to be classified as being loaded as BIN...
ol.sc [Sun, 13 Sep 2009 19:50:09 +0000 (19:50 +0000)]
Being loaded by my 'ProDOS Loader' needs to be classified as being loaded as BIN from an interpreter (and not as SYS). But the 'ProDOS Loader' zeros the system bitmap up to the system global page (this is what it's about) so additionally check page $03 protection which is zero when loaded as SYS but one when loaded by 'ProDOS Loader 1.4'.

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

14 years agolabs() is also imaxabs().
uz [Sun, 13 Sep 2009 18:06:43 +0000 (18:06 +0000)]
labs() is also imaxabs().

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

14 years agoFixed parsing a labeled-statement: A label is always part of a statement, it
uz [Sun, 13 Sep 2009 14:36:16 +0000 (14:36 +0000)]
Fixed parsing a labeled-statement: A label is always part of a statement, it
is not itself one.

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

14 years agoSqeeze out two bytes of the code.
uz [Sun, 13 Sep 2009 13:39:27 +0000 (13:39 +0000)]
Sqeeze out two bytes of the code.

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

14 years agoLynx changes by Karri Kaksonen.
uz [Sun, 13 Sep 2009 13:37:44 +0000 (13:37 +0000)]
Lynx changes by Karri Kaksonen.

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

14 years agoAdded another condition that allows us to remove pha/pla.
uz [Sun, 13 Sep 2009 13:22:27 +0000 (13:22 +0000)]
Added another condition that allows us to remove pha/pla.

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

14 years agoRemoved the ace target. It didn't have a linker config and was untested for
uz [Sun, 13 Sep 2009 11:46:04 +0000 (11:46 +0000)]
Removed the ace target. It didn't have a linker config and was untested for
~10 years

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

14 years agoFixed a typo
uz [Sat, 12 Sep 2009 22:04:49 +0000 (22:04 +0000)]
Fixed a typo

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

14 years agoFixed a few inaccuracies the the description of the --codesize option.
uz [Sat, 12 Sep 2009 22:04:35 +0000 (22:04 +0000)]
Fixed a few inaccuracies the the description of the --codesize option.

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

14 years agoHooking into the MLI call needs much more thoughts - and is currently not necessary...
ol.sc [Sat, 12 Sep 2009 20:55:20 +0000 (20:55 +0000)]
Hooking into the MLI call needs much more thoughts - and is currently not necessary...

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

14 years agoSearch config files also in the builtin search directory for libraries and in
uz [Sat, 12 Sep 2009 20:12:48 +0000 (20:12 +0000)]
Search config files also in the builtin search directory for libraries and in
the directory defined in the CC65_LIB environment variable.

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

14 years agoAddon to 4155: Fixed error.
ol.sc [Sat, 12 Sep 2009 06:58:20 +0000 (06:58 +0000)]
Addon to 4155: Fixed error.

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

14 years agoAdded a comment about the first entry being the default entry. Not sure if
uz [Sat, 12 Sep 2009 06:41:08 +0000 (06:41 +0000)]
Added a comment about the first entry being the default entry. Not sure if
this is true for GEOS.

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

14 years agoMuch better approach for ProDOS 8 IO-buffer custom implementations - the first one...
ol.sc [Fri, 11 Sep 2009 19:54:29 +0000 (19:54 +0000)]
Much better approach for ProDOS 8 IO-buffer custom implementations - the first one was actually kind of stupid.

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

14 years agoAdjusted Apple2 targets to the new standard mouse driver paradigm.
ol.sc [Fri, 11 Sep 2009 19:35:13 +0000 (19:35 +0000)]
Adjusted Apple2 targets to the new standard mouse driver paradigm.

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

14 years agoDefine a standard driver and mode for tgi graphics and use it in the sample
uz [Fri, 11 Sep 2009 18:59:37 +0000 (18:59 +0000)]
Define a standard driver and mode for tgi graphics and use it in the sample
program. The standard driver and mode is the first one in the tgi_mode_table.

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

14 years agoSeparated tgi_load and tgi_load_driver.
uz [Fri, 11 Sep 2009 18:47:33 +0000 (18:47 +0000)]
Separated tgi_load and tgi_load_driver.

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

14 years agoFixed a copy&paste error.
uz [Fri, 11 Sep 2009 18:42:34 +0000 (18:42 +0000)]
Fixed a copy&paste error.

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

14 years agoUse mouse_stddrv instead of a platform dependent #define.
uz [Fri, 11 Sep 2009 16:55:20 +0000 (16:55 +0000)]
Use mouse_stddrv instead of a platform dependent #define.

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

14 years agoAdded the mouse_stddrv variable for the C64 and C128.
uz [Fri, 11 Sep 2009 16:51:21 +0000 (16:51 +0000)]
Added the mouse_stddrv variable for the C64 and C128.

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

14 years agoAdded a mouse_stddrv variable that contains the standard mouse driver for a
uz [Fri, 11 Sep 2009 16:45:43 +0000 (16:45 +0000)]
Added a mouse_stddrv variable that contains the standard mouse driver for a
system.

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

14 years agoFixed a problem with load tracking in OptStackOps.
uz [Fri, 11 Sep 2009 16:36:17 +0000 (16:36 +0000)]
Fixed a problem with load tracking in OptStackOps.

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

14 years agoAllow to run programs as ProDOS SYS files (beside BIN files). To do so detect at...
ol.sc [Fri, 11 Sep 2009 16:27:20 +0000 (16:27 +0000)]
Allow to run programs as ProDOS SYS files (beside BIN files). To do so detect at runtime if BASIC.SYSTEM is present by checking the "signature" of the last system bitmap byte.

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

14 years agoMake use of the IRQ to swap view and draw pages when they aren't visible.
uz [Fri, 11 Sep 2009 13:56:50 +0000 (13:56 +0000)]
Make use of the IRQ to swap view and draw pages when they aren't visible.

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

14 years agoChanges by Karri Kaksonen to implement interruptor support.
uz [Fri, 11 Sep 2009 13:56:20 +0000 (13:56 +0000)]
Changes by Karri Kaksonen to implement interruptor support.

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

14 years agoRemoved '_' prefix from textframe(xy) because this prefix for non-standard symbols...
ol.sc [Thu, 10 Sep 2009 19:18:15 +0000 (19:18 +0000)]
Removed '_' prefix from textframe(xy) because this prefix for non-standard symbols isn't necessary if they are declared in non-standard include files.

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

14 years agoProDOS 8 requires an page-aligned 1kB IO-buffer for every open file. The implementati...
ol.sc [Thu, 10 Sep 2009 09:59:26 +0000 (09:59 +0000)]
ProDOS 8 requires an page-aligned 1kB IO-buffer for every open file. The implementation using posix_memalign() is universally correct but quite expensive. There I added support for overriding this implementation with maybe limited (i.e. to one open file) but cheaper custom implementations.

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

14 years agoFixed typo.
ol.sc [Thu, 10 Sep 2009 09:35:37 +0000 (09:35 +0000)]
Fixed typo.

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

14 years agoAdded support for switching between 40/80 columns. As the Apple //e 80 column firmwar...
ol.sc [Thu, 10 Sep 2009 09:04:05 +0000 (09:04 +0000)]
Added support for switching between 40/80 columns. As the Apple //e 80 column firmware features converting the current screen content on switching if was already active before the idea is to keep the 80 column firmware active and initialize it (which clears the screen) only if necessary.

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

14 years agoFixed an error in OptPtrLoad16.
uz [Tue, 8 Sep 2009 21:10:19 +0000 (21:10 +0000)]
Fixed an error in OptPtrLoad16.

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

14 years agoFixed several more problems like the one in Assignment() some time ago: An
uz [Tue, 8 Sep 2009 20:29:12 +0000 (20:29 +0000)]
Fixed several more problems like the one in Assignment() some time ago: An
expression that yields a constant value may have side effects, and the
expression code must not be removed in this case.

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

14 years agoFixed a problem similar to the one in Assignment() some time ago: An
uz [Tue, 8 Sep 2009 20:08:21 +0000 (20:08 +0000)]
Fixed a problem similar to the one in Assignment() some time ago: An
expression that yields a constant value may have side effects, and the
expression code must not be removed in this case.

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

14 years agoUse the new function MarkedExprWithCheck.
uz [Tue, 8 Sep 2009 19:49:30 +0000 (19:49 +0000)]
Use the new function MarkedExprWithCheck.

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

14 years agoAllow to store start and end of generated code in the ExprDesc structure. New
uz [Tue, 8 Sep 2009 19:48:22 +0000 (19:48 +0000)]
Allow to store start and end of generated code in the ExprDesc structure. New
function MarkedExprWithCheck.

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