]> git.sur5r.net Git - cc65/log
cc65
14 years agoNew extended memory driver for the C256K memory extension. Written and
uz [Thu, 4 Feb 2010 19:19:17 +0000 (19:19 +0000)]
New extended memory driver for the C256K memory extension. Written and
contributed by Marco van den Heuvel with several changes by me.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4577 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoDoc update for the georam emd driver.
uz [Thu, 4 Feb 2010 19:15:18 +0000 (19:15 +0000)]
Doc update for the georam emd driver.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4576 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMoved the extended RAM driver to c128-ram2.emd and restored the old one.
uz [Thu, 4 Feb 2010 18:28:56 +0000 (18:28 +0000)]
Moved the extended RAM driver to c128-ram2.emd and restored the old one.
Machines with RAM in pages 2+3 are quite rare, so it's better to have the
additional code+features in a separate driver.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4575 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoNew EMD driver for the ISEPIC cartridge written and contributed by
uz [Tue, 2 Feb 2010 18:32:34 +0000 (18:32 +0000)]
New EMD driver for the ISEPIC cartridge written and contributed by
Marco van den Heuvel with some cleanup by me.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4574 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixes for joysticks 3+4 in the ptv joystick driver. Contributed by Marco van
uz [Tue, 2 Feb 2010 17:05:18 +0000 (17:05 +0000)]
Fixes for joysticks 3+4 in the ptv joystick driver. Contributed by Marco van
den Heuvel.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4573 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdd MMU config registers 2+3 (Marco van den Heuvel).
uz [Tue, 2 Feb 2010 08:19:19 +0000 (08:19 +0000)]
Add MMU config registers 2+3 (Marco van den Heuvel).

git-svn-id: svn://svn.cc65.org/cc65/trunk@4572 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded new return code for get_ostype().
uz [Mon, 1 Feb 2010 18:04:31 +0000 (18:04 +0000)]
Added new return code for get_ostype().

git-svn-id: svn://svn.cc65.org/cc65/trunk@4571 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMarco van den Heuvel contributed code to detect a C64 DTV.
uz [Mon, 1 Feb 2010 18:04:14 +0000 (18:04 +0000)]
Marco van den Heuvel contributed code to detect a C64 DTV.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4570 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded code to the driver to use also banks 2 and 3 if present. Contributed by
uz [Mon, 1 Feb 2010 17:56:37 +0000 (17:56 +0000)]
Added code to the driver to use also banks 2 and 3 if present. Contributed by
Marco van den Heuvel.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4569 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded size checking code contributed by Marco van den Heuvel.
uz [Mon, 1 Feb 2010 07:20:06 +0000 (07:20 +0000)]
Added size checking code contributed by Marco van den Heuvel.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4568 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoNo need to save the Y register in INSTALL.
uz [Mon, 1 Feb 2010 07:19:47 +0000 (07:19 +0000)]
No need to save the Y register in INSTALL.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4567 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded size checking code contributed by Marco van den Heuvel.
uz [Mon, 1 Feb 2010 07:15:41 +0000 (07:15 +0000)]
Added size checking code contributed by Marco van den Heuvel.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4566 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded size checking routine contributed by Marco van den Heuvel.
uz [Mon, 1 Feb 2010 07:07:24 +0000 (07:07 +0000)]
Added size checking routine contributed by Marco van den Heuvel.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4565 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed open mode for second try in DoIncBin (Greg King).
uz [Sun, 31 Jan 2010 20:49:40 +0000 (20:49 +0000)]
Fixed open mode for second try in DoIncBin (Greg King).

git-svn-id: svn://svn.cc65.org/cc65/trunk@4563 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed a copy&paste error.
uz [Sun, 31 Jan 2010 11:10:45 +0000 (11:10 +0000)]
Fixed a copy&paste error.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4562 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded explicit tgi_clear() after tgi_init() now that this isn't done by tgi_init...
ol.sc [Tue, 26 Jan 2010 20:12:35 +0000 (20:12 +0000)]
Added explicit tgi_clear() after tgi_init() now that this isn't done by tgi_init() anymore.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4561 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed formatting (broken due to wrong tab settings).
ol.sc [Tue, 26 Jan 2010 20:04:51 +0000 (20:04 +0000)]
Fixed formatting (broken due to wrong tab settings).

