1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
Commit Graph

982 Commits

Author SHA1 Message Date
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
e15f01a882 Added CBM510 in a few places
git-svn-id: svn://svn.cc65.org/cc65/trunk@1075 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-24 21:56:52 +00:00
cuz
be1abb7ec2 Fixed several typos, changed example code
git-svn-id: svn://svn.cc65.org/cc65/trunk@1074 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-24 21:45:54 +00:00
cuz
8b2d4bab8a Fixed a typo, added links
git-svn-id: svn://svn.cc65.org/cc65/trunk@1073 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-24 21:31:07 +00:00
cuz
41529583f6 Cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@1072 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-24 20:48:18 +00:00
cuz
20143c0187 New pushwysp implementation
git-svn-id: svn://svn.cc65.org/cc65/trunk@1071 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-24 20:44:54 +00:00
cuz
37f7bc4c83 Removed an old comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@1070 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-23 19:00:15 +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
d0265989bc Fixed a path
git-svn-id: svn://svn.cc65.org/cc65/trunk@1068 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-20 20:28:28 +00:00
cuz
40a9055be8 Fixed a bug in the return value of the sprintf and vsprintf functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1067 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-20 15:23:34 +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
03229b3253 Remove paragraph about case labels
git-svn-id: svn://svn.cc65.org/cc65/trunk@1052 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-13 19:18:51 +00:00
cuz
0740be0f73 Use static locals (again)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1051 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-13 15:46:03 +00:00
cuz
2ec9ff05a6 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1050 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-13 15:45:04 +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
10a92d08f3 Add perl to the list of build requirements
git-svn-id: svn://svn.cc65.org/cc65/trunk@1032 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 13:50:09 +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
54f96dce9b Removed duplicate case labels and fixed the code for machines without some
or all function keys.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1027 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 13:37:22 +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
5e7e3d4b81 Removed the switch routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@1020 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-11 07:57:20 +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
mrintsch
babcf84f17 Changed the parameters of cbm_load and cbm_save to a more "C-like" way.
The API should be stable now.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1018 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-10 20:35:07 +00:00