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
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
Greg King
8f0ea644dd
Fixed a pointer-difference, comparison-with-zero expression.
...
Some GCC C compilers can't subtract higher pointers from lower pointers properly, when those pointers must be scaled (because they point to objects that are wider than a char). The scaling is done as unsigned which makes the difference positive instead of negative.
So, a broken expression was changed into a direct comparison between the two pointers.
2017-03-01 06:52:43 -05:00
Greg King
99f3c7d01d
Fixed a makefile: "yaccdbg.c" includes "yacc.c". So, yaccdbg must depend on both of them.
2017-03-01 06:29:53 -05:00
Oliver Schmidt
2306c3bde2
Merge pull request #390 from jedeoric/master
...
Adding some conio's function
2017-02-28 12:34:18 +01:00
jede
b0e035ba2b
Cleaning
2017-02-25 22:23:46 +01:00
jede
7bc3bff83f
adding gotox.s gotoy.s wherex.s wherey.s
2017-02-25 22:20:17 +01:00
jede
1497330cc0
adding clrscr.s
2017-02-25 22:10:13 +01:00
jede
4f1d007fb4
Correcting typo
2017-02-25 21:32:42 +01:00
jede
f6002a149c
adding gotoxy.s
2017-02-25 21:32:06 +01:00
Oliver Schmidt
0ec4534bd6
Merge pull request #387 from groessler/something_to_pull
...
atari_antic.inc: use "or" instead of "plus" in the usage example
2017-02-24 20:39:04 +01:00
Oliver Schmidt
4bf10d87b0
Merge pull request #386 from IrgendwerA8/EasierDisplayLists
...
Improved display list instruction definition for more comfortable use…
2017-02-24 20:37:59 +01:00