View Full Version : Now what??
Hello,<br> I've downloaded the MaxForth S19 file and loaded it into the NMIN-0912. When I reset the board it pops up Max Forth V5.01. Then if I hit enter I get OK. If I reset it and type 2 1 + . enter, I get 3 as I would expect. But if I type anything else it just responds with ? If I reset again and type : hello ." hello " ; hello enter, I get hello<br>just as I would expect but then I just get responses of ????? after that. What am I doing wrong?<br> Kevin.
I have tried restarting the system with a cold boot from poweroff. I typed in COLD but that didn't even return an OK. I am limited to resetting the board for each line. If I type in a definition line i.e. : hi ." hello" ; then hit enter I have to reset the machine to get any response other than ? back from the board. If I reset and then hit enter I get an OK but that is the only one I will get for that session. I had better reset at that point if I want anything at all to work. So if I enter a definition line and hit enter I then need to reset the board to get the definition to work. I haven't tried definitions that run more than one line without a carriage return. I am using Hyperterminal to run the board is that a problem. There was no software supplied with the board so I assume that is what I am supposed to use. I have run my evaluation board with Hyperterminal and there have been no problems. I was writing assembly code not Forth. Is the problem with this implementation of Forth? I have used other Forths and not had this much trouble. Does anyone have any ideas as to where the problem lies?<br> Kevin<br>
You're doing nothing really wrong, your just exploring. What you need<br> to do is to find out what's in the dictionary. You can do this by<br> typing in WORDS followed by a cursor return and a list of all the<br> words in the dictionary. The definitions for all these words are<br> available at:<p> http://www.ee.ualberta.ca/~rchapman/MFwebsite/V50/Alphabetical/Brief/index.html<p> An online reference to the basics of Forth, some details can be found<br> in the document for the V3 version on the HC11. The HC12 version,<br> V5.0L, is slightly different on the inside but pretty much the same<br> on the outside, so most of the document applies:<p> http://www.compusmart.ab.ca/rc/pobox/FORTH/UMMAX/UMMAXV33.TXT<p> Here's the output I obtained after doing what you mentioned:<p>Programmed<br>(E)rase or (P)rogram:<br>Max-FORTH V5.0L<br>1 2 + . 3 OK<br>: HELLO ." HELLO WORLD" ; OK<br>HELLO HELLO WORLD OK<br>WORDS<br> A16 HELLO CB31 TASK C4C0 ( B8BF @<br>B8D7 C@ B8CA ! B8E5 C! C06D 2@<br>C065 2! CCAF : CCC1 ; B8F4 +<br>B901 - BF49 1-! BF3F 1+! BCA0 +!<br>BA2F * BFAF / BDBF >< B88D SWAP<br>C08D 2OVER C081 2SWAP B899 DUP BC3D 2DUP<br>BC23 OVER BC51 ROT C099 2ROT<br>( --- SPACE to proceed ESC to abort. --- )<p> Hope this helps.<p> Rob
Actually, the problem was the terminal software I was using. Hyperterminal must add something to the end of each line like a CR LF instead of just a CR. After three days of fighting with it NMI finally told me about Maxterm. Then I dug it up on the site you mentioned and the board worked just like it was supposed to. I've been writing in Forth since the late 70s and never had this much trouble. I wish the software had been provided or even mentioned in the literature I received with the board. Then there wouldn't have been the three days of problems.<br> Thanks
tomscott
09-12-00, 02:16 PM
Which post am i responding to ?!! I'm trying<br>to thread to Kevinir's post<br>of 10:22 am on 5.16.2000 . He's having problems with cr/lf . I am also , when using MAXTALK > record.txt i get... cr cr lf ... which don't work under W98 editors ! They like cr lf .
I ran into this problem in another context. What I did to solve the cr cr lf problem was to open the file in MS Word. Then save it as text only with line breaks. This changed the cr cr lf to cr lf cr lf and everything worked fine after that. Good luck.
Paul Conaway
03-30-01, 11:13 AM
Is there a 32 bit version of Maxterm available yet? I'd like to use it on a Windows 2000 pro platform which won't run the standard version that came with my 0020 board
You can use Hyperterminal as a substitite. It won't have all the bells and whistles but it should be part of your system or can be pulled in from the CD. You will need to set the line delay to a value that will allow each line to be compiled before the next line is sent. You could start with a 200ms delay and then adjust for your needs. Or if you have any other terminal program, you can use that as well.<p>Rob
vBulletin v3.0.7, Copyright ©2000-2012, Jelsoft Enterprises Ltd.