]> git.sur5r.net Git - cc65/log
cc65
14 years agoIgnore some automatically generated files.
uz [Sat, 30 Oct 2010 20:13:26 +0000 (20:13 +0000)]
Ignore some automatically generated files.

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

14 years agoreally use default drive
cpg [Fri, 29 Oct 2010 19:53:45 +0000 (19:53 +0000)]
really use default drive

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

14 years ago__defdev is not dependent on DYNAMIC_DD
cpg [Fri, 29 Oct 2010 19:52:31 +0000 (19:52 +0000)]
__defdev is not dependent on DYNAMIC_DD

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

14 years agofix for files with no extension
cpg [Fri, 29 Oct 2010 19:25:01 +0000 (19:25 +0000)]
fix for files with no extension

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

14 years agoadd Atari version
cpg [Thu, 28 Oct 2010 21:13:52 +0000 (21:13 +0000)]
add Atari version

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

14 years agoadd posixdirent.s by Stefan Haubenthal
cpg [Thu, 28 Oct 2010 21:03:05 +0000 (21:03 +0000)]
add posixdirent.s by Stefan Haubenthal

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

14 years agosome fixes
cpg [Thu, 28 Oct 2010 21:02:09 +0000 (21:02 +0000)]
some fixes

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

14 years agoinitial version by Stefan A. Haubenthal
cpg [Thu, 28 Oct 2010 20:55:18 +0000 (20:55 +0000)]
initial version by Stefan A. Haubenthal

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

14 years agoAdded missing drivers.
uz [Sun, 10 Oct 2010 13:43:41 +0000 (13:43 +0000)]
Added missing drivers.

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

14 years agoAdded CH_ENTER define.
ol.sc [Sat, 2 Oct 2010 21:34:49 +0000 (21:34 +0000)]
Added CH_ENTER define.

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

14 years agoAccording to a recent discussion CH_ENTER should generally *not* be defined based...
ol.sc [Sat, 2 Oct 2010 21:20:25 +0000 (21:20 +0000)]
According to a recent discussion CH_ENTER should generally *not* be defined based on '\n'.

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

14 years agoFix parsing of push/pop so that #pragma warn works without.
uz [Sat, 2 Oct 2010 19:43:18 +0000 (19:43 +0000)]
Fix parsing of push/pop so that #pragma warn works without.

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

14 years agoMake the warning "statement has no effect" switchable.
uz [Sat, 2 Oct 2010 19:32:11 +0000 (19:32 +0000)]
Make the warning "statement has no effect" switchable.

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

14 years agoNow that we reduce the size of the RAM memory area by the stacksize in the linker...
ol.sc [Sat, 2 Oct 2010 10:37:20 +0000 (10:37 +0000)]
Now that we reduce the size of the RAM memory area by the stacksize in the linker configuration we need to add the stacksize to end of the RAM area when setting the initial stack pointer in the startup code.

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

14 years agoUser linker generated symbols for stack placement (like most other targets) instead...
ol.sc [Sat, 2 Oct 2010 10:32:26 +0000 (10:32 +0000)]
User linker generated symbols for stack placement (like most other targets) instead of a hardcoded constant in order to allow control of stack placement via linker configuration.

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

14 years agoExclude (small) stack from RAM memory area (like on most other targets) to make expli...
ol.sc [Sat, 2 Oct 2010 10:20:00 +0000 (10:20 +0000)]
Exclude (small) stack from RAM memory area (like on most other targets) to make explicit that the linker may not use all RAM. If the cc65 parameter stack isn't used at all the __STACKSIZE__ symbol may be overridden on the linker command line with -D __STACKSIZE__=0.

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

14 years agoFixed problem with last change: Static declaration do also set the SC_EXTERN
uz [Tue, 24 Aug 2010 07:28:08 +0000 (07:28 +0000)]
Fixed problem with last change: Static declaration do also set the SC_EXTERN
flag (have to check why).

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

14 years agoAllow initialization of variables declared with "extern".
uz [Mon, 23 Aug 2010 18:18:53 +0000 (18:18 +0000)]
Allow initialization of variables declared with "extern".

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

14 years agoUpdated GEOS TGI driver by Maciej Witkowiak.
uz [Tue, 17 Aug 2010 21:14:30 +0000 (21:14 +0000)]
Updated GEOS TGI driver by Maciej Witkowiak.

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

14 years agouse ReadVar to read the type. This doesn't make a difference for now but will
uz [Tue, 17 Aug 2010 21:04:28 +0000 (21:04 +0000)]
use ReadVar to read the type. This doesn't make a difference for now but will
come handy later. Add output for all of the symbol flags from symdefs.h.

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

14 years agoInclude information about the type of the symbol in the flags written to the
uz [Tue, 17 Aug 2010 20:54:02 +0000 (20:54 +0000)]
Include information about the type of the symbol in the flags written to the
object file.

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

14 years agoRenamed the defines in symdefs.h to something more meaningful. They were named
uz [Tue, 17 Aug 2010 20:47:27 +0000 (20:47 +0000)]
Renamed the defines in symdefs.h to something more meaningful. They were named
EXP_xxx for historic reasons, but SYM_ does make much more sense now.

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

14 years agoDebug symbolid for each symbol that goes into the debug symbol output.
uz [Tue, 17 Aug 2010 20:11:27 +0000 (20:11 +0000)]
Debug symbolid for each symbol that goes into the debug symbol output.

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

14 years agoSF_INDEXED is no longer needed.
uz [Tue, 17 Aug 2010 20:02:30 +0000 (20:02 +0000)]
SF_INDEXED is no longer needed.

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

14 years agoRename symbol index => import id because that's what it really is.
uz [Tue, 17 Aug 2010 20:01:54 +0000 (20:01 +0000)]
Rename symbol index => import id because that's what it really is.

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

14 years agoMaintain some additional information for scopes. Write a dummy scope section
uz [Tue, 17 Aug 2010 16:58:41 +0000 (16:58 +0000)]
Maintain some additional information for scopes. Write a dummy scope section
into the object file.

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

14 years agoBumped the year in the copyright notice. It hasn't changed for five years:-)
uz [Wed, 11 Aug 2010 19:43:48 +0000 (19:43 +0000)]
Bumped the year in the copyright notice. It hasn't changed for five years:-)

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

14 years agoNew function cc65_symbol_inrange. Fixed an error in cc65_symbol_byname.
uz [Wed, 11 Aug 2010 19:31:30 +0000 (19:31 +0000)]
New function cc65_symbol_inrange. Fixed an error in cc65_symbol_byname.
Restructured the dbgtest.c source.

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

14 years agoFirst support for symbols - mostly untested.
uz [Mon, 9 Aug 2010 22:05:44 +0000 (22:05 +0000)]
First support for symbols - mostly untested.

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

14 years agoStart adding (limited) support for symbols.
uz [Mon, 9 Aug 2010 21:29:15 +0000 (21:29 +0000)]
Start adding (limited) support for symbols.

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

14 years agoChange output for symbols in the debug info file to match that of the other
uz [Mon, 9 Aug 2010 21:28:47 +0000 (21:28 +0000)]
Change output for symbols in the debug info file to match that of the other
lines. The name is now preceeded by "name=".

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

14 years agoMove the collection containing all line infos into the DbgInfo struct and keep
uz [Mon, 9 Aug 2010 20:54:12 +0000 (20:54 +0000)]
Move the collection containing all line infos into the DbgInfo struct and keep
it there. It will be used to search for line info by address in some future
version, which is faster than searching through all the source files in a
linear fashion.

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

14 years agoAdd 'extern "C"' so the module may be used from C++ sources.
uz [Mon, 9 Aug 2010 15:55:49 +0000 (15:55 +0000)]
Add 'extern "C"' so the module may be used from C++ sources.

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

14 years agoAdded some more checks and initialization.
uz [Mon, 9 Aug 2010 15:52:23 +0000 (15:52 +0000)]
Added some more checks and initialization.

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

14 years agoFixed a C99ism.
uz [Mon, 9 Aug 2010 05:47:22 +0000 (05:47 +0000)]
Fixed a C99ism.

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

14 years agoMajor changes: Names of structures, fields and subroutine names have changed.
uz [Sun, 8 Aug 2010 20:38:15 +0000 (20:38 +0000)]
Major changes: Names of structures, fields and subroutine names have changed.
Support for additional segment info and file offsets for an address. The
version number is now mandatory and checked to avoid problems with old
formats.

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

14 years agoAnother format change: Record the output file and offset for each segment
uz [Sun, 8 Aug 2010 20:32:13 +0000 (20:32 +0000)]
Another format change: Record the output file and offset for each segment
written to the output. Make this information available in the debug info file.

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

14 years agoAllow access to segment information.
uz [Sun, 8 Aug 2010 15:43:13 +0000 (15:43 +0000)]
Allow access to segment information.

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

