1
0
mirror of https://github.com/cc65/cc65.git synced 2025-10-25 07:35:00 +00:00
Commit Graph

11964 Commits

Author SHA1 Message Date
Bob Andrews
fae2d5511f Merge branch 'master' into patch-10 2025-09-22 21:03:18 +02:00
Bob Andrews
732c0c09f8 Merge pull request #2832 from polluks/patch-9
Fixed typos
2025-09-22 21:01:29 +02:00
Bob Andrews
9aab9e93aa Merge pull request #2829 from kugelfuhr/kugelfuhr/fix-2826
Fix hardcoded upper limit of ld65 input files
2025-09-22 21:00:43 +02:00
Stefan
089f8f1425 Fixed typo 2025-09-14 22:36:31 +02:00
Stefan
1ef3f88f0a Fixed typos 2025-09-14 22:30:24 +02:00
Kugel Fuhr
0dc484f5a7 Fix hardcoded upper limit of input files. 2025-09-08 20:51:27 +02:00
Colin Leroy-Mira
357f64e4e3 Address Oliver's comments 2025-08-26 15:11:15 +02:00
Colin Leroy-Mira
86bcf32580 Apple2: Add file_set_type() and file_set_auxtype()
MLI wrapper to be able to update existing ProDOS
files' type and auxtype.
2025-08-26 15:11:15 +02:00
mrdudz
6efe447d14 add some strategic git ignores, should satisfy #2818 2025-07-27 17:29:59 +02:00
Bob Andrews
5197c56c7c Merge pull request #2794 from mrdudz/fixgrc
Fixgrc
2025-07-27 00:23:02 +02:00
Bob Andrews
d06e0d9a16 Merge pull request #2812 from colinleroy/Opt-ldptr1
Optimize ldax?sp/sta/stx to ldptr1?sp
2025-07-27 00:22:21 +02:00
Bob Andrews
17c8e2154b Merge pull request #2811 from colinleroy/OptTosLoadPop
Optimize jsr ldax0sp/incsp2
2025-07-27 00:21:50 +02:00
Colin Leroy-Mira
1f6cca2140 Coding style 2025-07-27 00:02:48 +02:00
Colin Leroy-Mira
a0b705fd41 Remove code after inserting new one 2025-07-27 00:02:48 +02:00
Colin Leroy-Mira
0647cb1112 Merge jsr pushax/j?? popax into nothing or RTS 2025-07-27 00:02:48 +02:00
Colin Leroy-Mira
4c2cc24e77 Optimize jsr ldax0sp/incsp2 2025-07-27 00:02:18 +02:00
Colin Leroy-Mira
aa936b6d12 Fix copyright 2025-07-26 23:59:02 +02:00
mrdudz
cb39da2fba Use spaces instead of tabs in the output files 2025-07-26 23:52:14 +02:00
Bob Andrews
4c6c8b2430 Merge pull request #2819 from kugelfuhr/kugelfuhr/improved-flowanalysis
Improved flowanalysis for cc65
2025-07-26 23:37:49 +02:00
Kugel Fuhr
228671b7c4 Added another test. 2025-07-26 10:17:32 +02:00
Kugel Fuhr
8f4a4040d6 Complete unreachable checking for switch statements. 2025-07-26 09:03:27 +02:00
Kugel Fuhr
70c1bd5e3c Improved flow analysis in general and especially for "for" loops. Added more
tests.
2025-07-26 09:03:04 +02:00
Kugel Fuhr
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.
2025-07-26 09:02:54 +02:00
mrdudz
3d052ea4a3 remove some braces 2025-07-26 00:21:00 +02:00
Bob Andrews
b0e10e1f9a Merge pull request #2814 from jedeoric/master
telestrat target : lseek now returns position as it should
2025-07-26 00:18:38 +02:00
Bob Andrews
0a4af6df92 Merge pull request #2808 from kugelfuhr/kugelfuhr/flowanalysis
Simple flow analysis to find unreachable code
2025-07-26 00:10:21 +02:00
Bob Andrews
5809eaf037 Update libsrc/telestrat/lseek.s
Co-authored-by: kugelfuhr <98353208+kugelfuhr@users.noreply.github.com>
2025-07-26 00:01:07 +02:00
Bob Andrews
4e0806c6be Merge pull request #2813 from colinleroy/fix-pr-2778
Fix bug in PR #2778
2025-07-24 13:21:56 +02:00
jedeoric
87ce45ba01 telestrat target : lseek now returns position as it should 2025-07-23 22:49:15 +02:00
mrdudz
2c906474eb calculate the disk blocks in the linker config 2025-07-20 19:18:24 +02:00
Colin Leroy-Mira
6d96a952fd Stricter check for incax[1-8]
Thanks to @kugelfuhr

Co-authored-by: kugelfuhr <98353208+kugelfuhr@users.noreply.github.com>
2025-07-20 18:48:58 +02:00
Colin Leroy-Mira
fa1b6ed4f7 Address issues 2025-07-20 16:39:24 +02:00
Colin Leroy-Mira
095ee0b27c Merge branch 'master' into fix-pr-2778 2025-07-20 16:28:49 +02:00
Colin Leroy-Mira
8a793796d7 Coding style 2025-07-20 16:14:35 +02:00
Colin Leroy-Mira
8ba1cef550 Merge branch 'master' into Opt-ldptr1 2025-07-20 16:08:01 +02:00
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
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