Hi.

Here is some gforth code to make a one-file amforth assembler source  
from your application.lst file.

Edit wowrd GO on line 76 in delister.fs to your needs.
   : go  s" my-application.lst" delist bye ;

Then on comand line do:
   gforth delister.fs -e go > my-application.asm

Befor you do so prepare your application:
- Deactivate all .nolist commands in amforth source.
- Exclude all words you do not want in your final application source.
- After my-application.lst has been generated by AVRA, change those  
few header and footer lines AVRA added into comments.

Finaly let AVRA assemble your application using your brand new  
source, check if result is ok by comparing my-application.hex with  
the orignal, may be with DIFFMERGE.


I am using amforth-3.6.

http://dl.dropbox.com/u/1170761/delister.fs

Hope it works fine. NO WARANTIES. Save your application befor you use  
delister!
Have fun. Michael




------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Amforth-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to