1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 06:30:16 +00:00
Commit Graph

1303 Commits

Author SHA1 Message Date
cuz
92d5130220 Improved PET-II support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2857 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-30 08:09:08 +00:00
cuz
aa9d9445e8 Bumped the version number
git-svn-id: svn://svn.cc65.org/cc65/trunk@2837 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-26 21:03:54 +00:00
cuz
baef511276 Fixed address in comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@2826 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-23 08:46:00 +00:00
cuz
23935bd4c6 Fixed a watcom warning
git-svn-id: svn://svn.cc65.org/cc65/trunk@2823 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 23:13:15 +00:00
cuz
46a013c312 We cannot build the inc files from windows/wine
git-svn-id: svn://svn.cc65.org/cc65/trunk@2822 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 22:46:17 +00:00
cuz
467cc7c5ad Generate the inc files
git-svn-id: svn://svn.cc65.org/cc65/trunk@2820 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 21:29:28 +00:00
cuz
01083b9534 Make the scope variables extern
git-svn-id: svn://svn.cc65.org/cc65/trunk@2819 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 21:14:32 +00:00
cuz
09a070edc6 Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2818 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 20:56:31 +00:00
cuz
9e5d22cd9f Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2817 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 20:39:15 +00:00
cuz
1dec560743 Fixed a C99 issue
git-svn-id: svn://svn.cc65.org/cc65/trunk@2816 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-22 20:38:14 +00:00
cuz
72fe2c86a1 Fixed a weird bug. Some special where found to be register variables when they
weren't. Caused by the assignments of the type flags. The flags for the symbol
table entry should get reassigned, because this is not the first time they
caused a problem, but this requires more thought, so I hacked the function
that tests for register vars.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2813 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 18:54:39 +00:00
cuz
da019b064a Assume numeric subroutines use anything and change anything.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2801 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 10:44:39 +00:00
cuz
b0a2e6375f Fixed wrong assumptions in the optimizer when subroutine calls to absolute
addresses are made.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2800 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 10:23:23 +00:00
cuz
6b16c182b2 Config changes for improved 610 support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2797 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-20 23:52:48 +00:00
cuz
6a3ea29429 Set the address size once assembly is terminated
git-svn-id: svn://svn.cc65.org/cc65/trunk@2750 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 20:56:31 +00:00
cuz
108134f43d Changed format of debug info file
git-svn-id: svn://svn.cc65.org/cc65/trunk@2748 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 19:55:22 +00:00
cuz
1b2c277f8b Include exported symbols in debug info
git-svn-id: svn://svn.cc65.org/cc65/trunk@2747 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-13 19:54:38 +00:00
cuz
67e83836ec Ignore generated file supervision.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2734 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 17:45:50 +00:00
cuz
9dad608bc9 Use the WORD0 expression op instead of AND
git-svn-id: svn://svn.cc65.org/cc65/trunk@2732 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 16:02:30 +00:00
cuz
fd102deb77 New pseudo functions: .LOBYTE, .HIBYTE, .BANKBYTE, .LOWORD, .HIWORD
git-svn-id: svn://svn.cc65.org/cc65/trunk@2731 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 15:59:44 +00:00
cuz
67d4f2b3ce Removed debug code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2730 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 15:40:32 +00:00
cuz
841c5f814b Fixed several address size issues
git-svn-id: svn://svn.cc65.org/cc65/trunk@2729 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 15:40:08 +00:00
cuz
54a50d9354 Code cleanup
git-svn-id: svn://svn.cc65.org/cc65/trunk@2728 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 12:59:10 +00:00
cuz
271391d217 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2727 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-12 12:57:49 +00:00
cuz
cb8c3746f5 A continue statement within a do loop did not work. Cleaned up the loop
code a little bit.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2722 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-09 16:29:59 +00:00
cuz
87857eced3 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2720 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-06 14:44:16 +00:00
cuz
7f3c28a438 Make .sizeof work with code scopes. First support for segment ranges.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2719 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-06 14:29:16 +00:00
cuz
eea9accba6 Make .sizeof work with code scopes. First support for segment ranges.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2718 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-06 14:16:27 +00:00
cuz
ad86e4679a Make struct work as documented
git-svn-id: svn://svn.cc65.org/cc65/trunk@2716 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-06 13:35:05 +00:00
cuz
788208d7dc Syntax change
git-svn-id: svn://svn.cc65.org/cc65/trunk@2708 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 19:51:07 +00:00
cuz
92a001d3af Fixes for scoping and better .sizeof support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2706 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 10:13:41 +00:00
cuz
14d0577ef0 More work on .sizeof, fixed problems with cheap locals
git-svn-id: svn://svn.cc65.org/cc65/trunk@2704 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-03 09:18:31 +00:00
cuz
1a9a5f2687 More work on .sizeof
git-svn-id: svn://svn.cc65.org/cc65/trunk@2702 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-02 22:09:45 +00:00
cuz
3a7c054f6b Temp fix for address size detection of symbols
git-svn-id: svn://svn.cc65.org/cc65/trunk@2701 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-30 22:54:13 +00:00
cuz
9ebc3d1f01 Don't remove symbols or otherwise simplify expressions while assembly is
still in progress. There may be information that is needed, and when
assembly is done it is still time to do so. (Needs more work).
Better expression checks for fragments. Stuff that was detected by the
linker before is now handled by the assembler.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2700 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-30 21:47:40 +00:00
cuz
cf7b4e227a More .size/.sizeof support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2699 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-30 18:41:32 +00:00
cuz
c5cc4e1536 Don't use SF_TRAMPOLINE, change symbol references instead.
In smart mode, use RTL instead of RTS if the enclosing .PROC is far.
More address size changes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2696 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-29 07:53:26 +00:00
cuz
05f3f154a9 Use smart mode, allow more CPUs, fix CPU dependent code, use address sizes
for functions.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2694 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-29 07:40:41 +00:00
cuz
b520b182d0 Memory model additions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2693 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-29 07:17:31 +00:00
cuz
add702a2f0 Special code for signed compares against zero
git-svn-id: svn://svn.cc65.org/cc65/trunk@2692 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-29 06:56:24 +00:00
cuz
8f9a21ae3f Extend the object code format by adding a (currently empty) scope table.
Use the address size for import, export and debug symbols (object code
change).
More changes to support the --memory-model switch and address sizes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2691 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-28 22:12:14 +00:00
cuz
e3eea961c2 Update by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2690 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-28 15:57:24 +00:00
cuz
614d23b53a Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2688 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-27 20:43:37 +00:00
cuz
9fea0c5c42 Pass the memory model to the compiler
git-svn-id: svn://svn.cc65.org/cc65/trunk@2685 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-25 18:37:05 +00:00
cuz
349c94f9a2 New --memory-model switch
git-svn-id: svn://svn.cc65.org/cc65/trunk@2684 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-25 18:36:32 +00:00
cuz
5622524cbd New --memory-model option
git-svn-id: svn://svn.cc65.org/cc65/trunk@2683 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-24 19:18:01 +00:00
cuz
e9bd1d42b1 New module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2682 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-24 18:35:29 +00:00
cuz
49f72c6d24 Much extended StudyExpr
git-svn-id: svn://svn.cc65.org/cc65/trunk@2681 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-23 21:39:30 +00:00
cuz
f99049f84c Hold address sizes in an unsigned char
git-svn-id: svn://svn.cc65.org/cc65/trunk@2680 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-23 21:39:12 +00:00
cuz
eb7fc320cc New DefAddrSize variable
git-svn-id: svn://svn.cc65.org/cc65/trunk@2679 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-23 21:38:54 +00:00
cuz
2863d55ebd New option --memory-model
git-svn-id: svn://svn.cc65.org/cc65/trunk@2678 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-23 21:38:23 +00:00
cuz
53a7c0c7d9 Removed the EXPR_FORCE... ops
git-svn-id: svn://svn.cc65.org/cc65/trunk@2677 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-23 21:37:11 +00:00
cuz
efdee34870 Mark RTI as "uses all registers" to avoid problems with the optimizer
removing register loads from an interrupt handler return.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2676 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-22 13:02:37 +00:00
cuz
7e44224dd0 Moved StudyExpr + helpers into its own module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2675 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-19 22:54:30 +00:00
cuz
cd918a387c Temp fix for some address size problems
git-svn-id: svn://svn.cc65.org/cc65/trunk@2674 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-18 20:50:55 +00:00
cuz
aa7b723b15 Added long address size
git-svn-id: svn://svn.cc65.org/cc65/trunk@2673 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-18 20:50:36 +00:00
cuz
5ef1f65c9b Allow conditional directives within .STRUCT7:UNION and .ENUM
git-svn-id: svn://svn.cc65.org/cc65/trunk@2672 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-17 18:49:50 +00:00
cuz
57cc152ad6 Added .SIZEOF
git-svn-id: svn://svn.cc65.org/cc65/trunk@2671 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-17 17:59:30 +00:00
cuz
c5ad7d9af1 Replace address mode detection for expressions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2670 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-17 12:56:44 +00:00
cuz
0e392b79bd Added enums
git-svn-id: svn://svn.cc65.org/cc65/trunk@2665 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 09:03:32 +00:00
cuz
742b1ffd8e New function GenAddExpr
git-svn-id: svn://svn.cc65.org/cc65/trunk@2664 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-14 08:44:12 +00:00
cuz
ebd2336d2b Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2663 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-13 22:19:56 +00:00
cuz
20608c81ce Added structs and unions, more work on scopes and expressions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2662 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-13 22:03:24 +00:00
cuz
274bafe6a5 Remove bank.offs address spec
git-svn-id: svn://svn.cc65.org/cc65/trunk@2661 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-13 22:02:45 +00:00
cuz
88855545e4 Address size fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2659 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-13 00:40:40 +00:00
cuz
ba68b5f87a More work on expressions and address sizes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2658 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-13 00:21:31 +00:00
cuz
71ceff750d Special config for use with the TGI driver added
git-svn-id: svn://svn.cc65.org/cc65/trunk@2655 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:55:16 +00:00
cuz
980f5b598f Precalculate some expressions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2651 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:40:26 +00:00
cuz
7c5a400e01 Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2650 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:40:14 +00:00
cuz
1e624c5e91 Fixed a problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@2641 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-11 22:16:47 +00:00
cuz
8a49256df9 New DumpExpr signature
git-svn-id: svn://svn.cc65.org/cc65/trunk@2640 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-11 13:59:19 +00:00
cuz
e87bec47d7 Allow dumping of symbol expressions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2639 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-11 13:58:00 +00:00
cuz
4555fdcad1 Rewrote expression evaluation. More smaller changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2638 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-11 13:57:30 +00:00
cuz
3d1e244a8a Use safe shift routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2637 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-11 09:44:19 +00:00
cuz
7e9b389428 New shift module, comment fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2636 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-11 09:41:07 +00:00
cuz
1db1c7cabc Renamed expression ops for better readability
git-svn-id: svn://svn.cc65.org/cc65/trunk@2635 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-10 22:18:49 +00:00
cuz
1f5bd0c5e0 Added more missing ops
git-svn-id: svn://svn.cc65.org/cc65/trunk@2634 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-10 13:58:30 +00:00
cuz
e80c537c1b EXPR_SECTION was missing from dump
git-svn-id: svn://svn.cc65.org/cc65/trunk@2633 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-10 13:51:49 +00:00
cuz
bd2edbf02f Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2630 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-09 23:00:53 +00:00
cuz
6f088806d7 Fixed exports for now
git-svn-id: svn://svn.cc65.org/cc65/trunk@2628 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-09 22:50:36 +00:00
cuz
e5b4efc191 Ignore opctest
git-svn-id: svn://svn.cc65.org/cc65/trunk@2627 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-09 12:52:12 +00:00
cuz
814a0d3c84 Improved an error message in case of invalid input data
git-svn-id: svn://svn.cc65.org/cc65/trunk@2626 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-09 12:12:02 +00:00
cuz
18fb938f48 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2625 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-09 12:11:42 +00:00
cuz
88e702db0f Added .SCOPE/.ENDSCOPE
git-svn-id: svn://svn.cc65.org/cc65/trunk@2624 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-08 23:27:30 +00:00
cuz
587b807921 Files in the file tables have their names in the string pool
git-svn-id: svn://svn.cc65.org/cc65/trunk@2623 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-08 23:20:49 +00:00
cuz
87d3f32be1 More work on address sizes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2622 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-08 23:13:02 +00:00
cuz
44976a0461 Replace error/warning numbers by strings.
More work on address sizes and scoping.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2620 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-08 17:20:21 +00:00
cuz
7e74078801 Working on better 65816 support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2619 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-07 19:28:37 +00:00
cuz
066ad63e35 Fixed compiler warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@2618 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-07 11:32:23 +00:00
cuz
cd8d69d1b0 New module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2617 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-06 20:17:03 +00:00
cuz
8400fb848a Revised symbol scoping
git-svn-id: svn://svn.cc65.org/cc65/trunk@2614 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-06 11:22:31 +00:00
cuz
4a667ead00 Improved optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@2613 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-05 19:09:53 +00:00
cuz
5881a2b4f5 Changed freeing symbol relations, cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2610 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-04 19:02:11 +00:00
cuz
b34d2df08b New function and bug fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@2609 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-04 18:59:12 +00:00
cuz
b20cc4cc6e Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2604 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 16:25:31 +00:00
cuz
fdf047b4d7 PEI is no valid opcode for the 6502/sc02/c02
git-svn-id: svn://svn.cc65.org/cc65/trunk@2602 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 15:35:36 +00:00
cuz
86462c321f Fixed missing tab
git-svn-id: svn://svn.cc65.org/cc65/trunk@2601 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 14:30:42 +00:00
cuz
6e780debb8 Add dummy target strip
git-svn-id: svn://svn.cc65.org/cc65/trunk@2600 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 14:02:18 +00:00
cuz
8729fb4a53 Renamed targets
git-svn-id: svn://svn.cc65.org/cc65/trunk@2599 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-03 12:42:49 +00:00
cuz
5b3d0ddaf9 Convert the watcom makefiles for use with wine under Linux
git-svn-id: svn://svn.cc65.org/cc65/trunk@2598 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-02 21:46:00 +00:00
cuz
e2c4314258 Converted the makefile to use wine under Linux
git-svn-id: svn://svn.cc65.org/cc65/trunk@2597 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-02 21:18:25 +00:00
cuz
e7df2d5d75 Change data types to get a smaller memory footprint
git-svn-id: svn://svn.cc65.org/cc65/trunk@2595 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 21:59:21 +00:00
cuz
64c5165a5b Free expression trees when they're no longer needed
git-svn-id: svn://svn.cc65.org/cc65/trunk@2594 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 20:56:40 +00:00
cuz
929b9c174a Removed dead code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2593 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 20:36:31 +00:00
cuz
fbdbf4d07c Work on named scopes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2592 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 20:21:48 +00:00
cuz
8abe61a32f Added parens
git-svn-id: svn://svn.cc65.org/cc65/trunk@2591 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 16:44:20 +00:00
cuz
cba152f777 An "absolute mode override modifier" is now added for instructions where
the assembler will otherwise choose the cheaper zeropage addressing mode
because of the size of the operand.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2590 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-31 16:28:56 +00:00
cuz
7496da8f93 Fixed a bug in the opcode tables
git-svn-id: svn://svn.cc65.org/cc65/trunk@2588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-30 20:35:07 +00:00
cuz
8833089abe Added additional config files for supervision. These files are not really
used by the linker, but I had no better place for them, and config files
from this directory are automatically packed into the doc file, so for now
it seems to be the best place.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2579 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-28 11:26:42 +00:00
cuz
2ec21187ca Improvements by Piotr Fusik
git-svn-id: svn://svn.cc65.org/cc65/trunk@2578 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-28 09:09:52 +00:00
cpg
2ee6778705 changes from Stefan A. Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2574 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 19:41:05 +00:00
cuz
39ad3d6da0 Change API for the Compare function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2573 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-23 14:54:58 +00:00
cuz
48c122e478 Move SymEntry stuff into its own module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2563 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 21:24:37 +00:00
cuz
966dbc53d8 Use the new generic hash tables
git-svn-id: svn://svn.cc65.org/cc65/trunk@2561 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 19:13:21 +00:00
cuz
ff2dca420b More tweaking of the new hashtab module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2560 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 19:13:02 +00:00
cuz
5e07b14e8d Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2559 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 18:47:05 +00:00
cuz
a34f75d0fb Use the new hash table module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2558 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 18:13:07 +00:00
cuz
a492e6f895 New generic hash table module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2557 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 18:12:43 +00:00
cuz
5956040691 More string buffer functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2556 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-22 18:12:31 +00:00
cuz
cb57a213eb Move the segment handling stuff from objcode to a separate module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2555 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-21 20:34:56 +00:00
cuz
bcb652ae83 Help for --linelabels was missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@2551 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-20 10:02:29 +00:00
izydorst
d4043e87ec VLIR linker malloc's memory, fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2546 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 13:48:43 +00:00
izydorst
20f5dd421f replaced one arbitrary limit by another one, will not crash on re-linking GeoPublish VLIRs (>64K)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2545 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 09:11:04 +00:00
cuz
c12c231f14 Add := assignment op, define some currently unused keywords
git-svn-id: svn://svn.cc65.org/cc65/trunk@2542 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 00:38:21 +00:00
cuz
3085e7583e Change debug file format
git-svn-id: svn://svn.cc65.org/cc65/trunk@2541 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-17 00:38:01 +00:00
cuz
e6a5b59b42 Don't generate internal errors on duplicate labels
git-svn-id: svn://svn.cc65.org/cc65/trunk@2524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-15 09:33:01 +00:00
cuz
2340415b37 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2523 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-13 18:31:09 +00:00
cuz
d041d01cc2 Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@2522 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-13 11:17:31 +00:00
cuz
1bdcc16827 Added colorization, tab conversion and other fancy stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2521 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-12 19:05:58 +00:00
cuz
19ff8d96ad More opts
git-svn-id: svn://svn.cc65.org/cc65/trunk@2518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-12 11:29:56 +00:00
cuz
6d409bfb72 Fixed a bug in several binary operators.
Fixed a bug in the restore routine for the register variables (generated
code relies sometimes on a wrap around zero which causes a linker error and
does not work on the 816).
More small changes.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-11 20:40:19 +00:00
cuz
72ce6ac231 Use new CPU instruction sets table
git-svn-id: svn://svn.cc65.org/cc65/trunk@2515 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-11 20:38:55 +00:00
cuz
9de4932f23 New command line options "linenumbers" and "linelabels" which generate line
numbers and labels for each line.
Generate HTML 4.01 instead of 4.0.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2514 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-11 18:43:12 +00:00
cuz
7ed0eb2228 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2511 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 19:33:22 +00:00
cuz
455c679f11 New macro package
git-svn-id: svn://svn.cc65.org/cc65/trunk@2509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 18:05:01 +00:00
cuz
02d7d8faa7 Added CPU instruction set encoding
git-svn-id: svn://svn.cc65.org/cc65/trunk@2506 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:38:21 +00:00
cuz
2e030b707c Change result of .CPU pseudo variable
git-svn-id: svn://svn.cc65.org/cc65/trunk@2505 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:38:06 +00:00
cuz
f721907ab3 New builtin macro package CPU
git-svn-id: svn://svn.cc65.org/cc65/trunk@2504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:37:52 +00:00
cuz
e24853a8fd Use common code to determine the CPU
git-svn-id: svn://svn.cc65.org/cc65/trunk@2502 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:08:08 +00:00
cuz
283bc121ea Supervision has something between a 65SC02 and 65C02
git-svn-id: svn://svn.cc65.org/cc65/trunk@2501 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 17:01:34 +00:00
cuz
6afee6fb05 New target supervision
git-svn-id: svn://svn.cc65.org/cc65/trunk@2497 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:44:20 +00:00
cuz
e08261dff3 Beafed up the string buffer module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2496 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:43:01 +00:00
cuz
2541ddd2f6 New target: supervision
git-svn-id: svn://svn.cc65.org/cc65/trunk@2495 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 16:30:55 +00:00
cuz
d88ee416f0 Fixed an issue with SB_CopyBuf
git-svn-id: svn://svn.cc65.org/cc65/trunk@2494 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 14:47:29 +00:00
cuz
32c160b07a Update
git-svn-id: svn://svn.cc65.org/cc65/trunk@2492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 12:47:36 +00:00
cuz
c569764a83 Remove a watcom warning
git-svn-id: svn://svn.cc65.org/cc65/trunk@2491 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 12:24:47 +00:00
cuz
4bb497f1bc Fixed tab problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@2490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 12:18:21 +00:00
cuz
1badfb554a Added strpool.obj
git-svn-id: svn://svn.cc65.org/cc65/trunk@2489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 12:15:08 +00:00
cuz
f9af6ebf88 Added some code to handle floats/doubles.
Fixed code generation for compares.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 11:39:58 +00:00
cuz
f1b0fb9763 Added some code to handle floats/doubles.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2487 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-10 11:39:30 +00:00
cuz
89d4ba5553 Fixed a bug - enum tags were inserted into the wrong table
git-svn-id: svn://svn.cc65.org/cc65/trunk@2484 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-09 18:56:38 +00:00
cuz
923ae328a5 Fixed a bug in signed int compares
git-svn-id: svn://svn.cc65.org/cc65/trunk@2483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 21:26:32 +00:00
cuz
9a2b4dc849 Handle more opcodes in OptCmp2
git-svn-id: svn://svn.cc65.org/cc65/trunk@2482 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 21:23:39 +00:00
cuz
4cbf8b352d Handle more opcodes in OptPrecalc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2481 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 21:23:01 +00:00
cuz
b3496bb343 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2479 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-08 16:58:54 +00:00
cuz
387ebfd396 Fixed a bug.
Added/moved debug code.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2472 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-06 10:29:17 +00:00
cuz
2b501720bf Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2468 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-02 09:01:47 +00:00
cuz
5a656ef6df Rearrange members to lower memory usage
git-svn-id: svn://svn.cc65.org/cc65/trunk@2466 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-01 20:59:39 +00:00
cuz
eea99d2a1d More zeropage variable tracking in the optimizer
git-svn-id: svn://svn.cc65.org/cc65/trunk@2460 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-01 13:05:35 +00:00
cuz
d4bd299b5c Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2459 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-30 14:40:32 +00:00
cuz
8949233151 Added handling of memory areas references in expressions for o65
git-svn-id: svn://svn.cc65.org/cc65/trunk@2453 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-27 19:53:09 +00:00
cuz
ffb77285de New %s inline asm format specifier
git-svn-id: svn://svn.cc65.org/cc65/trunk@2442 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-16 20:35:37 +00:00
cuz
5537aee205 More debug file output
git-svn-id: svn://svn.cc65.org/cc65/trunk@2441 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 21:08:05 +00:00
cuz
67d55e71eb Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2440 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 19:29:56 +00:00
cuz
3604512985 Added SegTypeToStr
git-svn-id: svn://svn.cc65.org/cc65/trunk@2439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 19:27:59 +00:00
cuz
f4e5baa444 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2437 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 11:12:27 +00:00
cuz
3499efea8f New optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2436 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-14 09:54:24 +00:00
cuz
6028eaac0c Improved the opt step added lately
git-svn-id: svn://svn.cc65.org/cc65/trunk@2435 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-12 10:33:14 +00:00
cuz
30594ce1f1 New --hexoffs option
git-svn-id: svn://svn.cc65.org/cc65/trunk@2433 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-11 20:19:09 +00:00
cuz
2c63e4bc0b More optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@2432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-11 19:00:29 +00:00
cuz
08349112f7 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-11 09:36:16 +00:00
cuz
020a583388 Output to stdout if no output name given
git-svn-id: svn://svn.cc65.org/cc65/trunk@2429 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-04 08:25:43 +00:00
cuz
fff8289744 Increase the number of recursive macro expansions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-09-01 11:20:13 +00:00
cuz
314b61f97a Reorder for better error messages
git-svn-id: svn://svn.cc65.org/cc65/trunk@2427 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-30 12:29:28 +00:00
cuz
14fc5c1073 Renamed exprhs to ExprLoad
git-svn-id: svn://svn.cc65.org/cc65/trunk@2426 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-29 09:16:28 +00:00
cuz
e6568c9763 Some octal character constants were not working.
The vertical tab '\v' character constant was not accepted.
Added some error recovery in case of illegal character constants.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2425 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-29 09:16:05 +00:00
cuz
7989e202a6 Fixed a type conversion bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2419 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-27 19:40:40 +00:00
cuz
fe37c38972 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2418 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-27 09:48:10 +00:00
cuz
1b311d932d Add new SKIP range
git-svn-id: svn://svn.cc65.org/cc65/trunk@2412 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-23 21:19:20 +00:00
cuz
fd2fa25f28 Added INPUTOFFS and INPUTSIZE
git-svn-id: svn://svn.cc65.org/cc65/trunk@2411 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-23 16:03:58 +00:00
cuz
e3d3a43c3c New features: DByteTable, Comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@2409 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-23 09:20:33 +00:00
cuz
79edfdd0df Use $(RM) instead of rm -f
git-svn-id: svn://svn.cc65.org/cc65/trunk@2402 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 18:05:44 +00:00
cuz
aef8789873 Fixed several type conversion issues
git-svn-id: svn://svn.cc65.org/cc65/trunk@2380 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 08:32:07 +00:00
cuz
e20bda21b3 Fixed type conversion problems
git-svn-id: svn://svn.cc65.org/cc65/trunk@2371 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-19 20:31:10 +00:00
cuz
7596da75f0 Fixed an internal compiler error when the first token of a source file
caused an error message. In this case, the line info was not available
leading to a PRECONDITION VIOLATED.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2370 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-19 20:30:55 +00:00
cuz
5890278a69 A page length of zero wasn't accepted
git-svn-id: svn://svn.cc65.org/cc65/trunk@2368 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 21:45:49 +00:00
cuz
7faa7ab3b8 New default for start address
git-svn-id: svn://svn.cc65.org/cc65/trunk@2366 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 20:36:38 +00:00
cuz
da8739609d Fixed addresses crossing 0x10000
git-svn-id: svn://svn.cc65.org/cc65/trunk@2365 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 20:14:31 +00:00
cuz
d790ae1b42 More optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@2363 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-18 14:40:27 +00:00
cuz
a70d466e3e Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2351 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-17 15:20:18 +00:00
cuz
cc389a3911 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2341 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-16 08:14:05 +00:00
cuz
f3e0d3fbb1 More debug infos
git-svn-id: svn://svn.cc65.org/cc65/trunk@2320 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 10:59:22 +00:00
cuz
5422c6924a Removed the -Lp switch, place --dbgfile into help screen
git-svn-id: svn://svn.cc65.org/cc65/trunk@2318 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 09:19:57 +00:00
cuz
ccdd31b51e Added gcc attributes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 21:15:10 +00:00
cuz
c6078cae22 Add gcc attributes, fixed a format string problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@2315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 21:09:03 +00:00
cuz
58e3d8c97c Add gcc attributes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 21:05:25 +00:00
cuz
91a79e4714 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-14 13:08:46 +00:00
cuz
88d2cc0410 INCS didn't include nes.inc
git-svn-id: svn://svn.cc65.org/cc65/trunk@2308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-13 18:54:31 +00:00
cuz
b821c2c8ae More optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@2305 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-13 09:35:49 +00:00
cuz
b144a85dbb Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2292 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:34:09 +00:00
cuz
9d6c683ab6 New --config directive passed to the linker
git-svn-id: svn://svn.cc65.org/cc65/trunk@2291 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 19:31:06 +00:00
cuz
fcfaaee3a9 Added new .VERSION constant
git-svn-id: svn://svn.cc65.org/cc65/trunk@2280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 15:11:55 +00:00
cuz
591f3f39ba Added #define for combined version
git-svn-id: svn://svn.cc65.org/cc65/trunk@2279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 15:10:24 +00:00
cuz
98cdbaba4b Allow a CPU spec in the GLOBAL section of the info file
git-svn-id: svn://svn.cc65.org/cc65/trunk@2269 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 11:01:46 +00:00
cuz
f0dace7bd0 Address fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@2268 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-12 10:30:14 +00:00
cuz
f28586ffcc Add compatibility code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2265 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-11 21:34:22 +00:00
cuz
5a6ce40b13 Fixed an optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@2263 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-11 20:46:51 +00:00
cuz
81f94afd5c Rewrote type conversions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-11 20:18:30 +00:00
cuz
b4bfbfa8ce The input file on the command line is optional
git-svn-id: svn://svn.cc65.org/cc65/trunk@2261 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-10 17:22:46 +00:00
cuz
73dfa23c98 Fixed a bug that caused problems locating the last parameter of a function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-10 17:05:18 +00:00
cuz
9a34fdb41e Two parts were not converted from using embedded strings to use of the new
string table.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2258 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-10 16:27:35 +00:00
cuz
38e102d2df Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2256 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-10 16:12:04 +00:00
cuz
817b2ac261 Renamed the config file to info file and changed the handling when the
disassembler is invoked.


