Commit Graph

  • 2583dfb71a Update README.md polluks2 2021-04-04 03:13:45 +02:00
  • 4c0ee3e0d8 Merge pull request #3 from cc65/master polluks2 2021-04-04 02:34:41 +02:00
  • 5d05451ab2 Fixed test case for Issue #1263. acqn 2021-04-01 11:41:55 +08:00
  • 1a3628df1a Fixed the term 'argument' vs 'parameter' in function parser. acqn 2021-03-30 10:59:44 +08:00
  • 2864b3ef8a Fixed composition of prototypes and old-style function definitions with default promotions. Fixed function parameter list comparison with empty ones. acqn 2021-03-30 10:59:44 +08:00
  • 91fd30611a Fixed ICE on error cases such as '&func + int a'. acqn 2021-03-29 14:30:44 +08:00
  • 200b420562 Export LMARGN_save to C. People might want to preserve this setting in their program. Christian Groessler 2021-04-01 15:06:47 +02:00
  • 4a38965384 Warnings on discarding pointer qualifiers always. Added new -W options to turn on/off warnings on certain pointer conversion cases: - pointer-sign: to a pointer type differing in pointee signedness. Default on. - pointer-types: to a pointer type incompatible. Default on. acqn 2021-03-25 13:32:46 +08:00
  • b802efde54 Fixed ternary result type detection with pointer types. Fixed pointer type comparison and conversion, especially regarding qualifiers. Improved diagnostics about type comparison and conversion. Reorganized some type-comparison/conversion functions. acqn 2021-03-15 16:59:08 +08:00
  • 31c1172a3a zlib: Use correct (un)signedness of char in prototypes and functions. acqn 2021-03-23 15:30:08 +08:00
  • cb8fbf4772 Removed the non-existing-in-C "struct/union scope" for structs/unions. Fixed handling of struct/union field declarations without identifiers, which do nothing. acqn 2021-03-29 12:35:29 +08:00
  • edecbc86b8 Reverted "Second address" back to "Secondary address". Greg King 2021-03-27 13:34:39 -04:00
  • bf1bb7a032 ooopsie :) mrdudz 2021-03-27 15:13:32 +01:00
  • 54920193e5 added test for issue #1438 mrdudz 2021-03-27 15:11:47 +01:00
  • 1bd04e8462 Merge pull request #1439 from acqn/CConvFix Oliver Schmidt 2021-03-27 01:33:07 +01:00
  • d2bc449598 Merge branch 'master' of https://github.com/cc65/cc65 mrdudz 2021-03-26 22:18:31 +01:00
  • 02392d6220 added test related to issue #1437 mrdudz 2021-03-26 22:18:05 +01:00
  • f273b1ebcb Fixed crash with non-inlined __fastcall__ function invocation with no arguments. acqn 2021-03-26 11:02:46 +08:00
  • 710c6c6f2f Fixed cbm_k_readst() to work around a VIC-20 Kernal bug. Greg King 2021-01-13 03:20:19 -05:00
  • 0f1386ff4c Added documentation about the slightly different behavior of cpeekcolor() on the cx16 platform. Greg King 2021-03-25 08:28:15 -04:00
  • 3755e4a863 Replaced checking for __fastcall__ aginst AutoCDecl etc. with IsFastcallFunc(). acqn 2021-03-24 14:35:44 +08:00
  • d3cd668585 also test (some of) the cases with an external function mrdudz 2021-03-22 23:37:33 +01:00
  • 55e89416cd test related to issue #1196 and pr #1424 respectively mrdudz 2021-03-22 19:12:44 +01:00
  • 531a31722e fix typo Christian Groessler 2021-03-22 14:06:40 +01:00
  • 203c4da15b Merge pull request #1434 from mrdudz/test1423 Oliver Schmidt 2021-03-20 02:01:46 +01:00
  • 3c2e7ce41c More reliable test for true/false with addresses for AND, OR and ternary operators. Minor comment typo fix. acqn 2021-03-13 14:27:11 +08:00
  • f8835d2867 Fixed codegen with addresses as boolean test conditions. Fixed warning on unreachable code of if body. acqn 2021-03-13 14:25:51 +08:00
  • 82fb9aa418 testcase related to pr #1423 mrdudz 2021-03-20 00:55:55 +01:00
  • bbfc24770e test related to pr #1425 mrdudz 2021-03-19 23:42:25 +01:00
  • 325b7b4ab3 Enabled 'a ? b, c : d'. acqn 2021-03-14 03:25:40 +08:00
  • a51d6d40de Ternary fix for some obscure cases. acqn 2021-03-14 02:39:40 +08:00
  • cc040ca04a remove, fucking git mrdudz 2021-03-19 23:39:56 +01:00
  • 57e69d9647 test related to pr #1425 mrdudz 2021-03-19 23:35:34 +01:00
  • 7d528d9eb0 fix typo mrdudz 2021-03-19 22:26:49 +01:00
  • 9ec9d1e20c test for issue #1431 / pr #1424 mrdudz 2021-03-19 20:53:52 +01:00
  • 6974c1ff12 Fixed and cleaned up codegen logic with arithmetic conversion in addition and subtraction. acqn 2021-03-19 15:02:53 +08:00
  • cd116e5ba0 src/ar65/library.c: style fix Christian Groessler 2021-03-18 20:18:23 +01:00
  • 9b05fe9982 src/ar65/library.c: fix compilation on Windows Christian Groessler 2021-03-18 20:08:22 +01:00
  • 358d750b3e ar65: fix parallel builds by using a per-process temp file Christian Groessler 2021-02-16 22:19:34 +01:00
  • 64449f0f54 ar65: better version of last change Christian Groessler 2021-02-17 00:36:58 +01:00
  • d3c495e8b9 ar65: fix parallel builds by using a per-process temp file Christian Groessler 2021-02-16 22:19:34 +01:00
  • b02838439c Changed g_addaddr_local() codegen to reduce code size. acqn 2021-02-22 12:33:26 +08:00
  • 8eeaaa3f36 Made certain types of comparison between addresses in constant expressions work. acqn 2021-02-15 09:50:46 +08:00
  • 99c7fe0ada Reusing code from parseadd() for ArrayRef(). Now index[ptr] works in constant expressions. Fixed codegen for cast type in constant expressions. Calls on swapstk in 'i[ptr]' is avoided when possible. acqn 2021-02-08 09:03:23 +08:00
  • f5972dfd08 Made int+pointer work in constant expressions. Fixed codegen for cast type addition in constant expressions. Calls on swapstk in 'i+ptr' is avoided when possible. acqn 2021-02-08 09:03:13 +08:00
  • aa6fdf58b8 Addresses in constant subtraction expressions now work. Fixed codegen for cast type subtraction in constant expressions. acqn 2021-02-08 09:03:19 +08:00
  • c4a2620e29 Added an utility function to check for quasi-constant addresses (of stack variables). acqn 2021-02-08 22:47:51 +08:00
  • 0a8ca3041a Changd all Find*Last*InOpenRange() to return the beginning of the open range. Fixed FindArgLastUsageInOpenRange(). acqn 2021-03-13 14:31:23 +08:00
  • 4376b83390 Fixed LoadAAt(). acqn 2021-03-13 14:31:23 +08:00
  • bd5d5b7385 Removed the prototype of evalexpr() that no longer exists. acqn 2021-03-13 14:31:23 +08:00
  • 41f796bbe1 left and right mask are inverted : fix in telestrat.h jede 2021-03-16 00:53:34 +01:00
  • b9fd318985 fix space/column jede 2021-03-11 22:52:41 +01:00
  • c0d638a26d add clock for Telestrat target and add some Telemon primitives jede 2021-03-11 22:48:05 +01:00
  • 4f26650228 [Telestrat] chdir management (#1419) jedeoric 2021-03-11 09:42:14 +01:00
  • 23fba6cc37 Merge pull request #1412 from jedeoric/master greg-king5 2021-03-09 18:44:20 -05:00
  • a05dddd0d6 Fix next column jede 2021-03-09 22:02:26 +01:00
  • facc1b4914 Fix cputdirect jede 2021-03-08 21:16:44 +01:00
  • df64fd859c Fix cvline bug jede 2021-03-07 23:00:15 +01:00
  • 48badc0816 Fix import return0 jede 2021-03-06 21:40:26 +01:00
  • bc8cca9fc4 Revert "Now getchar works" Oliver Schmidt 2021-03-06 11:56:22 +01:00
  • f122837955 Revert "add syschdir" Oliver Schmidt 2021-03-06 11:56:22 +01:00
  • d6f2fda575 Revert "revert read.s" Oliver Schmidt 2021-03-06 11:56:22 +01:00
  • 8ae5a4a134 Revert "remove extra line" Oliver Schmidt 2021-03-06 11:56:22 +01:00
  • ab4ca51848 Revert "Now we update __cwd" Oliver Schmidt 2021-03-06 11:56:22 +01:00
  • 558dfa285e Revert "Fix tab" Oliver Schmidt 2021-03-06 11:56:22 +01:00
  • 24d63a96b1 Revert "Fix another tab" Oliver Schmidt 2021-03-06 11:56:22 +01:00
  • f9ca091bd0 Revert "Fix tab" Oliver Schmidt 2021-03-06 11:56:22 +01:00
  • 1d8479b411 Revert "Fix tab and jmp" Oliver Schmidt 2021-03-06 11:56:22 +01:00
  • bf9d4ac3bb Fix tab and jmp jede 2021-03-03 22:20:20 +01:00
  • 2ae41e0a55 Fix tab jede 2021-03-02 08:21:12 +01:00
  • 9b36565485 Fix another tab jede 2021-03-01 23:37:50 +01:00
  • 17ca09ba9a Fix tab jede 2021-03-01 23:37:09 +01:00
  • d417baf826 Now we update __cwd jede 2021-03-01 23:26:35 +01:00
  • 973a5337ac remove extra line jede 2021-03-01 22:53:35 +01:00
  • 65d5786da5 revert read.s jede 2021-03-01 22:51:59 +01:00
  • d83e8a3f0e add syschdir jede 2021-03-01 22:49:20 +01:00
  • 1fc16cb9ed Now getchar works jede 2020-10-23 23:47:30 +02:00
  • 1dcb21eaa7 Merge pull request #2 from cc65/master polluks2 2021-03-04 09:09:46 +01:00
  • 5f145542b0 Exported the Commodore CHRIN and CHROUT Kernal functions, in the CBM libraries. Greg King 2021-03-03 17:39:53 -05:00
  • 872739b5f4 Fix comments, return line and bordercolor return jede 2021-03-03 22:14:29 +01:00
  • 047d0f479b Comments format fix. acqn 2021-03-01 15:26:51 +08:00
  • 2aad72af90 Removed trailing whitespaces. acqn 2021-02-15 18:37:01 +08:00
  • cdbe23c351 Fix missing new line in bordercolr jede 2021-03-01 23:21:58 +01:00
  • 3adddf5825 Merge branch 'master' of https://github.com/jedeoric/cc65 jede 2021-03-01 23:20:37 +01:00
  • 185c451000 Fix cputdirect jede 2021-03-01 23:19:30 +01:00
  • ba4310f589 Merge branch 'master' into master jedeoric 2021-03-01 23:03:34 +01:00
  • abef6566e7 Add revers.s jede 2021-03-01 22:45:05 +01:00
  • 8ec6d28f92 Revert read.s jede 2021-03-01 22:44:06 +01:00
  • 256b22f1c7 Add bordercolor and cvline jede 2021-03-01 22:36:09 +01:00
  • 02e52fe24d Fix many bugs jede 2021-03-01 22:33:12 +01:00
  • 3caceb8174 Fixed result type in certain contant expression addition cases. acqn 2021-02-15 17:30:17 +08:00
  • f2eed38fc8 Fixed expression type of the result of numeric constant comparison. acqn 2021-02-15 09:50:40 +08:00
  • ea0c634e12 Improved codegen for unsigned char type comparison with numeric constants. acqn 2021-02-23 17:39:02 +08:00
  • 6f5ad51816 Added testcase for Issue #1408. acqn 2021-02-23 13:47:39 +08:00
  • d628772cd1 Fixed signed char type comparison with unsigned numeric constants. acqn 2021-02-22 23:46:26 +08:00
  • f1c715c455 Fixed a bug that pointer subtraction results from two absolute addresses are calculated as unsigned long. acqn 2021-02-07 11:35:36 +08:00
  • da4cc08b78 Moved and improved test case for Issue #1310. acqn 2021-02-03 12:22:46 +08:00
  • 81d6321cd7 Fixed internal representation of calculated constant results. Minor clean-up. acqn 2020-10-29 21:12:48 +08:00
  • 24985f1b33 Added testcase for the "deferred ops in unevaluated context" bug. acqn 2021-02-22 12:00:10 +08:00
  • eadaf2fef8 Fixed deferred post-inc and post-dec in unevaluated context such as 'sizeof(i++)'. acqn 2021-02-21 16:43:46 +08:00