Commit Graph

11998 Commits

Author SHA1 Message Date
Colin Leroy-Mira
9390e5c2ce Apple2: factorize MLI pathname setting (up to -22 bytes) 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
850accee3a Apple2: -8 bytes on rename 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
280f296952 Apple2: mutualize mli filename push (-0 to -18 bytes) 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
3b8531a422 Apple2: -5 bytes on open() 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
707e317bb8 Apple2: spare 10 bytes on I/O 2025-11-02 21:24:59 +01:00
Colin Leroy-Mira
25c1223f02 Apple2: spare 2 bytes on read 2025-11-02 21:24:59 +01:00
Oliver
759884ddd4 Allow to backspace with 'Delete' (and some optimization) 2025-11-02 20:52:50 +01:00
Bob Andrews
778bc5bc22 Merge pull request #2843 from colinleroy/warn-about-fill-bytes
Emit warnings for wasted bytes when aligning
2025-11-02 18:14:27 +01:00
Bob Andrews
a88d7abd3f Merge pull request #2851 from kugelfuhr/kugelfuhr/fix-2850
Fix "constant expression expected" when using .CPU_ISET_xxx with no target system set
2025-11-01 16:36:39 +01:00
Kugel Fuhr
b4dc41c653 CPU constants must always be defined, not only if a target system was given. 2025-11-01 15:37:57 +01:00
Colin Leroy-Mira
2220c6ec8d Add --warn-align-waste option to ca65, ld65, cl65 2025-10-26 16:06:08 +01:00
Colin Leroy-Mira
28442e60b8 Emit warnings for wasted bytes when aligning 2025-10-19 15:00:13 +02:00
Bob Andrews
84bcd53c45 Merge pull request #2840 from polluks/patch-14
Fixed typos
2025-10-13 20:52:17 +02:00
Stefan
82dbc828af Fixed typos 2025-10-10 15:01:33 +02:00
Bob Andrews
c2556bb5e2 Merge pull request #1358 from dmsc/issue-479
Fixes Issue 479 (ca65: can't reference .proc members before declaration)
2025-10-05 15:39:56 +02:00
Bob Andrews
362e20b4d0 Merge pull request #2839 from danielg4/master
Fix uncatalogued name clash with libsrc/runtime/leave.s
2025-09-30 16:40:18 +02:00
Daniel Gimpelevich
6be0731247 Fix uncatalogued name clash with libsrc/runtime/leave.s
Even though these labels are not exported, they can show up in linker
maps and thus break o65 modules.
2025-09-29 18:22:53 -07:00
Bob Andrews
93c1b659ee Merge pull request #2824 from GrosChien/master
ca65 Fixing segfault when using `--expend-macros` without `--listing`
2025-09-22 21:18:39 +02:00
Bob Andrews
8ec38c38d5 Merge pull request #2827 from polluks/master
Fixed minor typo
2025-09-22 21:17:10 +02:00
Bob Andrews
ca7335023f Merge pull request #2834 from polluks/patch-12
Fixed overflow
2025-09-22 21:06:41 +02:00
Bob Andrews
4383841f24 Merge pull request #2833 from polluks/patch-10
Fixed typo
2025-09-22 21:03:56 +02:00
Bob Andrews
fae2d5511f Merge branch 'master' into patch-10 2025-09-22 21:03:18 +02:00
Bob Andrews
732c0c09f8 Merge pull request #2832 from polluks/patch-9
Fixed typos
2025-09-22 21:01:29 +02:00
Bob Andrews
9aab9e93aa Merge pull request #2829 from kugelfuhr/kugelfuhr/fix-2826
Fix hardcoded upper limit of ld65 input files
2025-09-22 21:00:43 +02:00
Stefan
9601b11a9c inplicit length 2025-09-18 11:10:41 +02:00
Stefan
5e89953bf9 Fixed overflow 2025-09-17 15:03:55 +02:00
Stefan
089f8f1425 Fixed typo 2025-09-14 22:36:31 +02:00
Stefan
1ef3f88f0a Fixed typos 2025-09-14 22:30:24 +02:00
Kugel Fuhr
0dc484f5a7 Fix hardcoded upper limit of input files. 2025-09-08 20:51:27 +02:00
Stefan
613e752051 Fixed minor typo 2025-09-05 09:58:36 +02:00
Gros chien
ee096d27df Fix segfault when using -x without -l 2025-08-26 23:45:39 +02:00
Colin Leroy-Mira
357f64e4e3 Address Oliver's comments 2025-08-26 15:11:15 +02:00
Colin Leroy-Mira
86bcf32580 Apple2: Add file_set_type() and file_set_auxtype()
MLI wrapper to be able to update existing ProDOS
files' type and auxtype.
2025-08-26 15:11:15 +02:00
Joshua Bell
ce20b6aa48 Explain the expected failures in 311 2025-08-22 09:57:45 -07:00
Joshua Bell
873361ba83 Show used values in listing 2025-08-22 09:49:04 -07:00
Joshua Bell
f18de5bc73 Remove accidentally included file 2025-08-22 09:37:23 -07:00
Joshua Bell
939276669f Tests for scopes and issue #479 / PR #1358 2025-08-21 10:07:54 -07:00
Daniel Serpell
2454ab831c When creating a new scope for a forwarded symbol, do not open it.
This fixes las example in the PR.
2025-08-17 20:24:08 -04:00
Daniel Serpell
acc26c0e7b When the scope is not found on ancestors, create on current scope.
This solves comment https://github.com/cc65/cc65/pull/1358#issuecomment-3193961949
2025-08-16 22:28:32 -04:00
Daniel Serpell
2323f46a54 Only search a symbol in parent scopes if not already scoped.
This fixes the case at: https://github.com/cc65/cc65/pull/1358#issuecomment-747194906
2025-08-16 17:29:12 -04:00
Daniel Serpell
76e31e5b75 Document usage of scope before definitions.
Note that before the last commit, the example did not assemble.
2025-08-16 11:17:43 -04:00
Daniel Serpell
5b70654289 Allows referencing a scope not yet created.
Use the "::" syntax at the start of the symbol to force creating
a scope if it does not exists yet.

Fixes issue #479.
2025-08-16 11:17:35 -04:00
mrdudz
6efe447d14 add some strategic git ignores, should satisfy #2818 2025-07-27 17:29:59 +02:00
Bob Andrews
5197c56c7c Merge pull request #2794 from mrdudz/fixgrc
Fixgrc
2025-07-27 00:23:02 +02:00
Bob Andrews
d06e0d9a16 Merge pull request #2812 from colinleroy/Opt-ldptr1
Optimize ldax?sp/sta/stx to ldptr1?sp
2025-07-27 00:22:21 +02:00
Bob Andrews
17c8e2154b Merge pull request #2811 from colinleroy/OptTosLoadPop
Optimize jsr ldax0sp/incsp2
2025-07-27 00:21:50 +02:00
Colin Leroy-Mira
1f6cca2140 Coding style 2025-07-27 00:02:48 +02:00
Colin Leroy-Mira
a0b705fd41 Remove code after inserting new one 2025-07-27 00:02:48 +02:00
Colin Leroy-Mira
0647cb1112 Merge jsr pushax/j?? popax into nothing or RTS 2025-07-27 00:02:48 +02:00
Colin Leroy-Mira
4c2cc24e77 Optimize jsr ldax0sp/incsp2 2025-07-27 00:02:18 +02:00