[Coco] Updated mouse routines?
ooogalapasooo at aol.com
Mon May 16 13:19:33 EDT 2016
Tim, that sounds cool. Keep us posted on the progress. Though I woud still love to see a disassembly of CocoMax III :-)
"Charlie stole the handle, and the train it won't stop going, no way to slow down!" - Ian Anderson - Jethro Tull
My Music from the Tandy/Radio Shack Color Computer 2 & 3
Co-Contributor, Co-Editor for CocoPedia
Global Moderator for TRS-80/Tandy Color Computer Forums
E-Mail: ooogalapasooo at aol.com
From: tim lindner <tlindner at macmess.org>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Mon, May 16, 2016 11:38 am
Subject: Re: [Coco] Updated mouse routines?
On Mon, May 16, 2016 at 7:50 AM, Bill Pierce via Coco<coco at maltedmedia.com> wrote:> Tim, I guess that would take a full disassembly of CocoMax II or III.Actually it wouldn't take a full disassembly.Here is what I would do:Start MAME with the debugger enabled and set a watch point for $FF60.In the emulator start CoCo Max II and record where every access of$FF60 happens.I am 100% certain there would only be one subroutine that reads themouse at $FF60. If there were two or three I would be surprised. Morethan that I would think something went wrong with the sampling.Now you have the address of the routine that reads the mouse and youwould only need to disassemble around that address.But it turns out someone has already done this. On theColorComputerArchive.com website there is a copy of CoCo Max II withan alternate loader that includes a "Joystick" driver. It's a smallroutine that pages in the BASIC ROM, Jumps to [$A00A] to sample thejoysticks, reads the button and passes that information back to CoCoMax.Now all I have to do if find a place in RAM to put the hi res joystickroutine. It's fairly large and there might not be a place to put it. Ijust wanted to see if someone already has done it.-- --tim lindner"Proper User Policy apparently means Simon Says."-- Coco mailing listCoco at maltedmedia.comhttps://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco