1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00
Commit Graph

7135 Commits

Author SHA1 Message Date
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
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
IrgendwerA8
09de875330 Changed the location of unittest.h 2017-02-28 08:05:11 +01:00
IrgendwerA8
3d28f5ca90 Fixed indentation 2017-02-26 22:36:19 +01:00
IrgendwerA8
c240d42a9e Added "strrchr" optimizaion a matching unit test and tiny unit test framework. (Documentation for that will follow later) 2017-02-26 20:03:05 +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
IrgendwerA8
6afcc370ed Optimization of two string functions (size & speed). 2017-02-25 20:19:50 +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
Christian Groessler
aeee5610e1 atari_antic.inc: use "or" instead of "plus" in the usage example 2017-02-24 19:06:32 +01:00
Irgendwer
e5af45b913 Update displaylist.c 2017-02-24 11:21:56 +01:00
Irgendwer
f55d334435 Update atari.sgml 2017-02-24 11:19:33 +01:00
IrgendwerA8
ae7fa8f2ea Improved display list instruction definition for more comfortable use within void data definition. 2017-02-24 00:10:02 +01:00
Oliver Schmidt
97e64c388c Merge pull request #385 from groessler/something_to_pull
README.md: PC-Engine is a console
2017-02-22 14:28:32 +01:00
Christian Groessler
bb27d8d14e README.md: PC-Engine is a console 2017-02-22 14:25:10 +01:00
Oliver Schmidt
cbe2e3ca29 Merge pull request #383 from greg-king5/index-update
Add the Telestrat doc. to the index.
2017-02-15 23:26:50 +01:00
Greg King
39d655278d Added "telestrat.html" to index. Sorted "gamate.html". 2017-02-15 16:10:16 -05:00
Piotr Fusik
5988ec37cd Revert "Disallow global variable declarations with an initializer."
This reverts commit 1f12a06f7c.
2017-02-15 18:51:27 +01:00
Oliver Schmidt
21d94929dd Merge pull request #374 from groessler/something_to_pull2
creativision target
2017-02-15 16:03:43 +01:00
Christian Groessler
ddae920ee9 remove old joystick code 2017-02-15 15:53:57 +01:00
Christian Groessler
e6530d68dd Fix joystick driver. Add interruptor support.
Note that the joystick driver doesn't support combined movements (like
left/up or right/down). This should be fixed.
2017-02-15 15:45:49 +01:00
Christian Groessler
6df0ba5244 Merge remote-tracking branch 'upstream/master' into something_to_pull2 2017-02-15 15:43:34 +01:00
Christian Groessler
b858b0d623 Add joystick driver to documentation. 2017-02-15 15:37:06 +01:00
Oliver Schmidt
38427f84b0 Merge pull request #382 from groessler/something_to_pull
Add testcode/lib/mouse-test.c. Rename samples/mousetest.c to mousedemo.c
2017-02-15 09:50:29 +01:00
Christian Groessler
c0803ed53a fix indentation 2017-02-14 23:52:44 +01:00
Christian Groessler
ccdbb2b0e6 Add testcode/lib/mouse-test.c. Rename samples/mousetest.c to mousedemo.c.
mouse-test.c can be use to test all available mouse drivers for a given target.
Currently supported targets are Atari, C64, and C128.
To avoid confusion, rename samples/mousetest.c to mousedemo.c.
2017-02-13 22:48:34 +01:00
Christian Groessler
a5fba551d1 Merge remote-tracking branch 'upstream/master' into something_to_pull2 2017-02-13 21:38:38 +01:00
Piotr Fusik
31f19fbc65 Issue an error for duplicate global variables.
Previously it was an assembler error.
2017-02-13 21:10:21 +01:00
Piotr Fusik
730d01a25f Global uninitialized variable is only a tentative definition.
Closes #204
2017-02-13 21:04:45 +01:00
Piotr Fusik
1f12a06f7c Disallow global variable declarations with an initializer.
E.g.
extern int i = 42;
2017-02-13 19:41:05 +01:00