From: pito <pi...@vo...> - 2011-03-30 08:32:19
|
the amforth issues one additional SPACE and that creates an issue with Mosaic when editing the line and using backspace. The fix - do comment out the XT_SPACE below: ... PFA_ACCEPT5: .dw XT_DUP ; ( -- addr k k ) .dw XT_EMIT ; ( -- addr k ) ;.dw XT_SPACE ; ( -- addr k ) <<<<< 20101026 by Pito .dw XT_EMIT ; ( -- addr ) .... ----- PŮVODNÍ ZPRÁVA ----- Od: "pito" <pi...@vo...> Komu: mic...@on..., amf...@li... Předmět: Re: [Amforth-devel] Progress and More Difficulties with Hello Datum: 30.3.2011 - 10:22:00 > .. there is an issue with Mosaic Terminal - the > BackSpace issue I've > addressed in one of my last year's topics - the > fix is easy (just a > small change in one amforth word). P. > > ----- PŮVODNÍ ZPRÁVA ----- > Od: "pito" <pi...@vo...> > Komu: mic...@on..., > amf...@li... > Předmět: Re: [Amforth-devel] Progress and More > Difficulties with > Hello > Datum: 30.3.2011 - 10:03:58 > > > I've been using "Mosaic Terminal" (free > > download, > > > designed for > > forth)under XP. Just set "Wait for Echo" ON and > > "Binary Char Delay" > > 0.005 (or less). It runs 115200 8N1 without a > > problem (when your > > crystal allows such speed, of course). > > Copy/paste > > > sources. This > > terminal is the only one I can use with amforth. > > For FlashForth the > > Tera Term (FF supports Xon/Xoff) is the one > > which > > > works fine any > > speed. Pito > > > > ----- PŮVODNÍ ZPRÁVA ----- > > Od: "Kalus Michael" > > <mic...@on...> > > > Komu: "Everything around amforth" > > <amf...@li...> > > Předmět: Re: [Amforth-devel] Progress and More > > Difficulties with > > Hello > > Datum: 30.3.2011 - 4:47:21 > > > > > Hi. > > > > > > > > > Am 29.03.2011 um 21:33 schrieb Matthias Trute: > > > .. > > > > Receiving characters is a completly > > > > different > > > > > > > thing. The characters > > > > > can come at any time, therefore the code > > > > > needs > > > > > > > to deal with the > > > > > situation relativly fast (at least before > > > > > the > > > > > > > next character > > > > > arrives). > > > > > > If you just want to connect a terminal to type > > > in > > > > commands, amforth > > > is fast enough to handle this situation: Wait > > > for > > > > a key, grab it, put > > > it in inputbuffer, wait again. > > > amforths accepts keys till end of line, then > > > interprets the line. > > > See: uart-rx-poll.asm > > > Since you - the user - wait for the ok of > > > amforth > > > > to appear, there is > > > no overflow. > > > I use 12Mhz chrystal, 14400 Baud, atmega168, > > > works > > > > fine this way. > > > > > > But to download a file you have to make shure > > > your > > > > sending program > > > will immediatly stop sending if a CR is > > > echoed, > > > > > and continues after > > > OK is encounterd. Terminals usualy can not > > > handle > > > > this situation. > > > That is why Mathias is using a Phyton script > > > for > > > > > downloads. > > > > > > I use ZTerm with Mac OSX. In typing mode, it > > > stops > > > > sending when XOFF > > > character is echoed, and continues after XON. > > > So > > > > > my amforth CR sends > > > xoff to the Terminal too, and the OK is > > > followed > > > > > by XON. > > > (Typing mode: copy&paste forth souce into > > > ZTerm > > > > > window, do not use > > > ZTerms file transfer feature. Setup the ZTerm > > > as > > > > > VT100 with line > > > prompt character ^C ($13 = xoff)). > > > > > > There may be about two characters on its way > > > down > > > > to amforth till > > > terminal finaly stops sending more characters. > > > I > > > > > allways insert 4 or > > > more blanks at the beginning of each line in > > > my > > > > > forth sources to > > > handle this situation. This way interpretation > > > of > > > > a line stays > > > successful even if some characters are lost in > > > the > > > > handshaking process. > > > > > > : hallo ." hallo world" ; > > > ^^^^ > > > > > > Maybe this helps. > > > Michael > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > > > > Enable your software for Intel(R) > > > > > > > Active > > > > > > > > > Management Technology to meet the > > > growing manageability and security demands of > > > your > > > > customers. Businesses > > > are taking advantage of Intel(R) vPro (TM) > > > technology - will your software > > > be a part of the solution? Download the > > > Intel(R) > > > > > Manageability Checker > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > _______________________________________________ > > > > > Amforth-devel mailing list > > > Amf...@li... > > > https://lists.sourceforge.net/lists/listinfo/amforth-devel > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Enable your software for Intel(R) Active > > Management Technology to meet the > > growing manageability and security demands of > > your > > > customers. Businesses > > are taking advantage of Intel(R) vPro (TM) > > technology - will your software > > be a part of the solution? Download the Intel(R) > > Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > _______________________________________________ > > Amforth-devel mailing list > > Amf...@li... > > https://lists.sourceforge.net/lists/listinfo/amforth-devel > > > > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active > Management Technology to meet the > growing manageability and security demands of your > customers. Businesses > are taking advantage of Intel(R) vPro (TM) > technology - will your software > be a part of the solution? Download the Intel(R) > Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |