]>
git.sur5r.net Git - cc65/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
ol.sc [Fri, 4 Jun 2010 21:32:55 +0000 (21:32 +0000)]
Harmonized comment style.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4714
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Fri, 4 Jun 2010 20:58:40 +0000 (20:58 +0000)]
Adjustment to recent change in ca65 relative include path handling.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4713
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Fri, 4 Jun 2010 20:52:52 +0000 (20:52 +0000)]
Minor optimization.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4712
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 4 Jun 2010 10:50:58 +0000 (10:50 +0000)]
Fix errno/oserror handling.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4711
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 4 Jun 2010 10:30:55 +0000 (10:30 +0000)]
Remove __maperrno symbol, since the function is no longer used and has been
deleted.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4710
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 4 Jun 2010 10:25:53 +0000 (10:25 +0000)]
Change calling convention of cbm_save() to __fastcall__.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4709
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 4 Jun 2010 10:15:44 +0000 (10:15 +0000)]
Save two bytes by a small code change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4708
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Fri, 4 Jun 2010 09:38:35 +0000 (09:38 +0000)]
Save a few bytes and cycles.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4707
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:40:32 +0000 (21:40 +0000)]
Removed maperrno() since it's no longer needed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4706
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:37:27 +0000 (21:37 +0000)]
Use _seterrno instead of assigning to _errno.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4705
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:33:55 +0000 (21:33 +0000)]
No need to import __seterror, since this is done in errno.inc.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4704
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:31:06 +0000 (21:31 +0000)]
Use _errno, not errno.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4703
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:29:28 +0000 (21:29 +0000)]
Call __seterrno and save a few bytes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4702
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:26:52 +0000 (21:26 +0000)]
Call __seterrno instead of assigning to _errno and save a few bytes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4701
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:25:17 +0000 (21:25 +0000)]
Removed the prototype for _seterrno, since it is now provided in errno.h.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4700
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:22:51 +0000 (21:22 +0000)]
Set errno if the stream is in error state. Small code size improvements. Fixed
comment regarding _oserror.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4699
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:20:10 +0000 (21:20 +0000)]
Rewrote parts of the code for better error handling. fileno must set errno and
return -1 in case of an invalid argument, which it didn't until now.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4698
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:16:07 +0000 (21:16 +0000)]
Added messages for EBADF (new) and EUNKNOWN (missing).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4697
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:12:23 +0000 (21:12 +0000)]
Added EBADF since this is required for fileno().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4696
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 21:10:22 +0000 (21:10 +0000)]
Return EUNKNOWN instead of EINVAL if the error code cannot be mapped.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4695
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:46:08 +0000 (20:46 +0000)]
Use _seterrno instead of assigning to _errno to make the code shorter.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4694
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:43:30 +0000 (20:43 +0000)]
Rewrote the code to make it somewhat shorter.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4693
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:27:59 +0000 (20:27 +0000)]
Call _seterror instead of assigning to _errno to make the code somewhat
shorter. Fixed a comment regarding oserror/errno.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4692
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:26:33 +0000 (20:26 +0000)]
Fixed a comment regarding errno/oserror.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4691
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:21:23 +0000 (20:21 +0000)]
Call _seterrno instead of assigning to _errno to make the code shorter.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4690
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:20:01 +0000 (20:20 +0000)]
Don't include errno.h since it is not needed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4689
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:18:43 +0000 (20:18 +0000)]
Use _seterrno to make the code shorter.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4688
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:18:19 +0000 (20:18 +0000)]
Change the prototype for _seterrno to return a char, since the function will
always return zero in A and this can be used in C code to make the code
shorter.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4687
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:12:55 +0000 (20:12 +0000)]
Added a prototype for _seterrno().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4686
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
uz [Thu, 3 Jun 2010 20:03:52 +0000 (20:03 +0000)]
Removed the mapping function called previously by the errno macro. It will be
replaced by a mapping in the functions itself.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4685
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
ol.sc [Thu, 3 Jun 2010 16:47:15 +0000 (16:47 +0000)]
Adjusted Makefile and remarks to the recent cc65 improvements.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4683
b7a2c559 -68d2-44c3-8de9-
860c34a00d81
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
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
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
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
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
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
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
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
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
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