cuz
1a39515769
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@895 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-12 18:20:30 +00:00
cuz
23fbf3ff2a
Adding functionality to StrBuf
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@885 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-09 20:49:20 +00:00
cuz
c090f90172
Use a string buffer instead of the old implementation
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@883 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-09 13:23:54 +00:00
cuz
c04e8a90e4
More string buffer work
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@882 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-09 13:23:16 +00:00
cuz
2485259a93
New strbuf module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@881 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-09 10:24:16 +00:00
cuz
56b8ead112
Move inline asm parsing into a separate module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@880 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-09 09:33:06 +00:00
cuz
bdf212b311
Added copyright notice
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@879 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-09 09:26:46 +00:00
cuz
3e887bd9dd
Flag labels in the map file exports list
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@877 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 22:09:30 +00:00
cuz
cd53882eed
Add the label/equate bit to the exports and debug symbols
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@876 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 21:08:20 +00:00
cuz
522ddabc35
Add new defines for export usage
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@875 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 20:51:33 +00:00
cuz
d799cc283f
Add special routines for processing the boolean || and && operators in
...
preprocessor mode to work around limitations in the existing ones (constant
expressions are not detected).
git-svn-id: svn://svn.cc65.org/cc65/trunk@864 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-08 13:59:32 +00:00
cuz
84ddce0474
Cosmetic change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@861 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-07 21:42:40 +00:00
cuz
5db55826f0
Removed an invalid data access.
...
Check nested #ifs for overflow.
Lots of cleanups and rewriting of code sections.
Streamlined and extended #if stack handling.
Added #elif preprocessor directive.
git-svn-id: svn://svn.cc65.org/cc65/trunk@859 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-07 09:54:33 +00:00
cuz
f3df91260a
Minor speedup
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@858 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-07 07:04:54 +00:00
cuz
e1b0251f04
Renamed some functions for better readbility.
...
Add a binary search for preprocessor tokens (instead of the old linear one)
to speed up the compiler.
git-svn-id: svn://svn.cc65.org/cc65/trunk@857 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-06 10:17:52 +00:00
cuz
bf47ac26c9
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@856 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-06 10:16:41 +00:00
cuz
3c2dafcb1f
Added .lclintrc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@855 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-06 09:43:53 +00:00
cuz
b02fbce931
Changed an error message
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@854 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-09-01 19:13:36 +00:00
cuz
4ce28c0cd5
Fixed problem with forward references in unnamed labels
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@853 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-30 08:17:06 +00:00
cuz
b3af17126c
Allow access to the global segments. Place ".dbg file" statements into the
...
global text segments so they will appear before any of the ".dbg line"
statements emitted later.
git-svn-id: svn://svn.cc65.org/cc65/trunk@852 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-24 15:03:10 +00:00
izydorst
9346c3fbac
info about c1541 in docs, lowered highest available address to $6000 due to
...
posiblity of overwriting C stack by drawing/copying to screen backbuffer
git-svn-id: svn://svn.cc65.org/cc65/trunk@847 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-15 16:08:15 +00:00
cuz
2ff141a73f
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@845 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-13 16:01:18 +00:00
cuz
7da0da3cad
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@842 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-05 22:50:00 +00:00
cuz
185bb4875f
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@841 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-05 22:22:58 +00:00
cuz
adb0ac070a
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@840 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-05 22:09:48 +00:00
cuz
0529c2044a
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@839 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-05 21:19:50 +00:00
cuz
24403e151e
More optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@838 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-05 20:37:14 +00:00
cuz
59a94124a1
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@837 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-03 07:34:40 +00:00
cuz
7cf676d40c
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@836 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-03 06:45:38 +00:00
cuz
254948fcfe
Minor changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@835 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-03 06:45:30 +00:00
cuz
eaf1304b71
Make flag constants unsigned
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@834 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-08-03 06:45:22 +00:00
cuz
81520a5824
Make --list-opt-steps exclusive
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@833 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-30 21:40:32 +00:00
cuz
b4010bae8b
Fixed several bugs
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@832 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-30 19:33:52 +00:00
cuz
d341565ddc
Allow enabling/disabline optimizer steps by file
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@831 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-29 20:38:15 +00:00
cuz
750cf445f7
Added IsControl
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@830 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-29 20:36:19 +00:00
cuz
c51a706830
Simplify code generation
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@827 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-29 09:07:43 +00:00
cuz
1cfec2492e
Optimizations, cleanup in codegen
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@826 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-26 20:08:28 +00:00
cuz
bbebbe3a1b
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@824 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-26 06:40:06 +00:00
cuz
58592116ac
Better code for > compares
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@823 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-26 06:10:10 +00:00
cuz
d604ed5e3f
More optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@822 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-25 21:51:40 +00:00
cuz
c2e45ea24d
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@819 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-25 16:15:47 +00:00
cuz
cd358107d3
Free register info
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@818 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-25 06:59:27 +00:00
cuz
8cd7b15c8b
Squashed one more bug in the switch statement
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@816 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-24 20:19:03 +00:00
cuz
0b08eb0e68
More register tracking
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@815 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-24 20:13:10 +00:00
cuz
d982999f3e
Fixed another bug in CascadeSwitch
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@814 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-24 20:12:53 +00:00
cuz
c5ccad1fc7
Fixed a bug in CascadeSwitch
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@813 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-24 20:08:58 +00:00
cuz
05eb03b32f
Better register tracking in the optimizer
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@812 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-24 17:07:33 +00:00
cuz
f249ae345e
More renaming. Remove the case label limit by using a collection to store
...
the switch entries.
git-svn-id: svn://svn.cc65.org/cc65/trunk@807 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-17 21:53:17 +00:00
cuz
c571214513
More renaming
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@806 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-17 21:29:21 +00:00
cuz
cc83744882
Renamed struct expent
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@805 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-17 21:24:19 +00:00
cuz
cbdc651884
Added more optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@804 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-17 20:13:33 +00:00
cuz
e370e447f6
Fixed a while loop bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@803 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-17 17:18:07 +00:00
cuz
c1c402c6ba
Fixed a bug in the for loop optimization applied earlier
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@800 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-17 16:46:43 +00:00
cuz
6c34eeb93d
Move the increment code of a for loop after the loop body.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@799 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-17 12:50:38 +00:00
cuz
db707db0f1
Added CollMoveMultiple
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@798 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-17 12:42:16 +00:00
cuz
5c46ebee60
Added CollMove
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@797 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-17 11:54:30 +00:00
cuz
2266d11fec
Remove transfer insns if possible
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@795 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-16 18:48:04 +00:00
cuz
6a09064842
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@794 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-16 18:47:19 +00:00
cuz
f98db88f36
Trace register usage, remove duplicate loads
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@793 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-16 16:32:14 +00:00
cuz
38f076a59e
Fixed type compare for functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@791 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-15 16:41:00 +00:00
cuz
36131c00d0
Work around a problem with the #if hack in the preprocessor
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@787 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-14 15:56:17 +00:00
cuz
6dcb3b662e
Avoid a copy of the line contents
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@786 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-14 15:55:52 +00:00
cuz
ac6fdcc55b
Add dbginfo module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@782 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-14 14:44:07 +00:00
cuz
49376daf0d
Go back to a working codegen.c
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@779 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-07-14 14:31:50 +00:00
cuz
6a988b4859
Fixed multi line macro bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@772 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-06-24 16:08:35 +00:00
cuz
fe2cd767b2
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@771 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-06-04 12:27:16 +00:00
cuz
c1da7b8859
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@770 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-06-04 12:26:53 +00:00
cuz
d27bfe8a7b
More renaming
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@769 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-06-03 09:10:46 +00:00
cuz
f42300ef62
Lots of renaming
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@768 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-31 21:08:49 +00:00
cuz
9ce1e413e4
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@767 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-29 18:11:06 +00:00
cuz
a9674c071a
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@766 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-29 07:41:08 +00:00
cuz
3889a2bec9
Added dbg file generation
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@764 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-29 07:39:46 +00:00
cuz
45242a8e02
Fixed line info issues
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@763 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-29 07:39:01 +00:00
cuz
369f59c1bb
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@762 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-28 06:30:03 +00:00
cuz
034a4b75e5
Optimizer bugfixes, polished the line info.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@761 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-26 10:58:40 +00:00
cuz
916a0879d5
cleanup
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@760 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-26 10:04:15 +00:00
cuz
84f85293f1
Fixed more E_MCONST issues
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@758 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-24 18:26:20 +00:00
cuz
b0324b6041
Bugfix
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@757 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-24 09:16:11 +00:00
cuz
eab6086161
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@754 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-24 08:26:57 +00:00
cuz
1d458e9f33
Small fixes for Watcom-C
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@752 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-24 08:04:42 +00:00
cuz
d96baa7c42
Use a collections for the line info and sort them by file/line.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@751 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-23 22:02:19 +00:00
cuz
f3f42c43e5
Use fstat instead of stat and simplify the code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@750 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-23 21:44:14 +00:00
cuz
275da22a66
Use a separate structure for file infos instead of just the name.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@749 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-23 21:32:57 +00:00
cuz
bfbedfa54b
Added line infos
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@748 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-23 19:03:40 +00:00
cuz
ea2cf602b0
Working on source line information
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@747 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-23 08:51:48 +00:00
cuz
d390c51e57
Cosmetic change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@746 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-23 07:10:16 +00:00
cuz
f0f7af6b4a
Added new lineinfo module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@745 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-23 07:04:09 +00:00
cuz
bc8f4f3a1e
Added .dbg statement generation for the assembler
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@744 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-22 20:03:26 +00:00
cuz
afbf6d5fac
Bumped the version
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@743 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-22 19:59:37 +00:00
cuz
3a272d93af
More polishing to get the line info right
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@742 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-22 16:54:47 +00:00
cuz
12ec031f9a
Polishing and minor corrections
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@741 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-22 13:58:56 +00:00
cuz
0e80187cec
Added the lineinfo module. Changed the complete code generation to use the
...
supplied data structures. Re-added the -T option which is much more exact
now because of the better line info stuff.
Cleanups in the scanner (remove old #defines).
git-svn-id: svn://svn.cc65.org/cc65/trunk@740 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-22 09:32:24 +00:00
cuz
caf73cf15f
Fix load of longs and improve zero page info
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@739 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-22 07:11:22 +00:00
cuz
a687912ea3
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@738 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-21 20:05:52 +00:00
cuz
c1b6680a92
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@737 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-21 06:43:46 +00:00
cuz
4c19a5b699
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-20 20:42:00 +00:00
cuz
3c04d5777f
Fixed a problem with the Chg/Use flags
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@734 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-20 18:51:12 +00:00
cuz
a9702f8a52
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@733 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-20 09:38:20 +00:00
cuz
df6d71d91e
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@732 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-19 21:20:08 +00:00
cuz
68c0d38dfa
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@731 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-18 20:32:18 +00:00
cuz
4e645d3ab8
Added DelCodeEntries
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@730 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-17 21:42:41 +00:00
cuz
09eed789dd
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@729 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-16 19:01:19 +00:00
cuz
1d3ea5cde0
Use :? operator to allow use in expressions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@728 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-16 13:05:06 +00:00
cuz
46a306e400
Renamed cfeature.h to inline.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@727 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-16 09:27:35 +00:00
cuz
87e9f7379b
Use inline for better performance
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@726 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-16 09:24:42 +00:00
cuz
f78237a6a6
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@725 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-15 22:35:38 +00:00
cuz
21d41040c9
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@724 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-15 19:42:17 +00:00
cuz
c9cb564b9b
Moved some of the currently existing into a separate module.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@723 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-14 17:35:53 +00:00
cuz
a1da98103a
Added backend optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@722 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-09 21:56:03 +00:00
cuz
3ef00e7d2a
The .defined function (and .ifdef/.ifndef) flagged an imported symbol as
...
"defined". I'm not sure whichever is correct, but I changed it now and
will introduce an additional function .isimport if necessary.
git-svn-id: svn://svn.cc65.org/cc65/trunk@721 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-08 17:56:39 +00:00
cuz
a961f00997
Several bug fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@720 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-07 22:07:59 +00:00
cuz
989aacec2c
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@719 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-06 20:57:58 +00:00
cuz
e6a5e57b47
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@718 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-05 21:42:58 +00:00
cuz
cc9826721b
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@717 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-05 16:12:47 +00:00
cuz
3ff4baeafb
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@716 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-05 14:30:29 +00:00
cuz
e6484f85c7
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@715 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-05 13:51:42 +00:00
cuz
e8174aaa25
Added CollPop
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@714 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-05 12:34:22 +00:00
cuz
0218f8c632
Working on the new backend. Moved the files from the b6502 into the main
...
compiler dir because the backend is not really a submodule, so this did
not reflect the real relations of the backend to the rest of the compiler.
git-svn-id: svn://svn.cc65.org/cc65/trunk@713 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-05 11:46:02 +00:00
cuz
8800b0c1c8
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@712 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-05 11:31:05 +00:00
cuz
1fbf554c63
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@710 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-04 16:41:23 +00:00
cuz
c71a80b0af
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-03 22:06:59 +00:00
cuz
42695dd3c3
Added CollIndex and CollDeleteItem
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@708 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-03 20:45:26 +00:00
cuz
8a3bacd7f4
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@707 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-03 20:16:41 +00:00
cuz
8eadb8aee0
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@706 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-03 17:34:54 +00:00
cuz
cd956115fa
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@705 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-02 20:14:38 +00:00
cuz
b9677becc1
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@704 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-01 19:59:55 +00:00
cuz
30e8306e05
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@703 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-01 17:11:40 +00:00
cuz
239cbdcb2b
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@702 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-01 16:57:43 +00:00
cuz
88792854a6
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@701 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-01 15:50:31 +00:00
cuz
9d1940a124
Working on the new backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@700 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-05-01 09:21:32 +00:00
cuz
aa6b3afcfc
Working on the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@699 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-30 20:00:13 +00:00
cuz
ddc60c20fe
Added CollDeleteAll
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@698 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-30 19:44:54 +00:00
cuz
abb1362389
Fixed a bug with the .incbin command
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@697 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-30 15:42:52 +00:00
cuz
b28672246a
Rewriting the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@696 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-28 21:45:13 +00:00
cuz
2f722e4779
Started to redo the backend
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@694 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-25 19:41:32 +00:00
cuz
4fdd595007
New module strutil
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@693 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-25 13:50:35 +00:00
cuz
9cb63b679c
Renamed GetLabel to GetLocalLabel
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@692 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-19 06:49:08 +00:00
cuz
72e27092d4
Fixed a bug. Function declarations where the type of the first parameter is
...
a typedef and the name of the parameter is omitted where parse as old style
(K&R) function declarations leading to errors.
git-svn-id: svn://svn.cc65.org/cc65/trunk@688 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-06 09:07:48 +00:00
cuz
67aed641db
Fixed an internal error on too few params in function call
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@685 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-04 20:20:48 +00:00
cuz
b8e26d3612
Repeat opts until there are no more changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@684 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-04-04 20:20:29 +00:00
cuz
2d77e8b35f
Make the last change more generic
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@681 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-27 22:57:20 +00:00
cuz
8e5d8b9e4f
Added optimization for g_inc and g_dec (remove handling of high byte if
...
not used).
git-svn-id: svn://svn.cc65.org/cc65/trunk@680 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-27 22:52:16 +00:00
cuz
e07945e9fc
Changed an error message
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@679 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 22:05:05 +00:00
cuz
2eab65ad24
Remove the hardcoded limit from the literal pool.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@678 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 21:57:07 +00:00
cuz
1ced0327ed
Added xrealloc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@677 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 21:46:37 +00:00
cuz
c3e37a287a
Changed the implementation of g_leavariadic.
...
Generate calls to the additional decax functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@676 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 20:49:54 +00:00
cuz
c3ec23aed0
Use one function exit point
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@674 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 20:07:05 +00:00
cuz
b0f3e85d44
Changed header
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@673 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 16:41:11 +00:00
cuz
32535083e7
Correct wrong optimizer infos
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@672 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-26 16:40:40 +00:00
cuz
2fead58243
Allow a more exact specification which growth factor is allowed when
...
generating code and favouring speed over size.
git-svn-id: svn://svn.cc65.org/cc65/trunk@668 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 23:33:38 +00:00
cuz
4ab743143b
Adjust several optimizer information pieces
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@667 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 16:28:18 +00:00
cuz
c18453ebcb
Inline parameter frame building
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@661 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-24 13:00:16 +00:00
cuz
59bcc726b6
Make AddConstSym from AddEnumSym
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@660 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 21:27:48 +00:00
cuz
544705e6f4
* Added several type casts to increase C++ compatibility.
...
* __fixargs__ is now an actual function symbol and no longer handled in the
scanner.
* Additional symbol __argsize__ that is a constant in normal functions and
a const local variable for variadic functions. Using this symbol, the
va_arg macro gets a lot simpler and smaller.
* Added special code to handle the fixed parameters of a variadic function.
The code has some overhead, but the va_fix macro is no longer needed (and
the compiler generated code is better than va_fix anyway).
git-svn-id: svn://svn.cc65.org/cc65/trunk@652 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 19:17:04 +00:00
cuz
080500d0a0
Type change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@650 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 17:59:23 +00:00
cuz
45cf0c2dd9
Changed TgtTranslateBuf
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@649 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 17:56:28 +00:00
cuz
594a941ee9
Make __fixargs__ an actual symbol table entry. Add a new pseudo variable
...
__argsize__.
git-svn-id: svn://svn.cc65.org/cc65/trunk@646 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-23 10:16:50 +00:00
cuz
4357bb4760
Allow __fastcall__ for C function. Contrary to the name, this is a size
...
optimization for C functions. The last parameter is not pushed onto the
stack by the caller but in the function entry code, so there is no speed
but a size gain.
git-svn-id: svn://svn.cc65.org/cc65/trunk@645 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-22 21:02:01 +00:00
cuz
00706daa49
Fix a compiler crash that happens after a function definition with two or
...
more identical parameter names. The input is of course wrong, but the
compiler shouldn't crash.
git-svn-id: svn://svn.cc65.org/cc65/trunk@644 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-22 20:54:52 +00:00
cuz
9528c379c1
Added code to check the 6502 stack
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@638 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 22:34:08 +00:00
cuz
6f604239c7
Help text alignment was wrong
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@634 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-20 10:18:56 +00:00
cuz
857a362e78
Partially fixed a bug with the long addressing modes that was introduced
...
with a change in the scanner and went undetected since then. Use of symbols
as lower part of the address does still not work.
git-svn-id: svn://svn.cc65.org/cc65/trunk@632 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:02:38 +00:00
cuz
3e5ed62469
Added new option and pragma to generate calls to a stack checking routine
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@631 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-19 23:01:35 +00:00
cuz
b86a6b9749
Some more debuginfo implementation
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@626 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-18 17:55:36 +00:00
cuz
d57f57db55
Add new symbol __STACKSIZE__ to all linker configurations.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@622 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 14:24:58 +00:00
cuz
1923199dad
Allow to define symbols in the linker config
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@620 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 14:10:38 +00:00
cuz
1eff067ff9
Moved verbose output to a shared module in the common/ directory.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@619 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 10:21:03 +00:00
cuz
d10079ccdc
Added module for program output.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@618 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-10 10:04:42 +00:00
cuz
27a55ba085
Added optional start and count arguments to .INCBIN
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@617 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-09 23:12:34 +00:00
cuz
697abf3ed7
Added command line response files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@616 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-09 21:59:23 +00:00
cuz
1bcad88c3a
Define symbols for the RAM area
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@610 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-08 14:49:31 +00:00
cuz
724262fb90
Fixed a bug with different load/run areas, where a segment was marked as
...
dumped if the run area preceeded the load area, so it was not output into
the file for the load area (and not for the run area either).
git-svn-id: svn://svn.cc65.org/cc65/trunk@603 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-03-03 12:01:46 +00:00
cuz
2e48ce195d
Remove trailing underlines from struct names
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@597 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-10 19:10:05 +00:00
cuz
46a2a610e1
Use IsQuote instead of IsQuoteChar
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@596 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 19:26:25 +00:00
cuz
9c02fb3ec0
Minor updates
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@594 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 19:25:24 +00:00
cuz
8add1ad057
Use chartype.h instead of ctype.h
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@593 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 19:24:47 +00:00
cuz
37da7dff98
Add a new chartype module for character classification. Use the new
...
function IsDigit in target.c.
git-svn-id: svn://svn.cc65.org/cc65/trunk@592 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 19:06:20 +00:00
cuz
1bb9d0fa70
Changed the makefiles to work under OS/2 using EMX (Changes from
...
Mirco Miranda).
git-svn-id: svn://svn.cc65.org/cc65/trunk@590 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-05 16:59:41 +00:00
cuz
77ec52a06d
OS/2 EMX fix
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-01-03 20:49:07 +00:00
cuz
51e5a7cf84
Fixed several dangling pointer bugs in 65C0 2optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@587 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-24 14:37:18 +00:00
cuz
45de0a49ec
Replaced several // style comments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@586 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-20 17:44:12 +00:00
cuz
3b472c7b91
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@582 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-10 10:40:28 +00:00
cuz
579b48c522
Watcom fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@581 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-10 10:38:42 +00:00
cuz
99052e546d
Fixed a problem with the Watcom compiler
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@580 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-10 10:36:44 +00:00
cuz
4d34ce83d7
Remove unused flags
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@577 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-09 21:09:52 +00:00
cuz
6c0e4b2b2d
Bumped the version number
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@572 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-09 15:51:44 +00:00
cuz
f7e7da925e
Ignore some files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-09 10:13:20 +00:00
cuz
61a1fa52c4
Fixed several obvious omissions. Allow specifying a start address.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@570 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-09 10:10:07 +00:00
cuz
a6682eaeec
Added a todo list
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@566 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-07 13:42:21 +00:00
cuz
100196a5d4
Fixed generation of invalid HTML code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@565 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-06 22:16:55 +00:00
cuz
ff31876edb
Use a broader character set for labels, so we can save a few bytes (these
...
labels are used very often). Some minor changes to make the resulting pages
smaller.
git-svn-id: svn://svn.cc65.org/cc65/trunk@564 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-06 21:45:48 +00:00
cuz
5da1b0181f
More help, option --htmldir, first version of include file handling, some
...
other minor additions and fixes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@561 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-06 20:02:47 +00:00
cuz
a07a8f5328
Add several improvements, among others: Options, index page, link style...
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@560 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-06 15:42:44 +00:00
cuz
35e22de2c2
Handle multiple files and cheap local labels
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@559 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-06 10:10:52 +00:00
cuz
3e0244b297
New tool
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@558 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-05 23:11:29 +00:00
cuz
eed3723502
Optimize local immidiate stores
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@556 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 23:34:28 +00:00
cuz
3b18880fb1
Optimize local immidiate stores
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@555 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 23:27:16 +00:00
cuz
a4fd5c7648
Added load/store transformation
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@554 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 22:47:21 +00:00
cuz
c8171988a2
Added new code hints for use at the end of a function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@552 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 22:28:15 +00:00
cuz
a05a5e5c38
New optimization
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@551 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 21:28:36 +00:00
cuz
0ab45f63f0
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@550 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 21:01:50 +00:00
cuz
cd6f591d11
Minor rearrangements to make the code more robust in case of errors.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@549 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 20:39:17 +00:00
cuz
e131b6e432
65C02 optimizations
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@548 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-04 20:38:45 +00:00
cuz
fa46d84571
Fixed wrong translations for PET and CBM610
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-02 15:01:47 +00:00
cuz
a5d8a5a94f
Translate chars returned by .strat into the target charset
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 10:37:41 +00:00
cuz
81249b8d92
Fix detection of byte sized expressions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@503 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-12-01 09:04:07 +00:00
cuz
6632756ceb
Replaced the unused NES target by BBC
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@497 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-30 08:55:16 +00:00
cuz
fef6e7d7d6
Added config file for bcc micro
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@496 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-30 08:50:09 +00:00
cuz
2df60e5033
Use the new TgtTranslateBuf function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 15:22:06 +00:00
cuz
c45592efbf
New TgtTranslateBuf function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@492 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-29 15:18:39 +00:00
cuz
0adf3945b7
Implementation for the .IFPxx commands was missing
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@489 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-28 20:55:12 +00:00
cuz
3a7eccfc8d
pusha function has changed
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@488 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-28 13:33:27 +00:00
cuz
5be5b3763b
Implemented large offsets for g_putind
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@483 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-27 16:52:52 +00:00
cuz
f6768466be
Fix several errors: The address operator on functions (resulting in a
...
pointer-to-function type) was not possible. It is redundant but allowed.
A cast with a function on the right side resulted in an internal compiler
error, since the implicit cast from function to pointer-to-function was
missing in this case.
An assignment of a function to a void pointer was not possible because the
same implicit conversion was missing.
git-svn-id: svn://svn.cc65.org/cc65/trunk@482 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-24 10:46:04 +00:00
cuz
0333dbbd85
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@481 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-24 07:36:08 +00:00
cuz
4ea94a9302
Use "[linker generated]" as source for linker generated symbols.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@478 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-23 19:14:15 +00:00
cuz
cefb4c067d
Added optimizations for commutative arithmetic ops
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@469 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 21:39:56 +00:00
cuz
901a8088e6
New --cpu command line switch
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@468 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 20:19:15 +00:00
cuz
596068b4ce
In switch statements, do only print a warning about missing case labels if
...
there are no regular labels and no default label.
git-svn-id: svn://svn.cc65.org/cc65/trunk@467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-22 12:02:15 +00:00
cuz
d2d7a2e31b
Added condes decls to all linker config files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@462 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 23:04:30 +00:00
cuz
0beeda5852
Debugging the condes support
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@461 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 22:59:11 +00:00
cuz
834a3eac52
Added condes tables to c64 config
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@459 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 22:58:41 +00:00
cuz
518220f9cf
First finished implementation of the condes feature
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@456 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 21:56:48 +00:00
cuz
7646787a6e
Added InitFilePos method
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 19:44:18 +00:00
cuz
b9970cb7da
Working on the condes feature
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@451 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-20 15:22:57 +00:00
cuz
53a885df58
Make target for generating the .inc files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@448 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-19 17:39:12 +00:00
cuz
93c998d9e8
MingW fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-19 17:35:07 +00:00
cuz
56489eb834
Fixed a DJGPP warning
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-17 10:31:39 +00:00
cuz
cc9a01777e
Small fix for DJGPP
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@444 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-17 10:24:16 +00:00
cuz
12996ee12b
New module to handle initializers
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-03 09:31:18 +00:00
cuz
0dce6a79b6
Removed underlines from struct names
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-02 22:11:48 +00:00
cuz
18840117ec
Removed underlines from structure names.
...
Moved the fragment type into its own module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@430 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-02 22:11:25 +00:00
cuz
d341e0ad76
Removed error numbers in favour of literal error messages. The error numbers
...
were harder to manage, made the code harder to read, and lead no less
verbose messages, since it was effort to add a new message. The new approach
has the drawback that it's more difficult to translate, but this won't
happen anyway.
git-svn-id: svn://svn.cc65.org/cc65/trunk@428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-11-02 21:22:33 +00:00
cuz
db656c5e38
Added missing params to Error function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@424 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 19:12:27 +00:00
cuz
0899e279b3
Added a sort function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@418 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:25:52 +00:00
cuz
1226f095e1
Moved the target configurations into separate files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@416 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-31 18:08:25 +00:00
cuz
72e32b332b
Working on initializers
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@411 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 20:48:11 +00:00
cuz
3fde2841f1
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@410 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:52:30 +00:00
cuz
99c9f4fe4e
Renamed EXP_INITIALIZER
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@409 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:52:22 +00:00
cuz
e5c029e538
Renamed EXP_INITIALIZER, added check macros
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@408 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:48:13 +00:00
cuz
c4778045f9
Add initializer bit in debug syms
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@407 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:33:04 +00:00
cuz
9977ddd973
Add initializer
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:30:26 +00:00
cuz
3485519242
Bump version number
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:29:57 +00:00
cuz
6ddfa26ecb
Change symbol flags, add initializer
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-30 19:29:25 +00:00
cuz
71aba577c8
Add the default libraries if both, a target and a config file are given.
...
Previously no startup file and system library were passed to the linker
if a configuration file was specified on the command line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-20 14:37:24 +00:00
cuz
39b380b6e6
Added handling for -h command line parameter
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@378 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-18 07:29:40 +00:00
cpg
84531f991f
changed Atari ZP define to have max. ZP space available
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-17 23:51:01 +00:00
cuz
5807140732
Allow larger address ranges
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@370 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-15 19:52:33 +00:00
cuz
221ef5a9c2
Error handling cleanup/changes.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@369 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-15 19:52:01 +00:00
cuz
5cf9e0af18
Working on the new parser.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@368 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-15 19:51:39 +00:00
cuz
669d063e75
Added functions taking and returning consts
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@367 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-15 09:24:21 +00:00
cuz
04c9e1e3c7
Check for macro redefinitions that are not identical and flag them as an
...
error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@357 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 21:20:34 +00:00
cuz
1c2d6e984d
New module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@355 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:41:18 +00:00
cuz
2bd62669ce
Fixed a bug in explicit type casts
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@354 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:40:36 +00:00
cuz
72f0cd6368
Fixed a warning
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@353 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:39:26 +00:00
cuz
afce58deb6
Added a missing include
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@352 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 20:39:04 +00:00
cuz
2e227d5406
Declaring a char explicitly as signed was ignored and the default (unsigned)
...
char type was used.
git-svn-id: svn://svn.cc65.org/cc65/trunk@350 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-10-10 19:35:32 +00:00
cuz
97f9682307
Added labels, SIEZ attribute for labels, dependent labels etc.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@343 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-29 12:26:34 +00:00
cuz
ee084ac224
Added dword tables, char comments etc.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-26 07:08:38 +00:00
cuz
806461993b
Moved data output routines into a separate module.
...
Added output pagination.
git-svn-id: svn://svn.cc65.org/cc65/trunk@339 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-25 07:06:46 +00:00
cuz
42fb5661f1
Working
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@338 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 20:54:49 +00:00
cuz
16bc247cbf
Added da65
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@337 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 19:08:36 +00:00
cuz
b960e3ead3
Started to add config file
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@336 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 19:06:59 +00:00
cuz
8bab228a52
Added printf format attributes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@335 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 18:04:17 +00:00
cuz
5ceb76f3bb
Ignore some files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@334 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 16:07:39 +00:00
cuz
5a90b5a58c
First da65 version
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@332 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 15:55:57 +00:00
cuz
c05f6064a4
Add an include file
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@331 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-24 14:54:15 +00:00
cuz
1b4039be3b
Initialize translation tables
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@327 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-14 19:26:13 +00:00
cuz
2ff9f2fc1d
Export/rename init function
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-14 19:24:14 +00:00
cuz
5126ae8f4c
Fix the atari config
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@324 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:49:56 +00:00
cuz
b36de422ec
Use a separate ZEROPAGE segment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@323 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:49:32 +00:00
cuz
5446245eb4
Comment changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@321 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-07 21:32:54 +00:00
cuz
34651d3518
Fixed the help text
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@318 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 12:06:04 +00:00
cuz
56df2ea164
Added -l and --listing options.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 12:05:10 +00:00
cuz
d27cd62465
Added new emulation feature: loose_char_term
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@316 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 12:01:40 +00:00
cuz
a41de0ea3f
Added .a65 as an assembler extension
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:52:14 +00:00
cuz
8198af9844
Added CollLast
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:47:08 +00:00
cuz
6bf763ff08
Added the --feature option
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:42:44 +00:00
cuz
6288682343
Separated the emulation features in a module.
...
Add a new command line option --feature that allows to set emulation
features from the command line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:35:22 +00:00
cuz
f55d0ccee1
Added new .feature: pc_assignment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@310 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-02 11:05:32 +00:00
cuz
5abb3954a6
Rewrote the input file management.
...
Added preliminary version of the dependency file creation.
git-svn-id: svn://svn.cc65.org/cc65/trunk@309 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-01 19:20:32 +00:00
cuz
d62e48f14a
Allow static initialization of collections
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-09-01 14:48:04 +00:00
cuz
0d7763cedb
New long option: --start-addr
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@307 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-24 06:41:55 +00:00
cuz
8a79129caa
Working on the new parser
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@306 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 20:16:02 +00:00
cuz
a30ea446e8
Check for the presence of an argument if the option requires one.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:18:03 +00:00
cuz
01bdac2907
Remove checks for an argument in the option handling functions, since the
...
check is done by the cmdline module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@303 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:16:16 +00:00
cuz
c3105a4e5d
Change target handling, use modules from the common directory.
...
New long options: --config and --mapfile.
git-svn-id: svn://svn.cc65.org/cc65/trunk@302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:13:24 +00:00
cuz
e163b07d1b
The checks if there is an argument are not needed since this is done by the
...
cmdline module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@301 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 14:09:44 +00:00
cuz
dacd2bb457
No need to check/set Target
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@300 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 07:01:36 +00:00
cuz
f871ab4ba6
Move target handling routines into the common directory.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 07:01:18 +00:00
cuz
7691c3cdcc
Simplify target handling, use common modules
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 06:56:14 +00:00
cuz
0335765223
Move target handling and character set translation into the common directory.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-23 06:45:55 +00:00
cuz
5d504a0637
Move target type and character translation into the common dir
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-22 07:03:44 +00:00
cuz
c77d0dea94
Implement character set translation and different target systems
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-21 21:20:40 +00:00
cuz
6f4a92b259
Set the target system also for the assembler
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-21 21:20:16 +00:00
cuz
1c14beb82d
Working on the new parser
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-20 19:12:43 +00:00
cuz
64dac7e7b7
Working on the new parser
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@291 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-20 09:25:47 +00:00
cuz
7e59a882c5
Working on the new parser
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@290 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-19 21:55:06 +00:00
cuz
66b40d1a84
Use more gcc attributes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-19 18:16:54 +00:00
cuz
58e6c61a68
Added a module that implements dynamic arrays.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@288 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-19 18:16:41 +00:00
cuz
2bcb747b58
Added first code for a parse tree implementation.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@287 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-16 09:10:50 +00:00
cuz
25f5c69efa
Reworked type comparison and handling of type qualifiers
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 22:18:26 +00:00
cuz
4f8a02e253
Added an os2 target
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@281 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 10:21:46 +00:00
cuz
614b50a9b0
Watcom make fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 10:21:26 +00:00
cuz
d8337840c1
Added watcom makefile
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 10:21:08 +00:00
cuz
ebed04f6b2
BIT encoding was wrong for the 65SC02 in immidiate addressing mode
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@268 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 20:15:44 +00:00
cuz
3b2f6679b5
Don't create code for a subtraction of zero
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@267 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 19:26:19 +00:00
cuz
679570ce45
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@265 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 11:02:06 +00:00
cuz
bb115c8ae2
Change the implementation of the file table. It may now grow to an arbitrary
...
size. It is also possible to search in the table by name, which will be
needed later to add line debug information.
git-svn-id: svn://svn.cc65.org/cc65/trunk@262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-02 14:12:36 +00:00
cuz
097a01094e
Added a method to write variable sized unsigned values. Use this method for
...
all sorts of things in the object files. This does not only make the object
files smaller, but does also remove several limits (strings may be longer
than 255 bytes, several counters no longer have 8 or 16 bit limits).
git-svn-id: svn://svn.cc65.org/cc65/trunk@260 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-02 13:23:06 +00:00
cuz
51543fddb0
Increased the file count to 16 bits when written to the object file.
...
Moved the input file table to a separate module and added an AddFile()
function to add files to this table.
Removed the 8 bit limit for the file number in several places (the file
number is still 8 bits in the file position structure).
Added a pseudo instruction .dbg that will be used to add debug info from
high level code to the assembler source.
Added a subkey "file" to the .dbg command that allows to add a file to the
file table that is later written to the object file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@258 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 21:36:45 +00:00
cuz
6b3b938945
Filecount is now an u16
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@257 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 20:32:46 +00:00
cuz
929c6ab2af
Remove the check.x modules since they are now in common/
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@254 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:11:36 +00:00
cuz
d171b3dac9
Check for const in function parameters (first level only).
...
Place local static const data into the RODATA segment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@253 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:05:24 +00:00
cuz
85417b6d1b
Some changes in the way, types and type strings are handled.
...
Check for and honour const in several places: Assignment to const is flagged
with an error. Const data is placed in the rodata segment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@252 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 18:45:08 +00:00
cuz
5ee8618510
Use the CHECK macros from the common dir
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@251 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:17:43 +00:00
cuz
7e4a0ed5c6
Remove remaining stuff from the old CHECK macros
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@250 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:07:15 +00:00
cuz
887ce0c1d7
Use the CHECK macros from the common dir
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@249 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:05:48 +00:00
cuz
e133416d05
Moved the check module to the common dir.
...
Replaced the type constants by something more expandable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:04:35 +00:00
cuz
9e47a53bb7
Move the check module to common/
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@247 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 15:01:21 +00:00
cuz
89dccd5a23
Added dump of debug symbols and output of values for the exports, in those
...
cases where the export is a constant.
git-svn-id: svn://svn.cc65.org/cc65/trunk@246 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-31 22:21:37 +00:00
cuz
b01c0adf49
Include file path changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@243 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:27:37 +00:00
cuz
a01a9429ba
Renamed x65 to xo65
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@242 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:10:32 +00:00
cuz
80e1e6f673
Added --dump-all
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@241 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:09:52 +00:00
cuz
3eabe5026f
Added dump of exports and imports
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@240 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 21:02:44 +00:00
cuz
f91833caef
Added dump of segments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@239 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 19:51:33 +00:00
cuz
a63d35278c
Added dump of the file list
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@238 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 16:15:04 +00:00
cuz
697f6e1cfa
Add dumping of options
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@237 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 14:25:30 +00:00
cuz
4e6faabc21
File no longer needed
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@233 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-30 09:24:28 +00:00
cuz
8dbc44fed4
Better handling of missing flags and wrong files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@232 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 22:39:39 +00:00
cuz
7158553772
Added the od65 directory
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@231 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 22:35:34 +00:00
cuz
8f320c4ab4
First rudimentary version - can dump xo65 headers
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 22:34:15 +00:00
cuz
a20f4dd8c8
Fixed two typos
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@229 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 21:45:12 +00:00
cuz
f9b58c50dd
Add common dir in more search paths
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@226 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 16:01:54 +00:00
cuz
0a57d32509
Renamed several expression ops and added others.
...
Placed the DumpExpr function into the common directory, since it is
used by the assembler and linker.
git-svn-id: svn://svn.cc65.org/cc65/trunk@225 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 15:53:33 +00:00
cuz
b40d409c4f
Output an error message when trying to determine the size of type void.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@224 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 12:07:04 +00:00
cuz
c0f16c531b
Check segment in in #pragma for validity
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@223 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 12:03:29 +00:00
cuz
9d85d084d0
Moved segment name handling into a separate module.
...
New compiler options to set the default segment names from the command line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@222 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-29 11:49:34 +00:00
cuz
9fa11093eb
Added a watcom makefile
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@220 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:15:51 +00:00
cuz
b933cd1ee3
Added a DOS target
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@219 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:15:21 +00:00
cuz
9200dbb247
Add the include dir
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@218 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:11:59 +00:00
cuz
07ce8ae322
Add the common library
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@217 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:06:08 +00:00
cuz
f05e1ccc5f
Added the io module
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@216 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 16:05:43 +00:00
cuz
44a11218e1
Added .REPEAT pseudo instruction
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@215 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-28 12:15:40 +00:00
cuz
77e8bffa81
Use gcc function attributes, fix several format related problems
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@214 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 21:08:52 +00:00
cuz
ef579c4015
More attribute use
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@213 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 21:07:01 +00:00
cuz
8f1533c8cc
Use gcc attribs
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@212 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 20:42:23 +00:00
cuz
d7ddc3d12e
Use gcc attribs, fixed a wrong arg
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@211 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 20:40:44 +00:00
cuz
3bcbcd9474
Use gcc function attributes for better error checking
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@210 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 20:33:33 +00:00
cuz
f97869b106
Bumped the version number
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@205 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-07-27 18:48:27 +00:00