Oliver Schmidt
2048d6cfb5
Removed top blank line.
2017-03-18 20:57:12 +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
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
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