Asteroids on Oscilloscope

The Joy of Tech - Anything and everything about all things shiny..
Post Reply
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

I'm glad I spent an hour recording Star Lynx and moving it to the computer and verifying it worked before attempting to do any re-taping... I did a quarter of an hour of Mattsteroids and the end result was... eesh.

https://www.youtube.com/watch?v=HDdpfNA ... e=youtu.be

I had twenty minutes of unused tape at the end of the cassette so all was well. I'd have thought that an unused in packaging mini DV tape would be good for this, but I think this old Sony dcr-trv14e (from 2002?) camcorder is dying slowly.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

https://www.youtube.com/watch?v=BVK5_Hr3Yew

The camcorder's 25fps interlaced makes this look kinda bad on youtube. (I extracted the fields to make it 50fps first and the original video is super slick, just not on YT.)
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Ignore that previous link. It was bad.

https://www.youtube.com/watch?v=33PVL94alAk
User avatar
Chontler
Baaaaa!
Baaaaa!
Posts: 1540
Joined: Mon Mar 07, 2011 2:21 pm 0
Location: Conwy

Re: Asteroids on Oscilloscope

Post by Chontler »

I'm so impressed by what you've done here. I've wanted an oscilloscope for a while, just because, but never really had a justifiable use for one.
I think you're tipping me over now. Are they all basically the same?
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Thank you!

And honestly I have no idea. The one I have was given to me on the understanding that most of its features with the exception of the XY mode were broken in some way (even then I can't extend the Y axis to cover the entire display).

As far as I know there's two types of oscilloscope, CRT phosphor and digital. And within those, there's basically two tiers.

You've got old old analogue oscilloscopes that have a CRT and everything's controlled with dials and everything's ancient. My Tektronix 465 is one of these.
Then you've got newer old oscilloscopes where theyve got some kind of smarts built in and they can display things on the screen and have digital powers like holding and recording signals but they're still CRT. Some of these have games as easter eggs and yeah I bet some of em play asteroids too!

Then you've got digital scopes with LCD displays. The cheaper ones are a replacement for the original oscilloscopes and are used for visualising waves like you'd expect. I dont know how these would like the ocelot. Probably a lot of the inter object jumps would be displayed as solid lines and the effect would be a bit naff

The highest tier of digital oscilloscopes automatically decodes bus signals for you. I believe you could clip it to USB or serial and it would be able to tell you exactly what's taking place as well as record and playback on screen and probably playback down into the probes.

That's basically all I know about scopes. If you want to muck about with an XY display only then you could get a broken old style like mine.
User avatar
Chontler
Baaaaa!
Baaaaa!
Posts: 1540
Joined: Mon Mar 07, 2011 2:21 pm 0
Location: Conwy

Re: Asteroids on Oscilloscope

Post by Chontler »

Cool. Thanks for that info. I definitely want the older variety, just for the aesthetics alone - gonna keep my eyes peeled now then and set up some ebay alerts tho I'm told some of the cooler vintage perhaps ones won't survive shipping!
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Re: Asteroids on Oscilloscope

Post by Firefox »

Love the intro to Star Lynx! It looks gorgeous when you see it on the actual scope.
"I am a very considerate person. If I want to go out all night on my miniature golf course and shoot lizards, well, no reason to keep the neighbours awake..."
User avatar
skab
Baaaaaa!
Baaaaaa!
Posts: 3448
Joined: Sat Apr 27, 2002 1:53 am 0
Location: Barnyard, Ruhr area, Germany

Re: Asteroids on Oscilloscope

Post by skab »

Chontler wrote:I'm so impressed by what you've done here. I've wanted an oscilloscope for a while, just because, but never really had a justifiable use for one.
I think you're tipping me over now. Are they all basically the same?
Absolutely not, if you want it mainly for the vector aesthetics, try to get a good but old one, has to be analogue.

They started to get digital during the 80s, so indeed, even if it's got a CRT, it's still not a given that it's an analogue one. The digital ones (got 2 of those myself) are great for the actual job, which is signal analysis, but get incredibly choppy when you try to do vector stuff.

Don't be too cheap, either, it should have some bandwidth, so the vectors are crisp and sharp. No worries there, actually, 20MHz models should be more than enough, and this is actually bottom of the line. It's not that you actually need that bandwidth, it's more of a quality indicator.

Then you obviously need a two channel (or more) model, since you need more than one channel for X and Y signals.

And then it should actually have that XY mode, where channel 1 and 2 are used for Y and X. My tiny Russian oscilloscope is analogue and it somehow has two channels, but still, no XY mode, so I can't use that one either. So no vectory goodness for me. :(
User avatar
venusian
Baaaaaaa!
Baaaaaaa!
Posts: 6653
Joined: Wed Nov 06, 2002 2:22 pm 0
Location: South Gloucestershire

Re: Asteroids on Oscilloscope

Post by venusian »

That looks like an interesting old machine. Is there a MAMe emulator for it yet?
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

I wonder just how much effort that'd take. :o

They must have at least some kind of PIC in the MAME code already, probably not a dsPIC one.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

So I've put my website up and posted on twitter and all that jazz, and I'm looking through my source code wondering what I'm going to do with it. I might as well add better comments to the start of every file so I know what all of the individual pieces mean.

And then I look through and see a function called world_3d_transform_world_points, which takes 3D points and puts them into 2D space. And somehow I'd missed it when I changed the precision of all my rotation matrices from .8 to .7 fixed point. But everything works...?

It's hardly used since I usually transform entire models en masse or integrate the projection maths into other equations to speed things up, but still...

Code: Select all

/* TODO OH DEAR. I didn't change the shift here... so how does it even work? What uses it?? */
User avatar
super charlie
Baaaaa!
Baaaaa!
Posts: 1809
Joined: Wed Mar 31, 2004 7:53 pm 0
Location: Ipswich, suffolk
Contact:

Re: Asteroids on Oscilloscope

Post by super charlie »

What's your twitter? I'll give you a retweet :)

Cheers
Charlie
Visit my website here to have a look at my game.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Ive posted it on my SkullKidUK costumes/crafts twitter, cheers :)
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Re: Asteroids on Oscilloscope

Post by Firefox »

Kamineko wrote:https://www.youtube.com/watch?v=bBtuDdRtv20
Nearly closed the window before it got to the main bit!

Really amazing work as always, Kamineko. :)
"I am a very considerate person. If I want to go out all night on my miniature golf course and shoot lizards, well, no reason to keep the neighbours awake..."
Post Reply