Hello Meino,

tu...@posteo.de writes:

> Hi,
>
> Before I install a lot of software on my GENTOO-Linux only
> to recognize I had done the wrong assumptions I would like
> ask, whether I have the needed prerequisites for AmForth:
>
> I am running a 64bit-GENTOO Linux and I am quite familiar with
> Linux.
> I want to run AmForth on a Arduino Pro Mini Atmega328p/3.3V.
> With my USB-to-serial adapter I flash my ProMinis with the
> Arduino-IDE successfully.

Please note: "programming" an Arduino uses a bootloader flashed
to the arduino controller before it is shipped. This bootloader
is unfortunately not compatible with amforth. To flash amforth
to your arduino you *must* have a proper programmer. There are
many different ones available. I have successfully used several
including this one: mySmartUSB light by www.myAVR.de. With this
programmer you are able to reinstall the arduino bootloader as
well.

> I am a AmForth-newbie.
> I am a Wine-newbie.
>
> Do I need to install the 32bit-version or the 64bit-version of
> wine?

AvrAssembler2 ist a 32 bit executable. Looking at my Debian I
have installed
. wine
. wine-binfmt
. wine32:i386
. wine32-preloader:i386
. wine64
in other words, the multiarch system is used to enable :i386
(==32 bit) packages, wine and wine32:i386 are installed. Then
this should work. Be sure to search for corresponding
instructions on gentoo.

> Do I need to install wine at all -- can I use a different software
> to assemble things (I would prefer this way even it would imply more
> work) ?

There is "avra" at http://avra.sourceforge.net. A long time ago
I was able to assemble amforth with avra as well (amforth
versions 4.2 .. 4.6 maybe). However: I had to patch avra to make
it output the correct hex file for my beloved 644p. And some of
the assembly directives did not work (.overlay may be, but not
sure). Very unfortunately avra seems to be abandoned. So I
personally have given in to use wine+AvrAssembler2.

It would, of course, be very exciting, if someone would pick up
the leftovers of avra. I would definitely help by using it. And
I'm sure, I'm not the only one waiting for a motivated developer
to move on. As mentioned, I have looked at the sources. It looks
doable, but I have dedicated my time to other things.

Maybe interesting to note: since wine+AvrAssembler2 is working,
it gives a prospective maintainer of avra a possibility to
check, whatever changes were made do not break the output. In
the end avra should be able to produce identical output.

Another route could be to shape up naken_asm. Note that the
msp430 Version of amforth ist build using naken_asm
(http://www.mikekohn.net/micro/naken_asm.php)
I'm not in a position to judge, whether this is a possible
route.

If I remember correctly, then gcc-as is not a possible route,
since the format of the assembly used by gcc-avr is different
from that used to feed AvrAssember2.

>
> Thank you very much in advance for any help!
> Have a nice weekend!
> Cheers
>  Meino


Hope, this helps, and welcome to amforth!

Another source of information is the .pdf Version of the "Vierte
Dimension", a german (and somewhat english) publication by the
"Forth Gesellschaft e.V.", found at
http://www.forth-ev.de/filemgmt/viewcat.php?cid=2

Also, Jean Claude Wippler of jeelabs.org fame is experimenting
with Forth.

Have the appropriate amount of fun!

Cheers,
Erich

--
The purpose of computing is insight --- not numbers
R. Hamming

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to