Vic-20 mouse driver & demo program for NEOS mouse

Basic and Machine Language

Moderator: Moderators

User avatar
Kakemoms
Vic 20 Afficionado
Posts: 488
Joined: Sun Feb 15, 2015 8:45 am

Re: Vic-20 mouse driver & demo program for NEOS mouse

Postby Kakemoms » Wed Jul 05, 2017 6:01 am

groepaz wrote:1351 wont work on vic20 :/

Kakemoms: if you dont find that disassembly - even knowing what version of mouse cheese you disassembled would help (easy enough to find the mouse stuff ...)


Well, it was the C64 version that is certain. I used that as a base to understand how it worked, then simply remade it on the Vic-20. Its a simple 4-bit communication protocol.

groepaz
Vic 20 Nerd
Posts: 596
Joined: Wed Aug 25, 2010 5:30 pm

Re: Vic-20 mouse driver & demo program for NEOS mouse

Postby groepaz » Thu Jul 06, 2017 8:09 am

i have a NEOS mouse here now....and i can tell two things for sure:

- mouse cheese does neither use, nor even check, the left mouse button
- the left mouse button IS connected to fire, just like vice used to emulate it (and i am right now putting that back into VICE)

really curious now how you came to your conclusions and what exactly you disassembled there :)

edit: ok so... VICE behaves exactly like NEOS mouse now, confirmed with https://sourceforge.net/p/vice-emu/code ... ouse/neos/ (c64 test code) and https://sourceforge.net/p/vice-emu/code ... use/vic20/ (slightly modified version of your vic20 code)

cheers!

polluks
Vic 20 Newbie
Posts: 9
Joined: Sat Apr 29, 2017 4:53 pm
Website: http://www.bilskaja.de
Location: Germany
Occupation: FI

Re: Vic-20 mouse driver & demo program for NEOS mouse

Postby polluks » Sat Aug 12, 2017 7:05 am

How about a cc65 driver? :idea:
VC20 [WGA103574] + UltiMem

User avatar
plbyrd
Vic 20 Hobbyist
Posts: 118
Joined: Tue Jun 01, 2010 9:32 pm
Website: http://thesharp.ninja
Location: Clarksville, TN
Occupation: Software Engineer

Re: Vic-20 mouse driver & demo program for NEOS mouse

Postby plbyrd » Mon Aug 21, 2017 8:48 am

polluks wrote:How about a cc65 driver? :idea:


I started a joystick mouse driver for cc65 last night. Ran into a problem getting it compiled with the standard makefile, have sent an email to the cc65-devel mailing list with the details.

If I get that working then I'll take a look at this code and see about adapting it for VICE. The driver model is pretty simple.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest