Commit Graph

  • 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
  • 7d7cfde818 Merge pull request #2786 from mrdudz/fixmakefiles Bob Andrews 2025-07-10 00:01:12 +02:00
  • 9ff71e431b Merge branch 'master' into fixmakefiles Bob Andrews 2025-07-09 23:41:26 +02:00
  • ac6b1326e9 Merge pull request #2784 from kugelfuhr/kugelfuhr/fix-cleanup Bob Andrews 2025-07-09 23:41:01 +02:00
  • 472525eecd redirect errors into file so we can see it if needed mrdudz 2025-07-09 23:10:43 +02:00
  • 6aad5f6c18 fix error log output mrdudz 2025-07-09 18:35:05 +02:00
  • 18bb697891 fix stderr redirection mrdudz 2025-07-09 14:20:42 +02:00
  • d82a1f9fa0 Apply changes by @mrduz. Fixes an error in the makefile and adjusts the mostlyclean target accordingly. Kugel Fuhr 2025-07-09 13:35:27 +02:00
  • 50220800aa Merge pull request #2771 from colinleroy/much-smaller-strndup Bob Andrews 2025-07-09 00:55:04 +02:00
  • 735edaa8f7 Add missing files to "clean" target. Kugel Fuhr 2025-07-08 07:38:59 +02:00
  • 593bf159fa Merge pull request #2774 from mrdudz/somedocs Bob Andrews 2025-07-07 23:27:14 +02:00
  • 7c6efded1c Merge pull request #2782 from kugelfuhr/kugelfuhr/use-static-inline Bob Andrews 2025-07-07 23:25:11 +02:00
  • 8a976d555b Merge pull request #2783 from kugelfuhr/kugelfuhr/macro-locals Bob Andrews 2025-07-07 16:52:04 +02:00
  • b64c811a3f Add info about cheap local names in macro local symbols. Kugel Fuhr 2025-07-07 12:05:46 +02:00
  • 9be9003e9a Removed the inline.h module and removed the use of macros instead of "static inline". Kugel Fuhr 2025-07-07 11:23:12 +02:00
  • 8dc815f53f Fixed typos in comments. Kugel Fuhr 2025-07-06 21:07:34 +02:00
  • 20a9db757d Optimize multiple incax* and incax*/ldaxi Colin Leroy-Mira 2025-07-06 18:40:04 +02:00
  • b7e592699d Fix a copy&paste error (mrduz). Kugel Fuhr 2025-07-06 20:20:32 +02:00
  • f1b9cf0e32 Merge pull request #2780 from mrdudz/cpumac Bob Andrews 2025-07-06 20:14:44 +02:00
  • 57283733e7 Remove unwanted duplicate reference output for the tests. Kugel Fuhr 2025-07-06 20:06:48 +02:00
  • 48924cc9d5 remove .macpack cpu, fixes #2779 mrdudz 2025-07-06 19:14:48 +02:00
  • facf7b2a0c Add basic test for incsp optimisation Colin Leroy-Mira 2025-07-06 18:35:21 +02:00
  • 929fc94466 Added the necessary control files and reference output for the tests. Kugel Fuhr 2025-07-06 16:58:58 +02:00
  • 87e5775efb Merge branch 'master' into much-smaller-strndup Colin Leroy-Mira 2025-07-06 13:36:58 +02:00
  • fe86149203 Further optimize inc/decsp Colin Leroy-Mira 2025-07-06 13:28:53 +02:00
  • 4a8498cb0a When skipping a macro definintion because of an error, apply the same handling regarding .endmacro as when the macro is parsed regularily: A .endmacro ends the macro only if is the first token on a line. Kugel Fuhr 2025-07-06 11:38:27 +02:00
  • 7b79fd1ec1 Added more tests. Kugel Fuhr 2025-07-06 10:42:15 +02:00
  • 23086bccff Much improved diagnostics for macros. Kugel Fuhr 2025-07-06 10:41:12 +02:00
  • 7cd137afb4 Improved diagnostics. Kugel Fuhr 2025-07-06 10:40:25 +02:00
  • 45a326750c Added a function to output notifications. Kugel Fuhr 2025-07-06 10:39:29 +02:00
  • bcd29de443 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
  • cf89172cf7 attempt to explain the ISET* dilemma mrdudz 2025-07-05 23:27:06 +02:00
  • 1cc7d01c99 added missing predefined constants mrdudz 2025-07-05 21:53:10 +02:00
  • d20077de2b Merge pull request #2773 from SlithyMatt/master Bob Andrews 2025-07-05 16:14:46 +02:00
  • 8c9e45ee85 #2772 - Fixed default CPU for CX16 SlithyMatt 2025-07-05 09:57:05 -04:00
  • fb7afcfee9 Add strndup ENOMEM test Colin Leroy-Mira 2025-07-05 12:31:26 +02:00
  • 6604c5ce92 Make strndup smaller, safer, faster Colin Leroy-Mira 2025-07-05 12:11:40 +02:00
  • 70b54bdbe3 some missing target defines mrdudz 2025-07-04 23:59:57 +02:00
  • 7ed1f0c7ea Merge pull request #2766 from mrdudz/CommunityStandards Bob Andrews 2025-07-04 17:05:52 +02:00
  • 315d6c4ae3 Merge pull request #2768 from mrdudz/fix2764 Bob Andrews 2025-07-04 17:04:12 +02:00
  • b24560c083 Merge pull request #2759 from mrdudz/test1972 Bob Andrews 2025-07-04 17:03:47 +02:00
  • fd973cd544 Merge pull request #2769 from colinleroy/add-strndup Bob Andrews 2025-07-04 17:01:28 +02:00
  • 14eae07a8c Merge pull request #2770 from kugelfuhr/kugelfuhr/fix-1557 Bob Andrews 2025-07-04 16:57:04 +02:00
  • 500b86f1e2 Improve error recovery. Kugel Fuhr 2025-07-04 14:56:20 +02:00
  • 2e6f04034b Improved an error message. Kugel Fuhr 2025-07-04 14:51:56 +02:00