Commit Graph

  • 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
  • 9d00253227 Additional linker configs for the Apple by Oliver Schmidt. uz 2009-09-19 16:14:46 +00:00
  • 08f176c5aa Removed the - now unused - empty builtin configuration (was used for the ace target before). uz 2009-09-18 19:13:59 +00:00
  • 9a4ec37b40 Change search paths for the linker. uz 2009-09-18 19:00:24 +00:00
  • beef3a3d85 Prepared the spec file for version 2.13.0. Additional config files will no go to /usr/lib/cc65/cfg/. uz 2009-09-18 18:14:34 +00:00
  • 6019580fb6 Removed unused code. uz 2009-09-18 17:42:44 +00:00
  • 80fc3a0b48 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. uz 2009-09-18 17:39:23 +00:00
  • 689d06929c Fixed an error in the makefile. strtoimax and strtoumax were in the wrong list. uz 2009-09-18 17:23:48 +00:00
  • 050c56211a Renamed some additional (not builtin) linker configs. uz 2009-09-18 17:06:26 +00:00
  • dca7cfd249 Removed the (unused and probably non-working) config for OS/A65. uz 2009-09-18 17:04:20 +00:00
  • d0e9f0f987 Added a missing paren. uz 2009-09-18 15:09:07 +00:00
  • b5db4cd5fa Added wide char literals, but treat them identical as normal strings. uz 2009-09-18 14:28:52 +00:00
  • 65ca052303 Make wchar_t a char instead of a short. uz 2009-09-18 07:38:00 +00:00
  • cc12a5a838 inttypes.h is an ISO C standard include file. uz 2009-09-17 19:31:47 +00:00
  • 75068a6528 New strtoimax and strtoumax standard functions as aliases for strtol/strtoul. uz 2009-09-17 18:37:42 +00:00
  • 3a3eaf99cb Lynx changes by Karri Kaksonen. uz 2009-09-17 09:32:05 +00:00
  • 5e55e1c651 Added a (currently untested) strtoul implementation. strtol and strtoul should probably get merged somehow, because they share quite some code. uz 2009-09-15 21:45:25 +00:00
  • 2f2bced531 Shrink atoi by using negeax instead of inlined code. uz 2009-09-15 21:25:44 +00:00
  • 96637a8c35 Make system() fastcall like most other library functions. uz 2009-09-15 21:01:20 +00:00
  • e5996090f7 Added an implementation of strtol (stdlib.h). uz 2009-09-15 20:56:08 +00:00
  • c6c3fc4738 Testcode for strtol and atoi. uz 2009-09-15 20:47:03 +00:00
  • bbad4433cc Added declarations for strtol and strtoul. uz 2009-09-15 20:46:38 +00:00
  • 52a368adc1 Improved the code that checks for memory accesses. The old code didn't detect certain accesses. uz 2009-09-14 22:02:48 +00:00
  • 98b7e9f6da Added tgi_load_driver.s to files to be ignored. ol.sc 2009-09-14 20:13:52 +00:00