157 Commits

Author SHA1 Message Date
Bob Andrews
3f3dc3d145 Merge pull request #2803 from kugelfuhr/kugelfuhr/fix-1162
Add a description for --memory-model to the docs
2025-07-16 00:56:36 +02:00
Kugel Fuhr
f86f602b9e Add a description for --memory-model to the docs. 2025-07-14 16:45:42 +02:00
Kugel Fuhr
170ddc6e33 Add a --warnings-as-errors option to cc65 for compatibility reasons. 2025-07-14 11:35:53 +02:00
mrdudz
cf89172cf7 attempt to explain the ISET* dilemma 2025-07-05 23:27:06 +02:00
mrdudz
70b54bdbe3 some missing target defines 2025-07-04 23:59:57 +02:00
mrdudz
6c6fcea71d docs braindump 2025-06-29 02:22:18 +02:00
mrdudz
6d7f37c4f2 update list of targets in the docs 2025-06-22 21:08:13 +02:00
Kugel Fuhr
adc9ddc280 Change the available options to -dM and -dP. The former prints user macros,
the latter predefined macros. Can be combined by using -dMP or -dPM.
2025-06-16 11:30:25 +02:00
Kugel Fuhr
b7a5ec86c5 Remove trailing spaces. 2025-06-12 22:09:53 +02:00
Kugel Fuhr
40aced6d6d Command line switches -dD and -Dm were swapped in the usage information. 2025-06-12 22:02:35 +02:00
Kugel Fuhr
a6b94ebba2 Implement -dD, -dM and -dN command line switches to output macro definitions. 2025-06-12 21:50:20 +02:00
Kugel Fuhr
ace81bd36a Add macros to check for CPU type and supported instruction set. 2025-06-12 14:42:38 +02:00
Gorilla Sapiens
f48fb03540 issue #2607, enable '\e' character escape for --standard cc65 2025-05-05 17:53:42 +00:00
Stefan
d993f3a766 Update cc65.sgml 2024-12-09 18:36:05 +01:00
Bob Andrews
4e2a3bde92 Merge pull request #2499 from kugelfuhr/kugelfuhr/disable-recursive-calls-to-main
Disallow recursive calls to main() in cc65 mode
2024-09-07 14:39:28 +02:00
Kugel Fuhr
cd4357057f The change from #2495 didn't take into account that recursive calls to main()
are legal in C. With the changes from #2495, such calls will usually crash the
machine. But recursive calls to main() are rare and on the 6502 every byte
saved is precious. So this change limits the effect of #2495 to cc65 mode and
at the same time disallows recursive calls to main() in this mode. If
recursive calls to main() are actually required, the code must be compiled in
c89 or c99 mode.
2024-09-02 10:39:42 +02:00
Kugel Fuhr
e2014611ef Improve the usage output for the '-W' option. 2024-09-02 07:02:41 +02:00
Kugel Fuhr
4008ec5814 Document the new #pragma names. 2024-09-01 10:23:10 +02:00
acqn
b66682a05b Fixed wrapped call when the function to wrap has already got defined before it is wrapped with the pragma. 2023-12-10 00:47:10 +08:00
acqn
21b6cbb66e Updated documentation on string literal translation in asm() and _Static_assert(). 2023-10-15 16:43:40 +08:00
mrdudz
bb92144717 changed "inline assembler statement" to "inline assembler expression" as suggested in #2191 2023-10-14 16:21:30 +02:00
Bob Andrews
05cd805cbc Merge pull request #2085 from bbbradsmith/numerical_constant_errors-float
Numerical constant errors and improvements (float)
2023-08-25 22:30:07 +02:00
Bob Andrews
9c27084fa5 Merge pull request #2084 from bbbradsmith/numerical_constant_errors-int
Numerical constant errors and improvements (integer)
2023-05-06 21:36:59 +02:00
bbbradsmith
e3887d7ead Test to demonstrate availability of floating point constants, document the possibility. 2023-05-03 16:48:02 -04:00
Bob Andrews
ae7a1416fe Revert "Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return"" 2023-05-03 20:02:12 +02:00
Bob Andrews
6ffc4004d7 Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return" 2023-05-03 14:24:13 +02:00
bbbradsmith
456fa9f963 cc65 document: both pass and return of structs are allowed 2023-05-03 05:36:37 -04:00
bbbradsmith
409235aee6 Optional warning for implicit constant conversion overflow 2023-05-02 22:27:28 -04:00
bbbradsmith
af11d4d947 Document that struct-param is default off since: 3129266 2023-05-02 19:21:21 -04:00
bbbradsmith
e7046a02ff Disallow pass/return of 3-byte struct (#2022), document capability added in #1102. 2023-05-02 19:00:34 -04:00
acqn
b93f9fbba4 Updated documents about the predefined macros. 2022-08-18 22:51:23 +08:00
mrdudz
1b73ffb8ae document changes to __CC65__ 2022-05-10 01:13:24 +02:00
Bob Andrews
58de94edd4 Merge pull request #1560 from empathicqubit/master
Add --debug-tables <filename> option and output struct fields
2022-03-20 20:27:15 +01:00
empathicqubit
49b4a57add Documentation 2022-02-20 12:40:32 +01:00
polluks
f7fa81b244 Fixed many typos 2022-02-03 01:01:10 +01:00
polluks2
1cdd4676b2 Fixed many typos 2021-12-14 13:13:16 +01:00
Wayne Parham
69e2313a63 First round of requested code changes 2021-06-06 23:20:54 +01:00
Greg King
5d198d6842 Fixed some URL links in a couple of documents. 2021-05-12 05:05:39 -04:00
Bob Andrews
82ee502f57 Merge branch 'master' into wrapped-call 2021-05-11 14:16:25 +02:00
mrdudz
ef8c70c7af use url instead of htmlurl, add note on least significant 8bits of the bank value 2021-05-11 13:36:30 +02:00
mrdudz
3ea330f15f update docs 2021-05-08 01:03:43 +02:00
mrdudz
729690e9e9 document the wrapped-call extension 2021-05-05 16:07:47 +02:00
Greg King
6bb1b6953f Documented the options to control cc65's warnings about induced pointer type changes. 2021-04-17 01:59:09 -04:00
Dirk Lehmann
eb1cf750f2 -W-unreachable-code option added, alphabetic order of --list-warnings 2021-04-13 09:37:55 +02:00
Oliver Schmidt
a861d84011 Fixed recent addition of __A__. 2021-01-06 16:09:55 +01:00
Piotr Kaczorowski
0884278ae3 Correction in documentation regarding __A__ pseudo variable 2021-01-06 16:05:04 +01:00
Piotr Kaczorowski
e3fa247012 Yet another fix typo in cc65.sgml 2021-01-06 16:05:04 +01:00
Piotr Kaczorowski
601e628343 Another fix typo in cc65.sgml 2021-01-06 16:05:04 +01:00
Piotr Kaczorowski
68e1faa2c8 Fix typo in cc65.sgml 2021-01-06 16:05:04 +01:00
Piotr Kaczorowski
9662469957 Return-type warning and pseudo variable __A__ documentation added. 2021-01-06 16:05:04 +01:00