ea582a9d74Use GetQualifier() instead of accessing the field directly.
uz
2009-10-05 18:37:07 +00:00
7992bfb74aChanged solution for r4329 so that it uses less memory.
uz
2009-10-05 18:22:28 +00:00
c69e2d9f0fFixed a bug: Function designators are converted to rvalues of type "pointer to function", so dereferencing a function is a legal operation. The result is immediately converted back to "pointer to function" again. Note: Because of performance considerations, cc65 does treat functions as "pointer to function" internally, but nevertheless dereferencing a function must be possible.
uz
2009-10-05 17:49:45 +00:00
43c89d5fd0Fixed a bug: A struct field has all qualifiers from its definition plus the qualifiers of the struct.
uz
2009-10-05 17:37:45 +00:00
8348f62114Must link libdl to use dynamic libraries.
uz
2009-10-04 18:52:27 +00:00
cb5ce7da5aAdjusted error message to recent change.
ol.sc
2009-10-03 11:07:10 +00:00
6bf42548d9Added a note about the builtin search paths
uz
2009-10-02 20:52:40 +00:00
c45442692cFixed messed up line endings.
ol.sc
2009-10-02 20:15:14 +00:00
6c0960819eAdded docs for all the tgi functions and improved Lynx documentation (contributed by Karri Kaksonen).
uz
2009-10-02 14:29:17 +00:00
b75bdc65d3Fixed problems that were introduced with r4287.
uz
2009-10-01 21:53:55 +00:00
8e35f0d9c8The combined assignment operator (-=, +=, ...) did not check that the rhs is actually an integer.
uz
2009-10-01 19:41:40 +00:00
ba46bab009Made stacksize user-adjustable on the cmdline.
ol.sc
2009-10-01 17:00:10 +00:00
7608ec3c63Fixed typos and line endings.
ol.sc
2009-10-01 15:41:24 +00:00
811ef2f04cFixed a naming problem (Stefan Haubenthal).
uz
2009-10-01 14:46:26 +00:00
911355178dAdded an additional precondition before replacing code in OptPushPop. Fixed a few places where new code was inserted after existing code instead the other way round.
uz
2009-10-01 14:39:26 +00:00
d42ce3b59eLynx updates by Karri Kaksonen.
uz
2009-10-01 14:09:19 +00:00
ce778c4bb8Updated doc to better reflect current code.
ol.sc
2009-09-30 21:54:20 +00:00
9ba5252a01Another small change in OptJumpTarget3.
uz
2009-09-30 14:52:46 +00:00
a532a52113Added an additional precondition check to OptJumpTarget3.
uz
2009-09-30 14:10:13 +00:00
5f609164d6This is what was actually meant in the first place.
ol.sc
2009-09-30 08:04:34 +00:00
c2b03e0208New optimization step
uz
2009-09-29 18:46:25 +00:00
0b4c486a49Replace tabs by spaces in file lists.
uz
2009-09-29 13:32:09 +00:00
3d1ee0f974Fixes 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.
uz
2009-09-29 13:08:23 +00:00
4056e97587Use "override" when appending to CFLAGS, so this works even when CFLAGS is specified on the command line.
uz
2009-09-29 13:06:35 +00:00
16f05a78c2Create the .inc files before creating the dependency file, so we avoid problems with files that weren't found.
uz
2009-09-29 11:59:10 +00:00
b5f25efad5Small doc update by Stefan Haubenthal
uz
2009-09-28 22:25:00 +00:00
d54a1ba3d2Improved cbm_dir routines by Thomas Giesel.
uz
2009-09-28 22:01:58 +00:00
01a11b2dd9Added documentation on using GNU Make for building cc65 projects.
ol.sc
2009-09-28 21:55:51 +00:00
7b847321a8Move the version numbers from the interface of the version module into a new implementation. Allow for release candidates to be specified and disinguished.
uz
2009-09-28 20:10:01 +00:00
3c6e8087f1Improved Makefile by Greg King.
uz
2009-09-28 19:22:02 +00:00
e4d9fd3bd1Fixed more bugs, shortened the code where possible.
uz
2009-09-28 18:39:55 +00:00
6c8fab8e51Fixed two bugs, made the sources somewhat better readable.
uz
2009-09-28 17:47:33 +00:00
85f96a7d6fFixed warnings generated by clang (run by Per Olofsson).
uz
2009-09-28 15:59:18 +00:00
de7a7fe271New version by Greg King.
uz
2009-09-28 15:31:03 +00:00
4e1faa0b01Makefile simplification by Greg King
uz
2009-09-28 15:30:10 +00:00
9329908927Stefan Haubenthal fixed a few typos.
uz
2009-09-28 07:29:56 +00:00
fd0fa0241eAdjusted driver to the recent kernel interface change (code rearrange ment necessary to stay in 6502 branch reach).
ol.sc
2009-09-27 23:26:41 +00:00
72f1b11545Made sure the bounding box coordinates stay in reasonable ranges.
ol.sc
2009-09-27 22:33:12 +00:00
d55fb5217eChanged 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.
uz
2009-09-27 18:45:08 +00:00
2cc68784ccMake the watcom makefiles a bit more openwatcom compatible.
uz
2009-09-27 18:40:00 +00:00
5967b4845eLet vsprintf call vsnprintf to save code.
uz
2009-09-27 12:18:06 +00:00
067383eb6aAdded an untested implementation of snprintf.
uz
2009-09-27 12:11:05 +00:00
0b43444c26Added an (only roughly tested) implementation of vsnprintf
uz
2009-09-27 12:04:36 +00:00
903049087cAdded prototypes for snprintf/vsnprintf to stdio.h
uz
2009-09-27 12:03:07 +00:00
717840962bAdd mouse_setbox/mouse_getbox to the demo.
uz
2009-09-27 11:24:43 +00:00
dfc6162e91Fixed bug triggered if all 8 io buffer slots may be used.
ol.sc
2009-09-26 21:32:05 +00:00
2b50847a4cThe _printf routine does not return anything.
uz
2009-09-26 19:20:51 +00:00
93d161f877Cast the (unused) result of CHECK and PRECONDITION to void to (hopefully) get rid of a clang warning.
uz
2009-09-26 18:55:00 +00:00
e80cb24164Comment out the RegVal function using #if to get rid of the compiler warning about an unused function.
uz
2009-09-26 18:54:00 +00:00
0a8eb2bde3Package additional linker configs for the apple2enh
uz
2009-09-26 16:12:52 +00:00
a16dcb549fSeparate the linker config for the apple2enh target from the ones for the apple2.
uz
2009-09-26 16:12:02 +00:00
70cb60ef31Fix the plot routine to work with the buggy -02 kernal.
uz
2009-09-26 15:56:29 +00:00
b695733cdaOOPS! Forgot to add the mouse_getbox and mouse_setbox modules to subversion.
uz
2009-09-26 15:19:14 +00:00
634e84f12aChanged the existing Commodore mouse drivers for the new API. UNTESTED!
uz
2009-09-26 11:35:32 +00:00
c70af3a36bDocumented the new mouse_setbox() and mouse_getbox functions.
uz
2009-09-26 11:14:46 +00:00
16e6deaf86Changed 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!
uz
2009-09-26 11:11:14 +00:00
8be28482acRemove this copy of the apple include file - a copy was added to asminc before and we don't need it twice.
uz
2009-09-25 13:46:18 +00:00
439385a5c8Moved into asminc, so it will be available in the distribution.
ol.sc
2009-09-25 06:21:14 +00:00
019dbb7b1dSystime implementation derived from the cbm610.
uz
2009-09-24 21:09:45 +00:00
7867bf2921Fixed the config for the CBM510. Because of changes in the startup code, it didn't work any longer.
uz
2009-09-24 20:42:55 +00:00
753bbab40dSystime implementation for the CBM610, derived from the C64.
uz
2009-09-24 20:12:40 +00:00
83be732983The CIA TOD needs a write to the 1/10 sec register to start. Shortened the code by using initialized data.
uz
2009-09-24 19:40:36 +00:00
5c5d01d84aMoved 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.
uz
2009-09-24 17:44:22 +00:00
31f6f814afSince we have now builtin search paths, we need to be able to forget them, otherwise we cannot build libraries with a customized version.
uz
2009-09-24 17:24:52 +00:00
b0b8503230Fixed a comment
uz
2009-09-24 17:09:50 +00:00
a76c758c54Added a test for strtoul().
uz
2009-09-24 17:09:33 +00:00
b8e665e837Change 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.
uz
2009-09-24 15:07:11 +00:00
c4d83d4cbfUse xmalloc.h and change the code slightly to get rid of two gcc warnings.
uz
2009-09-24 15:05:48 +00:00
6da6da78aeAdded search paths similar to that of the linker and compiler.
uz
2009-09-24 14:49:52 +00:00
6aee0eff04Dito for the enhanced apple2
uz
2009-09-22 22:39:34 +00:00
185345e46cAdd the apple extra files to the apple2 rpm package.
uz
2009-09-22 22:21:38 +00:00
a4871a4928Build files in the extra directory (analog to apple2).
ol.sc
2009-09-22 21:43:57 +00:00
0508d655f1Fixed an error.
uz
2009-09-22 19:10:46 +00:00
90b7dd065dBuild files in the extra directory.
uz
2009-09-22 19:00:12 +00:00
5c35c213f6Added author hint - as contained in the other source files.
ol.sc
2009-09-22 17:30:50 +00:00
6345e4b0cdAdded 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.
ol.sc
2009-09-22 17:29:49 +00:00
cb688729afChanged search paths to use subdirectories of CC65_HOME, remove CC65_LIB.
uz
2009-09-22 11:49:53 +00:00
a9e46e245aNew function AddSubSearchPathFromEnv.
uz
2009-09-22 11:29:13 +00:00
7adc9311bePreparation for extra platform object files
uz
2009-09-22 10:27:30 +00:00
6a5e402ad7Move/rename extra object files for the Apple2.
uz
2009-09-22 10:22:29 +00:00
feb212df62New linker config for the VIC-20 with 32K cartridge by Stefan Haubenthal.
uz
2009-09-22 09:33:49 +00:00
b1f4526e52Fixed documentation about search paths, especially search paths for configs. Updated the intro a bit.
uz
2009-09-20 18:06:29 +00:00
35646b6499Fixed a copy&paste error.
uz
2009-09-20 17:16:31 +00:00
12cb8a83a8Added the lynx serial driver
uz
2009-09-20 16:48:27 +00:00
95b70fe0fcRenamed the comlynx source and driver to lynx-comlynx, so it follows the existing naming conventions.
uz
2009-09-20 16:47:30 +00:00
0e91f15ea8Improved memset/memcpy/memmove functions by Christian Krueger.
uz
2009-09-20 14:32:25 +00:00
2153cc46dbRemove the framerate module. It's job is done by the tgi driver.
uz
2009-09-20 14:26:50 +00:00
ec946cae51Lynx patches by Karri Kaksonen. Improvements for the graphics driver, new serial driver.
uz
2009-09-20 14:22:04 +00:00
20eb942ab9Oliver added a comment to the Apple2 linker config.
uz
2009-09-20 13:14:29 +00:00
fda05d8bbaPackage the additional linker scripts for the apple.
uz
2009-09-19 16:17:01 +00:00