From: Malte F. G. <mal...@gm...> - 2020-08-14 16:34:08
|
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 |
From: Tristan W. <ho...@tj...> - 2020-08-15 07:42:46
|
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/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |
From: Malte F. G. <mal...@gm...> - 2020-08-16 08:50:09
|
Okay, i see. I'll use a bigger controller then. Malte |
From: Brian <bkn...@gm...> - 2020-08-16 12:27:16
|
I'm using a butterfly (atmega169) with the latest version, runs great. Brian-in-ohio On 8/16/20 4:49 AM, Malte Frank Gerdes wrote: > Okay, i see. I'll use a bigger controller then. > > > Malte > > > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |