Adding RAM, not EEPROM
Hello. Would it be possible to add a lot more RAM(Not EEPROM) to the propellor? Could the propellor hook up to and use external RAM?
thanks,
ACfishing
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
thanks,
ACfishing
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·Somebody said...
-Never Underestimate the power of human stupidity.
Comments
Another few questions:
-How does Propellor Assembly differ from x86 Assembly?
-Does the Spin interpreter just compile Spin code, or does it also completely compile Prop. Assembly into pure Machine Code?
-If not, then does each cog's processor compile the Prop. Assembly directly?, or do they run on pure machine code and I'm missing something?
thanks,
ACfishing
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
The Spin interpreter doesn't compile Spin code. The Propeller Tool includes a compiler that compiles Spin to byte codes and assembles Propeller assembly language into instructions (machine code / binary). The Spin interpreter is a program, written originally in assembly language that's stored in the Propeller's ROM and gets loaded into a cog to interpret Spin byte codes (which are stored in the main RAM (hub memory)). The Spin interpreter can copy an assembly language program (after it's assembled into binary instructions) into another cog (memory) for execution on its own using a COGNEW or COGINIT instruction.
So, the Propeller Tool translates the Spin and assembly source programs into binary information which gets loaded into the Propeller's main (32K) RAM and optionally copied into an attached EEPROM. When the download completes, the Propeller starts up a copy of the Spin interpreter which begins interpreting the byte codes. These may cause some blocks of assembly instructions (in binary) to be loaded into other cogs and executed. They may also cause additional copies of the Spin interpreter to be loaded into other cogs which will also start interpreting byte codes at the same time.
ACfishing
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
http://forums.parallax.com/forums/default.aspx?f=25&m=158040
Graham
http://forums.parallax.com/showthread.php?p=629266
Mahjongg