Kugel Fuhr
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.
2025-07-13 17:56:31 +02:00
Kugel Fuhr
2e4c18770b
Add a --warnings-as-errors to cl65.
2025-07-13 16:34:36 +02:00
Kugel Fuhr
c2f17b6f6b
When initialized data is found in a segment, print the first module where this
...
data comes from to ease debugging.
2025-07-13 16:34:29 +02:00
Kugel Fuhr
2e3edf9b1b
Some reformatting and improved diagnostics.
2025-07-13 16:34:20 +02:00
Kugel Fuhr
3e81cd6ae0
Renames CfgError -> PError, CfgWarning -> PWarning.
2025-07-13 16:33:59 +02:00
Kugel Fuhr
7d963d4490
Change the output format for .assert. Use --no-utf8 for the tests.
2025-07-13 16:33:15 +02:00
Kugel Fuhr
074a3f513e
Add the --color and --no-utf8 options to cl65 which will pass it to the tools
...
that understand it.
2025-07-13 16:33:03 +02:00
Kugel Fuhr
79967ff01b
Support colors in diagnostic output.
2025-07-13 16:32:56 +02:00
Kugel Fuhr
96f8ce4cee
Move the functions to output config file errors from scanner.c to error.c.
2025-07-13 16:32:47 +02:00
Kugel Fuhr
6f45af3c9e
Use console properties. Add the --no-utf8 and --color options.
2025-07-13 16:32:37 +02:00
Kugel Fuhr
da0e3907ec
Move the code to parse color strings into the CP_Parse() function and use it.
2025-07-13 16:32:23 +02:00
mrdudz
b99bdf1e89
if "geos-template.d64" exists, copy the samples to that instead of a blank image
2025-07-12 21:15:12 +02:00
mrdudz
7117936828
calculate number of disk blocks from size of VLIR record(s)
2025-07-12 20:58:18 +02:00
Bob Andrews
faecedb514
Merge pull request #2793 from mrdudz/fixdbg
...
fix debugger
2025-07-12 17:00:45 +02:00
mrdudz
c0e8835ba0
brief docs
2025-07-11 22:32:14 +02:00
mrdudz
0d30d8b4ae
add (very simple) example for dbg.h
2025-07-11 21:56:34 +02:00
mrdudz
e973483cc8
DbgIsBreak() must use __cdecl__
2025-07-11 21:55:58 +02:00
Bob Andrews
18805b8df9
Merge pull request #2792 from mrdudz/sometests
...
test for #2208
2025-07-11 19:10:38 +02:00
Bob Andrews
68cccd31fa
Merge pull request #2791 from mrdudz/fix2789
...
Fix2789
2025-07-11 19:00:01 +02:00
Bob Andrews
8245eb31a0
Merge pull request #2790 from mrdudz/docsfix
...
add missing command line details, sort options
2025-07-11 18:47:10 +02:00
mrdudz
c13f7dbdad
fix range check
2025-07-11 18:44:58 +02:00
mrdudz
907d8b26c5
simple regression test for .charmap
2025-07-11 18:38:24 +02:00
mrdudz
aba0b6b439
add missing command line details, sort options
2025-07-11 17:52:03 +02:00
Bob Andrews
5fc300b987
Merge pull request #2280 from pm100/seglist
...
Add segment ID to assembler listing for reloc code
2025-07-10 22:49:21 +02:00
Bob Andrews
3e3a65f82e
Update ca65.sgml
2025-07-10 22:35:18 +02:00
Bob Andrews
f7ebd4dfea
Merge branch 'master' into seglist
2025-07-10 22:21:57 +02:00
Bob Andrews
bb736972f0
Merge pull request #2279 from pm100/macexpand
...
Expand macros in listing
2025-07-10 22:17:13 +02:00
Bob Andrews
ffa72f56f1
codestyle
2025-07-10 21:19:55 +02:00
Bob Andrews
97e4c6b42f
some cosmetics
2025-07-10 21:18:12 +02:00
Bob Andrews
61362779a5
Merge branch 'master' into macexpand
2025-07-10 21:05:20 +02:00
Bob Andrews
d8b4013f3c
Merge branch 'master' into seglist
2025-07-10 20:48:28 +02:00
Bob Andrews
ce6e322046
Merge pull request #2785 from kugelfuhr/kugelfuhr/modernize-ca65-diags
...
Modernize ca65 diagnostics
2025-07-10 18:47:34 +02:00
Kugel Fuhr
2926a95e71
Use correct type for function used in atexit().
2025-07-10 17:14:50 +02:00
Kugel Fuhr
72e3956aeb
Add missing definitions for Windows.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
26968ffdf2
Fixed a typo :-(
2025-07-10 17:14:50 +02:00
Kugel Fuhr
bb255838a6
Fix include files for Windows (hopefully).
2025-07-10 17:14:50 +02:00
Kugel Fuhr
0c14830da0
Remove tabs.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
abb0adf546
Update visual studio project files with added sources.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
97ef430053
Restore description for --debug which was lost.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
7e97e99bae
Do also color quoted text.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
8c654193f7
For the assembler tests, switch off UTF-8 output so we have always the
...
identical diagnostics indepdendent of the console properties.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
8d7c87f753
Fix problem with UTF-8 output when switching the code page under windows fails.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
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.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
b1eb1bf6ab
Colorize diagnostics.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
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.
2025-07-10 17:14:47 +02:00
Bob Andrews
4afbd1104d
Merge pull request #2777 from kugelfuhr/kugelfuhr/ca65-errors
...
Improve error handling for ca65
2025-07-10 17:05:32 +02:00
Bob Andrews
4a53a891e8
Merge pull request #2778 from colinleroy/optimise-ldaxi
...
Optimise ldaxi
2025-07-10 17:03:28 +02:00
Bob Andrews
9971d9fac0
Merge pull request #2776 from colinleroy/optimize-incdecsp-further
...
Further optimize inc/decsp
2025-07-10 17:02:32 +02:00
Bob Andrews
7d7cfde818
Merge pull request #2786 from mrdudz/fixmakefiles
...
Fixmakefiles
2025-07-10 00:01:12 +02:00
Bob Andrews
9ff71e431b
Merge branch 'master' into fixmakefiles
2025-07-09 23:41:26 +02:00