]> git.sur5r.net Git - cc65/log
cc65
22 years agoFinally: Commodore file I/O
cuz [Sat, 16 Nov 2002 23:45:15 +0000 (23:45 +0000)]
Finally: Commodore file I/O

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

22 years agoMake close() fastcall
cuz [Sat, 16 Nov 2002 19:38:37 +0000 (19:38 +0000)]
Make close() fastcall

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

22 years agoRenamed fmode.inc -> fcntl.inc
cuz [Sat, 16 Nov 2002 16:35:47 +0000 (16:35 +0000)]
Renamed fmode.inc -> fcntl.inc

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

22 years agoMoved fmode.inc -> fcntl.inc, add new constants
cuz [Sat, 16 Nov 2002 16:35:15 +0000 (16:35 +0000)]
Moved fmode.inc -> fcntl.inc, add new constants

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

22 years agoreplaced reference to vlink utility with grc call with proper options
izydorst [Sat, 16 Nov 2002 13:27:10 +0000 (13:27 +0000)]
replaced reference to vlink utility with grc call with proper options

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

22 years agoFix open flags, minor optimization
cuz [Fri, 15 Nov 2002 23:52:39 +0000 (23:52 +0000)]
Fix open flags, minor optimization

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

22 years agocbm_write is not __fastcall__
cuz [Fri, 15 Nov 2002 18:42:06 +0000 (18:42 +0000)]
cbm_write is not __fastcall__

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

22 years agoRewrite cbm_write() in assembler
cuz [Fri, 15 Nov 2002 18:21:32 +0000 (18:21 +0000)]
Rewrite cbm_write() in assembler

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

22 years agoFixed an error in struct compare. For one, the behaviour was not standard
cuz [Fri, 15 Nov 2002 13:19:46 +0000 (13:19 +0000)]
Fixed an error in struct compare. For one, the behaviour was not standard
compliant, because struct tags were not compare, second, this lead to an
endless loop of recursive calls for a special case of wrong C code.

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

22 years agoRemoved unused code
cuz [Thu, 14 Nov 2002 22:52:29 +0000 (22:52 +0000)]
Removed unused code

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

22 years agoFixed a bug
cuz [Thu, 14 Nov 2002 22:52:10 +0000 (22:52 +0000)]
Fixed a bug

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

22 years agoNew function ReplaceType
cuz [Thu, 14 Nov 2002 22:51:59 +0000 (22:51 +0000)]
New function ReplaceType

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

22 years agoMake small functions inline
cuz [Thu, 14 Nov 2002 22:51:39 +0000 (22:51 +0000)]
Make small functions inline

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

22 years agoadded cursor.c and seek.c
cpg [Wed, 13 Nov 2002 18:59:12 +0000 (18:59 +0000)]
added cursor.c and seek.c

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

22 years agoFixed %W/%U
cuz [Wed, 13 Nov 2002 18:08:36 +0000 (18:08 +0000)]
Fixed %W/%U

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

22 years agoExtended the test
cuz [Wed, 13 Nov 2002 13:36:28 +0000 (13:36 +0000)]
Extended the test

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

22 years agoCall strftime instead of formatting the time manually
cuz [Wed, 13 Nov 2002 13:28:45 +0000 (13:28 +0000)]
Call strftime instead of formatting the time manually

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

22 years agoFixed a bug
cuz [Wed, 13 Nov 2002 13:26:05 +0000 (13:26 +0000)]
Fixed a bug

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

22 years agoFixed precision bug in printf family
cuz [Wed, 13 Nov 2002 13:17:28 +0000 (13:17 +0000)]
Fixed precision bug in printf family

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

22 years agoAdded strftime
cuz [Wed, 13 Nov 2002 13:08:46 +0000 (13:08 +0000)]
Added strftime

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

22 years agoCosmetic changes
cuz [Wed, 13 Nov 2002 08:56:45 +0000 (08:56 +0000)]
Cosmetic changes

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

22 years agoAdded _systime for all platforms
cuz [Tue, 12 Nov 2002 22:49:38 +0000 (22:49 +0000)]
Added _systime for all platforms

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

22 years agoCall _systime instead of always returning -1
cuz [Tue, 12 Nov 2002 22:36:02 +0000 (22:36 +0000)]
Call _systime instead of always returning -1

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

22 years agoAdded _systime
cuz [Tue, 12 Nov 2002 22:35:40 +0000 (22:35 +0000)]
Added _systime

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

22 years agoAdded lots of functions from time.h
cuz [Tue, 12 Nov 2002 22:06:02 +0000 (22:06 +0000)]
Added lots of functions from time.h

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

22 years agoMore time functions
cuz [Tue, 12 Nov 2002 22:01:32 +0000 (22:01 +0000)]
More time functions

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

22 years agoNew module time-test.c
cuz [Tue, 12 Nov 2002 22:01:17 +0000 (22:01 +0000)]
New module time-test.c

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

22 years agoAdd the time() function
cuz [Tue, 12 Nov 2002 19:54:30 +0000 (19:54 +0000)]
Add the time() function

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

22 years agoMake exit a fastcall function
cuz [Mon, 11 Nov 2002 23:24:17 +0000 (23:24 +0000)]
Make exit a fastcall function

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

22 years agoDocument some more functions
cuz [Mon, 11 Nov 2002 23:23:49 +0000 (23:23 +0000)]
Document some more functions

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

22 years agoHandle arguments outside char range correctly
cuz [Mon, 11 Nov 2002 11:58:20 +0000 (11:58 +0000)]
Handle arguments outside char range correctly

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

22 years agomore info about GetRandom vs. rand
izydorst [Sun, 10 Nov 2002 15:52:26 +0000 (15:52 +0000)]
more info about GetRandom vs. rand

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

22 years agoadded _randomize() implementation
izydorst [Sun, 10 Nov 2002 15:48:57 +0000 (15:48 +0000)]
added _randomize() implementation

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

22 years agoRemoved GEOS rand.s implementation in favor of random number generator from common...
izydorst [Sun, 10 Nov 2002 15:35:10 +0000 (15:35 +0000)]
Removed GEOS rand.s implementation in favor of random number generator from common library.

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

22 years agoStarted a function reference
cuz [Thu, 7 Nov 2002 19:10:34 +0000 (19:10 +0000)]
Started a function reference

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

22 years agoNew _randomize() function, do some cleanup on apple2.inc
cuz [Thu, 7 Nov 2002 12:16:15 +0000 (12:16 +0000)]
New _randomize() function, do some cleanup on apple2.inc

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

22 years agouse always a sector size of 128 for sectors 1 to 3, ignore
cpg [Wed, 6 Nov 2002 23:02:48 +0000 (23:02 +0000)]
use always a sector size of 128 for sectors 1 to 3, ignore
sst_sectsize

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

22 years agoadded randomize
cpg [Wed, 6 Nov 2002 22:21:15 +0000 (22:21 +0000)]
added randomize

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

22 years agozap also deletes *.tgi files
cpg [Wed, 6 Nov 2002 21:58:00 +0000 (21:58 +0000)]
zap also deletes *.tgi files

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

22 years agoMoved _vic.h to _vic2.h. Renamed __vic to __vic2.
cuz [Tue, 5 Nov 2002 20:33:50 +0000 (20:33 +0000)]
Moved _vic.h to _vic2.h. Renamed __vic to __vic2.
Added a new file _vic.h for the VIC (1) used in the VIC20.
Added the VIC chip to vic20.h.

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

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