]> git.sur5r.net Git - cc65/log
cc65
12 years agoAdded declarations for target-specific static drivers being part of the C library.
ol.sc [Wed, 7 Nov 2012 23:20:58 +0000 (23:20 +0000)]
Added declarations for target-specific static drivers being part of the C library.

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

12 years agoMinor adjustment.
ol.sc [Wed, 7 Nov 2012 22:34:08 +0000 (22:34 +0000)]
Minor adjustment.

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

12 years agoFirst try of documenting static drivers.
ol.sc [Wed, 7 Nov 2012 19:54:07 +0000 (19:54 +0000)]
First try of documenting static drivers.

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

12 years agoRearrange the code to avoid a warning from the Watcom compiler.
uz [Tue, 6 Nov 2012 20:41:02 +0000 (20:41 +0000)]
Rearrange the code to avoid a warning from the Watcom compiler.

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

12 years agoAllow to map characters to code zero with .CHARMAP.
uz [Tue, 6 Nov 2012 20:36:45 +0000 (20:36 +0000)]
Allow to map characters to code zero with .CHARMAP.

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

12 years agoRemoved the unused function TgtTranslateStr.
uz [Tue, 6 Nov 2012 20:32:09 +0000 (20:32 +0000)]
Removed the unused function TgtTranslateStr.

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

12 years agoAdd -d (debug mode) to the assembler options. In studyexpr, use the debug
uz [Tue, 6 Nov 2012 20:24:44 +0000 (20:24 +0000)]
Add -d (debug mode) to the assembler options. In studyexpr, use the debug
flag, not the verbose flag to decide if the studied expression should be
output.

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

12 years agoAdd quadrant optimisation
karri [Tue, 6 Nov 2012 06:33:17 +0000 (06:33 +0000)]
Add quadrant optimisation

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

12 years agoAdd anchor point support
karri [Tue, 6 Nov 2012 06:24:50 +0000 (06:24 +0000)]
Add anchor point support

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

12 years agoAdd Lynx documentation to sp65
karri [Tue, 6 Nov 2012 06:24:17 +0000 (06:24 +0000)]
Add Lynx documentation to sp65

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

12 years agoAdd support for 4 quadrants
karri [Tue, 6 Nov 2012 04:49:34 +0000 (04:49 +0000)]
Add support for 4 quadrants

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

12 years agoFix two minor issues. By Stefan Haubenthal.
uz [Mon, 5 Nov 2012 23:03:22 +0000 (23:03 +0000)]
Fix two minor issues. By Stefan Haubenthal.

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

12 years agoAdded option to build samples with statically linked drivers - and have the targets...
ol.sc [Sun, 4 Nov 2012 22:01:51 +0000 (22:01 +0000)]
Added option to build samples with statically linked drivers - and have the targets use it by default which don't support dynamically loaded drivers.

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

12 years agoConsistently use conio (instead of mixing with stdio).
ol.sc [Sun, 4 Nov 2012 21:10:24 +0000 (21:10 +0000)]
Consistently use conio (instead of mixing with stdio).

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

12 years agoUse array type declaration to avoid &-operator.
ol.sc [Sun, 4 Nov 2012 20:31:23 +0000 (20:31 +0000)]
Use array type declaration to avoid &-operator.

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

12 years agoUse array type declaration to avoid &-operator.
ol.sc [Sun, 4 Nov 2012 20:23:50 +0000 (20:23 +0000)]
Use array type declaration to avoid &-operator.

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

12 years agoUse the new declarations from the zeropage include file. In interrupt handlers
uz [Sun, 4 Nov 2012 15:23:05 +0000 (15:23 +0000)]
Use the new declarations from the zeropage include file. In interrupt handlers
that call C code, we don't need to save the register bank, because the C code
will save it, when needed.

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

12 years agoChange imports from "import" to "global", so the file can be used from
uz [Sun, 4 Nov 2012 13:54:06 +0000 (13:54 +0000)]
Change imports from "import" to "global", so the file can be used from
zeropage.s

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

12 years agoAdd some more definitions for the zero page variables used by the compiler.
uz [Sun, 4 Nov 2012 13:52:41 +0000 (13:52 +0000)]
Add some more definitions for the zero page variables used by the compiler.

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

12 years agoSince there is now line info with type ASM and a count not equal to zero, the
uz [Sun, 4 Nov 2012 12:58:17 +0000 (12:58 +0000)]
Since there is now line info with type ASM and a count not equal to zero, the
search for the toplevel line info had to be changed slightly.

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

12 years agoFixed a problem in line info generation: Recorded token lists emitted the
uz [Sun, 4 Nov 2012 12:57:34 +0000 (12:57 +0000)]
Fixed a problem in line info generation: Recorded token lists emitted the
tokens using the standard ASM line info, overwriting the existing one from the
real source line. Since this info was lost, and couldn't be recovered, the
original source location was omitted in error messages.

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

12 years agoOutput notifications for line info from macro parameters in case of
uz [Sun, 4 Nov 2012 12:36:00 +0000 (12:36 +0000)]
Output notifications for line info from macro parameters in case of
errors/warnings.

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

12 years agoAdd line info for macro parameters.
uz [Sun, 4 Nov 2012 12:35:20 +0000 (12:35 +0000)]
Add line info for macro parameters.

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

12 years agoHave the callirq module export __CALLIRQ__ and changed all config files so
uz [Sat, 3 Nov 2012 21:59:15 +0000 (21:59 +0000)]
Have the callirq module export __CALLIRQ__ and changed all config files so
this symbol is a forced import for all interruptors.

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

12 years agoDocument the new IMPORT attribute for the FEATURES/CONDES section.
uz [Sat, 3 Nov 2012 21:38:00 +0000 (21:38 +0000)]
Document the new IMPORT attribute for the FEATURES/CONDES section.

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

12 years agoAdded a new attribute IMPORT to the CONDES definition of the FEATURES section.
uz [Sat, 3 Nov 2012 21:37:19 +0000 (21:37 +0000)]
Added a new attribute IMPORT to the CONDES definition of the FEATURES section.
If this attribute is defined, an import for the given symbol is added to the
module that contains the condes declaraction. Using this feature, it is
possible to force linkage of a module that contains an export for the symbol.

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

12 years agoAdd end of sprite byte
karri [Sat, 3 Nov 2012 20:13:25 +0000 (20:13 +0000)]
Add end of sprite byte

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

12 years agoFirst quadrant literal sprite working
karri [Sat, 3 Nov 2012 17:25:01 +0000 (17:25 +0000)]
First quadrant literal sprite working

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

12 years agoFix conflict in names
karri [Fri, 2 Nov 2012 19:39:38 +0000 (19:39 +0000)]
Fix conflict in names

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

12 years agoRemoved reference to old rs232 framework.
ol.sc [Thu, 1 Nov 2012 20:43:28 +0000 (20:43 +0000)]
Removed reference to old rs232 framework.

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

12 years agoAdjusted documentation to static drivers as part of the C library.
ol.sc [Thu, 1 Nov 2012 20:35:00 +0000 (20:35 +0000)]
Adjusted documentation to static drivers as part of the C library.

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

12 years agoAdjusted documentation to static drivers as part of the C library.
ol.sc [Thu, 1 Nov 2012 20:27:12 +0000 (20:27 +0000)]
Adjusted documentation to static drivers as part of the C library.

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

12 years agoRefer to recently static drivers recently added to the C library and harmonized typin...
ol.sc [Thu, 1 Nov 2012 20:25:23 +0000 (20:25 +0000)]
Refer to recently static drivers recently added to the C library and harmonized typing of static driver addresses with recent additions of static standard drivers to header files.

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

12 years agoHarmozined typing of static driver address with recent additions of static standard...
ol.sc [Thu, 1 Nov 2012 20:23:15 +0000 (20:23 +0000)]
Harmozined typing of static driver address with recent additions of static standard drivers to header files.

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

12 years agoIntroduced static standard drivers.
ol.sc [Thu, 1 Nov 2012 19:53:47 +0000 (19:53 +0000)]
Introduced static standard drivers.

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

12 years agoAdded missing standard driver definitions.
ol.sc [Thu, 1 Nov 2012 15:58:27 +0000 (15:58 +0000)]
Added missing standard driver definitions.

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

