]> git.sur5r.net Git - cc65/log
cc65
14 years agoNew install script from Stefan Haubenthal that (among other things) sets
uz [Thu, 3 Jun 2010 12:02:26 +0000 (12:02 +0000)]
New install script from Stefan Haubenthal that (among other things) sets
CC65_HOME.

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

14 years agoAlign rootdir() return value rather with POSIX functions than with DIO functions.
ol.sc [Wed, 2 Jun 2010 07:03:54 +0000 (07:03 +0000)]
Align rootdir() return value rather with POSIX functions than with DIO functions.

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

14 years agoSet _oserror only on error.
ol.sc [Tue, 1 Jun 2010 21:01:59 +0000 (21:01 +0000)]
Set _oserror only on error.

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

14 years agoFixed several errors in the description of _poserror.
uz [Tue, 1 Jun 2010 20:46:48 +0000 (20:46 +0000)]
Fixed several errors in the description of _poserror.

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

14 years agoAdded relative include path handling: The path of an input file is now pushed
uz [Sun, 30 May 2010 13:31:09 +0000 (13:31 +0000)]
Added relative include path handling: The path of an input file is now pushed
onto the search path list, so include files will be searched relative to this
path first.

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

14 years agoCheck for a size of zero in SB_CopyBuf to make the code somewhat faster.
uz [Sat, 29 May 2010 21:23:34 +0000 (21:23 +0000)]
Check for a size of zero in SB_CopyBuf to make the code somewhat faster.

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

14 years agoDon't ignore empty paths when adding the path of a file to the search path
uz [Sat, 29 May 2010 21:20:48 +0000 (21:20 +0000)]
Don't ignore empty paths when adding the path of a file to the search path
list.

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

14 years agoChanged search path logic: Include files are now search first in the directory
uz [Fri, 28 May 2010 12:00:12 +0000 (12:00 +0000)]
Changed search path logic: Include files are now search first in the directory
containing the file that had the #include statement. The path of the main file
will also added to the front of the search path list, so includes will not be
search in the current directory first, but in the directory that contains the
main file.

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

14 years agoPushSearchPath will add the path only if it's not already there.
uz [Fri, 28 May 2010 11:56:01 +0000 (11:56 +0000)]
PushSearchPath will add the path only if it's not already there.

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

14 years agoNew functions PushSearchPath and PopSearchPath.
uz [Fri, 28 May 2010 11:22:44 +0000 (11:22 +0000)]
New functions PushSearchPath and PopSearchPath.

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

14 years agoFix the check for constant static local data, which was wrong when the data
uz [Thu, 27 May 2010 19:47:13 +0000 (19:47 +0000)]
Fix the check for constant static local data, which was wrong when the data
was an array. It should go into RODATA, not DATA.

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

14 years agoAdded function to find out the volume name of a ProDOS 8 disk in a ProDOS 8 device.
ol.sc [Wed, 26 May 2010 21:02:35 +0000 (21:02 +0000)]
Added function to find out the volume name of a ProDOS 8 disk in a ProDOS 8 device.

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

14 years agoAdded missing docs for predefined macros, sorted them alphabetically.
uz [Tue, 25 May 2010 20:36:40 +0000 (20:36 +0000)]
Added missing docs for predefined macros, sorted them alphabetically.

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

14 years agoAdded a(nother) link to the o65 binary format specification.
uz [Tue, 25 May 2010 15:49:14 +0000 (15:49 +0000)]
Added a(nother) link to the o65 binary format specification.

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

14 years agoAdded functions to learn about the unit numbers of the ProDOS 8 devices found.
ol.sc [Mon, 24 May 2010 20:10:19 +0000 (20:10 +0000)]
Added functions to learn about the unit numbers of the ProDOS 8 devices found.

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

14 years agoRestructured search path handling.
uz [Sun, 9 May 2010 10:54:15 +0000 (10:54 +0000)]
Restructured search path handling.

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

14 years agoNew option --bin-include-dir which is passed to the assembler.
uz [Tue, 4 May 2010 20:19:54 +0000 (20:19 +0000)]
New option --bin-include-dir which is passed to the assembler.

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

14 years agoAdded a new option --dep-target to the compiler. This option allows to set the
uz [Sun, 2 May 2010 09:56:40 +0000 (09:56 +0000)]
Added a new option --dep-target to the compiler. This option allows to set the
target in the generated dependency file. The cl65 utility will use this option
to override the depdendency target, if actual object files are to be generated
from C input. So the generated dependency will not have the intermediate .s
file as target, but the final .o file, which allows to use the dependency
files without further processing.

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

14 years agoRestructured the code for better reada- and maintainability.
uz [Sun, 2 May 2010 09:32:42 +0000 (09:32 +0000)]
Restructured the code for better reada- and maintainability.

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

14 years agosyschdir by Stefan Haubenthal
cpg [Sat, 1 May 2010 22:33:25 +0000 (22:33 +0000)]
syschdir by Stefan Haubenthal

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

14 years agoAdded a more detailed explanation of the --standard command line switch.
uz [Sat, 1 May 2010 16:22:54 +0000 (16:22 +0000)]
Added a more detailed explanation of the --standard command line switch.

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

14 years agoAdded --create-dep and --create-full-dep to the cl65 utility.
uz [Sat, 1 May 2010 14:47:09 +0000 (14:47 +0000)]
Added --create-dep and --create-full-dep to the cl65 utility.

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

14 years agoRewrote the search path routines to use collections internally.
uz [Sat, 1 May 2010 14:44:14 +0000 (14:44 +0000)]
Rewrote the search path routines to use collections internally.

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

14 years agoAdded dependency file generation to the assembler. This includes two new
uz [Sat, 1 May 2010 11:59:55 +0000 (11:59 +0000)]
Added dependency file generation to the assembler. This includes two new
options, --create-dep and --create-full-dep. The latter will include files
that are passed via debug info to the assembler.

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

14 years agoChanged generation of makefile dependencies:
uz [Sat, 1 May 2010 09:42:12 +0000 (09:42 +0000)]
Changed generation of makefile dependencies:
  * There are now two options, --create-dep and --create-full-dep. One
    will add system includes, the other not.
  * Both options require a file name. This is an incompatible change(!)
    but has the advantage that the user is in control of extension and
    path of the generated file.
  * Output will always include a phony target for the input files. This
    may not work with all make programs.

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

14 years agoMore preparations for an extension of the calling conventions.
uz [Thu, 29 Apr 2010 20:30:49 +0000 (20:30 +0000)]
More preparations for an extension of the calling conventions.

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

14 years agoChange the OptStackOps function so that it adjusts the instruction pointer
uz [Sun, 25 Apr 2010 21:51:59 +0000 (21:51 +0000)]
Change the OptStackOps function so that it adjusts the instruction pointer
after changing code. Without this correction, the insn pointer may be wrong
after one of the subfunctions has changed code, which may cause a valid
sequence not to be detected. This change (when proven good) may also go into
2.13.

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

14 years agoAdded a paragraph about the order in which the command line is parsed.
uz [Fri, 23 Apr 2010 18:34:52 +0000 (18:34 +0000)]
Added a paragraph about the order in which the command line is parsed.

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

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