]>
git.sur5r.net Git - cc65/log
uz [Tue, 29 Sep 2009 13:08:23 +0000 (13:08 +0000)]
Fixes for the watcom makefiles:
* Increase the stack size to 64K (instead of 4096). This solves a
memory overwrite problem with the DOS version.
* Generate a mapfile, but set it to "ignored" in svn.
* Be somewhat more specific in zap.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4273
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 29 Sep 2009 13:06:35 +0000 (13:06 +0000)]
Use "override" when appending to CFLAGS, so this works even when CFLAGS is
specified on the command line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4271
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Tue, 29 Sep 2009 11:59:10 +0000 (11:59 +0000)]
Create the .inc files before creating the dependency file, so we avoid
problems with files that weren't found.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4269
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 28 Sep 2009 22:25:00 +0000 (22:25 +0000)]
Small doc update by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@4267
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 28 Sep 2009 22:01:58 +0000 (22:01 +0000)]
Improved cbm_dir routines by Thomas Giesel.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4264
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Mon, 28 Sep 2009 21:55:51 +0000 (21:55 +0000)]
Added documentation on using GNU Make for building cc65 projects.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4263
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Mon, 28 Sep 2009 20:10:01 +0000 (20:10 +0000)]
Move the version numbers from the interface of the version module into a new
implementation. Allow for release candidates to be specified and disinguished.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4260
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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