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
dcc0fe91a2
Several type qualifier fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 22:16:40 +00:00
cuz
84f74b4393
Type qualifier fixes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-14 21:50:56 +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
114acc4d79
Fixed param type qualifiers in several function definitions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-13 16:16:49 +00:00
cuz
c70c5197e1
Ignore intermediate files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-12 12:27:17 +00:00
cpg
743b215bac
fixed setting of errno
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 22:14:21 +00:00
cpg
f756e60532
initial check-in of file positioning stdio functions
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:53:56 +00:00
cpg
d6a3b84948
initial check-in
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:51:03 +00:00
cpg
43344ef154
fsetpos.o fgetpos.o rewind.o fseek.o ftell.o: new object files
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:44:39 +00:00
cpg
41b0d8f5d0
cosmetic change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:38:43 +00:00
cpg
6fe95eb3c3
added off_t type and lseek() prototype
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:37:44 +00:00
cpg
3412342249
added file positioning functions (fseek etc.)
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@270 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-11 21:34:28 +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
cpg
f1a54412b7
lseek.o: new object file
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@266 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-07 22:43:31 +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
2ff5069436
Place data into RODATA, not CODE
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@264 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 10:46:57 +00:00
cuz
2f65b8f5c6
Remove #pragmas to switch to the RODATA segment since the compiler will do
...
this now without help.
git-svn-id: svn://svn.cc65.org/cc65/trunk@263 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-03 10:45:31 +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
85d8b3badf
Minor changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@259 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-02 07:41:56 +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
ac8e170215
Replaced the cl65 docs by an sgml version
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@256 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:57:01 +00:00
cuz
8495034385
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@255 b7a2c559-68d2-44c3-8de9-860c34a00d81
2000-08-01 19:56:36 +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