1
0
mirror of https://github.com/cc65/cc65.git synced 2026-01-22 17:16:21 +00:00

Commit Graph

  • 0647cb1112 Merge jsr pushax/j?? popax into nothing or RTS Colin Leroy-Mira 2025-07-20 12:54:09 +02:00
  • 4c2cc24e77 Optimize jsr ldax0sp/incsp2 Colin Leroy-Mira 2025-07-27 00:01:47 +02:00
  • aa936b6d12 Fix copyright Colin Leroy-Mira 2025-07-26 23:59:02 +02:00
  • cb39da2fba Use spaces instead of tabs in the output files mrdudz 2025-07-26 23:52:14 +02:00
  • 4c6c8b2430 Merge pull request #2819 from kugelfuhr/kugelfuhr/improved-flowanalysis Bob Andrews 2025-07-26 23:37:49 +02:00
  • 228671b7c4 Added another test. Kugel Fuhr 2025-07-26 10:17:32 +02:00
  • 8f4a4040d6 Complete unreachable checking for switch statements. Kugel Fuhr 2025-07-26 09:03:27 +02:00
  • 70c1bd5e3c Improved flow analysis in general and especially for "for" loops. Added more tests. Kugel Fuhr 2025-07-20 09:07:31 +02:00
  • 8ac25376a0 Fix the "double semicolon" problem where a double semicolon after a statement that makes the following code unreachable led to an "unreachable code" warning. Kugel Fuhr 2025-07-18 17:20:00 +02:00
  • 3d052ea4a3 remove some braces mrdudz 2025-07-26 00:21:00 +02:00
  • b0e10e1f9a Merge pull request #2814 from jedeoric/master Bob Andrews 2025-07-26 00:18:38 +02:00
  • 0a4af6df92 Merge pull request #2808 from kugelfuhr/kugelfuhr/flowanalysis Bob Andrews 2025-07-26 00:10:21 +02:00
  • 5809eaf037 Update libsrc/telestrat/lseek.s Bob Andrews 2025-07-26 00:01:07 +02:00
  • 4e0806c6be Merge pull request #2813 from colinleroy/fix-pr-2778 Bob Andrews 2025-07-24 13:21:56 +02:00
  • 87ce45ba01 telestrat target : lseek now returns position as it should jedeoric 2025-07-23 22:49:15 +02:00
  • 2c906474eb calculate the disk blocks in the linker config mrdudz 2025-07-20 19:18:24 +02:00
  • 6d96a952fd Stricter check for incax[1-8] Colin Leroy-Mira 2025-07-20 18:48:58 +02:00
  • fa1b6ed4f7 Address issues Colin Leroy-Mira 2025-07-20 16:29:00 +02:00
  • 095ee0b27c Merge branch 'master' into fix-pr-2778 Colin Leroy-Mira 2025-07-20 16:28:49 +02:00
  • 8a793796d7 Coding style Colin Leroy-Mira 2025-07-20 16:14:35 +02:00
  • 8ba1cef550 Merge branch 'master' into Opt-ldptr1 Colin Leroy-Mira 2025-07-20 16:08:01 +02:00
  • 2b2c082efb Fix bug in PR #2778 Colin Leroy-Mira 2025-07-20 14:36:30 +02:00
  • 17b8645360 Optimize ldax?sp/sta/stx to ldptr1?sp Colin Leroy-Mira 2025-07-20 12:24:24 +02:00
  • 02cb5d23f7 add xreg_ria_gamepad rumbledethumps 2025-07-19 23:13:53 -07:00
  • e554d0ccfb mark sequential GEOS files without RECORD table as such. mrdudz 2025-07-20 02:01:37 +02:00
  • 3ff1a9e463 another try. still not quite right apparently mrdudz 2025-07-19 23:00:28 +02:00
  • 32313a8c56 Merge pull request #2805 from kugelfuhr/kugelfuhr/remove-grc-artifacts Bob Andrews 2025-07-19 20:11:13 +02:00
  • 053f0a1b05 Merge pull request #2809 from JimmyDansbo/w65c02_capabilities Bob Andrews 2025-07-19 20:08:06 +02:00
  • 8bbe0f6972 Merge pull request #2810 from jedeoric/master Bob Andrews 2025-07-19 20:06:35 +02:00
  • 329ec64a4b telestrat target : manage main return code jedeoric 2025-07-18 00:23:44 +02:00
  • 61f3e43fb6 Rewrote an outdated comment. Kugel Fuhr 2025-07-17 20:52:33 +02:00
  • 3cd1672ae5 Added correct capabilities to W65C02 and 65CD02 cpus Jimmy Dansbo 2025-07-17 19:17:03 +02:00
  • 6d45a94127 Do not output a warning about a missing "return" in a function if the function exit is unreachable. Kugel Fuhr 2025-07-17 16:12:48 +02:00
  • ed54e9b168 Added several flow control tests. Kugel Fuhr 2025-07-17 16:00:59 +02:00
  • f13284d3f8 Move the warning about unreachable code out of the Test() function and into the callers. This has the effect that the location for the warning is much more precise than before. Kugel Fuhr 2025-07-17 15:41:17 +02:00
  • 93b94d314a Implement a simple flow analysis. Tracks control flow of all statements with the exception of "switch". Outputs warnings for unreachable code. Tracks also "return" but doesn't currently make use of this information. Kugel Fuhr 2025-07-16 20:15:32 +02:00
  • 1c167b1ff1 Use cl65 to generate the object file from the grc file to avoid having an intermediate .s file lying around that "make check" complains about. Kugel Fuhr 2025-07-16 21:24:25 +02:00
  • e82656d8ca Remove .s files generated from .grc files. Kugel Fuhr 2025-07-16 12:31:18 +02:00
  • 3f3dc3d145 Merge pull request #2803 from kugelfuhr/kugelfuhr/fix-1162 Bob Andrews 2025-07-16 00:56:36 +02:00
  • 89704a6e37 Merge pull request #2802 from kugelfuhr/kugelfuhr/modernize-ld65-diags Bob Andrews 2025-07-16 00:55:12 +02:00
  • 25e6b42ef3 Merge pull request #2799 from kugelfuhr/kugelfuhr/fix-atari7800-cfg Bob Andrews 2025-07-15 23:27:06 +02:00
  • 61072ce3c7 Merge pull request #2797 from kugelfuhr/kugelfuhr/fix-2796 Bob Andrews 2025-07-15 21:21:31 +02:00
  • 14a6c66997 Merge pull request #2795 from kugelfuhr/kugelfuhr/fix-sortcheck Bob Andrews 2025-07-15 21:18:22 +02:00
  • a4c97c7ebc Merge pull request #2804 from mrdudz/geossample Bob Andrews 2025-07-15 20:48:01 +02:00
  • 3ea8cae0ee add a geos resource file to the "ascii" sample, removes the linker warnings (and makes the program actually work in GEOS) mrdudz 2025-07-15 17:56:45 +02:00
  • 4cbdb55fbc Merge pull request #2798 from kugelfuhr/kugelfuhr/fix-2787 Christian Groessler 2025-07-14 20:32:37 +02:00
  • 9ac02f3282 Move constructors into the ONCE segment to fix linker warnings. Kugel Fuhr 2025-07-14 19:52:07 +02:00
  • f86f602b9e Add a description for --memory-model to the docs. Kugel Fuhr 2025-07-14 16:45:42 +02:00
  • 4120f35276 Added tests for warnings or errors that now have notifications. Kugel Fuhr 2025-07-14 12:59:52 +02:00
  • 170ddc6e33 Add a --warnings-as-errors option to cc65 for compatibility reasons. Kugel Fuhr 2025-07-14 11:35:53 +02:00
  • d54844c76b Make the EXTZP segment optional for Atari 7800. Kugel Fuhr 2025-07-14 07:03:53 +02:00
  • 3dfde7baef For the cpudetect tests, check the binary results for all instructions, not just for a few selected ones. Kugel Fuhr 2025-07-13 21:43:34 +02:00
  • c7096ab6d7 Fix an error that was introduced by me in a4a24280f2: Using a pipe causes a subshell to be generated so the "exit" statements will just leave the subshell. As a consequence, the sortedxxx.sh scripts produced output but no error exit code. Which in turn caused an error in #2778 to slip through undetected. Kugel Fuhr 2025-07-13 17:56:31 +02:00
  • 2e4c18770b Add a --warnings-as-errors to cl65. Kugel Fuhr 2025-07-10 21:41:53 +02:00
  • c2f17b6f6b When initialized data is found in a segment, print the first module where this data comes from to ease debugging. Kugel Fuhr 2025-07-10 21:23:41 +02:00
  • 2e3edf9b1b Some reformatting and improved diagnostics. Kugel Fuhr 2025-07-10 11:39:59 +02:00
  • 3e81cd6ae0 Renames CfgError -> PError, CfgWarning -> PWarning. Kugel Fuhr 2025-07-13 16:33:59 +02:00
  • 7d963d4490 Change the output format for .assert. Use --no-utf8 for the tests. Kugel Fuhr 2025-07-09 15:32:07 +02:00
  • 074a3f513e Add the --color and --no-utf8 options to cl65 which will pass it to the tools that understand it. Kugel Fuhr 2025-07-09 15:31:13 +02:00
  • 79967ff01b Support colors in diagnostic output. Kugel Fuhr 2025-07-09 14:21:14 +02:00
  • 96f8ce4cee Move the functions to output config file errors from scanner.c to error.c. Kugel Fuhr 2025-07-08 20:55:58 +02:00
  • 6f45af3c9e Use console properties. Add the --no-utf8 and --color options. Kugel Fuhr 2025-07-08 20:54:59 +02:00
  • da0e3907ec Move the code to parse color strings into the CP_Parse() function and use it. Kugel Fuhr 2025-07-08 20:45:23 +02:00
  • b99bdf1e89 if "geos-template.d64" exists, copy the samples to that instead of a blank image mrdudz 2025-07-12 21:15:12 +02:00
  • 7117936828 calculate number of disk blocks from size of VLIR record(s) mrdudz 2025-07-12 20:58:18 +02:00
  • faecedb514 Merge pull request #2793 from mrdudz/fixdbg Bob Andrews 2025-07-12 17:00:45 +02:00
  • c0e8835ba0 brief docs mrdudz 2025-07-11 22:32:14 +02:00
  • 0d30d8b4ae add (very simple) example for dbg.h mrdudz 2025-07-11 21:56:34 +02:00
  • e973483cc8 DbgIsBreak() must use __cdecl__ mrdudz 2025-07-11 21:55:58 +02:00
  • 18805b8df9 Merge pull request #2792 from mrdudz/sometests Bob Andrews 2025-07-11 19:10:38 +02:00
  • 68cccd31fa Merge pull request #2791 from mrdudz/fix2789 Bob Andrews 2025-07-11 19:00:01 +02:00
  • 8245eb31a0 Merge pull request #2790 from mrdudz/docsfix Bob Andrews 2025-07-11 18:47:10 +02:00
  • c13f7dbdad fix range check mrdudz 2025-07-11 18:44:58 +02:00
  • 907d8b26c5 simple regression test for .charmap mrdudz 2025-07-11 18:33:38 +02:00
  • aba0b6b439 add missing command line details, sort options mrdudz 2025-07-11 17:52:03 +02:00
  • 5fc300b987 Merge pull request #2280 from pm100/seglist Bob Andrews 2025-07-10 22:49:21 +02:00
  • 3e3a65f82e Update ca65.sgml Bob Andrews 2025-07-10 22:35:18 +02:00
  • f7ebd4dfea Merge branch 'master' into seglist Bob Andrews 2025-07-10 22:21:57 +02:00
  • bb736972f0 Merge pull request #2279 from pm100/macexpand Bob Andrews 2025-07-10 22:17:13 +02:00
  • ffa72f56f1 codestyle Bob Andrews 2025-07-10 21:19:55 +02:00
  • 97e4c6b42f some cosmetics Bob Andrews 2025-07-10 21:18:12 +02:00
  • 61362779a5 Merge branch 'master' into macexpand Bob Andrews 2025-07-10 21:05:20 +02:00
  • d8b4013f3c Merge branch 'master' into seglist Bob Andrews 2025-07-10 20:48:28 +02:00
  • ce6e322046 Merge pull request #2785 from kugelfuhr/kugelfuhr/modernize-ca65-diags Bob Andrews 2025-07-10 18:47:34 +02:00
  • 2926a95e71 Use correct type for function used in atexit(). Kugel Fuhr 2025-07-08 10:03:56 +02:00
  • 72e3956aeb Add missing definitions for Windows. Kugel Fuhr 2025-07-08 10:02:39 +02:00
  • 26968ffdf2 Fixed a typo :-( Kugel Fuhr 2025-07-08 09:58:48 +02:00
  • bb255838a6 Fix include files for Windows (hopefully). Kugel Fuhr 2025-07-08 09:55:43 +02:00
  • 0c14830da0 Remove tabs. Kugel Fuhr 2025-07-08 09:46:53 +02:00
  • abb0adf546 Update visual studio project files with added sources. Kugel Fuhr 2025-07-08 09:45:25 +02:00
  • 97ef430053 Restore description for --debug which was lost. Kugel Fuhr 2025-07-08 09:35:42 +02:00
  • 7e97e99bae Do also color quoted text. Kugel Fuhr 2025-07-08 08:23:32 +02:00
  • 8c654193f7 For the assembler tests, switch off UTF-8 output so we have always the identical diagnostics indepdendent of the console properties. Kugel Fuhr 2025-07-08 07:31:55 +02:00
  • 8d7c87f753 Fix problem with UTF-8 output when switching the code page under windows fails. Kugel Fuhr 2025-07-08 07:31:24 +02:00
  • c466faf484 Use UTF-8 for diagnostic output if it is available. Added a command line switch --no-utf8 to disable the use of UTF-8 characters. Kugel Fuhr 2025-07-07 21:49:45 +02:00
  • b1eb1bf6ab Colorize diagnostics. Kugel Fuhr 2025-07-07 16:47:36 +02:00
  • ffcff0fa61 Much improved error messages for ca65. For most errors it will now say what was expected and what was found instead. Also improved error recovery in a few places. Kugel Fuhr 2025-07-04 17:11:34 +02:00
  • 4afbd1104d Merge pull request #2777 from kugelfuhr/kugelfuhr/ca65-errors Bob Andrews 2025-07-10 17:05:32 +02:00
  • 4a53a891e8 Merge pull request #2778 from colinleroy/optimise-ldaxi Bob Andrews 2025-07-10 17:03:28 +02:00
  • 9971d9fac0 Merge pull request #2776 from colinleroy/optimize-incdecsp-further Bob Andrews 2025-07-10 17:02:32 +02:00