1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Greg King
3890492a9b Added a JOY_FIRE() macro to the Atmos and Telestrat C headers. 2020-05-28 09:59:21 -04:00
Stefan
2fd99e9dec
Missing declaration 2017-11-09 17:36:21 +01:00
Oliver Schmidt
7f52a770d9 Removed joy_masks array.
So far the joy_masks array allowed several joystick drivers for a single target to each have different joy_read return values. However this meant that every call to joy_read implied an additional joy_masks lookup to post-process the return value.

Given that almost all targets only come with a single joystick driver this seems an inappropriate overhead. Therefore now the target header files contain constants matching the return value of the joy_read of the joystick driver(s) on that target.

If there indeed are several joystick drivers for a single target they must agree on a common return value for joy_read. In some cases this was alredy the case as there's a "natural" return value for joy_read. However a few joystick drivers need to be adjusted. This may cause some overhead inside the driver. But that is for sure smaller than the overhead introduced by the joy_masks lookup before.

!!! ToDo !!!

The following three joystick drivers become broken with this commit and need to be adjusted:
- atrmj8.s
- c64-numpad.s
- vic20-stdjoy.s
2017-08-19 19:11:28 +02:00
Greg King
6589288a04 Exposed, to C code, the names of the Atmos ROM's sound effect functions. 2013-08-06 11:12:30 -04:00
Oliver Schmidt
85885001b1 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
Oliver Schmidt
44fd1082ae Adjusted C declarations to the changed static driver names. 2013-05-09 10:20:03 +02:00
uz
ee5216f69b Patch by Greg King: Added the new graphics driver's name to the Atmos header.
Added its description to the Atmos document.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5962 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-09 20:25:05 +00:00
uz
0a5bf82797 Patch by Greg King: Added TGI_COLOR_* definitions to the Atmos C header file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5957 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-07 19:33:23 +00:00
ol.sc
fa6dae8fa9 Added declarations for target-specific static drivers being part of the C library.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5925 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-07 23:20:58 +00:00
ol.sc
ca2ba14bbe Added option to build samples with statically linked drivers - and have the targets use it by default which don't support dynamically loaded drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 22:01:51 +00:00
uz
293c279416 Tape load and save functions for the Oric Atmos. By Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5660 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-05-28 11:11:39 +00:00
uz
787dc1a5dc Additional key definitions for the Oric Atmos. By Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5532 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-19 17:50:57 +00:00
uz
9d27fe053b Function key support be Stephan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-24 16:36:34 +00:00
cuz
0358a14d1f Additional I/O chips added by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@2923 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-13 22:51:29 +00:00
cuz
84be05bd55 Add ORIC Atmos support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2048 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-04-13 22:12:40 +00:00
cuz
8d8ec57003 Added atmos.h from Jede
git-svn-id: svn://svn.cc65.org/cc65/trunk@1299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2002-06-04 07:03:38 +00:00