[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JACE has mouse emulation!!!



Hi,

> Interrupts should work also, but I can't tell if I've encountered something that uses interrupts or not...  :->

The mouse driver of the cc65 Apple II C library uses the VBL interrupt
and draws a mouse pointer on the text screen from within the interrupt
handler. There are two ways test that code:

- The cc65 docs contain a set of sample programs. On of them is called
mousedemo. However you'd need to build it yourself using cc65 from the
source.
- The interactive Contiki programs (i.e. the web browser) use that
mouse driver. Get Contiki here: http://a2retrosystems.com/contiki.html

You might want to make sure, that Apple GEOS works - it uses
interrupts for sure. Get it from <the usual suspect site>.

Regards,
Oliver