]> git.sur5r.net Git - cc65/log
cc65
15 years agoImproved Makefile by Greg King. V2.13.0rc1
uz [Mon, 28 Sep 2009 19:22:02 +0000 (19:22 +0000)]
Improved Makefile by Greg King.

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

15 years agoFixed more bugs, shortened the code where possible.
uz [Mon, 28 Sep 2009 18:39:55 +0000 (18:39 +0000)]
Fixed more bugs, shortened the code where possible.

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

15 years agoFixed two bugs, made the sources somewhat better readable.
uz [Mon, 28 Sep 2009 17:47:33 +0000 (17:47 +0000)]
Fixed two bugs, made the sources somewhat better readable.

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

15 years agoFixed warnings generated by clang (run by Per Olofsson).
uz [Mon, 28 Sep 2009 15:59:18 +0000 (15:59 +0000)]
Fixed warnings generated by clang (run by Per Olofsson).

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

15 years agoNew version by Greg King.
uz [Mon, 28 Sep 2009 15:31:03 +0000 (15:31 +0000)]
New version by Greg King.

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

15 years agoMakefile simplification by Greg King
uz [Mon, 28 Sep 2009 15:30:10 +0000 (15:30 +0000)]
Makefile simplification by Greg King

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

15 years agoStefan Haubenthal fixed a few typos.
uz [Mon, 28 Sep 2009 07:29:56 +0000 (07:29 +0000)]
Stefan Haubenthal fixed a few typos.

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

15 years agoAdjusted driver to the recent kernel interface change (code rearrange ment necessary...
ol.sc [Sun, 27 Sep 2009 23:26:41 +0000 (23:26 +0000)]
Adjusted driver to the recent kernel interface change (code rearrange ment necessary to stay in 6502 branch reach).

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

15 years agoMade sure the bounding box coordinates stay in reasonable ranges.
ol.sc [Sun, 27 Sep 2009 22:33:12 +0000 (22:33 +0000)]
Made sure the bounding box coordinates stay in reasonable ranges.

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

15 years agoChanged the solution for the PLOT problem with old -02 kernals to that used
uz [Sun, 27 Sep 2009 18:45:08 +0000 (18:45 +0000)]
Changed the solution for the PLOT problem with old -02 kernals to that used
for the VIC20: PLOT is not an kernal entry but a library function that will
do the right stuff. This makes it work with other stuff that calls PLOT, too.

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

15 years agoMake the watcom makefiles a bit more openwatcom compatible.
uz [Sun, 27 Sep 2009 18:40:00 +0000 (18:40 +0000)]
Make the watcom makefiles a bit more openwatcom compatible.

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

15 years agoLet vsprintf call vsnprintf to save code.
uz [Sun, 27 Sep 2009 12:18:06 +0000 (12:18 +0000)]
Let vsprintf call vsnprintf to save code.

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

15 years agoAdded an untested implementation of snprintf.
uz [Sun, 27 Sep 2009 12:11:05 +0000 (12:11 +0000)]
Added an untested implementation of snprintf.

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

15 years agoAdded an (only roughly tested) implementation of vsnprintf
uz [Sun, 27 Sep 2009 12:04:36 +0000 (12:04 +0000)]
Added an (only roughly tested) implementation of vsnprintf

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

15 years agoAdded prototypes for snprintf/vsnprintf to stdio.h
uz [Sun, 27 Sep 2009 12:03:07 +0000 (12:03 +0000)]
Added prototypes for snprintf/vsnprintf to stdio.h

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

15 years agoAdd mouse_setbox/mouse_getbox to the demo.
uz [Sun, 27 Sep 2009 11:24:43 +0000 (11:24 +0000)]
Add mouse_setbox/mouse_getbox to the demo.

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

15 years agoFixed bug triggered if all 8 io buffer slots may be used.
ol.sc [Sat, 26 Sep 2009 21:32:05 +0000 (21:32 +0000)]
Fixed bug triggered if all 8 io buffer slots may be used.

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

15 years agoThe _printf routine does not return anything.
uz [Sat, 26 Sep 2009 19:20:51 +0000 (19:20 +0000)]
The _printf routine does not return anything.

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

15 years agoCast the (unused) result of CHECK and PRECONDITION to void to (hopefully) get
uz [Sat, 26 Sep 2009 18:55:00 +0000 (18:55 +0000)]
Cast the (unused) result of CHECK and PRECONDITION to void to (hopefully) get
rid of a clang warning.

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

15 years agoComment out the RegVal function using #if to get rid of the compiler warning
uz [Sat, 26 Sep 2009 18:54:00 +0000 (18:54 +0000)]
Comment out the RegVal function using #if to get rid of the compiler warning
about an unused function.

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

15 years agoPackage additional linker configs for the apple2enh
uz [Sat, 26 Sep 2009 16:12:52 +0000 (16:12 +0000)]
Package additional linker configs for the apple2enh

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

15 years agoSeparate the linker config for the apple2enh target from the ones for the
uz [Sat, 26 Sep 2009 16:12:02 +0000 (16:12 +0000)]
Separate the linker config for the apple2enh target from the ones for the
apple2.

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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