uz
5967b4845e
Let vsprintf call vsnprintf to save code.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:18:06 +00:00
uz
067383eb6a
Added an untested implementation of snprintf.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4246 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:11:05 +00:00
uz
0b43444c26
Added an (only roughly tested) implementation of vsnprintf
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4245 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:04:36 +00:00
uz
903049087c
Added prototypes for snprintf/vsnprintf to stdio.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4244 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 12:03:07 +00:00
uz
717840962b
Add mouse_setbox/mouse_getbox to the demo.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4243 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 11:24:43 +00:00
ol.sc
dfc6162e91
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
2009-09-26 21:32:05 +00:00
uz
2b50847a4c
The _printf routine does not return anything.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4239 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 19:20:51 +00:00
uz
93d161f877
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
2009-09-26 18:55:00 +00:00
uz
e80cb24164
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
2009-09-26 18:54:00 +00:00
uz
0a8eb2bde3
Package additional linker configs for the apple2enh
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4236 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 16:12:52 +00:00
uz
a16dcb549f
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
2009-09-26 16:12:02 +00:00
uz
70cb60ef31
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
2009-09-26 15:56:29 +00:00
uz
b695733cda
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
2009-09-26 15:19:14 +00:00
uz
634e84f12a
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
2009-09-26 11:35:32 +00:00
uz
c70af3a36b
Documented the new mouse_setbox() and mouse_getbox functions.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4231 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 11:14:46 +00:00
uz
16e6deaf86
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
2009-09-26 11:11:14 +00:00
uz
8be28482ac
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
2009-09-25 13:46:18 +00:00
ol.sc
439385a5c8
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
2009-09-25 06:21:14 +00:00
uz
019dbb7b1d
Systime implementation derived from the cbm610.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 21:09:45 +00:00
uz
7867bf2921
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
2009-09-24 20:42:55 +00:00
uz
753bbab40d
Systime implementation for the CBM610, derived from the C64.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 20:12:40 +00:00
uz
83be732983
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
2009-09-24 19:40:36 +00:00
uz
5c5d01d84a
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
2009-09-24 17:44:22 +00:00
uz
31f6f814af
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
2009-09-24 17:24:52 +00:00
uz
b0b8503230
Fixed a comment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4221 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 17:09:50 +00:00
uz
a76c758c54
Added a test for strtoul().
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4220 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 17:09:33 +00:00
uz
b8e665e837
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
2009-09-24 15:07:11 +00:00
uz
c4d83d4cbf
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
2009-09-24 15:05:48 +00:00
uz
6da6da78ae
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
2009-09-24 14:49:52 +00:00
uz
6aee0eff04
Dito for the enhanced apple2
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4216 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 22:39:34 +00:00
uz
185345e46c
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
2009-09-22 22:21:38 +00:00
ol.sc
a4871a4928
Build files in the extra directory (analog to apple2).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4214 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 21:43:57 +00:00
uz
0508d655f1
Fixed an error.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4213 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 19:10:46 +00:00
uz
90b7dd065d
Build files in the extra directory.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4212 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 19:00:12 +00:00
ol.sc
5c35c213f6
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
2009-09-22 17:30:50 +00:00
ol.sc
6345e4b0cd
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
2009-09-22 17:29:49 +00:00
uz
cb688729af
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
2009-09-22 11:49:53 +00:00
uz
a9e46e245a
New function AddSubSearchPathFromEnv.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4208 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 11:29:13 +00:00
uz
7adc9311be
Preparation for extra platform object files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4207 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 10:27:30 +00:00
uz
6a5e402ad7
Move/rename extra object files for the Apple2.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4206 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-22 10:22:29 +00:00
uz
feb212df62
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
2009-09-22 09:33:49 +00:00
uz
b1f4526e52
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
2009-09-20 18:06:29 +00:00
uz
35646b6499
Fixed a copy&paste error.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4203 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 17:16:31 +00:00
uz
12cb8a83a8
Added the lynx serial driver
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4202 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 16:48:27 +00:00
uz
95b70fe0fc
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
2009-09-20 16:47:30 +00:00
uz
0e91f15ea8
Improved memset/memcpy/memmove functions by Christian Krueger.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4200 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 14:32:25 +00:00
uz
2153cc46db
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
2009-09-20 14:26:50 +00:00
uz
ec946cae51
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
2009-09-20 14:22:04 +00:00
uz
20eb942ab9
Oliver added a comment to the Apple2 linker config.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4197 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-20 13:14:29 +00:00
uz
fda05d8bba
Package the additional linker scripts for the apple.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4196 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-19 16:17:01 +00:00