]> git.sur5r.net Git - cc65/log
cc65
20 years agoFixed a typo and changed example to use new asm syntax
cuz [Mon, 7 Jun 2004 21:40:51 +0000 (21:40 +0000)]
Fixed a typo and changed example to use new asm syntax

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

20 years agoCleaned up the code used for handling jump labels and the label name.
cuz [Mon, 7 Jun 2004 21:16:49 +0000 (21:16 +0000)]
Cleaned up the code used for handling jump labels and the label name.
Fixed a problem that caused the optimizer not to detect that flags set by
a load are used, if the use is "hidden" behind an unconditional branch. This
caused the optimizer to remove the load.

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

20 years agoRemoved debug code
cuz [Sun, 6 Jun 2004 18:36:15 +0000 (18:36 +0000)]
Removed debug code

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

20 years agoMinor change
cuz [Sun, 6 Jun 2004 18:36:08 +0000 (18:36 +0000)]
Minor change

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

20 years agoAdded support for floating point constants in the scanner and Primary()
cuz [Sun, 6 Jun 2004 15:59:44 +0000 (15:59 +0000)]
Added support for floating point constants in the scanner and Primary()

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

20 years agoRenamed ExprDesc.Val to ExprDesc.IVal. Added an FVal field for a floating
cuz [Sun, 6 Jun 2004 14:48:59 +0000 (14:48 +0000)]
Renamed ExprDesc.Val to ExprDesc.IVal. Added an FVal field for a floating
point constant.

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

20 years agoThe loop code will access the stackpointer directly
cuz [Sun, 6 Jun 2004 10:52:32 +0000 (10:52 +0000)]
The loop code will access the stackpointer directly

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

20 years agoAdd predefined type strings for float and double
cuz [Sun, 6 Jun 2004 10:49:59 +0000 (10:49 +0000)]
Add predefined type strings for float and double

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

20 years agoCorrected minor spelling errors
cuz [Sun, 6 Jun 2004 10:35:12 +0000 (10:35 +0000)]
Corrected minor spelling errors

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

20 years agoCorrected minor spelling errors
cuz [Sun, 6 Jun 2004 10:33:00 +0000 (10:33 +0000)]
Corrected minor spelling errors

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

20 years agoImproved code for or and xor
cuz [Sat, 5 Jun 2004 22:10:04 +0000 (22:10 +0000)]
Improved code for or and xor

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

20 years agoMove the test flags into the Flags bitset of struct ExprDesc
cuz [Sat, 5 Jun 2004 20:29:47 +0000 (20:29 +0000)]
Move the test flags into the Flags bitset of struct ExprDesc

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

20 years agoWhen changing the reference to a jump label, do also replace the string
cuz [Sat, 5 Jun 2004 16:21:07 +0000 (16:21 +0000)]
When changing the reference to a jump label, do also replace the string
argument for the instruction with the name of the new jump label. This
allows CodeEntriesAreEqual to work in all cases, and therefore optimizations
based on this function will also work more effectively (or at all).

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

20 years agoRepeat the check in OptJumpTarget whenever a match is found to find rows of matches
cuz [Sat, 5 Jun 2004 16:19:23 +0000 (16:19 +0000)]
Repeat the check in OptJumpTarget whenever a match is found to find rows of matches

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

20 years agoGenerate LDY instead of INY whenever possible because this allows better
cuz [Sat, 5 Jun 2004 16:18:30 +0000 (16:18 +0000)]
Generate LDY instead of INY whenever possible because this allows better
detection of known patterns and is replaced by INY in a later step anyway.

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

20 years agoCheck for and warn on statements that don't have an effect
cuz [Sat, 5 Jun 2004 12:56:51 +0000 (12:56 +0000)]
Check for and warn on statements that don't have an effect

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

20 years agoFixed a bug
cuz [Sat, 5 Jun 2004 11:50:04 +0000 (11:50 +0000)]
Fixed a bug

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

20 years agoMove the compiler stack pointer into its own module.
cuz [Sat, 5 Jun 2004 11:35:53 +0000 (11:35 +0000)]
Move the compiler stack pointer into its own module.
Improved the inlining of standard C functions. Added more standard functions
to inline.

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

20 years agoFixed a bug
cuz [Sat, 5 Jun 2004 11:33:44 +0000 (11:33 +0000)]
Fixed a bug

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

20 years agoFixed a typo
cuz [Fri, 4 Jun 2004 21:30:37 +0000 (21:30 +0000)]
Fixed a typo

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

20 years agoFixed a problem
cuz [Fri, 4 Jun 2004 21:25:54 +0000 (21:25 +0000)]
Fixed a problem

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

20 years agoRemove dependency on rom.o
cuz [Fri, 4 Jun 2004 17:54:15 +0000 (17:54 +0000)]
Remove dependency on rom.o

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

