Commit Graph

4045 Commits

Author SHA1 Message Date
Bob Andrews
b630dac728 Merge pull request #2718 from kugelfuhr/kugelfuhr/fix-505
Fix the behavior of variable symbols in regard to cheap locals
2025-06-19 23:44:38 +02:00
Bob Andrews
3989ce1185 Merge pull request #2715 from kugelfuhr/kugelfuhr/fix-2527
Added a few simple optimizations
2025-06-19 23:39:04 +02:00
Bob Andrews
1f23fc6ba8 Merge pull request #2716 from kugelfuhr/kugelfuhr/fix-2649
Fix an internal error in da65 when there are certain labels in a skipped section
2025-06-19 19:33:17 +02:00
Kugel Fuhr
54f63a0cdc Fix the behavior of variable symbols in regard to cheap locals. Previously
every assignment to a variable symbol opened the same scope for cheap locals.
So when redefining a variable symbol, an old cheap local scope was reopened
which was unexpected and confusing. The change fixes this so that only the
first definition of a variable symbol opens a new scope for cheap locals, but
redefinitions of the same symbol do not.
2025-06-19 09:11:30 +02:00
Kugel Fuhr
8d407c7b17 Fix #2649. When generating labels for "skip" sections, GetGranularity() is
called which wouldn't handle this type.
2025-06-18 21:54:19 +02:00
Kugel Fuhr
2ceaa3fabb Added a few simple optimizations that resolve most of #2527. 2025-06-18 10:34:13 +02:00
Gorilla Sapiens
8cb0578447 changes suggested by mrdudz 2025-06-18 06:38:38 +00:00
Gorilla Sapiens
06a77abc68 Merge branch 'master' into sane_makefile_output 2025-06-18 06:26:58 +00:00
mrdudz
5a3aa1fd51 fix/add missing .ifp02x and .p02x pseudo ops, update test 2025-06-17 23:34:23 +02:00
Bob Andrews
f04c25a233 Merge pull request #2709 from GorillaSapiens/gps4bugs
added reporting of fatal/error/warning/note location generation with …
2025-06-17 19:51:02 +02:00
Bob Andrews
f16eced6fc Merge pull request #2698 from kugelfuhr/kugelfuhr/fix-1640
Implement -dD, -dM and -dN command line switches to output macro definitions
2025-06-17 19:44:19 +02:00
Gorilla Sapiens
c90c61f08f rename functions 2025-06-16 23:30:46 +00:00
Kugel Fuhr
adc9ddc280 Change the available options to -dM and -dP. The former prints user macros,
the latter predefined macros. Can be combined by using -dMP or -dPM.
2025-06-16 11:30:25 +02:00
Gorilla Sapiens
c0a0ba1483 added reporting of fatal/error/warning/note location generation with "-d" 2025-06-16 02:46:10 +00:00
Bob Andrews
b29b50d363 Merge pull request #2701 from colinleroy/fix-tmp-files-again-again
Make sure pid and counter don't interfere
2025-06-14 18:48:39 +02:00
Colin Leroy-Mira
e3f9a5f052 Make sure pid and counter don't interfere 2025-06-14 13:02:28 +02:00
Bob Andrews
647a79bb2f Merge branch 'master' into checksorted 2025-06-14 02:16:34 +02:00
Bob Andrews
89651fd8bd Merge pull request #2699 from colinleroy/fix-temp-files-again
Fix temporary filenames again.
2025-06-13 20:44:28 +02:00
Colin Leroy-Mira
215f51a230 Fix temporary filenames again.
Outputting temp files in the output directory means we have
to distinguish source files in different source directories
that happen to have the same name.
2025-06-13 20:26:00 +02:00
Bob Andrews
b9eeec0c51 Merge pull request #2677 from sintech/agat-support
Agat support
2025-06-13 17:59:40 +02:00
Bob Andrews
f191272feb Merge branch 'master' into checksorted 2025-06-12 23:33:12 +02:00
Kugel Fuhr
40aced6d6d Command line switches -dD and -Dm were swapped in the usage information. 2025-06-12 22:02:35 +02:00
Kugel Fuhr
a6b94ebba2 Implement -dD, -dM and -dN command line switches to output macro definitions. 2025-06-12 21:50:20 +02:00
mrdudz
505160f169 a bit cleaner, also build dbgsh 2025-06-12 21:31:05 +02:00
mrdudz
86cf60d0e6 add dbginfo to src/Makefile, add building dbginfo example to CI. Fixes #2681, supersedes #2682 2025-06-12 20:53:55 +02:00
Bob Andrews
57fa64bac6 Merge pull request #2686 from colinleroy/fix-temp-name
Fix temporary file name creation.
2025-06-12 18:39:54 +02:00
Colin Leroy-Mira
ffd667c2c9 Fix temporary file name creation.
Use the original name as template for readability in
the map file, and use the process PID instead of platform-dependant
or deprecated random filename functions to make unique temporary
filenames. Also, create these temporary files in the output
directory.
2025-06-12 18:00:10 +02:00
Bob Andrews
59441b3139 Merge pull request #2695 from kugelfuhr/kugelfuhr/fix-2363
Add macros to check for CPU type and supported instruction set.
2025-06-12 17:56:08 +02:00
Kugel Fuhr
ace81bd36a Add macros to check for CPU type and supported instruction set. 2025-06-12 14:42:38 +02:00
Gorilla Sapiens
844596fd03 Merge branch 'master' into issue_2608 2025-06-12 05:59:27 +00:00
Gorilla Sapiens
51da666210 fixes #2608 2025-06-11 02:21:39 +00:00
mrdudz
aaa1058d32 use explicit markers (comments) for the bsearch table checking, simplifies the scripts and makes them more robust too :) 2025-06-09 21:48:20 +02:00
mrdudz
ba80de5efc fix bsearch tables that must be sorted, add comment to all tables that must be sorted 2025-06-09 17:58:58 +02:00
Konstantin
34daf33d93 Remove dangling spaces 2025-06-07 14:10:50 +03:00
Konstantin
cbf1b1d5a7 Updated translation table 2025-06-07 14:00:10 +03:00
Konstantin
de524a6561 Initial Agat support 2025-06-04 22:51:17 +03:00
Gorilla Sapiens
dd2f19260c added information to Makefile output 2025-06-04 03:03:18 +00:00
Gorilla Sapiens
9318c781ae fixes #2666, double charmap of char literals 2025-06-03 20:54:55 +00:00
Bob Andrews
df99b9a107 fix codestyle 2025-05-31 19:00:11 +02:00
Gorilla Sapiens
779c393e65 fixes *.s -> *.o -> exe path 2025-05-29 15:05:03 +00:00
Gorilla Sapiens
842ec4b481 tmpfiles for the *.grc -> *.s -> *.o -> exe path 2025-05-29 14:26:25 +00:00
Gorilla Sapiens
9ae0eaafcc fixed inaccurate comment 2025-05-27 14:13:52 +00:00
Gorilla Sapiens
a1139aa6b8 removed dangling space 2025-05-27 06:31:54 +00:00
Gorilla Sapiens
ca8b072608 fixed another pedantic github build problem 2025-05-27 06:30:12 +00:00
Gorilla Sapiens
9a2f754e8d fixes problems found by github autobuild 2025-05-27 06:18:24 +00:00
Gorilla Sapiens
11d3338282 bugfixes 2025-05-27 06:00:24 +00:00
Gorilla Sapiens
e451134e23 fixes issue #2446 2025-05-27 05:03:17 +00:00
Bob Andrews
7621fb91f0 Merge pull request #2642 from GorillaSapiens/ca65_charset_translations
C style character translation in ca65
2025-05-24 17:23:19 +02:00
Bob Andrews
8f4451a468 Merge pull request #2658 from kugelfuhr/kugelfuhr/fix-2655
Fix -W -unreachable-code not working in all cases
2025-05-24 17:17:36 +02:00
Bob Andrews
2edb5b96c5 Merge pull request #2654 from kugelfuhr/kugelfuhr/fix-2599
Fix missing warning for non void functions without a return statement
2025-05-24 16:59:00 +02:00