]> git.sur5r.net Git - cc65/log
cc65
15 years agoFixed the existing but unused attribute parsing code. Added
uz [Sun, 18 Oct 2009 18:31:02 +0000 (18:31 +0000)]
Fixed the existing but unused attribute parsing code. Added
__attribute__((noexit)) that may be used to mark functions that won't return.
Added this attribute to the exit() function in stdlib.h.

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

15 years agoSome cleanup in the code generator. Added a g_drop function. g_drop and
uz [Thu, 15 Oct 2009 21:08:03 +0000 (21:08 +0000)]
Some cleanup in the code generator. Added a g_drop function. g_drop and
g_space can now handle sizes > 255 bytes.

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

15 years agoWarn when structs are passed by value to a function.
uz [Thu, 15 Oct 2009 19:18:34 +0000 (19:18 +0000)]
Warn when structs are passed by value to a function.

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

15 years agoExtend handling for "long branch to RTS" to "long branch to jump leaving
uz [Thu, 15 Oct 2009 11:11:20 +0000 (11:11 +0000)]
Extend handling for "long branch to RTS" to "long branch to jump leaving
function".

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

15 years agoIf a conditional branch as an unconditional jump as target, that doesn't jump
uz [Thu, 15 Oct 2009 10:21:50 +0000 (10:21 +0000)]
If a conditional branch as an unconditional jump as target, that doesn't jump
to a function-internal label, don't replace the jump target with the final
one, because this has no advantages and makes the code larger.

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

15 years agoAllow switching warnings about unused pragmas on or off.
uz [Wed, 14 Oct 2009 13:04:38 +0000 (13:04 +0000)]
Allow switching warnings about unused pragmas on or off.

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

15 years agoFixed a problem with SB_GetSym.
uz [Wed, 14 Oct 2009 13:03:47 +0000 (13:03 +0000)]
Fixed a problem with SB_GetSym.

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

15 years agoChanged names of the pragmas to be identical to the corresponding command line
uz [Wed, 14 Oct 2009 12:55:15 +0000 (12:55 +0000)]
Changed names of the pragmas to be identical to the corresponding command line
options. This should make use easier. The old names of the pragmas are still
available but will cause warnings.

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

15 years agoFixed an error in the SB_SkipMultiple macro.
uz [Wed, 14 Oct 2009 10:04:20 +0000 (10:04 +0000)]
Fixed an error in the SB_SkipMultiple macro.

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

15 years agoRewrote most of the #pragma parsing code. I'm still not satisfied, but at
uz [Tue, 13 Oct 2009 21:24:32 +0000 (21:24 +0000)]
Rewrote most of the #pragma parsing code. I'm still not satisfied, but at
least, it's a bit better than before. #pragma warn (...) is now used to switch
single warnings instead of a global on/off switch.

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

15 years agoRemoved an unused function.
uz [Sun, 11 Oct 2009 15:10:55 +0000 (15:10 +0000)]
Removed an unused function.

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

15 years agoLeveraged new bit-field support.
ol.sc [Sun, 11 Oct 2009 11:14:35 +0000 (11:14 +0000)]
Leveraged new bit-field support.

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

15 years agoNew function SB_SkipMultiple().
uz [Sat, 10 Oct 2009 20:51:52 +0000 (20:51 +0000)]
New function SB_SkipMultiple().

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

15 years agoCosmetic change. Formatting was lost because of cut&paste.
uz [Sat, 10 Oct 2009 20:50:15 +0000 (20:50 +0000)]
Cosmetic change. Formatting was lost because of cut&paste.

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

15 years agoOops - forgot to make these minor things identical to apple2.sgml.
ol.sc [Sat, 10 Oct 2009 11:38:34 +0000 (11:38 +0000)]
Oops - forgot to make these minor things identical to apple2.sgml.

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

15 years agoUpdated to the level of apple2.sgml
ol.sc [Sat, 10 Oct 2009 11:32:38 +0000 (11:32 +0000)]
Updated to the level of apple2.sgml

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

15 years agoSome fixes to the recent change.
ol.sc [Sat, 10 Oct 2009 11:11:25 +0000 (11:11 +0000)]
Some fixes to the recent change.

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

15 years agoAdded quite some info on the stuff in 'cfg' and 'obj'. Apple2enh needs to be adjusted...
ol.sc [Fri, 9 Oct 2009 22:19:35 +0000 (22:19 +0000)]
Added quite some info on the stuff in 'cfg' and 'obj'. Apple2enh needs to be adjusted too for sure, but check the result of the nightly build first.

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

15 years agoAdded a simulated console (memory mapped screen device, inpout device will
uz [Thu, 8 Oct 2009 18:33:50 +0000 (18:33 +0000)]
Added a simulated console (memory mapped screen device, inpout device will
follow).

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

15 years agoFixed a bug: Attribute numbers were not correctly read.
uz [Thu, 8 Oct 2009 17:54:23 +0000 (17:54 +0000)]
Fixed a bug: Attribute numbers were not correctly read.

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

15 years agoAdded the __STDC_HOSTED__ macro.
uz [Thu, 8 Oct 2009 15:00:25 +0000 (15:00 +0000)]
Added the __STDC_HOSTED__ macro.

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

15 years agoRewrote handling of the -W command line option. It is now used to enable or
uz [Thu, 8 Oct 2009 13:29:35 +0000 (13:29 +0000)]
Rewrote handling of the -W command line option. It is now used to enable or
disable warnings by name.

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

15 years agoFixed some sloopy StrBuf coding.
uz [Thu, 8 Oct 2009 12:11:51 +0000 (12:11 +0000)]
Fixed some sloopy StrBuf coding.

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

15 years agoUse the new InvArg function.
uz [Thu, 8 Oct 2009 11:35:34 +0000 (11:35 +0000)]
Use the new InvArg function.

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

15 years agoUse the new InvArg() function.
uz [Thu, 8 Oct 2009 11:34:36 +0000 (11:34 +0000)]
Use the new InvArg() function.

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

15 years agoNew function InvArg().
uz [Thu, 8 Oct 2009 11:31:55 +0000 (11:31 +0000)]
New function InvArg().

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

15 years agoFixed some sloopy StrBuf coding.
uz [Thu, 8 Oct 2009 10:51:45 +0000 (10:51 +0000)]
Fixed some sloopy StrBuf coding.

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

15 years agoMake AUTO_STRBUF_INITIALIZER identical to STATIC_STRBUF_INITIALIZER.
uz [Thu, 8 Oct 2009 10:50:15 +0000 (10:50 +0000)]
Make AUTO_STRBUF_INITIALIZER identical to STATIC_STRBUF_INITIALIZER.

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

15 years agoFixed an error with r4329: In case of a struct pointer the qualifiers of the
uz [Thu, 8 Oct 2009 09:54:46 +0000 (09:54 +0000)]
Fixed an error with r4329: In case of a struct pointer the qualifiers of the
pointers had been used, not the qualifiers of the struct.

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

15 years agoMerge calls to decsp. The implemented routine is not perfect and will miss
uz [Wed, 7 Oct 2009 15:28:35 +0000 (15:28 +0000)]
Merge calls to decsp. The implemented routine is not perfect and will miss
some pieces of code, but it's better than nothing.

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

15 years agoGet rid of ldaconst/ldxconst/ldyconst in many places.
uz [Wed, 7 Oct 2009 15:27:26 +0000 (15:27 +0000)]
Get rid of ldaconst/ldxconst/ldyconst in many places.

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

15 years agoBumped the version number
uz [Tue, 6 Oct 2009 12:24:15 +0000 (12:24 +0000)]
Bumped the version number

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

15 years agoFixed a bug: A similar problem as that with structs does also exist for
uz [Mon, 5 Oct 2009 18:46:39 +0000 (18:46 +0000)]
Fixed a bug: A similar problem as that with structs does also exist for
arrays. An array element has all qualifiers from itself and from the array
declaration.

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

15 years agoWhen using GetQualifier, pass correct params :-)
uz [Mon, 5 Oct 2009 18:38:01 +0000 (18:38 +0000)]
When using GetQualifier, pass correct params :-)

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

