1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
Commit Graph

10468 Commits

Author SHA1 Message Date
Bob Andrews
302d6ee4a4
Merge pull request #2001 from bbbradsmith/ca65_long_jsr_jmp_rts
ca65 jsr/jmp/rts will not promote to jsl/jml/rtl by default, new feature long_jsr_jmp_rts to re-enable this ability
2023-02-24 19:34:37 +01:00
Bob Andrews
12fc59351e
Merge branch 'master' into ca65_long_jsr_jmp_rts 2023-02-24 19:25:32 +01:00
Bob Andrews
e105f6049d
Merge pull request #2003 from bbbradsmith/large_align_false_positive_fix
supress spurious "large alignment" warnings
2023-02-24 16:32:41 +01:00
Bob Andrews
d810b12c6d
Merge pull request #1998 from bbbradsmith/ca65_local_scope_error_info
ca65 improve error for unclosed scopes
2023-02-24 16:24:05 +01:00
Bob Andrews
221e6b53ef
Merge pull request #1992 from bbbradsmith/optstackops_toscmpbool_fix
OptStackOps label migration fix
2023-02-24 13:43:07 +01:00
Bob Andrews
d808088c64
Merge pull request #1997 from bbbradsmith/doc_ca65_a8_a16_description
ca65 doc for A8/A18/I8/I16: use "assume" instead of "switch" to avoid implying that a hardware state is changed
2023-02-24 13:04:48 +01:00
Bob Andrews
0c462467e3
Merge pull request #1999 from bbbradsmith/ca65_ld65_warnings_as_errors
--warnings-as-errors for ca65 and ld65
2023-02-24 13:02:49 +01:00
Christian Groessler
fedfc3443d fix for issue #1973 (printf("%c", '\0') doesn't _write '\0' to fd 0) 2023-02-24 02:12:19 +01:00
Bob Andrews
ac987e2439
Merge pull request #2000 from bbbradsmith/doc_cc65_intern_linker_config
Document expected linker configuration and special segments used by cc65
2023-02-21 22:00:23 +01:00
bbbradsmith
23cc295b08 improve description of large-alignment warning 2023-02-21 07:32:38 -05:00
bbbradsmith
13f1d37403 suppress spurious "large alignment" warning when the combined alignment is not larger than any of the explictly requested ones 2023-02-21 06:48:46 -05:00
bbbradsmith
2cdab999f5 dasm test extend 65816.info to include added code 2023-02-21 05:22:28 -05:00
bbbradsmith
4b29d257d9 fix dasm test65816 which relied on JMP automatic promotion, add test of new long_jsr_jmp_rts and smart 2023-02-21 04:38:42 -05:00
bbbradsmith
ccf3994e3b ca65 jsr/jmp/rts will not promote to jsl/jml/rtl by default, but can still be enabled with new feature long_jsr_jmp_rts 2023-02-21 04:00:34 -05:00
bbbradsmith
99ecd9b69d Document expected linker configuration and special segments used by cc65 2023-02-21 00:53:55 -05:00
bbbradsmith
45d0d60349 --warnings-as-errors for ca65 and ld65 2023-02-20 22:24:26 -05:00
bbbradsmith
f1134cc5f1 ca65 improve error for unclosed scopes
See: #1779
2023-02-20 20:49:04 -05:00
bbbradsmith
864eecf7c3 ca16 doc for A8/A18/I8/I16: use "assume" instead of "switch" to avoid implying that a hardware state is changed. See: #1759 2023-02-20 20:08:58 -05:00
compyx
68ce335f59 Replace shell code with GNU Make conditionals and functions
Use `ifeq` to provide two rules for the `avail` target: one that reports
an error if any of the symlink targets are missing and one that installs
the symlinks for the targets if they're all present.
2023-02-19 19:17:45 +01:00
Bob Andrews
d0f17ba602
Merge pull request #1996 from bbbradsmith/negative_memory_size_error
ld65 error if computed memory size is negative
2023-02-19 18:45:09 +01:00
Bob Andrews
0ff18510c3
Merge pull request #1993 from bbbradsmith/sim65_pvopen_safety
sim65 path length safety for PVOpen
2023-02-19 16:27:46 +01:00
bbbradsmith
3df5b9f41f relocate dasm test start-addr to avoid producing negative memory area size with none.cfg (conflicted with stack position at $8000) 2023-02-19 09:30:07 -05:00
bbbradsmith
5bc8ff98de error if computed memory size is negative 2023-02-19 09:01:17 -05:00
bbbradsmith
4fc19a3d4c ld65 overwrite segment should pad with fill value if the desired seek position is beyond the end of the file so far 2023-02-19 08:37:07 -05:00
bbbradsmith
2ac055383f ld65 fix overwrite segments adding wrong padding or causing internal errors 2023-02-19 08:14:04 -05:00
compyx
5c12659cf4 make avail: check for presence of binaries before creating symbolic
links

To avoid creating broken symlinks, first check if the binaries exists in
bin/ and exit when they don't, with a message to first run `make`.
2023-02-19 14:01:14 +01:00
bbbradsmith
4d30333099 sim65 path length safety for PVOpen 2023-02-19 05:31:46 -05:00
bbbradsmith
4e411e8526 Opt_a_tosicmp likely has a bug which will incorrectly migrate a label on a replaced op in one case. 2023-02-18 00:13:34 -05:00
bbbradsmith
78263cd24b Fix OptStackOps label migration case for toscmpbool, add test case 2023-02-17 23:48:32 -05:00
Bob Andrews
c097401f8b
Merge pull request #1991 from spiro-trikaliotis/fix-msys2-test
Remove .exe from file output
2023-02-17 18:29:39 +01:00
Spiro Trikaliotis
727b3288d6 Remove .exe from file output
Whenever a tool like ld65 wants to output its name into a log file, it
uses the name of command-line parameter 0. However, this parameter also
includes the .exe suffix if it is on Windows.

This patch removes the .exe suffix, so that the output is clean and
consistent across platforms.

This fixes #1990.
2023-02-17 17:22:55 +01:00
Bob Andrews
544a49c060
Merge pull request #1983 from mrdudz/fix1941
fix for #1941
2023-02-05 17:28:22 +01:00
mrdudz
8ac5e2f7b6 fix devicestr call, so related posix function work on cbm targets 2023-01-28 15:08:14 +01:00
mrdudz
1764b7aca9 fix for #1941, taken from 22d435b689 2023-01-28 12:29:05 +01:00
Bob Andrews
6267db6b01
Merge pull request #1980 from TommiRommi/patch-1
fixed spelling mistake
2023-01-28 11:29:50 +01:00
tomas
1d73c8d259
Update typeconv.c 2023-01-27 16:53:36 +00:00
tomas
ed909dba1d
fixed spelling mistake
there was a spelling mistake in one of pointer warnings
2023-01-27 10:52:20 +00:00
Christian Groessler
60f56c43c7 some documentation fixes 2023-01-18 11:55:52 +01:00
Bob Andrews
dbefd12571
Merge pull request #1968 from mseabold/master
Allow line_bynumber to return more than one result
2023-01-18 04:34:58 +01:00
Matt Seabold
3360734487 Update comment to match in source file 2023-01-17 22:17:23 -05:00
Matt Seabold
9ee0c835e5 Update documentation for line_bynumber 2023-01-17 22:15:27 -05:00
Bob Andrews
645fa982af
Merge pull request #1975 from marianodominguez/add_sound_documentation
add documentation for _sound.
2023-01-17 22:41:12 +01:00
Bob Andrews
cc9b91363f
Merge pull request #1971 from polluks2/patch-8
Create disk of GEOS samples
2023-01-17 22:36:53 +01:00
Mariano Dominguez
c6d183c31b add documentation for _sound. 2023-01-16 19:09:01 -08:00
Christian Groessler
67564d83c8 libsrc/atari/sound.s: fix indentation 2023-01-16 18:01:11 +01:00
Christian Groessler
c2e8f75bec
Merge pull request #1962 from marianodominguez/feature_add_sound_command
add sound command
2023-01-16 17:59:34 +01:00
Mariano Dominguez
40656ffb6e more style 2023-01-15 17:05:24 -08:00
Mariano Dominguez
6236e82850 change storage to pager zero
fix bug that kills keyboard.
2023-01-15 17:00:05 -08:00
polluks2
a5a8225a58
Create disk of GEOS samples
You don't need to convert anymore.
2023-01-14 13:49:16 +01:00
Matt Seabold
8ea0dfe453 Allow line_bynumber to return more than one result 2023-01-11 20:18:51 -05:00