]> git.sur5r.net Git - cc65/log
cc65
23 years agoAdded new lineinfo module
cuz [Wed, 23 May 2001 07:04:09 +0000 (07:04 +0000)]
Added new lineinfo module

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

23 years agoAdded .dbg statement generation for the assembler
cuz [Tue, 22 May 2001 20:03:26 +0000 (20:03 +0000)]
Added .dbg statement generation for the assembler

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

23 years agoBumped the version
cuz [Tue, 22 May 2001 19:59:37 +0000 (19:59 +0000)]
Bumped the version

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

23 years agoMore polishing to get the line info right
cuz [Tue, 22 May 2001 16:54:47 +0000 (16:54 +0000)]
More polishing to get the line info right

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

23 years agoPolishing and minor corrections
cuz [Tue, 22 May 2001 13:58:56 +0000 (13:58 +0000)]
Polishing and minor corrections

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

23 years agoAdded the lineinfo module. Changed the complete code generation to use the
cuz [Tue, 22 May 2001 09:32:24 +0000 (09:32 +0000)]
Added the lineinfo module. Changed the complete code generation to use the
supplied data structures. Re-added the -T option which is much more exact
now because of the better line info stuff.
Cleanups in the scanner (remove old #defines).

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

23 years agoFix load of longs and improve zero page info
cuz [Tue, 22 May 2001 07:11:22 +0000 (07:11 +0000)]
Fix load of longs and improve zero page info

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

23 years agoWorking
cuz [Mon, 21 May 2001 20:05:52 +0000 (20:05 +0000)]
Working

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

23 years agoWorking
cuz [Mon, 21 May 2001 06:43:46 +0000 (06:43 +0000)]
Working

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

23 years agoWorking
cuz [Sun, 20 May 2001 20:42:00 +0000 (20:42 +0000)]
Working

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

23 years agoFixed a problem with the Chg/Use flags
cuz [Sun, 20 May 2001 18:51:12 +0000 (18:51 +0000)]
Fixed a problem with the Chg/Use flags

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

23 years agoWorking
cuz [Sun, 20 May 2001 09:38:20 +0000 (09:38 +0000)]
Working

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

23 years agoWorking
cuz [Sat, 19 May 2001 21:20:08 +0000 (21:20 +0000)]
Working

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

23 years agoWorking
cuz [Fri, 18 May 2001 20:32:18 +0000 (20:32 +0000)]
Working

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

23 years agoAdded DelCodeEntries
cuz [Thu, 17 May 2001 21:42:41 +0000 (21:42 +0000)]
Added DelCodeEntries

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

23 years agoWorking on the backend
cuz [Wed, 16 May 2001 19:01:19 +0000 (19:01 +0000)]
Working on the backend

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

23 years agoUse :? operator to allow use in expressions
cuz [Wed, 16 May 2001 13:05:06 +0000 (13:05 +0000)]
Use :? operator to allow use in expressions

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

23 years agoRenamed cfeature.h to inline.h
cuz [Wed, 16 May 2001 09:27:35 +0000 (09:27 +0000)]
Renamed cfeature.h to inline.h

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

23 years agoUse inline for better performance
cuz [Wed, 16 May 2001 09:24:42 +0000 (09:24 +0000)]
Use inline for better performance

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

23 years agoWorking on the backend
cuz [Tue, 15 May 2001 22:35:38 +0000 (22:35 +0000)]
Working on the backend

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

23 years agoWorking on the new backend
cuz [Tue, 15 May 2001 19:42:17 +0000 (19:42 +0000)]
Working on the new backend

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

23 years agoMoved some of the currently existing into a separate module.
cuz [Mon, 14 May 2001 17:35:53 +0000 (17:35 +0000)]
Moved some of the currently existing into a separate module.

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

23 years agoAdded backend optimizations
cuz [Wed, 9 May 2001 21:56:03 +0000 (21:56 +0000)]
Added backend optimizations

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

23 years agoThe .defined function (and .ifdef/.ifndef) flagged an imported symbol as
cuz [Tue, 8 May 2001 17:56:39 +0000 (17:56 +0000)]
The .defined function (and .ifdef/.ifndef) flagged an imported symbol as
"defined". I'm not sure whichever is correct, but I changed it now and
will introduce an additional function .isimport if necessary.

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

23 years agoSeveral bug fixes
cuz [Mon, 7 May 2001 22:07:59 +0000 (22:07 +0000)]
Several bug fixes

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

23 years agoWorking on the backend
cuz [Sun, 6 May 2001 20:57:58 +0000 (20:57 +0000)]
Working on the backend

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

23 years agoWorking on the backend
cuz [Sat, 5 May 2001 21:42:58 +0000 (21:42 +0000)]
Working on the backend

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

23 years agoWorking on the new backend
cuz [Sat, 5 May 2001 16:12:47 +0000 (16:12 +0000)]
Working on the new backend

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

23 years agoWorking on the new backend
cuz [Sat, 5 May 2001 14:30:29 +0000 (14:30 +0000)]
Working on the new backend

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

23 years agoWorking on the new backend
cuz [Sat, 5 May 2001 13:51:42 +0000 (13:51 +0000)]
Working on the new backend

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

23 years agoAdded CollPop
cuz [Sat, 5 May 2001 12:34:22 +0000 (12:34 +0000)]
Added CollPop

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

23 years agoWorking on the new backend. Moved the files from the b6502 into the main
cuz [Sat, 5 May 2001 11:46:02 +0000 (11:46 +0000)]
Working on the new backend. Moved the files from the b6502 into the main
compiler dir because the backend is not really a submodule, so this did
not reflect the real relations of the backend to the rest of the compiler.

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

23 years agoWorking on the new backend
cuz [Sat, 5 May 2001 11:31:05 +0000 (11:31 +0000)]
Working on the new backend

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

23 years agoIgnore some more intermediate files
cuz [Fri, 4 May 2001 17:46:30 +0000 (17:46 +0000)]
Ignore some more intermediate files

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

23 years agoWorking on the new backend
cuz [Fri, 4 May 2001 16:41:23 +0000 (16:41 +0000)]
Working on the new backend

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

23 years agoWorking on the new backend
cuz [Thu, 3 May 2001 22:06:59 +0000 (22:06 +0000)]
Working on the new backend

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

23 years agoAdded CollIndex and CollDeleteItem
cuz [Thu, 3 May 2001 20:45:26 +0000 (20:45 +0000)]
Added CollIndex and CollDeleteItem

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

23 years agoWorking on the new backend
cuz [Thu, 3 May 2001 20:16:41 +0000 (20:16 +0000)]
Working on the new backend

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

23 years agoWorking on the new backend
cuz [Thu, 3 May 2001 17:34:54 +0000 (17:34 +0000)]
Working on the new backend

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

23 years agoWorking on the new backend
cuz [Wed, 2 May 2001 20:14:38 +0000 (20:14 +0000)]
Working on the new backend

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

23 years agoWorking on the backend
cuz [Tue, 1 May 2001 19:59:55 +0000 (19:59 +0000)]
Working on the backend

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

23 years agoWorking on the backend
cuz [Tue, 1 May 2001 17:11:40 +0000 (17:11 +0000)]
Working on the backend

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

23 years agoWorking on the backend
cuz [Tue, 1 May 2001 16:57:43 +0000 (16:57 +0000)]
Working on the backend

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

23 years agoWorking on the new backend
cuz [Tue, 1 May 2001 15:50:31 +0000 (15:50 +0000)]
Working on the new backend

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

23 years agoWorking on the new backend
cuz [Tue, 1 May 2001 09:21:32 +0000 (09:21 +0000)]
Working on the new backend

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

23 years agoWorking on the backend
cuz [Mon, 30 Apr 2001 20:00:13 +0000 (20:00 +0000)]
Working on the backend

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

23 years agoAdded CollDeleteAll
cuz [Mon, 30 Apr 2001 19:44:54 +0000 (19:44 +0000)]
Added CollDeleteAll

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

23 years agoFixed a bug with the .incbin command
cuz [Mon, 30 Apr 2001 15:42:52 +0000 (15:42 +0000)]
Fixed a bug with the .incbin command

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

23 years agoRewriting the backend
cuz [Sat, 28 Apr 2001 21:45:13 +0000 (21:45 +0000)]
Rewriting the backend

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

23 years agoUse new DOS compile make.bat from Keith
cuz [Sat, 28 Apr 2001 20:59:18 +0000 (20:59 +0000)]
Use new DOS compile make.bat from Keith

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

23 years agoStarted to redo the backend
cuz [Wed, 25 Apr 2001 19:41:32 +0000 (19:41 +0000)]
Started to redo the backend

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

23 years agoNew module strutil
cuz [Wed, 25 Apr 2001 13:50:35 +0000 (13:50 +0000)]
New module strutil

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

23 years agoRenamed GetLabel to GetLocalLabel
cuz [Thu, 19 Apr 2001 06:49:08 +0000 (06:49 +0000)]
Renamed GetLabel to GetLocalLabel

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

23 years agoWorking on the ..scanf functions
cuz [Thu, 19 Apr 2001 06:46:30 +0000 (06:46 +0000)]
Working on the ..scanf functions

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

23 years agoSqueezed a few cycles/bytes out of tolower and toupper.
cuz [Thu, 19 Apr 2001 06:46:01 +0000 (06:46 +0000)]
Squeezed a few cycles/bytes out of tolower and toupper.

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

23 years agoFixed a bug. Function declarations where the type of the first parameter is
cuz [Fri, 6 Apr 2001 09:07:48 +0000 (09:07 +0000)]
Fixed a bug. Function declarations where the type of the first parameter is
a typedef and the name of the parameter is omitted where parse as old style
(K&R) function declarations leading to errors.

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

23 years agoAdded segment type zp
cuz [Fri, 6 Apr 2001 08:48:29 +0000 (08:48 +0000)]
Added segment type zp

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

23 years agoRenamed a file with more than 8 chars in its name
cuz [Wed, 4 Apr 2001 20:27:33 +0000 (20:27 +0000)]
Renamed a file with more than 8 chars in its name

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

23 years agoFixed an internal error on too few params in function call
cuz [Wed, 4 Apr 2001 20:20:48 +0000 (20:20 +0000)]
Fixed an internal error on too few params in function call

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

23 years agoRepeat opts until there are no more changes
cuz [Wed, 4 Apr 2001 20:20:29 +0000 (20:20 +0000)]
Repeat opts until there are no more changes

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

23 years agosteaxspi.o was missing
cuz [Mon, 2 Apr 2001 20:24:24 +0000 (20:24 +0000)]
steaxspi.o was missing

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

23 years agocbm_write() added
mrintsch [Fri, 30 Mar 2001 18:18:40 +0000 (18:18 +0000)]
cbm_write() added
changed/added some comments
all cbm_* IO functions are using _oserror now

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

23 years agoMake the last change more generic
cuz [Tue, 27 Mar 2001 22:57:20 +0000 (22:57 +0000)]
Make the last change more generic

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

23 years agoAdded optimization for g_inc and g_dec (remove handling of high byte if
cuz [Tue, 27 Mar 2001 22:52:16 +0000 (22:52 +0000)]
Added optimization for g_inc and g_dec (remove handling of high byte if
not used).

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

23 years agoChanged an error message
cuz [Mon, 26 Mar 2001 22:05:05 +0000 (22:05 +0000)]
Changed an error message

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

23 years agoRemove the hardcoded limit from the literal pool.
cuz [Mon, 26 Mar 2001 21:57:07 +0000 (21:57 +0000)]
Remove the hardcoded limit from the literal pool.

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

23 years agoAdded xrealloc
cuz [Mon, 26 Mar 2001 21:46:37 +0000 (21:46 +0000)]
Added xrealloc

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

23 years agoChanged the implementation of g_leavariadic.
cuz [Mon, 26 Mar 2001 20:49:54 +0000 (20:49 +0000)]
Changed the implementation of g_leavariadic.
Generate calls to the additional decax functions.

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

23 years agoAdded mor specialized decax functions
cuz [Mon, 26 Mar 2001 20:47:12 +0000 (20:47 +0000)]
Added mor specialized decax functions

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

23 years agoUse one function exit point
cuz [Mon, 26 Mar 2001 20:07:05 +0000 (20:07 +0000)]
Use one function exit point

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

23 years agoChanged header
cuz [Mon, 26 Mar 2001 16:41:11 +0000 (16:41 +0000)]
Changed header

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

23 years agoCorrect wrong optimizer infos
cuz [Mon, 26 Mar 2001 16:40:40 +0000 (16:40 +0000)]
Correct wrong optimizer infos

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

23 years agoRemoved an obsolete import
cuz [Mon, 26 Mar 2001 14:43:39 +0000 (14:43 +0000)]
Removed an obsolete import

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

23 years agoRecode decsp8
cuz [Mon, 26 Mar 2001 14:41:45 +0000 (14:41 +0000)]
Recode decsp8

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

23 years agoFixed a typo
cuz [Mon, 26 Mar 2001 14:26:27 +0000 (14:26 +0000)]
Fixed a typo

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

23 years agoAllow a more exact specification which growth factor is allowed when
cuz [Sat, 24 Mar 2001 23:33:38 +0000 (23:33 +0000)]
Allow a more exact specification which growth factor is allowed when
generating code and favouring speed over size.

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

23 years agoAdjust several optimizer information pieces
cuz [Sat, 24 Mar 2001 16:28:18 +0000 (16:28 +0000)]
Adjust several optimizer information pieces

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

23 years agoSqueeze one cycle and several bytes out of the pushax routine.
cuz [Sat, 24 Mar 2001 16:25:08 +0000 (16:25 +0000)]
Squeeze one cycle and several bytes out of the pushax routine.

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

23 years agoRewrite the decsp and subysp functions now since they are used more often.
cuz [Sat, 24 Mar 2001 16:15:01 +0000 (16:15 +0000)]
Rewrite the decsp and subysp functions now since they are used more often.

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

23 years agoRemove unused imports
cuz [Sat, 24 Mar 2001 16:00:48 +0000 (16:00 +0000)]
Remove unused imports

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

23 years agoUse decsp instead of subysp
cuz [Sat, 24 Mar 2001 15:59:54 +0000 (15:59 +0000)]
Use decsp instead of subysp

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

23 years agodecspX will no longer save a
cuz [Sat, 24 Mar 2001 15:57:32 +0000 (15:57 +0000)]
decspX will no longer save a

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

23 years agoInline parameter frame building
cuz [Sat, 24 Mar 2001 13:00:16 +0000 (13:00 +0000)]
Inline parameter frame building

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

23 years agoMake AddConstSym from AddEnumSym
cuz [Fri, 23 Mar 2001 21:27:48 +0000 (21:27 +0000)]
Make AddConstSym from AddEnumSym

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

23 years agoAdded Greg King
cuz [Fri, 23 Mar 2001 20:34:17 +0000 (20:34 +0000)]
Added Greg King

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

23 years agoIgnore some auto generated files
cuz [Fri, 23 Mar 2001 20:20:23 +0000 (20:20 +0000)]
Ignore some auto generated files

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

23 years agoAdd section about cost of accessing params in a variadic function
cuz [Fri, 23 Mar 2001 20:19:22 +0000 (20:19 +0000)]
Add section about cost of accessing params in a variadic function

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

23 years agoRemove comment about stdarg.h being non standard
cuz [Fri, 23 Mar 2001 20:19:02 +0000 (20:19 +0000)]
Remove comment about stdarg.h being non standard

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

23 years agova_start has also changed since the address of a fixed parameter is now
cuz [Fri, 23 Mar 2001 20:07:42 +0000 (20:07 +0000)]
va_start has also changed since the address of a fixed parameter is now
calculated by the compiler.

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

23 years agoRemove va_fix
cuz [Fri, 23 Mar 2001 19:21:27 +0000 (19:21 +0000)]
Remove va_fix

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

23 years agoThe va_fix macro is no longer needed
cuz [Fri, 23 Mar 2001 19:19:02 +0000 (19:19 +0000)]
The va_fix macro is no longer needed

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

23 years ago * Added several type casts to increase C++ compatibility.
cuz [Fri, 23 Mar 2001 19:17:04 +0000 (19:17 +0000)]
 * Added several type casts to increase C++ compatibility.
 * __fixargs__ is now an actual function symbol and no longer handled in the
   scanner.
 * Additional symbol __argsize__ that is a constant in normal functions and
   a const local variable for variadic functions. Using this symbol, the
   va_arg macro gets a lot simpler and smaller.
 * Added special code to handle the fixed parameters of a variadic function.
   The code has some overhead, but the va_fix macro is no longer needed (and
   the compiler generated code is better than va_fix anyway).

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

23 years agoIncreased h/w stack safety zone to 12 bytes
cuz [Fri, 23 Mar 2001 19:08:07 +0000 (19:08 +0000)]
Increased h/w stack safety zone to 12 bytes

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

23 years agoType change
cuz [Fri, 23 Mar 2001 17:59:23 +0000 (17:59 +0000)]
Type change

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

23 years agoChanged TgtTranslateBuf
cuz [Fri, 23 Mar 2001 17:56:28 +0000 (17:56 +0000)]
Changed TgtTranslateBuf

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

23 years agoLast checkin was a cr/lf converted version:-(
cuz [Fri, 23 Mar 2001 10:30:02 +0000 (10:30 +0000)]
Last checkin was a cr/lf converted version:-(

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

23 years agoUse the new __argsize__ pseudo variable
cuz [Fri, 23 Mar 2001 10:28:11 +0000 (10:28 +0000)]
Use the new __argsize__ pseudo variable

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

23 years agoMake __fixargs__ an actual symbol table entry. Add a new pseudo variable
cuz [Fri, 23 Mar 2001 10:16:50 +0000 (10:16 +0000)]
Make __fixargs__ an actual symbol table entry. Add a new pseudo variable
__argsize__.

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

23 years agoAllow __fastcall__ for C function. Contrary to the name, this is a size
cuz [Thu, 22 Mar 2001 21:02:01 +0000 (21:02 +0000)]
Allow __fastcall__ for C function. Contrary to the name, this is a size
optimization for C functions. The last parameter is not pushed onto the
stack by the caller but in the function entry code, so there is no speed
but a size gain.

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

23 years agoFix a compiler crash that happens after a function definition with two or
cuz [Thu, 22 Mar 2001 20:54:52 +0000 (20:54 +0000)]
Fix a compiler crash that happens after a function definition with two or
more identical parameter names. The input is of course wrong, but the
compiler shouldn't crash.

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