git-svn-id: svn://svn.cc65.org/cc65/trunk@2255 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-09 08:28:44 +00:00
cuz
11328d8ea6 Added additional 65(S)C02 opcodes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2254 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-08 19:23:55 +00:00
cuz
897f3e9530 Base code for handling different CPUs, more improvements
git-svn-id: svn://svn.cc65.org/cc65/trunk@2253 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-08 11:12:04 +00:00
cuz
045dfad6b5 Added different 65SC02 and 65C02 CPUs
git-svn-id: svn://svn.cc65.org/cc65/trunk@2251 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 11:13:13 +00:00
cuz
b1f89ab793 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2250 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 11:12:39 +00:00
cuz
e829fe0ee2 Added 65C02 instructions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 10:42:47 +00:00
cuz
33d16833f0 Some CPU definition changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 08:22:16 +00:00
cuz
0192932e2c More instruction set stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-07 08:13:46 +00:00
cuz
c130e597b0 New option --forget-inc-paths
git-svn-id: svn://svn.cc65.org/cc65/trunk@2243 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-03 11:58:11 +00:00
cuz
39478f2703 New function ForgetAllSearchPaths
git-svn-id: svn://svn.cc65.org/cc65/trunk@2242 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-03 11:51:12 +00:00
cuz
92dfde6c4e Order of keywords on the keyword table was wrong
git-svn-id: svn://svn.cc65.org/cc65/trunk@2240 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-02 10:07:00 +00:00
cuz
f7dfcbcc3d Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2239 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-02 09:55:54 +00:00
cuz
f08179d6af Added the near keyword
git-svn-id: svn://svn.cc65.org/cc65/trunk@2237 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-01 21:38:54 +00:00
cuz
8c62f6b417 The type "enum x" was not handled correctly in sizeof statements and casts.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2235 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-01 21:29:42 +00:00
cuz
d5b3ff4bca Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2234 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-07-26 07:31:15 +00:00
cuz
cc9263d413 Bug: Char arrays with a specified size could not be initialized with literal
strings that had the same length as the char array (in this case the zero
terminator must be omitted by the compiler).