git-svn-id: svn://svn.cc65.org/cc65/trunk@4560 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoRemoved the call to tgi_clear from tgi_init, so the screen is not
uz [Tue, 26 Jan 2010 16:51:03 +0000 (16:51 +0000)]
Removed the call to tgi_clear from tgi_init, so the screen is not
automatically cleared.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4559 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded a separate include search path for binary includes. These aren't
uz [Mon, 25 Jan 2010 20:33:01 +0000 (20:33 +0000)]
Added a separate include search path for binary includes. These aren't
searched any longer in the standard include path.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4558 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMinor reformatting.
ol.sc [Sun, 24 Jan 2010 14:53:48 +0000 (14:53 +0000)]
Minor reformatting.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4557 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded short documentation of the recently added ioctl for mixing graphics with 4...
ol.sc [Sun, 24 Jan 2010 12:05:22 +0000 (12:05 +0000)]
Added short documentation of the recently added ioctl for mixing graphics with 4 lines of text.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4556 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed minor C&P error.
ol.sc [Sun, 24 Jan 2010 11:44:08 +0000 (11:44 +0000)]
Fixed minor C&P error.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4554 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFactored out generic LINE implementation based on SETPIXEL from the three drivers...
ol.sc [Sun, 24 Jan 2010 11:21:44 +0000 (11:21 +0000)]
Factored out generic LINE implementation based on SETPIXEL from the three drivers previously containing the identical code.

Note: Originally I planned to create a module to be linked to the driver. However this turned out to cause quite some issues with the Makefiles - especially on the Apple2 where one driver uses to generic LINE implementation and the other doesn't. The final Makefile was so ugly that I rather opted for including the code in question on source level. In order to avoid to unwanted cross dependencies the whole .inc file content is wrapped in its own scope.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4553 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoQuite some minor changes to have the two C128 TGI driver source files only differ...
ol.sc [Sat, 23 Jan 2010 08:55:37 +0000 (08:55 +0000)]
Quite some minor changes to have the two C128 TGI driver source files only differ where they are semantically different.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4552 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed a problem in the optimizer function that rewrites ops that use the
uz [Wed, 20 Jan 2010 19:47:44 +0000 (19:47 +0000)]
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).

git-svn-id: svn://svn.cc65.org/cc65/trunk@4551 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoDefine HEADER memory area for the EXEHDR segment for consistency reasons with the...
ol.sc [Sun, 17 Jan 2010 21:47:03 +0000 (21:47 +0000)]
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).

git-svn-id: svn://svn.cc65.org/cc65/trunk@4550 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed the description of the return codes of the is... functions from ctype.h
uz [Wed, 13 Jan 2010 16:16:17 +0000 (16:16 +0000)]
Fixed the description of the return codes of the is... functions from ctype.h
(Greg King).

