]> git.sur5r.net Git - cc65/log
cc65
15 years agoFixed a bug (wrong order of variables).
uz [Sun, 1 Nov 2009 21:53:22 +0000 (21:53 +0000)]
Fixed a bug (wrong order of variables).

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

15 years agoPreparations for use of vectorfonts.
uz [Sun, 1 Nov 2009 21:49:09 +0000 (21:49 +0000)]
Preparations for use of vectorfonts.

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

15 years agoSome small format changes. Output name is input name + '.tch'.
uz [Sun, 1 Nov 2009 21:33:28 +0000 (21:33 +0000)]
Some small format changes. Output name is input name + '.tch'.

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

15 years agoReplaced obsolete 'codeseg' with 'code-name'.
ol.sc [Sun, 1 Nov 2009 10:48:43 +0000 (10:48 +0000)]
Replaced obsolete 'codeseg' with 'code-name'.

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

15 years agoWrote the actual conversion. Still untested.
uz [Sat, 31 Oct 2009 15:42:59 +0000 (15:42 +0000)]
Wrote the actual conversion. Still untested.

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

15 years agoFixed a problem introduced with the last change.
uz [Sat, 31 Oct 2009 14:01:22 +0000 (14:01 +0000)]
Fixed a problem introduced with the last change.

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

15 years agoFixed a problem with OptJumpTarget3. In a loop over all elements of a
uz [Sat, 31 Oct 2009 10:36:59 +0000 (10:36 +0000)]
Fixed a problem with OptJumpTarget3. In a loop over all elements of a
collection that may remove something from the collection, we may not use an
upcounting loop.

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

15 years agoFile reading, verification and comments.
uz [Fri, 30 Oct 2009 22:34:08 +0000 (22:34 +0000)]
File reading, verification and comments.

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

15 years agoChanges to the TGI driver API:
ol.sc [Fri, 30 Oct 2009 21:44:36 +0000 (21:44 +0000)]
Changes to the TGI driver API:

  * Removed CIRCLE
  * Aspect ratio is a new header variable
  * Removed the reserved bytes - it's easier to bump the API version
  * Clipping is done completely in the wrapper

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

15 years agoAdded the chrcvt vector font converter to the top level makefile.
uz [Fri, 30 Oct 2009 21:35:25 +0000 (21:35 +0000)]
Added the chrcvt vector font converter to the top level makefile.

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

15 years agoCreated the skeleton of the vector font converter.
uz [Fri, 30 Oct 2009 21:34:40 +0000 (21:34 +0000)]
Created the skeleton of the vector font converter.

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

15 years agoStart of TGI changes. Untested, may not work.
uz [Fri, 30 Oct 2009 21:26:35 +0000 (21:26 +0000)]
Start of TGI changes. Untested, may not work.

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

15 years agoRewrote the sinus display using the new cc65_sin function.
uz [Fri, 30 Oct 2009 14:03:21 +0000 (14:03 +0000)]
Rewrote the sinus display using the new cc65_sin function.

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

15 years agoFixed the return types of the sine/cosine functions. Added comments.
uz [Fri, 30 Oct 2009 14:02:24 +0000 (14:02 +0000)]
Fixed the return types of the sine/cosine functions. Added comments.

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

15 years agoAdded new header file.
uz [Fri, 30 Oct 2009 10:01:31 +0000 (10:01 +0000)]
Added new header file.

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

15 years agoMerged the sine/cosine routines into one file, because they're often used
uz [Fri, 30 Oct 2009 09:58:11 +0000 (09:58 +0000)]
Merged the sine/cosine routines into one file, because they're often used
together, we save some code in this case, and the sine table isn't of real use
for programs, because it contains some specialities.

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

15 years agoAdded fixpoint sine and cosine functions.
uz [Thu, 29 Oct 2009 23:19:00 +0000 (23:19 +0000)]
Added fixpoint sine and cosine functions.

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

15 years agoChanges to the TGI driver API:
ol.sc [Thu, 29 Oct 2009 23:11:46 +0000 (23:11 +0000)]
Changes to the TGI driver API:

  * Removed CIRCLE
  * Aspect ratio is a new header variable
  * Removed the reserved bytes - it's easier to bump the API version
  * Clipping is done completely in the wrapper

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

15 years agoAllow fully scoped labels and constants instead of normal ones. This breaks
uz [Thu, 29 Oct 2009 20:30:41 +0000 (20:30 +0000)]
Allow fully scoped labels and constants instead of normal ones. This breaks
the barrier between scopes: It is now possible to introduce symbols into a
foreign scope, provided that it's name is known.

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

15 years agoChanges to the TGI driver API:
uz [Thu, 29 Oct 2009 20:13:56 +0000 (20:13 +0000)]
Changes to the TGI driver API:

  * Removed CIRCLE
  * Aspect ratio is a new header variable
  * Removed the reserved bytes - it's easier to bump the API version
  * Clipping is done completely in the wrapper

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

15 years agoChanged 'Clear the screen' to 'Clear the drawpage'.
ol.sc [Tue, 27 Oct 2009 21:20:06 +0000 (21:20 +0000)]
Changed 'Clear the screen' to 'Clear the drawpage'.

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

15 years agoLynx TGI driver update by Karri Kaksonen. Adds collision detection.
uz [Mon, 26 Oct 2009 19:28:11 +0000 (19:28 +0000)]
Lynx TGI driver update by Karri Kaksonen. Adds collision detection.

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

15 years agoAdded a first version of a Cohen Sutherland line clipper. This version
uz [Mon, 26 Oct 2009 15:37:51 +0000 (15:37 +0000)]
Added a first version of a Cohen Sutherland line clipper. This version
basically works, but has rounding problems and an intermediate result overflow
in the multiplication, which causes for larger lines.

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

15 years agoAdded another optimization step.
uz [Mon, 26 Oct 2009 10:17:53 +0000 (10:17 +0000)]
Added another optimization step.

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

15 years agoFixed a bug in the last change. For variables that have no initializer, no
uz [Mon, 26 Oct 2009 10:17:17 +0000 (10:17 +0000)]
Fixed a bug in the last change. For variables that have no initializer, no
storage was allocated if -Cl (static locals) was in effect.

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

15 years agoRemoved an unused table.
uz [Sat, 24 Oct 2009 19:37:57 +0000 (19:37 +0000)]
Removed an unused table.

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

15 years agoRearranged/duplicated optimization steps to generate better code in a few
uz [Fri, 23 Oct 2009 10:03:46 +0000 (10:03 +0000)]
Rearranged/duplicated optimization steps to generate better code in a few
cases.

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

15 years agoRestructured parts of locals.c. This will also fix a problem where arrays with
uz [Fri, 23 Oct 2009 09:22:17 +0000 (09:22 +0000)]
Restructured parts of locals.c. This will also fix a problem where arrays with
unspecified size but an initializer would cause an error when -Cl (static
locals) was in effect.

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

15 years agoRemove 65C02 code, because in this case, the value of Y on return is always
uz [Tue, 20 Oct 2009 08:25:58 +0000 (08:25 +0000)]
Remove 65C02 code, because in this case, the value of Y on return is always
zero, which can be used by the optimizer.

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

15 years agoFixed a problem with bit-fields: Values spanning more than a byte must always
uz [Tue, 20 Oct 2009 08:21:12 +0000 (08:21 +0000)]
Fixed a problem with bit-fields: Values spanning more than a byte must always
be loaded as an int. This was not the case if the expression rhs was a char.

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

15 years agoThe CodeEntry buffer array was one entry to small.
uz [Mon, 19 Oct 2009 19:37:28 +0000 (19:37 +0000)]
The CodeEntry buffer array was one entry to small.

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

15 years agoAdded another optimization step.
uz [Mon, 19 Oct 2009 19:12:50 +0000 (19:12 +0000)]
Added another optimization step.

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

15 years agoAdded a makefile for cc65 for testing purposes.
uz [Mon, 19 Oct 2009 18:02:40 +0000 (18:02 +0000)]
Added a makefile for cc65 for testing purposes.

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

15 years agoAdded missing definitions, fixed copy&paste errors. Formatting.
uz [Mon, 19 Oct 2009 18:00:25 +0000 (18:00 +0000)]
Added missing definitions, fixed copy&paste errors. Formatting.

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

15 years agoRemove __CC65__ since it doesn't support all attributes gcc does.
uz [Mon, 19 Oct 2009 17:55:49 +0000 (17:55 +0000)]
Remove __CC65__ since it doesn't support all attributes gcc does.

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

15 years agoMark an unsed parameter as unused. __attribute__ also supported by cc65.
uz [Mon, 19 Oct 2009 17:25:43 +0000 (17:25 +0000)]
Mark an unsed parameter as unused. __attribute__ also supported by cc65.

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

15 years agoRenamed attribute handling functions. Added SymHasAttr().
uz [Mon, 19 Oct 2009 10:19:26 +0000 (10:19 +0000)]
Renamed attribute handling functions. Added SymHasAttr().

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

15 years agoMarked abort() and longjmp() with __attribute__((noreturn)).
uz [Mon, 19 Oct 2009 09:29:09 +0000 (09:29 +0000)]
Marked abort() and longjmp() with __attribute__((noreturn)).

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

15 years agoChanged handling of attributes to a more generic form (it's allowed in each
uz [Sun, 18 Oct 2009 21:42:59 +0000 (21:42 +0000)]
Changed handling of attributes to a more generic form (it's allowed in each
declaration now) and added a new attribute "unused" to flag unused parameters,
variables or functions that shouldn't be warned about.

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

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