Bob Andrews
3e60268243
add newline at the end
2023-10-17 20:39:15 +02:00
acqn
8111946731
Fixed array subscript with a bit-field with patch by kugelfuhr.
2023-10-15 15:53:03 +08:00
Bob Andrews
77c6a6a693
Merge pull request #2226 from acqn/PragmaFix
...
[cc65] Pragma fixes
2023-10-16 16:57:09 +02:00
Oliver Schmidt
3c864fc7d8
Minimal style adjustment
2023-10-15 17:00:15 +02:00
Colin Leroy-Mira
882f6fd103
Fix ACIA check so we don't enable RX/TX with IRQs on
2023-10-15 16:58:59 +02:00
Colin Leroy-Mira
3107f34ec9
Put back 6551 test as a last verification
2023-10-15 16:58:59 +02:00
Colin Leroy-Mira
6e035c864e
Apple2 SSC: on IIgs, verify slot mode
...
If the slot is not in "Your Card" mode, there's no way it is an SSC
2023-10-15 16:58:59 +02:00
Colin Leroy-Mira
96e893795b
Better check for 6551
2023-10-15 16:58:59 +02:00
acqn
21b6cbb66e
Updated documentation on string literal translation in asm() and _Static_assert().
2023-10-15 16:43:40 +08:00
mrdudz
6222cd9115
don't use a label in the bgt macro, as that may cause subtle problems. fixes #2222
2023-10-14 23:04:30 +02:00
Bob Andrews
2726192aaf
Merge pull request #2224 from acqn/DeclCleanUp
...
[cc65] Made functions in src/cc65/declare.c less confusing
2023-10-14 20:09:05 +02:00
mrdudz
bb92144717
changed "inline assembler statement" to "inline assembler expression" as suggested in #2191
2023-10-14 16:21:30 +02:00
Colin Leroy-Mira
e138403727
Move cli in common out path
2023-10-14 14:36:09 +02:00
Colin Leroy-Mira
6e0bbb00ee
Fix logic error on parameters checks
2023-10-14 14:36:09 +02:00
Colin Leroy-Mira
c7db08b4e3
Move hardware check to ser_install
2023-10-14 14:36:09 +02:00
Colin Leroy-Mira
e90a8f3123
Address code review comments
2023-10-14 14:36:09 +02:00
Colin Leroy-Mira
39d6080945
Do the IIgs check as documented
2023-10-14 14:36:09 +02:00
Colin Leroy-Mira
e3759a3ead
Spare cycles on IRQ path
2023-10-14 14:36:09 +02:00
Colin Leroy-Mira
65ce3a6792
Don't check firmware at $C200, as we don't use it
...
Just check that we're on a IIgs instead.
2023-10-14 14:36:09 +02:00
Colin Leroy-Mira
9e87e558d2
Fix register r/w timing
2023-10-14 14:36:09 +02:00
Bob Andrews
b300b7ac8b
Merge pull request #1799 from acqn/#1489
...
[cc65] Post-inc/post-dec won't affect __A__/__AX__/__EAX__ in the same statement
2023-10-14 13:25:14 +02:00
Bob Andrews
ed2f1f6b90
Merge pull request #2223 from acqn/VSLineEndingFix
...
Reverted EOL settings (LF vs CRLF) for Visual Studio
2023-10-14 13:19:57 +02:00
acqn
7b0d1d9679
Added warning on concatenated string literals in _Pragma operations.
2023-10-13 14:54:54 +08:00
acqn
25832ef5fc
Fixed timing of #pragma charmap.
...
Now it is immediately applied and affects almost all characters and string literals after it.
Exceptions:
- String literals as the message of a static assertion or inline assembler code (only the required one, not any optional formatted arguments) in an asm() expression are not translated with either #pragma charmap or target presets.
- String literals used for preprocessor directives or as the result of stringized macro arguments are never translated.
2023-10-13 16:32:06 +08:00
acqn
c6ead99b00
Fixed string literal concatenation with pragmas in between.
2023-10-13 16:32:05 +08:00
acqn
74922afa7c
Made the intension of functions in src/cc65/declare.c less confusing.
2023-10-12 17:31:49 +08:00
acqn
b14efbb578
Fixed EOL settings (LF vs CRLF) for Visual Studio.
2023-10-11 23:57:45 +08:00
Bob Andrews
494bf10e80
Merge pull request #2216 from acqn/FuncDefFix
...
[cc65] Type category in a function definition cannot be inherited from a typedef
2023-10-08 18:58:29 +02:00
Bob Andrews
181a8cd64c
Merge pull request #2212 from BrianPeek/removeabc
...
Remove unused abc_score_ptr zp entries for lynx lib
2023-10-08 14:51:26 +02:00
Bob Andrews
ee6118f235
Merge pull request #2215 from acqn/VariadicCallCheck
...
[cc65] Added check for total arguments size for variadic functions
2023-10-08 13:13:08 +02:00
Brian Peek
32a20cf5ca
remove abc ptrs
2023-10-06 19:53:18 -07:00
acqn
0028b14071
The type category in a function definition cannot be inherited from a typedef.
2023-10-05 17:48:16 +08:00
Bob Andrews
12193790e5
Merge pull request #2199 from acqn/FAMFix
...
[cc65] Forbidden struct itself with flexible array member as struct member or array element
2023-10-05 03:21:31 +02:00
Bob Andrews
327281b869
Merge pull request #2200 from acqn/CompoundInitFix
...
[cc65] Fixed compound initialization with certain omitted enclosing curly braces
2023-10-05 03:20:33 +02:00
Bob Andrews
bdb13350e3
Merge pull request #2201 from acqn/Diagnostics
...
[cc65] Improved diagnostics
2023-10-05 03:19:31 +02:00
Bob Andrews
eb5e888499
Merge pull request #2204 from vrubleg/general_fixes
...
General project fixes and quality of life improvements
2023-10-05 03:17:51 +02:00
acqn
20c3e994c6
Fixed compiling with pragmas in the middle of declarations or statements.
2023-10-04 21:22:04 +08:00
Colin Leroy-Mira
9667a5f991
Re-introduce necessary comments, wit a clearer wording
2023-10-03 18:35:23 +02:00
Colin Leroy-Mira
3c17c13357
Address latest comments
2023-10-03 18:34:22 +02:00
Colin Leroy-Mira
996a2659d5
Address code review comments
2023-10-03 18:34:22 +02:00
Colin Leroy-Mira
e16a5e0dbe
Add Apple IIgs serial driver
2023-10-03 18:34:22 +02:00
Colin Leroy-Mira
330b1ab3f9
Remove useless comments
2023-10-03 13:55:10 +02:00
Colin Leroy-Mira
df4902157a
Cleanup coding style a bit
2023-10-03 13:55:10 +02:00
Colin Leroy-Mira
4ff917816e
Apple2: Always copy cmdline
...
Otherwise, the last exec() cmdline lingers around for the next exec("file", NULL).
2023-09-29 10:51:53 +02:00
Evgeny Vrublevsky
148942ff1d
Don't use hardcoded Visual Studio installation path in msbuild.cmd.
2023-09-23 14:26:09 +03:00
Evgeny Vrublevsky
9b9e955eb1
Add basic .editorconfig.
2023-09-23 14:26:08 +03:00
Evgeny Vrublevsky
d83354a8dd
Fix default VS project settings.
2023-09-23 14:26:08 +03:00
Bob Andrews
4944c92f9a
Merge pull request #2202 from polluks/patch-8
...
Update funcref cx16
2023-09-22 23:10:34 +02:00
Stefan
b81e5d00f2
Update funcref cx16
2023-09-22 16:43:03 +02:00
Colin Leroy-Mira
e3bc143f27
Another two bytes saved
2023-09-22 11:51:29 +02:00