Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Spinner resolution and Revenge of DOH  (Read 18250 times)

0 Members and 1 Guest are viewing this topic.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:Yesterday at 01:59:43 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Spinner resolution and Revenge of DOH
« Reply #40 on: November 17, 2006, 02:23:04 pm »
Also, tooth count on one does not always equal tooth count on another, as it can be interpreted at 1x, 2x or 4x depending on the hardware.  DOH appears to be using 2x, while Arkanoid uses 1x.

Sorry, you're losing me on this "hardware" thing...  they both have identical hardware (a 2 led spinner) connected to the L and R of a jamma harness.  To me, this means that there are the same number of pulses being sent to the PCB per revolution.  As Doh does not jump more than one pixel at a time, I would argue that DOH uses 1x and Arkanoid uses 1/2x on the software side...  2x seems, to me, to indicate that DOH skips, which it doesn't. 

A quadrature based optical device (spinner, mouse, trackball) can deliver up to 4x the number of apertures (teeth) in actual movement data.  This is real data, not interpolated.  But to get 4x, the hardware needs to be very fast, as the computations are more complex than the ones to get 2x the movement data, with 1x being the simplest.

Someone please correct me if I'm wrong, because this will skew the conclusions immensely, but from what I have heard discussed, the Arkanoid spinner has no logic on board and is just sending pulse data as any other spinner would.  That means that there has to be a piece of hardware (with appropriate firmware) somewhere further up the chain that converts these pulses to movement data.  The pulse waveforms are the same in both instances, but how they are interpreted is apparently different between the two machines.  Because DOH has a smaller range of movement over the same travel of the Vaus, it indicates that more movement data is present and being acted upon than in Arkanoid.

Some of this research on Arkanoid was done by 2600 and u_rebel, and at the end of the day it was decided that Arkanoid used a 1x decoding based on the code of the ROM.  When all of the numbers are crunched, (number of apertures, screen res, number of Vaus positions, ect) this adds up to 132 degree knob turn to 1 screen traverse.  If DOH has a 66 degree turn to screen traverse, which is in line with your observation on the real hardware, then it stands to reason that the code in DOH is acting on twice the amount of movement data as Arkanoid, given that all other factors are equal.

What does this mean for us?  If we know that Arkanoid needs a modern (4x decoding) spinner with at least 122 apertures, then we can assume that DOH requires one with 244 apertures minimum for absolute authentic gameplay.  Christian was correct in stating that the first version of the TurboTwist is below this number.  That means that in order to play DOH at the 66 degree knob turn to screen traverse relationship, the MAME sensitivity level would need to be increased to 187%, which is fortunately within MAME's sensitivity scale, but increases the granularity of movement (skips every other on-screen position).  In all fairness, it should also be mentioned that other spinner controls with apertures in the 48 to 50 range would require a sensitivity setting in the 500% area, which is twice what MAME allows, but even if it were possible, would cause the Vaus to jump 5 positions at a time.

The other option with either variety of spinner is to not introduce granularity issues, rather change the amount of movement required at the knob.  WIth DOH, using a spinner with a 130 aperture encoder wheel at 100% (no position skipping) would change the knob range to 124 degrees, which is a little smaller than that of Arkanoid, which makes it playable, but not authentic.  However a spinner with 50 apertures would require a range of 320 degrees (again, with no position skipping) which is almost one complete revolution to get the Vaus from one side of the screen to the other.  As one would expect, there is a larger issue there.

The best approach to handle this situation, outside of buying a new spinner, would probably be to find an area in-between larger granularity and movement range that you feel you can live with. 

Is the hardware truly identical or could the gearing be different?

Consider that the # of apertures passing by is what makes a difference (and sample rate of course)? For example, you could have a large wheel that spins at one rate, or have a very small wheel with less holes in it, geared such that it spins very fast and the result is the same # of apertures passing over the sensor...

Another possible variable, but my hunch is that they are the same.  Re-tooling costs money and DOH is faster paced, so the original control is probably the same, just being decoded at 2x.

