8615c244d9add initial target for mega65, also added c65 where missing. reworked from #1792
mrdudz
2025-06-22 21:07:38 +02:00
a7af49a763Merge branch 'master' into c_sp
Gorilla Sapiens
2025-06-22 19:02:24 +00:00
e949fbdbbfUnify CPU list in the docs.
Kugel Fuhr
2025-06-22 20:32:55 +02:00
7d231d60a6Minor corrections after looking at the diff.
Kugel Fuhr
2025-06-22 12:15:33 +02:00
b9a703749cReplace 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
7573272836Merge pull request #2724 from mrdudz/mega65asm
Bob Andrews
2025-06-22 17:36:36 +02:00
7854a53434When 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
1d7bc938f2add roundtrip disasm tests for all cpus
mrdudz
2025-06-22 01:18:41 +02:00
233c784c03fix aslq in the disassembler
mrdudz
2025-06-22 01:16:03 +02:00
c75d1dd7dfupdate docs with some more info about the various cpu modes
mrdudz
2025-06-19 22:42:36 +02:00
02e79d35d7no need to fix the assembler, but making da65 produce the same mnemonics ans ca65 uses seems like a good idea :)
mrdudz
2025-06-19 21:44:14 +02:00
ec0595ad28Remove useless code
Colin Leroy-Mira
2025-06-19 19:51:22 +02:00
8d763abe92Add notes on TGI_COLOR_BLACK and TGI_COLOR_WHITE
mrdudz
2025-06-19 19:58:36 +02:00
1f23fc6ba8Merge pull request #2716 from kugelfuhr/kugelfuhr/fix-2649
Bob Andrews
2025-06-19 19:33:17 +02:00
758bdaa4adFixed a typo in the test source.
Kugel Fuhr
2025-06-19 17:59:30 +02:00
54f63a0cdcFix 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.
Kugel Fuhr
2025-06-19 09:11:30 +02:00
d34b36c6e5add test that checks all opcodes per current cpu flags
mrdudz
2025-06-19 01:33:31 +02:00
2be28d2d64add some comments
mrdudz
2025-06-19 01:32:43 +02:00
8d407c7b17Fix#2649. When generating labels for "skip" sections, GetGranularity() is called which wouldn't handle this type.
Kugel Fuhr
2025-06-16 07:49:22 +02:00
0b74ae8c2dadd m740 to macpack cpu, add .ifpm740, add regression test for those
mrdudz
2025-06-16 21:59:38 +02:00
20e7c54fa3more m740 fixes, makes the regression test work
mrdudz
2025-06-16 20:32:54 +02:00
2184ba80c7make <bit> part of the instruction, like in the huc6280
mrdudz
2025-06-16 17:39:23 +02:00
e4b610994cFix#2694. Also reformatting of long comments and refactoring of a small piece of code.
Kugel Fuhr
2025-06-16 16:01:56 +02:00
adc9ddc280Change the available options to -dM and -dP. The former prints user macros, the latter predefined macros. Can be combined by using -dMP or -dPM.
Kugel Fuhr
2025-06-16 11:16:13 +02:00
c0a0ba1483added reporting of fatal/error/warning/note location generation with "-d"
Gorilla Sapiens
2025-06-16 02:46:10 +00:00
ef33c4b71dfix script to deal with more than 9 tables
mrdudz
2025-06-16 01:35:23 +02:00
7b12962eecfix m740, survives disasm/asm roundtrip now, still needs some work though
mrdudz
2025-06-16 01:17:36 +02:00
24b7d1fec7Make use of dynamic box drawing
Oliver
2025-06-15 20:01:16 +02:00
990d65e4e4Apple2: Setup IRQ/RST vectors in LC if needed
Colin Leroy-Mira
2025-06-12 08:51:55 +02:00