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

Re: Best Apple II emulator & joystick calibration



mjmahon@aol.com (Michael J. Mahon) wrote in message news:<20021029213815.17357.00000168@mb-ch.aol.com>...
> An emulator will recognize that a joystick is being read when
> the "trigger" softswitch is accessed, and then deliver the appropriate
> values (by counting them down) when the corresponding "paddle"
> inputs are polled.  A 255 reading on a PC joystick connected to
> a PC should be reflected in the 255th paddle poll returning a
> value with the hi-bit off.  This will work for the standard monitor
> paddle read routine.
> 
> If a more general emulation is desired, then the PC joystick
> reading should be multiplied by the loop cycle count of the
> standard routine, and that count should be decremented by
> the emulated cycles since the "trigger" to determine when
> the positive value should be returned.  (This method requires
> that the emulator keep accurate count of the number of
> emulated cycles elapsed.)
> 
> In short, the emulated Apple joystick reading should track
> the actual PC joystick reading.  The modification described
> would be appropriate only if the PC joystick does not produce
> a full-scale (0-255) reading _on a PC_.
> 
> -michael
> 
> Check out 8-bit Apple sound that will amaze you on my
> Home page:  http://members.aol.com/MJMahon/

???

<confused>