cuz
65fa99f65e
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1422 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-30 21:58:39 +00:00
cuz
1f20202239
Ignore also cr's on input. This allows to compile sources with DOS/Windows
...
line separators on unix systems.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1419 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-30 19:32:33 +00:00
cuz
15d2c8fc83
Removed debug code
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1418 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-30 19:05:37 +00:00
cuz
d92676ef60
Add SB_GetNumber to scanstrbuf.c.
...
Rewrite of CharMapPragma in pragma.c
Fixed bug in scanner.c: Invalid octal constants containing the numbers 8
and 9 were accepted by the compiler.
Moved SignExtendChar from scanner.c to datatype.c.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1416 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-30 18:46:08 +00:00
cuz
2df5db1f04
Call StrBuf destructors
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1415 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-29 21:15:02 +00:00
cuz
e880ac6059
Use the new StrBuf features
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1414 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-29 21:13:09 +00:00
cuz
ea50befaac
Redoing the pragma stuff
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1413 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-29 21:09:47 +00:00
cuz
092f10862e
New function SB_Skip
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1412 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-29 19:55:38 +00:00
cuz
0e4493f075
Add a user index to class StrBuf
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1411 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-29 19:49:55 +00:00
cuz
9464c7dd29
Change the .LOCAL command so that the cheap local symbol prefix is kept.
...
This allows to create macros with local labels that expand to cheap local
symbols when the macro is expanded.
Tip from Dagan Galarneau <dagan@msd.com>
git-svn-id: svn://svn.cc65.org/cc65/trunk@1405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-25 21:35:00 +00:00
cuz
ffdc8396c5
Changed a function name
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1404 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-25 10:42:42 +00:00
cuz
7215ebd145
Added the __DATE__ and __TIME__ preprocessor macros
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1403 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-23 21:37:15 +00:00
cuz
6676e27032
Cosmetic changes
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1402 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-23 21:37:01 +00:00
cuz
257005696f
Improve type casts for ints.
...
Allow the second and third operand of the :? operator to be of type int.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1395 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-18 20:14:51 +00:00
cuz
a6fffdf770
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1393 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-16 20:13:05 +00:00
cuz
89b206f046
.BLANK was also broken
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1392 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-14 21:05:12 +00:00
cuz
e1d24121e8
The .IFNBLANK command was broken
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1391 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-14 20:56:37 +00:00
cuz
4b805447b6
Prepare VIC20 startup for different start addresses
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1390 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-11 15:11:31 +00:00
cuz
4db7198ade
AllocIf would overwrite memory if the .IF nesting became too deep.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1389 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-11 14:49:42 +00:00
izydorst
b286cdf2b4
fixed error check
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1388 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-11 14:38:00 +00:00
izydorst
d99ec65e29
cleared warning
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1386 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-09 18:06:02 +00:00
cuz
f0d89e09bc
Added VIC20 port changes from Steve Schmidtke
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 05:18:13 +00:00
cuz
195feebc00
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1375 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-27 09:55:48 +00:00
cuz
8d8458032d
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1371 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-26 19:27:55 +00:00
cuz
d1d104d7ff
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1367 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-20 08:20:59 +00:00
cuz
02c26efdd3
Replace calls to memset with _bzero if the fill value is zero and -Oi in
...
effect.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1359 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-16 11:01:51 +00:00
cuz
0921d9c1ee
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1356 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-15 21:00:28 +00:00
izydorst
dc3aa1dfdd
integrated VLIR linker into grc
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1352 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-12 16:36:05 +00:00
cuz
27cd610d49
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1351 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-12 09:10:02 +00:00
cuz
7c9bf720d8
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1350 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-12 08:45:42 +00:00
cuz
30f4bc52f7
Output the command line for sub-processes when -d is given
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1348 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-11 19:46:11 +00:00
cuz
4fd0da1635
Fixed usage output
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1347 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-11 19:29:17 +00:00
cuz
02a75f8a74
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1346 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-11 19:26:05 +00:00
cuz
afb0f66ab7
Removed obsolete version.h file
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1344 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-10 21:09:38 +00:00
cuz
f93eb903ba
Fixed/worked around a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1343 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-10 21:04:02 +00:00
izydorst
a152fe71c5
support for VLIR structured files when using ca65 only
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1340 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-10 18:43:04 +00:00
cuz
0fec0ce4d0
Revoked last change
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1333 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-05 21:12:06 +00:00
cuz
750f5e5028
Added a file header
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1332 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-05 21:11:16 +00:00
cuz
75f57eb1df
Make the jump table segment writeable
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1327 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-23 09:42:00 +00:00
cuz
ad7e08bf56
Fixed a bug
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1307 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-15 12:03:06 +00:00
cuz
a96da498f5
Renamed the functions working with "struct Function".
...
Fixed a problem with K&R functions: In a function with no return type
specified, the compiler did not allow a simple "return" statement. However,
there was no "void" type at that time, so it was not possible to specify
something else. The solution is to allow omission of a return value in a
K&R function with an implicit int type. Other types or an explicit int is
still checked.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-12 12:12:04 +00:00
cuz
606ecafccd
New target: oric atmos
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-03 20:14:11 +00:00
cuz
ec0c01728d
Fixed a typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-27 09:57:50 +00:00
cuz
21afe25e90
Indirect fastcall functions with no parameters may be called as if it were
...
cdecl functions, this generates better code.
Remove a small error that caused indirect non fastcall function to always be
handled as variadic, which meant a useless load of the Y register was added.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1292 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-26 11:08:17 +00:00
cuz
ec8ccd24a7
Fixed zero page handling for o65 modules
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1287 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-25 15:58:00 +00:00
cuz
effacc8d8b
Fix o65 zeropage handling
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1286 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-25 15:52:05 +00:00
cuz
67ebea8efa
Renamed spawn.c -> spawn-unix.c
...
Added spawn-amiga.c
git-svn-id: svn://svn.cc65.org/cc65/trunk@1282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-22 08:30:06 +00:00
cuz
93813611e5
Added JUMPTABLE segment
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1281 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:39:50 +00:00
cuz
b0ceece52a
Fixed a bug (offset was not correct if more than one module was used).
...
Added support for the new simple o65 addressing format.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-18 21:39:35 +00:00
cuz
3292569a89
One less bug in sizeof ("ABC").
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@1274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-05-16 17:05:36 +00:00