[Amforth-devel] Difficulty with Hello World exercise

2011-03-20 Thread D Nyberg
I'm having some difficulty getting started with amforth on my target system; I'm shaking down the entire tool chain at once. (I'm a bit rusty with forth generally, but used it intensively back in the F79 days, so I'm remembering more every day) But my target hardware etc is all new at this poin

Re: [Amforth-devel] Difficulty with Hello World exercise

2011-03-20 Thread D Nyberg
On 3/20/2011 7:04:52 PM, Karl Lunt (karll...@seanet.com) wrote: > Exactly. I've never had good luck using any simulator, AVRStudio's > included. I much prefer to trust the real hardware, even if you > start out using an LED for debug. > > BTW, have you tried out AVRStudio5 yet? It was released

Re: [Amforth-devel] Difficulty with Hello World exercise

2011-03-22 Thread D Nyberg
On 3/21/2011 2:19:15 AM, pito (p...@volna.cz) wrote: > from my previous post... > > By chance I found the crash is caused > by the debugger - when the asm source wants to continue into a > "debugger" (for the code outside the "amforth.asm") the debuger is > called, but not set properly (m

Re: [Amforth-devel] Difficulty with Hello World exercise

2011-03-22 Thread D Nyberg
On 3/22/2011 2:35:17 AM, pito (p...@volna.cz) wrote: > Which AvrStudio4 build do you run? I've upgraded to the latest 716 > and the Hapsim2.17 does not hook.. Well, rats! I too am running 716, so maybe that's why I'm not seeing anything on hapsim. Not having seen it run before, I don't have a

Re: [Amforth-devel] Difficulty with Hello World exercise

2011-03-22 Thread D Nyberg
On 3/22/2011 2:35:17 AM, pito (p...@volna.cz) wrote: > Which AvrStudio4 build do you run? I've upgraded to the latest 716 > and the Hapsim2.17 does not hook.. > Okay, the hapsim page says it definitely works with studio 4 up to build 684. I too am up to 716 right now. How does one go about down

Re: [Amforth-devel] Difficulty with Hello World exercise

2011-03-23 Thread D Nyberg
Thank you! :) On 3/23/2011 2:04:04 AM, Kalus Michael (michael.ka...@onlinehome.de) wrote: > Hi. > > http://dl.dropbox.com/u/1170761/aStudio4b589.exe > > michael > > > > Am 23.03.2011 um 07:09 schrieb D Nyberg: > > > On 3/22/2011 2:35:17 AM, pit

[Amforth-devel] Progress and More Difficulties with Hello World exercise

2011-03-26 Thread D Nyberg
Okay gang, I'm making progress with my efforts to get amforth running, but encountering perplexing problems. Issue 1: I got the console running, but only by overriding the kernel's calculated uart divider value of 0x33 with my empirically determined value of 0x71. Must be running at a clock rat

Re: [Amforth-devel] Progress and More Difficulties with Hello World exercise

2011-03-26 Thread D Nyberg
Okay, the problem seems to have been a combination of wrong fuse bits, plus my hardware is running at 17.5 mHz instead of 18.4 as the crystal is marked. I'm thinking maybe the caps attached to the crystal are funny or something. But now it works, even from startup. Now to better re-learn forth

Re: [Amforth-devel] Progress and More Difficulties with Hello World exercise

2011-03-26 Thread D Nyberg
enting with the uart counter register, though, so I'll do that shortly. Also less tedious! :) On 3/26/2011 12:48:07 PM, Marcin Cieslak (sa...@saper.info) wrote: > >> D Nyberg wrote: > > Issue 2: With the console running, I can do a few really basic things > > such as 1 . y

Re: [Amforth-devel] Progress and More Difficulties with Hello World exercise

2011-03-27 Thread D Nyberg
l instead. > > Good trouble shooting. You displayed more patience than I did. > > Ken > > On Sun, 27 Mar 2011 01:55 +, "Marcin Cieslak" > wrote: > > >> D Nyberg wrote: > > > entered "1 1 + ." I think the error was because I

[Amforth-devel] Request For Clarification, ADC Library

2011-03-27 Thread D Nyberg
I've found the ADC.frt file, and there's too much stuff in there for a sensible person to want to redo it, but I don't fully understand it yet, so I have some questions: I have read on the web that the Atmel ADCs have severe accuracy problems (last 6 bits are little better than noise in single

Re: [Amforth-devel] Progress and More Difficulties with Hello World exercise

2011-03-27 Thread D Nyberg
On 3/27/2011 8:22:27 PM, kenmcc...@allmail.net wrote: > Hi, I soldered in a crystal and a couple of caps and > it's working fine > now, Amforth seems much more sensitive to clock frequency than the > Arduino C programs. > > I've > had no trouble with the serial interface running C programs o

Re: [Amforth-devel] Speed analysis..

2011-04-03 Thread D Nyberg
I think you would also see a huge speed increase if you defined constant named "1" and tried it again too. That used to be standard in F79 and 83, though it was more about size than speed. On 4/3/2011 4:16:17 AM, pito (p...@volna.cz) wrote: > : exa1 1 1 + . ; > compilation 55sec (avrstudio win

Re: [Amforth-devel] Starting amforth

2011-04-10 Thread D Nyberg
Long ago, I worked with forth extensively, but haven't for a while, so I have forgotten much. Also, that was work for an employer, so I don't have copies of what I did back then. So I'll have to reinvent things I remember doing. One of the things I did back then was I made a word called run_co

Re: [Amforth-devel] Starting amforth

2011-04-12 Thread D Nyberg
On 4/12/2011 12:32 PM, Matthias Trute wrote: > Am 10.04.2011 22:58, schrieb D Nyberg: >> Long ago, I worked with forth extensively, but haven't for a while, so >> I have forgotten much. Also, that was work for an employer, so I don't >> have copies of what I

Re: [Amforth] Atmega328p

2011-10-04 Thread D Nyberg
On 10/4/2011 10:43:00 AM, Mark Malmros (m.malm...@gmail.com) wrote: > What am I missing? > > I am attempting to put amforth on a Atmega328p following more or less the > Amforth Users Guide (which was written for Amforth 4.2). I am working > from > Linux. ... Can you put a scope or even ju

Re: [Amforth] ANS 94 Core Wordset now completly available

2012-02-19 Thread D Nyberg
On 2/19/2012 3:24:07 AM, Matthias Trute (mtr...@web.de) wrote: > Hi all, > > together with some recent additions regarding evaluate > amforth provides now the whole ANS94 Core Wordset. ... Neat! :) Which version number does this announcement apply to?

Re: [Amforth] Amforth-devel Digest, Vol 48, Issue 10

2012-09-21 Thread D Nyberg
It was well worth the time, the new ref card is GREAT! Thanks! > It took some time but I finally managed to producde a PDF with > an index: http://amforth.sourceforge.net/refcard.pdf > > Matthias -- Got visibility? Mo