Asteroids on Oscilloscope
- super charlie
- Baaaaa!

- Posts: 1809
- Joined: Wed Mar 31, 2004 7:53 pm 0
- Location: Ipswich, suffolk
- Contact:
Re: Asteroids on Oscilloscope
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
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.
Re: Asteroids on Oscilloscope
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.
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.
- super charlie
- Baaaaa!

- Posts: 1809
- Joined: Wed Mar 31, 2004 7:53 pm 0
- Location: Ipswich, suffolk
- Contact:
Re: Asteroids on Oscilloscope
Ah, well. Sorry to hear about your health, hope you're feeling better soon.
Cheers
Charlie
Cheers
Charlie
Visit my website here to have a look at my game.
- Misfit
- Sheepie Whore

- Posts: 10453
- Joined: Sat Sep 28, 2002 2:43 pm 0
- Location: Nottingham UK
- Contact:
Re: Asteroids on Oscilloscope
ditto.super charlie wrote:Ah, well. Sorry to hear about your health, hope you're feeling better soon.
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?
Re: Asteroids on Oscilloscope
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.
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.
Re: Asteroids on Oscilloscope
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.
http://www.mrdictionary.net/ocelot/wippics/
They're same pics from this thread though.
Re: Asteroids on Oscilloscope
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!
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!
- Kelloggs
- 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
"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!
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!
Re: Asteroids on Oscilloscope
Folks want to buy one. Aaaaaaa.
It's only a couple of people but I didn't have any kind of answer prepared
It's only a couple of people but I didn't have any kind of answer prepared
Re: Asteroids on Oscilloscope
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.
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.
Re: Asteroids on Oscilloscope
So many DACs!
So many DACs that DON'T HAVE SIMULTANEOUS UPDATE SO WHATS THE POINT.
So many DACs that DON'T HAVE SIMULTANEOUS UPDATE SO WHATS THE POINT.
Re: Asteroids on Oscilloscope
I know nothing about Konix.
Re: Asteroids on Oscilloscope
super famous! 
Re: Asteroids on Oscilloscope
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....'
'....The baron is a gay old rogue with an eye for the ladies....'
Re: Asteroids on Oscilloscope
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...)
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...)

