52f0e6a29c
Allow floating point constants to be converted to integer (warning if loss of precision)
bbbradsmith
2023-05-02 23:57:32 -04:00
a686d1fa8e
Allow unary +/- for floating point constants
bbbradsmith
2023-05-02 23:50:01 -04:00
a109f475ed
Fix broken/incomplete floating point parsing - Fractional digit scale was broken - Base was partially ignored - Exponent sign was ignored - Exponent for hex float is 2 not 10
bbbradsmith
2023-05-02 23:49:40 -04:00
9a502c69dc
fix tab, braces for 1-line if, Expr->Ival is signed
bbbradsmith
2023-05-03 16:46:59 -04:00
83ff62d5e2
Merge pull request #2078 from bbbradsmith/line-endings
Bob Andrews
2023-05-03 21:19:03 +02:00
f4676e11b4
Merge pull request #2083 from bbbradsmith/struct-passing
Bob Andrews
2023-05-03 21:00:25 +02:00
6386788843
Merge pull request #2082 from cc65/revert-2080-revert-2072-struct-passing
Bob Andrews
2023-05-03 20:49:37 +02:00
440c91fad9
braces for 1-line if
bbbradsmith
2023-05-03 14:11:30 -04:00
ae7a1416fe
Revert "Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return""
Bob Andrews
2023-05-03 20:02:12 +02:00
1f18ab218e
Improve struct size error message to include the detected size
bbbradsmith
2023-05-03 13:35:51 -04:00
4e6b94de5c
braces
Brad Smith
2023-05-03 12:19:05 -04:00
bf5b37a3b2
Error check for internal overflow of numerical constant See bug #2026
bbbradsmith
2023-05-02 21:27:02 -04:00
bf22f94a43
struct pass and return by value test
bbbradsmith
2023-05-02 20:02:58 -04:00
af11d4d947
Document that struct-param is default off since: 3129266
bbbradsmith
2023-05-02 19:21:21 -04:00
e7046a02ff
Disallow pass/return of 3-byte struct (#2022), document capability added in #1102.
bbbradsmith
2023-05-02 19:00:34 -04:00
2c47ea45af
bug895.c compliant token pasting syntax to remove warnings
Brad Smith
2023-05-02 18:18:10 -04:00
1c26b1cf1b
RHS primary integer promotion must happen after loading the primary, not before. See: #2060
bbbradsmith
2023-05-02 14:42:00 -04:00
805e98a7aa
Merge pull request #2027 from bbbradsmith/ca65_jmp_abs_wrap_cpu_filter
Bob Andrews
2023-05-02 12:52:03 +02:00
08223360d5
Update instr.c
Bob Andrews
2023-05-02 12:43:50 +02:00
1fe39514bc
Merge branch 'bootstrap-fix' of github.com:jefftranter/cc65 into bootstrap-fix
Jeff Tranter
2023-05-01 10:13:52 -04:00
4d97e30b55
Source listing in bootstrap.s is incorrect.
Jeff Tranter
2023-04-30 18:40:09 -04:00
613ee94f44
Source listing in bootstrap.s is incorrect.
Jeff Tranter
2023-04-30 18:40:09 -04:00
e5f4ca6b89
Merge pull request #2058 from icepic/patch-1
Bob Andrews
2023-04-19 15:07:16 +02:00
1f9594560e
Update lynxsprite.c
Janne Johansson
2023-04-19 09:15:03 +02:00
128b15a71e
Merge pull request #2051 from sodero/topic/disable_hardcoded_paths_on_amiga
Bob Andrews
2023-04-08 17:40:47 +02:00
2a7533268c
Don't use hardcoded paths on Amiga
Ola Söder
2023-04-07 23:44:30 +02:00
19349acdcf
fix typo in README.md
Christian Groessler
2023-04-04 00:57:52 +02:00
ed4edd908b
fix copy'n'paste typo
Christian Groessler
2023-04-04 00:40:33 +02:00
1f7318f527
Merge pull request #2042 from jefftranter/kim1-api-additions
Bob Andrews
2023-03-30 20:23:54 +02:00
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.
Jeff Tranter
2023-03-29 18:40:10 -04:00
d69117c0c1
Merge pull request #2037 from jefftranter/kim1-io-fixes
Bob Andrews
2023-03-29 22:41:34 +02:00
9fb4854f6c
Merge pull request #2040 from mooinglemur/20230328-cx16-r42
Bob Andrews
2023-03-29 22:40:24 +02:00
2dd558eae9
cx16: update RAM constants for ROM ver R42
mooinglemur
2023-03-28 21:18:02 -07:00
806ffe5675
Fixes and improvements to KIM-1 i/o routines. Tested on real KIM-1 hardware.
Jeff Tranter
2023-03-27 17:56:25 -04:00
f74775b841
Merge pull request #2036 from jefftranter/master
Bob Andrews
2023-03-27 17:57:14 +02:00
fcbcbea4ad
Make some documentation fixes for KIM-1 platform.
Jeff Tranter
2023-03-27 09:23:40 -04:00
8692630369
Merge pull request #2032 from jedeoric/telestrat_lseek
Bob Andrews
2023-03-19 11:51:24 +01:00
cd8fa39066
optional BRK signature on all 6502 CPUs, not just 65816 (also COP)
bbbradsmith
2023-02-24 22:40:29 -05:00
c2bc40f213
test for all ca65 .feature options
bbbradsmith
2023-02-24 20:00:56 -05:00
230230819e
document the undocumented test/asm/listing behaviours
bbbradsmith
2023-02-24 19:35:38 -05:00
da150aeeac
allow .feature to both enable and disable
bbbradsmith
2023-02-24 18:00:58 -05:00
a299ef4210
Merge pull request #1995 from bbbradsmith/overwrite_segment_fix
Bob Andrews
2023-02-24 21:27:33 +01:00
302d6ee4a4
Merge pull request #2001 from bbbradsmith/ca65_long_jsr_jmp_rts
Bob Andrews
2023-02-24 19:34:37 +01:00
12fc59351e
Merge branch 'master' into ca65_long_jsr_jmp_rts
Bob Andrews
2023-02-24 19:25:32 +01:00
e105f6049d
Merge pull request #2003 from bbbradsmith/large_align_false_positive_fix
Bob Andrews
2023-02-24 16:32:41 +01:00
d810b12c6d
Merge pull request #1998 from bbbradsmith/ca65_local_scope_error_info
Bob Andrews
2023-02-24 16:24:05 +01:00
221e6b53ef
Merge pull request #1992 from bbbradsmith/optstackops_toscmpbool_fix
Bob Andrews
2023-02-24 13:43:07 +01:00
d808088c64
Merge pull request #1997 from bbbradsmith/doc_ca65_a8_a16_description
Bob Andrews
2023-02-24 13:04:48 +01:00
0c462467e3
Merge pull request #1999 from bbbradsmith/ca65_ld65_warnings_as_errors
Bob Andrews
2023-02-24 13:02:49 +01:00
fedfc3443d
fix for issue #1973 (printf("%c", '\0') doesn't _write '\0' to fd 0)
Christian Groessler
2023-02-24 02:12:19 +01:00
ba038e921f
jmp (abs) page wrapping should be an error, not a warning, also only applies to 6502 CPU
bbbradsmith
2023-02-21 17:06:21 -05:00
ac987e2439
Merge pull request #2000 from bbbradsmith/doc_cc65_intern_linker_config
Bob Andrews
2023-02-21 22:00:23 +01:00
23cc295b08
improve description of large-alignment warning
bbbradsmith
2023-02-21 07:32:38 -05:00
13f1d37403
suppress spurious "large alignment" warning when the combined alignment is not larger than any of the explictly requested ones
bbbradsmith
2023-02-21 06:48:46 -05:00
2cdab999f5
dasm test extend 65816.info to include added code
bbbradsmith
2023-02-21 05:22:28 -05:00
4b29d257d9
fix dasm test65816 which relied on JMP automatic promotion, add test of new long_jsr_jmp_rts and smart
bbbradsmith
2023-02-21 04:38:17 -05:00