Commit Graph

  • a5a3e40ffe Allow 32 bit segments, add .TOPBYTE pseduo instruction master Byron Lathi 2026-05-08 09:52:51 -07:00
  • 8eed63fa52 First go at adding 65C032 Byron Lathi 2026-05-06 09:52:32 -07:00
  • d20d99b32b Fix reverse lowercase on Apple][ Colin Leroy-Mira 2026-04-13 08:43:15 +02:00
  • 8fcee1b552 Merge pull request #2958 from geon/master Bob Andrews 2026-04-19 17:52:36 +02:00
  • c31565cd5b Fixed typos. marco -> macro Victor Widell 2026-04-19 17:20:54 +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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 36f00f9886 Merge pull request #2907 from colinleroy/decomp-more-info Bob Andrews 2025-12-03 21:32:22 +01:00
  • 71f2ffbffc remove time zone hack rumbledethumps 2025-12-03 00:45:25 -08:00
  • dce4ed65d9 remove test for non-standard behavior rumbledethumps 2025-12-02 22:08:53 -08:00
  • a6a91349bc make time zone work rumbledethumps 2025-12-02 21:37:14 -08:00
  • e01a608863 Mention where decompressors stats come from Colin Leroy-Mira 2025-12-01 13:30:26 +01:00
  • 5296d394e4 Use php/sei/plp to preserve original state of the interrupt flag Dan Sanderson 2025-11-28 11:09:21 -08:00
  • c14f2b7252 cpeekcolor: don't stash and restore I flag or CRAM2K Dan Sanderson 2025-11-20 18:03:38 -08:00
  • d2f91a8116 Assume conio owns Interrupt flag and CRAM2K, don't stash and restore Dan Sanderson 2025-11-20 17:49:40 -08:00
  • 6fb5934b87 Improve CRAM2K flip to preserve previous value Dan Sanderson 2025-11-18 20:22:47 -08:00
  • dbcfa91089 Merge pull request #2863 from kugelfuhr/kugelfuhr/fix-2859 Bob Andrews 2025-11-18 16:39:08 +01:00
  • 1924e4cc63 Added a test for #2859. Kugel Fuhr 2025-11-18 14:36:16 +01:00
  • c4cd575331 Fix parsing boolean not (.not/!). Kugel Fuhr 2025-11-18 14:35:29 +01:00
  • cfb55a89d4 Update coding style for asm Dan Sanderson 2025-11-18 00:47:49 -08:00
  • 18e9c6f6a0 c65 target: conio accesses all color RAM in 80x25 text mode Dan Sanderson 2025-11-18 00:36:10 -08:00
  • 640206696f Merge pull request #2855 from picocomputer/master Bob Andrews 2025-11-14 23:49:48 +01:00
  • 3d7e3884e4 Merge pull request #2856 from kugelfuhr/kugelfuhr/fix-2854 Bob Andrews 2025-11-09 19:10:26 +01:00
  • aa73c03f6a Corrected a typo in the description of .set. Fixes #2854. Kugel Fuhr 2025-11-09 17:25:57 +01:00
  • 1d219395f2 Update RP6502 in README rumbledethumps 2025-11-07 13:11:47 -08:00
  • f54780cfbc Merge pull request #2844 from picocomputer/master Bob Andrews 2025-11-03 13:39:25 +01:00
  • 083f89a9ca Merge pull request #2847 from colinleroy/zx02-faster-decompressor Bob Andrews 2025-11-03 13:34:29 +01:00
  • 9390e5c2ce Apple2: factorize MLI pathname setting (up to -22 bytes) Colin Leroy-Mira 2025-10-25 13:45:31 +02:00
  • 850accee3a Apple2: -8 bytes on rename Colin Leroy-Mira 2025-10-25 13:29:08 +02:00
  • 280f296952 Apple2: mutualize mli filename push (-0 to -18 bytes) Colin Leroy-Mira 2025-10-25 12:00:17 +02:00
  • 3b8531a422 Apple2: -5 bytes on open() Colin Leroy-Mira 2025-10-25 11:45:59 +02:00
  • 707e317bb8 Apple2: spare 10 bytes on I/O Colin Leroy-Mira 2025-10-25 11:23:01 +02:00
  • 25c1223f02 Apple2: spare 2 bytes on read Colin Leroy-Mira 2025-10-25 11:22:50 +02:00
  • 759884ddd4 Allow to backspace with 'Delete' (and some optimization) Oliver 2025-11-02 19:59:34 +01:00
  • 778bc5bc22 Merge pull request #2843 from colinleroy/warn-about-fill-bytes Bob Andrews 2025-11-02 18:14:27 +01:00
  • a88d7abd3f Merge pull request #2851 from kugelfuhr/kugelfuhr/fix-2850 Bob Andrews 2025-11-01 16:36:39 +01:00
  • b4dc41c653 CPU constants must always be defined, not only if a target system was given. Kugel Fuhr 2025-11-01 15:37:57 +01:00