Software done? PASM Mandelbrot, Monitor/Hex editor, 3D engine, Chip16 Emulator?
overclocked
Posts: 80
Hi all!
After using google for a while I though I ask here and see if I found anything?
I'm thinking about writing something new as a learning experience while trying to port Propeller FPGA to Xilinx an also other Altera development boards.
For the record I never owned a Propeller and I'm still trying to get the FPGA-version going.. :-)
Anyone heard of implementation of these?
1) PASM Mandelbrot? Optimized Mandelbrot written in assembler and working real-time zoom? I've seen some SPIN-code examples but not really anything realtime..
2) A monitor/hex editor running on the Propeller. Either Serial-port or combination TV/VGA-output+PS/2 keyboard to be able to list memory contents and also write/change memory
3) 3D engine? I've seen a movie of polygon hat spinning and also some movies of wireframe hat. Is the source for these open? Anyone know if those are written in SPIN or assembler?
4) I've seen at least one Chip8 emulator so anyone seen any Chip16 emulators? This platform is not as well known but I've done some work with the platform (C# emulator and some Chip16 binaries) so probably a nice hack.
5) Any Propeller BrainFu**?
Anything else that somebody is missing in the realm of Graphics/VM's?
After using google for a while I though I ask here and see if I found anything?
I'm thinking about writing something new as a learning experience while trying to port Propeller FPGA to Xilinx an also other Altera development boards.
For the record I never owned a Propeller and I'm still trying to get the FPGA-version going.. :-)
Anyone heard of implementation of these?
1) PASM Mandelbrot? Optimized Mandelbrot written in assembler and working real-time zoom? I've seen some SPIN-code examples but not really anything realtime..
2) A monitor/hex editor running on the Propeller. Either Serial-port or combination TV/VGA-output+PS/2 keyboard to be able to list memory contents and also write/change memory
3) 3D engine? I've seen a movie of polygon hat spinning and also some movies of wireframe hat. Is the source for these open? Anyone know if those are written in SPIN or assembler?
4) I've seen at least one Chip8 emulator so anyone seen any Chip16 emulators? This platform is not as well known but I've done some work with the platform (C# emulator and some Chip16 binaries) so probably a nice hack.
5) Any Propeller BrainFu**?
Anything else that somebody is missing in the realm of Graphics/VM's?
Comments
I know Heater can help you...............
You should get a real propeller, even if you do use the FPGA version.
What I've missed several times is a viewer for the compressed image formats, mainly PNG, JPG and GIF. If you have the skills to do a fast code that can make an uncompressed image from one of the above formats that would be a great project.
Andy
http://www.linusakesson.net/scene/turbulence
Source Code:
http://www.linusakesson.net/scene/turbulence/source.php
I can see why people are staying with this platform for longer times.
Publishon: Thanks, what a demo. I will look into that and trying to run it on the FPGA-version.
Ariba: OK. I actually never worked just with decompressing these formats. I wonder if a combination of C-code from known libraries and optimization in PASM would work? Have you heard of anyone trying that combination?
Electrodude: Sounds great. Please see if you could find those pieces of code. Even if they are hard to read, at least they can be compiled and looked at for everyone. And yea maybe I'll invest in a real P1 in future if I get hooked in with these labs.
Anyone else who have some ideas of what to write or know of something already written in the mentioned categories?
The Brainf*** is the name of the programming language
If you have an open mind, the PropFORTH kernel might be counted as a monitor/editor. Any of the standard kernels work with a generic terminal program on the PC. The JupiterACE version runs on the Prop Demo board with VGA and keyboard, no mouse.
I just saw Linus's assembler. I'm going to have to steal all of his ideas and put them into my compiler, if my compiler ever gets done (it might not if I get too distracted using his assembler).
Is possible remake wireworld example from fpga Prop2 to Prop1 (lite memory and speed version) ?
Thanks
Kamil
While it would be easy to make a wireworld simulator on the P1, I don't think the wireworld computer would fit, at least the version that comes with Golly. It's 568*903 cells, which would come out to 128226 bytes at 2 bits per cell for only a single buffer (and you kind of need two but can get away with only one full buffer and one or two individual lines for work, but that makes using multiple cogs almost, if not completely, impossible). That's 4 times more ram than the P1 has. You could do it with external ram, but that's more hardware. The version in Golly is very sparsely populated, and there is another version somewhere with the display moved to the side (I forget which side) of the register bank that probably fits in a smaller area, but I still doubt it would fit in a P1's ram. What you might be able to do if you don't want external ram is store a single copy of just where the wires are (1 bit per cell), possibly in EEPROM if you don't care about speed, and then only store a quadtree of electrons in hubram. I'm still not sure if this would fit in hubram, but it probably would fit, because the computer is 50% empty space and, of the space that is filled, way less than half has any electrons (only one register indexer, which are the biggest parts, is ever all lit up at a time).
There's an fpga P2 wireworld? I completely missed it.
http://forums.parallax.com/archive/index.php/t-147457.html
but spin code is not available any more
This is only spin version pasm would be better but im very bad programmer :-)
Hi overclocked,
And electrodude
I wrote the wire world for the old Prop2, it was quite slow with the screen in external SDRAM, so I'm really looking forward to rewriting it for the new Prop2, as it has enough HUB-RAM to have it in internal RAM rather than SDRAM so the display driver won't hog most of the bandwidth, plus with 16 cogs to play with, it should fly
overclocked, I also wrote the 3D Wolfenstein textured renderer demo for the original Prop1, as well as some solid 3D demos.
Hey Baggers, what bribe could we offer to get you to port that to VGA output?
Jeff
Sounds like some form of sparse/compressed wire-world representation would work better than a flat bit-map? I.e. like a tiled text video display?
Marty
Simply incredible Baggers, Thanks for the Video link!
Well it seem that 3D has really be accomplished already on the Propeller.
Jeff, my only worry would be the difference in time between the VGA V-Blank and TV's V-Blank timing, which is where all the rendering takes place, especially since the Prop1 doesn't have enough RAM to double buffer the display.
Coley, yeah where did those 5 years go! wow
overclocked, it's amazing actually how competent the prop1 is.
Lawson, I'm looking forward to seeing how fast it runs on the new prop2 once the FPGA image is out, as with 16 cogs to play with and it being able to fit the display in HUB-RAM it should be a shed load faster than the old P2 version ran.