Propeller Embedded BASIC without extra hardware (RAM, etc)
Bean
Posts: 8,129
Is femtoBASIC the only embedded basic for the propeller that works without any RAM expansion (can run on the Demo Board) ?
Has anyone thought about making a PASM embedded BASIC development program ?
I was thinking about it, if it was written in PASM and split over all the cogs, you could load up the cogs and then reuse the hub ram for the BASIC code, video, vars, etc.
The total PASM code would·be < 16K, and the other 16K could be used to SAVE the basic code to the standard 32K EEPROM on the demo board.
Something like:
Cog0 = Editor
Cog1 = Tokenizer
Cog2 = Executer
Cog3 = Keyboard
Cog4 = Video Driver (VGA 320x240x2 with 8x8 palette blocks = 12K)
Cog5 = Math routines (mult, div, etc)
Cog6 = I/O functions (serial, I2C, 1-wire, etc)
Cog7 = File I/O (EEPROM)
Hub ram:
· Video = 12K
· Program·and Variables = 16K
· Stack/System/Font = 4K
Thoughts anyone ?
Bean
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
Has anyone thought about making a PASM embedded BASIC development program ?
I was thinking about it, if it was written in PASM and split over all the cogs, you could load up the cogs and then reuse the hub ram for the BASIC code, video, vars, etc.
The total PASM code would·be < 16K, and the other 16K could be used to SAVE the basic code to the standard 32K EEPROM on the demo board.
Something like:
Cog0 = Editor
Cog1 = Tokenizer
Cog2 = Executer
Cog3 = Keyboard
Cog4 = Video Driver (VGA 320x240x2 with 8x8 palette blocks = 12K)
Cog5 = Math routines (mult, div, etc)
Cog6 = I/O functions (serial, I2C, 1-wire, etc)
Cog7 = File I/O (EEPROM)
Hub ram:
· Video = 12K
· Program·and Variables = 16K
· Stack/System/Font = 4K
Thoughts anyone ?
Bean
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you choose not to decide, you still have made a choice. [noparse][[/noparse]RUSH - Freewill]
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
There was also a Basic interpreter that was written for the Hydra and part of the original Hydra software CD.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·