]> git.sur5r.net Git - cc65/log
cc65
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

12 years agoShring the bootloader by 20 bytes and remove restrictions on file size
karri [Tue, 11 Sep 2012 13:01:39 +0000 (13:01 +0000)]
Shring the bootloader by 20 bytes and remove restrictions on file size

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

12 years agoAdded a "fillval" attribute to the segment definition. When given, it
uz [Sun, 9 Sep 2012 19:00:43 +0000 (19:00 +0000)]
Added a "fillval" attribute to the segment definition. When given, it
overrides the value from the memory area for all space that lies within the
segment itself.

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

12 years agoReplaced Apple II specific solution with implementation of recently introduced mass...
ol.sc [Sun, 9 Sep 2012 16:16:08 +0000 (16:16 +0000)]
Replaced Apple II specific solution with implementation of recently introduced mass-storage device enumaration.

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

12 years agoReplaced Apple II specific solution with implementation of recently introduced mass...
ol.sc [Sun, 9 Sep 2012 13:38:32 +0000 (13:38 +0000)]
Replaced Apple II specific solution with implementation of recently introduced mass-storage device enumaration.

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

12 years agoIntroduced mass-storage device enumaration - with implementation for C64 and C128.
ol.sc [Sun, 9 Sep 2012 12:14:45 +0000 (12:14 +0000)]
Introduced mass-storage device enumaration - with implementation for C64 and C128.

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

12 years agoFixed problems reported by Greg King.
uz [Thu, 6 Sep 2012 20:36:35 +0000 (20:36 +0000)]
Fixed problems reported by Greg King.

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

12 years agoHave the internal function 'isdisk' set the carry for device 31. As the device id...
ol.sc [Wed, 5 Sep 2012 19:07:34 +0000 (19:07 +0000)]
Have the internal function 'isdisk' set the carry for device 31. As the device id 31 doesn't really exist it is for sure no disk.

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

12 years agoGenerate and package a matching emd binary of the new driver for the target
uz [Wed, 5 Sep 2012 13:45:17 +0000 (13:45 +0000)]
Generate and package a matching emd binary of the new driver for the target
platform.

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

12 years agoAdded the first EMD driver for the atari, written and contributed by Shawn
uz [Wed, 5 Sep 2012 11:25:28 +0000 (11:25 +0000)]
Added the first EMD driver for the atari, written and contributed by Shawn
Jefferson <sjefferson@shaw.ca>.

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

12 years agoMinor change.
ol.sc [Tue, 4 Sep 2012 09:00:43 +0000 (09:00 +0000)]
Minor change.

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

12 years agoSome documentation fixes. Errors reported by Michael Bazzinotti
uz [Sun, 2 Sep 2012 20:09:39 +0000 (20:09 +0000)]
Some documentation fixes. Errors reported by Michael Bazzinotti
<mbazzinotti@gmail.com>.

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

12 years agoFix by Greg King.
ol.sc [Sun, 26 Aug 2012 19:25:56 +0000 (19:25 +0000)]
Fix by Greg King.

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

12 years agoDo not try to dump an expression that has errors (circular references in this
uz [Wed, 22 Aug 2012 21:24:54 +0000 (21:24 +0000)]
Do not try to dump an expression that has errors (circular references in this
case) because the dump routine doesn't detect this and runs into an endless
recursion.

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

12 years agoNew option --relax-checks that disable the check for a match beween size oif
uz [Mon, 20 Aug 2012 20:07:05 +0000 (20:07 +0000)]
New option --relax-checks that disable the check for a match beween size oif
an expression and the address size. Will allow short branches between segments
among other things. Suggested by Spiro Trikaliotis.

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

12 years agoFix by Spiro Trikaliotis.
ol.sc [Sun, 19 Aug 2012 10:28:12 +0000 (10:28 +0000)]
Fix by Spiro Trikaliotis.

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

12 years agoMinor changes.
ol.sc [Thu, 16 Aug 2012 19:29:29 +0000 (19:29 +0000)]
Minor changes.

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

12 years agoAdded 'multidemo' to the samples README.
ol.sc [Thu, 16 Aug 2012 19:20:53 +0000 (19:20 +0000)]
Added 'multidemo' to the samples README.

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

12 years agoAdded somewhat more complex demo. It looks for emdrivers in the current directory...
ol.sc [Wed, 8 Aug 2012 21:23:18 +0000 (21:23 +0000)]
Added somewhat more complex demo. It looks for emdrivers in the current directory and tries to load them until one loads successfully. In that case it "streams" its overlay files into extended memory. Finally it loads its overlays from extended memory (or disk) and calls into them.

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

12 years agoChoose another way to fix the issue from r5804: When parsing the directory
uz [Mon, 6 Aug 2012 18:45:26 +0000 (18:45 +0000)]
Choose another way to fix the issue from r5804: When parsing the directory
name, add a file mask, so the result is "$0:*" or similar. When specified like
this, the drive accepts the r/o specifier ",R" so we don't have to complicate
the code in open().

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

12 years agoFixed a bug: The floppies do not like ,R (for read mode) when opening the
uz [Sun, 5 Aug 2012 21:32:40 +0000 (21:32 +0000)]
Fixed a bug: The floppies do not like ,R (for read mode) when opening the
directory.

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

12 years agoDon't add the current directory to the list of search paths. If the main file
uz [Wed, 1 Aug 2012 21:44:36 +0000 (21:44 +0000)]
Don't add the current directory to the list of search paths. If the main file
is located there, it is added anyway. If the main file is located elsewhere,
we don't want to search in the current directory.

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