cuz
e8abdea87c
In case of memory area overflows, generate a short mapfile if one was
...
requested. This eases the task of rearranging segments when such an
overflow occurs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3373 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-23 11:19:26 +00:00
cuz
3c20c4c3e1
Fixed a few typos (note from Stefan Haubenthal)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3372 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-22 14:45:25 +00:00
cuz
27b5721cf6
Allow a unary +
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3371 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-21 12:57:41 +00:00
cuz
c68a75ceb4
Fixed zeropage segment declaration (syntax had changed some time ago).
...
Added support for exports.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3370 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-21 10:35:50 +00:00
cuz
2d623f00cc
Better error message when a file is not found in the FILES section.
...
Better error messages in case of a wrong section order in the config file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3369 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-20 07:55:38 +00:00
cuz
5b0ad76cd9
Recoded the last change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3368 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-14 18:52:30 +00:00
cuz
8cd583d591
Fixed a bug (Report from Greg King)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3367 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-14 18:40:33 +00:00
cuz
bd2185c57b
Improved mainargs code from Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3366 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-11 07:02:43 +00:00
cuz
d63dc84262
Improve doc for .struct/.union
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3365 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-11 06:51:24 +00:00
cuz
e06d9d0d84
Fixed a bug (hopefully).
...
The ArrayRef() does really need a rewrite, now since we have better
expression info.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3364 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-09 21:17:19 +00:00
cuz
6a1ff58499
Don't treat K&R functions as variadic. The standard (at least the C99 one)
...
says that passing an invalid number of parameters causes undefined behaviour,
so we don't need to handle that case.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3363 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-09 21:16:32 +00:00
cuz
9a6a7bdd24
Test file for illegal 6502 opcodes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3362 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-09 19:07:45 +00:00
cuz
5c1bc2d740
Output warnings for implicit int types if std >= C99.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3361 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-09 18:03:55 +00:00
cuz
9cd0b7705c
Fixed a bug: If all output data was discarded (by using file = "" in the
...
linker config), CheckExports was never called, which in turn meant that
the list of all exports was never built. This caused a crash later when
the linker tried to generate a map file. The solution is to separate the
creation of the exports list and the check for unresolved imports.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3360 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-09 13:16:51 +00:00
cuz
a456e503e4
More CfgName issues.
...
Use CfgError instead of calling Error directly.
Use dynamically allocated string buffers in the CfgError and CfgWarning
functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3359 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-08 21:38:17 +00:00
cuz
8559581d9f
Fixed several places were CfgName was used directly instead of calling
...
CfgGetName(). The former may be NULL, while the latter maps that to a
string like "builtin config".
git-svn-id: svn://svn.cc65.org/cc65/trunk@3358 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-08 21:08:59 +00:00
cuz
e128341854
Replace obsolete "wprot" segment type by "ro".
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3357 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-08 21:08:04 +00:00
cuz
696f664050
Describe the new asminc feature
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3356 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-08 20:33:27 +00:00
cuz
83147e5fce
New info file statement "asminc" that allows to read in a file containing
...
symbol values in asm syntax.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3355 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-08 20:16:57 +00:00
cuz
1596692501
Describe new align_load attribute
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3354 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-08 13:52:07 +00:00
cuz
7774e57eae
New segment attribute ALIGN_LOAD. Some cleanup.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3353 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-08 13:44:11 +00:00
cuz
1875825e78
New segment APPZP
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3352 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-06 13:20:23 +00:00
cuz
8188795240
New code from Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3351 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-06 12:26:47 +00:00
cuz
2ebb276929
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3350 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:28:54 +00:00
cuz
7caee98fc0
New function: _aligned_malloc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3349 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:07:23 +00:00
cuz
18e3e7cb11
Added a comment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3348 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:05:35 +00:00
cuz
842ff39d4c
New used block structure for the heap
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3347 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:05:11 +00:00
cuz
802f259b37
Fixed an identifier (cosmetic change)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3346 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 21:04:35 +00:00
cuz
2342052bc3
Slice blocks even if the remainder is just sizeof(freeblock) bytes in size.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3345 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 20:06:13 +00:00
cuz
d8fa43d7a6
Save a few bytes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3344 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-05 20:05:27 +00:00
cuz
fd9226fe4a
Small changes by Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3343 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-21 16:25:29 +00:00
cuz
71650c64e4
Added Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3342 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-21 16:01:21 +00:00
cuz
10431b1067
Added an exit handler - code from Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3341 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-21 15:56:48 +00:00
cuz
e55a4bcfd4
Changed the way, used blocks are managed
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-19 23:09:38 +00:00
cuz
49d1a47269
Several improvements and a few bug fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3339 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-19 22:15:43 +00:00
cuz
218e722b91
Fixes for the Watcom compiler and some general improvements for older
...
compilers that don't have the va_copy macro.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3338 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-18 14:28:42 +00:00
cpg
ad8a481a9e
fix tmp3 return value if DEFAULT_DEVICE is enabled
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3337 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-17 14:33:32 +00:00
cpg
47054d90d3
rename defdev to __defdev and export it; add support for
...
DEFAULT_DEVICE and DYNAMIC_DD
git-svn-id: svn://svn.cc65.org/cc65/trunk@3336 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:46:28 +00:00
cuz
ae70828938
Some improvements using the new SB_Printf for string buffers
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3335 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:43:52 +00:00
cpg
1727d49c8d
DYNAMIC_DD support
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:43:47 +00:00
cpg
1cb6868ddd
DYNAMIC_DD
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3333 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:41:14 +00:00
cuz
41ec19b72a
Use inttypes.h and the intmax_t/uintmax_t types
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3332 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:38:07 +00:00
cuz
3dab55e339
New module inttypes.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3331 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:37:30 +00:00
cpg
d27b06ecd2
use DEFAULT_DEVICE definition for the default drive
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3330 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 22:19:46 +00:00
cuz
0ce95ffe6a
Fixed another bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3329 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 20:26:46 +00:00
cuz
5b851fb621
Fixed several bugs
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3328 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-16 20:07:49 +00:00
cuz
e43766ea93
Added a basic vsnprintf implementation to work around problems with compilers
...
that don't have it.
Added SB_VPrintf and SB_Printf as safe replacement for sprintf function
with the output going into a string buffer.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3327 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-15 21:23:22 +00:00
cuz
569f57bc1b
Fixed minor issues with the modifiers: Some modifiers where accepted (and
...
ignored) that do not exist.
Added C99 modifiers z, j and t.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-11 18:33:49 +00:00
cuz
5ecda9d204
va_copy is only available from C99 and up
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3325 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-11 14:59:05 +00:00
cuz
95f66b8ca9
Disable interrupts while modifying the signal table
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-12-10 11:50:54 +00:00