Commit Graph

  • 7391c15971 Fixed minor C&P error. ol.sc 2010-01-24 11:44:08 +00:00
  • e9f69ad123 Factored out generic LINE implementation based on SETPIXEL from the three drivers previously containing the identical code. ol.sc 2010-01-24 11:21:44 +00:00
  • 16129b2724 Quite some minor changes to have the two C128 TGI driver source files only differ where they are semantically different. ol.sc 2010-01-23 08:55:37 +00:00
  • 5175f95341 Fixed a problem in the optimizer function that rewrites ops that use the stack. Useless instructions (duplicate loads or transfers) within the sequence are left intact and may cause problems because the interfere with the replacement code. A run of OptRemoveUnusedLoads and friends should fix the problem, bit this step may be disabled, so the routine has to check for this condition and avoid it (by not doing the replacement). uz 2010-01-20 19:47:44 +00:00
  • 3d5d3ef76a Define HEADER memory area for the EXEHDR segment for consistency reasons with the other targets with an EXEHDR segment (apple2[enh], atari, lynx, cbm[5|6]10). ol.sc 2010-01-17 21:47:03 +00:00
  • 1ec3eaf507 Fixed the description of the return codes of the is... functions from ctype.h (Greg King). uz 2010-01-13 16:16:17 +00:00
  • 9c49513d80 Added support for several machines. ol.sc 2010-01-08 23:37:25 +00:00
  • 246a8db9ac Some optimization. ol.sc 2010-01-08 23:09:02 +00:00
  • c71c75c162 - Added ioctl for mixing graphics with 4 lines of text. - Preserve drawing color during CLEAR. ol.sc 2010-01-08 22:45:59 +00:00
  • c3ef1369f3 Minor comment adjustment. ol.sc 2010-01-08 22:24:38 +00:00
  • 7d3dc3891e Added Johan Kotlinski. uz 2010-01-05 11:18:46 +00:00
  • dbd6e07fac Converted the CREDITS file to utf-8. uz 2010-01-05 11:17:49 +00:00
  • 080637a377 Fixed a typo. uz 2010-01-03 08:58:52 +00:00
  • 41f7757204 Ignore unknown preprocessor directives in an #if group that is excluded. uz 2009-12-30 11:20:09 +00:00
  • 63c53b8021 P.A.S.E. joystick driver for the Oric Atmos, contributed by Stefan Haubenthal. uz 2009-12-21 21:15:34 +00:00
  • 62669bcb73 P.A.S.E. joystick driver for the Oric Atmos, contributed by Stefan Haubenthal. uz 2009-12-21 21:14:21 +00:00
  • 651df0889c Minor comment adjustment. ol.sc 2009-12-19 13:09:57 +00:00
  • c6831e936a Added --forget-inc-paths to the assembler command line to avoid problems if more than one version of ca65 is installed on the machine (Spiro Trikaliotis). uz 2009-12-18 11:58:50 +00:00
  • 8ea7c876d6 Added macro for ssc slot selection. ol.sc 2009-12-13 11:23:20 +00:00
  • 10e810b623 Added macro for ssc slot selection. ol.sc 2009-12-13 11:21:59 +00:00
  • 5de9f6dfe5 Added macro for ssc slot selection. ol.sc 2009-12-13 11:21:22 +00:00
  • b94dfc9025 Added support for the Apple2 machines. ol.sc 2009-12-13 11:16:38 +00:00
  • e1b8fb85dd Added missing declaration ?!? ol.sc 2009-12-13 00:13:14 +00:00
  • 4aa2b0c127 git-svn-id: svn://svn.cc65.org/cc65/trunk@4523 b7a2c559-68d2-44c3-8de9-860c34a00d81 ol.sc 2009-12-12 23:07:42 +00:00
  • 4c1cd875ee Added ioctl for mixing graphics with 4 lines of text. ol.sc 2009-12-12 23:07:21 +00:00
  • fd82520622 Added ioctl for mixing graphics with 4 lines of text. ol.sc 2009-12-12 23:06:58 +00:00
  • 87ab0064f8 Fixed typos. ol.sc 2009-12-12 22:44:50 +00:00
  • 36cf23680c MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep the interface more uniform between the driver APIs. uz 2009-12-11 14:33:53 +00:00
  • 14030c0852 Added a missing "the". uz 2009-12-10 22:48:06 +00:00
  • 7ec8a5b6dc Added some definitions for version 1.3 of the o65 format. uz 2009-12-10 22:44:27 +00:00
  • c7ff487d6b Cleaned BUGS list (which is rather old anyway). uz 2009-12-10 22:30:32 +00:00
  • 6bfa7fbaa2 Added some more detail to the "Binary format" section of the CBM docs. uz 2009-12-10 22:25:17 +00:00
  • 7e2a24176f Replaced $30 by literal '0' for better readability. uz 2009-12-10 22:12:24 +00:00
  • 13698871cb Removed the call to CLRCH in the startup code. uz 2009-12-10 21:22:17 +00:00
  • 6b148748a9 Replaced left-over tab with space. ol.sc 2009-12-09 18:16:02 +00:00
  • bc26bd5097 Fixed typo. ol.sc 2009-12-09 18:11:58 +00:00
  • 60bc009991 * Moved the BASIC stub that calls the compiled program into it's own segment named EXEHDR. * Renamed BASICHDR to EXEHDR for the PET-II machines. * Moved the call to CHRCH in front of the code that saves the zero page, since open files are sometimes remembered in the zero page, so we need to close them before we grab a copy. uz 2009-12-09 12:42:24 +00:00
  • 1fae13274e An assignment for the ZPSAVE segment was missing in the linker config for the 32K memory config of the VIC20. Hint from Robert Hurst. uz 2009-12-08 20:41:43 +00:00
  • 7d94dc50a1 New option and #pragma --local-strings that causes string literals to be output immediately. uz 2009-12-08 20:35:24 +00:00
  • 2bca737f57 more space improvements by Daniel Serpell cpg 2009-12-07 18:58:32 +00:00
  • a467095216 Relax header checking somewhat, so second source fonts are accepted. uz 2009-12-06 12:24:59 +00:00
  • 3976746735 Rewrote literal handling. Literals are now saved together with other function data, and at the end of compilation merged if possible. Literals for unused functions are removed together with the function. uz 2009-12-05 22:39:45 +00:00
  • 9b7c16ec4c Fixed problem with last change. Wide string constants were not handled correctly. uz 2009-12-05 15:14:11 +00:00
  • 50ff6d0768 Create one literal pool per function, so that literal pool data is removed together with a function, if it is not used. Literal storage can now be controlled by #pragma writable-strings on a per function basis. uz 2009-12-04 14:12:25 +00:00
  • 1f90ec93a0 Move global segment creation to a better place in source. uz 2009-12-04 13:04:40 +00:00
  • ff4eeebec2 Makefile patch contributed by Greg King: I added the "MAKEOPTS=" to the top-level "gcc.mak" that he wants, and I changed the tool source tree's top-level make-file so that it supports parallel building. (I added a rule that builds the common library before building anything else.) uz 2009-12-02 15:21:22 +00:00
  • dc977737aa Patch contributed by Greg King: 1. Implements a real progress bar. 2. Decomposes the timer's result. uz 2009-12-02 15:15:49 +00:00
  • e65719bf98 don't hardcode 'D' as device name, use __defdev cpg 2009-11-26 18:47:14 +00:00
  • 644d44bcae updated with defdev.c and scrcode.s cpg 2009-11-26 18:22:03 +00:00
  • 38a061e439 initial check-in cpg 2009-11-26 18:19:35 +00:00
  • 20e9cf6d85 remove check for ATEOL cpg 2009-11-25 18:21:26 +00:00
  • b0afb15402 save 2 bytes -- patch by Uz cpg 2009-11-25 18:08:56 +00:00
  • 001b557ff6 include unistd.h -- fix by Daniel Serpell cpg 2009-11-25 17:59:55 +00:00
  • 0b28cda7b0 put _revflag into .bss cpg 2009-11-25 17:44:54 +00:00
  • 94f7ce4978 fix comments cpg 2009-11-25 17:41:00 +00:00
  • 7fb08aa749 move __do_oserror and __inviocb into their own source files cpg 2009-11-25 17:35:21 +00:00
  • 9b058add4a remove not longer needed import of __errno cpg 2009-11-25 17:08:24 +00:00
  • daa41d41d6 remove not longer needed import of tmp2 and tmp3 cpg 2009-11-25 17:06:47 +00:00
  • d17e0f7c02 space improvements by Daniel Serpell cpg 2009-11-25 17:03:18 +00:00
  • ce931b85be In case of parse errors for structs, don't just set the type of the result to "int", return a valid lvalue instead. uz 2009-11-24 23:02:58 +00:00
  • 3fb0c660dc Fix a problem with error handling: The E_HAVE_MARKS flag must not be removed from an expression in case of an error. uz 2009-11-24 22:56:56 +00:00
  • 327c989d8b Support for the HuC6280 (CPU of the PC Engine) contributed by Tobias Gunkel. uz 2009-11-24 20:04:27 +00:00
  • bfbf94404b Squeezed bytes and cycles out of the kbhit functions for almost all platforms. uz 2009-11-24 18:31:16 +00:00
  • 7357b44104 don't use constructor to setup runtime stack cpg 2009-11-23 22:06:32 +00:00
  • fa25cc732f move fdtoiocb function into its own file -- idea by Daniel Serpell cpg 2009-11-23 21:59:29 +00:00
  • 5a593b8105 poor man's _toascii routine, contributed by Fatih Aygun cpg 2009-11-23 21:35:33 +00:00
  • 314984aae4 save 3 bytes, patch by Daniel Serpell cpg 2009-11-23 21:21:49 +00:00
  • 2011f92c3a save a byte (idea by Uz, done by Daniel Serpell) cpg 2009-11-23 21:17:56 +00:00
  • c7a33334ba Don't hardcode the address of the SYS call for the startup code of the Commodore machines. uz 2009-11-23 12:01:24 +00:00
  • 61b2834508 don't call __getdevdef in crt0.s, but make it a constructor of getdefdev.s cpg 2009-11-19 22:12:51 +00:00
  • 38901e1614 move setup of stdin/stdout/stderr from crt0.s to getfd.s cpg 2009-11-19 20:57:23 +00:00
  • 429c3888bc add a comment describing why this file is really included despite an obvious reference to it cpg 2009-11-18 23:52:54 +00:00
  • 4ee7121ba2 small space optimization -- 3 bytes reduced cpg 2009-11-18 22:16:13 +00:00
  • cce24a2c9a no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES cpg 2009-11-15 14:55:14 +00:00
  • b739a2d335 changes from Fatih cpg 2009-11-15 14:46:09 +00:00
  • 097b094fdd Replaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES uz 2009-11-13 15:53:01 +00:00
  • e74ed31936 Fixed TGI error codes and messages. Removed the Atari specific ones. tgi_load_vectorfont will now return TGI_ERR_NO_MEM and clear the error code if the load was successful. uz 2009-11-13 12:57:10 +00:00
  • d1e37cc241 The outcode constants from tgi_outcode went into this header file. uz 2009-11-12 18:01:11 +00:00
  • d1e4687540 Final touches to the first full version of the vector font output. uz 2009-11-12 18:00:17 +00:00
  • 5dc80c2615 Rename the 8x8 multiplication using the same scheme as for the 16x16 multiplication. uz 2009-11-12 15:48:11 +00:00
  • 80b81549fd Moved outcode calculation in a separate module. uz 2009-11-12 15:10:45 +00:00
  • 884aff9191 Prepare for reading keypresses from the X server. uz 2009-11-12 11:19:44 +00:00
  • b30d834772 remove superfluous ".code" line cpg 2009-11-11 23:17:55 +00:00
  • ab6ff06e76 bugfix from Fatih cpg 2009-11-11 23:15:42 +00:00
  • b86ded5192 add some comments cpg 2009-11-10 22:00:41 +00:00
  • 7b42fd028a fix comment cpg 2009-11-10 21:56:56 +00:00
  • b18d6ad8db add Atari TGI drivers from Fatih Aygun cpg 2009-11-10 21:53:55 +00:00
  • fe5adb5c4e Working on stroked font output. uz 2009-11-10 18:50:33 +00:00
  • 1154a11649 tgi_vectorchar takes now a char argument. Added tgi_install_vectorfont. uz 2009-11-06 16:18:13 +00:00
  • ce02b5668c Added an include file for TGI vector fonts. uz 2009-11-06 16:00:43 +00:00
  • e12bd13e16 Added clipping for lines. uz 2009-11-06 15:26:46 +00:00
  • 24e68f5df3 Changed a comment. uz 2009-11-06 12:08:25 +00:00
  • e319fc217b Hold the maximum X and Y coordinate in variables instead of calculating them when needed. The variables make signed compares in the line clipper easier. uz 2009-11-06 12:02:52 +00:00
  • eee4430061 Added a tgi_pieslice function. uz 2009-11-05 20:32:17 +00:00
  • bafd7a7279 Fixed a sign error. uz 2009-11-05 20:26:23 +00:00
  • 787f069738 Moved fixed point multiplication and rounding into an asm module. uz 2009-11-05 20:16:43 +00:00
  • de6050f21d Added a tgi_arc function. Removed the old ellipse code and create a new ellipse module that calls tgi_arc. uz 2009-11-05 19:52:18 +00:00
  • 78070d8bfb Added tgi_circle and tgi_ellipse functions. The latter works, but could be optimized. uz 2009-11-05 17:14:29 +00:00
  • a08b7d4daf Added prototypes for more mul/div functions. Some of the don't currently exist. uz 2009-11-05 17:12:18 +00:00
  • 18272c0427 Working on the division and multiplication routines. uz 2009-11-04 19:41:54 +00:00