git-svn-id: svn://svn.cc65.org/cc65/trunk@2230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-07-19 09:12:38 +00:00
cuz
a01d673415 New option --asm-define
git-svn-id: svn://svn.cc65.org/cc65/trunk@2229 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-07-16 05:59:29 +00:00
cuz
76d26ae0a9 Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2227 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-27 15:46:20 +00:00
cuz
6766f4a2c1 Octal character constants starting with '2' or '3' did not work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-27 08:10:08 +00:00
cuz
309f1f0f88 PEI was broken
git-svn-id: svn://svn.cc65.org/cc65/trunk@2224 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-21 10:09:28 +00:00
cuz
3cbd6ca29b Added new address size override commands z:, a: and f:.
git-svn-id: svn://svn.cc65.org/cc65/trunk@2222 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-17 20:22:14 +00:00
cuz
bd4702cb97 Improve help output
git-svn-id: svn://svn.cc65.org/cc65/trunk@2208 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-11 07:13:54 +00:00
cuz
5faea71a56 Added missing files
git-svn-id: svn://svn.cc65.org/cc65/trunk@2206 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 21:15:42 +00:00
cuz
cdedb31199 Assertion checks were the wrong way round
git-svn-id: svn://svn.cc65.org/cc65/trunk@2205 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 21:09:36 +00:00
cuz
0d27afb21f Completed assertions, add auto assertion for jmp (abs) bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2203 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 20:47:59 +00:00
cuz
bb24d025f6 Added assertions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2202 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 12:45:19 +00:00
cuz
0aa75f12d6 Fragment cleanup, more string pool use
git-svn-id: svn://svn.cc65.org/cc65/trunk@2201 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 06:50:27 +00:00
cuz
c5255302db Increased the string pool size
git-svn-id: svn://svn.cc65.org/cc65/trunk@2200 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-06 06:44:07 +00:00
cuz
eb5637b6e4 More stringpool use / memory savings
git-svn-id: svn://svn.cc65.org/cc65/trunk@2199 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-05 16:50:01 +00:00
cuz
cea9aff3ef More string pool use
git-svn-id: svn://svn.cc65.org/cc65/trunk@2198 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-04 15:40:32 +00:00
cuz
edde7a3f45 Use a string pool to reduce the memory footprint
git-svn-id: svn://svn.cc65.org/cc65/trunk@2197 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-04 12:40:14 +00:00
cuz
4937cd236f Restructuring the object file format
git-svn-id: svn://svn.cc65.org/cc65/trunk@2196 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 22:19:46 +00:00
cuz
f47f86c7b4 Added new ld65 options
git-svn-id: svn://svn.cc65.org/cc65/trunk@2190 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 11:27:35 +00:00
cuz
98da4b5811 Added debugging output
git-svn-id: svn://svn.cc65.org/cc65/trunk@2189 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 07:25:49 +00:00
cuz
e60b68c7bd Changed file type and search path handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@2185 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 13:37:05 +00:00
cuz
4525b13eb2 Add upper case extensions, use binary search
git-svn-id: svn://svn.cc65.org/cc65/trunk@2183 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-02 11:01:23 +00:00
cuz
1e4af7b04e Use the new filetype module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2182 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-30 20:50:34 +00:00
cuz
d0bb32e6c6 New filetype module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-30 20:49:19 +00:00