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

742 Commits

Author SHA1 Message Date
cuz
4e2110a7a9 Fixed the inlined strlen function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1738 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-12 17:40:58 +00:00
cuz
e84a1c068b Print a warning if a bss type segment has both, run and load areas assigned.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1737 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-11 18:29:58 +00:00
cuz
11306120ea Fixed a bug that occurred when using // comments at the end of an #if
line.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-11 15:28:09 +00:00
cuz
2f8c281b89 Fixed hangup for loops in jump cascade
git-svn-id: svn://svn.cc65.org/cc65/trunk@1734 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-11 11:29:17 +00:00
cuz
e4d25caa56 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1717 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-05 12:59:07 +00:00
cuz
cca009fe78 Added stack usage info
git-svn-id: svn://svn.cc65.org/cc65/trunk@1716 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-05 12:59:00 +00:00
cuz
867b2ea2ed Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1714 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-04 11:03:15 +00:00
cuz
df5132d31c New feature: startaddress
git-svn-id: svn://svn.cc65.org/cc65/trunk@1713 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-03 22:32:38 +00:00
cuz
40c8cbdca5 Added a harmless function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1686 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:32:13 +00:00
cuz
086d80e8c4 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1684 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-12-01 23:32:01 +00:00
cuz
1167d99a9b New .PUSHSEG and .POPSEG commands
git-svn-id: svn://svn.cc65.org/cc65/trunk@1671 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-28 17:42:16 +00:00
cuz
cf2162f5da Move the ValidSegName function into common (segdefs)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-28 17:34:42 +00:00
cuz
34f42ce630 Added SegDef struct and a few functions to the segdefs module
git-svn-id: svn://svn.cc65.org/cc65/trunk@1668 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-28 17:34:16 +00:00
cuz
6b46bf3b10 Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1667 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-28 15:25:11 +00:00
cuz
0348739164 New --register-space option
git-svn-id: svn://svn.cc65.org/cc65/trunk@1653 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 18:27:09 +00:00
cuz
bf5ae8b663 Add compiler options for register variables
git-svn-id: svn://svn.cc65.org/cc65/trunk@1652 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 18:23:44 +00:00
cuz
8fc78c2c8d Added the .TIME pseudo function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1651 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-26 13:44:35 +00:00
cuz
ef886278a8 Make the spawn module an include file as suggested by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@1649 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 21:12:00 +00:00
cuz
345d2ddf54 Adjusted the copyright string
git-svn-id: svn://svn.cc65.org/cc65/trunk@1648 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 17:33:58 +00:00
cuz
85e36f2ea5 Add capability to dump just the segment sizes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1647 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 17:32:16 +00:00
cuz
ea06b7286e Additional pointer load optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1644 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 17:06:19 +00:00
cuz
9328da18fb Fixed symtab code
git-svn-id: svn://svn.cc65.org/cc65/trunk@1642 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 15:13:03 +00:00
cuz
70755921a9 Re-added register variables.
Changed/added several optimizer steps to detect register variables correctly
or to handle them in a special way.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1636 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 15:05:15 +00:00
cuz
d8338efc53 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1632 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-25 14:24:48 +00:00
cuz
da44e7ae4b Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1628 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 23:41:51 +00:00
cuz
ede471904c Reenable register variables
git-svn-id: svn://svn.cc65.org/cc65/trunk@1625 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 23:31:54 +00:00
cuz
b6898c3f1e Check register before static
git-svn-id: svn://svn.cc65.org/cc65/trunk@1624 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 21:07:39 +00:00
cuz
89f00263af Fixed a problem with the test expression in a for loop: It was not evaluated
correctly if it did not contain an explicit comparison operator.
Removed an old hack from the test subroutine that did no longer work.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1619 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-24 18:18:16 +00:00
cuz
b948d96206 More optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1613 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 22:06:26 +00:00
cuz
c61729a15a A few size optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1606 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 16:33:35 +00:00
cuz
ac61d6826c Another optimization step
git-svn-id: svn://svn.cc65.org/cc65/trunk@1603 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 12:05:23 +00:00
cuz
d7d86886b6 Add STARTUP and LOWCODE segments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1601 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-23 11:10:50 +00:00
cuz
fe75b5c3f3 Added LOWCODE and STARTUP segments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1600 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:50:45 +00:00
cuz
a7d67fb9b5 New upper memory limit
git-svn-id: svn://svn.cc65.org/cc65/trunk@1598 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:45:57 +00:00
cuz
cf71d811dc Comment was wrong
git-svn-id: svn://svn.cc65.org/cc65/trunk@1597 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:45:37 +00:00
cuz
86fb1f760a New harmless function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1595 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 23:44:36 +00:00
cuz
6eabc2813a Added interrupt handler table
git-svn-id: svn://svn.cc65.org/cc65/trunk@1591 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 22:42:49 +00:00
cuz
527c0575ec Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1590 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 22:42:38 +00:00
izydorst
8c5da1ecc1 added LOWCODE and STARTUP segments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1583 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 18:46:55 +00:00
cuz
2b98a26cac Add STARTUP and LOWCODE segments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1582 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 17:43:47 +00:00
cuz
4dd4e76a88 Added a scope argument to the SymIsDef and SymIsDef functions, so it is
possible to request information for a specific scope.
Add an optional scope argument to the .DEFINED builtin function.
Change the long branch macros to look for symbols in local scope.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1574 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 01:45:00 +00:00
cuz
08b095c604 Reversed the last change because it did not work
git-svn-id: svn://svn.cc65.org/cc65/trunk@1566 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-22 00:33:29 +00:00
cuz
4f9f06c20a Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1565 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 23:28:32 +00:00
cuz
e41c0adbb2 New target c16
git-svn-id: svn://svn.cc65.org/cc65/trunk@1563 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:22:26 +00:00
cuz
c80596458c Renamed NMI segment to LOWCODE
git-svn-id: svn://svn.cc65.org/cc65/trunk@1562 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:15:19 +00:00
cuz
f205950f54 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1561 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 21:10:10 +00:00
cuz
42463beaee Rewrote code for better readability
git-svn-id: svn://svn.cc65.org/cc65/trunk@1560 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 20:46:16 +00:00
cuz
0ba44bb2d4 Small but significant shift optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1559 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-21 01:08:14 +00:00
cuz
cfbe5ec5b4 Commiting some old changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1551 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 17:04:29 +00:00
cuz
ead7de2b42 Ignore module.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@1550 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-11-20 17:03:14 +00:00