]> git.sur5r.net Git - cc65/log
cc65
13 years agoAdded more debug output.
uz [Wed, 8 Jun 2011 18:28:21 +0000 (18:28 +0000)]
Added more debug output.

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

13 years agoFix a compile problem with the Watcom compiler.
uz [Wed, 8 Jun 2011 06:51:05 +0000 (06:51 +0000)]
Fix a compile problem with the Watcom compiler.

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

13 years agoAdded (again) IRQ support for the Oric Atmos by Stefan Haubenthal. This time
uz [Tue, 7 Jun 2011 21:22:02 +0000 (21:22 +0000)]
Added (again) IRQ support for the Oric Atmos by Stefan Haubenthal. This time
with the correct patch for atmos.inc.

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

13 years agoDon't allow too many nested macro expansions. Until now, it was possible to
uz [Tue, 7 Jun 2011 21:17:35 +0000 (21:17 +0000)]
Don't allow too many nested macro expansions. Until now, it was possible to
send the assembler in an endless loop by a recursive macro without end
condition or a set of macros that called each other.

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

13 years agoLimit the number of additional line infos printed in case of an error or
uz [Tue, 7 Jun 2011 21:15:16 +0000 (21:15 +0000)]
Limit the number of additional line infos printed in case of an error or
warning.

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

13 years agoFix an error with .ELSEIF: The condition must only be evaluated if the .ELSEIF
uz [Tue, 7 Jun 2011 17:16:18 +0000 (17:16 +0000)]
Fix an error with .ELSEIF: The condition must only be evaluated if the .ELSEIF
is inside an .IF which had a TRUE condition.

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

13 years agoAdded a comment about the fix explaining why the given order of calls is necessary.
uz [Sun, 5 Jun 2011 14:47:28 +0000 (14:47 +0000)]
Added a comment about the fix explaining why the given order of calls is necessary.

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

13 years agoFixed an error in macro expansion: If the first token after the macro name was
uz [Sun, 5 Jun 2011 14:45:37 +0000 (14:45 +0000)]
Fixed an error in macro expansion: If the first token after the macro name was
a .define style macro, the assembler run into an internal error, because the
expansion of the second macro was started before the first one

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

13 years agoFix a problem with conditional assembly: The scanner has to be switched into
uz [Sun, 5 Jun 2011 14:28:56 +0000 (14:28 +0000)]
Fix a problem with conditional assembly: The scanner has to be switched into
raw token mode when skipping a section of input because otherwise pseudo
functions may trigger errors.

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

13 years agoRemove declarations for stuff that has never been there.
uz [Sun, 5 Jun 2011 14:24:51 +0000 (14:24 +0000)]
Remove declarations for stuff that has never been there.

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

13 years agoFixed a problem in GetSymParentScope, where an error in the assembler input
uz [Tue, 31 May 2011 14:51:21 +0000 (14:51 +0000)]
Fixed a problem in GetSymParentScope, where an error in the assembler input
somewhere before could lead to an invalid memory access.

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

13 years agoThe terminating zero was missing in several places where a string buffer was
uz [Mon, 30 May 2011 21:56:27 +0000 (21:56 +0000)]
The terminating zero was missing in several places where a string buffer was
copied to CurTok.SVal.

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

13 years agoFix problem with output of sprintf when %s format spec is used.
uz [Mon, 30 May 2011 21:37:34 +0000 (21:37 +0000)]
Fix problem with output of sprintf when %s format spec is used.

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

13 years agoReverted the last change, because it doesn't compile.
uz [Tue, 24 May 2011 06:48:02 +0000 (06:48 +0000)]
Reverted the last change, because it doesn't compile.

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

13 years agoAdd support for interruptors (Stefan Haubenthal).
uz [Mon, 23 May 2011 17:35:25 +0000 (17:35 +0000)]
Add support for interruptors (Stefan Haubenthal).

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

13 years agoCorrected screensize function by Stefan Haubenthal.
uz [Fri, 13 May 2011 15:31:26 +0000 (15:31 +0000)]
Corrected screensize function by Stefan Haubenthal.

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

