From: Bernard M. <bme...@gm...> - 2008-07-27 07:57:13
|
Hi Matthias, Sounds great. Bear in mind that the multitask.frt example which uses heap, will need to be updated too. I havn't checked for others .. Cheers, Bernard On Sun, Jul 27, 2008 at 6:43 PM, Matthias Trute <mt...@we...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Bernard, > Bernard Mentink wrote > > >> please note: heap is not a forth value, it gives only a eeprom > >> cell address. > > > > Hi Matthias, > > > > Shouldn't heap return the address of the top of heap, you can't > > actually use the 4 offset until you use e@ to get the address so it > > should be included in the "heap" word. That would also make it ans > > compatible right? > > HEAP itself is not part of ANS94 / I do not find it there at least. > > Looking at the code that uses HEAP directly, most of them use the > sequence "heap e@" so changing it to a real VALUE should be an > easy task. > > > I realize that if you change "heap" then some words that use heap > > will have to be re-coded .. > > Oh, don't worry too much. "most" code use ALLOT (that is part of ANS). > heap > is pretty much amforth specific. If no-one objects, I'll review most > of the EEPROM > based variables and turn them into real VALUEs. > > : allot heap + to heap ; > > (The sequence could be factored into a word of its own: add-to, , > (comma) has a similiar > code) > > Matthias > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIjBko9bEHdGEMFjMRAtwoAJ4sy3AJXIGmDc2Ko/H7Zu/7YphYfwCfWXiB > 2bnBWFDqT7sDzUtjVfK87vo= > =K81d > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |