Commit Graph

33 Commits

Author SHA1 Message Date
Bob Andrews 092c0a6531
Update lynx.h
remove TGI_COLOR_DARKBROWN
2022-07-20 23:54:57 +02:00
Kevin Pulo 3ef8dd3c0c lynx: fix TGI_COLOR_DARKBROWN 2022-06-16 15:06:02 +10:00
Bob Andrews e0cc3650e4
Merge branch 'master' into missing-purple 2022-05-17 15:34:51 +02:00
Karri Kaksonen 4e406b744c Mark index 0 as TRANSPARENT. Let palette start from index 1 2022-02-24 08:50:36 +02:00
polluks 8e60102e8e Removed the colour purple
This commit may break compatibility.
2022-02-02 00:58:50 +01:00
polluks a29a1b0a59 Added more purple (rain) 2022-01-31 02:18:01 +01:00
Oliver Schmidt 935f68f686 Harmonized the style of including headers from headers.
We surely don't care about some file I/O on host machines in 2018 ;-)
2018-02-02 12:28:22 +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
Pascal de Bruijn c802c9c946 joy: refactor generic joy_masks array indices and macros 2017-07-23 23:45:52 +02:00
Greg King a798b1d648 Made __fastcall__ be the default calling convention for non-variadic functions. 2015-03-10 05:53:52 -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
karri 0ac072b290 Add lynx_snd_stop_channel
git-svn-id: svn://svn.cc65.org/cc65/trunk@5978 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-28 19:43:10 +00:00
karri 6325769580 Add lynx_snd_active
git-svn-id: svn://svn.cc65.org/cc65/trunk@5975 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-28 17:50:59 +00:00
karri dc776e1303 rename lynx_snd_pause
git-svn-id: svn://svn.cc65.org/cc65/trunk@5952 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-12-17 17:50:28 +00:00
karri 1a9c23616b Add sound routine support
git-svn-id: svn://svn.cc65.org/cc65/trunk@5946 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-12-11 06:27:14 +00:00
karri 2c5e0f13a1 Remove duplicate definition for sprites
git-svn-id: svn://svn.cc65.org/cc65/trunk@5937 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-17 08:23:38 +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
karri 771cb7eb76 Fix typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@5868 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 11:54:31 +00:00
karri 88742eaa8e Cammys optimized Lynx palette
git-svn-id: svn://svn.cc65.org/cc65/trunk@5867 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 10:07:41 +00:00
karri d701efef12 Add Lynx hardware chip access
git-svn-id: svn://svn.cc65.org/cc65/trunk@5854 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-16 08:03:36 +00:00
uz cc3424a545 Access routines for different eeprom types. By Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4994 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 18:42:50 +00:00
ol.sc 9a1f73e8f5 Added TGI colors (simply based on the conio colors).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4989 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-20 12:50:38 +00:00
uz d993b332a4 Lynx update including file routines that access a file system on a cartridge
by Karri Kaksonen.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4892 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-12-29 10:37:57 +00:00
uz a3493d5e72 New versions that match the current TGI API by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4888 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-12-20 07:20:49 +00:00
uz 36cf23680c MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep
the interface more uniform between the driver APIs.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-11 14:33:53 +00:00
uz 33af076cfc Lynx TGI driver update by Karri Kaksonen. Adds collision detection.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4393 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-26 19:28:11 +00:00
uz d42ce3b59e Lynx updates by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-01 14:09:19 +00:00
uz 3a3eaf99cb Lynx changes by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4181 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-17 09:32:05 +00:00
uz c9de0e6841 Lynx changes by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4164 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-13 13:37:44 +00:00
cuz 3c678ec2cc Added eeprom routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@3248 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-14 17:31:23 +00:00
cuz e929099e10 New header file for the lynx
git-svn-id: svn://svn.cc65.org/cc65/trunk@3239 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-11 07:18:47 +00:00