git-svn-id: svn://svn.cc65.org/cc65/trunk@4548 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded support for several machines.
ol.sc [Fri, 8 Jan 2010 23:37:25 +0000 (23:37 +0000)]
Added support for several machines.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4547 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoSome optimization.
ol.sc [Fri, 8 Jan 2010 23:09:02 +0000 (23:09 +0000)]
Some optimization.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4546 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years ago- Added ioctl for mixing graphics with 4 lines of text.
ol.sc [Fri, 8 Jan 2010 22:45:59 +0000 (22:45 +0000)]
- Added ioctl for mixing graphics with 4 lines of text.
- Preserve drawing color during CLEAR.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4545 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMinor comment adjustment.
ol.sc [Fri, 8 Jan 2010 22:24:38 +0000 (22:24 +0000)]
Minor comment adjustment.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4544 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded Johan Kotlinski.
uz [Tue, 5 Jan 2010 11:18:46 +0000 (11:18 +0000)]
Added Johan Kotlinski.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4542 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoConverted the CREDITS file to utf-8.
uz [Tue, 5 Jan 2010 11:17:49 +0000 (11:17 +0000)]
Converted the CREDITS file to utf-8.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4540 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed a typo.
uz [Sun, 3 Jan 2010 08:58:52 +0000 (08:58 +0000)]
Fixed a typo.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4539 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoIgnore unknown preprocessor directives in an #if group that is excluded. V2.13.1
uz [Wed, 30 Dec 2009 11:20:09 +0000 (11:20 +0000)]
Ignore unknown preprocessor directives in an #if group that is excluded.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4534 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoP.A.S.E. joystick driver for the Oric Atmos, contributed by Stefan Haubenthal.
uz [Mon, 21 Dec 2009 21:15:34 +0000 (21:15 +0000)]
P.A.S.E. joystick driver for the Oric Atmos, contributed by Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4533 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoP.A.S.E. joystick driver for the Oric Atmos, contributed by Stefan Haubenthal.
uz [Mon, 21 Dec 2009 21:14:21 +0000 (21:14 +0000)]
P.A.S.E. joystick driver for the Oric Atmos, contributed by Stefan Haubenthal.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4532 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMinor comment adjustment.
ol.sc [Sat, 19 Dec 2009 13:09:57 +0000 (13:09 +0000)]
Minor comment adjustment.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4531 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded --forget-inc-paths to the assembler command line to avoid problems if
uz [Fri, 18 Dec 2009 11:58:50 +0000 (11:58 +0000)]
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).

git-svn-id: svn://svn.cc65.org/cc65/trunk@4530 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded macro for ssc slot selection.
ol.sc [Sun, 13 Dec 2009 11:23:20 +0000 (11:23 +0000)]
Added macro for ssc slot selection.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4528 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded macro for ssc slot selection.
ol.sc [Sun, 13 Dec 2009 11:21:59 +0000 (11:21 +0000)]
Added macro for ssc slot selection.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4527 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded macro for ssc slot selection.
ol.sc [Sun, 13 Dec 2009 11:21:22 +0000 (11:21 +0000)]
Added macro for ssc slot selection.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4526 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded support for the Apple2 machines.
ol.sc [Sun, 13 Dec 2009 11:16:38 +0000 (11:16 +0000)]
Added support for the Apple2 machines.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4525 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded missing declaration ?!?
ol.sc [Sun, 13 Dec 2009 00:13:14 +0000 (00:13 +0000)]
Added missing declaration ?!?

git-svn-id: svn://svn.cc65.org/cc65/trunk@4524 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agogit-svn-id: svn://svn.cc65.org/cc65/trunk@4523 b7a2c559-68d2-44c3-8de9-860c34a00d81
ol.sc [Sat, 12 Dec 2009 23:07:42 +0000 (23:07 +0000)]
git-svn-id: svn://svn.cc65.org/cc65/trunk@4523 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded ioctl for mixing graphics with 4 lines of text.
ol.sc [Sat, 12 Dec 2009 23:07:21 +0000 (23:07 +0000)]
Added ioctl for mixing graphics with 4 lines of text.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4522 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded ioctl for mixing graphics with 4 lines of text.
ol.sc [Sat, 12 Dec 2009 23:06:58 +0000 (23:06 +0000)]
Added ioctl for mixing graphics with 4 lines of text.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4521 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed typos.
ol.sc [Sat, 12 Dec 2009 22:44:50 +0000 (22:44 +0000)]
Fixed typos.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4519 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep
uz [Fri, 11 Dec 2009 14:33:53 +0000 (14:33 +0000)]
MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep
the interface more uniform between the driver APIs.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4518 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded a missing "the".
uz [Thu, 10 Dec 2009 22:48:06 +0000 (22:48 +0000)]
Added a missing "the".

