PDA

View Full Version : FemtoBASIC/COLOR w/ED



Oldbitcollector (Jeff)
03-17-2009, 08:36 AM
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 [F1]

Details:
Your program is stored as "desktop.tmp" each direction.
Using [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 [F1].

Known Bugs:
You must have at least 1 line of code before launching the editor with [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 (http://www.warrantyvoid.us/tiki-index.php?page=Propeller) @ Warranty Void.

Post Edited (Oldbitcollector) : 3/22/2009 8:12:39 PM GMT

Oldbitcollector (Jeff)
03-18-2009, 07:14 AM
Updated Femedit {top thread} with a more stable version.
Appears that I have squashed the bug caused by missing or empty "desktop.tmp"

OBC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?

Check out: Protoboard Introduction (http://jeffledger.googlepages.com/Protoboard_Introduction.pdf) , Propeller Cookbook 1.4 (http://ucontroller.com/Propeller%20Protoboard%20Designs%20for%20the%20Beg inner.pdf) & Software Index (http://forums.parallax.com/showthread.php?p=770318)
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us (http://propeller.warrantyvoid.us)
Got an SD card connected? - PropDOS (http://www.orrtech.net/propdos/)

Oldbitcollector (Jeff)
03-18-2009, 07:46 AM
{Ouch!}

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 (http://jeffledger.googlepages.com/Protoboard_Introduction.pdf) , Propeller Cookbook 1.4 (http://ucontroller.com/Propeller%20Protoboard%20Designs%20for%20the%20Beg inner.pdf) & Software Index (http://forums.parallax.com/showthread.php?p=770318)
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us (http://propeller.warrantyvoid.us)
Got an SD card connected? - PropDOS (http://www.orrtech.net/propdos/)

Post Edited (Oldbitcollector) : 3/18/2009 12:55:13 AM GMT

Oldbitcollector (Jeff)
03-23-2009, 03:11 AM
A bug was discovered by the PropGFX guys. Femedit was locking up on large programs.
Replace your femedit.bin with the code from the top thread. Problem fixed. (AFAIK)

OBC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?

Visit the: The Propeller Pages (http://www.warrantyvoid.us/tiki-index.php?page=Propeller) @ Warranty Void.