]> git.sur5r.net Git - cc65/log
cc65
14 years agoSave some cycles.
ol.sc [Thu, 22 Apr 2010 19:51:34 +0000 (19:51 +0000)]
Save some cycles.

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

14 years agoRemember the type of the input file. This may be used later to create more
uz [Thu, 22 Apr 2010 19:40:50 +0000 (19:40 +0000)]
Remember the type of the input file. This may be used later to create more
variants of dependency files.

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

14 years agoImplemented new .PUSHCPU and .POPCPU commands.
uz [Sun, 18 Apr 2010 18:47:16 +0000 (18:47 +0000)]
Implemented new .PUSHCPU and .POPCPU commands.

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

14 years agoAdded several functions to the intstack module.
uz [Sun, 18 Apr 2010 18:40:59 +0000 (18:40 +0000)]
Added several functions to the intstack module.

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

14 years agoAdded while loop inversion.
uz [Sat, 17 Apr 2010 15:19:35 +0000 (15:19 +0000)]
Added while loop inversion.

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

14 years agoMinor corrections by Robert Hurst for use with RPMFusion.
uz [Fri, 16 Apr 2010 19:37:59 +0000 (19:37 +0000)]
Minor corrections by Robert Hurst for use with RPMFusion.

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

14 years agoReverted part of change 4108 that prevented an optimization step to find
uz [Sat, 10 Apr 2010 11:23:39 +0000 (11:23 +0000)]
Reverted part of change 4108 that prevented an optimization step to find
proper replacements. Some other rearrangements for slightly better code.

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

14 years agoAdded the cdecl keyword
uz [Fri, 9 Apr 2010 19:47:33 +0000 (19:47 +0000)]
Added the cdecl keyword

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

14 years agoMore strcmp inlining.
uz [Tue, 23 Mar 2010 21:47:12 +0000 (21:47 +0000)]
More strcmp inlining.

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

14 years agoFixed the size of the RAM segment for the CBM610. The routine that does
uz [Tue, 23 Mar 2010 19:40:48 +0000 (19:40 +0000)]
Fixed the size of the RAM segment for the CBM610. The routine that does
cross-bank calls is located at $FECB and the stack grows downwards from
there.

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

14 years agoComment fix.
uz [Tue, 23 Mar 2010 19:39:32 +0000 (19:39 +0000)]
Comment fix.

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

14 years agoInline some occurances of strcmp.
uz [Mon, 22 Mar 2010 22:28:45 +0000 (22:28 +0000)]
Inline some occurances of strcmp.

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

14 years agoFor the CBM 510, the stack is not part of RAM. And, because of the cross-bacnk
uz [Sun, 21 Mar 2010 21:39:44 +0000 (21:39 +0000)]
For the CBM 510, the stack is not part of RAM. And, because of the cross-bacnk
routine, it is smaller than the number used before.

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

14 years ago- No more HEAP segment
ol.sc [Sun, 21 Mar 2010 17:10:17 +0000 (17:10 +0000)]
- No more HEAP segment
- RAM reduced by __STACKSIZE__
- Unified formatting

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

14 years agoFixed an optimizer problem.
uz [Sun, 21 Mar 2010 14:08:46 +0000 (14:08 +0000)]
Fixed an optimizer problem.

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

14 years agoReenable compile time evaluation of strlen for string literals.
uz [Sat, 20 Mar 2010 18:51:59 +0000 (18:51 +0000)]
Reenable compile time evaluation of strlen for string literals.

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

14 years agoChanged the size of available RAM so that the last used address is $7FFF.
uz [Sat, 20 Mar 2010 18:08:27 +0000 (18:08 +0000)]
Changed the size of available RAM so that the last used address is $7FFF.

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

14 years agoDocument the new linker config file string behaviour.
uz [Sat, 20 Mar 2010 17:56:27 +0000 (17:56 +0000)]
Document the new linker config file string behaviour.

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

14 years agoAllow escape sequences prefixed by '%' in strings. '%%' denotes a single
uz [Sat, 20 Mar 2010 17:48:15 +0000 (17:48 +0000)]
Allow escape sequences prefixed by '%' in strings. '%%' denotes a single
percent sign, %O is the name of the output file.

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

14 years agoChanged the type of CfgSVal to a string buffer and removed the upper limit for
uz [Sat, 20 Mar 2010 17:23:51 +0000 (17:23 +0000)]
Changed the type of CfgSVal to a string buffer and removed the upper limit for
the length.

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

14 years agoAdded a paragraph about the new c64-dqbb.emd driver.
uz [Fri, 19 Mar 2010 20:51:47 +0000 (20:51 +0000)]
Added a paragraph about the new c64-dqbb.emd driver.

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

14 years agoAdded patches to make systime work correctly with the different video systems
uz [Fri, 19 Mar 2010 20:46:56 +0000 (20:46 +0000)]
Added patches to make systime work correctly with the different video systems
(Stefan Haubenthal).

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

14 years agoRemoved a forgotten ScrollSave variable (Stefan Haubenthal).
uz [Wed, 17 Mar 2010 17:09:24 +0000 (17:09 +0000)]
Removed a forgotten ScrollSave variable (Stefan Haubenthal).

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

14 years agoFixed two issues with macros:
uz [Sun, 14 Mar 2010 17:46:02 +0000 (17:46 +0000)]
Fixed two issues with macros:
* A newline between the macro name and the argument list of a function like
  macro was not accepted.
* An unterminated macro argument list was not always detected.

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

14 years agoShortened the code
uz [Mon, 8 Mar 2010 18:40:55 +0000 (18:40 +0000)]
Shortened the code

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

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