Colin Leroy-Mira
20a9db757d
Optimize multiple incax* and incax*/ldaxi
...
- Group multiple calls to incax* and decax* into a single one
- Replace incaxN/jsr ldaxi with ldy #N+1/jsr ldaxidx
Fixes #2055
2025-07-06 20:37:01 +02:00
Colin Leroy-Mira
facf7b2a0c
Add basic test for incsp optimisation
2025-07-06 18:35:21 +02:00
Colin Leroy-Mira
fe86149203
Further optimize inc/decsp
...
The optimizer can now merge incsp+decsp together, and merge
jsr incsp/decsp + jmp incsp/decsp together. Drop the code
altogether if both instructions cancel each other out.
Fixes #2748
2025-07-06 13:30:33 +02:00
Bob Andrews
7ed1f0c7ea
Merge pull request #2766 from mrdudz/CommunityStandards
...
CoC draft
2025-07-04 17:05:52 +02:00
Bob Andrews
315d6c4ae3
Merge pull request #2768 from mrdudz/fix2764
...
disable the basic interrupt before main(), fixes #2764
2025-07-04 17:04:12 +02:00
Bob Andrews
b24560c083
Merge pull request #2759 from mrdudz/test1972
...
Fixed #1970 (Missing definition for ST on cbm610 with getdevice) (was #1972 )
2025-07-04 17:03:47 +02:00
Bob Andrews
fd973cd544
Merge pull request #2769 from colinleroy/add-strndup
...
Add strndup
2025-07-04 17:01:28 +02:00
Bob Andrews
14eae07a8c
Merge pull request #2770 from kugelfuhr/kugelfuhr/fix-1557
...
Add comments about cputs() relying on cputc() not to clobber ptr1
2025-07-04 16:57:04 +02:00
Kugel Fuhr
947eecb65c
Add comments to the cputs() and cputc() sources about the former relying on
...
the latter not to clobber ptr1.
2025-07-04 11:20:35 +02:00
Colin Leroy-Mira
90e1ac374b
Add strndup
...
char* __fastcall__ strndup (const char* S, size_t maxlen);
2025-07-03 23:46:28 +02:00
Colin Leroy-Mira
fcbc253bf9
Add strlen and strnlen unit tests
2025-07-03 23:43:04 +02:00
mrdudz
a19e00d304
disable the basic interrupt before main(), fixes #2764
2025-07-03 21:49:31 +02:00
Bob Andrews
29f7ab3809
Merge pull request #2760 from kugelfuhr/kugelfuhr/fix-2753
...
Add ".CAPABILITY" to ca65, remove ".MACPACK cpu"
2025-07-03 18:43:05 +02:00
Bob Andrews
dbb6ff5482
Merge pull request #2761 from kugelfuhr/kugelfuhr/fix-2231
...
Allow comments within _Pragma()
2025-07-03 18:36:43 +02:00
Bob Andrews
4edf1ad363
Merge pull request #2767 from kugelfuhr/kugelfuhr/fix-836
...
Remove invalid characters from labels in the VICE label file
2025-07-03 18:32:37 +02:00
Bob Andrews
9194d9e309
Update bug_report.md
2025-07-03 11:09:03 +02:00
Bob Andrews
ca329c975b
Update feature_request.md
...
cut down (a lot)
2025-07-03 09:46:43 +02:00
Bob Andrews
2c4b3a485e
Update bug_report.md
...
cut down
2025-07-03 09:44:57 +02:00
Bob Andrews
9240ad37ab
Update PULL_REQUEST_TEMPLATE.md
...
cut it down a lot
2025-07-03 09:39:29 +02:00
Kugel Fuhr
dd27ec8696
When creating a VICE label file, replace characters in labels that VICE
...
doesn't understand with '_'. Fixes #836 .
2025-07-03 08:54:10 +02:00
mrdudz
087edc336b
don't try to use multiple templates for the time being
2025-07-02 23:47:53 +02:00
cc65 Owner
7b26325632
Create bug_fix_template.md
2025-07-02 23:29:49 +02:00
cc65 Owner
b4d034bef7
Initial issue templates
...
These are basically the standard templates GH generated - they might help to automatically tag at least bugs vs features
2025-07-02 23:10:29 +02:00
mrdudz
5db0283571
CoC draft
2025-07-02 22:12:03 +02:00
Bob Andrews
807f02f3a3
Merge pull request #2765 from polluks/master
...
Fixed minor typos
2025-07-02 16:22:09 +02:00
Stefan
ce35a816a6
Fixed minor typo
2025-07-02 15:59:38 +02:00
Stefan
75d6efeabf
Fixed minor typo
2025-07-02 15:54:00 +02:00
Stefan
73fa13a23e
Fixed minor typo
2025-07-02 15:51:43 +02:00
Stefan
a820538c2a
Fixed minor typo
2025-07-02 15:50:29 +02:00
Bob Andrews
92fa7cb23f
Merge pull request #2762 from kugelfuhr/kugelfuhr/fix-1778
...
Change notification message used when pointing to the macro an error comes from
2025-07-02 00:35:24 +02:00
Bob Andrews
9151c9b5ff
Merge pull request #2763 from kugelfuhr/kugelfuhr/fix-534
...
Make the scrcode macros handle identifiers
2025-07-01 21:38:05 +02:00
Kugel Fuhr
070276a1a3
Add a better description for CPU_HAS_ZPIND and CPU_HAS_STZ.
2025-07-01 20:19:19 +02:00
Kugel Fuhr
12bc6ff99e
Make the scrcode macros handle identifiers.
2025-07-01 20:14:34 +02:00
Kugel Fuhr
b65ee13e8c
Fix the tests.
2025-07-01 17:46:39 +02:00
Kugel Fuhr
ec67b49d7d
Change notification message used when pointing to the macro an error comes from.
2025-07-01 17:37:39 +02:00
Kugel Fuhr
64d35b6a86
Allow comments within _Pragma(). Fixes #2231 .
2025-07-01 17:24:24 +02: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
37414199c7
Hopefully fix windows build files.
2025-07-01 09:33:38 +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
59e7158512
Make the CPU_xxx constants from cpu.mac internal to the assembler and replace
...
cpu.mac by a file that just emits a warning when used.
2025-07-01 08:29:42 +02:00
Kugel Fuhr
c72126e68f
Changed most of the library sources to use .CAP instead of .CPU.
2025-07-01 08:04:00 +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
Kugel Fuhr
a4a24280f2
Do only check .c and .h files.
2025-06-30 20:50:30 +02:00
mrdudz
81da8b2107
fix getdevice
2025-06-30 20:34:59 +02:00
mrdudz
aa41d51825
add enumdevdir to cbm2 samples
2025-06-30 19:11:13 +02:00
mrdudz
d91f4f0b82
adjust c65/mega65 functions
2025-06-30 19:10:52 +02:00
mrdudz
26cf19642c
initial patch from #1972
2025-06-30 18:39:33 +02:00