20 years agoAdded T_SIZE_T as an alias for T_UINT
cuz [Fri, 4 Jun 2004 17:52:19 +0000 (17:52 +0000)]
Added T_SIZE_T as an alias for T_UINT

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

20 years agoAdded strcpy
cuz [Fri, 4 Jun 2004 17:51:49 +0000 (17:51 +0000)]
Added strcpy

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

20 years agoFixed a typo
cuz [Fri, 4 Jun 2004 17:00:48 +0000 (17:00 +0000)]
Fixed a typo

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

20 years agoFixed a comment
cuz [Fri, 4 Jun 2004 14:47:21 +0000 (14:47 +0000)]
Fixed a comment

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

20 years agoCheck the InlineStdFuncs flag later
cuz [Fri, 4 Jun 2004 14:37:50 +0000 (14:37 +0000)]
Check the InlineStdFuncs flag later

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

20 years agoFixed a bug
cuz [Fri, 4 Jun 2004 14:36:54 +0000 (14:36 +0000)]
Fixed a bug

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

20 years agoMore debugging output
cuz [Fri, 4 Jun 2004 14:36:36 +0000 (14:36 +0000)]
More debugging output

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

20 years agoFixed a bug
cuz [Fri, 4 Jun 2004 14:06:36 +0000 (14:06 +0000)]
Fixed a bug

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

20 years agoAdded new atmos tgi driver
cuz [Thu, 3 Jun 2004 21:30:16 +0000 (21:30 +0000)]
Added new atmos tgi driver

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

20 years agoCopy the new atmos tgi driver
cuz [Thu, 3 Jun 2004 21:28:56 +0000 (21:28 +0000)]
Copy the new atmos tgi driver

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

20 years agoTGI driver by Stefan Haubenthal
cuz [Thu, 3 Jun 2004 21:27:56 +0000 (21:27 +0000)]
TGI driver by Stefan Haubenthal

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

20 years agoDefine symbols depending on the target system similar to the C compiler.
cuz [Thu, 3 Jun 2004 21:12:29 +0000 (21:12 +0000)]
Define symbols depending on the target system similar to the C compiler.

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

20 years agofinish last change
cpg [Thu, 3 Jun 2004 19:46:16 +0000 (19:46 +0000)]
finish last change

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

20 years agorename backwards compatibility define
cpg [Thu, 3 Jun 2004 19:45:50 +0000 (19:45 +0000)]
rename backwards compatibility define

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

20 years agoprepend a "_" to clib runtime functions
cpg [Thu, 3 Jun 2004 19:43:11 +0000 (19:43 +0000)]
prepend a "_" to clib runtime functions

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

20 years agoFixed symbol usage
cuz [Thu, 3 Jun 2004 17:42:56 +0000 (17:42 +0000)]
Fixed symbol usage

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

20 years agoImprovements by Oliver Schmidt
cuz [Thu, 3 Jun 2004 15:05:41 +0000 (15:05 +0000)]
Improvements by Oliver Schmidt

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

20 years agoFixed a typo
cuz [Thu, 3 Jun 2004 12:09:24 +0000 (12:09 +0000)]
Fixed a typo

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

20 years agoImproved code generation
cuz [Thu, 3 Jun 2004 12:08:49 +0000 (12:08 +0000)]
Improved code generation

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

20 years agoFixed generation of non optimal code in StructRef()
cuz [Thu, 3 Jun 2004 11:10:30 +0000 (11:10 +0000)]
Fixed generation of non optimal code in StructRef()

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

20 years agoComment and indentation changes
cuz [Thu, 3 Jun 2004 11:08:50 +0000 (11:08 +0000)]
Comment and indentation changes

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

20 years agoRewrote code generation for the strlen standard function. Added code for
cuz [Wed, 2 Jun 2004 21:33:35 +0000 (21:33 +0000)]
Rewrote code generation for the strlen standard function. Added code for
other standard functions in several places.

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

20 years agoFixed a bug
cuz [Wed, 2 Jun 2004 21:20:18 +0000 (21:20 +0000)]
Fixed a bug

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

20 years agoFixed a bug
cuz [Tue, 1 Jun 2004 20:30:44 +0000 (20:30 +0000)]
Fixed a bug

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

20 years agosmall optimization; fix line buffered read of length 0
cpg [Tue, 1 Jun 2004 20:25:44 +0000 (20:25 +0000)]
small optimization; fix line buffered read of length 0

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

20 years agoNew options
cuz [Tue, 1 Jun 2004 11:22:35 +0000 (11:22 +0000)]
New options

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

20 years agoFix external function names
cuz [Tue, 1 Jun 2004 08:48:20 +0000 (08:48 +0000)]
Fix external function names

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

