1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
Commit Graph

7273 Commits

Author SHA1 Message Date
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
Oliver Schmidt
287c5d6cd3 Merge pull request #380 from greg-king5/ca65-816
Fix ca65's BRK instruction for the 65816.
2017-02-13 12:39:47 +01:00
Oliver Schmidt
420bb6ee17 Merge pull request #379 from pfusik/zlib-update
Optimize inflatemem.
2017-02-13 12:34:16 +01:00
Greg King
7e8bb7b700 Fixed ca65's BRK instruction encoding for the 65816.
BRK is two bytes on all 6502 variants; but, the 65816's maker declared officially that assemblers should support an optional operand.
2017-02-12 14:54:57 -05:00
Piotr Fusik
4266e712f2 Optimize inflatemem.
The new version is 30% shorter and 10% faster.
It also avoids the indirect-X addressing mode, which was a problem for PC-Engine.
2017-02-12 11:41:11 +01:00
Oliver Schmidt
5bbf010029 Merge pull request #371 from jedeoric/master
Create an Oric Telestrat target library
2017-02-10 23:47:13 +01:00
jede
9cde534b23 Rollback for *.vcxproj, telestrat.sgml modified for "don't" instead of "did not" for telemon2.4 2017-02-09 18:46:56 +01:00
Christian Groessler
38451fa8a4 intermediate check-in -- creativision joystick driver 2017-02-08 14:34:35 +01:00
Greg King
69e3bbea7e Reverted 'Used more mundane addressing in some of the instructions in "zlib/inflatemem.s".'
This reverted some of commit e7e65044e6.
2017-02-07 07:33:27 -05:00
Christian Groessler
c33383e6de Add Creativision to README.md and html index 2017-02-06 21:06:08 +01:00
Christian Groessler
e6359ec019 Add initial creativision.sgml, contributed by Stefan Haubenthal. 2017-02-06 20:59:52 +01:00
Christian Groessler
984f901604 Merge remote-tracking branch 'upstream/master' into something_to_pull2 2017-02-06 19:32:00 +01:00
Oliver Schmidt
e581ad3633 Merge pull request #376 from groessler/something_to_pull
gamate, lynx, nes, pce: remove joy_stddrv.s
2017-02-06 19:29:46 +01:00
Christian Groessler
39a1a142e3 gamate, lynx, nes, pce: remove joy_stddrv.s
These targets don't support dynamically loaded joystick drivers.
2017-02-06 19:26:12 +01:00