Commit Graph

  • ea582a9d74 Use GetQualifier() instead of accessing the field directly. uz 2009-10-05 18:37:07 +00:00
  • 7992bfb74a Changed solution for r4329 so that it uses less memory. uz 2009-10-05 18:22:28 +00:00
  • c69e2d9f0f Fixed 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
  • 43c89d5fd0 Fixed 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
  • 8348f62114 Must link libdl to use dynamic libraries. uz 2009-10-04 18:52:27 +00:00
  • 8b7c9fdc4f Added decimal mode (untested): http://www.6502.org/tutorials/decimal_mode.html uz 2009-10-04 18:52:10 +00:00
  • ca5ada12ba Added note on the necessity of tab chars at the beginning of make command lines. ol.sc 2009-10-04 16:30:56 +00:00
  • ed15f337d9 Use a simple expression now that ldwarning is available as an assert action. uz 2009-10-04 13:04:53 +00:00
  • 44311c2b2e Documented the new .assert actions. uz 2009-10-04 13:03:56 +00:00
  • 7ecdaf3d6e Use the new ldwarning assert action. uz 2009-10-04 12:42:32 +00:00
  • 1efebb9024 Add .assert actions that aren't evaluated at assembly time. uz 2009-10-04 12:40:19 +00:00
  • a3529cd048 Ignore start address in cbm_opendir. Rearrange the code somewhat to make it shorter. uz 2009-10-03 18:38:39 +00:00
  • 82c312bd72 Updated (and sorted) sample program info. ol.sc 2009-10-03 11:28:42 +00:00
  • 2b7e9ecebc Made compatible with the Apple ][ machines, but without timing (like mandelbrot). ol.sc 2009-10-03 11:17:39 +00:00
  • a84229dcaf Leveraged tgi_stddrv (like tgidemo). ol.sc 2009-10-03 11:10:26 +00:00
  • cb5ce7da5a Adjusted error message to recent change. ol.sc 2009-10-03 11:07:10 +00:00
  • 6bf42548d9 Added a note about the builtin search paths uz 2009-10-02 20:52:40 +00:00
  • c45442692c Fixed messed up line endings. ol.sc 2009-10-02 20:15:14 +00:00
  • 6c0960819e Added docs for all the tgi functions and improved Lynx documentation (contributed by Karri Kaksonen). uz 2009-10-02 14:29:17 +00:00
  • b75bdc65d3 Fixed problems that were introduced with r4287. uz 2009-10-01 21:53:55 +00:00
  • 8e35f0d9c8 The combined assignment operator (-=, +=, ...) did not check that the rhs is actually an integer. uz 2009-10-01 19:41:40 +00:00
  • ba46bab009 Made stacksize user-adjustable on the cmdline. ol.sc 2009-10-01 17:00:10 +00:00
  • 7608ec3c63 Fixed typos and line endings. ol.sc 2009-10-01 15:41:24 +00:00
  • 811ef2f04c Fixed a naming problem (Stefan Haubenthal). uz 2009-10-01 14:46:26 +00:00
  • 911355178d Added 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
  • d42ce3b59e Lynx updates by Karri Kaksonen. uz 2009-10-01 14:09:19 +00:00
  • ce778c4bb8 Updated doc to better reflect current code. ol.sc 2009-09-30 21:54:20 +00:00
  • 9ba5252a01 Another small change in OptJumpTarget3. uz 2009-09-30 14:52:46 +00:00
  • a532a52113 Added an additional precondition check to OptJumpTarget3. uz 2009-09-30 14:10:13 +00:00
  • 5f609164d6 This is what was actually meant in the first place. ol.sc 2009-09-30 08:04:34 +00:00
  • c2b03e0208 New optimization step uz 2009-09-29 18:46:25 +00:00
  • 0b4c486a49 Replace tabs by spaces in file lists. uz 2009-09-29 13:32:09 +00:00
  • 3d1ee0f974 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. uz 2009-09-29 13:08:23 +00:00
  • 4056e97587 Use "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
  • 16f05a78c2 Create 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
  • b5f25efad5 Small doc update by Stefan Haubenthal uz 2009-09-28 22:25:00 +00:00
  • d54a1ba3d2 Improved cbm_dir routines by Thomas Giesel. uz 2009-09-28 22:01:58 +00:00
  • 01a11b2dd9 Added documentation on using GNU Make for building cc65 projects. ol.sc 2009-09-28 21:55:51 +00:00
  • 7b847321a8 Move 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
  • 3c6e8087f1 Improved Makefile by Greg King. uz 2009-09-28 19:22:02 +00:00
  • e4d9fd3bd1 Fixed more bugs, shortened the code where possible. uz 2009-09-28 18:39:55 +00:00
  • 6c8fab8e51 Fixed two bugs, made the sources somewhat better readable. uz 2009-09-28 17:47:33 +00:00
  • 85f96a7d6f Fixed warnings generated by clang (run by Per Olofsson). uz 2009-09-28 15:59:18 +00:00
  • de7a7fe271 New version by Greg King. uz 2009-09-28 15:31:03 +00:00
  • 4e1faa0b01 Makefile simplification by Greg King uz 2009-09-28 15:30:10 +00:00
  • 9329908927 Stefan Haubenthal fixed a few typos. uz 2009-09-28 07:29:56 +00:00
  • fd0fa0241e Adjusted 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
  • 72f1b11545 Made sure the bounding box coordinates stay in reasonable ranges. ol.sc 2009-09-27 22:33:12 +00:00
  • d55fb5217e 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. uz 2009-09-27 18:45:08 +00:00
  • 2cc68784cc Make the watcom makefiles a bit more openwatcom compatible. uz 2009-09-27 18:40:00 +00:00
  • 5967b4845e Let vsprintf call vsnprintf to save code. uz 2009-09-27 12:18:06 +00:00
  • 067383eb6a Added an untested implementation of snprintf. uz 2009-09-27 12:11:05 +00:00
  • 0b43444c26 Added an (only roughly tested) implementation of vsnprintf uz 2009-09-27 12:04:36 +00:00
  • 903049087c Added prototypes for snprintf/vsnprintf to stdio.h uz 2009-09-27 12:03:07 +00:00
  • 717840962b Add mouse_setbox/mouse_getbox to the demo. uz 2009-09-27 11:24:43 +00:00
  • dfc6162e91 Fixed bug triggered if all 8 io buffer slots may be used. ol.sc 2009-09-26 21:32:05 +00:00
  • 2b50847a4c The _printf routine does not return anything. uz 2009-09-26 19:20:51 +00:00
  • 93d161f877 Cast 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
  • e80cb24164 Comment 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
  • 0a8eb2bde3 Package additional linker configs for the apple2enh uz 2009-09-26 16:12:52 +00:00
  • a16dcb549f Separate the linker config for the apple2enh target from the ones for the apple2. uz 2009-09-26 16:12:02 +00:00
  • 70cb60ef31 Fix the plot routine to work with the buggy -02 kernal. uz 2009-09-26 15:56:29 +00:00
  • b695733cda OOPS! Forgot to add the mouse_getbox and mouse_setbox modules to subversion. uz 2009-09-26 15:19:14 +00:00
  • 634e84f12a Changed the existing Commodore mouse drivers for the new API. UNTESTED! uz 2009-09-26 11:35:32 +00:00
  • c70af3a36b Documented the new mouse_setbox() and mouse_getbox functions. uz 2009-09-26 11:14:46 +00:00
  • 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! uz 2009-09-26 11:11:14 +00:00
  • 8be28482ac Remove 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
  • 439385a5c8 Moved into asminc, so it will be available in the distribution. ol.sc 2009-09-25 06:21:14 +00:00
  • 019dbb7b1d Systime implementation derived from the cbm610. uz 2009-09-24 21:09:45 +00:00
  • 7867bf2921 Fixed 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
  • 753bbab40d Systime implementation for the CBM610, derived from the C64. uz 2009-09-24 20:12:40 +00:00
  • 83be732983 The 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
  • 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. uz 2009-09-24 17:44:22 +00:00
  • 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. uz 2009-09-24 17:24:52 +00:00
  • b0b8503230 Fixed a comment uz 2009-09-24 17:09:50 +00:00
  • a76c758c54 Added a test for strtoul(). uz 2009-09-24 17:09:33 +00:00
  • 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. uz 2009-09-24 15:07:11 +00:00
  • c4d83d4cbf Use xmalloc.h and change the code slightly to get rid of two gcc warnings. uz 2009-09-24 15:05:48 +00:00
  • 6da6da78ae Added search paths similar to that of the linker and compiler. uz 2009-09-24 14:49:52 +00:00
  • 6aee0eff04 Dito for the enhanced apple2 uz 2009-09-22 22:39:34 +00:00
  • 185345e46c Add the apple extra files to the apple2 rpm package. uz 2009-09-22 22:21:38 +00:00
  • a4871a4928 Build files in the extra directory (analog to apple2). ol.sc 2009-09-22 21:43:57 +00:00
  • 0508d655f1 Fixed an error. uz 2009-09-22 19:10:46 +00:00
  • 90b7dd065d Build files in the extra directory. uz 2009-09-22 19:00:12 +00:00
  • 5c35c213f6 Added author hint - as contained in the other source files. ol.sc 2009-09-22 17:30:50 +00:00
  • 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. ol.sc 2009-09-22 17:29:49 +00:00
  • cb688729af Changed search paths to use subdirectories of CC65_HOME, remove CC65_LIB. uz 2009-09-22 11:49:53 +00:00
  • a9e46e245a New function AddSubSearchPathFromEnv. uz 2009-09-22 11:29:13 +00:00
  • 7adc9311be Preparation for extra platform object files uz 2009-09-22 10:27:30 +00:00
  • 6a5e402ad7 Move/rename extra object files for the Apple2. uz 2009-09-22 10:22:29 +00:00
  • feb212df62 New linker config for the VIC-20 with 32K cartridge by Stefan Haubenthal. uz 2009-09-22 09:33:49 +00:00
  • b1f4526e52 Fixed documentation about search paths, especially search paths for configs. Updated the intro a bit. uz 2009-09-20 18:06:29 +00:00
  • 35646b6499 Fixed a copy&paste error. uz 2009-09-20 17:16:31 +00:00
  • 12cb8a83a8 Added the lynx serial driver uz 2009-09-20 16:48:27 +00:00
  • 95b70fe0fc Renamed the comlynx source and driver to lynx-comlynx, so it follows the existing naming conventions. uz 2009-09-20 16:47:30 +00:00
  • 0e91f15ea8 Improved memset/memcpy/memmove functions by Christian Krueger. uz 2009-09-20 14:32:25 +00:00
  • 2153cc46db Remove the framerate module. It's job is done by the tgi driver. uz 2009-09-20 14:26:50 +00:00
  • ec946cae51 Lynx patches by Karri Kaksonen. Improvements for the graphics driver, new serial driver. uz 2009-09-20 14:22:04 +00:00
  • 20eb942ab9 Oliver added a comment to the Apple2 linker config. uz 2009-09-20 13:14:29 +00:00
  • fda05d8bba Package the additional linker scripts for the apple. uz 2009-09-19 16:17:01 +00:00