Commit Graph

695 Commits

Author SHA1 Message Date
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
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
Bob Andrews
2470851bfd Merge pull request #2703 from mrdudz/testbug2110
add test for #2110
2025-06-14 23:03:00 +02:00
mrdudz
7620e551ee add test 2025-06-14 22:40:29 +02:00
mrdudz
1ac8a51c58 added repro cases from #2172 as tests 2025-06-14 21:39:00 +02:00
Gorilla Sapiens
880322a5ae renamed test as requested. 2025-06-12 06:06:52 +00:00
Gorilla Sapiens
844596fd03 Merge branch 'master' into issue_2608 2025-06-12 05:59:27 +00:00
mrdudz
ccdc5b9fea massaged repro case from #2608 into a test 2025-06-11 20:50:04 +02:00
Gorilla Sapiens
51da666210 fixes #2608 2025-06-11 02:21:39 +00:00
Gorilla Sapiens
dd2f19260c added information to Makefile output 2025-06-04 03:03:18 +00: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
Kugel Fuhr
b5b7ea422e Make sure, the command line setting for the "Unreachable code" warning is
checked in all cases before outputting such a warning. Fixes #2655.
2025-05-21 11:04:21 +02:00
Colin Leroy-Mira
cfbfaa559c Add ZX02 and LZSA (1,2) decompressors 2025-05-13 21:26:47 +02:00
Bob Andrews
75d43ef88e Merge pull request #2636 from GorillaSapiens/issue_2607
issue #2607, enable '\e' character escape for --standard cc65
2025-05-06 01:47:23 +02:00
Gorilla Sapiens
f48fb03540 issue #2607, enable '\e' character escape for --standard cc65 2025-05-05 17:53:42 +00:00
Bob Andrews
4fb87d27dc Merge pull request #2610 from GorillaSapiens/c_6.4.4.4_test1
conform to 6.4.4.4 for hex and octal escapes
2025-05-05 17:14:01 +02:00
Bob Andrews
0742b68ea1 Merge pull request #2639 from GorillaSapiens/issue_2637
fixes issue #2637
2025-05-05 17:01:22 +02:00
Gorilla Sapiens
f13f2cb619 fixes issue #2637 2025-05-03 02:41:08 +00:00
Gorilla Sapiens
060522a740 issue #2633 print unambiguous success message 2025-05-02 05:43:14 +00:00
Gorilla Sapiens
6a17aedd81 conform to 6.4.4.4 for hex and octal escapes
fixes problem noted in #2610
2025-05-02 05:03:55 +00:00
Bob Andrews
d5cf8ef7ea Merge pull request #2587 from colinleroy/rewind-asm-and-fseek-paravirt
Rewrite rewind() in assembly,add lseek() to paravirt
2025-01-27 17:18:12 +01:00
Kugel Fuhr
1556c8ac7c Move the test from "todo" to "val" since it shouldn't fail any longer. 2025-01-05 17:04:31 +01:00
Colin Leroy-Mira
21345bd6da Fix headers 2025-01-01 14:32:07 +01:00
Colin Leroy-Mira
adfb42bfa6 Rewrite rewind in assembly 2025-01-01 14:32:07 +01:00
Colin Leroy-Mira
5531320b51 Fix test_fread return value on error 2025-01-01 14:32:07 +01:00
Colin Leroy-Mira
50cccc2c3a Add lseek to sim6502 paravirt 2025-01-01 14:32:03 +01:00
Sidney Cadot
178ab08fe2 Test to demonstrate issue #2566. 2024-12-20 21:47:01 +01:00
Bob Andrews
4dfbccfafd Merge pull request #2522 from kugelfuhr/kugelfuhr/code-optimizations
Improve generated code for AND/EOR/ORA
2024-10-05 15:03:46 +02:00
Bob Andrews
270aa4417b Merge pull request #2524 from kugelfuhr/kugelfuhr/fix-2523
Fix some issues with preprocessor expressions
2024-10-05 14:14:29 +02:00
Kugel Fuhr
9c69aac097 Fix some issues with signedness in preprocessor expressions. Do also disallow
comma expressions since the aren't compliant and collide with macro invocations.
2024-09-17 11:45:46 +02:00
Bob Andrews
16258d812b Merge pull request #2521 from kugelfuhr/kugelfuhr/fix-2520
Fix wrong evaluation of ternary expressions in the preprocessor
2024-09-15 19:24:22 +02:00
mrdudz
7dc09fdb05 add test related to bug#2515 / pr#2518 2024-09-15 19:22:16 +02:00
Kugel Fuhr
175ec65af1 Fix #2520. 2024-09-14 21:12:19 +02:00
Bob Andrews
e7c735ed8c Merge pull request #2513 from kugelfuhr/kugelfuhr/fix-2505
Remove casts from stdint.h
2024-09-14 01:38:46 +02:00
Kugel Fuhr
231ab4169b Added a test. 2024-09-13 19:30:38 +02:00
Kugel Fuhr
001fa05d48 Move the test to the test/standard directory. 2024-09-13 19:18:31 +02:00