1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-01 11:04:34 +00:00
Commit Graph

7522 Commits

Author SHA1 Message Date
IrgendwerA8
170d96898f Fixed SED 2017-03-30 12:17:29 +02:00
Oliver Schmidt
5dbacb538e Merge pull request #411 from pfusik/bss-name-regression
Fix regression of #pragma bss-name
2017-03-22 13:44:48 +01:00
Greg King
01f5baf03d Fixed SGML typo. 2017-03-21 21:23:48 -04:00
Piotr Fusik
8e35a82c91 Fix regression of #pragma bss-name
Closes #409
2017-03-21 22:35:25 +01:00
Oliver Schmidt
5b3611265b Revert to recursively expanded var.
4a6bca0b56 needed to move to a simply expanded variable but cc82cd9992 made that unnecessary again.
2017-03-21 20:54:55 +01:00
Oliver Schmidt
669113b595 Added missing line continuation.
Fixes https://github.com/cc65/cc65/issues/408
2017-03-21 20:45:51 +01:00
Oliver Schmidt
fe59626953 Merge pull request #407 from IrgendwerA8/sim65_fix
Fixed addressing error for TSB/TSR and enabled tests again.
2017-03-21 11:21:48 +01:00
IrgendwerA8
cc82cd9992 Fixed addressing error for TSB/TSR and enabled tests again. 2017-03-20 21:53:07 +01:00
Oliver Schmidt
5095dd72b2 Merge pull request #402 from IrgendwerA8/runtime_improvements
few 6502 and some 65SC02 runtime optimizations
2017-03-20 11:34:06 +01:00
Oliver Schmidt
0851e3d694 Allow to control test Makefile output via QUIET (like libsrc). 2017-03-20 11:22:04 +01:00
IrgendwerA8
1abfa98290 minor style changes 2017-03-19 20:51:54 +01:00
Oliver Schmidt
50174d9860 Hide stdout of tests returning an exit code.
Now that we doubled our tests by running them for both 6502 and 65C02 Travis CI complains (again) about a too long build output. So let's reduce it by omitting the (useless) stdout of tests.
2017-03-19 20:32:23 +01:00
Oliver Schmidt
4a6bca0b56 Run test for the 65C02 code generator / runtime too.
Now that sim65's 65C02 support is actually functional we can run test for the 65C02 support in the compiler and the runtime.

We learn the hard way this is a good idea as there are tests failing when built with optimizations for the 65C02:
- val/compare7
- val/compare8
- val/compare9
- val/compare10
- val/or1
2017-03-19 20:07:19 +01:00
Oliver Schmidt
ff9b77b6cc Shortened test subdir names. 2017-03-19 17:57:25 +01:00
Oliver Schmidt
66634ef683 Cleaned up test Makefiles. 2017-03-19 17:48:44 +01:00
Oliver Schmidt
3a30669ff6 Merge pull request #405 from IrgendwerA8/65SC02_sim65_support
Added 65SC02 support for simulator.
2017-03-18 23:38:05 +01:00
IrgendwerA8
e14e13abf4 fixed curly brackets for single line scopes 2017-03-18 22:52:13 +01:00
Oliver Schmidt
2048d6cfb5 Removed top blank line. 2017-03-18 20:57:12 +01:00
IrgendwerA8
ad003e5991 style changes 2017-03-18 20:27:41 +01:00
IrgendwerA8
0985655ac7 Fixed bug in original sim65 implementation (reason for C&P error in last commit) 2017-03-18 17:02:22 +01:00
IrgendwerA8
c50e4d25e2 additional fix for scrambled code (sorry) 2017-03-18 16:56:36 +01:00
IrgendwerA8
4ba34f2a69 fixed scrambled semicolon 2017-03-18 16:54:00 +01:00
IrgendwerA8
360372420b Added 65SC02 support for simulator. 2017-03-18 16:37:15 +01:00
Oliver Schmidt
aa75789f58 Merge pull request #404 from groessler/something_to_pull
Creativison changes.
2017-03-18 12:51:46 +01:00
Christian Groessler
a3d8829be9 Creativison changes.
This change includes some cleanups, removal of mainargs.s (game console
programs never have arguments), and a workaround for a problem I'm seeing.