13 years agoDocument the aspect ratio functions.
uz [Tue, 10 May 2011 18:39:06 +0000 (18:39 +0000)]
Document the aspect ratio functions.

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

13 years agoFixed typoes in cl65's --help message. By Greg King.
uz [Mon, 9 May 2011 16:33:38 +0000 (16:33 +0000)]
Fixed typoes in cl65's --help message. By Greg King.

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

13 years agoBack to revision 3818: The value of COLOR_WHITE changed back from 3 to 1.
ol.sc [Thu, 5 May 2011 20:43:10 +0000 (20:43 +0000)]
Back to revision 3818: The value of COLOR_WHITE changed back from 3 to 1.

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

13 years agoThe TGI kernel will call SETVIEWPAGE(0) after calling INIT so there's no need to...
ol.sc [Tue, 3 May 2011 21:40:51 +0000 (21:40 +0000)]
The TGI kernel will call SETVIEWPAGE(0) after calling INIT so there's no need to switch to the first page here.

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

13 years agoRemoved tgi_load() and all corresponding infrastructure. The idea behind tgi_load...
ol.sc [Tue, 3 May 2011 21:28:20 +0000 (21:28 +0000)]
Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.

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

13 years agoFixed comment.
ol.sc [Tue, 3 May 2011 20:22:32 +0000 (20:22 +0000)]
Fixed comment.

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

13 years agoAdded commands to copy the extra-object modules for all targets.
uz [Mon, 2 May 2011 19:29:05 +0000 (19:29 +0000)]
Added commands to copy the extra-object modules for all targets.
These two patches speed up library building:
Do the "runtime" directory before doing the platform directory, because
platform drivers need a file from the runtime directory (the old code
ran "runtime/Makefile" three times for each target!!!).
Clean only the shared directories -- the target directories don't need
cleaning.
Changes by Greg King.

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

13 years ago_tgi_getaspectratio was declared global twice, while tgi_setaspectratio was
uz [Mon, 2 May 2011 19:18:38 +0000 (19:18 +0000)]
_tgi_getaspectratio was declared global twice, while tgi_setaspectratio was
missing (Greg King).

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

13 years agoComputed pixel aspect ratio (PAR) by presuming a display aspect ratio (DAR) of 4...
ol.sc [Mon, 2 May 2011 11:23:30 +0000 (11:23 +0000)]
Computed pixel aspect ratio (PAR) by presuming a display aspect ratio (DAR) of 4/3 for a classic CRT and using the given driver resolutions as storage aspect ratio (SAR).

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

13 years agoRemoved tgi_load() and all corresponding infrastructure. The idea behind tgi_load...
ol.sc [Mon, 2 May 2011 10:38:48 +0000 (10:38 +0000)]
Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.

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

13 years agoRemoved unused TGI mode tables.
ol.sc [Mon, 2 May 2011 10:30:49 +0000 (10:30 +0000)]
Removed unused TGI mode tables.

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

13 years agoFixed typos in comments. No code changes.
uz [Sun, 1 May 2011 21:40:00 +0000 (21:40 +0000)]
Fixed typos in comments. No code changes.

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

13 years agoImproved the stub for __osmaperrno somewhat (Stefan Haubenthal).
uz [Sun, 1 May 2011 21:39:04 +0000 (21:39 +0000)]
Improved the stub for __osmaperrno somewhat (Stefan Haubenthal).

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

13 years agoCache aspect ratio like already done with resolution.
ol.sc [Sun, 1 May 2011 21:38:04 +0000 (21:38 +0000)]
Cache aspect ratio like already done with resolution.

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

13 years agoRemoved recently added TGI mode tables for Atmos and Lynx as according to Greg King...
ol.sc [Sun, 1 May 2011 21:32:03 +0000 (21:32 +0000)]
Removed recently added TGI mode tables for Atmos and Lynx as according to Greg King those targets don't load drivers dynamically.

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

13 years agoThe code for compares with a constant result may not be removed, because it
uz [Sun, 1 May 2011 18:48:06 +0000 (18:48 +0000)]
The code for compares with a constant result may not be removed, because it
may contain side effects.

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

13 years agoNew TGI routines tgi_getaspectratio/tgi_setaspectratio.
uz [Sun, 1 May 2011 18:40:38 +0000 (18:40 +0000)]
New TGI routines tgi_getaspectratio/tgi_setaspectratio.

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

13 years agoRemoved unnecessary \n's in calls to Error().
uz [Sun, 1 May 2011 18:00:51 +0000 (18:00 +0000)]
Removed unnecessary \n's in calls to Error().

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

13 years agoFixed an error in the last change: Arguments for option -W were not passed
uz [Sun, 1 May 2011 17:58:45 +0000 (17:58 +0000)]
Fixed an error in the last change: Arguments for option -W were not passed
correctly to the compiler.

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

13 years agoFix problem with changed syntax of option -W for the compiler: -W will now
uz [Sun, 1 May 2011 17:56:44 +0000 (17:56 +0000)]
Fix problem with changed syntax of option -W for the compiler: -W will now
only be passed to the compiler together with all warning names.

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

13 years agoFix output of --help regarding -W. Added new option --list-warnings.
uz [Sun, 1 May 2011 17:42:49 +0000 (17:42 +0000)]
Fix output of --help regarding -W. Added new option --list-warnings.

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

13 years agoRemoved two extra bytes from the TGI driver's header.
uz [Sun, 1 May 2011 17:04:30 +0000 (17:04 +0000)]
Removed two extra bytes from the TGI driver's header.
Added "tgi_colors.s" and a missing mouse-driver support file.
Added driver-module rules to the make-file.
All changes by Greg King.

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

13 years agoA first small step towards aspect ratio awareness.
ol.sc [Sat, 30 Apr 2011 13:12:53 +0000 (13:12 +0000)]
A first small step towards aspect ratio awareness.

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

13 years agoDocumented the reason for having a pixel aspect ratio (PAR) of 1 on the Lynx.
ol.sc [Sat, 30 Apr 2011 12:47:53 +0000 (12:47 +0000)]
Documented the reason for having a pixel aspect ratio (PAR) of 1 on the Lynx.

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

13 years agoComputed pixel aspect ratio (PAR) by presuming a display aspect ratio (DAR) of 4...
ol.sc [Sat, 30 Apr 2011 12:46:03 +0000 (12:46 +0000)]
Computed pixel aspect ratio (PAR) by presuming a display aspect ratio (DAR) of 4/3 for a classic CRT and using the given driver resolutions as storage aspect ratio (SAR).

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

13 years agoAdded a convertor from Latin1 to PetSCII. By Greg King.
uz [Fri, 29 Apr 2011 15:39:28 +0000 (15:39 +0000)]
Added a convertor from Latin1 to PetSCII. By Greg King.

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

13 years agoNo need to explicitly set two page in 40 column mode as two pages are the default...
ol.sc [Thu, 28 Apr 2011 13:06:37 +0000 (13:06 +0000)]
No need to explicitly set two page in 40 column mode as two pages are the default anyway.

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

13 years agoMinimal source reformatting.
ol.sc [Thu, 28 Apr 2011 13:05:12 +0000 (13:05 +0000)]
Minimal source reformatting.

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

13 years agoAdded TGI mode tables for Atmos and Lynx
ol.sc [Mon, 25 Apr 2011 19:05:43 +0000 (19:05 +0000)]
Added TGI mode tables for Atmos and Lynx

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

13 years agoFixed comments. No code change.
uz [Mon, 25 Apr 2011 18:49:24 +0000 (18:49 +0000)]
Fixed comments. No code change.

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

13 years agoReverted the change by Stefan Haubenthal - order of segments is important for
uz [Mon, 25 Apr 2011 18:45:57 +0000 (18:45 +0000)]
Reverted the change by Stefan Haubenthal - order of segments is important for
the heap to work correctly.

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

13 years agoAccess routines for different eeprom types. By Karri Kaksonen.
uz [Mon, 25 Apr 2011 18:42:50 +0000 (18:42 +0000)]
Access routines for different eeprom types. By Karri Kaksonen.

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

13 years agoTarget-specific black & white values for use by the target-shared TGI kernel
ol.sc [Mon, 25 Apr 2011 17:11:23 +0000 (17:11 +0000)]
Target-specific black & white values for use by the target-shared TGI kernel

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

13 years agoAdded TGI_COLOR_... macros to be used both for hires and lores. Introduced color...
ol.sc [Mon, 25 Apr 2011 11:16:56 +0000 (11:16 +0000)]
Added TGI_COLOR_... macros to be used both for hires and lores. Introduced color mapping on lores to allow for common color macros.

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

13 years agoAdded toascii().
ol.sc [Fri, 22 Apr 2011 12:14:28 +0000 (12:14 +0000)]
Added toascii().

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

13 years agoUse TGI colors.
ol.sc [Wed, 20 Apr 2011 12:59:45 +0000 (12:59 +0000)]
Use TGI colors.

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

13 years agoAdded TGI colors (simply based on the conio colors).
ol.sc [Wed, 20 Apr 2011 12:50:38 +0000 (12:50 +0000)]
Added TGI colors (simply based on the conio colors).

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

13 years agoRemoved TGI black/white defines as those are to be considered as target specific.
ol.sc [Wed, 20 Apr 2011 12:23:27 +0000 (12:23 +0000)]
Removed TGI black/white defines as those are to be considered as target specific.
TODO: Remove them from .inc file too - bit only after the tgi kernel has be adjusted.

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

13 years agoAdded TGI colors (simply based on the conio colors).
ol.sc [Wed, 20 Apr 2011 12:20:33 +0000 (12:20 +0000)]
Added TGI colors (simply based on the conio colors).

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

13 years agoChanges by Greg King:
uz [Sat, 16 Apr 2011 12:28:06 +0000 (12:28 +0000)]
Changes by Greg King:
Made cbm_readdir() report a disk's format-code and more file-access modes.
Added more definitions to <cbm.h> for cbm_readdir().  And, improved the
header's comments.  Added some ASCII-to-PetSCII character-mappings.

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

13 years agoAdded stub for _osmaperrno. Improve uname info. By Stefan Haubenthal.
uz [Sat, 16 Apr 2011 12:15:49 +0000 (12:15 +0000)]
Added stub for _osmaperrno. Improve uname info. By Stefan Haubenthal.

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

13 years agoFix tape header output. Add version info in the header. By Stefan Haubenthal.
uz [Sat, 16 Apr 2011 12:09:28 +0000 (12:09 +0000)]
Fix tape header output. Add version info in the header. By Stefan Haubenthal.

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

13 years agoPatch by groepaz to fix the problem that DEL files would appear as type DIR.
uz [Thu, 7 Apr 2011 20:58:03 +0000 (20:58 +0000)]
Patch by groepaz to fix the problem that DEL files would appear as type DIR.

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

13 years agoNew uploader that can be hiding in top of memory waiting for a BLL-kind of
uz [Wed, 6 Apr 2011 19:54:55 +0000 (19:54 +0000)]
New uploader that can be hiding in top of memory waiting for a BLL-kind of
loadable application over the ComLynx serial port. By Karri Kaksonen.

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

13 years agoMissing files added by Karri Kaksonen.
uz [Wed, 6 Apr 2011 19:51:15 +0000 (19:51 +0000)]
Missing files added by Karri Kaksonen.

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

13 years agoDocs for the serial functions by Karri Kaksonen.
uz [Wed, 6 Apr 2011 19:50:26 +0000 (19:50 +0000)]
Docs for the serial functions by Karri Kaksonen.

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

13 years agoLynx boot stuff split up into several files. Changes by Karri Kaksonen.
uz [Mon, 21 Mar 2011 17:49:03 +0000 (17:49 +0000)]
Lynx boot stuff split up into several files. Changes by Karri Kaksonen.

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

13 years agoImproved and much smaller bootloader by Karri Kaksonen.
uz [Thu, 17 Mar 2011 22:36:09 +0000 (22:36 +0000)]
Improved and much smaller bootloader by Karri Kaksonen.

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

13 years agochange my email addr from cpg@aladdin.de to chris@groessler.org
cpg [Sat, 26 Feb 2011 22:15:24 +0000 (22:15 +0000)]
change my email addr from cpg@aladdin.de to chris@groessler.org

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

13 years agoImproved exec():
ol.sc [Fri, 11 Feb 2011 23:22:26 +0000 (23:22 +0000)]
Improved exec():
- Copy the pathname to $280 for SYS programs
- Make sure 80 column firmware is off (which btw. switches to the normal character set) which should increase program compatibility
Now "only" cmdline support should be left to do.

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

13 years agoAdded MACHID - we'll need it sooner or later...
ol.sc [Fri, 11 Feb 2011 23:15:20 +0000 (23:15 +0000)]
Added MACHID - we'll need it sooner or later...

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

13 years agoFixed an error: The collection for the line infos hasn't been initialized.
uz [Thu, 10 Feb 2011 22:18:24 +0000 (22:18 +0000)]
Fixed an error: The collection for the line infos hasn't been initialized.

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

13 years agofix typos in comments
cpg [Mon, 7 Feb 2011 23:51:18 +0000 (23:51 +0000)]
fix typos in comments

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

13 years agoadd Antic opcodes defines -- contributed by Christian Krüger
cpg [Mon, 7 Feb 2011 23:48:26 +0000 (23:48 +0000)]
add Antic opcodes defines -- contributed by Christian Krüger

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

13 years agoUpdate by Stefan Haubenthal.
uz [Mon, 7 Feb 2011 23:05:21 +0000 (23:05 +0000)]
Update by Stefan Haubenthal.

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

13 years agoInitialize variables to avoid gcc warnings.
uz [Mon, 7 Feb 2011 23:04:10 +0000 (23:04 +0000)]
Initialize variables to avoid gcc warnings.

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

13 years agoAdded first implementation of exec(). No support for commandline parameters so far.
ol.sc [Sun, 6 Feb 2011 22:27:31 +0000 (22:27 +0000)]
Added first implementation of exec(). No support for commandline parameters so far.

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

13 years agoadd Antic opcodes (submitted by Christian Krueger)
cpg [Sun, 6 Feb 2011 20:57:14 +0000 (20:57 +0000)]
add Antic opcodes (submitted by Christian Krueger)

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

13 years agoThe assembler options -l and --listing will now take the name of the listing
uz [Sun, 6 Feb 2011 20:10:19 +0000 (20:10 +0000)]
The assembler options -l and --listing will now take the name of the listing
file as an argument.

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

13 years agoAdded disassembler support for the NMOS 6502 with illegal opcodes.
uz [Sun, 6 Feb 2011 16:04:46 +0000 (16:04 +0000)]
Added disassembler support for the NMOS 6502 with illegal opcodes.

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

13 years agoFixed a bug reported by thefox.
uz [Sun, 6 Feb 2011 14:36:31 +0000 (14:36 +0000)]
Fixed a bug reported by thefox.

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

13 years agoBug correction by Karri Kaksonen.
uz [Sun, 6 Feb 2011 14:34:02 +0000 (14:34 +0000)]
Bug correction by Karri Kaksonen.

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

13 years agoAdded two new global options, NewlineAfterJMP and NewlineAfterRTS.
uz [Sat, 5 Feb 2011 16:03:06 +0000 (16:03 +0000)]
Added two new global options, NewlineAfterJMP and NewlineAfterRTS.

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

13 years agoThe existing global option HEXOFFS and the --hexoffs command line switch
uz [Sat, 5 Feb 2011 15:58:37 +0000 (15:58 +0000)]
The existing global option HEXOFFS and the --hexoffs command line switch
weren't documented.

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

13 years agoRedid the whole line info stuff, because the old data structures weren't able
uz [Thu, 3 Feb 2011 17:08:20 +0000 (17:08 +0000)]
Redid the whole line info stuff, because the old data structures weren't able
to manage the new information.

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

13 years agoRemoved the obsolete mouse module.
uz [Mon, 31 Jan 2011 16:44:12 +0000 (16:44 +0000)]
Removed the obsolete mouse module.

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