I am confused about what you are confused about....It seems that you figured everything out in that Doh uses 2x and Arkanoid uses 1x....And davieboynj has basically confirmed it by testing his boards.

I've been following the thread, but I'm not sure what else are you looking for?

I'm not confused or looking for anything else.  I've been at that conclusion for a while.  However, I think there might only be a handful of people reading this that even know what 1x and 2x mean in this context.  It's my intention to bring other readers along for the ride so they understand what all this is about, and why it can be important.   Without all of the numbers, there's no way to think about it.  Putting the numbers together is what took the time (and I'm trying to be as accurate as I can :) )


Sorry if I went back over what 2600 and U_rebel wrote.  This has been in the editor for a while and I'm not going back and changing it ;)  Also, I modified a couple of numbers after going back through my notes.  This should be pretty accurate, but if someone finds otherwise, please feel free to jump in.


Thanks,
RandyT

« Last Edit: November 17, 2006, 03:13:38 pm by RandyT »

davieboynj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 269
  • Last login:June 16, 2011, 01:32:09 am
  • Eating your legs solves lifes little problems.
Re: Spinner resolution and Revenge of DOH
« Reply #41 on: November 17, 2006, 03:06:54 pm »
definitely helpful...  i had no idea that the decoder was solely on the pcb, and that different read methods could make higher resolution from the same number of teeth.  right there that clears pretty-much everything up. 

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:June 17, 2025, 04:07:55 pm
  • Who the heck is that?
Re: Spinner resolution and Revenge of DOH
« Reply #42 on: November 17, 2006, 11:50:58 pm »
Someone please correct me if I'm wrong, because this will skew the conclusions immensely, but from what I have heard discussed, the Arkanoid spinner has no logic on board and is just sending pulse data as any other spinner would. 

I can confirm that one for you.  Nothing on the optical PCB but the emitter/receiver pairs and a resistor or two.  I have to assume both games used the same hardware, as I'm pretty sure Doh was sold as a conversion kit for Arkanoid.

CheffoJeffo

  • Cheffo's right! ---saint
  • Wiki Master
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7784
  • Last login:July 14, 2025, 12:11:49 pm
  • Worthless button pusher!
Re: Spinner resolution and Revenge of DOH
« Reply #43 on: November 18, 2006, 11:56:43 am »
I could be a kiss A*S and jump in here 24/7 like RandyT does answering every possible question with a helpful answer
.
.
.

Don’t get a fat head Randy, there aren’t many of them.

Oh, so it is better to BE an A*S and jump in without helpful answers ?

Don't BE a fat head, Christian.

Cheers.
Working: Not Enough
Projects: Too Many
Progress: None

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:Yesterday at 01:59:43 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Spinner resolution and Revenge of DOH
« Reply #44 on: November 19, 2006, 08:07:33 am »


Next question;

Who has an Arkanoid control with the original knob still on it?


What is the diameter?


Thanks,
RandyT

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:June 17, 2025, 04:07:55 pm
  • Who the heck is that?
Re: Spinner resolution and Revenge of DOH
« Reply #45 on: November 19, 2006, 11:46:59 pm »


Next question;

Who has an Arkanoid control with the original knob still on it?


What is the diameter?


Thanks,
RandyT

I'll see if I can't dig it out later tonight.

TPB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 470
  • Last login:March 01, 2021, 09:12:52 pm
Re: Spinner resolution and Revenge of DOH
« Reply #46 on: March 02, 2007, 03:31:34 am »


Next question;

Who has an Arkanoid control with the original knob still on it?


What is the diameter?


Thanks,
RandyT

I'll see if I can't dig it out later tonight.

Was an answer for this established ??

I'm wondering how the knob diameter compares with the Big Blue or TokenTop knobs on Randy's TurboTwist 2 spinner.

FrizzleFried

  • no one listens to me anyway.
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5145
  • Last login:March 07, 2025, 10:44:09 am
    • Idaho Garagecade
Re: Spinner resolution and Revenge of DOH
« Reply #47 on: March 02, 2007, 09:52:46 am »
...with the recent discussion of SlickSlick's forum being closed,  I find the irony of this post popping up to be as thick as it comes.   I wonder if Christian has any opinions of the TT2 or the Token Knob now?

I too would like to know why DOH's speed doubled on an Arkanoid knob when switching between the two?

Visit my arcade blog at: www.idahogaragecade.com (Updated 10-28-21)

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Spinner resolution and Revenge of DOH
« Reply #48 on: March 02, 2007, 07:45:02 pm »
I too would like to know why DOH's speed doubled on an Arkanoid knob when switching between the two?

We've talked about this before on this forum, but to rehash:

The optical "sensor" produces a "Quadrature" signal.  The quadrature has four possible states for every move equal to one tooth-gap combo.  Arcade spinners (almost always) send the raw quadrature signal directly to arcade PCB.  Quadrature can be decoded at 1x, 2x or 4x per cycle (or per tooth).  The newer DOH PCB can decode at 4x, while the older Arkanoid PCB decodes at 2x.  Thus the "same" hardware can have different speeds.


FWIW, in very general terms, the very old arcade hardware could decode at 1x (atari football, pole position, etc), all the modern hardware decode at 4x (including PC mice), and 2x was the stepping stone.  The changes started in the early 80's with the then-new games at either 1x or 2x.  The late 80's to mid 90's saw 2x & 4x.

PC mice are different in that they decode the quadrature signal and send the decoded info to the PC.  Except for rarely usued protocols like BusMouse; IOW serial, PS/2, & USB decode in-mouse.  PS/2 & USB have always been 4x.  (I don't know about serial always being 4x, but I'm pretty sure it was.)
Robin
Knowledge is Power

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:Yesterday at 01:59:43 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Spinner resolution and Revenge of DOH
« Reply #49 on: March 03, 2007, 09:45:25 am »
The newer DOH PCB can decode at 4x, while the older Arkanoid PCB decodes at 2x.

Wouldn't that be DOH at 2X and Arkanoid at 1X?

Quote
PS/2 & USB have always been 4x.  (I don't know about serial always being 4x, but I'm pretty sure it was.)

This is not always a given across the axes.  With some "off the shelf" mouse controller chips, the Z is decoded at 2x, while X and Y are at 4x. 

RandyT

« Last Edit: March 03, 2007, 09:52:22 am by RandyT »

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:June 17, 2025, 04:07:55 pm
  • Who the heck is that?
Re: Spinner resolution and Revenge of DOH
« Reply #50 on: March 04, 2007, 12:29:12 am »


Next question;

Who has an Arkanoid control with the original knob still on it?


What is the diameter?


Thanks,
RandyT

I'll see if I can't dig it out later tonight.

Was an answer for this established ??

I'm wondering how the knob diameter compares with the Big Blue or TokenTop knobs on Randy's TurboTwist 2 spinner.



Ended up answering it in another thread:


These look awfully nice, good job on the button-hole mounting setup.  Stellar idea!

(Hey Kremmit!  How about that knob measurement from the original?  Heh)

RandyT


Oops, sorry, forgot about that.  Been really busy lately, blah blah blah.  I don't have any calipers handy, but my super-scientific eyeball and tape measure says it's one and 9/16 inches; or 40mm.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Spinner resolution and Revenge of DOH
« Reply #51 on: March 05, 2007, 03:06:39 pm »
The newer DOH PCB can decode at 4x, while the older Arkanoid PCB decodes at 2x.

Wouldn't that be DOH at 2X and Arkanoid at 1X?

D'oh!  ;D

Quote
Quote
PS/2 & USB have always been 4x.  (I don't know about serial always being 4x, but I'm pretty sure it was.)

This is not always a given across the axes.  With some "off the shelf" mouse controller chips, the Z is decoded at 2x, while X and Y are at 4x. 

Right.  I forget the Z axis when I find it convenient. ;)
Robin
Knowledge is Power