]> git.sur5r.net Git - cc65/log
cc65
13 years agoThe line counter got confused for lines with more than 256 chars. Removed the
uz [Thu, 7 Jul 2011 20:07:29 +0000 (20:07 +0000)]
The line counter got confused for lines with more than 256 chars. Removed the
restriction alltogether, so lines with arbitrary length should be handled
correctly. Not that it is of much use for an assembler, but this has really
been a somewhat ancient limitation.

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

13 years agoFixes for program arguments and TAP header by Stefan Haubenthal.
uz [Sun, 3 Jul 2011 13:23:07 +0000 (13:23 +0000)]
Fixes for program arguments and TAP header by Stefan Haubenthal.

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

13 years agoInitialize variables to avoid compiler warnings.
uz [Sun, 3 Jul 2011 12:24:54 +0000 (12:24 +0000)]
Initialize variables to avoid compiler warnings.

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

13 years agoFixed a bad styled sentence.
uz [Sat, 2 Jul 2011 20:54:39 +0000 (20:54 +0000)]
Fixed a bad styled sentence.

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

13 years agoFixed order of rules, so not only the tgi driver gets built.
uz [Wed, 22 Jun 2011 08:19:59 +0000 (08:19 +0000)]
Fixed order of rules, so not only the tgi driver gets built.

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

13 years agoNES character mode TGI driver. By Stefan Haubenthal.
uz [Tue, 21 Jun 2011 20:34:18 +0000 (20:34 +0000)]
NES character mode TGI driver. By Stefan Haubenthal.

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

13 years agoRemoved an unused function.
uz [Fri, 17 Jun 2011 19:58:53 +0000 (19:58 +0000)]
Removed an unused function.

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

13 years agoFix it's -> its where applicable. (Stefan Haubenthal).
uz [Fri, 17 Jun 2011 18:56:55 +0000 (18:56 +0000)]
Fix it's -> its where applicable. (Stefan Haubenthal).

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

13 years agoChange .CONDES -> .INTERRUPTOR (Stefan Haubenthal).
uz [Fri, 17 Jun 2011 18:56:27 +0000 (18:56 +0000)]
Change .CONDES -> .INTERRUPTOR (Stefan Haubenthal).

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

13 years agoRead and allow access to the segment for (segment based) symbols.
uz [Tue, 14 Jun 2011 21:18:44 +0000 (21:18 +0000)]
Read and allow access to the segment for (segment based) symbols.

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

13 years agoFor segment based symbols, add information about the segment to the debug info.
uz [Tue, 14 Jun 2011 19:25:50 +0000 (19:25 +0000)]
For segment based symbols, add information about the segment to the debug info.

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

13 years agoMerge duplicate file entries (same name, size and timestamp).
uz [Tue, 14 Jun 2011 18:26:22 +0000 (18:26 +0000)]
Merge duplicate file entries (same name, size and timestamp).

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

13 years agoAccept a file attribute for symbols but don't do anything with it for now.
uz [Tue, 14 Jun 2011 16:45:48 +0000 (16:45 +0000)]
Accept a file attribute for symbols but don't do anything with it for now.

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

13 years agoAllow to leave of the end address of a range if it is identical to the start
uz [Mon, 13 Jun 2011 21:43:26 +0000 (21:43 +0000)]
Allow to leave of the end address of a range if it is identical to the start
address. Currently unused.

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

13 years agoAccept a segment attribute for symbols, but don't do anything with it for now.
uz [Mon, 13 Jun 2011 21:16:40 +0000 (21:16 +0000)]
Accept a segment attribute for symbols, but don't do anything with it for now.

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

13 years agoMark the symbol that is the name of a scope with the size of that scope
uz [Mon, 13 Jun 2011 18:43:50 +0000 (18:43 +0000)]
Mark the symbol that is the name of a scope with the size of that scope
(previously only the scope itself had that size).
Pass the size of symbols through the object file to the linker. Bump the
object file version and adjust object file reading tools (od65, ar65) to this
change.
Read the size in the linker and output it in the debug info.
Bump the minor version number of the debug info. Read the size and allow to
access it via the API. Do better version checking for the debug info and try
to be smarter when encountering unknown keywords to improve support for newer
minor versions.

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

