1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-05 08:05:51 +00:00
Commit Graph

1472 Commits

Author SHA1 Message Date
cuz
1647c6783f New functions CS_ResetMarks, CS_ResetAllMarks and CS_IsBasicBlock.
git-svn-id: svn://svn.cc65.org/cc65/trunk@1448 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 19:01:16 +00:00
cuz
62b3576f5f Use other representations for SCHAR_MIN, SHORT_MIN, INT_MIN and LONG_MIN.
Among other things that avoids the compiler warning "constant is long" when
using INT_MIN.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 18:59:08 +00:00
cuz
b0559a4b19 Fixed a string in the help screen
git-svn-id: svn://svn.cc65.org/cc65/trunk@1446 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-06 12:03:24 +00:00
cuz
6047165325 Fixed problem with earlier change
git-svn-id: svn://svn.cc65.org/cc65/trunk@1445 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-05 22:55:42 +00:00
cuz
e9da20f961 Fix codesize setting
git-svn-id: svn://svn.cc65.org/cc65/trunk@1444 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-05 22:37:36 +00:00
cuz
7ce4196829 New/changed optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1443 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-05 20:32:31 +00:00
cuz
3f1eba36f3 Remove the swapeax routine, it is obsolete
git-svn-id: svn://svn.cc65.org/cc65/trunk@1442 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-05 17:59:42 +00:00
cuz
e00f5ba5a0 Add tgi subdir
git-svn-id: svn://svn.cc65.org/cc65/trunk@1441 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-04 19:27:45 +00:00
cuz
bc1085997d Minor improvement of optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1440 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-04 19:27:15 +00:00
cuz
89e8aae7d7 Increase the size of some buffers, so we are at the assembler level able to
handle any identifiers passed from the C level.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1439 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-04 17:54:46 +00:00
cuz
8bc4863fc6 Changes from Michael Klein
git-svn-id: svn://svn.cc65.org/cc65/trunk@1438 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 20:10:10 +00:00
cuz
13f81d0377 Port plasma to the C128
git-svn-id: svn://svn.cc65.org/cc65/trunk@1437 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 19:19:25 +00:00
cuz
fc774b3006 Last change introduced a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1436 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 19:18:06 +00:00
cuz
91e26f573c Added the TGI mode table
git-svn-id: svn://svn.cc65.org/cc65/trunk@1435 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 18:19:25 +00:00
cuz
eab19873f3 Remove the ",r" spec
git-svn-id: svn://svn.cc65.org/cc65/trunk@1434 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 18:16:46 +00:00
cuz
eea95f7b64 Added tgidemo
git-svn-id: svn://svn.cc65.org/cc65/trunk@1433 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 17:36:18 +00:00
cuz
f965924c2a Ignore executables
git-svn-id: svn://svn.cc65.org/cc65/trunk@1432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 17:36:00 +00:00
cuz
5fec8ac5c3 Don't call the driver if we don't have one loaded
git-svn-id: svn://svn.cc65.org/cc65/trunk@1431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 13:54:42 +00:00
cuz
8b14f60e0d Removed duplicate declaration
git-svn-id: svn://svn.cc65.org/cc65/trunk@1430 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 13:28:34 +00:00
cuz
29c217b4b2 Use a #define instead of numeric value
git-svn-id: svn://svn.cc65.org/cc65/trunk@1429 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 11:20:45 +00:00
cuz
7fffd12f11 Started to add tgi text output functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1428 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 11:18:49 +00:00
cuz
2f44fb05a4 Started to add text output functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1427 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 11:18:23 +00:00
cuz
4389b0c438 Fixed a small bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1426 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-03 09:00:57 +00:00
cuz
f5243e514c Fixed optimizer bug in or/xor
git-svn-id: svn://svn.cc65.org/cc65/trunk@1425 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-02 22:21:42 +00:00
cuz
b4326d1930 Place all declarations that are local to a function into the local function
scope. Apart from some other advantages, this works around a bug where having
an external identifier in global scope and using an "extern" declaration for
exactly the same identifier in a function did not work, because the assembler
refused to export and import one and the same identifier. Since the import
now imports into local scope, both identifiers are distinct for the assembler
and the (valid) C code works.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1424 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-02 13:00:04 +00:00
cuz
980c17daef Allow more flexible numeric flag pragma arguments
git-svn-id: svn://svn.cc65.org/cc65/trunk@1423 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-10-01 08:13:04 +00:00
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
77132165ce File had DOS line endings
git-svn-id: svn://svn.cc65.org/cc65/trunk@1421 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-30 21:38:07 +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
689202057c Fixed the result of the % operator for longs
git-svn-id: svn://svn.cc65.org/cc65/trunk@1409 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-28 19:55:19 +00:00
cuz
3aab67401e Fixed the result of the % operator for ints
git-svn-id: svn://svn.cc65.org/cc65/trunk@1408 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-28 19:41:00 +00:00
cuz
293bb88188 Remove the "empty" segment type
git-svn-id: svn://svn.cc65.org/cc65/trunk@1407 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-27 06:59:33 +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
c723420314 Added Michael Klein
git-svn-id: svn://svn.cc65.org/cc65/trunk@1401 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-21 08:35:43 +00:00
cuz
ea0925d436 Worked around a bug in GNU info
git-svn-id: svn://svn.cc65.org/cc65/trunk@1400 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-20 21:56:11 +00:00
cuz
c2b550abf9 vsscanf is a C file
git-svn-id: svn://svn.cc65.org/cc65/trunk@1399 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-18 20:47:22 +00:00
cuz
a411560958 Fix problems building info files, patch from Michael Klein
<michael.klein@puffin.lb.shuttle.de>.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1398 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-18 20:42:39 +00:00
cuz
3c64a0f75c Added debian stuff from Michael Klein <michael.klein@puffin.lb.shuttle.de>
git-svn-id: svn://svn.cc65.org/cc65/trunk@1397 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-18 20:41:33 +00:00
cuz
b2e06dbb9d assert() must be an expression of type void
git-svn-id: svn://svn.cc65.org/cc65/trunk@1396 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-09-18 20:15:49 +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