]> git.sur5r.net Git - cc65/log
cc65
22 years agoAdd _randomize.
cuz [Tue, 5 Nov 2002 20:23:06 +0000 (20:23 +0000)]
Add _randomize.
Make realloc __fastcall__.
Make identifiers with a leading underscore visible even if __STRICT_ANSI__ is
defined, since those don't pollute the application namespace.

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

22 years agoMake realloc a __fastcall__ function
cuz [Tue, 5 Nov 2002 20:21:14 +0000 (20:21 +0000)]
Make realloc a __fastcall__ function

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

22 years agoRenamed randomize to _randomize
cuz [Tue, 5 Nov 2002 20:17:38 +0000 (20:17 +0000)]
Renamed randomize to _randomize

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

22 years agoChange initial seed to 1
cuz [Tue, 5 Nov 2002 13:19:43 +0000 (13:19 +0000)]
Change initial seed to 1

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

22 years agoNew randomize() function for nearly all platforms
cuz [Tue, 5 Nov 2002 10:48:20 +0000 (10:48 +0000)]
New randomize() function for nearly all platforms

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

22 years agoturn on cursor before returning to DOS
cpg [Tue, 5 Nov 2002 00:35:16 +0000 (00:35 +0000)]
turn on cursor before returning to DOS

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

22 years agosome fixes for last change
cpg [Mon, 4 Nov 2002 23:30:19 +0000 (23:30 +0000)]
some fixes for last change

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

22 years agoExtend description of %v inline assembler format specifier
cuz [Mon, 4 Nov 2002 13:57:27 +0000 (13:57 +0000)]
Extend description of %v inline assembler format specifier

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

22 years agoimproved handling of cursor display and position
cpg [Sun, 3 Nov 2002 22:54:52 +0000 (22:54 +0000)]
improved handling of cursor display and position

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

22 years agoinitial check-in
cpg [Sun, 3 Nov 2002 22:52:39 +0000 (22:52 +0000)]
initial check-in

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

22 years agohonour cursor setting
cpg [Sun, 3 Nov 2002 22:10:55 +0000 (22:10 +0000)]
honour cursor setting

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

22 years agoUse constants for datatype sizes
cuz [Sat, 2 Nov 2002 12:39:10 +0000 (12:39 +0000)]
Use constants for datatype sizes

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

22 years agoMoved divt.s from runtime into common because it's a C library function, not a
cuz [Sat, 2 Nov 2002 10:52:36 +0000 (10:52 +0000)]
Moved divt.s from runtime into common because it's a C library function, not a
runtime support function.

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

22 years agoRemove the casts, they are no longer needed
cuz [Fri, 1 Nov 2002 21:27:59 +0000 (21:27 +0000)]
Remove the casts, they are no longer needed

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

22 years agoMove the assignment parser into a separate module.
cuz [Fri, 1 Nov 2002 21:27:31 +0000 (21:27 +0000)]
Move the assignment parser into a separate module.
When assigning structures, copy them using the primary register when the
size is 1, 2, or 4.
When assigning structures, allow structures by value when the size is 1,
2, or 4. These structures are expected to be in the primary register. The
only case when this can happen is by return from function, so this change
makes div() work.

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

22 years agoWork on better type casts - not yet finished
cuz [Fri, 1 Nov 2002 15:16:16 +0000 (15:16 +0000)]
Work on better type casts - not yet finished

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

22 years agoFixed a bug
cuz [Tue, 29 Oct 2002 17:53:17 +0000 (17:53 +0000)]
Fixed a bug

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

22 years agoNo support files in atmos dir
cuz [Mon, 28 Oct 2002 23:35:13 +0000 (23:35 +0000)]
No support files in atmos dir

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

22 years agoExpanded entry for Greg King
cuz [Fri, 25 Oct 2002 20:54:44 +0000 (20:54 +0000)]
Expanded entry for Greg King

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

22 years agoAdded stdbool.h provided by Greg King
cuz [Fri, 25 Oct 2002 20:53:22 +0000 (20:53 +0000)]
Added stdbool.h provided by Greg King

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

22 years agoDivision test program by Greg King
cuz [Fri, 25 Oct 2002 20:48:35 +0000 (20:48 +0000)]
Division test program by Greg King

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

22 years agoAdded the div function
cuz [Fri, 25 Oct 2002 20:46:57 +0000 (20:46 +0000)]
Added the div function

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

22 years agoAdded new div() function written by Greg King
cuz [Fri, 25 Oct 2002 20:42:18 +0000 (20:42 +0000)]
Added new div() function written by Greg King

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

22 years agoMinor optimization suggested by Greg King
cuz [Thu, 24 Oct 2002 19:23:24 +0000 (19:23 +0000)]
Minor optimization suggested by Greg King

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

22 years agoFixed a problem with perror: The error code may get overwritten before it
cuz [Fri, 18 Oct 2002 13:38:23 +0000 (13:38 +0000)]
Fixed a problem with perror: The error code may get overwritten before it
can be output. Report from Greg King.

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

22 years agoNew store optimization.
cuz [Thu, 17 Oct 2002 21:37:01 +0000 (21:37 +0000)]
New store optimization.
New functions RegValIsKnown and RegValIsUnknown should be used instead of
direct compares against zero, so we can change the "unknown" representation
one day.

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

22 years agoFixed error "variable has unknown size" for a local array where the size
cuz [Thu, 17 Oct 2002 21:14:40 +0000 (21:14 +0000)]
Fixed error "variable has unknown size" for a local array where the size
was not given (introduced by last change).

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

22 years agoFixed a buffer overflow (report from Christian Groessler).
cuz [Mon, 14 Oct 2002 16:23:26 +0000 (16:23 +0000)]
Fixed a buffer overflow (report from Christian Groessler).

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

22 years agoFixed some bad looking stuff
cuz [Thu, 10 Oct 2002 21:51:14 +0000 (21:51 +0000)]
Fixed some bad looking stuff

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

22 years agoList of short options were missing
cuz [Thu, 10 Oct 2002 21:47:43 +0000 (21:47 +0000)]
List of short options were missing

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

22 years agoRemove statement about initialization of locals
cuz [Thu, 10 Oct 2002 21:45:44 +0000 (21:45 +0000)]
Remove statement about initialization of locals

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

22 years agoDocument the new #pragma syntax. Add comment about not using the asm names
cuz [Thu, 10 Oct 2002 21:44:19 +0000 (21:44 +0000)]
Document the new #pragma syntax. Add comment about not using the asm names
of global symbols in inline assembler statements.

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

22 years agoRemove paragraph about initializaton of locals
cuz [Thu, 10 Oct 2002 21:16:08 +0000 (21:16 +0000)]
Remove paragraph about initializaton of locals

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

22 years agoAllow initialization of local variables of compound type
cuz [Thu, 10 Oct 2002 21:15:24 +0000 (21:15 +0000)]
Allow initialization of local variables of compound type

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

22 years agoRestructured DeclareLocals()
cuz [Thu, 10 Oct 2002 20:24:16 +0000 (20:24 +0000)]
Restructured DeclareLocals()

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

22 years agoMade a lot of short functions inline
cuz [Thu, 10 Oct 2002 20:23:41 +0000 (20:23 +0000)]
Made a lot of short functions inline

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

22 years agoAdd info about more functions
cuz [Wed, 9 Oct 2002 19:39:45 +0000 (19:39 +0000)]
Add info about more functions

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

22 years agoFixed a bug
cuz [Wed, 9 Oct 2002 19:39:36 +0000 (19:39 +0000)]
Fixed a bug

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

22 years agoAdded more size optimizations, separate module
cuz [Tue, 8 Oct 2002 20:56:00 +0000 (20:56 +0000)]
Added more size optimizations, separate module

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

22 years agoOutput an error if an invalid address is used
cuz [Sun, 6 Oct 2002 20:58:22 +0000 (20:58 +0000)]
Output an error if an invalid address is used

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

22 years agoNew optimizer pass OptShift3.
cuz [Sun, 6 Oct 2002 20:54:01 +0000 (20:54 +0000)]
New optimizer pass OptShift3.
Renamed CE_IsCall to CE_IsCallTo.

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

22 years agoFixed an omission in AdjustStackOffset. Use CS_IsBasicBlock in OptStackOps.
cuz [Sun, 6 Oct 2002 19:03:12 +0000 (19:03 +0000)]
Fixed an omission in AdjustStackOffset. Use CS_IsBasicBlock in OptStackOps.

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

22 years agoImproved implementation of OptPushPop
cuz [Sun, 6 Oct 2002 19:01:46 +0000 (19:01 +0000)]
Improved implementation of OptPushPop

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

22 years agoNew functions CS_ResetMarks, CS_ResetAllMarks and CS_IsBasicBlock.
cuz [Sun, 6 Oct 2002 19:01:16 +0000 (19:01 +0000)]
New functions CS_ResetMarks, CS_ResetAllMarks and CS_IsBasicBlock.

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

22 years agoUse other representations for SCHAR_MIN, SHORT_MIN, INT_MIN and LONG_MIN.
cuz [Sun, 6 Oct 2002 18:59:08 +0000 (18:59 +0000)]
Use other representations for SCHAR_MIN, SHORT_MIN, INT_MIN and LONG_MIN.
Among other things that avoids the compiler warning "constant is long" when
using INT_MIN.

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

22 years agoFixed a string in the help screen
cuz [Sun, 6 Oct 2002 12:03:24 +0000 (12:03 +0000)]
Fixed a string in the help screen

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

22 years agoFixed problem with earlier change
cuz [Sat, 5 Oct 2002 22:55:42 +0000 (22:55 +0000)]
Fixed problem with earlier change

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

22 years agoFix codesize setting
cuz [Sat, 5 Oct 2002 22:37:36 +0000 (22:37 +0000)]
Fix codesize setting

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

22 years agoNew/changed optimizations
cuz [Sat, 5 Oct 2002 20:32:31 +0000 (20:32 +0000)]
New/changed optimizations

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

22 years agoRemove the swapeax routine, it is obsolete
cuz [Sat, 5 Oct 2002 17:59:42 +0000 (17:59 +0000)]
Remove the swapeax routine, it is obsolete

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

22 years agoAdd tgi subdir
cuz [Fri, 4 Oct 2002 19:27:45 +0000 (19:27 +0000)]
Add tgi subdir

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

22 years agoMinor improvement of optimizations
cuz [Fri, 4 Oct 2002 19:27:15 +0000 (19:27 +0000)]
Minor improvement of optimizations

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

22 years agoIncrease the size of some buffers, so we are at the assembler level able to
cuz [Fri, 4 Oct 2002 17:54:46 +0000 (17:54 +0000)]
Increase the size of some buffers, so we are at the assembler level able to
handle any identifiers passed from the C level.

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

22 years agoChanges from Michael Klein
cuz [Thu, 3 Oct 2002 20:10:10 +0000 (20:10 +0000)]
Changes from Michael Klein

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

22 years agoPort plasma to the C128
cuz [Thu, 3 Oct 2002 19:19:25 +0000 (19:19 +0000)]
Port plasma to the C128

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

22 years agoLast change introduced a bug
cuz [Thu, 3 Oct 2002 19:18:06 +0000 (19:18 +0000)]
Last change introduced a bug

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

22 years agoAdded the TGI mode table
cuz [Thu, 3 Oct 2002 18:19:25 +0000 (18:19 +0000)]
Added the TGI mode table

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

22 years agoRemove the ",r" spec
cuz [Thu, 3 Oct 2002 18:16:46 +0000 (18:16 +0000)]
Remove the ",r" spec

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

22 years agoAdded tgidemo
cuz [Thu, 3 Oct 2002 17:36:18 +0000 (17:36 +0000)]
Added tgidemo

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

22 years agoIgnore executables
cuz [Thu, 3 Oct 2002 17:36:00 +0000 (17:36 +0000)]
Ignore executables

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

22 years agoDon't call the driver if we don't have one loaded
cuz [Thu, 3 Oct 2002 13:54:42 +0000 (13:54 +0000)]
Don't call the driver if we don't have one loaded

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

22 years agoRemoved duplicate declaration
cuz [Thu, 3 Oct 2002 13:28:34 +0000 (13:28 +0000)]
Removed duplicate declaration

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

22 years agoUse a #define instead of numeric value
cuz [Thu, 3 Oct 2002 11:20:45 +0000 (11:20 +0000)]
Use a #define instead of numeric value

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

22 years agoStarted to add tgi text output functions
cuz [Thu, 3 Oct 2002 11:18:49 +0000 (11:18 +0000)]
Started to add tgi text output functions

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

22 years agoStarted to add text output functions
cuz [Thu, 3 Oct 2002 11:18:23 +0000 (11:18 +0000)]
Started to add text output functions

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

22 years agoFixed a small bug
cuz [Thu, 3 Oct 2002 09:00:57 +0000 (09:00 +0000)]
Fixed a small bug

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

22 years agoFixed optimizer bug in or/xor
cuz [Wed, 2 Oct 2002 22:21:42 +0000 (22:21 +0000)]
Fixed optimizer bug in or/xor

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

22 years agoPlace all declarations that are local to a function into the local function
cuz [Wed, 2 Oct 2002 13:00:04 +0000 (13:00 +0000)]
Place all declarations that are local to a function into the local function
scope. Apart from some other advantages, this works around a bug where having
an external identifier in global scope and using an "extern" declaration for
exactly the same identifier in a function did not work, because the assembler
refused to export and import one and the same identifier. Since the import
now imports into local scope, both identifiers are distinct for the assembler
and the (valid) C code works.

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

22 years agoAllow more flexible numeric flag pragma arguments
cuz [Tue, 1 Oct 2002 08:13:04 +0000 (08:13 +0000)]
Allow more flexible numeric flag pragma arguments

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

22 years agoFixed a bug
cuz [Mon, 30 Sep 2002 21:58:39 +0000 (21:58 +0000)]
Fixed a bug

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

22 years agoFile had DOS line endings
cuz [Mon, 30 Sep 2002 21:38:07 +0000 (21:38 +0000)]
File had DOS line endings

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

22 years agoIgnore also cr's on input. This allows to compile sources with DOS/Windows
cuz [Mon, 30 Sep 2002 19:32:33 +0000 (19:32 +0000)]
Ignore also cr's on input. This allows to compile sources with DOS/Windows
line separators on unix systems.

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

22 years agoRemoved debug code
cuz [Mon, 30 Sep 2002 19:05:37 +0000 (19:05 +0000)]
Removed debug code

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

22 years agoAdd SB_GetNumber to scanstrbuf.c.
cuz [Mon, 30 Sep 2002 18:46:08 +0000 (18:46 +0000)]
Add SB_GetNumber to scanstrbuf.c.
Rewrite of CharMapPragma in pragma.c
Fixed bug in scanner.c: Invalid octal constants containing the numbers 8
and 9 were accepted by the compiler.
Moved SignExtendChar from scanner.c to datatype.c.

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

22 years agoCall StrBuf destructors
cuz [Sun, 29 Sep 2002 21:15:02 +0000 (21:15 +0000)]
Call StrBuf destructors

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

22 years agoUse the new StrBuf features
cuz [Sun, 29 Sep 2002 21:13:09 +0000 (21:13 +0000)]
Use the new StrBuf features

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

22 years agoRedoing the pragma stuff
cuz [Sun, 29 Sep 2002 21:09:47 +0000 (21:09 +0000)]
Redoing the pragma stuff

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

22 years agoNew function SB_Skip
cuz [Sun, 29 Sep 2002 19:55:38 +0000 (19:55 +0000)]
New function SB_Skip

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

22 years agoAdd a user index to class StrBuf
cuz [Sun, 29 Sep 2002 19:49:55 +0000 (19:49 +0000)]
Add a user index to class StrBuf

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

22 years agoFixed the result of the % operator for longs
cuz [Sat, 28 Sep 2002 19:55:19 +0000 (19:55 +0000)]
Fixed the result of the % operator for longs

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

22 years agoFixed the result of the % operator for ints
cuz [Sat, 28 Sep 2002 19:41:00 +0000 (19:41 +0000)]
Fixed the result of the % operator for ints

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

22 years agoRemove the "empty" segment type
cuz [Fri, 27 Sep 2002 06:59:33 +0000 (06:59 +0000)]
Remove the "empty" segment type

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

22 years agoChange the .LOCAL command so that the cheap local symbol prefix is kept.
cuz [Wed, 25 Sep 2002 21:35:00 +0000 (21:35 +0000)]
Change the .LOCAL command so that the cheap local symbol prefix is kept.
This allows to create macros with local labels that expand to cheap local
symbols when the macro is expanded.
Tip from Dagan Galarneau <dagan@msd.com>

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

22 years agoChanged a function name
cuz [Wed, 25 Sep 2002 10:42:42 +0000 (10:42 +0000)]
Changed a function name

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

22 years agoAdded the __DATE__ and __TIME__ preprocessor macros
cuz [Mon, 23 Sep 2002 21:37:15 +0000 (21:37 +0000)]
Added the __DATE__ and __TIME__ preprocessor macros

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

22 years agoCosmetic changes
cuz [Mon, 23 Sep 2002 21:37:01 +0000 (21:37 +0000)]
Cosmetic changes

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

22 years agoAdded Michael Klein
cuz [Sat, 21 Sep 2002 08:35:43 +0000 (08:35 +0000)]
Added Michael Klein

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

22 years agoWorked around a bug in GNU info
cuz [Fri, 20 Sep 2002 21:56:11 +0000 (21:56 +0000)]
Worked around a bug in GNU info

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

22 years agovsscanf is a C file
cuz [Wed, 18 Sep 2002 20:47:22 +0000 (20:47 +0000)]
vsscanf is a C file

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

22 years agoFix problems building info files, patch from Michael Klein
cuz [Wed, 18 Sep 2002 20:42:39 +0000 (20:42 +0000)]
Fix problems building info files, patch from Michael Klein
<michael.klein@puffin.lb.shuttle.de>.

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

22 years agoAdded debian stuff from Michael Klein <michael.klein@puffin.lb.shuttle.de>
cuz [Wed, 18 Sep 2002 20:41:33 +0000 (20:41 +0000)]
Added debian stuff from Michael Klein <michael.klein@puffin.lb.shuttle.de>

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

22 years agoassert() must be an expression of type void
cuz [Wed, 18 Sep 2002 20:15:49 +0000 (20:15 +0000)]
assert() must be an expression of type void

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

22 years agoImprove type casts for ints.
cuz [Wed, 18 Sep 2002 20:14:51 +0000 (20:14 +0000)]
Improve type casts for ints.
Allow the second and third operand of the :? operator to be of type int.

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

22 years agoFixed a bug
cuz [Mon, 16 Sep 2002 20:13:05 +0000 (20:13 +0000)]
Fixed a bug

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

22 years ago.BLANK was also broken
cuz [Sat, 14 Sep 2002 21:05:12 +0000 (21:05 +0000)]
.BLANK was also broken

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

22 years agoThe .IFNBLANK command was broken
cuz [Sat, 14 Sep 2002 20:56:37 +0000 (20:56 +0000)]
The .IFNBLANK command was broken

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

22 years agoPrepare VIC20 startup for different start addresses
cuz [Sun, 11 Aug 2002 15:11:31 +0000 (15:11 +0000)]
Prepare VIC20 startup for different start addresses

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

22 years agoAllocIf would overwrite memory if the .IF nesting became too deep.
cuz [Sun, 11 Aug 2002 14:49:42 +0000 (14:49 +0000)]
AllocIf would overwrite memory if the .IF nesting became too deep.

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

22 years agofixed error check
izydorst [Sun, 11 Aug 2002 14:38:00 +0000 (14:38 +0000)]
fixed error check

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

22 years agoAdd rule to make zeropage.o in runtime dir if it is missing
cuz [Sun, 11 Aug 2002 12:39:10 +0000 (12:39 +0000)]
Add rule to make zeropage.o in runtime dir if it is missing

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