Re: [cc65] Question regarding mouse driver

From: Greg King <gngking1erols.com>
Date: 2005-10-05 11:38:24
From: Oliver Schmidt; on Wednesday, October 05, 2005; at 02:57 AM -0400
>
> I'm currently working on a mouse driver for the Apple2. I'm unable
> to detect, from the existing driver sources, resp. the demo program,
> if a driver is expected to initialy show or hide the mouse after
> loading/initializing.

Look at the INSTALL: subroutine in "cc65/libsrc/c64/c64-1351.s".  Some
comments in the middle of that routine tell you what the code must do.
"Invisible" means "hidden" (in case anyone didn't know), and the default
location usually is at the center of the screen.

You probably can copy that driver's INSTALL: code into your driver, as is.
If you need to do anything else (such as, enable a peripheral card), then
you should do it in front of that copied code.

(I'm looking forward to seeing how you move the mouse cursor.)
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Oct 5 11:48:28 2005

This archive was generated by hypermail 2.1.8 : 2005-10-05 11:48:30 CEST