1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00
Commit Graph

1302 Commits

Author SHA1 Message Date
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
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
cuz
12741467f8 Add rule to make zeropage.o in runtime dir if it is missing
git-svn-id: svn://svn.cc65.org/cc65/trunk@1387 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-11 12:39:10 +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
f64baf02ec Changed joystick bits after change in joystick code for VC20
git-svn-id: svn://svn.cc65.org/cc65/trunk@1385 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-09 05:07:22 +00:00
cuz
94ea416652 Optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-09 05:07:06 +00:00
cuz
12154bdaa7 VIC20 needs other joystick constants
git-svn-id: svn://svn.cc65.org/cc65/trunk@1383 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-08 12:28:11 +00:00
cuz
76ee9a1f66 New, shorter readjoy function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-08 12:27:40 +00:00
cuz
56fd8532ed The vic20 target had the wrong CFLAGS
git-svn-id: svn://svn.cc65.org/cc65/trunk@1381 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-08 12:16:52 +00:00
cuz
0cad140b4d New redhat spec
git-svn-id: svn://svn.cc65.org/cc65/trunk@1380 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 19:52:24 +00:00
cuz
93dbb62e9f Small optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1379 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 19:35:15 +00:00
cuz
99b193a482 Cleanup, fix VIC20 problem
git-svn-id: svn://svn.cc65.org/cc65/trunk@1378 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 19:28:39 +00:00
cuz
8a4378e60c Remove unused code, port to new version
git-svn-id: svn://svn.cc65.org/cc65/trunk@1377 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-08-07 19:28:23 +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
2a8e2d422c Reverse the last change, brain error :-(
git-svn-id: svn://svn.cc65.org/cc65/trunk@1374 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-07-27 07:44:51 +00:00