git-svn-id: svn://svn.cc65.org/cc65/trunk@4517 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded some definitions for version 1.3 of the o65 format.
uz [Thu, 10 Dec 2009 22:44:27 +0000 (22:44 +0000)]
Added some definitions for version 1.3 of the o65 format.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4516 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoCleaned BUGS list (which is rather old anyway).
uz [Thu, 10 Dec 2009 22:30:32 +0000 (22:30 +0000)]
Cleaned BUGS list (which is rather old anyway).

git-svn-id: svn://svn.cc65.org/cc65/trunk@4515 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAdded some more detail to the "Binary format" section of the CBM docs.
uz [Thu, 10 Dec 2009 22:25:17 +0000 (22:25 +0000)]
Added some more detail to the "Binary format" section of the CBM docs.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4514 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoReplaced $30 by literal '0' for better readability.
uz [Thu, 10 Dec 2009 22:12:24 +0000 (22:12 +0000)]
Replaced $30 by literal '0' for better readability.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4513 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoRemoved the call to CLRCH in the startup code.
uz [Thu, 10 Dec 2009 21:22:17 +0000 (21:22 +0000)]
Removed the call to CLRCH in the startup code.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4512 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoReplaced left-over tab with space.
ol.sc [Wed, 9 Dec 2009 18:16:02 +0000 (18:16 +0000)]
Replaced left-over tab with space.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4510 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed typo.
ol.sc [Wed, 9 Dec 2009 18:11:58 +0000 (18:11 +0000)]
Fixed typo.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4509 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years ago* Moved the BASIC stub that calls the compiled program into it's own segment
uz [Wed, 9 Dec 2009 12:42:24 +0000 (12:42 +0000)]
* 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.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4507 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoAn assignment for the ZPSAVE segment was missing in the linker config for the
uz [Tue, 8 Dec 2009 20:41:43 +0000 (20:41 +0000)]
An assignment for the ZPSAVE segment was missing in the linker config for the
32K memory config of the VIC20. Hint from Robert Hurst.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4505 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoNew option and #pragma --local-strings that causes string literals to be
uz [Tue, 8 Dec 2009 20:35:24 +0000 (20:35 +0000)]
New option and #pragma --local-strings that causes string literals to be
output immediately.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4504 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agomore space improvements by Daniel Serpell
cpg [Mon, 7 Dec 2009 18:58:32 +0000 (18:58 +0000)]
more space improvements by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4503 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoRelax header checking somewhat, so second source fonts are accepted.
uz [Sun, 6 Dec 2009 12:24:59 +0000 (12:24 +0000)]
Relax header checking somewhat, so second source fonts are accepted.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4502 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoRewrote literal handling. Literals are now saved together with other function
uz [Sat, 5 Dec 2009 22:39:45 +0000 (22:39 +0000)]
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.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4501 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoFixed problem with last change. Wide string constants were not handled
uz [Sat, 5 Dec 2009 15:14:11 +0000 (15:14 +0000)]
Fixed problem with last change. Wide string constants were not handled
correctly.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4500 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoCreate one literal pool per function, so that literal pool data is removed
uz [Fri, 4 Dec 2009 14:12:25 +0000 (14:12 +0000)]
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.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4499 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMove global segment creation to a better place in source.
uz [Fri, 4 Dec 2009 13:04:40 +0000 (13:04 +0000)]
Move global segment creation to a better place in source.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4498 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoMakefile patch contributed by Greg King:
uz [Wed, 2 Dec 2009 15:21:22 +0000 (15:21 +0000)]
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.)

git-svn-id: svn://svn.cc65.org/cc65/trunk@4497 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoPatch contributed by Greg King:
uz [Wed, 2 Dec 2009 15:15:49 +0000 (15:15 +0000)]
Patch contributed by Greg King:
1. Implements a real progress bar.
2. Decomposes the timer's result.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4496 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agodon't hardcode 'D' as device name, use __defdev
cpg [Thu, 26 Nov 2009 18:47:14 +0000 (18:47 +0000)]
don't hardcode 'D' as device name, use __defdev

