Commit Graph

734 Commits

Author SHA1 Message Date
Kugel Fuhr
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.
2025-07-06 08:40:05 +02:00
Bob Andrews
29f7ab3809 Merge pull request #2760 from kugelfuhr/kugelfuhr/fix-2753
Add ".CAPABILITY" to ca65, remove ".MACPACK cpu"
2025-07-03 18:43:05 +02:00
Bob Andrews
dbb6ff5482 Merge pull request #2761 from kugelfuhr/kugelfuhr/fix-2231
Allow comments within _Pragma()
2025-07-03 18:36:43 +02:00
Kugel Fuhr
b65ee13e8c Fix the tests. 2025-07-01 17:46:39 +02:00
Kugel Fuhr
64d35b6a86 Allow comments within _Pragma(). Fixes #2231. 2025-07-01 17:24:24 +02:00
Kugel Fuhr
d4e57278c6 Add a new .cap pseudo function to the assembler that allows to check for
certain capabilities of the CPU or target system.
2025-06-30 21:37:43 +02:00
mrdudz
705081af34 Merge branch 'master' into quietagain 2025-06-29 23:01:47 +02:00
mrdudz
cb4cd114bf handle -s correctly when using these makefiles directly 2025-06-29 22:48:03 +02:00
mrdudz
e85339dada add sweet16 to the opcodes test as well 2025-06-29 19:51:22 +02:00
mrdudz
91c9e32e4b add sweet16 to the cpudetect test 2025-06-29 19:14:28 +02:00
mrdudz
4d73544d6c cleanup/fix test for 65816 2025-06-29 18:29:22 +02:00
mrdudz
51dc9119a9 fix test 2025-06-29 17:21:40 +02:00
mrdudz
cf8af80dce add missing pseudo(s) for HUC6280, fix cpudetect for 6280 2025-06-29 01:57:28 +02:00
mrdudz
f45471156b update test 2025-06-28 18:41:29 +02:00
mrdudz
ced83d0f47 update tests 2025-06-28 18:18:39 +02:00
mrdudz
c359cd9251 update test 2025-06-28 02:27:04 +02:00
mrdudz
b08f306fde fix test 2025-06-28 02:05:08 +02:00
mrdudz
0a5211dcaa ...and the reference for the test 2025-06-27 17:39:04 +02:00
mrdudz
0d28f6ff8c fix test 2025-06-27 17:32:20 +02:00
Bob Andrews
d909a2c285 Merge pull request #2746 from mrdudz/bequiet
Fix -s vs QUIET in the makefiles
2025-06-27 16:43:13 +02:00
Bob Andrews
270552af48 Merge pull request #2734 from mrdudz/mega65c
C65 and Mega65 initial C support
2025-06-27 16:41:28 +02:00
mrdudz
cc6813428c fix the fix 2025-06-26 21:00:20 +02:00
mrdudz
46770bbb63 another for cmd.exe 2025-06-26 20:53:10 +02:00
mrdudz
70f9723a89 dumb down for cmd.exe 2025-06-26 20:42:15 +02:00
mrdudz
7a85575158 fix handling of QUIET in the "test" directory 2025-06-26 19:48:16 +02:00
mrdudz
73869a6f38 make propagating QUIET=1 down actually work, also set --no-print-directory depending on QUIET 2025-06-26 19:45:52 +02:00
mrdudz
75aa45d41e when -s was used, implicitly use QUIET=1. also explicitly propagate QUIET to submakefile(s) 2025-06-26 18:42:01 +02:00
mrdudz
4f5fc898d7 someone accidently checked this in, i guess 2025-06-26 18:40:32 +02:00
Kugel Fuhr
e2a39d076d Renamed the assembler test. 2025-06-26 09:00:03 +02:00
Kugel Fuhr
5db2aed129 Allow "sp" as an alias for "c_sp" for backwards compatibility. Using it will
work but generates a linker warning. Added a test to check for this warning.
2025-06-26 07:40:04 +02:00
mrdudz
4d1fbe3f90 fix refs (remove 652SC02) 2025-06-24 21:59:35 +02:00
mrdudz
5fc15a7a60 test #2674 2025-06-23 17:09:06 +02:00
Gorilla Sapiens
a7af49a763 Merge branch 'master' into c_sp 2025-06-22 19:02:24 +00:00
mrdudz
1d7bc938f2 add roundtrip disasm tests for all cpus 2025-06-22 01:18:41 +02:00
mrdudz
3321910848 implement 45GS02 compound instrictions in the disassembler 2025-06-21 20:37:31 +02:00
mrdudz
76c8f0d860 fix test, add 45GS02 instructions 2025-06-21 01:39:33 +02:00
mrdudz
9344d87b05 part of #1792 - 48GS02 assembler support 2025-06-21 00:56:34 +02:00
Bob Andrews
d333627081 Merge pull request #2707 from mrdudz/m740
m740 Support
2025-06-20 19:39:32 +02:00
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
mrdudz
4f26d6d8b7 typo 2025-06-19 22:49:12 +02:00
mrdudz
02e79d35d7 no need to fix the assembler, but making da65 produce the same mnemonics ans ca65 uses seems like a good idea :) 2025-06-19 21:44:14 +02:00
Kugel Fuhr
758bdaa4ad Fixed a typo in the test source. 2025-06-19 17:59:30 +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
mrdudz
d34b36c6e5 add test that checks all opcodes per current cpu flags 2025-06-19 01:33:31 +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
Gorilla Sapiens
5a4b11e7ff Merge branch 'master' into c_sp 2025-06-18 06:14:39 +00:00
Bob Andrews
d1ecc02e31 Merge branch 'master' into m740 2025-06-17 23:52:55 +02:00
mrdudz
5a3aa1fd51 fix/add missing .ifp02x and .p02x pseudo ops, update test 2025-06-17 23:34:23 +02:00
mrdudz
2e27ee1702 added .IFM740 and .PM470, and while at it also .IFP02X and .P02X. Updated regression test to use these 2025-06-16 22:55:58 +02:00