Commit Graph

462 Commits

Author SHA1 Message Date
Bob Andrews
7c6efded1c Merge pull request #2782 from kugelfuhr/kugelfuhr/use-static-inline
Use "static inline" instead of macros in the source
2025-07-07 23:25:11 +02:00
Kugel Fuhr
9be9003e9a Removed the inline.h module and removed the use of macros instead of "static
inline".
2025-07-07 11:23:12 +02:00
SlithyMatt
8c9e45ee85 #2772 - Fixed default CPU for CX16 2025-07-05 09:57:05 -04:00
Kugel Fuhr
60ec9045fc Use CPUIsets from cpu.c instead of recreating the CPU_xxx constants. 2025-07-01 13:02:15 +02:00
Kugel Fuhr
c162f6a286 Warning fix. 2025-07-01 09:21:18 +02:00
Kugel Fuhr
8d3112e24f Small code simplification. 2025-07-01 08:47:16 +02:00
Kugel Fuhr
29c8846f7d Add an additional hook (currently unused) for target specific capabilities. 2025-07-01 08:44:13 +02:00
Kugel Fuhr
f333b300f1 Added the CPU_HAS_BITIMM capability. 2025-07-01 07:16:33 +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
dd0d908d57 65816 does not have Rockwell extensions 2025-06-29 17:21:22 +02:00
mrdudz
629252c562 its CSG extensions, not GTE 2025-06-29 01:51:10 +02:00
mrdudz
bf1dbc54fc fix instruction bitfields. 65CE02 derivates can not use 65SC02, because of the zp-ind-z clash 2025-06-28 18:17:13 +02:00
mrdudz
b05e418e0b rp6502 actually uses W65C02 2025-06-28 01:45:26 +02:00
mrdudz
d472ac8fc0 fix table 2025-06-28 01:44:40 +02:00
mrdudz
76aa7cbc40 add names and bit(field)s for WDC65C02 and 65CE02 2025-06-27 19:40:41 +02:00
mrdudz
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) 2025-06-24 21:39:39 +02:00
mrdudz
8615c244d9 add initial target for mega65, also added c65 where missing. reworked from #1792 2025-06-22 21:07:38 +02:00
mrdudz
9344d87b05 part of #1792 - 48GS02 assembler support 2025-06-21 00:56:34 +02:00
Bob Andrews
b29b50d363 Merge pull request #2701 from colinleroy/fix-tmp-files-again-again
Make sure pid and counter don't interfere
2025-06-14 18:48:39 +02:00
Colin Leroy-Mira
e3f9a5f052 Make sure pid and counter don't interfere 2025-06-14 13:02:28 +02:00
Bob Andrews
647a79bb2f Merge branch 'master' into checksorted 2025-06-14 02:16:34 +02:00
Bob Andrews
89651fd8bd Merge pull request #2699 from colinleroy/fix-temp-files-again
Fix temporary filenames again.
2025-06-13 20:44:28 +02:00
Colin Leroy-Mira
215f51a230 Fix temporary filenames again.
Outputting temp files in the output directory means we have
to distinguish source files in different source directories
that happen to have the same name.
2025-06-13 20:26:00 +02:00
Bob Andrews
b9eeec0c51 Merge pull request #2677 from sintech/agat-support
Agat support
2025-06-13 17:59:40 +02:00
Bob Andrews
f191272feb Merge branch 'master' into checksorted 2025-06-12 23:33:12 +02:00
Colin Leroy-Mira
ffd667c2c9 Fix temporary file name creation.
Use the original name as template for readability in
the map file, and use the process PID instead of platform-dependant
or deprecated random filename functions to make unique temporary
filenames. Also, create these temporary files in the output
directory.
2025-06-12 18:00:10 +02:00
mrdudz
aaa1058d32 use explicit markers (comments) for the bsearch table checking, simplifies the scripts and makes them more robust too :) 2025-06-09 21:48:20 +02:00
mrdudz
ba80de5efc fix bsearch tables that must be sorted, add comment to all tables that must be sorted 2025-06-09 17:58:58 +02:00
Konstantin
cbf1b1d5a7 Updated translation table 2025-06-07 14:00:10 +03:00
Konstantin
de524a6561 Initial Agat support 2025-06-04 22:51:17 +03:00
Gorilla Sapiens
9ae0eaafcc fixed inaccurate comment 2025-05-27 14:13:52 +00:00
Gorilla Sapiens
a1139aa6b8 removed dangling space 2025-05-27 06:31:54 +00:00
Gorilla Sapiens
ca8b072608 fixed another pedantic github build problem 2025-05-27 06:30:12 +00:00
Gorilla Sapiens
9a2f754e8d fixes problems found by github autobuild 2025-05-27 06:18:24 +00:00
Gorilla Sapiens
e451134e23 fixes issue #2446 2025-05-27 05:03:17 +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
7297d2c8b6 Merge pull request #2310 from pm100/vs64
second try at fixing win64 build
2023-12-31 18:54:23 +01:00
paul moore
08341aae30 second try at fixing win64 build 2023-12-14 14:25:35 -08:00
mrdudz
b1c1502494 MS compiler insists on those typecasts apparently 2023-12-11 00:35:07 +01:00
mrdudz
9985ee7f61 fix %hhn and %hn in the internal xvsnprintf function 2023-12-11 00:18:40 +01:00
rumbledethumps
b17c4d3434 add rp6502 target 2023-11-16 18:46:16 -08:00
Spiro Trikaliotis
727b3288d6 Remove .exe from file output
Whenever a tool like ld65 wants to output its name into a log file, it
uses the name of command-line parameter 0. However, this parameter also
includes the .exe suffix if it is on Windows.

This patch removes the .exe suffix, so that the output is clean and
consistent across platforms.

This fixes #1990.
2023-02-17 17:22:55 +01:00
Rutger van Bergen
ae23e47eb5 Merge branch 'cc65:master' into master 2022-12-26 13:57:10 +01:00
mrdudz
15eb1c5f5e support the msvc specific I64 specifier in our sprintf 2022-11-28 06:26:14 +01:00
Silver Dream !
2dcccae036 Updated ATTR_UNUSED() for clang 2022-11-06 11:27:08 +00:00
mrdudz
5d1ad05cb8 oops 2022-11-05 20:48:53 +01:00
mrdudz
1452d8164d add ATTR_UNUSED and ATTR_NORETURN 2022-11-05 20:37:41 +01:00
Rutger van Bergen
cb8cb876ec Add documentation, make capitalization uniform 2022-09-19 19:56:57 +02:00
Dave Plummer
799aec23a6 Add KIM-1 Support 2022-06-04 13:00:48 -07:00
Greg King
93e94c8dea Fixed a multi-line comment.
The left border is thicker in cc65 than it is in VICE.
2022-05-18 05:09:48 -04:00