Asteroids on Oscilloscope

The Joy of Tech - Anything and everything about all things shiny..
Post Reply
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 »

If it's not too presumptuous of me to suggest, i think you should try for this : https://docs.google.com/forms/d/e/1FAIp ... Q/viewform

It's right up David's street, and it's a pretty fun thing to do (i showed something of mine there a few years back).

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 »

Thanks but unfortunately I'm a million miles away from London and not at the best of health right now :( (and also unemployed...)

I had a similar suggestion from some of the guys at Does Liverpool to show it at a Maker Faire but I'm a ghastly mess.
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 »

Ah, well. Sorry to hear about your health, hope you're feeling better soon.

Cheers
Charlie
Visit my website here to have a look at my game.
User avatar
Misfit
Sheepie Whore
Sheepie Whore
Posts: 10453
Joined: Sat Sep 28, 2002 2:43 pm 0
Location: Nottingham UK
Contact:

Re: Asteroids on Oscilloscope

Post by Misfit »

super charlie wrote:Ah, well. Sorry to hear about your health, hope you're feeling better soon.
ditto.

Not that I'll ever get around to it, and I apologise if it's obvious somewhere, but if we actually wanted to play this, what would we need to do?
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Thanks folks :) ive only just been half-ready to leave the house so im making some progress.

Right now there's only one way to play Ocelot games. You need an Ocelot. That is, a dsPIC33, the DAC and it all wired up roughly how I've done it. There's no special FPGA nonsense so you could make it yourself on a breadboard if you wanted.

The Ocelot games themselves are written in pretty clean (16-bit) C. Star Lynx is written on top of some noce abstractions (Mattsteroids half-there) so I could take most of the game code and recompile it against an SDL based environment and Id have a very high-level Ocelot simulator. I did exactly this in the opposite direction to make Star Lynx in the first place, for the cutscenes and the 3d gameplay.

The game loops aren't really set up for that though. There's no beginning and end to a frame. You'd need some way of running the game code in a preemptively interruptible way.

An alternative would be to find or make a dsPIC33 emulator and starting putting together a MESSlike Ocelot low level emulator that could interpret the .hex PIC game firmware images directly.
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 put all the work in progress pictures in one place and annotated them at last!
http://www.mrdictionary.net/ocelot/wippics/

They're same pics from this thread though.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Problem: no emulator for dsPIC33 instruction set, so there's no quick way to make an interruptible emulator that can take in Ocelot hex images directly and run them.

Solution: cross-compile existing Ocelot C code to another 16-bit instruction set and use an existing emulation core...

This is getting a bit silly, but it could work!
User avatar
Kelloggs
Baaaaa!
Baaaaa!
Posts: 1859
Joined: Wed Jun 22, 2005 11:38 pm 0
XBL Gamertag: TheAntiKelloggs
Location: Widnes or Altrincham. Take your pick.

Re: Asteroids on Oscilloscope

Post by Kelloggs »

"Getting a bit silly" isn't normally what gets in the way of my projects. Getting interrupted by something sillier, now, that's a different matter...

e.g. cheap robot arm (needing position sensing) plus "3D" drawing pens (photopolymer) repurposed as a "proper" cartesian additive 3D printer - now, that's silly... and, yes, has been interrupted (just before the position-sensing point). By me setting up a lighting rig... in my living room. (Doesn't everyone?)

Ocelot looks cool - keep going!
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Folks want to buy one. Aaaaaaa.

It's only a couple of people but I didn't have any kind of answer prepared
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'll tell you what's fancy:

32-bit PICs at 50Mhz with 2-cycle 32-32bit multiplies! I had a look at the disassembly of my 32-bit 3x3 matrix multiplication code running on the 16-bit dsPIC33 and oooof...

Too bad I only have a PICkit2.
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 many DACs!

So many DACs that DON'T HAVE SIMULTANEOUS UPDATE SO WHATS THE POINT.
User avatar
Mqark
Baaaaa!
Baaaaa!
Posts: 1764
Joined: Thu May 04, 2006 10:38 pm 0
Location: Amsterdam
Contact:

Re: Asteroids on Oscilloscope

Post by Mqark »

I see the Ocelot made it onto Hackaday!

https://hackaday.com/2018/01/09/ocelot- ... -graphics/
I know nothing about Konix.
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

super famous! :)
User avatar
toxibunny
Baaaaaaa!
Baaaaaaa!
Posts: 5906
Joined: Thu Jun 17, 2004 11:59 pm 0
Location: limb clock land

Re: Asteroids on Oscilloscope

Post by toxibunny »

Recently found this super cool yoof on YouTubs. Could this be ocelot-driven?

I made a deviantart page.
'....The baron is a gay old rogue with an eye for the ladies....'
User avatar
Kamineko
Baaaaaaa!
Baaaaaaa!
Posts: 7569
Joined: Fri Dec 17, 2004 2:53 pm 0
Contact:

Re: Asteroids on Oscilloscope

Post by Kamineko »

Sure could, I'd need to make an amplifier board for it though. Battery power isn't gonna cut it there :p

Ive been looking into bigger screens and lasers, which means more DAC channels and blanking signals and configurable juicy output voltage ranges which also means a +/- supply. Got nowhere to put a big old telly and no money to make the output board and no experience with surface mount boards to use the components that have the required number of channels...

I'm surprised he didn't have to modify the yoke in the TV. Every description ive seen of using a TV as a vector display involves modifying the yoke. Maybe he got lucky. (And I saw that black dot in the middle of his end montage, the loon...)
Post Reply