New features for PropellerForth 8.02
I'm fleshing out the feature set for PropellerForth 8.02, due out in a couple weeks. This is just a teaser post describing what I've been working on; no code yet. :-)
The main new features at this time:
The SD support is a traditional Forth disk layer: it doesn't implement FAT or any other filesystem. Instead, it lets you directly address blocks on the disk. By default you can use this to save and edit source code directly on the card, but it could also allow an enterprising individual to implement filesystem support.
Because source is stored in raw disk sectors instead of files, getting at it from a "real" computer will require a tool like
The actual interface code is a direct port of Tom Rokicki's FSRW SPIN implementation. It's about 1KiB and currently gets about 5-6KiBps at 80MHz, twice the throughput of the SPIN version, despite being a pretty literal port. I hope to optimize it further before release.
Now, to work on a target compiler -- so that users of 8.02 can recompile their whole system from sources stored on EEPROM or SD.
The main new features at this time:
- Block word set for reading/writing block devices and loading source code from storage
- EEPROM Block backend, for treating the program EEPROM as a block device
- SPI-mode SD/MMC card Block backend
The SD support is a traditional Forth disk layer: it doesn't implement FAT or any other filesystem. Instead, it lets you directly address blocks on the disk. By default you can use this to save and edit source code directly on the card, but it could also allow an enterprising individual to implement filesystem support.
Because source is stored in raw disk sectors instead of files, getting at it from a "real" computer will require a tool like
dd
. Since this is an embedded system, that doesn't bother me too much, but I wouldn't complain if someone implemented FAT16! :-)The actual interface code is a direct port of Tom Rokicki's FSRW SPIN implementation. It's about 1KiB and currently gets about 5-6KiBps at 80MHz, twice the throughput of the SPIN version, despite being a pretty literal port. I hope to optimize it further before release.
Now, to work on a target compiler -- so that users of 8.02 can recompile their whole system from sources stored on EEPROM or SD.
Labels: propellerforth
15 Comments:
Cliff,
I left a comment in your startup word note, but I'm duplicating it here, since it's more appropriate here?
I've enjoyed using PropellerForth, and have used it for some lab work w/ JTAG for ARMs, etc.
I noticed that your generated code for OF is non-standard in that it does not drop the CASE value when it matches, letting it get dropped by the ENDCASE. This makes my code different for things between gforth and PropellferForth.
What I've done in my Forths is to have OF generate a (OF),offset sequence, like a 0BRANCH. The (OF) code does the compare, and either drops the value or branches. This results in shorter code sequences and handles the semantics.
BTW, I also generate calls to dummy (BEGIN), (CASE), etc., for debugging and ease in decompilation.
Thanks for a great implementation!
HigJJump
By HighJump, at 8:03 AM
Thanks you. Very good post.Unless they can offer a really compelling reason for users to come back, it will be the next Bebo, MySpace
WMUD962P
By Ultimate Appliances, at 9:35 AM
The post is pretty interesting. I really never thought I could have a good read by this time until I found out this site. I am grateful for the information given. Thank you for being so generous enough to have shared your knowledge with us.
Houston Home Security
By Jenney, at 12:06 AM
Nice looking sites and great work. Pretty nice information. it has a better understanding. thanks for spending time on it.
Hadoop Training Institute in Noida
Best Hadoop Training in Noida
By ciitnoida, at 12:22 AM
افضل شركة تنظيف مجالس بالدمام افضل شركة تنظيف مجالس بالدمام
شركة تنظيف سجاد بالدمام شركة تنظيف سجاد بالدمام
شركة تنظيف كنب بالدمام شركة تنظيف كنب بالدمام
شركة تنظيف سجاد بالخبر شركة تنظيف سجاد بالخبر
شركة مكافحة البق بالرياض شركة مكافحة البق بالرياض
شركة صيانة مكيفات بالرياض
شركة ترميم بالرياض
_
By jojo, at 8:39 AM
gomovies
By luckys, at 8:46 AM
lifestyle whatsapp groups
By Raj Maan, at 10:42 AM
It is a really interesting content and Great work by you. Definitely, it will be helpful for others. I would like to follow your blog. Keep posting more in your future blog post.
IAS Academy in Chennai | IAS Academy in Anna Nagar | Top 10 IAS Coaching Centres in Chennai | Top IAS Academy in Chennai | Top IAS Coaching in Chennai
By Vijay, at 11:19 PM
gta 5 app
By luckys, at 9:17 AM
dtc bus app
dtc bus
dtc bus app download
dtc bus pass
dtc bus route
dtc bus route app
dtc bus app download
By Devender Gupta, at 10:42 PM
funny WiFi names
cool WiFi names
claver WiFi names
cool and claver WiFi names
funny WiFi names list
Good wifi names
wifi names 2020
Disney wifi names
wifi name for gamers
bollywood movies funny WiFi names
By Devender Gupta, at 1:26 AM
Great Article… I love to read your articles because your writing style is too good, it is very very helpful for all of us and I never get bored while reading your article because they are becomes a more and more interesting from the starting lines until the end.
Selenium online training
Selenium certification training
By jothikumar, at 3:18 AM
Dr Driving is one of the my favourite game ever and today I am going to share Dr Driving Mod Apk
https://www.drdrivingmodapk.xyz/
By Devender Gupta, at 6:43 AM
PNJ Sharptech is a leading Social Media Optimization company in India, specializing in handling both organic and paid Social Media Marketing (SMM) campaigns successfully. We have many years of experiencing increasing online social presence on various social media platforms such as Facebook, Twitter, LinkedIn and Pinterest, and many others. Our SMO experts have a rich knowledge of increasing traffic and maintaining the online social reputation for a long period. How our SMO services make you different from others? Our low-cost social media marketing services are very helpful to build your online reputation and increase sales.
By pnjsharptech, at 1:25 AM
40 Lakh mp3 song download pagalworld, tik tok viral song ,Mr jatt. GetSongName.com – Presenting the audio song ” 40 Lakh ” this song by Jerry Burj Ft. Ellde Fazilka , song is been written Ellde Fazilka40 Lakh mp3 song download pagalworld
By BB Arora, at 2:12 AM
Post a Comment
<< Home