1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-13 13:11:06 +00:00
Commit Graph

3076 Commits

Author SHA1 Message Date
cuz
bf9af68173 Fixed a bug and replaced tabs by spaces
git-svn-id: svn://svn.cc65.org/cc65/trunk@3409 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-11 13:02:20 +00:00
cuz
54240ffad3 Move constructor code into the INIT segment. Note: Didn't change any
obsolete modules.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3407 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:38:46 +00:00
cuz
8e95d036e3 Move constructor code into the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:34:01 +00:00
cuz
d0bee35728 Move constructor code into the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:28:46 +00:00
cuz
6ec87c5dd9 Move initialization code into the init segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:06:46 +00:00
cuz
46cb3bb2e8 Move the constructor tables into the INIT segment
git-svn-id: svn://svn.cc65.org/cc65/trunk@3403 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-26 09:06:12 +00:00
cuz
34017fb89a Added the new INIT segment to all configs and adjusted formatting.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3402 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-25 07:52:50 +00:00
cuz
7910ebfacf Added joystick functions from joystick.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@3401 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-21 20:19:54 +00:00
cuz
0566c8a1e2 Doc for new comment attribute
git-svn-id: svn://svn.cc65.org/cc65/trunk@3400 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-21 18:38:17 +00:00
cpg
173349706a update date
git-svn-id: svn://svn.cc65.org/cc65/trunk@3399 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-20 21:07:21 +00:00
cpg
f519c43a74 add DIO section
git-svn-id: svn://svn.cc65.org/cc65/trunk@3398 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-20 21:02:33 +00:00
cpg
ec579681e7 document the dio_query_sectsize function
git-svn-id: svn://svn.cc65.org/cc65/trunk@3397 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-20 21:01:09 +00:00
cpg
50319e2a4f clean up
git-svn-id: svn://svn.cc65.org/cc65/trunk@3396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-20 00:39:46 +00:00
cuz
244aac991b One more example from the C standard
git-svn-id: svn://svn.cc65.org/cc65/trunk@3395 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 22:21:23 +00:00
cpg
fcf1a05454 add query_sectorsize: query sector size of disk by reading sector #4
and making a status command ($53) to the drive: initial check-in,
needs cleanup


git-svn-id: svn://svn.cc65.org/cc65/trunk@3394 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 01:04:41 +00:00
cpg
7d824b7b7e dio_query_sectsize is now a real function on the Atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@3393 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 00:59:46 +00:00
cpg
03a0c61768 dioqsize.o: new object file
git-svn-id: svn://svn.cc65.org/cc65/trunk@3392 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 00:58:26 +00:00
cpg
15d7996bfc initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@3391 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 00:57:26 +00:00
cuz
531320e242 Add creation time in the header
git-svn-id: svn://svn.cc65.org/cc65/trunk@3390 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-17 17:37:17 +00:00
cuz
0eec7d8a87 More comment handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@3389 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-17 17:26:16 +00:00
cuz
e814c484c3 Added new comment feature
git-svn-id: svn://svn.cc65.org/cc65/trunk@3388 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-16 23:30:05 +00:00
cuz
00b644ad18 Suppress wine debug output
git-svn-id: svn://svn.cc65.org/cc65/trunk@3387 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 11:01:20 +00:00
cuz
26ae91efff Allow numeric OS types in the config file
git-svn-id: svn://svn.cc65.org/cc65/trunk@3386 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 10:36:23 +00:00
cuz
6c796774d8 Code improvement
git-svn-id: svn://svn.cc65.org/cc65/trunk@3385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 10:28:54 +00:00
cuz
100fbfc0d1 Fixed a bug (report and patch by Greg King)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:59:54 +00:00
cuz
9afcff6020 Fixed two typos
git-svn-id: svn://svn.cc65.org/cc65/trunk@3383 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:39:46 +00:00
cuz
bc5d046503 Fixed tab removal which somehow went wrong
git-svn-id: svn://svn.cc65.org/cc65/trunk@3382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:38:30 +00:00
cuz
bb66b590a9 New scanf type routines for conio by Greg King + a few comment changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3381 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:37:30 +00:00
cuz
4add479e30 Added scanf test program contributed by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3380 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:24:08 +00:00
cuz
de4162a63f Removed tabs from the foreign sources
git-svn-id: svn://svn.cc65.org/cc65/trunk@3379 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:22:37 +00:00
cuz
0a12a012e6 New cscanf routines by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3378 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:21:54 +00:00
cuz
d406a9f677 Scanf improvements by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3377 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:19:59 +00:00
cuz
a4f6f14a6b Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3374 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-08 20:53:48 +00:00
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