Steppin’ up
August 26th, 2008 by James
So, what is it that is so important to AGEMAME that it’s been in the works for months. Actually, it won’t seem like a lot at all, but it ought to make a lot of difference with respect to adding further drivers and such. Up until now, the stepper motor code has remained largely unchanged since the days of MAGE, largely being hard-coded to assume every reel-based system operated in exactly the same way. While it has been possible to add support for other wiring patterns, the actual optic systems used to read the positions had several major flaws. Firstly, setting them required the use of external functions which broke save state support and secondly, the code that sent the signal to the CPU had a very nasty bug in it when a tab was added to the ‘end’ of the reel.
To explain most of this in simpler terms, as the reel is basically a solid unit, there needs to be a way that the machine can somehow determine what face is showing at a given point. This is usually done by using a small photosensor, with a tab that breaks the beam - everything else relies on the precision of the motors. In the past, if that tab was placed at the end of the reel so that it would affect the start of the reel loop, all of the section after the end would have no effect.
Now, everything’s in a good, old-fashioned interface, with the reel type, the start point of the tab, the end point of the tab, and a ‘checking’ coil pattern if needed. Cleaner and simpler, just took a long time to plan out.
Category: AGEMAME News | No Comments »