Hi Craig, > I've been using AmForth to develop a driver and graphics library for a 3.2" > LCD display connected to an Arduino Uno board.
Interesting. Would you mind giving some more information? > > As my code gets longer and longer I seem to have stability issues and am > wondering if I'm running out of flash, RAM or EEPROM. What do you guys use > to gauge how much free memory space remains? > > A simple utility word would be great. I briefly looked at .res but it uses > some environment words which are not compiled into my kernel. Its only one such word, you can simply comment the affected lines, the others would give you basic information about the storages etc. The code is not graved into stone ;) Most information is based on the (e)dp and the stack pointers. The numeric operations are mostly for the nick-pickers. I usually check if the stacks overlap and the dp is below the NRWW address of the particular controller. EEPROM was always enough for me. RAM is always too small, the biggest chunk is the Terminal input buffer, which can be reduced by settings the TIBSIZE number at compile time (has side effect however, if set too small since most PC tools assume a 80 byte TIB). HTH Matthias ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel