cuz
300acc8175
Remove comment about stdarg.h being non standard
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@656 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 20:19:02 +00:00
cuz
e7b80c4e8d
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
2001-03-23 20:07:42 +00:00
cuz
b5914306cd
Remove va_fix
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@654 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 19:21:27 +00:00
cuz
7e6005c999
The va_fix macro is no longer needed
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@653 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 19:19:02 +00:00
cuz
544705e6f4
* 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
2001-03-23 19:17:04 +00:00
cuz
59db8bdf1f
Increased h/w stack safety zone to 12 bytes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@651 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 19:08:07 +00:00
cuz
080500d0a0
Type change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@650 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 17:59:23 +00:00
cuz
45cf0c2dd9
Changed TgtTranslateBuf
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@649 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 17:56:28 +00:00
cuz
1bc86c9c78
Last checkin was a cr/lf converted version:-(
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@648 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 10:30:02 +00:00
cuz
5b68ec1591
Use the new __argsize__ pseudo variable
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@647 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 10:28:11 +00:00
cuz
594a941ee9
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
2001-03-23 10:16:50 +00:00
cuz
4357bb4760
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
2001-03-22 21:02:01 +00:00
cuz
00706daa49
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
2001-03-22 20:54:52 +00:00
mrintsch
787ca6a9dd
completed and testet cbm_read()
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@639 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-21 20:59:27 +00:00
cuz
9528c379c1
Added code to check the 6502 stack
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@638 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 22:34:08 +00:00
mrintsch
fb76e97575
Added comments to cbm.h.
...
load/save returns oserror code.
Added open/close and read (which is not tested yet).
git-svn-id: svn://svn.cc65.org/cc65/trunk@637 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 21:06:04 +00:00
cuz
83f8ce6f39
Describe new --check-stack option and related #pragma. Added missing
...
descriptions for the options to set the segment names from the command
line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@636 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 10:24:54 +00:00
cuz
9bf849151d
Describe changed .incbin command
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@635 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 10:24:05 +00:00
cuz
6f604239c7
Help text alignment was wrong
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@634 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 10:18:56 +00:00
cuz
857a362e78
Partially fixed a bug with the long addressing modes that was introduced
...
with a change in the scanner and went undetected since then. Use of symbols
as lower part of the address does still not work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@632 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:02:38 +00:00
cuz
3e5ed62469
Added new option and pragma to generate calls to a stack checking routine
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@631 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:01:35 +00:00
cuz
01ffedd363
Removed the old stack checking routine
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@630 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:00:45 +00:00
cuz
4c8f35ea97
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@629 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:00:19 +00:00
cuz
dce87b81db
Ignore intermediate files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@628 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 22:59:38 +00:00
cuz
1df22c6452
Added a stack checking routine
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@627 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 22:26:47 +00:00
cuz
b86a6b9749
Some more debuginfo implementation
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@626 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-18 17:55:36 +00:00
mrintsch
16fded6d0c
Loading and saving memory areas on cbm platforms
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@625 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-13 22:48:19 +00:00
cuz
7c4bcbd569
scanf modules (currently not working)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@624 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-13 07:59:17 +00:00
cuz
1411097746
Remove bash pecularities.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@623 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-13 07:56:56 +00:00
cuz
d57f57db55
Add new symbol __STACKSIZE__ to all linker configurations.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@622 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 14:24:58 +00:00
cuz
e32d5a4a4b
Use the linker define stacksize instead of a variable.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@621 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 14:19:21 +00:00
cuz
1923199dad
Allow to define symbols in the linker config
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@620 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 14:10:38 +00:00
cuz
1eff067ff9
Moved verbose output to a shared module in the common/ directory.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@619 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 10:21:03 +00:00
cuz
d10079ccdc
Added module for program output.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@618 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 10:04:42 +00:00
cuz
27a55ba085
Added optional start and count arguments to .INCBIN
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@617 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-09 23:12:34 +00:00
cuz
697abf3ed7
Added command line response files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@616 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-09 21:59:23 +00:00
cuz
18b9977039
Removed the read module from the Makefile
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@615 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-08 15:18:38 +00:00
cuz
bed304dafe
Added the 2.6.1 spec
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@612 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-08 15:16:53 +00:00
cuz
1bcad88c3a
Define symbols for the RAM area
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@610 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-08 14:49:31 +00:00
cuz
22b55ae7fe
Don't hardcode the stack location
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@609 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-08 14:48:00 +00:00
cuz
a4b921ca7e
Fixed email address
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@604 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-03 12:04:01 +00:00
cuz
724262fb90
Fixed a bug with different load/run areas, where a segment was marked as
...
dumped if the run area preceeded the load area, so it was not output into
the file for the load area (and not for the run area either).
git-svn-id: svn://svn.cc65.org/cc65/trunk@603 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-03 12:01:46 +00:00
cuz
083f0aee44
Fixed errors in the incaxn functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@602 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-02-21 08:39:25 +00:00
cpg
2610a3df10
added more error codes
...
(from http://www.atari-central.com/programming/cio_errors.txt )
git-svn-id: svn://svn.cc65.org/cc65/trunk@598 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-02-07 23:27:54 +00:00
cuz
2e48ce195d
Remove trailing underlines from struct names
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@597 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-10 19:10:05 +00:00
cuz
46a2a610e1
Use IsQuote instead of IsQuoteChar
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@596 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 19:26:25 +00:00
cuz
9c02fb3ec0
Minor updates
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@594 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 19:25:24 +00:00
cuz
8add1ad057
Use chartype.h instead of ctype.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@593 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 19:24:47 +00:00
cuz
37da7dff98
Add a new chartype module for character classification. Use the new
...
function IsDigit in target.c.
git-svn-id: svn://svn.cc65.org/cc65/trunk@592 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 19:06:20 +00:00
cuz
608f27b274
Added OS/2 compile instructions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@591 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 17:21:59 +00:00