13 years agoAdded docs for interruptor support. By Stefan Haubenthal.
uz [Mon, 13 Jun 2011 17:25:36 +0000 (17:25 +0000)]
Added docs for interruptor support. By Stefan Haubenthal.

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

13 years agointerruptor support by Stefan Haubenthal
cpg [Mon, 13 Jun 2011 16:42:45 +0000 (16:42 +0000)]
interruptor support by Stefan Haubenthal

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

13 years agoUse slightly optimized character translation settings for the CBM machines.
uz [Mon, 13 Jun 2011 12:13:08 +0000 (12:13 +0000)]
Use slightly optimized character translation settings for the CBM machines.
Suggested by Greg King.

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

13 years agoFix/workaround for a problem with nested macros.
uz [Mon, 13 Jun 2011 10:03:26 +0000 (10:03 +0000)]
Fix/workaround for a problem with nested macros.

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

13 years agoFixed the same problem as in the last change for the final token of .define
uz [Mon, 13 Jun 2011 08:55:48 +0000 (08:55 +0000)]
Fixed the same problem as in the last change for the final token of .define
style macros.

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

13 years agoFix wrong line info sometimes output for macros: When macro parameters were
uz [Mon, 13 Jun 2011 08:53:41 +0000 (08:53 +0000)]
Fix wrong line info sometimes output for macros: When macro parameters were
expanded, the line info came from the parameter replacement list, but was
marked as coming from the macro. Now parameter replacement lists don't change
the line info.

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

13 years agoFinished implemenation of commands to delete macros. Added the new commands to
uz [Sun, 12 Jun 2011 21:29:07 +0000 (21:29 +0000)]
Finished implemenation of commands to delete macros. Added the new commands to
the docs.

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

13 years agoFirst implementation of .UNDEF for deleting a macro.
uz [Sat, 11 Jun 2011 22:18:48 +0000 (22:18 +0000)]
First implementation of .UNDEF for deleting a macro.

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

13 years agoAdded routines to remove an entry from the hash table.
uz [Sat, 11 Jun 2011 18:17:54 +0000 (18:17 +0000)]
Added routines to remove an entry from the hash table.

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

13 years agoFixed an error: An .ELSE without an .IF caused a null pointer dereference.
uz [Thu, 9 Jun 2011 11:27:33 +0000 (11:27 +0000)]
Fixed an error: An .ELSE without an .IF caused a null pointer dereference.

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

13 years agoImprove the performance of the routine that determines the overall .IF
uz [Thu, 9 Jun 2011 11:23:37 +0000 (11:23 +0000)]
Improve the performance of the routine that determines the overall .IF
condition.

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

13 years agoAdd recursive scanning for .define style macros: Replacement using .define is
uz [Wed, 8 Jun 2011 21:09:40 +0000 (21:09 +0000)]
Add recursive scanning for .define style macros: Replacement using .define is
done not only when the macro is parsed, but also when it is expanded.

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

13 years agoFixed a problem: Removing duplicate file entries (entries with the same name)
uz [Wed, 8 Jun 2011 20:53:29 +0000 (20:53 +0000)]
Fixed a problem: Removing duplicate file entries (entries with the same name)
isn't allowed, since these entries may be referenced. Since we must be able to
handle duplicate names anyway (they may be old/new versions of one file), we
can also have duplicates in general. Cleanup the list using time stamps and
sizes before returning it to the caller.

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

13 years agoFixed an error: The amount of fill bytes for a section was declared as an
uz [Wed, 8 Jun 2011 18:33:34 +0000 (18:33 +0000)]
Fixed an error: The amount of fill bytes for a section was declared as an
unsigned char, so larger values got truncated making alignments larger than
$100 unreliable.

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

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