]> git.sur5r.net Git - cc65/log
cc65
14 years agoFixed line endings I broke with recent change.
ol.sc [Sun, 7 Mar 2010 21:00:42 +0000 (21:00 +0000)]
Fixed line endings I broke with recent change.

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

14 years agoFix scrolling (again). The old code switched off scrolling completely, as a
uz [Sun, 7 Mar 2010 13:37:58 +0000 (13:37 +0000)]
Fix scrolling (again). The old code switched off scrolling completely, as a
consequence it didn't work when write(FILENO_STDOUT, ...) was used. So we will
have to disable scrolling on a per character basis in cputc.

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

14 years agoThe C16 is not really a separate machine, but identical to the Plus/4, so V2.13.2
uz [Sat, 6 Mar 2010 15:17:08 +0000 (15:17 +0000)]
The C16 is not really a separate machine, but identical to the Plus/4, so
the include file must just include the file for the Plus/4.

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

14 years agoReplaced '=' by ':=' where applicable and moved the atmos specific assembler
uz [Sun, 28 Feb 2010 10:22:26 +0000 (10:22 +0000)]
Replaced '=' by ':=' where applicable and moved the atmos specific assembler
include into the asminc directory.

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

14 years agoFixes for the pet-ptvjoy driver and a new standard joystick driver by Marco
uz [Sun, 28 Feb 2010 09:56:51 +0000 (09:56 +0000)]
Fixes for the pet-ptvjoy driver and a new standard joystick driver by Marco
van den Heuvel. Cleanup and integration by me.

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

14 years agoMoved the pet.inc file into the asminc subdirectory. Added definitions for the
uz [Sun, 28 Feb 2010 09:55:12 +0000 (09:55 +0000)]
Moved the pet.inc file into the asminc subdirectory. Added definitions for the
6522 VIA and fixed the assignments for addresses to use ':=' instead of '='.

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

14 years agoRemoved pet.inc, since the real file is still in the pet directory and this
uz [Sun, 28 Feb 2010 09:53:04 +0000 (09:53 +0000)]
Removed pet.inc, since the real file is still in the pet directory and this
one was added erronously.

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

14 years agoAdded definitions for the 6522 VIA.
uz [Sun, 28 Feb 2010 09:47:32 +0000 (09:47 +0000)]
Added definitions for the 6522 VIA.

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

14 years agoPatch by Marco van den Heuvel that adds detection of GEOS 1.1 and the plus4
uz [Sat, 27 Feb 2010 14:46:43 +0000 (14:46 +0000)]
Patch by Marco van den Heuvel that adds detection of GEOS 1.1 and the plus4
GEOS to the get_ostype function.

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

14 years agoAdded a new document that describes how to use the cc65 toolset with a
uz [Thu, 25 Feb 2010 21:51:00 +0000 (21:51 +0000)]
Added a new document that describes how to use the cc65 toolset with a
currently unsupported hardware platform. Written and constributed by Bruce
Reidenbach.

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

14 years agoMade Olivers devnum patch (r4588) work with the PET-II models. On these
uz [Sat, 20 Feb 2010 19:46:51 +0000 (19:46 +0000)]
Made Olivers devnum patch (r4588) work with the PET-II models. On these
machines, the program runs in a separate 64K bank, and zeropage variables need
to be copied from the system bank into the execution bank to read by a simple
load operation. The change is currently untested!

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

14 years agoAdded comment based on mailing list posting by Greg King.
ol.sc [Sat, 20 Feb 2010 09:52:05 +0000 (09:52 +0000)]
Added comment based on mailing list posting by Greg King.

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

14 years agoFixed a problem with a disabled cursor: Switching off the cursor using the
uz [Thu, 18 Feb 2010 20:31:50 +0000 (20:31 +0000)]
Fixed a problem with a disabled cursor: Switching off the cursor using the
kernal routine does not work, when the cursor is not at the same position
where it was switched on, because when switching it on, the kernal remembers
the character attribute and restores this when switching it off. So characters
may get the wrong attribute. The solution is to always switch the cursor on,
before switching it off.

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

14 years agoFixed a video problem: When switching the display, the SCROLL flag gets
uz [Mon, 15 Feb 2010 18:32:15 +0000 (18:32 +0000)]
Fixed a video problem: When switching the display, the SCROLL flag gets
cleared, which in turn causes the display to scroll when a character is output
in the lower right corner.

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

14 years agoPatches by Greg King to avoid crosstalk between mouse and keyboard.
uz [Mon, 15 Feb 2010 17:52:41 +0000 (17:52 +0000)]
Patches by Greg King to avoid crosstalk between mouse and keyboard.

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

14 years agoInitialize _curunit from the zeropage value DEVNUM (aka First Address) in a construct...
ol.sc [Sun, 14 Feb 2010 23:12:54 +0000 (23:12 +0000)]
Initialize _curunit from the zeropage value DEVNUM (aka First Address) in a constructor with a very high priority to be called before DEVNUM gets overwritten by other constructors.

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

14 years agoNew EMD driver for the Double Quick Brown Box cartridge, written and
uz [Fri, 12 Feb 2010 11:09:23 +0000 (11:09 +0000)]
New EMD driver for the Double Quick Brown Box cartridge, written and
contributed by Marco van den Heuvel with quite some cleanup by me.

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

14 years agoMake PIA upper case for orthogonality.
uz [Fri, 12 Feb 2010 11:07:07 +0000 (11:07 +0000)]
Make PIA upper case for orthogonality.

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

14 years agoMore driver cleanup.
uz [Fri, 12 Feb 2010 10:46:57 +0000 (10:46 +0000)]
More driver cleanup.

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

14 years agoUse the .max function to calculate the backup space.
uz [Thu, 11 Feb 2010 18:56:47 +0000 (18:56 +0000)]
Use the .max function to calculate the backup space.

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

14 years agoAdded builtin .min() and .max() pseudo functions to the assembler.
uz [Thu, 11 Feb 2010 18:54:08 +0000 (18:54 +0000)]
Added builtin .min() and .max() pseudo functions to the assembler.

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

14 years agoComment update.
uz [Thu, 4 Feb 2010 22:29:57 +0000 (22:29 +0000)]
Comment update.

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

14 years agoFixes for the ptvjoy drivers by Marco van den Heuvel.
uz [Thu, 4 Feb 2010 21:02:00 +0000 (21:02 +0000)]
Fixes for the ptvjoy drivers by Marco van den Heuvel.

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

14 years agoAdded DTV detection code by Marco van den Heuvel.
uz [Thu, 4 Feb 2010 20:27:48 +0000 (20:27 +0000)]
Added DTV detection code by Marco van den Heuvel.

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

14 years agoSome more improvements (untested).
uz [Thu, 4 Feb 2010 20:08:50 +0000 (20:08 +0000)]
Some more improvements (untested).

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

14 years agoAdded doc for the isepic extended memory driver.
uz [Thu, 4 Feb 2010 19:21:18 +0000 (19:21 +0000)]
Added doc for the isepic extended memory driver.

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

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