Rutger van Bergen
61f48f7620
Merge branch 'kim1' of github.com:davepl/cc65
2022-09-19 23:58:26 +02:00
Rutger van Bergen
3b431d9fa3
Remove trailing whitespace
2022-09-19 23:57:26 +02:00
David W Plummer
c43b3582db
Merge pull request #1 from davepl/kim1
...
Add KIM-1 Support
2022-09-19 14:20:29 -07:00
David W Plummer
ab6840712b
Update kim1.sgml
2022-09-19 14:17:41 -07:00
Rutger van Bergen
3dd8968876
Merge branch 'master' of github.com:davepl/cc65 into kim1
2022-09-19 21:59:57 +02:00
Rutger van Bergen
fa6a5d9b72
Merge branch 'cc65:master' into master
2022-09-19 20:31:36 +02:00
Rutger van Bergen
2b07204952
Merge branch 'cc65:master' into kim1
2022-09-19 20:03:23 +02:00
Rutger van Bergen
d2a8e907ae
Merge pull request #2 from davepl/kim1-doc
...
Add documentation, make capitalization uniform
2022-09-19 19:59:19 +02:00
Rutger van Bergen
cb8cb876ec
Add documentation, make capitalization uniform
2022-09-19 19:56:57 +02:00
Bob Andrews
65ce036b2e
Merge pull request #1854 from acqn/Testcase
...
[cc65] Renamed, fixed and added testcases
2022-09-19 13:19:09 +02:00
Rutger van Bergen
6cb6c241aa
Merge branch 'cc65:master' into master
2022-09-19 03:20:49 +02:00
acqn
5e7d9b5fe3
Renamed a few testcases.
2022-09-18 22:29:41 +08:00
acqn
080ec131d8
Added testcase for constant operands with side-effects.
2022-09-18 22:29:30 +08:00
acqn
16ba232d08
Fixed some testcases.
2022-09-18 22:29:01 +08:00
mrdudz
6fc2cd9f61
add test related to bug #1853
2022-09-17 14:42:18 +02:00
mrdudz
fd6d00a4dd
revert 6096a24
- this breaks the case when the "label" is an expression containing spaces.
...
fixes bug #1853
2022-09-17 14:41:59 +02:00
Oliver Schmidt
5493c9e7c2
Don't empty the Receive Data Register on filling the Transmit Data Register
...
The Receive Data Register and the Transmit Data Register share share a single address. Accessing that address with STA abs,X in order to fill the Transmit Data Register causes a 6502 false read which causes the Receive Data Register to be emptied.
The simplest way to work around that issue - which I chose here - is to move the base address for all ACIA accesses from page $C0 to page $BF. However, that adds an additional cycle to all read accesses. An alternative approach would be to only modify the single line `sta ACIA_DATA,x`.
2022-09-08 17:11:30 +02:00
mrdudz
253af1ed07
Force 16bit address for absolute-indirect-x-indexed in 65816 mode.
...
should fix issue #1846 (and hopefully not break anything :))
2022-09-03 18:36:40 +02:00
Bob Andrews
1d01777943
Merge pull request #1849 from acqn/StructFix
...
[cc65] Reverted E_ADDRESS_OF logic fix
2022-09-02 17:27:34 +02:00
Bob Andrews
fe0d383bea
Merge pull request #1850 from polluks2/patch-6
...
Don't hide errors in error handling
2022-09-02 12:08:40 +02:00
polluks2
446a785f95
Don't hide errors in error handling
...
You don't want the low byte, see grep _ERR_ libsrc/tgi/*
2022-09-02 11:55:54 +02:00
acqn
dc001cb4be
Reverted E_ADDRESS_OF logic fix.
...
Added testcase.
2022-09-01 12:56:46 +08:00
mrdudz
ce6ee1b891
test some more possible cases and move test into test/val
2022-08-28 03:43:54 +02:00
mrdudz
d371046ae4
Despite not technically needed, it seems to be desirable to remove all trailing whitespace from inline assembly
2022-08-28 03:43:02 +02:00
mrdudz
6096a24f1d
dont add whitespace after a label to the actual label, this fixes the root cause of #1252
2022-08-28 03:41:48 +02:00
Bob Andrews
eb21e484ee
Merge pull request #1842 from acqn/PPCounter
...
[cc65] Added support for the popular __COUNTER__ macro
2022-08-27 11:18:29 +02:00
mrdudz
168f42bb83
fix whitespace
2022-08-27 02:14:52 +02:00
mrdudz
41b29d5c81
add testcase related to issue #1252
2022-08-27 02:10:02 +02:00
mrdudz
90b9438b48
added testcase related to issue #1768
2022-08-27 01:15:06 +02:00
Bob Andrews
d2628d5949
Merge pull request #1840 from acqn/FnParamFix
...
[cc65] Fixed function parameters declared as function types rather than function pointers
2022-08-26 23:19:55 +02:00
Bob Andrews
68610490c9
Merge pull request #1837 from acqn/PPLineFix
...
[cc65] Fixed predefined __FILE__, __LINE__ and added missing preprocessing directive #line
2022-08-26 23:12:59 +02:00
Bob Andrews
13fbd7d1b4
Merge pull request #1836 from acqn/PPDiag
...
[cc65] Fixes and improvements for preprocessor diagnostics and error handling
2022-08-26 23:08:29 +02:00
acqn
1dbc5cb325
Simple testcase for __LINE__, __FILE__ as well as #line.
2022-08-24 16:39:44 +08:00
acqn
26945c32ac
Fixed function parameters declared as function types rather than function pointers.
2022-08-24 15:30:52 +08:00
Bob Andrews
22ea30c75f
"cat" result to console on failure (only on *nix right now)
2022-08-23 11:56:05 +02:00
acqn
57ad7c8766
Improved diagnostics about C++ style comments for c89.
2022-08-22 14:31:53 +08:00
acqn
fd7f32ecd3
Improved error handling and diagnostics with failed macro definitions.
2022-08-22 14:31:51 +08:00
Bob Andrews
8605393953
Merge pull request #1834 from acqn/PPFix
...
[cc65] Minor improvements, fixes and cleanups with the preprocessor
2022-08-21 19:18:46 +02:00
Bob Andrews
f838ba7341
Merge pull request #1833 from acqn/TokenizerFix
...
[cc65] Tokenizer fixes
2022-08-21 17:45:38 +02:00
acqn
47ee543fe0
Added testcase for some part of PR #1833 .
2022-08-21 00:11:19 +08:00
Bob Andrews
12b9b10355
Merge pull request #1832 from acqn/PPDefineFix
...
[cc65] Preprocessor directive #define fixes
2022-08-20 14:27:25 +02:00
Bob Andrews
03421694b2
Merge pull request #1817 from acqn/PPFix
...
[cc65] More preprocessor fixes
2022-08-19 21:37:16 +02:00
Bob Andrews
98491d7c92
Merge pull request #1831 from acqn/DeclFix
...
[cc65] Fixed issues with forward declaration of enums and global static variables put on zeropage
2022-08-19 20:58:28 +02:00
acqn
3fbefdef45
Fixed warning on forward declaration of enums.
...
Fixed the issue that global static variables put on zeropage were missing optimization.
2022-08-19 18:48:52 +08:00
acqn
9565f41381
Improved Diagnostic with #include.
2022-08-19 13:27:56 +08:00
acqn
5d5bd472c6
Removed extra whitespace at line ends in preprocess-only output (-E).
...
Increased threshold from 5 to 7 for skipped newlines with #line directives in preprocess-only output (-E).
2022-08-22 00:27:21 +08:00
acqn
79f97e7714
Reused code more for macros in preprocessing directives.
2022-08-22 00:24:28 +08:00
acqn
cf7558add3
Added check for ## at either end of macro expansion.
2022-08-18 23:16:29 +08:00
acqn
b93f9fbba4
Updated documents about the predefined macros.
2022-08-18 22:51:23 +08:00
acqn
47d5e74a6e
Modified way to keep undefined macro handling more consistent.
2022-08-18 22:51:23 +08:00