13 years agoFixed a bug.
uz [Sun, 30 Jan 2011 14:51:50 +0000 (14:51 +0000)]
Fixed a bug.

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

13 years agoBump version number of generated debug info files.
uz [Sat, 29 Jan 2011 22:19:37 +0000 (22:19 +0000)]
Bump version number of generated debug info files.

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

13 years agoPass type of line info through the object files.
uz [Sat, 29 Jan 2011 22:16:03 +0000 (22:16 +0000)]
Pass type of line info through the object files.

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

13 years agoNew include file for line info definitions shared between assembler, linker
uz [Sat, 29 Jan 2011 22:08:58 +0000 (22:08 +0000)]
New include file for line info definitions shared between assembler, linker
and od65 utility.

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

13 years agoIntroduced constructor to raise the ProDOS 8 file level - and extended the destructor...
ol.sc [Sat, 29 Jan 2011 21:43:26 +0000 (21:43 +0000)]
Introduced constructor to raise the ProDOS 8 file level - and extended the destructor to restore the file level again. This is a prerequisite to allow the upcoming exec() to open a file before the destructors run and continue reading from of it after the destructors have run.

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

13 years agoSet the priority of the main() args constructor to 24 simply be cause most other...
ol.sc [Sat, 29 Jan 2011 21:39:17 +0000 (21:39 +0000)]
Set the priority of the main() args constructor to 24 simply be cause most other targets do - and adjust the priority of the dos detection constructor to stay higher than the main() args constructor.

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

13 years agoThe constructor doesn't have any interaction with other constructors so there seems...
ol.sc [Sat, 29 Jan 2011 21:36:18 +0000 (21:36 +0000)]
The constructor doesn't have any interaction with other constructors so there seems to be no need for a priority at all.

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

13 years agoChanged text of notification.
uz [Sat, 29 Jan 2011 20:30:38 +0000 (20:30 +0000)]
Changed text of notification.

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

13 years agoCreate separate line infos for macros and .repeat statements and other token
uz [Sat, 29 Jan 2011 20:24:44 +0000 (20:24 +0000)]
Create separate line infos for macros and .repeat statements and other token
lists. These are also output as diagnostic in case of an error.

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

13 years agoUse line infos to output more verbose error and warning messages whenever
uz [Sat, 29 Jan 2011 18:43:36 +0000 (18:43 +0000)]
Use line infos to output more verbose error and warning messages whenever
possible.

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

13 years agoBugfix by Karri Kaksonen.
uz [Sat, 29 Jan 2011 17:53:58 +0000 (17:53 +0000)]
Bugfix by Karri Kaksonen.

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

13 years agoFixed an error in the macro versions of the inline functions.
uz [Fri, 28 Jan 2011 16:33:04 +0000 (16:33 +0000)]
Fixed an error in the macro versions of the inline functions.

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

13 years agoSmall fix for debug info output.
uz [Fri, 28 Jan 2011 16:20:39 +0000 (16:20 +0000)]
Small fix for debug info output.

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

13 years agoAdapted to new library format.
uz [Fri, 28 Jan 2011 16:03:55 +0000 (16:03 +0000)]
Adapted to new library format.

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

13 years agoFixed a bug: Wrong variable size trucates data.
uz [Fri, 28 Jan 2011 16:03:41 +0000 (16:03 +0000)]
Fixed a bug: Wrong variable size trucates data.

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

13 years agoChange how data is stored in the library. To simplify things, the index
uz [Fri, 28 Jan 2011 15:42:32 +0000 (15:42 +0000)]
Change how data is stored in the library. To simplify things, the index
(=directory) entry is now shorter, and additional data necessary for checking
in the archiver is not stored in the directory but read from the object file
data in the library.

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

13 years agoNo need to specify explicit paths in #include statements.
uz [Fri, 28 Jan 2011 12:21:48 +0000 (12:21 +0000)]
No need to specify explicit paths in #include statements.

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

13 years agoUse routine from common library instead of separate code.
uz [Fri, 28 Jan 2011 12:14:22 +0000 (12:14 +0000)]
Use routine from common library instead of separate code.

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