Bean
06-04-2010, 12:52 AM
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. [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. [RUSH - Freewill]