The problem is that sometimes (in fact, more often than not) the clrscr()
call in testcode/lib/joy-test.c writes some garbage chars on the screen (most
often a "P"). Could be my hardware (I haven't seen it on MAME), but to
me the root cause is still unknown.
2017-03-17 21:42:51 +01:00
IrgendwerA8
0de44517ac few 6502 and some 65SC02 optimizations 2017-03-12 23:21:43 +01:00
Oliver Schmidt
0bbe4f56a5 Merge pull request #401 from greg-king5/void-size
Make C's sizeof operator work with cc65's void variables.
2017-03-12 20:06:34 +01:00
Greg King
750a527100 Made C's sizeof operator work with initialized void variables.
Added regression tests that check cc65's handling of void variables.
2017-03-12 14:41:32 -04:00
Oliver Schmidt
a780df1fe1 Merge pull request #381 from pfusik/static-forward-decl
"static" forward declarations
2017-03-12 18:26:14 +01:00
Oliver Schmidt
2e8d792f9a Added .gitattributes to force LF line endings on commit. 2017-03-12 18:13:18 +01:00
Oliver Schmidt
d7689b43cd Merge pull request #400 from greg-king5/yaccdbg-fix
Fix a yaccdbg pointer test again.
2017-03-12 16:10:54 +01:00
Greg King
73261ea48f Fixed a pointer test again -- but, it's better than in pull request #391.
This time, the expression compares the pointer directly, instead of comparing the pointer's target.  The new expression avoids an array underrun.
2017-03-11 15:11:15 -05:00
Oliver Schmidt
23d4534f94 Merge pull request #395 from greg-king5/no-Os
Remove a pointless cc65 command-line option from "samples/Makefile".
2017-03-10 15:33:02 +01:00
Greg King
acb7c61302 Removed a pointless cc65 command-line option from the samples makefile.
"-Oi --codesize 500" is the same as "-O --codesize 200 --codesize 500".  That first "--codesize" is replaced by the second one.  Don't set it twice.
2017-03-10 08:47:48 -05:00
Oliver Schmidt
949333e37b Merge pull request #399 from groessler/something_to_pull
Fix line endings (CRLF -> LF) on all affected files.
2017-03-10 11:31:50 +01:00
Christian Groessler
8a81f9c0c8 Fix line endings (CRLF -> LF) on all affected files. 2017-03-10 11:21:14 +01:00
Piotr Fusik
05d1b8072b Add regression tests for duplicate globals with different linkage. 2017-03-09 21:18:48 +01:00
Piotr Fusik
6c3873316b Add regression tests for duplicate global/static variables detected by the compiler. 2017-03-09 20:49:42 +01:00
Piotr Fusik
ce0cf85386 Add regression test for #204. 2017-03-09 20:40:20 +01:00
Piotr Fusik
d2c89d2ba9 "static int n; int n;" is an error.
Fixes test/err/static-4.c regression.
2017-03-09 19:14:31 +01:00
Oliver Schmidt
b332064cb5 Just some minor style fix. 2017-03-09 14:39:08 +01:00
Oliver Schmidt
98e51d10d1 Merge pull request #397 from groessler/something_to_pull
fix creativision joystick driver
2017-03-08 13:38:24 +01:00
Christian Groessler
64c4cef901 Implement diagonal direction handling in creativision joystick driver. 2017-03-08 13:19:53 +01:00
Christian Groessler
97e3472c87 creativision.inc: add symbolic names for joystick direction values 2017-03-08 13:16:40 +01:00
IrgendwerA8
371e8efb79 temporarily disable optimizations altogether until a fine grain control
is implemented on Makefile level only disabling the compiler option -Os
2017-03-07 19:16:31 +01:00
IrgendwerA8
8d1b80e6fd Fixed CPU-flag usage which fails on build server?! 2017-03-05 11:38:55 +01:00
IrgendwerA8
81115aa826 Added further optimizations and unit tests. 2017-03-05 02:09:12 +01:00
Oliver Schmidt
e7cf8fb45c Merge pull request #394 from groessler/something_to_pull
creativision/crt0.s: enable display interrupts in display controller configuration
2017-03-04 19:08:33 +01:00
Christian Groessler
9558ebf86c creativision/crt0.s: enable display interrupts in display controller configuration
Otherwise the joystick zero page locations won't get updated.
2017-03-04 10:04:32 +01:00
Oliver Schmidt
ca3e5e8b8c Merge pull request #391 from greg-king5/yaccdbg-fix
Fix the "yaccdbg.c" compiler regression test.
2017-03-02 09:45:44 +01:00