git-svn-id: svn://svn.cc65.org/cc65/trunk@4495 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoupdated with defdev.c and scrcode.s
cpg [Thu, 26 Nov 2009 18:22:03 +0000 (18:22 +0000)]
updated with defdev.c and scrcode.s

git-svn-id: svn://svn.cc65.org/cc65/trunk@4494 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoinitial check-in
cpg [Thu, 26 Nov 2009 18:19:35 +0000 (18:19 +0000)]
initial check-in

git-svn-id: svn://svn.cc65.org/cc65/trunk@4493 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoremove check for ATEOL
cpg [Wed, 25 Nov 2009 18:21:26 +0000 (18:21 +0000)]
remove check for ATEOL

git-svn-id: svn://svn.cc65.org/cc65/trunk@4492 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agosave 2 bytes -- patch by Uz
cpg [Wed, 25 Nov 2009 18:08:56 +0000 (18:08 +0000)]
save 2 bytes -- patch by Uz

git-svn-id: svn://svn.cc65.org/cc65/trunk@4491 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoinclude unistd.h -- fix by Daniel Serpell
cpg [Wed, 25 Nov 2009 17:59:55 +0000 (17:59 +0000)]
include unistd.h -- fix by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4490 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agoput _revflag into .bss
cpg [Wed, 25 Nov 2009 17:44:54 +0000 (17:44 +0000)]
put _revflag into .bss

git-svn-id: svn://svn.cc65.org/cc65/trunk@4489 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agofix comments
cpg [Wed, 25 Nov 2009 17:41:00 +0000 (17:41 +0000)]
fix comments

git-svn-id: svn://svn.cc65.org/cc65/trunk@4488 b7a2c559-68d2-44c3-8de9-860c34a00d81

14 years agomove __do_oserror and __inviocb into their own source files
cpg [Wed, 25 Nov 2009 17:35:21 +0000 (17:35 +0000)]
move __do_oserror and __inviocb into their own source files

git-svn-id: svn://svn.cc65.org/cc65/trunk@4487 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoremove not longer needed import of __errno
cpg [Wed, 25 Nov 2009 17:08:24 +0000 (17:08 +0000)]
remove not longer needed import of __errno

git-svn-id: svn://svn.cc65.org/cc65/trunk@4486 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoremove not longer needed import of tmp2 and tmp3
cpg [Wed, 25 Nov 2009 17:06:47 +0000 (17:06 +0000)]
remove not longer needed import of tmp2 and tmp3

git-svn-id: svn://svn.cc65.org/cc65/trunk@4485 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agospace improvements by Daniel Serpell
cpg [Wed, 25 Nov 2009 17:03:18 +0000 (17:03 +0000)]
space improvements by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4484 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoIn case of parse errors for structs, don't just set the type of the result to
uz [Tue, 24 Nov 2009 23:02:58 +0000 (23:02 +0000)]
In case of parse errors for structs, don't just set the type of the result to
"int", return a valid lvalue instead.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4483 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoFix a problem with error handling: The E_HAVE_MARKS flag must not be removed
uz [Tue, 24 Nov 2009 22:56:56 +0000 (22:56 +0000)]
Fix a problem with error handling: The E_HAVE_MARKS flag must not be removed
from an expression in case of an error.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4482 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoSupport for the HuC6280 (CPU of the PC Engine) contributed by Tobias Gunkel.
uz [Tue, 24 Nov 2009 20:04:27 +0000 (20:04 +0000)]
Support for the HuC6280 (CPU of the PC Engine) contributed by Tobias Gunkel.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4481 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoSqueezed bytes and cycles out of the kbhit functions for almost all platforms.
uz [Tue, 24 Nov 2009 18:31:16 +0000 (18:31 +0000)]
Squeezed bytes and cycles out of the kbhit functions for almost all platforms.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4480 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agodon't use constructor to setup runtime stack
cpg [Mon, 23 Nov 2009 22:06:32 +0000 (22:06 +0000)]
don't use constructor to setup runtime stack

