Matthias, I did as you suggested and removed the environment? word from .res resulting in the following: \ dump free resources : .res ( -- ) base @ >r decimal cr ver ." running at " f_cpu 1000 um/mod . drop ." kHz " cr s" mcu-info" 2 + @i dp - ." free FLASH cells " u. cr
." free RAM bytes " unused u. cr ." used EEPROM bytes " edp u. cr ." used data stack cells " depth u. cr ." used return stack cells " rp0 rp@ - 1- 1- 2/ u. cr ." free return stack cells " rp@ sp0 - 1+ 1+ 2/ u. cr cr r> base ! ; However when I run this I get the following for my 32K flash Arduino Uno after loading a bunch of Forth code: amforth 5.1 ATmega328P running at 16000 kHz free FLASH cells 47641 free RAM bytes 1674 used EEPROM bytes 84 used data stack cells 1 used return stack cells 11 free return stack cells 29 I don't know how I could have 47641 flash cells available. I don't understand AmForth's internals enough yet to know what the problem is. What do you think? -- Craig Lindley / Heather Hubbard New Recordings: craigandheather.net/cnmpage.html Latest CD: craigandheather.net/songsilike2013cd.html Personal Website: craigandheather.net Business Website: clockwork.craigandheather.net Phone: (719) 495-1873 Cell: (719) 502-7925 If you’re one in a million, there are now seven thousand people exactly like you. ------------------------------------------------------------------------------ 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