]> git.sur5r.net Git - cc65/log
cc65
22 years agoSmall but significant shift optimization
cuz [Thu, 21 Nov 2002 01:08:14 +0000 (01:08 +0000)]
Small but significant shift optimization

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

22 years agoWorking on the auto build
cuz [Wed, 20 Nov 2002 21:16:14 +0000 (21:16 +0000)]
Working on the auto build

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

22 years agoWorking on the auto build
cuz [Wed, 20 Nov 2002 21:00:29 +0000 (21:00 +0000)]
Working on the auto build

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

22 years agoWorking on the auto build
cuz [Wed, 20 Nov 2002 20:55:14 +0000 (20:55 +0000)]
Working on the auto build

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

22 years agoFixed bad date
cuz [Wed, 20 Nov 2002 20:47:49 +0000 (20:47 +0000)]
Fixed bad date

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

22 years agoPreparing auto build
cuz [Wed, 20 Nov 2002 20:40:20 +0000 (20:40 +0000)]
Preparing auto build

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

22 years agoAdd declaration of __errno
cuz [Wed, 20 Nov 2002 18:14:53 +0000 (18:14 +0000)]
Add declaration of __errno

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

22 years agoMove more common code into rwcommon.s.
cuz [Wed, 20 Nov 2002 18:14:35 +0000 (18:14 +0000)]
Move more common code into rwcommon.s.
Move declaration of __errno into errno.inc.

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

22 years agoCommiting some old changes
cuz [Wed, 20 Nov 2002 17:04:29 +0000 (17:04 +0000)]
Commiting some old changes

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

22 years agoIgnore module.inc
cuz [Wed, 20 Nov 2002 17:03:14 +0000 (17:03 +0000)]
Ignore module.inc

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

22 years agoUse the POSIX file I/O functions instead of the high level C routines to
cuz [Wed, 20 Nov 2002 14:22:26 +0000 (14:22 +0000)]
Use the POSIX file I/O functions instead of the high level C routines to
save some overhead. Adapt to the new read conventions in modload.

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

22 years agoNew calling conventions for read
cuz [Wed, 20 Nov 2002 14:21:10 +0000 (14:21 +0000)]
New calling conventions for read

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

22 years agoMoved the zero page locations for the PET machines
cuz [Wed, 20 Nov 2002 01:34:56 +0000 (01:34 +0000)]
Moved the zero page locations for the PET machines

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

22 years agoAdded kernal replacement routines
cuz [Wed, 20 Nov 2002 01:31:56 +0000 (01:31 +0000)]
Added kernal replacement routines

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

22 years agoUse external symbols for the CBM kernal jump table functions. This allows
cuz [Tue, 19 Nov 2002 23:02:47 +0000 (23:02 +0000)]
Use external symbols for the CBM kernal jump table functions. This allows
to emulate these functions on platforms where one or more of these functions
are not available (PET, CBM-II).

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

22 years agoFixed open flags for append mode
cuz [Tue, 19 Nov 2002 14:35:07 +0000 (14:35 +0000)]
Fixed open flags for append mode

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

22 years agoAdd support for append mode
cuz [Tue, 19 Nov 2002 14:27:06 +0000 (14:27 +0000)]
Add support for append mode

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

22 years agoAllow more chars in filenames
cuz [Mon, 18 Nov 2002 19:37:02 +0000 (19:37 +0000)]
Allow more chars in filenames

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

22 years agoFixed a bug: Because of a wrong label position the code that cleared the
cuz [Mon, 18 Nov 2002 18:54:36 +0000 (18:54 +0000)]
Fixed a bug: Because of a wrong label position the code that cleared the
BSS was skipped.

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

22 years agoDon't check the IEEE status
cuz [Mon, 18 Nov 2002 18:22:26 +0000 (18:22 +0000)]
Don't check the IEEE status

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

22 years agoUse C file I/O
cuz [Mon, 18 Nov 2002 18:21:21 +0000 (18:21 +0000)]
Use C file I/O

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

22 years agoRemoved duplicate line
cuz [Mon, 18 Nov 2002 17:37:49 +0000 (17:37 +0000)]
Removed duplicate line

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

22 years agoStore directly into zeropage
cuz [Mon, 18 Nov 2002 17:37:13 +0000 (17:37 +0000)]
Store directly into zeropage

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

22 years agoSet the file name bank to bank zero on startup to make our file routines
cuz [Mon, 18 Nov 2002 11:16:18 +0000 (11:16 +0000)]
Set the file name bank to bank zero on startup to make our file routines
work.

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

22 years agoNew module fileio-test.c
cuz [Sun, 17 Nov 2002 23:00:14 +0000 (23:00 +0000)]
New module fileio-test.c

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

22 years agoWorking on the CBM file functions
cuz [Sun, 17 Nov 2002 22:45:55 +0000 (22:45 +0000)]
Working on the CBM file functions

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

22 years agoAdded posixio-test.c
cuz [Sun, 17 Nov 2002 22:44:55 +0000 (22:44 +0000)]
Added posixio-test.c

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

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