git-svn-id: svn://svn.cc65.org/cc65/trunk@4479 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agomove fdtoiocb function into its own file -- idea by Daniel Serpell
cpg [Mon, 23 Nov 2009 21:59:29 +0000 (21:59 +0000)]
move fdtoiocb function into its own file -- idea by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4478 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agopoor man's _toascii routine, contributed by Fatih Aygun
cpg [Mon, 23 Nov 2009 21:35:33 +0000 (21:35 +0000)]
poor man's _toascii routine, contributed by Fatih Aygun

git-svn-id: svn://svn.cc65.org/cc65/trunk@4477 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agosave 3 bytes, patch by Daniel Serpell
cpg [Mon, 23 Nov 2009 21:21:49 +0000 (21:21 +0000)]
save 3 bytes, patch by Daniel Serpell

git-svn-id: svn://svn.cc65.org/cc65/trunk@4476 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agosave a byte (idea by Uz, done by Daniel Serpell)
cpg [Mon, 23 Nov 2009 21:17:56 +0000 (21:17 +0000)]
save a byte (idea by Uz, done by Daniel Serpell)

git-svn-id: svn://svn.cc65.org/cc65/trunk@4475 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoDon't hardcode the address of the SYS call for the startup code of the
uz [Mon, 23 Nov 2009 12:01:24 +0000 (12:01 +0000)]
Don't hardcode the address of the SYS call for the startup code of the
Commodore machines.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4474 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agodon't call __getdevdef in crt0.s, but make it a constructor of getdefdev.s
cpg [Thu, 19 Nov 2009 22:12:51 +0000 (22:12 +0000)]
don't call __getdevdef in crt0.s, but make it a constructor of getdefdev.s

git-svn-id: svn://svn.cc65.org/cc65/trunk@4473 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agomove setup of stdin/stdout/stderr from crt0.s to getfd.s
cpg [Thu, 19 Nov 2009 20:57:23 +0000 (20:57 +0000)]
move setup of stdin/stdout/stderr from crt0.s to getfd.s

git-svn-id: svn://svn.cc65.org/cc65/trunk@4472 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoadd a comment describing why this file is really included despite an obvious referenc...
cpg [Wed, 18 Nov 2009 23:52:54 +0000 (23:52 +0000)]
add a comment describing why this file is really included despite an obvious reference to it

git-svn-id: svn://svn.cc65.org/cc65/trunk@4471 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agosmall space optimization -- 3 bytes reduced
cpg [Wed, 18 Nov 2009 22:16:13 +0000 (22:16 +0000)]
small space optimization -- 3 bytes reduced

git-svn-id: svn://svn.cc65.org/cc65/trunk@4470 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agono TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
cpg [Sun, 15 Nov 2009 14:55:14 +0000 (14:55 +0000)]
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES

git-svn-id: svn://svn.cc65.org/cc65/trunk@4469 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agochanges from Fatih
cpg [Sun, 15 Nov 2009 14:46:09 +0000 (14:46 +0000)]
changes from Fatih

git-svn-id: svn://svn.cc65.org/cc65/trunk@4468 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoReplaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES
uz [Fri, 13 Nov 2009 15:53:01 +0000 (15:53 +0000)]
Replaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES

git-svn-id: svn://svn.cc65.org/cc65/trunk@4467 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoFixed TGI error codes and messages. Removed the Atari specific ones.
uz [Fri, 13 Nov 2009 12:57:10 +0000 (12:57 +0000)]
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.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4466 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoThe outcode constants from tgi_outcode went into this header file.
uz [Thu, 12 Nov 2009 18:01:11 +0000 (18:01 +0000)]
The outcode constants from tgi_outcode went into this header file.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4465 b7a2c559-68d2-44c3-8de9-860c34a00d81

15 years agoFinal touches to the first full version of the vector font output.
uz [Thu, 12 Nov 2009 18:00:17 +0000 (18:00 +0000)]
Final touches to the first full version of the vector font output.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4464 b7a2c559-68d2-44c3-8de9-860c34a00d81