Asteroids on Oscilloscope
Re: Asteroids on Oscilloscope
It's not the same without blaming somebody else with absolute conviction and making a whole bunch of bug tickets about it.
Re: Asteroids on Oscilloscope
Today I'm trying to put all the different parts of my ship game together: got a music system, sound system, text, cutscenes and 3D. And right now if there's music playing, two characters talking and text displayed, I'm using about 16000 bytes of my 16384 bytes of ram... And that's a bit of a rough calculation, but if the double-buffered visual instruction queue bumps up to the bottom of the stack (which is gonna jump up in size when I allocate a temp array for affine transforming 2d shapes) everything go bang. (Thankfully not physically!)
Re: Asteroids on Oscilloscope
They say you can't cross the same river twice. Is also true for functions which trash their own stacks.
Re: Asteroids on Oscilloscope
One of the most display instruction hungry things to draw is text. I have to write the dialogue sequences with that in mind otherwise the two faces and the text exceed the buffer size and all manner of things get clobbered. But since the main loop stuff is much slower in comparison to the DMA interrupt handler that slurps up instructions from the queue and turns them into SPI instructions super quick, as the letters get added one by one, there's a split second where the instruction queue overwrites its own terminator and the interrupt routine is free to run into unrelated memory and draw whatever it likes.
"H.e.l.l.o, m.y. n.a.m.e. i.s. s.t.a.r.l.y.n.x. i.t.s. n.i.c.e. t.o. m.e.e.t. y. OUASOD ANIWENB!"I£I!"£!_________"
"H.e.l.l.o, m.y. n.a.m.e. i.s. s.t.a.r.l.y.n.x. i.t.s. n.i.c.e. t.o. m.e.e.t. y. OUASOD ANIWENB!"I£I!"£!_________"
- super charlie
- Baaaaa!

- Posts: 1809
- Joined: Wed Mar 31, 2004 7:53 pm 0
- Location: Ipswich, suffolk
- Contact:
Re: Asteroids on Oscilloscope
What's stopping you from adding more memory, especially as it seems you'll get better results? Whatever though, this is still super cool. Get your proto finished and kickstart some vectrex-esque units.
Cheers
Charlie
Cheers
Charlie
Visit my website here to have a look at my game.
Re: Asteroids on Oscilloscope
It's a dsPIC MCU so I could get more (or less) memory if I really needed by swapping it for another one from the series - there's hundreds of different variations and the code would be almost certainly compatible between 'em. I'm not particularly attached the one I'm using, I got it because it was pretty juicy (40 MIPS, 128k rom, 16k ram) and had internal dual DACs (which I didn't use in the end). I could lose the DACs and up the processing and RAM if I was desperate.
As for video output, anything other than phosphors would be pointless and anything other than LCDs would be too expensive... is there a market for crt TV conversion kits?
As for video output, anything other than phosphors would be pointless and anything other than LCDs would be too expensive... is there a market for crt TV conversion kits?
Re: Asteroids on Oscilloscope
Just had my mind totally blown. Like, really, 100%, totally fucked out of my earholes.
Jerobeam Fenderson's "Oscilloscope music"
Jerobeam Fenderson's "Oscilloscope music"
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
Re: Asteroids on Oscilloscope
I’m sure your Ocelot would look amazing on a laser show Kami
Re: Asteroids on Oscilloscope
can't remember if i've already mentioned, but my friend found an old disco laser in a skip and put it under arduino control, had it drawing pics etc as i recall, he did a nice tie fighter
Re: Asteroids on Oscilloscope
Mind-boggling, isn't it? First it's like chiptunes synced to some vector graphics. And then you realize that it's the pure audio that is generating the graphics. Incredibly beautiful and geeky to the max.tufty wrote:Just had my mind totally blown. Like, really, 100%, totally fucked out of my earholes.
Jerobeam Fenderson's "Oscilloscope music"
Even more fitting to this thread:
And this of course was the first time I heard about all this:
Re: Asteroids on Oscilloscope
Game stuff is all done. All the title sequences and highscores and whatnot.
I just need to write the music and sound effects, which means porting my old midi->ocelot convertor code for Mattsteroids from cpp to python so it fits in with everything else.
Here's a test!
https://www.youtube.com/watch?v=vfkkYuF7a0c
I just need to write the music and sound effects, which means porting my old midi->ocelot convertor code for Mattsteroids from cpp to python so it fits in with everything else.
Here's a test!
https://www.youtube.com/watch?v=vfkkYuF7a0c
Re: Asteroids on Oscilloscope
Alright, my fancy game is all done!
Now... laser projectors, huh? Where do I start with those?
Now... laser projectors, huh? Where do I start with those?
Re: Asteroids on Oscilloscope
I finally got out my DSLR and took some nice pictures in the dark...


How I'm ever going to do videos of this I don't know!


How I'm ever going to do videos of this I don't know!
Re: Asteroids on Oscilloscope
That looks the business!
You'll have to ask Santa for some probes for your scope, now.
You'll have to ask Santa for some probes for your scope, now.
"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..."