14 years agoMore collection usage. This has also removed the need for the MemListNode
uz [Sun, 8 Aug 2010 15:35:56 +0000 (15:35 +0000)]
More collection usage. This has also removed the need for the MemListNode
structure.

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

14 years agoMore collection usage.
uz [Sun, 8 Aug 2010 15:23:22 +0000 (15:23 +0000)]
More collection usage.

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

14 years agoReplace more linked lists by collections.
uz [Sun, 8 Aug 2010 15:13:53 +0000 (15:13 +0000)]
Replace more linked lists by collections.

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

14 years agoUse collections instead of linked lists to simplify things.
uz [Sun, 8 Aug 2010 15:03:58 +0000 (15:03 +0000)]
Use collections instead of linked lists to simplify things.

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

14 years agoChange handling of errno/seterrno to new behaviour. By Maciej Witkowiak.
uz [Sat, 7 Aug 2010 18:22:37 +0000 (18:22 +0000)]
Change handling of errno/seterrno to new behaviour. By Maciej Witkowiak.

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

14 years agoSome more test and example code.
uz [Sat, 7 Aug 2010 13:40:16 +0000 (13:40 +0000)]
Some more test and example code.

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

14 years agoImproved info API.
uz [Sat, 7 Aug 2010 13:25:09 +0000 (13:25 +0000)]
Improved info API.

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

14 years agoSome changes in debug info generation.
uz [Sat, 7 Aug 2010 12:46:12 +0000 (12:46 +0000)]
Some changes in debug info generation.

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

14 years agoAdd some code that tries to skip unknown keywords that may have been added by
uz [Fri, 6 Aug 2010 09:17:43 +0000 (09:17 +0000)]
Add some code that tries to skip unknown keywords that may have been added by
later version of the debug info.

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

14 years agoThe stuff will not link with Watcom because of vsnprintf, but a makefile is
uz [Thu, 5 Aug 2010 21:16:07 +0000 (21:16 +0000)]
The stuff will not link with Watcom because of vsnprintf, but a makefile is
still useful for testing.

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

14 years agoSeveral fixes detected when using another C compiler.
uz [Thu, 5 Aug 2010 21:15:00 +0000 (21:15 +0000)]
Several fixes detected when using another C compiler.

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

14 years agoFirst working version with complete API for line information.
uz [Thu, 5 Aug 2010 21:00:36 +0000 (21:00 +0000)]
First working version with complete API for line information.

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

14 years agoOutput version information into the debug file.
uz [Thu, 5 Aug 2010 20:41:27 +0000 (20:41 +0000)]
Output version information into the debug file.

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

14 years agoCorrected indentation - no code change.
uz [Thu, 5 Aug 2010 19:34:25 +0000 (19:34 +0000)]
Corrected indentation - no code change.

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

14 years agoFix relocation of line infos.
uz [Thu, 5 Aug 2010 19:34:03 +0000 (19:34 +0000)]
Fix relocation of line infos.

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

14 years agoDon't output multiple code ranges per line, since this is harder to parse.
uz [Tue, 3 Aug 2010 19:00:14 +0000 (19:00 +0000)]
Don't output multiple code ranges per line, since this is harder to parse.

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

14 years agoFirst version of a module that reads debug files generated by ld65.
uz [Tue, 3 Aug 2010 18:46:50 +0000 (18:46 +0000)]
First version of a module that reads debug files generated by ld65.

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

14 years agoBe sure to generate line info for all segments.
uz [Sun, 1 Aug 2010 13:52:06 +0000 (13:52 +0000)]
Be sure to generate line info for all segments.

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

14 years agoChanged a comment
uz [Sun, 1 Aug 2010 13:48:32 +0000 (13:48 +0000)]
Changed a comment

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

14 years agoFixed an error in the macro version of HasObjData().
uz [Sat, 31 Jul 2010 12:37:14 +0000 (12:37 +0000)]
Fixed an error in the macro version of HasObjData().

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

14 years agoFixed an error: Some of the collections weren't initialized.
uz [Sat, 31 Jul 2010 09:44:25 +0000 (09:44 +0000)]
Fixed an error: Some of the collections weren't initialized.

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

14 years agoHandle file position information for fragments differently: Instead of
uz [Fri, 30 Jul 2010 22:44:09 +0000 (22:44 +0000)]
Handle file position information for fragments differently: Instead of
handling them separately (which has historic reasons), generate real line info
information. This means that line info for the assembler source will be part
of the debug info file.

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

14 years agoUse collections in the object file structure instead of managing the items
uz [Fri, 30 Jul 2010 20:58:51 +0000 (20:58 +0000)]
Use collections in the object file structure instead of managing the items
manually.

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

14 years agoAdded a new function CollGrow.
uz [Fri, 30 Jul 2010 20:58:09 +0000 (20:58 +0000)]
Added a new function CollGrow.

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

14 years agoAdded documentation for the od65 utility.
uz [Fri, 30 Jul 2010 19:33:53 +0000 (19:33 +0000)]
Added documentation for the od65 utility.

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

14 years agoMake .DEF, .REF and friends also work with cheap local symbols.
uz [Mon, 26 Jul 2010 17:28:34 +0000 (17:28 +0000)]
Make .DEF, .REF and friends also work with cheap local symbols.

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

14 years agoMinor formatting change.
ol.sc [Tue, 20 Jul 2010 12:14:12 +0000 (12:14 +0000)]
Minor formatting change.

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

14 years agoMaybe this looks better when rendered to HTML ?
ol.sc [Sun, 18 Jul 2010 10:37:55 +0000 (10:37 +0000)]
Maybe this looks better when rendered to HTML ?

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

14 years agoFixed typo.
ol.sc [Sun, 18 Jul 2010 10:22:55 +0000 (10:22 +0000)]
Fixed typo.

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

14 years agoRead number of total blocks from ProDOS 8 volume directory header - and fall back...
ol.sc [Sat, 17 Jul 2010 19:16:25 +0000 (19:16 +0000)]
Read number of total blocks from ProDOS 8 volume directory header - and fall  back on the constant 280 only for non-ProDOS 8 disks.

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

14 years agoMade use of the new common __directerrno and __mappederrno function.
ol.sc [Sat, 17 Jul 2010 19:13:07 +0000 (19:13 +0000)]
Made use of the new common __directerrno and __mappederrno function.

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

14 years agoUse MLI error names from ProDOS 8 Technical Reference Manual Quick Reference Card...
ol.sc [Sat, 17 Jul 2010 19:11:51 +0000 (19:11 +0000)]
Use MLI error names from ProDOS 8 Technical Reference Manual Quick Reference Card (and not Section 4.8 !).

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

14 years agoSaved one byte.
ol.sc [Sat, 17 Jul 2010 19:07:57 +0000 (19:07 +0000)]
Saved one byte.

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

14 years agoRemoved the rs232 module from the makefile, since it will no longer compile.
uz [Thu, 15 Jul 2010 20:58:46 +0000 (20:58 +0000)]
Removed the rs232 module from the makefile, since it will no longer compile.

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

14 years agoAnother minor improvement in compares.
uz [Sun, 11 Jul 2010 21:53:48 +0000 (21:53 +0000)]
Another minor improvement in compares.

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

14 years agoRemoved the header files for the rs232 API since it has been replaced by
uz [Sun, 11 Jul 2010 16:43:31 +0000 (16:43 +0000)]
Removed the header files for the rs232 API since it has been replaced by
loadable serial drivers and serial.h a long time ago.

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

14 years agoFixed and improved the code for compares. Before, compares of chars to a
uz [Sun, 11 Jul 2010 16:11:45 +0000 (16:11 +0000)]
Fixed and improved the code for compares. Before, compares of chars to a
constant where sometimes passed down to the code generator in a way that
caused wrong code to be generated.

This change may go into 2.13 after some testing.

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

14 years agoThis is part of adding getopt() lately but wasn't checked in together with the
uz [Sat, 10 Jul 2010 20:49:06 +0000 (20:49 +0000)]
This is part of adding getopt() lately but wasn't checked in together with the
other changes.

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

14 years agoFixed an error: A function wasn't converted to a void pointer automatically by
uz [Sat, 10 Jul 2010 20:48:05 +0000 (20:48 +0000)]
Fixed an error: A function wasn't converted to a void pointer automatically by
the compiler.

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

14 years agoA negative token count for .LEFT was incorrectly adjusted to 1, not to 0.
uz [Sat, 10 Jul 2010 12:32:05 +0000 (12:32 +0000)]
A negative token count for .LEFT was incorrectly adjusted to 1, not to 0.

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

14 years agoAdded getopt. The implementation is based on a public domain source,
uz [Sat, 10 Jul 2010 11:28:02 +0000 (11:28 +0000)]
Added getopt. The implementation is based on a public domain source,
originally written by Henry Spencer and supplied by Harald Arnesen.

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

14 years agoAdded a paragraph about Oricutron, an Emulator for the Oric Atmos. By Stefan
uz [Sat, 10 Jul 2010 10:34:12 +0000 (10:34 +0000)]
Added a paragraph about Oricutron, an Emulator for the Oric Atmos. By Stefan
Haubenthal.

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

