Vectrex32

General Category => Feature Requests and Bug Reports => Topic started by: hcmffm on October 24, 2016, 05:49:34 PM

Title: Analog mode: 8-bit positions
Post by: hcmffm on October 24, 2016, 05:49:34 PM
Currently, in analog mode the horizontal and vertical joystick positions are 4 bit, i.e. you have 16 different horizontal and 16 vertical values. These 16 horizontal and 16 vertical values makes placing objects directly using the positions returned by the joystick impossible because there would be only a total of 256 X/Y positions which is too coarse. In other words: Games like Missile Command or Star Hawk couldn't be programmed.

The joystick has a resolution of 256 horizontal and 256 vertical positions, i.e. 8 bit. Is a change to full 8-bit horizontal and vertical joystick values possible?
Title: Re: Analog mode: 8-bit positions
Post by: Vectrex32 on October 24, 2016, 06:02:29 PM
Another one for the list.

- Bob
Title: Re: Analog mode: 8-bit positions
Post by: hcmffm on October 24, 2016, 06:06:24 PM
Quote from: Vectrex32 on October 24, 2016, 06:02:29 PM
Another one for the list.
Great, thank you!
Title: Re: Analog mode: 8-bit positions
Post by: Vectrex32 on October 26, 2016, 10:54:51 AM
I've just finished version 1.11. WaitForFrame function now supports an optional fourth argument that specifies the analog joystick resolution.

When I upgrade 1.00 cartridges, I'll be upgrading them with 1.11 (assuming a newer version doesn't come out by then).

- Bob
Title: Re: Analog mode: 8-bit positions
Post by: hcmffm on October 26, 2016, 12:17:36 PM
Quote from: Vectrex32 on October 26, 2016, 10:54:51 AM
I've just finished version 1.11. WaitForFrame function now supports an optional fourth argument that specifies the analog joystick resolution.
Cool. Thanks for your excellent responsivness and prompt action - much appreciated!  :)