Colin Leroy-Mira
fe115fb621
Revert "Apple 2 SSC: Handle SER_HS_NONE with no performance impact"
...
This reverts commit 0eafb6d1d5
.
This was buggy, as we sta Stopped when asserting flow, and this stops
SER_GET.
2023-11-05 11:34:51 +01:00
Colin Leroy-Mira
8a797095c1
Apple 2 SSC: Handle SER_HS_NONE with no performance impact
2023-11-05 11:34:51 +01:00
Colin Leroy-Mira
94239525ca
Apple2 SSC: Implement no flow control
2023-11-05 11:34:51 +01:00
Bob Andrews
5b47def166
Merge pull request #2248 from acqn/ReturnTypeCheck
...
[cc65] Improved function return type check
2023-11-01 15:08:48 +01:00
Bob Andrews
f381d23001
Merge pull request #2236 from acqn/TypeFix
...
[cc65] Fixed some type-related bugs which don't have any impact yet
2023-10-29 12:37:07 +01:00
Bob Andrews
f7cf14bf58
Merge pull request #2246 from acqn/ArrayFix
...
[cc65] Fixes for nested unspecified-length/flexible arrays
2023-10-29 12:10:30 +01:00
Bob Andrews
65aad16d83
Merge pull request #2245 from acqn/MinorFix
...
[cc65] Avoided unnecessary BSS name duplication for tentative global variables
2023-10-28 15:26:31 +02:00
acqn
d424883716
Fixed diagnostics on qualifiers of function return types.
2023-10-28 15:24:13 +08:00
acqn
8e45a4c960
Fixed the bug that a union type containing a struct with a flexible array member was accepted as a struct member or array element type.
2023-10-27 23:46:10 +08:00
acqn
85e63e99a6
Fixed regression: array element of incomplete type.
2023-10-27 21:51:45 +08:00
Bob Andrews
94ef5856d0
Merge pull request #2235 from acqn/Cleanup
...
[cc65] Cleanups
2023-10-26 20:07:39 +02:00
Bob Andrews
401bcaa5ff
Merge pull request #2237 from acqn/CGType
...
[cc65] Renamed type facility functions for deciding code generation type flags
2023-10-26 19:50:10 +02:00
Bob Andrews
16f6860f57
Merge pull request #2243 from acqn/StdFuncFix
...
[cc65] Inlined std functions fixes
2023-10-26 17:39:07 +02:00
Bob Andrews
10f709eeb7
Merge pull request #2234 from acqn/Diagnostics
...
[cc65] Minor fix for error recovery from duplicated struct members
2023-10-26 17:10:01 +02:00
Bob Andrews
316ae886d7
Merge pull request #2242 from acqn/SwitchFix
...
[cc65] Fixed type promotion of switch case values
2023-10-26 16:56:01 +02:00
Bob Andrews
a8d00bfaae
Merge pull request #2240 from acqn/BitwiseOpt
...
[cc65] New TOS optimization steps for 8-bit subtraction and bitwise operations
2023-10-26 16:53:37 +02:00
Bob Andrews
8e6c0c1466
Merge pull request #2238 from acqn/BoolOptFix
...
[cc65] Bool opt fixes
2023-10-26 13:06:33 +02:00
acqn
df392fc104
Fixed type promotion of switch case values.
2023-10-25 22:38:21 +08:00
acqn
a31b35b2a6
Fixed naming of local variables in CG_TypeOfBySize and CG_TypeOf.
2023-10-22 10:42:17 +08:00
acqn
70549e868e
New optimizer steps to restore some possibly lost optimization with boolean due to the previous fix.
2023-10-21 23:56:13 +08:00
acqn
f321bb16e5
Fixed potential bugs with boolean branch optimizers when more than one jeq/jne follows.
2023-10-21 23:56:07 +08:00
acqn
79c52e742f
Added new opts OptBoolUnary1/OptBoolUnary2 to remove unnecessary cmp + bcastax/bnegax,
...
as well as OptBoolUnary3 to "strength-reduce" certain bcastax/bnegax to boolne/booleq.
2023-10-21 23:56:04 +08:00
acqn
e5bbdfa995
Separated boolean optimizers from bitwise unary operator optimizers.
...
Renamed OptCmp6 to OptBoolCmp.
2023-10-21 23:56:01 +08:00
acqn
c52427fc65
Minor fix for error recovery from duplicated struct members.
2023-10-21 23:52:14 +08:00
Bob Andrews
bb1b5c363e
Merge pull request #2233 from acqn/ArraySubscriptFix
...
[cc65] Fixed array subscript with a bit-field with patch by kugelfuhr
2023-10-18 12:51:36 +02:00
Bob Andrews
3e60268243
add newline at the end
2023-10-17 20:39:15 +02:00
acqn
178573a128
Fixed inlined strlen when it takes a string literal with extra characters after the first '\0'.
...
Added testcases.
2023-10-17 17:57:19 +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
acqn
8111946731
Fixed array subscript with a bit-field with patch by kugelfuhr.
2023-10-15 15:53:03 +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