Install AVR Studio on OS-X
Install MacPorts
Install wine: sudo port install wine
Install AVR Studio: wine ~/Desktop/AVR\ aStudio5b589.exe
The full AVR Studio seems to require a few dlls and doesn't run under wine.
The avrasm2.exe does run under wine and is all that is needed for amforth.
Clean up the un-used AVR Studio parts:
AVR Tools ken$ pwd
/Users/ken/.wine/drive_c/Program Files/Atmel/AVR Tools
AVR Tools ken$ du -h .
5.6M ./AVR Wireless Services
976K ./AvrAssembler/Appnotes
1.1M ./AvrAssembler
3.7M ./AvrAssembler2/Appnotes
4.1M ./AvrAssembler2
592K ./AvrDragon
280K ./AvrProg
8.0M ./AvrSimulatormk2
8.0K ./AvrStudio4/bin
4.8M ./AvrStudio4/dll
32K ./AvrStudio4/edit
120K ./AvrStudio4/resources
356K ./AvrStudio4/skins
10M ./AvrStudio4
8.0K ./AvrStudioPlugin
2.2M ./Compilers
33M ./Help
264K ./ICE200
196K ./ICE50/Selftest
132K ./ICE50/Upgrade
11M ./ICE50
372K ./JTAGICE
624K ./JTAGICEmkII
440K ./Parsers
35M ./Partdescriptionfiles
2.9M ./STK500
528K ./STK600
1.3M ./SXS
1.0M ./usb
118M .
AVR Tools ken$ rm -rf AVR\ Wireless\ Services/
AVR Tools ken$ rm -rf AvrDragon/
AVR Tools ken$ rm -rf AvrProg/
AVR Tools ken$ rm -rf AvrSimulatormk2/
AVR Tools ken$ rm -rf AvrStudio4/
AVR Tools ken$ rm -rf AvrStudioPlugin/
AVR Tools ken$ rm -rf Compilers/
AVR Tools ken$ rm -rf Help/
AVR Tools ken$ rm -rf ICE*
AVR Tools ken$ rm -rf JTAG*
AVR Tools ken$ rm -rf STK*
AVR Tools ken$ rm -rf usb/
AVR Tools ken$ rm -rf SXS/
AVR Tools ken$ du -h .
976K ./AvrAssembler/Appnotes
1.1M ./AvrAssembler
3.7M ./AvrAssembler2/Appnotes
4.1M ./AvrAssembler2
440K ./Parsers
35M ./Partdescriptionfiles
40M .
Define CPU and Board for amforth
Create top level directory for build results - e.g. amForth
Place Makefile in that directory.
Move ./templates/dict_appl.inc to ./core/ to include optional words.
Move ./appl/template/template.asm to ./core/
edit these lines in template.asm:
.include "devices/atmega128.asm"
.equ cpu_frequency = 16000000
.equ baud_rate = 19200
.set dict_appl=2
Move ./appl/template/words/applturnkey.asm to ./core/words/applturnkey.asm
build amforth...
make clean
make hex
use AVRDUDE and AVRISP MKII to program device...
make program