PBOS (Pinball Operating System)

Stumbled across this on RGP:

I have the code for my PBOS working to the point that I can coin up
1-4 players, and play a full game on the machine. Not to make it sound
too advanced, it does not do a lot, like score and multiball and most
of the sounds yet. But it has flippers, bumpers, slings, FIRE targets,
POWER targets, 1-6 targets, some sounds, and other stuff.

His website goes into some minor detail on the goals and progress. You can view that here: http://www.pbos.info

I don’t know about you but I sure hope he releases everything to the open source community. I’m a bit biased since I might be able to take it apply some/all of it to my machine. :)

Scoreboard Progress

Just a quick update on what I’ve been working on. I’ve had a bit of success getting scoring and the scoreboard playing together (see video). Another feature that you don’t see in the video is that all the switches point value can be set via the C# app that I made.

I’ve added the source below. Keep in mind this is all just hacking at this point. It’s probably not very helpful but it can’t hurt.

The led matrix on the top isn’t broken, I just hooked it up wrong :-/
 

Source

Spin:

C#:

Misc:

 

 

Link A URL With Regex

I recently had a need to find a url within a large amount of text and turn it into a hyper link. Knowing that I am just a regex noob I opted to find someone else that could just give me some regex :)  I started with regexlib.com but everything there was exceptionally simple. Simple usually works but the client I’m working with always finds clever ways to do something unexpected. So I needed something that would detect any URL that is possible under the sun.

After a few minutes I found Ivan Porto Carrero’s website which had the following regex:

(?#Protocol)(?:(?:ht|f)tp(?:s?)\:\/\/|~/|/)?(?#Username:Password)(?:\w+:\w+@)?(?#Subdomains)(?:(?:[-\w]+\.)+(?#TopLevel Domains)(?:com|org|net|edu|gov|mil|biz|info|mobi|name|aero|jobs|museum|travel|[a-z]{2}))(?#Port)(?::[\d]{1,5})?(?#Directories)(?:(?:(?:/(?:[-\w~!$+|.,=]|%[a-f\d]{2})+)+|/)+|\?|#)?(?#Query)(?:(?:\?(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)(?:&(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)*)*(?#Anchor)(?:#(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)?

It’s a pretty stinkin’ big regex but it sure does the job. I tried it with any url I could think of as well as the ones listed on Ivan’s site.
So there you have it. A big change from the pinball stuff but I needed to store this one where I could find it easily. I’m sure I’ll need it again in the future!

Home Made Pinball Machine: Astro Boy

Yet another home made machine. This one is based off of an old tv show called Astro Boy. I’ve never heard of the show, seeing this machine certainly makes me want to watch!

Have a look for yourself

 

 

Astro Boy Custom Machine

Astro Boy Custom Machine

Teaser

I’m still progressing! It’s been awhile without an update so I thought I’d throw some teasers out there.  Enjoy!

 

LED Matrix, Pre-etching

LED Matrix, Pre-etching

 

Switch matrix on the breadboard

Switch matrix on the breadboard

 

Prototype of the head

Prototype of the head

 

Full machine with new head

Full machine with new head

« Previous PageNext Page »