[Amforth] AVR online baudrate calculator

2012-05-07 Thread pito
FYI - AVR baud calculator http://www.wormfood.net/avrbaudcalc.php?postbitrate=9600&postclock=11.0592 - PŮVODNÍ ZPRÁVA - Od: "Matthias Trute" Komu: "Everything around amforth" Předmět: Re: [Amforth] Issues with a word compile - flash or eeprom Datum: 7.5.2012 - 21:14:08 > Hi Jan, > >

Re: [Amforth] Issues with a word compile - flash or eeprom write issues

2012-05-07 Thread Matthias Trute
Hi Jan, > Chuck, > > When I won't to run at a higher baud rate should I compile again? That would probably be the easiest way. Technically it is not needed however. The serial settings come from the VALUE baud (check with e.g. \ I use 38400 instead of 9600 amforth 4.9 ATmega1284P 16000 kHz

Re: [Amforth] How to activate the floating point package

2012-05-07 Thread pito
The recogniser is included in the Leon's lib - the Q is whether it will work as the code is one year old and there were some changes with recognisers in newer releases, I think.. p. - PŮVODNÍ ZPRÁVA - Od: "Erich Waelde" Komu: "Everything around amforth" Předmět: Re: [Amforth] How to acti

Re: [Amforth] Dubble words, no error message!!

2012-05-07 Thread José Romero
On Mon, 07 May 2012 20:26:35 +0200 Matthias Trute wrote: > Hi Jan, > > > What strikes me is that I can enter two identical words without an > > error. This is not the case in other forth versions that I have > > used. Is this a conscious choice or a bug? > > One design rule of amforth is to min

Re: [Amforth] Issues with a word compile - flash or eeprom write issues

2012-05-07 Thread Erich Waelde
Hello Jan, On 05/07/2012 04:29 PM, Jan Kromhout wrote: > When I won't to run at a higher baud rate should I compile again? Yes, when you want to change the baudrate, you need to edit your duemilanove.asm file .equ BAUD = 9600 reassemble amforth and flash it onto the controller again. Cheers,

Re: [Amforth] How to activate the floating point package

2012-05-07 Thread Erich Waelde
Hello Jan, On 05/07/2012 03:55 PM, Jan Kromhout wrote: > Hello, > > How do I activate the floting point packages? Only a short outline: 1. you need to add a few words to amforth via dict_appl.inc (see mails before) 2. you need to add a floating point input method to amforth. This can now be d

Re: [Amforth] Dubble words, no error message!!

2012-05-07 Thread Matthias Trute
Hi Jan, > What strikes me is that I can enter two identical words without an error. > This is not the case in other forth versions that I have used. > Is this a conscious choice or a bug? One design rule of amforth is to minimize code size. It needs code to check for already defined words, so I

Re: [Amforth] Dubble words, no error message!!

2012-05-07 Thread Erich Waelde
Hello Jan, congrats for grinding through the obstacles of getting hardware to run! On 05/07/2012 07:59 PM, Jan Kromhout wrote: > A few hours ago I first really started amforth > What strikes me is that I can enter two identical words without an error. I would not see this as a bug. The behaviour

[Amforth] Dubble words, no error message!!

2012-05-07 Thread Jan Kromhout
Hello, A few hours ago I first really started amforth What strikes me is that I can enter two identical words without an error. This is not the case in other forth versions that I have used. Is this a conscious choice or a bug? Cheers, Jan Kromhout --

Re: [Amforth] How to activate the floating point package

2012-05-07 Thread pito
There is still a major issue with floating point, though. The standard forth implementations require to have a separate floating point stack (we do not have). So porting existing code to amforth (ie scifi libraries) is difficult as you have to translate it to none-fp-stack version - not easy, howev

Re: [Amforth] How to activate the floating point package

2012-05-07 Thread pito
So the complete package may look like this: .. fee. fsd. si. fp. fs. place-rec rec-float floats float+ fdepth >float string>float extract partnumber fsn. d>fraction fround fmod1 ceil floor fmin fmax f<= f>= f> f< f2* f2/ f= fabs fnegateifneg fnegate f0< f0= f>s f>d s>f d>f faddtoexponent f>sigexp s

Re: [Amforth] How to activate the floating point package

2012-05-07 Thread pito
Jan, the floating point package consist of two parts basically: 1. https://github.com/lnmaurer/amforth-float this is the floating point lib Leon did (and I was testing it and requesting features :) ) - it includes all words req uired for manipulating with floats 2. Pito's 5primitives: f* f/

Re: [Amforth] How to activate the floating point package

2012-05-07 Thread Leon Maurer
Hello Jan, If you're looking for floating point wordset I made for amforth some time ago, see the readme in the repository; it has some instructions. The code uses some words which weren't included in amforth by default. Once that's taken care of, all you

Re: [Amforth] Issues with a word compile - flash or eeprom write issues

2012-05-07 Thread Jan Kromhout
Chuck, When I won't to run at a higher baud rate should I compile again? Jan Op 7 mei 2012, om 15:57 heeft Charles Summers het volgende geschreven: > You did very well in working through the problem. I'm thrilled that you've > got things running now. > Don't hesitate to ask me anything you thi

Re: [Amforth] Issues with a word compile - flash or eeprom write issues

2012-05-07 Thread Charles Summers
You did very well in working through the problem. I'm thrilled that you've got things running now. Don't hesitate to ask me anything you think I might be able to help you with. I will probably ask you some questions in the near future on running fig-forth on the microKim ;) cheers, -chuck On Mon,

[Amforth] How to activate the floating point package

2012-05-07 Thread Jan Kromhout
Hello, How do I activate the floting point packages? Cheers, Jan kromhout Sacharovlaan 3 3223HM Hellevoetsluis-NL -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and t

Re: [Amforth] Issues with a word compile - flash or eeprom write issues

2012-05-07 Thread Jan Kromhout
Hi Chuck I am glad that the problem is solved. I am not in real time a programmer but a mechanical engineer who is writing optimization tools for dispatching powerplants. But my hobby is electronics, and the arduino. Cheers, Jan Jan kromhout Sacharovlaan 3 3223HM Hellevoetsluis-NL Op 7 mei 20

Re: [Amforth] Issues with a word compile - flash or eeprom write issues

2012-05-07 Thread Charles Summers
Hi Jan, Great to hear that you've got amForth running! I'm a software QA guy in real life, so I'd be very interested in seeing the steps you took on Windows tat did NOT work and the steps you took on OSX that DID work. It might save others from a similar fate :) cheers, -chuck On Mon, May 7, 2012

Re: [Amforth] Issues with a word compile - flash or eeprom write issues

2012-05-07 Thread Jan Kromhout
Hello, Thanks to all people how have response to my questions. I have now a running system. Special tanks to Chuck and Paulo. I have put the hex files and store them into the directory of avrdude under the arduino. Flashed to the Arduino under the OSX, and voila a working AMForth. Try the sam