From: Matthias T. <mt...@we...> - 2007-03-02 06:39:03
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pix, > when given a long sequence starting with a right bracket, after hitting > enter, amforth basically goes crazy and needs to be reset. it gets > triggered by the first line of blocks/interrupts.frt: Thanks. The solution is quite simple: Increase PADSIZE in devices/atmega...asm to at least TIBSIZE. Then ( should work if the closing backet is on the same line. Multiline comments still won't work, since the interpreter does not hold the "comment state" over line breaks (like e.g. the compile state). > as you can see it doesn't matter if you close the sequence or not. your xxx are to much and to long That will overwrite internal data structures. Too bad, the atmega does not have virtual memory with page protection ;=) > this is with amforth 1.3 I will document it, so that others may decide if they want to live with short word comments in () or use \. Increasing the default has drawbacks since it needs a lot more of the very short RAM. Matthias -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFF58Z/Lo3irIddFw4RAvqRAJ4sz8oKSjFj1UAqXynE8ejlT3hdDgCeLlkf Y/50CvLip+PrgEgvNqG+3nY= =5mkh -----END PGP SIGNATURE----- |