12 years agoFixed typo.
ol.sc [Wed, 31 Oct 2012 23:39:58 +0000 (23:39 +0000)]
Fixed typo.

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

12 years agoNormalized coding style.
ol.sc [Mon, 29 Oct 2012 20:28:10 +0000 (20:28 +0000)]
Normalized coding style.

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

12 years agoConvert dynamically loadable drivers into statically linkable drivers and add them...
ol.sc [Mon, 29 Oct 2012 20:26:26 +0000 (20:26 +0000)]
Convert dynamically loadable drivers into statically linkable drivers and add them to the target libraries.

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

12 years agoUse O65OPT_FILENAME to place the filename of the output file into generated
uz [Sun, 28 Oct 2012 19:31:24 +0000 (19:31 +0000)]
Use O65OPT_FILENAME to place the filename of the output file into generated
o65 modules.

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

12 years agoOptCmp3 removed a compare to zero instruction preceeded by a load despite the
uz [Sun, 28 Oct 2012 19:04:09 +0000 (19:04 +0000)]
OptCmp3 removed a compare to zero instruction preceeded by a load despite the
fact that the carry flag (which is set by the compare but not by the load) had
been used later.

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

12 years agoMake the old "AllocNew" flag for symbols an enum and add an additional flag
uz [Sat, 27 Oct 2012 19:50:49 +0000 (19:50 +0000)]
Make the old "AllocNew" flag for symbols an enum and add an additional flag
that allows to lookup a symbol without any flags added to it.

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

12 years agoMinor code optimization.
uz [Sat, 27 Oct 2012 19:32:42 +0000 (19:32 +0000)]
Minor code optimization.

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

12 years agoThe message "Dropping x additional line infos" had been displayed even if
uz [Sat, 27 Oct 2012 19:16:35 +0000 (19:16 +0000)]
The message "Dropping x additional line infos" had been displayed even if
there weren't any more line infos to display, because they had the wrong type.

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

12 years agoFixed a problem with the last change: Sym wasn't always NULL when it should
uz [Sat, 27 Oct 2012 15:47:49 +0000 (15:47 +0000)]
Fixed a problem with the last change: Sym wasn't always NULL when it should
have been.

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

12 years agoFixed a problem reported by thefox: A symbol reference with an explicit scope
uz [Sat, 27 Oct 2012 11:49:37 +0000 (11:49 +0000)]
Fixed a problem reported by thefox: A symbol reference with an explicit scope
specification that is used when the scope is already closed, has be made a
trampoline symbol later, referencing a symbol outside of the scope explicit
specified.

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

12 years agoPalette updated
karri [Fri, 26 Oct 2012 10:18:45 +0000 (10:18 +0000)]
Palette updated

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

12 years agoFine tune palette
karri [Fri, 26 Oct 2012 09:05:27 +0000 (09:05 +0000)]
Fine tune palette

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

