FemtoBASIC/COLOR w/ED
Oldbitcollector (Jeff)
Posts: 8,091
I've been playing with the idea of using mpark's "ED" program with FemtoBASIC.
Attached are two archives. You'll need them both.
Instructions:
BASIC (Same as FemtoBASIC COLOR)
Edit the pin assignments in BASIC.spin to match your setup
Compile BASIC as binary called: basic.bin
Copy to your SD card. (Copy the .64c file as well so that "normal" works)
FEMEDIT (mparks' ED program)
Edit the pin assignments of FEMEDIT.spin to match your setup.
Compile FEMEDIT as binary called: femedit.bin
Copy to your SD card.
1) Launch BASIC (from your preferred menu or PropDOS)
2) Switch back and forth between mpark's ED and FemtoBASIC with [noparse][[/noparse]F1]
Details:
Your program is stored as "desktop.tmp" each direction.
Using [noparse][[/noparse]F1] in either program will save your file and launch the other application.
Using "NEW" in BASIC will clear memory, as well as delete the desktop.tmp file.
If you break a rule which causes Femto not to load your BASIC program, use
the "RESTORE" command to go back to the editor without erasing your work with [noparse][[/noparse]F1].
Known Bugs:
You must have at least 1 line of code before launching the editor with [noparse][[/noparse]F1]
I seem to have appeased the programmings gods. (for now)
Let me know what you think.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Post Edited (Oldbitcollector) : 3/22/2009 8:12:39 PM GMT
Attached are two archives. You'll need them both.
Instructions:
BASIC (Same as FemtoBASIC COLOR)
Edit the pin assignments in BASIC.spin to match your setup
Compile BASIC as binary called: basic.bin
Copy to your SD card. (Copy the .64c file as well so that "normal" works)
FEMEDIT (mparks' ED program)
Edit the pin assignments of FEMEDIT.spin to match your setup.
Compile FEMEDIT as binary called: femedit.bin
Copy to your SD card.
1) Launch BASIC (from your preferred menu or PropDOS)
2) Switch back and forth between mpark's ED and FemtoBASIC with [noparse][[/noparse]F1]
Details:
Your program is stored as "desktop.tmp" each direction.
Using [noparse][[/noparse]F1] in either program will save your file and launch the other application.
Using "NEW" in BASIC will clear memory, as well as delete the desktop.tmp file.
If you break a rule which causes Femto not to load your BASIC program, use
the "RESTORE" command to go back to the editor without erasing your work with [noparse][[/noparse]F1].
Known Bugs:
You must have at least 1 line of code before launching the editor with [noparse][[/noparse]F1]
I seem to have appeased the programmings gods. (for now)
Let me know what you think.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Post Edited (Oldbitcollector) : 3/22/2009 8:12:39 PM GMT
Comments
Appears that I have squashed the bug caused by missing or empty "desktop.tmp"
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
This time I found a new issue with Femto which will lose your code if you
accidentally break a rule (like omitting a line #) with the editor.
Added a "RESTORE" command to allow you back to the editor without
overwriting the file with a blank copy from the current session.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Post Edited (Oldbitcollector) : 3/18/2009 12:55:13 AM GMT
Replace your femedit.bin with the code from the top thread. Problem fixed. (AFAIK)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.