Graphics Slave: Don't waste all that valuble HUB RAM!
Microcontrolled
Posts: 2,461
For this you will need:
2 Propeller setups, with at least 1 having EEPROM
Video setup for the one with the EEPROM
Mouse setup for the other (optional)
A composite video monitor/display
Load up and run the file "Graphics Emulator v.1.0" into the EEPROM on the Propeller with the video. If you have a demo board, use "Graphics Emulator v.1.0 (pins 0 and 1)" as the serial pins will be 0 and 1 instead of 31 and 30.
Hook up the serial lines between the Propellers. I used just wires, but pullups may be used. On the video prop, serial lines are 0 RX and 1 TX, or 31 RX and 30 TX. Change the settings in the Demo to match what pins you hook them up to on the mouse prop.
Once you have everything loaded, run the demo. It will have a short anamation and then let you move the cursor around. Neat, huh?
This project is in the beginning stages, but it is a Graphics Slave for another prop. I had so many projects that needed a lot of HUB RAM but that was limited by the buffer space in the Graphics object. This splits the job up between 2 props to give you lots of HUB RAM on the prop doing the work. It is also amazingly fast for serial communication. The mouse cursor works pretty smooth for being drawn on the fly, transmitted through serial commands with all the handshaking. It operates at 54000 baud, and I've gotten it working at 128000 baud, but that's too risky for some setups. I'll release the code for modifing after I get it fully released. Think of this as a beta test.
Let me know if it works for you! Comments are welcome!
Thanks,
Micro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my new website!!
Use the Propeller icon!!
Follow me on Twitter! Search "Microcontrolled"
2 Propeller setups, with at least 1 having EEPROM
Video setup for the one with the EEPROM
Mouse setup for the other (optional)
A composite video monitor/display
Load up and run the file "Graphics Emulator v.1.0" into the EEPROM on the Propeller with the video. If you have a demo board, use "Graphics Emulator v.1.0 (pins 0 and 1)" as the serial pins will be 0 and 1 instead of 31 and 30.
Hook up the serial lines between the Propellers. I used just wires, but pullups may be used. On the video prop, serial lines are 0 RX and 1 TX, or 31 RX and 30 TX. Change the settings in the Demo to match what pins you hook them up to on the mouse prop.
Once you have everything loaded, run the demo. It will have a short anamation and then let you move the cursor around. Neat, huh?
This project is in the beginning stages, but it is a Graphics Slave for another prop. I had so many projects that needed a lot of HUB RAM but that was limited by the buffer space in the Graphics object. This splits the job up between 2 props to give you lots of HUB RAM on the prop doing the work. It is also amazingly fast for serial communication. The mouse cursor works pretty smooth for being drawn on the fly, transmitted through serial commands with all the handshaking. It operates at 54000 baud, and I've gotten it working at 128000 baud, but that's too risky for some setups. I'll release the code for modifing after I get it fully released. Think of this as a beta test.
Let me know if it works for you! Comments are welcome!
Thanks,
Micro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my new website!!
Use the Propeller icon!!
Follow me on Twitter! Search "Microcontrolled"
Comments
Cheers.
--Steve
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Pages: Propeller JVM
Very nice. I did something similar for Catalina (I called them "proxy" drivers). Doing the same for SPIN programs is a great idea - it really makes the multi-prop platforms (e.g. Morpheus, TriBladeProp) very attractive.
My proxy video driver only supports text functions, but I also allow the keyboard, mouse and SD card drivers to work the same way. You might consider providing SPIN versions of those as well. In Catalina all the proxied drivers share a common serial link between the Props - see the Catalina Reference Manual for details (the protocol is documented right at the end of the manual).
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
Nice job!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Share the knowledge: propeller.wikispaces.com
Lets make some music: www.andrewarsenault.com/hss
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com
My products: Morpheus / Mem+ / PropCade / FlexMem / VMCOG / Propteus / Proteus / SerPlug
and 6.250MHz Crystals to run Propellers at 100MHz & 5.0" OEM TFT VGA LCD modules
Las - Large model assembler Largos - upcoming nano operating system
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
I have made a cool looking "3D" demo attached that you can try out.
It's a shame SD won't fit on the program, or I could do a WAV player or SIDcog or something too.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my new website!!
Use the Propeller icon!!
Follow me on Twitter! Search "Microcontrolled"
Just open the file with the first propeller and send the 25 registers over the serial link to the second Propeller running
video and SIDcog. Should be easy-peasy. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my new website!!
Use the Propeller icon!!
Follow me on Twitter! Search "Microcontrolled"
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my new website!!
Use the Propeller icon!!
Follow me on Twitter! Search "Microcontrolled"
Post some source code to your binaries and let the mass of experts see if they can wedge more toys in. [noparse]:)[/noparse]
Collaboration will lead to more ideas and features.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my new website!!
Use the Propeller icon!!
Follow me on Twitter! Search "Microcontrolled"
Am I missing something important?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Feature Projects: PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
Add the program space, the variable space, and 6,100 together to get the true amount, and you only have about 100 longs left.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my new website!!
Use the Propeller icon!!
Follow me on Twitter! Search "Microcontrolled"
The only problem i have is that adds in the text·string a "T" character so i terminated the string 2 characters before it is to be terminated and its fine
I dont know if it my configuration but now it works fine
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Will work for Propeller parts!
Of course only because the prop II still needs a while to come.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
pPropellerSim - A propeller simulator for ASM development sourceforge.net/projects/ppropellersim
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
pPropellerSim - A propeller simulator for ASM development sourceforge.net/projects/ppropellersim
@MagIO2: Because I only know how to program the Propeller. That is a pretty good reason for being fixed to it.
@blittled: This should work with the Chameleon board, although you may have to change some pin settings.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my new website!!
Use the Propeller icon!!
Follow me on Twitter! Search "Microcontrolled"
For the text handling it is much better· to do the following
For the receiver
and for the transmitter (graphicse object)
This lets the graphics engine exacltly where to terminate the string
Why the baudrate is slightly·different from receiver to transmitter?
To transmit quicker all that matters is the baudrate???
·
Thanks,
Micro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my new website!!
Use the Propeller icon!!
Follow me on Twitter! Search "Microcontrolled"