1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
Commit Graph

11069 Commits

Author SHA1 Message Date
Sven Michael Klose
9558ebad62 Add test for stpcpy(). 2024-07-15 17:35:28 +02:00
Sven Michael Klose
af3ac42373 Move stpcpy() to non-standard section. 2024-07-07 19:48:44 +02:00
Sven Michael Klose
581b79e0b9 Add stpcpy().
Like strcpy() but returning pointer to ending zero of copied string.
2024-07-07 14:04:49 +02:00
Bob Andrews
0541b65aa4
Merge pull request #2434 from colinleroy/strcasestr
Implement strcasestr
2024-06-22 15:00:17 +02:00
Bob Andrews
db178e55fe
Merge pull request #2450 from ops/plus4-c16-asm
Add asm config for C16 and Plus/4
2024-06-16 19:06:51 +02:00
Olli Savia
4989ce485c Build hello-asm.s on C16 & Plus/4 2024-06-16 19:15:54 +03:00
Olli Savia
64cfb322cc Added asm configs for C16 & Plus/4 2024-06-16 19:14:24 +03:00
Bob Andrews
35d638cb09
Merge pull request #2447 from ops/helloworld
Add sample assembly program for Commodore machines
2024-06-16 16:05:54 +02:00
Olli Savia
a1ca451e69 Renamed: hello.s -> hello-asm.s 2024-06-16 09:35:44 +03:00
Olli Savia
5976e3b85d Add sample assembly program for Commodore machines 2024-06-13 16:22:42 +03:00
mrdudz
2c4d4d3314 add -j2 to make test invocations 2024-05-16 18:57:29 +02:00
mrdudz
86e5acd679 fix race condition as proposed in #2420 2024-05-16 18:57:08 +02:00
Bob Andrews
84153e809e
Merge pull request #2438 from ops/exehdr
Add missing EXEHDR
2024-05-15 14:11:08 +02: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
Bob Andrews
b1e1c13d4b
Merge pull request #2437 from bbbradsmith/sim65-examples
provide simple examples for using sim65 with C and assembly code
2024-04-25 23:52:08 +02:00
Colin Leroy-Mira
793aa48a49 Add doc 2024-04-19 08:13:41 +02:00
Colin Leroy-Mira
a823d90082 Separated versions 2024-04-19 07:57:47 +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
f789316f86 Add a test for the unnamed labels. 2024-04-07 13:34:49 +03:00
Evgeny Vrublevsky
270f3544b5 Document changes in unnamed labels. 2024-04-07 13:34:48 +03:00
Evgeny Vrublevsky
c500cb9086 Add support of unnamed labels with @ (.localchar) prefix. 2024-04-07 13:34:48 +03:00
Olli Savia
074ec82126 Added missing EXEHDR 2024-04-02 19:25:15 +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
71d82ab5d9 Use common naming scheme for tolowerdirect 2024-03-22 17:19:26 +01:00
Colin Leroy-Mira
0c681b42ef Factorize to save 20 bytes 2024-03-19 18:07:17 +01:00
Colin Leroy-Mira
b5d259bafb Implement strcasestr as part of strstr 2024-03-18 19:52:04 +01:00
Colin Leroy-Mira
82165c1a77 Implement strcasestr 2024-03-18 19:51:50 +01:00
mrdudz
b993d88339 second half of #2420 - don't use the loop macro. Fixes -j13 for me 2024-03-17 17:19:42 +01:00
Bob Andrews
25967e65b5
Merge pull request #2424 from acqn/Cleanup
[cc65] Cleanups in src/cc65/declare.c
2024-03-10 02:39:14 +01:00
Bob Andrews
a372ead4de
Merge pull request #2334 from carlo-bramini/fix-sim65-1
[SIM65] Support undocumented opcodes for 6502
2024-03-10 00:37:18 +01:00
Bob Andrews
081d18f7d7
Merge pull request #2422 from acqn/SubFix
[cc65] Fixed potential errors with subtraction evaluation of identifiers at different memory locations
2024-03-09 13:02:27 +01:00
Bob Andrews
a293920fb3
Merge pull request #2423 from acqn/BitfieldFix
[cc65] Fixed the error recovery integer type used for bit-fields
2024-03-09 12:05:20 +01:00
Bob Andrews
60c75bdb54
Merge pull request #2414 from SvenMichaelKlose/master
vic-asm.cfg: Fix size of MAIN to end at $1E00.
2024-03-09 12:00:42 +01:00
Sven Michael Klose
1fe12f112e
Merge branch 'cc65:master' into master 2024-03-08 17:41:06 +01:00
Sven Michael Klose
a887b29ffb Revert "Test strtok()."
This reverts commit 3a7bd53956.
2024-03-05 07:04:59 +01:00
acqn
731f349b24 Removed ParamTypeCvt(). 2024-02-29 18:24:22 +08:00
acqn
98767741ce Reorganized stuff in src/cc65/declare.c. 2024-02-29 18:24:22 +08:00
acqn
9b2d27d1e1 Fixed the error recovery integer type used for bit-fields. 2024-02-29 18:23:04 +08:00
acqn
23aa562094 Fixed potential errors with subtraction evaluation of identifiers at different memory locations. 2024-02-24 15:34:38 +08:00
Bob Andrews
5c3ff714ae
Merge pull request #2415 from polluks/patch-13
[grc65] Fixed segv of empty resource file
2024-02-23 16:16:46 +01:00
Colin Leroy-Mira
86317711e0 IIgs SCC: Rework branches to X-indexed variables
and general cleanup/commenting
2024-02-23 01:20:47 +01:00
Colin Leroy-Mira
8b71fafb84 IIgs SCC: Allow choosing 115200bps as the card allows it
Of course, that won't work full speed with the standard
IRQ-based RX. But that will allow users to setup the port
at this speed without duplicating the setup part of the
code. Up to them to add hooks to disable IRQs and read
directly in a tight asm loop.
2024-02-23 01:20:47 +01:00
Colin Leroy-Mira
3fd78208ba Disable IRQ if opening at 115200 bps 2024-02-19 19:31:47 +01:00
Colin Leroy-Mira
7a12399b39 Allow choosing 115200bps as the card allows it
Of course, that won't work full speed with the
standard IRQ-based RX. But that will allow users
to setup the port at this speed without duplicating
the setup part of the code. Up to them to add hooks
to disable IRQs and read directly in a tight asm
loop.
2024-02-19 19:31:47 +01:00
Sven Michael Klose
294b034920 Add configuration files for expanded VICs. 2024-02-15 17:32:44 +01:00
Stefan
ab0eb4fe58
oops 2024-02-15 09:03:46 +01:00
Stefan
8d4946b3f4
Fixed segv
touch /tmp/xx
grc65 /tmp/xx
2024-02-15 07:52:42 +01:00