1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00
Commit Graph

1388 Commits

Author SHA1 Message Date
Bob Andrews
a53524b9de
Merge pull request #2558 from polluks/cpp
Clean-up preprocessor syntax
2024-12-15 23:02:35 +01:00
Bob Andrews
bfbf5cd250
Merge pull request #2560 from binary-sequence-forks/master
Improve description of namespace access in ca65
2024-12-15 23:01:15 +01:00
Sergio Lindo Mansilla
17e7e669c9 Fix typo in ca65 doc 2024-12-15 15:29:38 +01:00
Sergio Lindo Mansilla
3933f329c2 Improve description of namespace access in ca65
This avoid confusion with referencing global scope with the namespace
token.
2024-12-15 15:08:32 +01:00
Stefan
d993f3a766
Update cc65.sgml 2024-12-09 18:36:05 +01:00
Bob Andrews
a55d328e78
Merge pull request #2549 from clydeshaffer/debuginfo_doc_port
Port Debug Info page from Wiki to Docs
2024-12-02 00:30:24 +01:00
Clyde Shaffer
3fdb1a516c small formatting fixes, and a section rename to get it to build 2024-11-30 16:56:25 -05:00
Clyde Shaffer
12f6340878 Add section to ld65 doc about debug info 2024-11-30 16:09:50 -05:00
Colin Leroy-Mira
700c01fa8b Rename dir_file_count to dir_entry_count 2024-11-15 19:25:40 +01:00
Colin Leroy-Mira
40d9f3eed5 Apple2: Provide a way to get directory file count
The information is available in the directory key block.
Providing it to the user as soon as opendir() is done
can save them costly code.
2024-11-15 19:25:40 +01:00
Sven Oliver Moll
41951a1345 updated customizing documentation
"weak = yes" is now "type = weak"
2024-09-26 19:33:26 +02:00
Stefan
033fd9e0dc
Update funcref.sgml 2024-09-07 17:19:21 +02: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
Stefan
bf2b522478
Added company name and warning 2024-08-10 15:12:34 +02:00
Oliver Schmidt
feb5026823
Added option to disable the force-to-uppercase behavior of the apple2 target. (#2474)
* Added option to disable the force-to-uppercase behavior of the apple2 target.

* Fixed dangling spaces.
2024-08-07 18:27:09 +02:00
Bob Andrews
1d1dd425c1
Merge pull request #2448 from Commodore64128/master
Commander X16 640x480 tgi loadable graphics driver
2024-07-12 12:40:43 +02:00
Bob Andrews
0541b65aa4
Merge pull request #2434 from colinleroy/strcasestr
Implement strcasestr
2024-06-22 15:00:17 +02:00
xlar54
ff5091202f docs 2024-06-13 21:00:40 -05:00
Bob Andrews
90723d7dd1
Merge pull request #2132 from vrubleg/ulabel
Add support of unnamed labels with @ (.localchar) prefix
2024-05-14 20:10:06 +02:00
Colin Leroy-Mira
793aa48a49 Add doc 2024-04-19 08:13:41 +02:00
bbbradsmith
8804dc7a58 give cl65 alternative 2024-04-16 16:56:13 -04:00
bbbradsmith
4bc726ebe2 clarify the meaning of the exit code unsigned limitation 2024-04-16 16:41:00 -04:00
bbbradsmith
fa1a426c29 add -t sim6502 to cc65 and ca65 examples 2024-04-16 14:06:45 -04:00
Evgeny Vrublevsky
270f3544b5 Document changes in unnamed labels. 2024-04-07 13:34:48 +03:00
bbbradsmith
89b709c7f8 make it clearer that explicit lib is required, note that exit is from stdlib.h, exit codes are unsigned, tweak "see below" for spacing, clarify that assembly can be used with C tests as well 2024-03-28 16:55:55 -04:00
bbbradsmith
79585194e6 provide simple examples for using sim65 with C and assembly code 2024-03-28 16:33:20 -04:00
Colin Leroy-Mira
3fd78208ba Disable IRQ if opening at 115200 bps 2024-02-19 19:31:47 +01:00
Colin Leroy-Mira
f0b5b02966 Swap in LC before destructors, ROM after 2024-01-24 12:28:57 +01:00
Colin Leroy-Mira
2ba176372e Add beep for apple2 2024-01-23 23:04:50 +01:00
Colin Leroy-Mira
166a4b25f7 Apple2: implement sleep using MONWAIT
Also publish detect_iigs(), set_iigs_speed() and get_iigs_speed(). Refactor to only store one ostype variable.
2024-01-18 16:17:10 +01:00
Bob Andrews
1e3b063b4a
Merge pull request #2320 from pm100/cl65_type
bug 2319 - dont allow -t after input files given
2024-01-08 21:59:21 +01:00
Colin Leroy-Mira
75461e1319 Apple2: implement stat(2) and statvfs(3) 2024-01-01 19:12:51 +01:00
paul moore
c262929a62 doc cl65 change 2023-12-31 10:14:53 -08:00
bbbradsmith
9892c8f6c4 using less generic names for the example to avoid confusion, adding cautionary example for what I think is the most error prone case 2023-12-17 05:40:00 -05:00
bbbradsmith
302c4f7409 clarify offsets of anonymous nested scope, missing quotes for names 2023-12-17 05:01:06 -05:00
bbbradsmith
0ff1b20f2a nested struct example needs a .tag 2023-12-16 19:52:57 -05:00
bbbradsmith
f6838be162 missing <tt> 2023-12-16 19:32:52 -05:00
bbbradsmith
6cb8717c24 fix dangling space, mention .union in test comment 2023-12-16 19:25:21 -05:00
bbbradsmith
0d74b84ce4 Test of .struct and .union features. Update documentation with more examples, better clarity, and fixes to incorrect data. 2023-12-16 19:18:25 -05: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
Bob Andrews
519a52d92c
Merge pull request #2209 from vrubleg/linecont
ca65: `.LINECONT` as a part of `.FEATURE`
2023-12-08 02:10:45 +01:00
Bob Andrews
7e6399d439
Merge pull request #2268 from picocomputer/master
add rp6502 target
2023-11-27 17:53:43 +01:00
Bob Andrews
e6c8f896b0
Merge pull request #2264 from ryandesign/patch-2
Fix typos; other copyediting
2023-11-26 22:06:06 +01:00
rumbledethumps
564c85235f style update and add rp6502 doc 2023-11-17 11:08:51 -08:00
Ryan Carsten Schmidt
e9e3cd969e
Fix typos; other copyediting 2023-11-14 00:57:07 -06:00
Ryan Carsten Schmidt
913ab3607f
Fix typo 2023-11-14 00:22:36 -06:00
Colin Leroy-Mira
d00a23feff Update Apple 2 serial documentation
Reflect the new support of SER_HS_NONE.
2023-11-12 15:16:47 +01:00