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
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
mrdudz
0b74ae8c2d
add m740 to macpack cpu, add .ifpm740, add regression test for those
2025-06-16 21:59:38 +02:00
mrdudz
20e7c54fa3
more m740 fixes, makes the regression test work
2025-06-16 20:32:54 +02:00
Gorilla Sapiens
dd2f19260c
added information to Makefile output
2025-06-04 03:03:18 +00:00
Kugel Fuhr
cc0db26e20
Added some tests.
2024-09-01 20:22:29 +02:00
Evgeny Vrublevsky
f789316f86
Add a test for the unnamed labels.
2024-04-07 13:34:49 +03:00
mrdudz
b993d88339
second half of #2420 - don't use the loop macro. Fixes -j13 for me
2024-03-17 17:19:42 +01:00
bbbradsmith
6cb8717c24
fix dangling space, mention .union in test comment
2023-12-16 19:25:21 -05:00
bbbradsmith
0d74b84ce4
Test of .struct and .union features. Update documentation with more examples, better clarity, and fixes to incorrect data.
2023-12-16 19:18:25 -05:00
bbbradsmith
f31d8efc1e
tabs are forbidden
2023-08-19 15:07:32 -04:00
bbbradsmith
07f08fc547
tests verifying jmp (indirect) page crossing error on 6502, and the lack of error for other CPU types
2023-08-19 14:36:30 -04:00
Bob Andrews
652949f183
Merge pull request #2104 from Movax12/remove-feature-requirement-addrsize
...
ca65: Remove .feature requirement for .addrsize
2023-05-22 00:39:04 +02:00
Bob Andrews
70bf4d492b
Merge pull request #2105 from bbbradsmith/sim65-64bit-cycle-count
...
Sim65 64bit cycle count
2023-05-16 15:53:23 +02:00
bbbradsmith
3419cbd348
sim65 64-bit cycle count tests
...
These take ~10 seconds to run locally
2023-05-07 16:33:47 -04:00
bbbradsmith
aad64063c9
makefiles no longer need comment about sim65 64-bit support
2023-05-07 16:33:07 -04:00
mvax
bee29dedd1
fix feature.s test
2023-05-06 17:11:57 -04:00
mvax
560085cb17
modify and add tests
2023-05-06 16:22:04 -04:00
Bob Andrews
9c70235173
Merge pull request #2096 from Movax12/BugFix-for-ismnemonic-function
...
Bugfix for the .ISMNEMONIC, .ISMNEM builtin function
2023-05-06 21:42:59 +02:00
bbbradsmith
84f0ab322d
sim65: cycles does not increment 1 at a time, so some small overhead is needed in range check
2023-05-06 13:54:28 -04:00
mvax
fe35386b79
add test - add overloading instruction test
2023-05-06 12:56:34 -04:00
bbbradsmith
f2e7609046
sim65 cycles 32-bit range fix
...
long is 64-bit on some platforms, making this inconsistent, added range check to catch overflow.
reduced tests requesting 5 billion cycles to 2^32-1 so they can fun on 32-bit long sim65.
2023-05-05 21:45:57 -04:00
mvax
dd0a2bf1bc
add test - fix stlye
2023-05-05 19:10:16 -04:00
mvax
7994889213
add test - fix again
2023-05-05 19:07:14 -04:00
mvax
c5cf32ac47
add test - fix
2023-05-05 18:50:44 -04:00
mvax
18570d18b8
add test
2023-05-05 18:43:10 -04:00
bbbradsmith
99220f60af
test/asm readme val description revision
2023-03-07 18:53:30 -05:00
bbbradsmith
6be7c16013
linkter test with custom config should not use none.lib
2023-03-07 18:48:30 -05:00
bbbradsmith
4732e937ad
overwrite segment tests
...
asm/listing linker CFG support
asm and asm/listing test documentation
2023-03-07 18:44:56 -05:00
Bob Andrews
b9cf6266e7
Merge pull request #2010 from bbbradsmith/ca65_brk_optional_signature
...
optional BRK signature on all 6502 CPUs, not just 65816
2023-03-04 13:21:28 +01:00
Bob Andrews
c0559dd931
Merge pull request #2009 from bbbradsmith/ca65_feature_disable
...
ca65: allow .feature to both enable and disable
2023-03-04 13:08:18 +01:00
mvax
3f2129894b
Fix .endmacro not at the start of the line. Rename test files.
2023-03-02 15:12:30 -05:00
mvax
98d2d9ee4e
Fix .endmacro not at the start of the line. Fix style
2023-03-01 21:59:00 -05:00
mvax
0b71d1cfff
Fix .endmacro not at the start of the line. Fix last commit
2023-03-01 21:55:14 -05:00
bbbradsmith
3d41a5b516
allow immedite style syntax variation for BRK signature byte
2023-02-25 08:23:47 -05:00
bbbradsmith
cd8fa39066
optional BRK signature on all 6502 CPUs, not just 65816 (also COP)
2023-02-24 22:40:29 -05:00
bbbradsmith
c2bc40f213
test for all ca65 .feature options
2023-02-24 20:00:56 -05:00
bbbradsmith
230230819e
document the undocumented test/asm/listing behaviours
2023-02-24 19:35:38 -05:00
Spiro Trikaliotis
d7a804d120
Split stdin and stdout in test/asm/
...
Some tests pipe the stdout and stderr of the compiler or assembler into
a file and compare the result with a reference. This has the subtle
problem that both stdout and stderr and buffered i/o streams that may or
may not work the same on different OSs or even shells. That means the
order of the lines in the resulting file is not guaranteed.
In practise it is "mostly" not an issue, but "we" still stumbled about
one test where different behaviour can be triggered depending on running
it in cmd.exe or bash (msys): test/asm/listing output of
010-paramcount.bin differs from the reference output when running the
test from cmd.exe.
The solution is most likely to have two reference files and not redirect
into one file.
This patch fixes the issue (cf. #1912 ) for the directory test/asm/.
2022-11-12 23:12:25 +01:00
mrdudz
a09053ce0b
make test work again also on linux. why did this not break the github actions?
2022-11-09 01:07:36 +01:00