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

10483 Commits

Author SHA1 Message Date
Bob Andrews
ae7a1416fe
Revert "Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return"" 2023-05-03 20:02:12 +02:00
Bob Andrews
59bd5fdd4c
Merge pull request #2071 from bbbradsmith/bug895_warningspam
bug895.c compliant token pasting syntax to remove warnings
2023-05-03 15:02:30 +02:00
Bob Andrews
0bded728ae
Merge pull request #2080 from cc65/revert-2072-struct-passing
Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return"
2023-05-03 14:37:21 +02:00
Bob Andrews
6ffc4004d7
Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return" 2023-05-03 14:24:13 +02:00
Bob Andrews
f3c0f7c6ce
Merge pull request #2074 from bbbradsmith/zp_override_not_suspicious
Explicit z: should suppress "Suspicious address expression" warning
2023-05-03 14:09:23 +02:00
Bob Andrews
7d9a736b7f
Merge pull request #2072 from bbbradsmith/struct-passing
Forbid 3-byte struct pass/return by value, document struct value pass/return
2023-05-03 13:57:09 +02:00
Bob Andrews
dd0e902a08
Merge pull request #2077 from bbbradsmith/doc-setbooloption-must-can
Document directives that use SetBoolOption "can" use +/- rather than "must"
2023-05-03 13:15:35 +02:00
Bob Andrews
88f581c796
Merge pull request #2076 from bbbradsmith/macro-axy-document
Don't use a,x,y in macro parameter example, document why not.
2023-05-03 13:10:57 +02:00
bbbradsmith
456fa9f963 cc65 document: both pass and return of structs are allowed 2023-05-03 05:36:37 -04:00
bbbradsmith
2b60adfa11 Document directives that use SetBoolOption "can" use +/- rather than "must"
#1772
2023-05-03 03:26:10 -04:00
bbbradsmith
4d698bf18c Don't use a,x,y in macro parameter example, document why not.
#392
2023-05-03 03:05:14 -04:00
bbbradsmith
65f773f5ee Explicit z: should suppress "Suspicious address expression" warning #194 2023-05-03 01:01:21 -04:00
bbbradsmith
bf22f94a43 struct pass and return by value test 2023-05-02 20:02:58 -04:00
bbbradsmith
af11d4d947 Document that struct-param is default off since: 3129266 2023-05-02 19:21:21 -04:00
bbbradsmith
e7046a02ff Disallow pass/return of 3-byte struct (#2022), document capability added in #1102. 2023-05-02 19:00:34 -04:00
Brad Smith
2c47ea45af
bug895.c compliant token pasting syntax to remove warnings
Gets rid of some unnecessary warning spam in the test log of lines like this:
```
bug895.c:95: Warning: Pasting formed "unsigned_long_14(", an invalid preprocessing token
```
2023-05-02 18:18:10 -04:00
Bob Andrews
805e98a7aa
Merge pull request #2027 from bbbradsmith/ca65_jmp_abs_wrap_cpu_filter
ca65 jmp (abs) wrap warning only applies to 6502, later CPUs do not have this bug
2023-05-02 12:52:03 +02:00
Bob Andrews
08223360d5
Update instr.c 2023-05-02 12:43:50 +02:00
Bob Andrews
e5f4ca6b89
Merge pull request #2058 from icepic/patch-1
Update lynxsprite.c
2023-04-19 15:07:16 +02:00
Janne Johansson
1f9594560e
Update lynxsprite.c
Remove compiler warning about (signed) char wrapping around to -1 when set to 255.
2023-04-19 09:15:03 +02:00
Bob Andrews
128b15a71e
Merge pull request #2051 from sodero/topic/disable_hardcoded_paths_on_amiga
Don't use hardcoded paths on Amiga
2023-04-08 17:40:47 +02:00
Ola Söder
2a7533268c Don't use hardcoded paths on Amiga
Hardcoded paths don't make sense on AmigaOS, AROS and MorphOS.
2023-04-07 23:44:30 +02:00
Christian Groessler
19349acdcf fix typo in README.md 2023-04-04 00:57:52 +02:00
Christian Groessler
ed4edd908b fix copy'n'paste typo 2023-04-04 00:40:33 +02:00
Bob Andrews
1f7318f527
Merge pull request #2042 from jefftranter/kim1-api-additions
Add Additional KIM-1 Functions
2023-03-30 20:23:54 +02:00
Jeff Tranter
3a5fbd34da Add KIM-1 functions to write to the 7-segment LED display and get
keypresses from the keypad.
Includes sample program illustrating how to use them.
Tested on real KIM-1 hardware.
2023-03-29 18:40:10 -04:00
Bob Andrews
d69117c0c1
Merge pull request #2037 from jefftranter/kim1-io-fixes
Fixes and improvements to KIM-1 i/o routines.
2023-03-29 22:41:34 +02:00
Bob Andrews
9fb4854f6c
Merge pull request #2040 from mooinglemur/20230328-cx16-r42
cx16: update RAM constants for ROM ver R42
2023-03-29 22:40:24 +02:00
mooinglemur
2dd558eae9 cx16: update RAM constants for ROM ver R42 2023-03-28 21:18:02 -07:00
Jeff Tranter
806ffe5675 Fixes and improvements to KIM-1 i/o routines.
Tested on real KIM-1 hardware.

read.s:
- Remove commented out line.
- Remove unused check for bell character.
- Remove echo of newline (hardware always echoes entered characters).
- This fixes gets() and fgets() so they return when CR is entered.

write.s:
- Fix check for adding return after linefeed (failed to work because OUTCHR changes A)
- Remove unused check for bell character.

kim1.inc:
- Add symbol for monitor entry

crt0.s:
- Jump to KIM-1 monitor by address rather than using BRK (which relies on vector being set in RAM)
2023-03-27 17:56:25 -04:00
Bob Andrews
f74775b841
Merge pull request #2036 from jefftranter/master
Make some documentation fixes for KIM-1 platform.
2023-03-27 17:57:14 +02:00
Jeff Tranter
fcbcbea4ad Make some documentation fixes for KIM-1 platform. 2023-03-27 09:23:40 -04:00
Bob Andrews
8692630369
Merge pull request #2032 from jedeoric/telestrat_lseek
[Telestrat Target]  Add fseek to telestrat target (Orix)
2023-03-19 11:51:24 +01:00
jede
c8c6fc6a40 add xfseek 2023-03-17 23:10:15 +01:00
Bob Andrews
7f1dd09bcb
Merge pull request #2028 from bbbradsmith/linker_test_overwrite
Linker test capability and overwrite segment tests
2023-03-09 18:20:48 +01:00
bbbradsmith
99220f60af test/asm readme val description revision 2023-03-07 18:53:30 -05:00
bbbradsmith
6be7c16013 linkter test with custom config should not use none.lib 2023-03-07 18:48:30 -05:00
bbbradsmith
4732e937ad overwrite segment tests
asm/listing linker CFG support
asm and asm/listing test documentation
2023-03-07 18:44:56 -05:00
bbbradsmith
8b818aac67 remove trailing space on segment "bytes" warning plural 2023-03-07 18:42:20 -05:00
bbbradsmith
016b03e356 ca65 jmp (abs) wrap warning only applies to 6502, later CPUs do not have this bug 2023-03-07 17:00:38 -05:00
Bob Andrews
c226e58a3c
Merge pull request #2007 from groessler/something_to_pull
fix for issue #1973 (printf("%c", '\0') doesn't _write '\0' to fd 0)
2023-03-04 13:30:18 +01:00
Bob Andrews
b9cf6266e7
Merge pull request #2010 from bbbradsmith/ca65_brk_optional_signature
optional BRK signature on all 6502 CPUs, not just 65816
2023-03-04 13:21:28 +01:00
Bob Andrews
c0559dd931
Merge pull request #2009 from bbbradsmith/ca65_feature_disable
ca65: allow .feature to both enable and disable
2023-03-04 13:08:18 +01:00
Bob Andrews
34189b85ab
Merge pull request #2013 from Movax12/fix-endmacro-not-at-start-of-line
Fix endmacro not at start of line
2023-03-03 12:29:30 +01:00
mvax
c092f57b73 Consistent case for .endmacro in comments, remove trailing spaces 2023-03-02 17:31:55 -05:00
mvax
90d5f41b37 Consistent case for .endmacro in comments 2023-03-02 17:26:05 -05:00
mvax
3f2129894b Fix .endmacro not at the start of the line. Rename test files. 2023-03-02 15:12:30 -05:00
Bob Andrews
6fe649ecab
Merge pull request #1994 from Compyx/make-avail-sanity-check
make avail: check for presence of binaries before creating symbolic links
2023-03-02 18:56:04 +01:00
mvax
98d2d9ee4e Fix .endmacro not at the start of the line. Fix style 2023-03-01 21:59:00 -05:00
mvax
0b71d1cfff Fix .endmacro not at the start of the line. Fix last commit 2023-03-01 21:55:14 -05:00