12 years ago- Introduced Apple GEOS specific key codes.
ol.sc [Thu, 25 Oct 2012 20:08:18 +0000 (20:08 +0000)]
- Introduced Apple GEOS specific key codes.
- Reorganized color defines.
- Changed GEOS 64/128 'enter' key code from 10 to 13 (I've no idea how this could have been wrong but but at least VICE delivers 13).

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

12 years agoApply "improved" cursor-off handling for native GEOS API too.
ol.sc [Thu, 25 Oct 2012 20:02:01 +0000 (20:02 +0000)]
Apply "improved" cursor-off handling for native GEOS API too.

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

12 years agoShow cursor on entering data.
ol.sc [Tue, 23 Oct 2012 19:52:09 +0000 (19:52 +0000)]
Show cursor on entering data.

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

12 years agoFixed several aspects of the GEOS CONIO implementation:
ol.sc [Tue, 23 Oct 2012 19:42:57 +0000 (19:42 +0000)]
Fixed several aspects of the GEOS CONIO implementation:
- cputc was drawing at the wrong position, therefore one line had to be removed as a workaround.
- chline, cvline were drawing one pixel to large lines.
- cclear was drawing an in both directions one pixel to big rect.
- the cursor was drawn at wrong times at wrong places in a wrong size.

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

12 years agoAdded (naive) implementation of dio_query_sectcount() and dio_query_sectsize() for...
ol.sc [Tue, 23 Oct 2012 19:29:40 +0000 (19:29 +0000)]
Added (naive) implementation of dio_query_sectcount() and dio_query_sectsize() for GEOS 64/128.

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

12 years agoFixed c&p error.
ol.sc [Tue, 23 Oct 2012 19:26:08 +0000 (19:26 +0000)]
Fixed c&p error.

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

12 years agoMinor adjustment.
ol.sc [Tue, 23 Oct 2012 19:25:11 +0000 (19:25 +0000)]
Minor adjustment.

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

12 years agoReplaced static array with realloc'ed memory block - like done in enumdevdir.c.
ol.sc [Tue, 23 Oct 2012 19:24:27 +0000 (19:24 +0000)]
Replaced static array with realloc'ed memory block - like done in enumdevdir.c.

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

12 years agoNormalized coding style.
ol.sc [Tue, 23 Oct 2012 19:22:05 +0000 (19:22 +0000)]
Normalized coding style.

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

12 years agoFix typo
karri [Tue, 23 Oct 2012 11:54:31 +0000 (11:54 +0000)]
Fix typo

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

12 years agoCammys optimized Lynx palette
karri [Tue, 23 Oct 2012 10:07:41 +0000 (10:07 +0000)]
Cammys optimized Lynx palette

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

12 years agoCammys optimized Lynx palette
karri [Tue, 23 Oct 2012 10:07:17 +0000 (10:07 +0000)]
Cammys optimized Lynx palette

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

12 years agoOn Cywin with its (too) expensive fork() this change cuts down minimal re-build times...
ol.sc [Mon, 22 Oct 2012 17:37:10 +0000 (17:37 +0000)]
On Cywin with its (too) expensive fork() this change cuts down minimal re-build times from nearly 2 minutes to approx. 6 seconds. Additionally it looks in all directories in the first list for "override" files, not just in one.

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

12 years agoMade use of recently introduced getcurrentdevice().
ol.sc [Sun, 21 Oct 2012 14:36:05 +0000 (14:36 +0000)]
Made use of recently introduced getcurrentdevice().

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

12 years agoIntroduced getcurrentdevice() and implemented it for CBM and Apple.
ol.sc [Sun, 21 Oct 2012 14:35:17 +0000 (14:35 +0000)]
Introduced getcurrentdevice() and implemented it for CBM and Apple.

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

12 years agoThe 128+x character codes were very likely intended to be interpreted by cputs and...
ol.sc [Fri, 19 Oct 2012 07:19:08 +0000 (07:19 +0000)]
The 128+x character codes were very likely intended to be interpreted by cputs and translated into explicit drawing of short lines. However there was no code to do so at all. Given that the emulation of a characterbased API on a graphics system isn't the premier choice for a sophisticated UI it doesn't seem appropriate to invest into actually implementing the approach described above. Therefore I just replaced the character codes with a '+'.

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

12 years agoRemoved revers as it doesn't influence clrscr, cclear, chline, cvline and does look...
ol.sc [Fri, 19 Oct 2012 07:11:04 +0000 (07:11 +0000)]
Removed revers as it doesn't influence clrscr, cclear, chline, cvline and  does look pretty ugly on cputs because there's no opaque background.

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

12 years agoRemoved cpputs/cpputsxy as they don't work and as there's really very little use...
ol.sc [Fri, 19 Oct 2012 06:53:55 +0000 (06:53 +0000)]
Removed cpputs/cpputsxy as they don't work and as there's really very little use for proprietary extensions of a character API emulated on a graphics systems.

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

12 years agoAdded check for disk in drive on chdir().
ol.sc [Wed, 17 Oct 2012 20:24:43 +0000 (20:24 +0000)]
Added check for disk in drive on chdir().

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

12 years agoMinor updates.
ol.sc [Wed, 17 Oct 2012 20:22:28 +0000 (20:22 +0000)]
Minor updates.

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

12 years agoImplemented __syschdir on CBM. As getcwd returns a cached directory any direct access...
ol.sc [Tue, 16 Oct 2012 21:39:40 +0000 (21:39 +0000)]
Implemented __syschdir on CBM. As getcwd returns a cached directory any direct access to __curunit would cause inconsistencies. Therefore __curunit was renamed to curunit to prohibit user access.

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

12 years agoMinimal formatting adjustment.
ol.sc [Tue, 16 Oct 2012 21:29:14 +0000 (21:29 +0000)]
Minimal formatting adjustment.

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

12 years agoFix eol
karri [Tue, 16 Oct 2012 08:10:50 +0000 (08:10 +0000)]
Fix eol

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

12 years agoAdd Lynx hardware chip access
karri [Tue, 16 Oct 2012 08:03:36 +0000 (08:03 +0000)]
Add Lynx hardware chip access

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

12 years agoI wasn't aware that the unit numbers in the ProDOS device list contain device type...
ol.sc [Tue, 16 Oct 2012 06:34:38 +0000 (06:34 +0000)]
I wasn't aware that the unit numbers in the ProDOS device list contain device type identifiers in the low nibble. So if we can't use the device list entries as-is we can as well present the high nibble as low nibble to the user thus providing more meaningful device numbers.

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

12 years agoI wasn't aware that the unit numbers in the ProDOS device list contain device type...
ol.sc [Mon, 15 Oct 2012 21:59:51 +0000 (21:59 +0000)]
I wasn't aware that the unit numbers in the ProDOS device list contain device type identifiers in the low nibble. So if we can't use the device list entries as-is we can as well present the high nibble as low nibble to the user thus providing more meaningful device numbers.

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

12 years agoAdded enumdevdir showcasing the recently introduced device functions (together with...
ol.sc [Mon, 15 Oct 2012 18:52:40 +0000 (18:52 +0000)]
Added enumdevdir showcasing the recently introduced device functions (together with directory access).

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

12 years agoMinor style adjustment.
ol.sc [Sun, 14 Oct 2012 19:34:20 +0000 (19:34 +0000)]
Minor style adjustment.

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

12 years agoRemoved TABs.
ol.sc [Sun, 14 Oct 2012 12:51:02 +0000 (12:51 +0000)]
Removed TABs.

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

12 years agoRemoved TABs.
ol.sc [Sun, 14 Oct 2012 12:43:27 +0000 (12:43 +0000)]
Removed TABs.

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

12 years agoRemoved DIO specific typedefs which were just aliases to basic types and replaced...
ol.sc [Thu, 11 Oct 2012 18:22:49 +0000 (18:22 +0000)]
Removed DIO specific typedefs which were just aliases to basic types and replaced the term 'drive' with 'device' in order to harmonize with the recently added device.h.

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

12 years agoReplaced Apple II specific solution with implementation of recently introduced device...
ol.sc [Wed, 10 Oct 2012 20:55:56 +0000 (20:55 +0000)]
Replaced Apple II specific solution with implementation of recently introduced devicedir().

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

12 years agoBetter stick to the "high level" errno helpers as done everywhere else.
ol.sc [Wed, 10 Oct 2012 20:51:10 +0000 (20:51 +0000)]
Better stick to the "high level" errno helpers as done everywhere else.

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

12 years agoinitcwd will be called from the upcoming __syschdir so it has to be moved out of...
ol.sc [Wed, 10 Oct 2012 19:32:30 +0000 (19:32 +0000)]
initcwd will be called from the upcoming __syschdir so it has to be moved out of the INIT segment - and so it doesn't make sense anymore to keep devicestr as separate module anymore as the integration with initcwd allows to omit the jmp from the latter to the former.

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

12 years ago__syschdir calls initcwd so the latter must not be placed in the INIT segment.
ol.sc [Wed, 10 Oct 2012 19:18:09 +0000 (19:18 +0000)]
__syschdir calls initcwd so the latter must not be placed in the INIT segment.

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

12 years agoRemoved TAB.
ol.sc [Wed, 10 Oct 2012 19:12:29 +0000 (19:12 +0000)]
Removed TAB.

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

12 years agoClear _oserror on success.
ol.sc [Sun, 7 Oct 2012 20:20:54 +0000 (20:20 +0000)]
Clear _oserror on success.

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

12 years agoIntroduced getdevicedir() - with implementation for the CBMs.
ol.sc [Sun, 7 Oct 2012 19:18:56 +0000 (19:18 +0000)]
Introduced getdevicedir() - with implementation for the CBMs.

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

12 years agoNeed to import ST since it is no longer declared in plus4.inc.
uz [Tue, 2 Oct 2012 19:22:19 +0000 (19:22 +0000)]
Need to import ST since it is no longer declared in plus4.inc.

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

12 years agoReverted r5835 because of Olivers changes to the asm includes.
uz [Tue, 2 Oct 2012 18:15:39 +0000 (18:15 +0000)]
Reverted r5835 because of Olivers changes to the asm includes.

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

12 years agoTurned the 'ST' status byte into a symbol resolved by the linker in order to allow...
ol.sc [Tue, 2 Oct 2012 16:41:40 +0000 (16:41 +0000)]
Turned the 'ST' status byte into a symbol resolved by the linker in order to allow to use it from code living in the 'cbm' directory.
Moved getdevice.s from 'c64'/'c128' to 'cbm' making use of the new 'ST' setup.

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

12 years agoApplied changes by Daniel Pralle, adding stuff that is compiled but not
uz [Mon, 1 Oct 2012 20:01:15 +0000 (20:01 +0000)]
Applied changes by Daniel Pralle, adding stuff that is compiled but not
installed by the current HEAD version.

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

12 years agoST is already imported in plus4.inc, no need to import it separately.
uz [Mon, 1 Oct 2012 09:29:23 +0000 (09:29 +0000)]
ST is already imported in plus4.inc, no need to import it separately.

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

12 years agoTurned the 'ST' status byte into a symbol resolved by the linker in order to allow...
ol.sc [Sun, 30 Sep 2012 18:20:15 +0000 (18:20 +0000)]
Turned the 'ST' status byte into a symbol resolved by the linker in order to allow to use it from code living in the 'cbm' directory.
Moved getdevice.s from 'c64'/'c128' to 'cbm' making use of the new 'ST' setup.

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

12 years agoUpdated to include the C128 and the Atari as targets for the multidemo sample.
ol.sc [Sun, 30 Sep 2012 15:00:25 +0000 (15:00 +0000)]
Updated to include the C128 and the Atari as targets for the multidemo sample.

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

12 years agoAdjusted according to the recently updated readdir() doc that now says:
ol.sc [Sun, 30 Sep 2012 14:58:31 +0000 (14:58 +0000)]
Adjusted according to the recently updated readdir() doc that now says:

"On several platforms, namely the CBMs and the Atari, the disk drives get confused when opening/closing files between directory reads. So for example a program that reads the list of files on a disk, and after each call to readdir, opens the file to process it, will fail.
Possible solutions are reading the directory into memory before processing the file list, or to reset the directory by seeking to the correct position after opening/closing a file:
        seekdir (DIR, telldir (DIR));
Platforms known to work without problems are: Apple."

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

12 years agoAdded C128 overlay linker config.
ol.sc [Sun, 30 Sep 2012 14:53:12 +0000 (14:53 +0000)]
Added C128 overlay linker config.

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

12 years agoMinimal formatting adjustment.
ol.sc [Sun, 30 Sep 2012 14:18:47 +0000 (14:18 +0000)]
Minimal formatting adjustment.

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

12 years agoFix calculation of text width for bitmap fonts.
uz [Thu, 20 Sep 2012 21:14:46 +0000 (21:14 +0000)]
Fix calculation of text width for bitmap fonts.

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

12 years agoAdded a note about errors in disk drives on some platforms that lead to
uz [Thu, 20 Sep 2012 20:25:22 +0000 (20:25 +0000)]
Added a note about errors in disk drives on some platforms that lead to
failures if files are opened/closed while reading the directory.

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

12 years agoFixed a bug reported by thefox: The .CHARMAP command must not accept indices
uz [Mon, 17 Sep 2012 15:09:39 +0000 (15:09 +0000)]
Fixed a bug reported by thefox: The .CHARMAP command must not accept indices
or character codes with a value of zero. The assembler runs into a CHECK in
tgttrans anyway if the index is zero.

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

12 years agoChange address of sec loader
karri [Sat, 15 Sep 2012 12:57:37 +0000 (12:57 +0000)]
Change address of sec loader

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