cc6813428c
fix the fix
mrdudz
2025-06-26 21:00:20 +02:00
46770bbb63
another for cmd.exe
mrdudz
2025-06-26 20:53:10 +02:00
70f9723a89
dumb down for cmd.exe
mrdudz
2025-06-26 20:42:15 +02:00
afe395e970
fix -s vs QUIET in testtarget
mrdudz
2025-06-26 20:15:28 +02:00
7a85575158
fix handling of QUIET in the "test" directory
mrdudz
2025-06-26 19:48:16 +02:00
73869a6f38
make propagating QUIET=1 down actually work, also set --no-print-directory depending on QUIET
mrdudz
2025-06-26 19:45:52 +02:00
75aa45d41e
when -s was used, implicitly use QUIET=1. also explicitly propagate QUIET to submakefile(s)
mrdudz
2025-06-26 18:42:01 +02:00
4f5fc898d7
someone accidently checked this in, i guess
mrdudz
2025-06-26 18:40:32 +02:00
bc9ebfb077
Update ppubuf.s - fix ppu ringbuffer size as suggested in #1703
Bob Andrews
2025-06-26 16:05:12 +02:00
c5fccb2c7e
Merge pull request #2742 from kugelfuhr/kugelfuhr/sp-backwards-compat
Bob Andrews
2025-06-26 15:43:54 +02:00
d5e7c94eb2
Introduce an optimization for (header) files containing include guards: If such an include guard exists, the file is not read and parsed multiple times (as before) but duplicate inclusion is detected before opening the file and the additional overhead is avoided.
Kugel Fuhr
2025-06-26 10:10:11 +02:00
e2a39d076d
Renamed the assembler test.
Kugel Fuhr
2025-06-26 09:00:03 +02:00
399f5aaab7
Check that there are no library modules that use the old "sp" symbol instead of "c_sp".
Kugel Fuhr
2025-06-26 08:23:51 +02:00
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.
Kugel Fuhr
2025-06-26 07:40:04 +02:00
fa81f14cbf
Add an explicit "exit 0" to the shell scripts. This worked more or less by coincidence before since shell scripts return the exit code of the last command run if there is no explicit exit statement.
Kugel Fuhr
2025-06-25 20:34:41 +02:00
55d9b2dbd0
Rewrite the optimization step from c0a1b1b887 to remove compares not only before RTS but also befoire function calls that don't use the flags but destroy all of them. The latter is currently the case for all functions called. This way the optimization covers a lot more cases than just checking for RTS.
Kugel Fuhr
2025-06-25 20:07:36 +02:00
1feeee9ce0
Do only check .c and .h files.
Kugel Fuhr
2025-06-25 09:37:58 +02:00
1e209b1f15
forgot, need sleep
mrdudz
2025-06-25 05:14:26 +02:00
4db5ac6c14
SCREEN_PTR does only contain the offset apparently (unlike on other cbm systems), so we need extra handling
mrdudz
2025-06-25 05:13:09 +02:00
f787e0857a
remove non existing kernal export
mrdudz
2025-06-24 21:52:48 +02:00
faa287f578
enable building library and samples
mrdudz
2025-06-24 21:40:59 +02:00
d6cc893940
fix instruction set bits set by the compiler. in particular do not set the 65SC02 bit for 4510/45GS02, else we get clashes with sta(zp)
mrdudz
2025-06-24 21:39:39 +02:00
d374ea2cde
include target header to allow lib to build
mrdudz
2025-06-24 21:30:53 +02:00
450c8f7c55
startup code and minimalist kernal support for c65 and mega65
mrdudz
2025-06-24 21:23:04 +02:00
bfb16888d1
simple linker config for c65 and mega65
mrdudz
2025-06-24 21:20:31 +02:00
7a6c60ade4
Do also sort variables to satisfy sorted_codeopt.sh.
Kugel Fuhr
2025-06-24 20:21:43 +02:00
681b49a111
initial target header files for c65 and mega65
mrdudz
2025-06-24 19:55:28 +02:00
7be14a951c
initial asm includes for c65 and mega65
mrdudz
2025-06-24 19:33:49 +02:00
c0a1b1b887
Add an optimization step that removes compare instructions preceeding an RTS. Since nothing is passed back in the flags, these instructions have no effect. Fixes#2025.
Kugel Fuhr
2025-06-24 18:02:24 +02:00
4c81eacefe
Added -d/--debug and -m/--multi-pass switches to the disassembler. The latter will make the disassembler run multiple preparation passes to find all addresses where labels must be placed. Without -m some label addresses are found in the final pass, where the disassembler cannot make use of them.
Kugel Fuhr
2025-06-20 13:00:12 +02:00
c520455b2b
Merge pull request #2729 from kugelfuhr/kugelfuhr/fix-2208
Bob Andrews
2025-06-23 14:22:22 +02:00
c20461d213
Merge pull request #2722 from kugelfuhr/kugelfuhr/da65-cleanup
Bob Andrews
2025-06-23 14:18:18 +02:00
c832af8a71
Merge pull request #2710 from kugelfuhr/kugelfuhr/fix-2694
Bob Andrews
2025-06-23 14:17:55 +02:00
49713f73e0
Output relative branch targets as "*-30" instead of "* + (-30)".
Kugel Fuhr
2025-06-20 08:13:12 +02:00
540a6a7658
Merge pull request #2728 from kugelfuhr/kugelfuhr/da65-improvements
Bob Andrews
2025-06-23 13:47:23 +02:00
2e7ee0f105
Merge pull request #2711 from mrdudz/plus4tgi
Bob Andrews
2025-06-23 13:40:41 +02:00
46be7778cd
Merge pull request #2730 from mrdudz/mega65target
Bob Andrews
2025-06-23 13:34:47 +02:00
034fc93c75
enable 4510/45GS02 in the compiler - however, the resulting asm files cant be assembled because of sp vs c_sp clash
mrdudz
2025-06-23 13:23:23 +02:00
e949fbdbbf
Unify CPU list in the docs.
Kugel Fuhr
2025-06-22 20:32:55 +02:00
7d231d60a6
Minor corrections after looking at the diff.
Kugel Fuhr
2025-06-22 12:15:33 +02:00
b9a703749c
Replace all tables by hash tables. This allows to remove the ugly special casing of "long addresses" and prepares the code base for use with the full address range of the 65816. Use fixed size data types for addresses and target data words of known size. Many other minor improvements.
Kugel Fuhr
2025-06-22 11:50:47 +02:00
7573272836
Merge pull request #2724 from mrdudz/mega65asm
Bob Andrews
2025-06-22 17:36:36 +02:00
7854a53434
When studying expressions and recalculating the address size for a symbol expression, use the symbol address size only if it is smaller than the one that was calculated.
Kugel Fuhr
2025-06-18 11:53:44 +02:00
1d7bc938f2
add roundtrip disasm tests for all cpus
mrdudz
2025-06-22 01:18:41 +02:00
233c784c03
fix aslq in the disassembler
mrdudz
2025-06-22 01:16:03 +02:00