User Login    
 + Register
  • Main navigation
Login
Username:

Password:


Lost Password?

Register now!
Who's Online
20 user(s) are online (3 user(s) are browsing Scene News)

Members: 2
Guests: 18

maxpayne, Oznercall, more...

Headlines


Avoid Spikes
  Updated 1970/1/1 10:00:00
Description
Webmaster Knarfian
Category
Generator Blogger
Language
And so it begins...
Published:
Description: ..the Great Garage Cleanout of 2010 that is.<br /><br />Well, I have to make room, so the arcade games are starting to go.&nbsp; Gremlin "Comotion" and Midway "Extra Bases" were parted out today.&nbsp; The dead husks are sitting out at the curb as I type.&nbsp; I kept the PCB's and took some last photos which I'll add a little later.<br /><br />These were both used to develop the MAME drivers.&nbsp; I created "blockade.c" based on Comotion and some schematics from Al Kossow.&nbsp; The Midway "Extra Bases" cocktail contained a Black and White monitor, which was interesting because the game at that time was in color in MAME.&nbsp; It turns out that the game had a dip switch, which could either drive a Black and White monitor directly with the Luminance output, or in another configuration, drive the color conversion board and play the game in color.&nbsp; This was sort of "unknown" or at least not well known at the time in the MAME circles.<br /><br />Ironically, as I pulled the monitor out of the "Extra Bases", I noticed it had some burn-in from "Blockade", which is basically the same hardware as "Comotion".&nbsp; (Obviously not the original monitor)<br /><br />These two games were bought from two different places, but being of similar vintage I guess I shouldn't be surprised.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-6229800278737328923?l=avoidspikes.blogspot.com' alt='' /></div>
Vintage Gaming Party @ Penguicon
Published:
Description: I am planning to have a hotel room party at<a href="http://www.penguicon.org/">Penguicon</a>this year, bringing my old game consoles out of storage.&nbsp; (Actually two parties, one on Friday and one on Saturday, if all goes well.)&nbsp;<br /><br />I started by testing out a Coleco "Telstar" Pong and the Atari 2600 yesterday.&nbsp; You can see my team of playtesters trying out some "big-screen" Pong action here:<br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_SPRqOa-SbKU/S8iKECqtfXI/AAAAAAAAABE/koke1-_gwDU/s1600/pong.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_SPRqOa-SbKU/S8iKECqtfXI/AAAAAAAAABE/koke1-_gwDU/s320/pong.jpg" /></a></div><br /><br />Here is just a taste of the excitement in store... :)&nbsp; Next I'll be pulling out the Intellivision, Vectrex, and whatever else I can dig up.&nbsp; If anyone has some smallish TV's (preferable analog!) they want to loan for the weekend, I could probably use them.<br /><br />Perhaps I'll throw in some Apple II games, or some other system emulators. Moria/Angband?&nbsp; Text Adventures?&nbsp; Trek?&nbsp; Am I crazy enough to bring in a full-sized arcade game?&nbsp; The possibilities are endless, but the hotel room is not, unfortunately.&nbsp; If only I had a TARDIS...<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-6356002487517915257?l=avoidspikes.blogspot.com' alt='' /></div>
The Mathematics of Calendar Reform
Published:
Description: <div class="separator" style="clear: both; text-align: left;"></div><br />The Gregorian Calendar is inconsistent, and there is only so much we can do about it. The earth takes about 365.24 days to go around the sun. The number of days in the year are nicely controlled with leap years and leap seconds, to make this work out.<br /><br />We have a tradition of the 7-day week. We have a tradition of months which are 28 or 30 or 31 days long. But worst of all, each year starts on a different day of the week, forcing us all to have new calendars each year.<br /><br />So, can we do better? Sure we can. Let's look at the numbers:<br /><br />First, every number can be expressed as a series of primes multiplied together, called a "prime factorization".<br /><br />365 = 5*73<br /><br />Yuck. Well, if we want 5 seasons of 73 days each, we are all set. I don't think so :)<br /><br />364 = 2*2*7*13<br /><br />This has potential. We could have 7 day weeks, 4 weeks in a month, and 13 months. Plus one day every year which is outside the "days of the week". A kind of yearly holiday for the 365th day. And on leap years, we need one more day like this. Then, every year would have the same pattern. Indeed, these kinds of 13-month systems have been proposed, and even used occasionally. The most recent version is probably this one:<br /><br />http://en.wikipedia.org/wiki/International_Fixed_Calendar<br /><br />I admit they are probably the most elegant, but I think the world will not readily switch to 13-month calendars.<br /><br />So, we have two other choices. Give up months altogether, and go with 7*13 = 91 day quarters. This has also been proposed:<br /><br />http://en.wikipedia.org/wiki/World_Season_Calendar<br /><br />The other choice is to stick with three months in a quarter, with one month getting 31 days and the other 2 getting 30 days. I tend to think this is the most reasonable course of action. Here is a calendar system that works this way:<br /><br />http://en.wikipedia.org/wiki/World_Calendar<br /><br />Now, so others have proposed that, instead of having a day or two each year outside of the week, we should stick with 7-day weeks all year, but change the number of weeks per year to keep the calendar with the right "average days per year". These so-called "leap-week" calendars are interesting, but I think they would tend to drift a little too far from the astronomical events for my tastes. The first day of each season would drift around by a few days each year.<br /><br />Anyways, for more info on this subject, look up "Calendar Reform"<br /><br />Two good sources are wikipedia:<br />http://en.wikipedia.org/wiki/Calendar_reform<br />and this one:<br />http://personal.ecu.edu/mccartyr/calendar-reform.html<br /><br />I'm in favor of The World Calendar, how about you?<br /><br /><div class="separator" style="clear: both; text-align: left;"><a href="http://2.bp.blogspot.com/_SPRqOa-SbKU/S7czfkfWE8I/AAAAAAAAAA8/wsnx71qIo3Q/s1600/calendar.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_SPRqOa-SbKU/S7czfkfWE8I/AAAAAAAAAA8/wsnx71qIo3Q/s320/calendar.png" /></a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-7786294054971760429?l=avoidspikes.blogspot.com' alt='' /></div>
Speed Coin
Published:
Description: I've had almost no time to finish Space Raider lately, so I thought I'd talk about the history of a game I own - Speed Coin.<br /><br /><img src="http://www.avoidspikes.com/dsplib/personal/pictures/medium/DCP00034.JPG" /><br /><br />As far as I know, I'm the only one with a Speed Coin cabinet. It's definitely a prototype, as the cabinet is made of nice plywood and not particle board. Also, the marquee and control panel are made of colored paper, colored electrical tape, and a blown-up xerox copy of a coin face. My understanding is that it came from Stern when it shut down.<br /><br />The boardset is a Scramble, with hand-labelled ROM chips inside. Also, the wiring harness is different, since it only requires a 2-way joystick.<br /><br />When I went to plug this into the Scramble driver in MAME (back in 1999!), I was stymied by the fact that the background was blue in MAME, but black on the "real thing". I traced through the PCB only to find that the monitor was adjusted with the blue gun turned off! When I adjusted it, it matched MAME exactly.<br /><br />In case you are wondering about the sound, the music sounds kind of muted and noisy on the real thing, just like in MAME.<br /><br />Last year, I was stunned to play Speed Coin in an arcade in Nashville, Tennessee. It turns out the<A href="http://www.ultracade.com/">Ultracade</A>guys added that game to their Multigame system, under "Arcade Classics"?!. I'm sure they used the ROM images I dumped in my basement, and here it was on a machine in another city. Pretty strange feeling.<br /><br />I really don't think it's a classic. More like "Arcade Relics". :)<br /><br />Oh well, I'll get back to Space Raider this weekend, hopefully. I have a newly-found JAMMA harness and a brand new<A HREF="http://www.jrok.com/hardware/RGB.html">RGB-to-TV adapter</A>which should make things easier. With that, I'll be able to take screenshots from actual boards, and compare them with MAME.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-111705215354316012?l=avoidspikes.blogspot.com' alt='' /></div>
Blockbuster 'n4 - by Elcon Industries
Published:
Description: <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_SPRqOa-SbKU/S6WKvT7xssI/AAAAAAAAAAM/YNPMb3i0BnM/s1600-h/fullview.jpg"><img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 239px; height: 320px;" src="http://2.bp.blogspot.com/_SPRqOa-SbKU/S6WKvT7xssI/AAAAAAAAAAM/YNPMb3i0BnM/s320/fullview.jpg" alt="" id="BLOGGER_PHOTO_ID_5450915469411332802" border="0"></a><br /><br />I'm going to be getting rid of some of my videogames. They take up too much space, and I'm never going to get around to repairing them all. This one is from a company called Elcon Industries, formerly of Royal Oak, MI. It is a discrete logic game (I assume), with 5 different games available. (The marquee actually says "Blockbuster +4", which makes more sense.)<br /><br />I assume these are all variations on Pong/Breakout/etc. As you can see, it's not working properly, but it does run through the "attract mode" on power up.<br /><br /><br /><object width="320" height="266" class="BLOG_video_class" id="BLOG_video-7c9f6dcecc4c1dd3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="movie" value="http://www.youtube.com/get_player"><param name="bgcolor" value="#FFFFFF"><param name="allowfullscreen" value="true"><param name="flashvars" value="flvurl=http%3A%2F%2Fv14.nonxt2.googlevideo.com%2Fvideoplayback%3Fid%3D7c9f6dcecc4c1dd3%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1285699765%26sparams%3Did%252Citag%252Cip%252Cipbits%252Cexpire%26signature%3D6E98D50F0AD9EF4BC919BA634F1616F94A84861B.2ACBE6CC463D3F7EFAC3CC46F8DE2763598FF4EE%26key%3Dck1&amp;iurl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3D7c9f6dcecc4c1dd3%26offsetms%3D5000%26itag%3Dw160%26sigh%3DBf9rTWo9-MtGy855OeXDCrmSj-0&amp;autoplay=0&amp;ps=blogger"><embed src="http://www.youtube.com/get_player"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http%3A%2F%2Fv14.nonxt2.googlevideo.com%2Fvideoplayback%3Fid%3D7c9f6dcecc4c1dd3%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1285699765%26sparams%3Did%252Citag%252Cip%252Cipbits%252Cexpire%26signature%3D6E98D50F0AD9EF4BC919BA634F1616F94A84861B.2ACBE6CC463D3F7EFAC3CC46F8DE2763598FF4EE%26key%3Dck1&iurl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3D7c9f6dcecc4c1dd3%26offsetms%3D5000%26itag%3Dw160%26sigh%3DBf9rTWo9-MtGy855OeXDCrmSj-0&autoplay=0&ps=blogger"allowFullScreen="true" /></object><br /><br />I'm wondering if this is an original game, or a clone of an existing one?<br /><br />You can see some graphics glitches, but it is kind of interesting. The Cosmic Attackers game I have from the same company had a Sega Space Attack PCB inside.<br /><br />Here are some more stills:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_SPRqOa-SbKU/S6WMLlvK2NI/AAAAAAAAAAU/EEsVR5rF0P8/s1600-h/frontview.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 239px;" src="http://4.bp.blogspot.com/_SPRqOa-SbKU/S6WMLlvK2NI/AAAAAAAAAAU/EEsVR5rF0P8/s320/frontview.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5450917054738258130" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_SPRqOa-SbKU/S6WMmK5pFsI/AAAAAAAAAAc/oD5dlAfHYVw/s1600-h/attract1.jpg"><img style="cursor:pointer; cursor:hand;width: 239px; height: 320px;" src="http://1.bp.blogspot.com/_SPRqOa-SbKU/S6WMmK5pFsI/AAAAAAAAAAc/oD5dlAfHYVw/s320/attract1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5450917511390893762" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_SPRqOa-SbKU/S6WM74eELiI/AAAAAAAAAAk/mQBkziY3g70/s1600-h/attract2.jpg"><img style="cursor:pointer; cursor:hand;width: 239px; height: 320px;" src="http://3.bp.blogspot.com/_SPRqOa-SbKU/S6WM74eELiI/AAAAAAAAAAk/mQBkziY3g70/s320/attract2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5450917884400512546" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_SPRqOa-SbKU/S6WNC4NyRHI/AAAAAAAAAAs/9nUjYWub6AI/s1600-h/attract3.jpg"><img style="cursor:pointer; cursor:hand;width: 239px; height: 320px;" src="http://1.bp.blogspot.com/_SPRqOa-SbKU/S6WNC4NyRHI/AAAAAAAAAAs/9nUjYWub6AI/s320/attract3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5450918004591314034" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_SPRqOa-SbKU/S6WNIIerIyI/AAAAAAAAAA0/BK4PnIoacGI/s1600-h/attract4.jpg"><img style="cursor:pointer; cursor:hand;width: 239px; height: 320px;" src="http://3.bp.blogspot.com/_SPRqOa-SbKU/S6WNIIerIyI/AAAAAAAAAA0/BK4PnIoacGI/s320/attract4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5450918094856463138" /></a><br /><br />You can see that it also has a few bulbs which light up some game description text, and there is also a single "seven-segment"-style display for good measure. I'm not sure what that is for.<br /><br />I'd love to hear from you if you have any info on this game, or others like it, or info on Elcon Industries, or ideas on what to do next :)<br /><br />I don't have the key to the back of the cab, and I haven't "broken into" the back to take a look at the circuit board yet. I think that might be the next step.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-1083275074570693680?l=avoidspikes.blogspot.com' alt='' /></div>
Math problem #1 - piecewise approximating functions
Published:
Description: I'm the kind of person that can get very interested in things that others might not notice. For me, his seems to occur from time to time with math problems. I'll be thinking about an engineering problem, and I will get caught up with some mathematical aspect of it. Usually, it's some problem which is easy to state but not obvious to solve. (Then again, I'm not a mathematician)<br /><br />Over the years, I've gathered up a list of these problems. And now, I'd like to share some of them on this blog. I hope some of you, at least, will find them as interesting as I do.<br /><br />---<br /><br />Today's problem is fairly simple to state - and I thought about it for the first time many years ago. Suppose I have a continuous function y=f(x), defined on an interval from x0 to xn. I know _everything_ there is to know about the function. Now, for some reason, I need to approximate the function using a "piecewise-linear" function. This is just a set of straight lines connected together at "break" points. (You can also think of this as an approximation based on splines.)<br /><br />For say, a fixed number of break points, what is the "best" way to approximate the function? (BTW - this is something that is practically done all the time, in embedded computer programs, using "table lookups" to approximate functions)<br /><br />Some clues:<br /><br />For a given set of breakpoints located at each x_i, you can start by picking the breakpoints at (x_i, f(x_i)). In other words, points on the curve f(x), and connecting the points with straight lines. However, you will quickly notice that the approximation is biased, based on the concavity of the curve.<br /><br />A better way for a given set of points at x_i, is to solve the linear least-squares problem to find the optimal y values, which minimize the error between the approximate curve and the actual one.<br /><br />But the key question seems to be - how do I locate my points in x? I see no easy way to do this, without non-linear iteration. It seems strange that it is trivial to locate the points in Y given X values, but hard to locate the X values. I can imagine some heuristic rules like "I should use more breakpoints where the function is 'curvier'". But it's not at all clear what this means :) Maybe I need to think about the meaning of "best" a bit more.<br /><br />So, to summarize, we have a situation where we have a function which we know everything about, and a simple space of approximating functions, but we seem unable to match the two together, without resorting to nonlinear iteration.<br /><br />If this one is too easy for you, feel free to handle extensions to this problem with higher order piecewise splines, and/or multidimensional functions. :) I can imagine practical applications for a good algorithm in this area.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-6565849977356832709?l=avoidspikes.blogspot.com' alt='' /></div>
Yikes - more than 2 years without blogging!
Published:
Description: Not the kind of anniversary I wanted to celebrate. Anyways, I'm in the middle of a move to a new house, and work is heating up. So, hopefully around October, things will settle down...and I will try to post something more regularly.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-1845367338316564419?l=avoidspikes.blogspot.com' alt='' /></div>
The Road to Reality
Published:
Description: I have been interesting in Physics as a hobby for a very long time. Back in the mid-90's, I was reading about Quantum Mechanics and Relativity on a fairly regular basis. I had to really dig to find books that were deeper than a purely "popular" treatment, but not so deep that an engineer could actually make sense of them. Some math, not all math.<br /><br />Having been trained as an engineer is "almost enough" to handle "some" of the math, but I ended up with an awfully long road ahead. I eventually got a bit discouraged, but never quite gave up. (Emulation came along and I got a bit distracted for a number of years.)<br /><br />In 2004<a href="http://en.wikipedia.org/wiki/Roger_Penrose">Roger Penrose</a>wrote a giant book on Math and Physics, call<a href="http://www.amazon.com/exec/obidos/tg/detail/-/0679454438/">"The Road to Reality: A Complete Guide to the Universe"</a>. It is a highly mathematical, modern treatment, but it builds on itself such that, theoretically, someone with some math background can actually understand it all. (At least, they'll be able to self-direct to other resources as needed.) There are 16 chapters of Math (the first 1/3 or so), followed by as many on Physics. For comparison, my formal math training ended at chapter 7. I now find myself in chapter 15, nearly finished with the math section. It is definitely not for everyone, but it's exactly what I needed.<br /><br />Finally, I have found that discussing the details of the book can help a lot with the understanding. I recently created a Yahoo Group called<a href="http://groups.yahoo.com/group/rtrfans/">RTRFANS</a>, for just this purpose. With this book, and with internet resources that weren't available in the mid-90's, I've now got a shot at understanding truly modern physics.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-114709777524232514?l=avoidspikes.blogspot.com' alt='' /></div>
Some porting work
Published:
Description: I really need to post more often!<br /><br />For a while now, I've been wanting to experiment with new methods of high-speed circuit simulation. The idea would be to prototype some discrete-audio stuff, possibly for MAME, using something like Python.<br /><br />After looking into the requirements, I realized that I needed to handle polynomials with a single variable, and ratios of these polynomials. Also, I needed to be able to handle real or complex variables. I looked around on the web, and I found that<a href="http://www.scipy.org/">SciPy</a>is finally coming along nicely on Windows. However, I wasn't entirely happy with the root finder they use.<br /><br />Along the way, I also found the<a href="http://calcrpnpy.sourceforge.net/ratfunManual.html">ratfun</a>package, which looked perfect, but was unsupported on Windows. I dug in and in a couple weekends, got it building under Windows. I think I'll be using it for the experiments, whenever I get back to it.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-114709607154317873?l=avoidspikes.blogspot.com' alt='' /></div>
The Joy of LaTeX
Published:
Description: Ok, I'm a geek. Over the past 10 years or so, I've worked on a handful of math and engineering problems that I thought were interesting. Yes, most of them were "spare-time" activities, although a few were inspired by work stuff. I recently made a list of all of them, and I suddenly had the urge to publish them. Maybe some other people will find these things interesting as well.<br /><br />At any rate, I wanted a way to publish them with all the math equations, as well as generate PDF's and HTML. I had heard about LaTeX for a long time, but now I had a fine excuse to give it a try.<br /><br />I first tried the<a href="http://tug.org/texlive/">TeXLive</a>distribution, but I never could get it to work on Windows. (Maybe this has been fixed since then) Then I tried<a href="http://www.miktex.org/">MikTeX</a>. It was a fairly straightforward installation. After working out a few examples, I was hooked. My first draft of a test article turned out pretty well:<br /><br /><a href="http://www.avoidspikes.com/textest/gamma.html">http://www.avoidspikes.com/textest/gamma.html</a><br /><br />I use pdflatex to generate pdfs and htlatex (part of tex4ht) to create html + pngs.<br /><br />At any rate, it's nice to see that free software can be used to do professional typesetting. I'm planning to use this stuff to document my math problems, as well as some theory behind discrete sound filtering in MAME.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5824590-113934315478577716?l=avoidspikes.blogspot.com' alt='' /></div>