14 years agoRemoved useless high byte loads of the error code.
uz [Thu, 8 Jul 2010 15:00:15 +0000 (15:00 +0000)]
Removed useless high byte loads of the error code.

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

14 years agoAdjusted parameter handling to match prototype.
ol.sc [Wed, 7 Jul 2010 22:28:14 +0000 (22:28 +0000)]
Adjusted parameter handling to match prototype.

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

14 years agoadapt to new oserror/errno handling
cpg [Tue, 6 Jul 2010 22:43:19 +0000 (22:43 +0000)]
adapt to new oserror/errno handling

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

14 years agoFixed sources to use the new __mappederrno and __directerrno functions, and
uz [Sat, 26 Jun 2010 11:28:44 +0000 (11:28 +0000)]
Fixed sources to use the new __mappederrno and __directerrno functions, and
made handling of _oserror and errno consistent.

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

14 years agoCorrected the list of macros in the macro packages.
uz [Sat, 26 Jun 2010 11:19:32 +0000 (11:19 +0000)]
Corrected the list of macros in the macro packages.

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

14 years agomisc updates
cpg [Sat, 26 Jun 2010 00:20:44 +0000 (00:20 +0000)]
misc updates

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

14 years agoadapt to new segments; some other text changes
cpg [Fri, 25 Jun 2010 23:47:37 +0000 (23:47 +0000)]
adapt to new segments; some other text changes

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

14 years agoabort build if $(AR) reports an error
cpg [Fri, 25 Jun 2010 22:16:43 +0000 (22:16 +0000)]
abort build if $(AR) reports an error

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

14 years agoWhitespace only change.
ol.sc [Thu, 17 Jun 2010 19:13:43 +0000 (19:13 +0000)]
Whitespace only change.

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

14 years agodio_open():
ol.sc [Wed, 16 Jun 2010 21:36:50 +0000 (21:36 +0000)]
dio_open():
- Use ProDOS 8 unit number as parameter.
- Don't access the drive, just check its presence.

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

14 years agoUse MLI error names from ProDOS 8 Technical Reference Manual (and ProDOS 8 Technical...
ol.sc [Wed, 16 Jun 2010 21:21:01 +0000 (21:21 +0000)]
Use MLI error names from ProDOS 8 Technical Reference Manual (and ProDOS 8 Technical Note #21).

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

14 years ago- Use ProDOS 8 unit number as parameter.
ol.sc [Wed, 16 Jun 2010 21:19:47 +0000 (21:19 +0000)]
- Use ProDOS 8 unit number as parameter.
- Don't access the drive, just check its presence.

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

14 years agoUse MLI error names from ProDOS 8 Technical Reference Manual (and ProDOS 8 Technical...
ol.sc [Wed, 16 Jun 2010 21:16:14 +0000 (21:16 +0000)]
Use MLI error names from ProDOS 8 Technical Reference Manual (and ProDOS 8 Technical Note #21).

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

14 years agoClear __oserror on success.
ol.sc [Tue, 15 Jun 2010 21:44:18 +0000 (21:44 +0000)]
Clear __oserror on success.

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

14 years agoMake use of the new common __directerrno and __mappederrno function.
ol.sc [Tue, 15 Jun 2010 20:38:05 +0000 (20:38 +0000)]
Make use of the new common __directerrno and __mappederrno function.

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

14 years agoNo need to import __oserror.
uz [Thu, 10 Jun 2010 19:14:42 +0000 (19:14 +0000)]
No need to import __oserror.

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

14 years agoRenamed oserrcheck to __mappederrno. Added an additional function named
uz [Thu, 10 Jun 2010 18:10:53 +0000 (18:10 +0000)]
Renamed oserrcheck to __mappederrno. Added an additional function named
__directerrno and moved both to errno.s. Changed several sources to use these
functions. Needs testing.

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

14 years agoMinor comment style adjustment.
ol.sc [Mon, 7 Jun 2010 19:20:10 +0000 (19:20 +0000)]
Minor comment style adjustment.

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

14 years agoRemoved a comment that was no longer correct.
uz [Sun, 6 Jun 2010 14:31:24 +0000 (14:31 +0000)]
Removed a comment that was no longer correct.

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

14 years agoDIO functions always set _oserror.
ol.sc [Fri, 4 Jun 2010 21:41:22 +0000 (21:41 +0000)]
DIO functions always set _oserror.

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