20 years agoString literals can be handled as static data in most cases
cuz [Mon, 31 May 2004 19:51:13 +0000 (19:51 +0000)]
String literals can be handled as static data in most cases

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

20 years agoComment fixes by Stefan Haubenthal
cuz [Mon, 31 May 2004 19:35:30 +0000 (19:35 +0000)]
Comment fixes by Stefan Haubenthal

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

20 years agoSmall addition by Stefan Haubenthal
cuz [Mon, 31 May 2004 19:31:53 +0000 (19:31 +0000)]
Small addition by Stefan Haubenthal

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

20 years agoSmall fix by Stefan Haubenthal
cuz [Mon, 31 May 2004 19:30:27 +0000 (19:30 +0000)]
Small fix by Stefan Haubenthal

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

20 years agoAdded oserrlist.s from Stefan Haubenthal
cuz [Mon, 31 May 2004 19:27:54 +0000 (19:27 +0000)]
Added oserrlist.s from Stefan Haubenthal

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

20 years agoLoad programs at 13:5900 instead of 00
cuz [Mon, 31 May 2004 19:25:38 +0000 (19:25 +0000)]
Load programs at 13:5900 instead of 00

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

20 years agoRewrite/cleanup of the complete expression flags handling.
cuz [Mon, 31 May 2004 15:27:33 +0000 (15:27 +0000)]
Rewrite/cleanup of the complete expression flags handling.

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

20 years agoSome improvements in font generation
cuz [Mon, 31 May 2004 15:17:40 +0000 (15:17 +0000)]
Some improvements in font generation

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

20 years agofix comment
cpg [Fri, 28 May 2004 22:05:01 +0000 (22:05 +0000)]
fix comment

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

20 years agoLINEBUF
cpg [Fri, 28 May 2004 22:04:33 +0000 (22:04 +0000)]
LINEBUF

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

20 years agoimplement line buffered reads, optional with LINEBUF define
cpg [Fri, 28 May 2004 22:01:14 +0000 (22:01 +0000)]
implement line buffered reads, optional with LINEBUF define

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

20 years agoRemoved unused modules
cuz [Thu, 27 May 2004 14:20:16 +0000 (14:20 +0000)]
Removed unused modules

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

20 years agoSome renaming and restructuring
cuz [Wed, 26 May 2004 16:15:28 +0000 (16:15 +0000)]
Some renaming and restructuring

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

20 years agoAdded a missing include
cuz [Wed, 26 May 2004 13:55:48 +0000 (13:55 +0000)]
Added a missing include

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

20 years agoGenerate assembler names for symbols
cuz [Wed, 26 May 2004 13:44:53 +0000 (13:44 +0000)]
Generate assembler names for symbols

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

20 years agoAdd standard names for library functions
cuz [Wed, 26 May 2004 13:42:19 +0000 (13:42 +0000)]
Add standard names for library functions

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

20 years agoChanged the expression parser to return the lvalue flag as part of the
cuz [Tue, 25 May 2004 20:59:38 +0000 (20:59 +0000)]
Changed the expression parser to return the lvalue flag as part of the
ExprDesc structure, not as separate value.
WARNING: The current code does compile but does not work correctly, because
the lvalue flag is part of ExprDesc.Flags and not masked out in several tests
throughout the code.

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

20 years agoungetc is now available
cuz [Fri, 14 May 2004 20:58:37 +0000 (20:58 +0000)]
ungetc is now available

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

20 years agoAdd support for pushed back characters from ungetc()
cuz [Fri, 14 May 2004 20:54:46 +0000 (20:54 +0000)]
Add support for pushed back characters from ungetc()

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

20 years agoBetter error messages in case of a range error
cuz [Fri, 14 May 2004 15:05:51 +0000 (15:05 +0000)]
Better error messages in case of a range error

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

20 years agoFixed a bug
cuz [Fri, 14 May 2004 14:33:43 +0000 (14:33 +0000)]
Fixed a bug

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

20 years agoExport __seterrno
cuz [Fri, 14 May 2004 09:44:42 +0000 (09:44 +0000)]
Export __seterrno

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

20 years agoSqueezed out a few bytes
cuz [Thu, 13 May 2004 23:01:53 +0000 (23:01 +0000)]
Squeezed out a few bytes

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

20 years ago__seterrno is now a common function available on all platforms with slightly
cuz [Thu, 13 May 2004 21:56:31 +0000 (21:56 +0000)]
__seterrno is now a common function available on all platforms with slightly
different calling conventions.

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

20 years agoAdd support for ungetc, fix non standard compliant behaviour
cuz [Thu, 13 May 2004 21:54:01 +0000 (21:54 +0000)]
Add support for ungetc, fix non standard compliant behaviour

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

20 years agoImplemented the ungetc function
cuz [Thu, 13 May 2004 21:39:17 +0000 (21:39 +0000)]
Implemented the ungetc function

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

20 years agoMake fseek support ungetc, fix non standard compliant behaviour
cuz [Thu, 13 May 2004 21:29:18 +0000 (21:29 +0000)]
Make fseek support ungetc, fix non standard compliant behaviour

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

20 years agoSqueezed out a few bytes
cuz [Thu, 13 May 2004 21:17:58 +0000 (21:17 +0000)]
Squeezed out a few bytes

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

20 years agoAdd support for pushed back chars
cuz [Thu, 13 May 2004 21:13:51 +0000 (21:13 +0000)]
Add support for pushed back chars

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

20 years agoUse a subroutine to set errno to save some space.
cuz [Thu, 13 May 2004 21:09:08 +0000 (21:09 +0000)]
Use a subroutine to set errno to save some space.

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

20 years agoFixed a typo
cuz [Wed, 12 May 2004 22:09:51 +0000 (22:09 +0000)]
Fixed a typo

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

20 years agoFixed a comment
cuz [Wed, 12 May 2004 13:18:00 +0000 (13:18 +0000)]
Fixed a comment

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

20 years agoMouse position no longer contained in the header
cuz [Wed, 12 May 2004 13:17:34 +0000 (13:17 +0000)]
Mouse position no longer contained in the header

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

20 years agoAdded pushback char to struct FILE
cuz [Wed, 12 May 2004 13:16:36 +0000 (13:16 +0000)]
Added pushback char to struct FILE

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

20 years agoFixed a bug
cuz [Wed, 12 May 2004 12:58:25 +0000 (12:58 +0000)]
Fixed a bug

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

20 years agoAtari joystick driver filename fix
cuz [Wed, 12 May 2004 08:53:24 +0000 (08:53 +0000)]
Atari joystick driver filename fix

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

20 years agoBetter error messages
cuz [Wed, 12 May 2004 08:51:58 +0000 (08:51 +0000)]
Better error messages

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

20 years agochange Atari joystick driver name
cpg [Tue, 11 May 2004 21:38:41 +0000 (21:38 +0000)]
change Atari joystick driver name

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

20 years agodriver name is ataristd.joy
cpg [Tue, 11 May 2004 21:25:10 +0000 (21:25 +0000)]
driver name is ataristd.joy

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

20 years agoAdded 6502 illegal instructions
cuz [Tue, 11 May 2004 20:32:36 +0000 (20:32 +0000)]
Added 6502 illegal instructions

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

20 years agoreturn correct joystick count for XL and newer machines -- patch from
cpg [Tue, 11 May 2004 19:31:14 +0000 (19:31 +0000)]
return correct joystick count for XL and newer machines -- patch from
Stefan Haubenthal

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

20 years agoAdded the new --list-bytes option
cuz [Mon, 10 May 2004 21:53:37 +0000 (21:53 +0000)]
Added the new --list-bytes option

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

20 years agoNew --list-bytes option
cuz [Mon, 10 May 2004 21:50:13 +0000 (21:50 +0000)]
New --list-bytes option

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

20 years agoFixed a small memory leak
cuz [Mon, 10 May 2004 21:06:53 +0000 (21:06 +0000)]
Fixed a small memory leak

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

20 years agoAdd 6502X cpu
cuz [Mon, 10 May 2004 09:32:01 +0000 (09:32 +0000)]
Add 6502X cpu

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

20 years agoAdded CPU_6502X for 6502 with illegal opcodes
cuz [Sun, 9 May 2004 21:06:36 +0000 (21:06 +0000)]
Added CPU_6502X for 6502 with illegal opcodes

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

20 years agoDocument the new curly braces feature
cuz [Sun, 9 May 2004 20:28:43 +0000 (20:28 +0000)]
Document the new curly braces feature

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

20 years agoFixed a problem with {} enclosed token lists and implemented them for
cuz [Sun, 9 May 2004 20:24:51 +0000 (20:24 +0000)]
Fixed a problem with {} enclosed token lists and implemented them for
.blank and .tcount.

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

20 years agoAllow token lists to be optionally enclosed in curly braces. Using such
cuz [Sun, 9 May 2004 19:45:07 +0000 (19:45 +0000)]
Allow token lists to be optionally enclosed in curly braces. Using such
enclosement, tokens that would otherwise terminate the list can be part
of the list.

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

20 years agoNew module joy_stddrv
cuz [Thu, 6 May 2004 08:16:14 +0000 (08:16 +0000)]
New module joy_stddrv

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

20 years agoOptimization
cuz [Sun, 2 May 2004 21:01:12 +0000 (21:01 +0000)]
Optimization

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