cuz
9abe1e62e7
Working on the plugin interface
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1220 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 22:11:09 +00:00
cuz
4a4e24623b
Add info about the boolxx functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1216 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 15:06:03 +00:00
cuz
c6fe12ef6b
Fixed a code generation bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1215 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-06 14:51:27 +00:00
cuz
2a7a410532
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1213 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-01 17:55:22 +00:00
cuz
d17936488c
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1212 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-04-01 17:42:24 +00:00
cuz
7b89ebcecb
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1211 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-31 20:46:53 +00:00
cuz
56caf8f80d
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1210 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-30 22:04:40 +00:00
cuz
febf56a10b
First import
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1209 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-30 16:43:27 +00:00
cuz
a07e05beb8
Include name of errorneous symbol in error message
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1203 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-24 13:04:24 +00:00
cuz
83e73742c8
Prepare for separate ASM name in symbol table entry
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1202 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-18 20:04:03 +00:00
cuz
5bdb19f63c
Attribute work
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1201 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-18 06:05:04 +00:00
cuz
cf23f0937c
Don't print a zero offset in labels
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1197 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 14:32:19 +00:00
cuz
05753557ce
Cosmetic change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1196 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-17 10:58:07 +00:00
cuz
1b60396980
Use CHECK instead of assert
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1195 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-16 20:45:41 +00:00
cuz
6628389d85
Use a new specialized multiply routines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1194 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-16 20:28:06 +00:00
cuz
486640200b
Several minor changes and fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1192 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-16 14:11:15 +00:00
cuz
0655cac6a6
Use MakeHexArg, replace STX and STY by STZ if possible
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1191 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-16 10:24:55 +00:00
cuz
1118dd1237
Tracking zero page locations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1190 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-15 06:09:59 +00:00
cuz
7639643144
Use CTNone as default
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-12 19:30:45 +00:00
cuz
0a9324d9c6
Working on the register tracking
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1188 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-11 21:27:01 +00:00
cuz
f38852df82
First support for STZ
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1187 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-11 06:29:54 +00:00
cuz
d814a9a6fb
Removed old cruft
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1186 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-10 21:28:55 +00:00
cuz
64ad5e8031
Add 65C02 specific optimization: Use TSB/TRB
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1185 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-10 21:23:23 +00:00
cuz
0355c34199
Fixed problems with incomplete types (structs and arrays) that could cause
...
internal compiler errors in several places.
An old cc65 extension (variables of type void) was broken and did no longer
work. Fixed that.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1184 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-10 20:44:58 +00:00
cuz
9941f3d84a
The last patch did not work correctly in call cases - fix that
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1183 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-10 14:34:20 +00:00
cuz
0b06db99d5
Local variables of incomplete types could be declared
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1171 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-07 20:59:43 +00:00
cuz
17e86356c2
Ignore lunix.inc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1170 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-06 07:57:22 +00:00
cuz
3d838849da
Fixed an error in struct assignment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1169 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-06 07:56:33 +00:00
cuz
92644b226c
Last fix was not correct according to the standard
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1168 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-06 07:41:22 +00:00
cuz
e9b0009f97
Bug fixed: The preprocessor # operator did not work correctly with string arguments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1167 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-06 07:35:20 +00:00
cuz
0a4799c975
Fixed several const related bugs
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1165 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-06 06:38:48 +00:00
cuz
0f911ef8d4
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1164 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-03-05 21:17:37 +00:00
cuz
208090ea36
Added .charmap
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1163 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-18 09:11:57 +00:00
cuz
3b5808788b
Add #pragma charmap()
...
Cosmetical changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1162 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-18 08:40:11 +00:00
cuz
a54cd59e1f
Allow to set character translations at compile time
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1160 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-18 08:20:18 +00:00
cuz
621424788e
Updated PETSCII mappings
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1159 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-14 21:43:50 +00:00
cuz
2d96df46f1
Add new feature "leading_dot_in_identifiers".
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1156 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-14 10:05:51 +00:00
cuz
6126672784
Bumped the version number
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1155 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-14 08:44:57 +00:00
cuz
164310971c
Replace staxspidx if possible
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1153 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-13 11:42:56 +00:00
cuz
18b591e268
Better code for compares
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1152 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-13 10:42:56 +00:00
cuz
b8c4dc9b06
Add code size factor for optimizer routines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1151 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-12 23:02:58 +00:00
cuz
08443d5e7a
Better code for compares
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1150 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-12 20:40:05 +00:00
cuz
90fc74e835
Correct the END value for a segment so that it shows the last address in
...
use by this segment, not the start of the following one.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1148 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-02-06 13:36:25 +00:00
cuz
82fb1d9b78
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1145 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-01-15 20:23:35 +00:00
cuz
6b654255ba
Allow comments inside of macro calls that are spread over more than one line
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1141 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-12 21:45:05 +00:00
cuz
5f8c0269d6
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1137 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-10 18:01:53 +00:00
cpg
ffab34bdc8
set atari start address to (very conservative) $2E00; the previous
...
value didn't work with rs232 drivers loaded
git-svn-id: svn://svn.cc65.org/cc65/trunk@1134 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-09 23:49:24 +00:00
izydorst
e0c27701d0
LUnix support tuning - plain ASCII and changed imports list
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1128 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-02 12:50:07 +00:00
cuz
90ca5c1af9
Added o65 symbol export capability
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1127 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-01 17:14:12 +00:00
cuz
ebbd68673b
Added/completed/debugged o65 support for Lunix
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1126 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-12-01 13:34:51 +00:00
cuz
2de4a26251
Added SBC optimizations suggested by Piotr Fusik
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1123 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-17 11:31:57 +00:00
cuz
b8facd7f1e
Added info for more runtime routines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1122 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-17 11:27:48 +00:00
cuz
258133cb0e
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1112 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-12 14:20:56 +00:00
cuz
465d208b2b
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1110 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-08 09:15:58 +00:00
cuz
88b7d6d3bb
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1107 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-07 10:34:57 +00:00
cuz
161c916a83
Added info for tsteax and utsteax
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1106 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-07 10:33:14 +00:00
cuz
940fba4d54
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1105 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-11-07 10:32:51 +00:00
cuz
99ddd22dc8
Changed cfg to account for the NMI handler in connection with the C128 banking.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1084 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 18:52:38 +00:00
cuz
62314aeac9
Fix a problem where the linker tries to print a NULL pointer if there is a
...
problem with the builtin configuration that is used.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1083 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 18:51:49 +00:00
cuz
426bea8c19
Use xsprintf
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1078 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 11:07:06 +00:00
cuz
d796de8109
Use a long for the offset of static variables, so negative offsets do work
...
(even if this is not standard compliant).
git-svn-id: svn://svn.cc65.org/cc65/trunk@1077 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-25 10:49:51 +00:00
cuz
3c90e33414
Working on the optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1069 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-21 13:53:20 +00:00
cuz
b3f2a6b35c
Cosmetic change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1065 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-18 21:45:37 +00:00
cuz
92a4c51753
Fixed some bugs
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1064 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-18 21:01:24 +00:00
cuz
c4627941e8
Cleanup, more 65c02 code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1063 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-18 20:45:24 +00:00
cuz
b4393c9ac6
Use 125 bytes as range for short branches
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1062 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-18 19:24:18 +00:00
cuz
21c6e1badb
Extend an optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1061 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-18 19:23:10 +00:00
cuz
564fbbe448
New function RegAXUsed
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1060 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-18 19:21:40 +00:00
cuz
1366b6cbea
Added first provisions for a code size factor check in the optimizer
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1059 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-18 19:21:09 +00:00
cuz
8d02f9a9b3
Added a new CS_RangeHasLabel function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1058 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-18 19:20:14 +00:00
cuz
86a90e463d
Remove some 65C02 code generation that is now in the backend.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1057 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-18 19:10:24 +00:00
cuz
43530d1604
Check for shift count zero
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1055 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-17 21:46:27 +00:00
cuz
2435aa63b5
Added 65C02 specific optimizations.
...
Make two runs over the code when generating register info to get info for
backward jumps right.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1049 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-13 12:21:46 +00:00
cuz
1483fa741a
Small change to make line info more exact
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1048 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-13 09:20:26 +00:00
cuz
0fcbb73439
Use a function pointer instead of a flag
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1046 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-12 18:21:56 +00:00
cuz
24a70bbcce
Added a missing const
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1045 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-12 18:21:43 +00:00
cuz
5f577c4260
Added another optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1044 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-12 09:06:42 +00:00
cuz
9552efc1e4
More work to make user asm labels work
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1043 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-12 07:58:11 +00:00
cuz
b892d4b3d3
Remove an unused function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1042 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 22:02:00 +00:00
cuz
799459fdd5
Allow labels in user supplied asm statements
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1041 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 22:01:47 +00:00
cuz
de7da529f0
Fixed problems with the inline macros
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1040 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 21:54:25 +00:00
cuz
46209118b1
The longbranch macros did not work with numeric addresses
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1039 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 20:06:01 +00:00
cuz
f0ed4af252
Add a missing type in range check
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1038 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 19:58:16 +00:00
cuz
ffd9db8b61
Another signedness fix
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1037 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 14:53:55 +00:00
cuz
3277ca7880
Fixed another signedness problem
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1036 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 14:50:10 +00:00
cuz
6a01347d6c
Last change fixed the wrong parameter
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1035 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 14:45:59 +00:00
cuz
ebfed0b5df
Fixed a signedness problem
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1034 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 14:42:03 +00:00
cuz
1e78c82d9b
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1033 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 14:38:46 +00:00
cuz
76f0c7c05e
Comment out unused code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1031 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 13:48:30 +00:00
cuz
e17b0a0aac
Don't run into an internal error in case of a duplicate switch label.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1029 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 13:45:46 +00:00
cuz
8546ab22cc
Free the tree after use
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1028 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 13:39:17 +00:00
cuz
5e8ab3819d
Bumped the version number
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1025 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 13:16:46 +00:00
cuz
e17ab75ab3
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1023 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 09:52:02 +00:00
cuz
41d2cc8f91
Rewrote the switch statement
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1021 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 08:02:03 +00:00
cuz
4fb253cef0
Track sreg in OptDecouple
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1019 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 07:01:16 +00:00
cuz
88dfee5642
Module breakup
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1017 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-09 09:44:39 +00:00
cuz
0fdf581d06
Added special multiplication routines
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1012 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-04 21:34:14 +00:00
cuz
560ac0ac43
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1011 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-04 21:15:56 +00:00
cuz
9c4b9f19dc
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1010 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-04 21:15:43 +00:00
cuz
0c09cc7242
Optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1009 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-04 11:34:18 +00:00