cuz
b6cb833560
Don't check for open .IF clauses when reaching the end of pushed input data.
...
This will allow to write macros that contain open .IFs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3740 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-21 11:23:22 +00:00
cuz
6679cc6080
The Plus/4 has an ACIA
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3739 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-09 19:44:33 +00:00
cuz
74076e93b6
Small C16 fixes by Stefan Haubenthal.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3738 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-09 19:44:19 +00:00
cuz
de212d0211
Minor fixes by Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3737 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-08 19:29:37 +00:00
cuz
1501e80779
New version from Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3736 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-08 19:26:21 +00:00
cuz
03d784a6e5
Small addition by Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-26 12:45:23 +00:00
cuz
49719b0bd2
Removed a C99 construct
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3734 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-24 23:45:44 +00:00
cuz
6c6d450ff0
Bugfix by Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3733 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-23 20:30:44 +00:00
cuz
e81d5ec00a
Added another optimization step
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3732 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-16 21:35:36 +00:00
cuz
7736aac1e2
Added more info about internal (builtin) functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3731 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-16 21:35:24 +00:00
cuz
21af43a800
Comment fix
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3730 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-16 20:32:09 +00:00
cuz
585791a789
Repeatedly call OptStore1 after OptJumpTarget because it is able to do some
...
more work in case of for loops.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3729 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-15 20:46:05 +00:00
cuz
1ac3cbe420
ldaxysp doesn't return flags any more.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3728 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-15 20:45:35 +00:00
cuz
c156b20738
Added some code rewriting (may enable optimizations in a few cases).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3727 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-15 20:31:43 +00:00
cuz
d82d94ecc1
Optimize decaxn
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3726 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-15 19:28:45 +00:00
cuz
06e00f9343
Declare zero page variables before use. Otherwise they aren't used in zero
...
page addressing mode, if the assembler has a choice.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3725 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-09 11:43:03 +00:00
cuz
c13f40a9f1
Emit warnings for symbols that were used suboptimal because of forward
...
definitions. For example a zero page symbol that is used as absolute because
it was undefined when encountered.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3724 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-09 10:56:23 +00:00
cuz
44405a0bb5
New function xdup.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3723 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-09 10:04:50 +00:00
cuz
889fd1ecbd
The Apple2 has only upper case chars.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3722 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-07 17:49:38 +00:00
cuz
155dc9c653
Corrected some runtime function info
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3721 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-07 08:38:30 +00:00
cuz
1a14146a55
Fixed a copy&paste error
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3720 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-06 20:23:53 +00:00
cuz
88e34c9903
Fixed problem with unprotected <> chars
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3719 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-06 20:20:39 +00:00
cuz
cf30aa0764
The apples do now have a mouse driver
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3718 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-06 19:55:50 +00:00
cuz
685235795c
Apple 2 mouse driver and other stuff from Oliver Schmidt
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3717 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-06 19:51:37 +00:00
cuz
f507124733
Added lots of runtime function info.
...
Fixed a problem with wrong info for the incaxn functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3715 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-03 19:31:31 +00:00
cuz
c73c31c496
Added info for the staxspidx runtime function.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3714 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-02 15:32:16 +00:00
cuz
9a98194dc5
Code goes into the CODE segment, not RODATA.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3713 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-03-31 20:07:43 +00:00
cuz
4c0720709b
Fixed a few errors in the macros used by the Watcom compiler.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3712 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-03-30 19:49:03 +00:00
cuz
d187424389
Fixed a problem of the optimizer. Unknown internal functions are marked as
...
using just EAX as input, and destroy all registers. This did cause the
optimizer to remove loads to zero page locations needed in the routines or
later.
Print a warning for unknown internal functions when in debug mode.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3711 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-03-24 15:24:34 +00:00
cuz
f196e7c5c9
Cleanup. Added a few general purpose functions.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3710 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-02-19 15:53:11 +00:00
cuz
de3a20a898
Changed the low level type representation from a strung of unsigned short
...
elements to a string of structs, each representing one type element. This
should fix problems on unusual architectures, since it is no longer necessary
to embedd pointers and other data converted to numbers in the string of
unsigned shorts.
Increased the TypeCode length to unsigned long to make room for more type
bits.
Inline more functions in datatype.h.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-02-19 12:29:37 +00:00
cuz
1375c85405
Removed an unneeded struct forward
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3708 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-02-18 12:23:07 +00:00
cuz
31d99b4a9f
Added the inline keyword
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3707 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-02-17 20:27:51 +00:00
cuz
64921852dd
Parse the C99 "restrict" keyword correctly (but ignore it otherwise).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3706 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-02-17 20:19:35 +00:00
cuz
32164ea8e5
Allow type qualifiers before a storage class spec.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3705 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-02-17 19:42:40 +00:00
cuz
cfca3473b8
Added new options and info file attribute to set the columns where the
...
fields of the disassembled output start.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3703 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-30 21:03:14 +00:00
cuz
01458275cb
Documented the new placement options
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3702 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-30 21:01:32 +00:00
cuz
a71c6b72b0
Added a sentence about unnamed labels
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3701 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-29 19:01:59 +00:00
cuz
d31f72d057
Restructured some of the code. Attribute handling is still a mess and needs
...
another cleanup.
Added unnamed labels.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3700 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-29 19:00:22 +00:00
cuz
7086da868b
New --label-break option
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3699 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-27 19:36:33 +00:00
cuz
ceffc4e090
Document new --label-break option
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3698 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-27 19:36:14 +00:00
cuz
45ffbc59f5
Fixed a problem with files that don't end with a newline
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3697 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-20 21:17:08 +00:00
cuz
1193a466d9
Fixed a problem with input files with end address $FFFF.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3696 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-19 22:03:17 +00:00
cpg
f981dd35ad
fix INSTALL return value (Stefan Haubenthal)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3695 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-05 15:11:33 +00:00
cpg
48c3702315
add sysmkdir.o and sysrmdir.o
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3694 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-04 09:58:11 +00:00
cpg
c249515d48
initial version from Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3693 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-04 09:56:04 +00:00
cpg
67cd3d8d76
error code 172 -> EEXIST (Stefan Haubenthal)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3692 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 20:12:58 +00:00
cpg
c2ddc1124b
fixes from Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3691 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 20:10:00 +00:00
cpg
94a4a843f5
typo fixes from Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3690 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 20:08:17 +00:00
cpg
f825143623
remove erroneous comments (hint from Stefan Haubenthal)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@3689 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-01-03 20:05:59 +00:00