Colin Leroy-Mira
2b2c082efb
Fix bug in PR #2778
...
Don't replace incaxy like incax[1-8].
2025-07-20 14:36:30 +02:00
Colin Leroy-Mira
17b8645360
Optimize ldax?sp/sta/stx to ldptr1?sp
2025-07-20 12:24:24 +02:00
rumbledethumps
02cb5d23f7
add xreg_ria_gamepad
2025-07-19 23:13:53 -07:00
mrdudz
e554d0ccfb
mark sequential GEOS files without RECORD table as such.
2025-07-20 02:01:37 +02:00
mrdudz
3ff1a9e463
another try. still not quite right apparently
2025-07-19 23:00:28 +02:00
Bob Andrews
32313a8c56
Merge pull request #2805 from kugelfuhr/kugelfuhr/remove-grc-artifacts
...
Remove .s files generated from .grc files
2025-07-19 20:11:13 +02:00
Bob Andrews
053f0a1b05
Merge pull request #2809 from JimmyDansbo/w65c02_capabilities
...
Added correct capabilities to W65C02 and 65CE02 CPUs
2025-07-19 20:08:06 +02:00
Bob Andrews
8bbe0f6972
Merge pull request #2810 from jedeoric/master
...
telestrat target : manage main return code
2025-07-19 20:06:35 +02:00
jedeoric
329ec64a4b
telestrat target : manage main return code
2025-07-18 00:23:44 +02:00
Kugel Fuhr
61f3e43fb6
Rewrote an outdated comment.
2025-07-17 20:52:33 +02:00
Jimmy Dansbo
3cd1672ae5
Added correct capabilities to W65C02 and 65CD02 cpus
2025-07-17 19:17:03 +02:00
Kugel Fuhr
6d45a94127
Do not output a warning about a missing "return" in a function if the function
...
exit is unreachable.
2025-07-17 17:07:34 +02:00
Kugel Fuhr
ed54e9b168
Added several flow control tests.
2025-07-17 16:00:59 +02:00
Kugel Fuhr
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.
2025-07-17 15:43:15 +02:00
Kugel Fuhr
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.
2025-07-17 15:39:45 +02:00
Kugel Fuhr
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.
2025-07-16 21:24:25 +02:00
Kugel Fuhr
e82656d8ca
Remove .s files generated from .grc files.
2025-07-16 12:31:18 +02:00
Bob Andrews
3f3dc3d145
Merge pull request #2803 from kugelfuhr/kugelfuhr/fix-1162
...
Add a description for --memory-model to the docs
2025-07-16 00:56:36 +02:00
Bob Andrews
89704a6e37
Merge pull request #2802 from kugelfuhr/kugelfuhr/modernize-ld65-diags
...
Modernize ld65 diagnostics
2025-07-16 00:55:12 +02:00
Bob Andrews
25e6b42ef3
Merge pull request #2799 from kugelfuhr/kugelfuhr/fix-atari7800-cfg
...
Atari 7800: Make the EXTZP segment optional
2025-07-15 23:27:06 +02:00
Bob Andrews
61072ce3c7
Merge pull request #2797 from kugelfuhr/kugelfuhr/fix-2796
...
For the cpudetect tests, check the binary results for all instructions
2025-07-15 21:21:31 +02:00
Bob Andrews
14a6c66997
Merge pull request #2795 from kugelfuhr/kugelfuhr/fix-sortcheck
...
Fix an error in the sort check scripts.
2025-07-15 21:18:22 +02:00
Bob Andrews
a4c97c7ebc
Merge pull request #2804 from mrdudz/geossample
...
add a geos resource file to the "ascii" sample
2025-07-15 20:48:01 +02:00
mrdudz
3ea8cae0ee
add a geos resource file to the "ascii" sample, removes the linker warnings (and makes the program actually work in GEOS)
2025-07-15 17:56:45 +02:00
Christian Groessler
4cbdb55fbc
Merge pull request #2798 from kugelfuhr/kugelfuhr/fix-2787
...
Move constructors into the ONCE segment for the creativision target
2025-07-14 20:32:37 +02:00
Kugel Fuhr
9ac02f3282
Move constructors into the ONCE segment to fix linker warnings.
2025-07-14 19:52:07 +02:00
Kugel Fuhr
f86f602b9e
Add a description for --memory-model to the docs.
2025-07-14 16:45:42 +02:00
Kugel Fuhr
4120f35276
Added tests for warnings or errors that now have notifications.
2025-07-14 12:59:52 +02:00
Kugel Fuhr
170ddc6e33
Add a --warnings-as-errors option to cc65 for compatibility reasons.
2025-07-14 11:35:53 +02:00
Kugel Fuhr
d54844c76b
Make the EXTZP segment optional for Atari 7800.
2025-07-14 07:03:53 +02:00
Kugel Fuhr
3dfde7baef
For the cpudetect tests, check the binary results for all instructions, not
...
just for a few selected ones.
2025-07-13 21:43:34 +02:00
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