1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
mrdudz
ffa83c32a4 clean-up of driver return codes 2023-02-26 20:03:41 +01:00
mrdudz
f8f901b05e remove dangling spaces 2022-04-17 16:06:22 +02:00
Greg King
0390c34e88 Changed multi-line C comments into another style.
The left side doesn't look unbalanced.
2014-06-30 16:51:07 -04:00
Oliver Schmidt
744abda24f Added library reference mouse_libref to MOU interface. 2013-06-01 00:53:17 +02:00
Oliver Schmidt
85885001b1 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
Oliver Schmidt
008b4c4e1d Replaced whole bunch for Makefiles with a single generic Makefile.
- No complex shell logic.
- "Source file shadowing" for all targets via vpath.
- Dependency handling.
- True incremental build.
- Don't write into source directories.
- Easy cleanup by just removing 'wrk'.
2013-05-04 22:10:48 +02:00
uz
285aaf8933 Patch by Stefan Haubenthal: Remove __fastcall__ in comments and/or the
function description for functions that don't take any parameters.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5573 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-04 13:08:54 +00:00
uz
b695733cda OOPS! Forgot to add the mouse_getbox and mouse_setbox modules to subversion.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4233 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 15:19:14 +00:00
uz
16e6deaf86 Changed the mouse API: mouse_box is gone, there are now mouse_getbox and
mouse_setbox instead. Beware: Current drivers will crash until they're
changed!


git-svn-id: svn://svn.cc65.org/cc65/trunk@4230 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-26 11:11:14 +00:00
uz
4812feb44b git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81 2008-08-02 22:02:54 +00:00
cuz
d1a647b073 Honor the new MOUSE_FLAG_EARLY_IRQ and MOUSE_FLAG_LATE_IRQ flags also when
uninstalling the driver.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3761 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-08-17 19:40:16 +00:00
cuz
aa217e4535 Rewrote the xxx_load routines for the drivers in assembler to save some
space.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3756 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-05 16:59:29 +00:00
cuz
4e599d372f mouse_unload didn't return a valid erro code on success.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3753 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 10:29:13 +00:00
cuz
d2097f6d75 Fixed error handling
git-svn-id: svn://svn.cc65.org/cc65/trunk@3749 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 09:59:02 +00:00
cuz
c1a38ce8f4 Fixed a problem in mouse_load_driver: The driver was not removed from memory
when the load failed.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3748 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-06-04 09:48:14 +00:00
cuz
4b8d90d2de Changed the mouse API: Introduced a new flag byte that contains information
about the driver, the mouse kernel needs to know. Current supported: Two flags
to enable interrupts before or after calling the driver INSTALL routine.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3741 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-05-21 11:25:31 +00:00
cuz
685235795c Apple 2 mouse driver and other stuff from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3717 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-06 19:51:37 +00:00
cuz
9a98194dc5 Code goes into the CODE segment, not RODATA.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3713 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-03-31 20:07:43 +00:00
cuz
840797d2d4 The mouse_buttons module was not built
git-svn-id: svn://svn.cc65.org/cc65/trunk@3653 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-20 13:13:50 +00:00
cuz
291b4edb9a Don't install the IRQ vector if mouse_install returns an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@3625 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-09-05 20:25:24 +00:00
cuz
9037886381 New function mouse_geterrormsg()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:41:18 +00:00
cuz
3088254f57 Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:24:33 +00:00
cuz
ea75fef1bf Disable the IRQ before calling mouse_uninstall
git-svn-id: svn://svn.cc65.org/cc65/trunk@3273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 12:58:43 +00:00
cuz
303304fe90 Add definitions for tools so the makefile is useful by itself.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3262 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 19:28:26 +00:00
cuz
f77feb7452 Added the mouse_move module
git-svn-id: svn://svn.cc65.org/cc65/trunk@2998 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-04-28 12:06:14 +00:00
cuz
663bce6cd7 Change MOVE routine calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2965 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-29 16:44:39 +00:00
cuz
461696e15f Wrapper for mouse_box
git-svn-id: svn://svn.cc65.org/cc65/trunk@2955 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 21:49:37 +00:00
cuz
e5854b0d7a Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2954 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-23 20:37:40 +00:00
cuz
3bfbaee6a6 Working on loadable mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2953 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-21 22:12:06 +00:00
cuz
278b62832e New mouse show/hide routines
git-svn-id: svn://svn.cc65.org/cc65/trunk@2934 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-16 19:27:48 +00:00
cuz
f0250724a1 Working on the mouse stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2879 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-02-02 12:26:50 +00:00
cuz
d428d3cec7 More mouse functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@2859 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-30 19:14:17 +00:00
cuz
904780547c More mouse stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@2856 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-30 08:08:07 +00:00
cuz
30d99a4d56 New loadable mouse drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@2851 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-28 21:25:15 +00:00