Hi,

> Does that mean that it is practically impossible to use amforth on an
> atmega8? 

I would say yes.

The ATmega8 has 8K of flash memory. My AmForth 6.8 ATmega328p hex
needs ~10K of flash memory. It might be possible to remove words from
the current distribution/build so that it would fit into 8K, but then
there would be very little flash memory remaining to do anything with.

>From a search of the mailing list, 2.7 was the latest version I
saw reported as running on an ATmega8. 

Kind regards,

Tristan

On 14Aug20 18:33, Malte Frank Gerdes wrote:
> Reading the mailing list archive it seems that those errors happen and
> most of the time it's difficult to know where they come from. I found
> that it is possible to ignore those Overlaps with -O i. Now i get
> different errors which at least make sense to me.
> 
> 
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(101): error: call k: Unsupported instruction on ATmega8
> ../../avr8\macros.asm(94): error: jmp k: Unsupported instruction on ATmega8
> ../../avr8\amforth.asm(19): error: RWW Segment Overflow, please edit your 
> dict_appl.inc
> ../../avr8\macros.asm(101): error: call k: Unsupported instruction on ATmega8
> ../../avr8\words/d-lesszero.asm(14): error: jmp k: Unsupported instruction on 
> ATmega8
> ../../avr8\words/d-lesszero.asm(15): error: jmp k: Unsupported instruction on 
> ATmega8
> 
> 
> Looking at the svn history this macro was introduced in 2011, the 4.2
> release at least builds for the atmega8 when the trailing zeroes are
> removed from the usart definitions in template.asm. Even then the
> resulting resource usage is 118% of available flash memory.
> 
> The dict_appl.inc file used is empty, so i'm not sure what to modify
> there, because as i understand it this file is meant to include extra
> words.
> 
> Does that mean that it is practically impossible to use amforth on an
> atmega8? If not, are there some example projects using it (i haven't
> found any)?
> 
> 
> Malte
> 
> 
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 


_______________________________________________
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