15 years agoUse GetQualifier() instead of accessing the field directly.
uz [Mon, 5 Oct 2009 18:37:07 +0000 (18:37 +0000)]
Use GetQualifier() instead of accessing the field directly.

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

15 years agoChanged solution for r4329 so that it uses less memory.
uz [Mon, 5 Oct 2009 18:22:28 +0000 (18:22 +0000)]
Changed solution for r4329 so that it uses less memory.

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

15 years agoFixed a bug: Function designators are converted to rvalues of type "pointer to
uz [Mon, 5 Oct 2009 17:49:45 +0000 (17:49 +0000)]
Fixed a bug: Function designators are converted to rvalues of type "pointer to
function", so dereferencing a function is a legal operation. The result is
immediately converted back to "pointer to function" again. Note: Because of
performance considerations, cc65 does treat functions as "pointer to function"
internally, but nevertheless dereferencing a function must be possible.

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

15 years agoFixed a bug: A struct field has all qualifiers from its definition plus the
uz [Mon, 5 Oct 2009 17:37:45 +0000 (17:37 +0000)]
Fixed a bug: A struct field has all qualifiers from its definition plus the
qualifiers of the struct.

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

15 years agoMust link libdl to use dynamic libraries.
uz [Sun, 4 Oct 2009 18:52:27 +0000 (18:52 +0000)]
Must link libdl to use dynamic libraries.

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

15 years agoAdded decimal mode (untested): http://www.6502.org/tutorials/decimal_mode.html
uz [Sun, 4 Oct 2009 18:52:10 +0000 (18:52 +0000)]
Added decimal mode (untested): http://www.6502.org/tutorials/decimal_mode.html

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

15 years agoAdded note on the necessity of tab chars at the beginning of make command lines. V2.13.0
ol.sc [Sun, 4 Oct 2009 16:30:56 +0000 (16:30 +0000)]
Added note on the necessity of tab chars at the beginning of make command lines.

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

15 years agoUse a simple expression now that ldwarning is available as an assert action.
uz [Sun, 4 Oct 2009 13:04:53 +0000 (13:04 +0000)]
Use a simple expression now that ldwarning is available as an assert action.

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

15 years agoDocumented the new .assert actions.
uz [Sun, 4 Oct 2009 13:03:56 +0000 (13:03 +0000)]
Documented the new .assert actions.

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

15 years agoUse the new ldwarning assert action.
uz [Sun, 4 Oct 2009 12:42:32 +0000 (12:42 +0000)]
Use the new ldwarning assert action.

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

15 years agoAdd .assert actions that aren't evaluated at assembly time.
uz [Sun, 4 Oct 2009 12:40:19 +0000 (12:40 +0000)]
Add .assert actions that aren't evaluated at assembly time.

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

15 years agoIgnore start address in cbm_opendir. Rearrange the code somewhat to make it
uz [Sat, 3 Oct 2009 18:38:39 +0000 (18:38 +0000)]
Ignore start address in cbm_opendir. Rearrange the code somewhat to make it
shorter.

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

15 years agoUpdated (and sorted) sample program info.
ol.sc [Sat, 3 Oct 2009 11:28:42 +0000 (11:28 +0000)]
Updated (and sorted) sample program info.

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

15 years agoMade compatible with the Apple ][ machines, but without timing (like mandelbrot).
ol.sc [Sat, 3 Oct 2009 11:17:39 +0000 (11:17 +0000)]
Made compatible with the Apple ][ machines, but without timing (like mandelbrot).

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

15 years agoLeveraged tgi_stddrv (like tgidemo).
ol.sc [Sat, 3 Oct 2009 11:10:26 +0000 (11:10 +0000)]
Leveraged tgi_stddrv (like tgidemo).

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

15 years agoAdjusted error message to recent change.
ol.sc [Sat, 3 Oct 2009 11:07:10 +0000 (11:07 +0000)]
Adjusted error message to recent change.

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

15 years agoAdded a note about the builtin search paths
uz [Fri, 2 Oct 2009 20:52:40 +0000 (20:52 +0000)]
Added a note about the builtin search paths

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

15 years agoFixed messed up line endings.
ol.sc [Fri, 2 Oct 2009 20:15:14 +0000 (20:15 +0000)]
Fixed messed up line endings.

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

15 years agoAdded docs for all the tgi functions and improved Lynx documentation V2.13.0rc4
uz [Fri, 2 Oct 2009 14:29:17 +0000 (14:29 +0000)]
Added docs for all the tgi functions and improved Lynx documentation
(contributed by Karri Kaksonen).

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

15 years agoFixed problems that were introduced with r4287.
uz [Thu, 1 Oct 2009 21:53:55 +0000 (21:53 +0000)]
Fixed problems that were introduced with r4287.

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

15 years agoThe combined assignment operator (-=, +=, ...) did not check that the rhs is
uz [Thu, 1 Oct 2009 19:41:40 +0000 (19:41 +0000)]
The combined assignment operator (-=, +=, ...) did not check that the rhs is
actually an integer.

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

15 years agoMade stacksize user-adjustable on the cmdline. V2.13.0rc2
ol.sc [Thu, 1 Oct 2009 17:00:10 +0000 (17:00 +0000)]
Made stacksize user-adjustable on the cmdline.

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

15 years agoFixed typos and line endings.
ol.sc [Thu, 1 Oct 2009 15:41:24 +0000 (15:41 +0000)]
Fixed typos and line endings.

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

15 years agoFixed a naming problem (Stefan Haubenthal).
uz [Thu, 1 Oct 2009 14:46:26 +0000 (14:46 +0000)]
Fixed a naming problem (Stefan Haubenthal).

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

15 years agoAdded an additional precondition before replacing code in OptPushPop. Fixed a
uz [Thu, 1 Oct 2009 14:39:26 +0000 (14:39 +0000)]
Added an additional precondition before replacing code in OptPushPop. Fixed a
few places where new code was inserted after existing code instead the other
way round.

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

15 years agoLynx updates by Karri Kaksonen.
uz [Thu, 1 Oct 2009 14:09:19 +0000 (14:09 +0000)]
Lynx updates by Karri Kaksonen.

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

15 years agoUpdated doc to better reflect current code.
ol.sc [Wed, 30 Sep 2009 21:54:20 +0000 (21:54 +0000)]
Updated doc to better reflect current code.

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

15 years agoAnother small change in OptJumpTarget3.
uz [Wed, 30 Sep 2009 14:52:46 +0000 (14:52 +0000)]
Another small change in OptJumpTarget3.

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

15 years agoAdded an additional precondition check to OptJumpTarget3.
uz [Wed, 30 Sep 2009 14:10:13 +0000 (14:10 +0000)]
Added an additional precondition check to OptJumpTarget3.

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

15 years agoThis is what was actually meant in the first place.
ol.sc [Wed, 30 Sep 2009 08:04:34 +0000 (08:04 +0000)]
This is what was actually meant in the first place.

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

15 years agoNew optimization step
uz [Tue, 29 Sep 2009 18:46:25 +0000 (18:46 +0000)]
New optimization step

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

15 years agoReplace tabs by spaces in file lists.
uz [Tue, 29 Sep 2009 13:32:09 +0000 (13:32 +0000)]
Replace tabs by spaces in file lists.

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

15 years agoFixes for the watcom makefiles:
uz [Tue, 29 Sep 2009 13:08:23 +0000 (13:08 +0000)]
Fixes for the watcom makefiles:
  * Increase the stack size to 64K (instead of 4096). This solves a
    memory overwrite problem with the DOS version.
  * Generate a mapfile, but set it to "ignored" in svn.
  * Be somewhat more specific in zap.

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

15 years agoUse "override" when appending to CFLAGS, so this works even when CFLAGS is
uz [Tue, 29 Sep 2009 13:06:35 +0000 (13:06 +0000)]
Use "override" when appending to CFLAGS, so this works even when CFLAGS is
specified on the command line.

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

15 years agoCreate the .inc files before creating the dependency file, so we avoid
uz [Tue, 29 Sep 2009 11:59:10 +0000 (11:59 +0000)]
Create the .inc files before creating the dependency file, so we avoid
problems with files that weren't found.

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

15 years agoSmall doc update by Stefan Haubenthal
uz [Mon, 28 Sep 2009 22:25:00 +0000 (22:25 +0000)]
Small doc update by Stefan Haubenthal

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

15 years agoImproved cbm_dir routines by Thomas Giesel.
uz [Mon, 28 Sep 2009 22:01:58 +0000 (22:01 +0000)]
Improved cbm_dir routines by Thomas Giesel.

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

15 years agoAdded documentation on using GNU Make for building cc65 projects.
ol.sc [Mon, 28 Sep 2009 21:55:51 +0000 (21:55 +0000)]
Added documentation on using GNU Make for building cc65 projects.

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

15 years agoMove the version numbers from the interface of the version module into a new
uz [Mon, 28 Sep 2009 20:10:01 +0000 (20:10 +0000)]
Move the version numbers from the interface of the version module into a new
implementation. Allow for release candidates to be specified and disinguished.

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

15 years agoImproved Makefile by Greg King. V2.13.0rc1
uz [Mon, 28 Sep 2009 19:22:02 +0000 (19:22 +0000)]
Improved Makefile by Greg King.

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

15 years agoFixed more bugs, shortened the code where possible.
uz [Mon, 28 Sep 2009 18:39:55 +0000 (18:39 +0000)]
Fixed more bugs, shortened the code where possible.

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

15 years agoFixed two bugs, made the sources somewhat better readable.
uz [Mon, 28 Sep 2009 17:47:33 +0000 (17:47 +0000)]
Fixed two bugs, made the sources somewhat better readable.

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

15 years agoFixed warnings generated by clang (run by Per Olofsson).
uz [Mon, 28 Sep 2009 15:59:18 +0000 (15:59 +0000)]
Fixed warnings generated by clang (run by Per Olofsson).

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

15 years agoNew version by Greg King.
uz [Mon, 28 Sep 2009 15:31:03 +0000 (15:31 +0000)]
New version by Greg King.

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

15 years agoMakefile simplification by Greg King
uz [Mon, 28 Sep 2009 15:30:10 +0000 (15:30 +0000)]
Makefile simplification by Greg King

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

15 years agoStefan Haubenthal fixed a few typos.
uz [Mon, 28 Sep 2009 07:29:56 +0000 (07:29 +0000)]
Stefan Haubenthal fixed a few typos.

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

15 years agoAdjusted driver to the recent kernel interface change (code rearrange ment necessary...
ol.sc [Sun, 27 Sep 2009 23:26:41 +0000 (23:26 +0000)]
Adjusted driver to the recent kernel interface change (code rearrange ment necessary to stay in 6502 branch reach).

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

15 years agoMade sure the bounding box coordinates stay in reasonable ranges.
ol.sc [Sun, 27 Sep 2009 22:33:12 +0000 (22:33 +0000)]
Made sure the bounding box coordinates stay in reasonable ranges.

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

15 years agoChanged the solution for the PLOT problem with old -02 kernals to that used
uz [Sun, 27 Sep 2009 18:45:08 +0000 (18:45 +0000)]
Changed the solution for the PLOT problem with old -02 kernals to that used
for the VIC20: PLOT is not an kernal entry but a library function that will
do the right stuff. This makes it work with other stuff that calls PLOT, too.

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

15 years agoMake the watcom makefiles a bit more openwatcom compatible.
uz [Sun, 27 Sep 2009 18:40:00 +0000 (18:40 +0000)]
Make the watcom makefiles a bit more openwatcom compatible.

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

15 years agoLet vsprintf call vsnprintf to save code.
uz [Sun, 27 Sep 2009 12:18:06 +0000 (12:18 +0000)]
Let vsprintf call vsnprintf to save code.

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

15 years agoAdded an untested implementation of snprintf.
uz [Sun, 27 Sep 2009 12:11:05 +0000 (12:11 +0000)]
Added an untested implementation of snprintf.

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

15 years agoAdded an (only roughly tested) implementation of vsnprintf
uz [Sun, 27 Sep 2009 12:04:36 +0000 (12:04 +0000)]
Added an (only roughly tested) implementation of vsnprintf

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

15 years agoAdded prototypes for snprintf/vsnprintf to stdio.h
uz [Sun, 27 Sep 2009 12:03:07 +0000 (12:03 +0000)]
Added prototypes for snprintf/vsnprintf to stdio.h

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

15 years agoAdd mouse_setbox/mouse_getbox to the demo.
uz [Sun, 27 Sep 2009 11:24:43 +0000 (11:24 +0000)]
Add mouse_setbox/mouse_getbox to the demo.

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

15 years agoFixed bug triggered if all 8 io buffer slots may be used.
ol.sc [Sat, 26 Sep 2009 21:32:05 +0000 (21:32 +0000)]
Fixed bug triggered if all 8 io buffer slots may be used.

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

15 years agoThe _printf routine does not return anything.
uz [Sat, 26 Sep 2009 19:20:51 +0000 (19:20 +0000)]
The _printf routine does not return anything.

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

15 years agoCast the (unused) result of CHECK and PRECONDITION to void to (hopefully) get
uz [Sat, 26 Sep 2009 18:55:00 +0000 (18:55 +0000)]
Cast the (unused) result of CHECK and PRECONDITION to void to (hopefully) get
rid of a clang warning.

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

15 years agoComment out the RegVal function using #if to get rid of the compiler warning
uz [Sat, 26 Sep 2009 18:54:00 +0000 (18:54 +0000)]
Comment out the RegVal function using #if to get rid of the compiler warning
about an unused function.

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

15 years agoPackage additional linker configs for the apple2enh
uz [Sat, 26 Sep 2009 16:12:52 +0000 (16:12 +0000)]
Package additional linker configs for the apple2enh

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

15 years agoSeparate the linker config for the apple2enh target from the ones for the
uz [Sat, 26 Sep 2009 16:12:02 +0000 (16:12 +0000)]
Separate the linker config for the apple2enh target from the ones for the
apple2.

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

15 years agoFix the plot routine to work with the buggy -02 kernal.
uz [Sat, 26 Sep 2009 15:56:29 +0000 (15:56 +0000)]
Fix the plot routine to work with the buggy -02 kernal.

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

15 years agoOOPS! Forgot to add the mouse_getbox and mouse_setbox modules to subversion.
uz [Sat, 26 Sep 2009 15:19:14 +0000 (15:19 +0000)]
OOPS! Forgot to add the mouse_getbox and mouse_setbox modules to subversion.

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

15 years agoChanged the existing Commodore mouse drivers for the new API. UNTESTED!
uz [Sat, 26 Sep 2009 11:35:32 +0000 (11:35 +0000)]
Changed the existing Commodore mouse drivers for the new API. UNTESTED!

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

15 years agoDocumented the new mouse_setbox() and mouse_getbox functions.
uz [Sat, 26 Sep 2009 11:14:46 +0000 (11:14 +0000)]
Documented the new mouse_setbox() and mouse_getbox functions.

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

15 years agoChanged the mouse API: mouse_box is gone, there are now mouse_getbox and
uz [Sat, 26 Sep 2009 11:11:14 +0000 (11:11 +0000)]
Changed the mouse API: mouse_box is gone, there are now mouse_getbox and
mouse_setbox instead. Beware: Current drivers will crash until they're
changed!

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