Commit graph

  • 51dffb6f34 nes.lib compat master neslib-compat wrapper 2026-04-21 19:53:53 +07:00
  • 916e9ee86d release prep rel-916e9ee86dc33b2b8eba3bc6aaef157c8c82fd81 wrapper 2026-04-17 10:42:58 +07:00
  • 17602e86b6 update encryption names wrapper 2026-04-17 09:40:46 +07:00
  • 7b33aa2662 lib build script wrapper 2026-04-10 18:37:50 +07:00
  • 6007ae8cdd add encryption wrapper 2026-04-10 17:12:11 +07:00
  • 3f714aa1d0 VTxx encryption support wrapper 2026-04-10 16:37:46 +07:00
  • 95822acb6f
    Merge 6a6e062305 into a545b4fc3e sylvie 2026-04-08 23:23:43 +00:00
  • 2d731b6631
    Merge 5daaff83e0 into a545b4fc3e LTecher 2026-04-08 07:14:13 +00:00
  • c8f762463f
    Merge 3f7c31042c into a545b4fc3e Willis 2026-04-07 13:36:48 +02:00
  • a545b4fc3e
    Merge pull request #2951 from avolkov76/anv-bug-2942 Bob Andrews 2026-04-07 13:36:12 +02:00
  • 69c17a502b Additional synthetic, extreme register load reuse tests future-proofing issues #2942 and #2947. Alex Volkov 2026-04-01 18:27:28 -04:00
  • de78048319 Generalize the shared, non-removable reg load tests in RemoveRegLoads() to "instruction affects the other register" Alex Volkov 2026-03-29 17:05:20 -04:00
  • 86bed3c6f4
    Merge 9344c42329 into 80ff9d3f4d Bob Andrews 2026-03-28 04:50:09 +00:00
  • 2ba31584b6
    Merge 0c1fefb882 into 80ff9d3f4d Bob Andrews 2026-03-27 23:42:25 +00:00
  • 6ef03dd489
    Merge ae6b199a19 into 80ff9d3f4d clbr 2026-03-27 19:31:39 +00:00
  • a3b5ab268b
    Merge 82d6e4fb8f into 80ff9d3f4d laubzega 2026-03-27 18:57:40 +00:00
  • 5daaff83e0
    feat: support c99 style declarations LTecher Offical 2026-03-27 00:24:33 -04:00
  • 321e47f0f3 Rhs X removals in coptstop.c should no longer be dangerous. Alex Volkov 2026-03-26 18:32:04 -04:00
  • 6027487c30 Expand bug2461 tests to other operators and Lhs/Rhs conditions Alex Volkov 2026-03-26 18:22:39 -04:00
  • 00a1f1d447 Clearly delineate load instruction "must remove" conditions from "may remove" with a new LI_MUST_REMOVE flag. A demand to remove a non-removable load is fatal. Alex Volkov 2026-03-25 19:14:14 -04:00
  • c9b885b144 Prevent the removal of a ldaxysp runtime call as a "load instruction" for only the A or the X side, when the other is non-removable. Fixes issue #2942 / #2461. Alex Volkov 2026-03-25 19:08:18 -04:00
  • 40a20ab973 Expand bug1374 tests to a few other conditions Alex Volkov 2026-03-25 19:03:00 -04:00
  • ac69017ca5 Remove redundant LoadEntry clears; DelEntry() already handles clearing them, and the redundant clears are a red herring in the code. Alex Volkov 2026-03-25 19:01:37 -04:00
  • 62451557f9 Revert the fix for #2461 in search of a more general solution Alex Volkov 2026-03-25 19:00:57 -04:00
  • 80ff9d3f4d
    Merge pull request #2949 from avolkov76/anv-bug-2947 Bob Andrews 2026-03-25 23:01:50 +01:00
  • d711b6d6fa Prevent Lhs load insns shared with the Rhs from being inadvertently removed by Rhs optimizers. Fixes issue #2947. Alex Volkov 2026-03-22 19:42:57 -04:00
  • af285ba9e5 Remove red herring flag set. It is far too late to set LI_DONT_REMOVE in a subopt. Alex Volkov 2026-03-22 18:49:12 -04:00
  • 7988d9aefb Regression tests for #2947 expanded to other operators and conditions Alex Volkov 2026-03-22 18:44:16 -04:00
  • 9732bc2cb7 Correct some printed messages and remove one print in bug2395 test (c&p errors) Alex Volkov 2026-03-22 18:42:01 -04:00
  • b6d9fb6016
    Merge pull request #2948 from avolkov76/tests-out-race Bob Andrews 2026-03-22 20:36:59 +01:00
  • 9c5916866b Prevent stdout/stderr redirect races in the testbench Alex Volkov 2026-03-22 14:24:02 -04:00
  • 916933f884
    Merge pull request #2941 from avolkov76/anv-coptstop-refactor Bob Andrews 2026-03-21 14:50:25 +01:00
  • d036c4aaae Minimal test for issue #2947 Alex Volkov 2026-03-20 19:51:55 -04:00
  • f464b50495 Minimal test for issue #2946 Alex Volkov 2026-03-20 19:51:37 -04:00
  • 2fd9411f7f Expand bug2395 tests to other operators and conditions Alex Volkov 2026-03-20 19:51:04 -04:00
  • d427887764
    Merge branch 'cc65:master' into anv-coptstop-refactor Alex Volkov 2026-03-19 08:15:09 -04:00
  • 4232e7acc6
    Merge pull request #2945 from polluks/patch-15 Bob Andrews 2026-03-18 21:31:55 +01:00
  • 0fe0337e9c
    Update comment for MEGA65 joystick driver Stefan 2026-03-18 19:30:40 +01:00
  • 57cc683d91 Whitespace fix (left after var removal) Alex Volkov 2026-03-11 19:33:36 -04:00
  • ca98b218e8 Remove the unused (for now) predicate functions in coptstop.c to keep the compiler happy. Alex Volkov 2026-03-11 19:17:50 -04:00
  • 73f4149554 Refactor: remove the now unused flag variable in OptStackOps() Alex Volkov 2026-03-11 19:09:34 -04:00
  • 99ccd7e1a3 Refactor: Replace OptStackOps() complex (and buggy) flag-based subopt precondition evaluation system with plain language predicate functions. Any custom preconditions can now be expressed without much trouble. Also, begin establishing parity between precondition logic and actual subopt branching logic. Alex Volkov 2026-03-11 17:44:33 -04:00
  • 82d672e904 Refactor: rearrange Opt_a_tosbitwise() code to follow the common if-else if-else pattern form used by other subopts. Alex Volkov 2026-03-10 20:47:39 -04:00
  • bf5d8c44e4 BUGFIX: Fix the "same X value" and "same A value" evaluations issue in OptStackOps(), where the values compared come from the wrong instruction when a runtime call has an asm label. Alex Volkov 2026-03-10 20:08:35 -04:00
  • 505698c450 Refactor: remove StackOpData side effects from IsRegVar() and PreCondOk()/RegAPreCondOk(); setting StackOpData.ZPLo/ZPHi is explicit. Alex Volkov 2026-03-10 19:23:40 -04:00
  • 1b778edee8 Annotations ahead of refactoring: bugs., looming bugs, and work notes. Alex Volkov 2026-03-10 17:46:40 -04:00
  • a29ce64fb5
    Merge pull request #2940 from avolkov76/anv-coptstop-head Bob Andrews 2026-03-10 01:49:31 +01:00
  • 76d71aec92 Compare operator test suite: forward and reverse compares; edge and corner cases; literals, autos, statics, simple expressions; signed and unsigned; some special cases. Alex Volkov 2026-03-09 20:04:59 -04:00
  • d45fac3afe
    Merge pull request #2938 from kugelfuhr/kugelfuhr/fix-2811 Bob Andrews 2026-03-05 19:51:51 +01:00
  • 3d26a7e1fe Correct test name and test comment. Kugel Fuhr 2026-03-05 18:44:33 +01:00
  • 380c3f810e Fix an invalid transformation by the optimizer. Introduced by #2811. Kugel Fuhr 2026-03-05 18:38:34 +01:00
  • 6184e7286b
    Merge pull request #2936 from CubeXGames/patch-1 Bob Andrews 2026-03-01 14:06:41 +01:00
  • e41484a3a8
    Fix typo in ca65 documentation CubeX 2026-02-28 20:20:59 -07:00
  • c7e851caa3
    Merge pull request #2932 from willisblackburn/bug_2930 Bob Andrews 2026-02-28 00:14:48 +01:00
  • 6a6e062305 remove whitespace zlago 2026-02-19 20:32:27 +01:00
  • 7ac39426c1 write documentation for .BANKS .. command? zlago 2026-02-19 20:26:10 +01:00
  • 715ba86559 add .BANKS pseudo instruction zlago 2026-02-18 22:08:25 +01:00
  • 5f437e09a0 Move AssignIds to before we print the info line in order to ensure that we write the correct file count. Willis Blackburn 2026-02-12 17:54:58 -05:00
  • 3f7c31042c Try invoking the linker directly in the hope that it will resolve the "dbg was unexpected at this time" error in the Windows build, or at least help identify what is causing it. Willis Blackburn 2026-02-11 20:24:02 -05:00
  • 0fca83500b
    Merge pull request #2927 from kugelfuhr/kugelfuhr/fix-2926 Bob Andrews 2026-02-11 19:54:44 +01:00
  • 53dacfd18e
    Merge pull request #2919 from polluks/c16 Bob Andrews 2026-02-11 19:47:04 +01:00
  • 098fc4dfa4 Use --no-utf8 when building the tests. Kugel Fuhr 2026-02-11 14:24:08 +01:00
  • 144a38ca5b Remove the custom snprintf code and call snprintf instead. Kugel Fuhr 2026-02-11 14:22:10 +01:00
  • 98b1584a07 When treating warnings as errors, we have to translate the diagnostic category. Kugel Fuhr 2026-02-11 14:10:13 +01:00
  • 1eb76c34e2 Remove the %m%p format spec capability. Kugel Fuhr 2026-02-11 09:29:00 +01:00
  • c3ecc96991 Remove all remaining %m%p format specs. Kugel Fuhr 2026-02-11 09:27:17 +01:00
  • fc7b883986 Add note about API, update author to assign credit/blame for the documentation. Willis Blackburn 2026-02-10 19:01:05 -05:00
  • 9578dca30e Make output filenames predictable and mask mtime to prevent failures due to local timestamp issues. Willis Blackburn 2026-02-09 20:24:50 -05:00
  • 4b5eaa92e2 Debug file format documentation. Willis Blackburn 2026-02-08 12:19:38 -05:00
  • f166ca8ad9
    Merge pull request #2918 from polluks/patch-15 Bob Andrews 2026-02-07 16:35:51 +01:00
  • fbcae3e640
    Merge pull request #2921 from willisblackburn/master Bob Andrews 2026-02-07 16:34:01 +01:00
  • 2f62b263f3 Added a test. Kugel Fuhr 2026-02-06 16:36:44 +01:00
  • 61799b07bf Fix unchecked integer or floating point suffixes. Kugel Fuhr 2026-02-06 15:55:30 +01:00
  • 1954a2601d Use UTF output also for internal compiler errors. Some more cleanup and use of Fatal() instead of AbEnd(). Kugel Fuhr 2026-02-06 15:20:35 +01:00
  • 858789f645 Fixed a few remaining diagnostic messages. Use Fatal() instead of AbEnd in main() where possible. Fix a small glitch where options aren't output correctly in diagnostics. Kugel Fuhr 2026-02-06 14:22:54 +01:00
  • ba42847561 Added the --color and --no-utf8 switches to the compiler. Kugel Fuhr 2026-02-06 14:06:14 +01:00
  • 76d8cc3d6e Changed error messages to use typographically correct quotes. Kugel Fuhr 2026-02-06 13:57:13 +01:00
  • 1d082eb558 Use UTF output for diagnostics. Remove output of the input line since this was wrong in many cases and difficult to fix. Kugel Fuhr 2026-02-06 13:16:10 +01:00
  • de1b9bbf05 Make functions used only in the module private. Remove unused functions. Replace errcat_t by DiagCat. Kugel Fuhr 2026-02-05 15:22:33 +01:00
  • 07ff0feea4 Rename Note() to Notification() for orthogonality since this is what is used in the other tools. Kugel Fuhr 2025-11-24 16:58:53 +01:00
  • 5cf7ec225a Moved managed string buffers out of error.c into its own module. Kugel Fuhr 2025-11-20 19:38:02 +01:00
  • 395d326b2b Some code cleanup. Kugel Fuhr 2025-11-20 19:05:05 +01:00
  • 789416798f Add terminating NUL after __func__ string literal #2920 Willis Blackburn 2026-01-24 12:09:55 -05:00
  • 0125d82902
    Replace kbhit implementation with new include Stefan 2026-01-22 14:37:52 +01:00
  • 53b5f79051
    Combine C16 and Plus/4 source Stefan 2026-01-22 13:49:56 +01:00
  • 2f6eb8ddd0
    Removed unused import Stefan 2026-01-22 12:27:57 +01:00
  • 034f73a9e1
    Merge pull request #2862 from dansanderson/master Bob Andrews 2026-01-09 23:45:05 +01:00
  • 1e1e8a686e
    Merge pull request #2911 from picocomputer/tz2 Bob Andrews 2026-01-04 18:18:54 +01:00
  • 4680d68e52
    Merge pull request #2913 from polluks/master Christian Groessler 2025-12-24 16:25:29 +01:00
  • 7ee374a432
    Fixed funny typo Stefan 2025-12-15 00:28:21 +01:00
  • dde04808aa the bytes, they need saving rumbledethumps 2025-12-07 11:42:02 -08:00
  • 8ff7b0087c doh rumbledethumps 2025-12-06 12:56:20 -08:00
  • 48b936b767 nah it's 4 rumbledethumps 2025-12-06 12:13:36 -08:00
  • af19d96174
    Merge branch 'cc65:master' into tz2 rumbledethumps 2025-12-06 11:42:09 -08:00
  • 6ac362af87 indeed! rumbledethumps 2025-12-06 11:41:52 -08:00
  • 328f7e6a43 yes! rumbledethumps 2025-12-06 11:38:27 -08:00
  • 18f084eafb restore test rumbledethumps 2025-12-05 16:30:14 -08:00
  • dbdca13444 optimize and restore null test rumbledethumps 2025-12-05 15:38:46 -08:00
  • c720c3c485
    Merge pull request #2910 from Fabrizio-Caruso/patch-1 Bob Andrews 2025-12-03 22:24:14 +01:00
  • 10297ba637
    Fix typo in Watara entry in README Fabrizio Caruso 2025-12-03 21:54:32 +01:00