Apple2.gs Forums
Discussions for Apple IIgs Programming and other fun stuff. // Infinitum!

Home » Apple IIgs Programming » Video Game Programming » Get Mouse Position using low level assembly language
Re: Get Mouse Position using low level assembly language [message #55 is a reply to message #45] Wed, 08 October 2014 14:27 Go to previous messageGo to previous message
Dagen is currently offline  Dagen
Messages: 27
Registered: August 2014
Location: United States
Member

I have a few questions.

I wrote some mouse code, when I was younger, that I later discovered did not work on the ROM 3 Apple IIgs, only the ROM 1. I believe the problem was that I was directly using the $C3xx address space, or something like that. Obviously, they changed the way the mouse firmware was implemented on the ROM 3.

Does this code you've posted work on all Apple IIgs machines? I assume the answer is yes.

Does this code rely on interrupts? I.e.- If we disable interrupts, will the mouse data still update?

How often does the data in the registers change? (I'm guessing I can determine this myself by looking at how quick the $C027 high bit changes)
 
Read Message
Read Message
Read Message
Next Topic: Loading Files from Disk in Assembly Language using GS/OS
Goto Forum:
  


Current Time: Wed Feb 05 20:35:01 MST 2025

Total time taken to generate the page: 0.01368 seconds